:root {
  --teal: #02726a;
  --gold: #b29700;
  --ink: #1a1a1a;
  --rule: #9c9c9c;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ==========================================================================
   Header — logo lockup, secondary (white) nav, primary (teal) nav
   ========================================================================== */

.site-header {
  position: relative;
  width: 100%;
  min-height: 0;
  background-color: #fff;
}

.site-header .brand {
  display: block;
  /* padding: 18px 16px 10px; */
  text-align: center;
}

.site-header .brand img {
  width: 100%;
  /* max-width: 1124px; */
  height: auto;
}

/* --- nav shells --- */
.nav-secondary,
.nav-primary {
  width: 100%;
}

.nav-secondary {
  background-color: #fff;
  padding: 4px 0;
}

.nav-primary {
  background-color: var(--teal);
  margin-top: 6px;
}
.site-nav {
  margin-bottom: 10px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 30px;
  list-style: none;
  margin: 0;
  padding: 9px 20px;
}

.nav-secondary .nav-list {
  padding-bottom: 4px;
}

.nav-list a {
  display: inline-block;
  font-family: bruumRegFont, bruumLightFont, sans-serif;
  font-size: clamp(14px, 1.06vw, 19px);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
}

.nav-secondary .nav-list a {
  color: #000;
}

.nav-primary .nav-list a {
  color: #fff;
}

.nav-secondary .nav-list a:hover,
.nav-primary .nav-list a:hover {
  opacity: 0.72;
}

.nav-primary .nav-list a.is-active {
  font-family: bruumBoldFont, sans-serif;
}

/* --- mobile disclosure --- */
.nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background-color: var(--teal);
  color: #fff;
  font-family: bruumBoldFont, sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  padding: 13px 18px;
}

.nav-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle .bars span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  line-height: 0;
}

.hero > img {
  display: block;
  width: 100%;
  height: 700px;
}

.hero-copy {
  position: absolute;
  top: 57%;
  left: 53.5%;
  text-align: end;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 12, 24, 0.55);
}

.hero-copy p {
  margin: 0;
  font-family: bruumLightFont, sans-serif;
  font-size: clamp(22px, 2.65vw, 52px);
}

.hero-copy b {
  font-family: bruumBoldFont, sans-serif;
  font-weight: 400;
  color: #fff;
}

/* ==========================================================================
   Timer strip + registration
   ========================================================================== */

.timer-bar {
  background-color: #fff;
  padding: 22px 30px 6px;
}

.timer-bar .row {
  align-items: center;
}

.timer-bar p {
  margin: 0;
  font-family: bruumLightFont, sans-serif;
  font-size: clamp(14px, 1.05vw, 18px);
  color: #000;
}

.timer-bar #elapsed {
  font-family: bruumRegFont, sans-serif;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 auto;
  padding: 7px 30px;
  border: none;
  border-radius: 10px;
  background-color: var(--teal);
  color: #f1efef;
  font-family: bruumRegFont, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-register:hover {
  background-color: #015a54;
  color: #fff;
}

/* ==========================================================================
   Counters
   ========================================================================== */

.stats {
  margin: 30px 0 10px;
}

.stat {
  text-align: center;
  padding: 6px 4px;
  border-right: 1px solid #d9d9d9;
}

.stats .col-6:last-child .stat,
.stats .col-md-2:last-child .stat {
  border-right: none;
}

.stat img {
  height: 35px;
  width: auto;
  margin: 10px auto;
}

.stat h2 {
  margin: 5px;
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(24px, 1.9vw, 35px);
  font-weight: bold;
  color: var(--teal);
}

.stat p {
  margin: 0;
  font-size: clamp(13px, 0.95vw, 16px);
  color: #888686;
}

/* ==========================================================================
   Conference profile
   ========================================================================== */

.profile-block {
  padding: 26px 0 34px;
}

.profile-block h2 {
  margin-bottom: 25px;
  padding-left: 20px;
  border-left: 7px solid var(--teal);
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(26px, 1.9vw, 30px);
  color: #000;
}

.profile-block p {
  margin-bottom: 14px;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.6;
  text-align: justify;
}

.profile-block p a {
  color: var(--teal);
  font-family: bruumBoldFont, sans-serif;
}

/* ==========================================================================
   Full-bleed caption bands (teal bar over artwork / tinted heading)
   ========================================================================== */

.band {
  line-height: 0;
}

.band > img {
  display: block;
  width: 100%;
  height: auto;
}

.band-head {
  padding: 16px 0 14px;
  line-height: 1.28;
}

.band-head--teal {
  background-color: var(--teal);
  color: #fff;
}

.band-head--teal h2 {
  margin: 0;
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(18px, 1.5vw, 28px);
  color: #fff;
}

.band-head--plain {
  padding: 34px 0 26px;
  text-align: center;
}

.band-head--plain h2 {
  margin: 0;
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(21px, 1.85vw, 34px);
  color: var(--teal);
}

/* ==========================================================================
   Section heading between the tile grids
   ========================================================================== */

.section-title {
  padding: 54px 0 42px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.3;
  color: #000;
}

/* ==========================================================================
   Split panels — artwork on one half, headline on the other
   ========================================================================== */

.split {
  position: relative;
  width: 100%;
  aspect-ratio: 2248 / 802;
  background-color: #fff;
}

.split__media {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.split__copy {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* The artwork carries the faceted logo mark in the outer corner of the
   copy half, so the copy is inset away from that edge rather than
   centred on the full half. */
.split--copy-left .split__copy {
  left: 0;
  padding: 0 3% 0 9%;
}

.split--copy-right .split__copy {
  right: 0;
  padding: 0 9% 0 3%;
}

.split__copy h2 {
  width: 90%;
  margin: 0 auto clamp(14px, 1.6vw, 30px);
  padding-bottom: clamp(10px, 1.05vw, 20px);
  border-bottom: clamp(4px, 0.52vw, 10px) solid var(--gold);
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(20px, 2.1vw, 39px);
  line-height: 1.22;
  color: var(--teal);
}

.split__copy p {
  margin: 0;
  font-family: bruumLightFont, sans-serif;
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.45;
  color: var(--ink);
}

/* white-on-teal variant */
.split--onteal .split__copy h2,
.split--onteal .split__copy p {
  color: #fff;
}

/* ==========================================================================
   Tile grid
   ========================================================================== */

.tiles .row {
  --bs-gutter-x: 0;
}

.tile {
  position: relative;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 750 / 542;
  object-fit: cover;
}

.tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px 12px;
  background-color: rgba(2, 114, 107, 0.76);
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.tile__caption p {
  margin: 0;
  font-family: bruumLightFont, sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
}

.tile--dark .tile__caption {
  background-color: rgba(0, 16, 28, 0.82);
}

/* ==========================================================================
   Call to action
   ========================================================================== */

.cta {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 5rem;
  background-color: var(--teal);
  color: #fff;
}

.cta__text {
  flex: 1 1 auto;
}

.cta__text h4 {
  margin: 0 0 10px;
  font-family: bruumBoldFont, sans-serif;
  font-size: clamp(22px, 1.75vw, 32px);
  color: #fff;
}

.cta__text p {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.55;
  color: #fff;
}

.cta__btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  background-color: #223463;
  color: #fff;
  font-family: bruumRegFont, sans-serif;
  font-size: 17px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.cta__btn:hover {
  background-color: #1a294e;
  color: #fff;
}

.cta__img {
  flex: 0 0 auto;
  width: min(38%, 460px);
}

.cta__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ==========================================================================
   Footer tweaks on top of style.css
   ========================================================================== */

footer .footer-col::after {
  background-color: var(--rule);
}

footer .subscribe input.form-control {
  height: 46px;
  border-radius: 4px;
  background-color: #dedede;
  border-color: #cfcfcf;
}

footer .subscribe .btn {
  height: 46px;
  padding: 7px 26px;
  border: none;
  border-radius: 4px;
  background-color: var(--teal);
  color: #fff;
  font-size: 17px;
}

footer .social {
  justify-content: flex-end;
  align-items: center;
}

footer .social a div {
  color: #fff;
}

footer .social .face-icon {
  background-color: #1877f2;
}

footer .social .twitter-icon {
  background-color: #000;
}

footer .social .linked-icon {
  background-color: #0a66c2;
}

footer .social .youtube-icon {
  background-color: #ff0000;
}

footer .social a img {
  width: 30px;
  height: 30px;
  margin: 0 5px;
  border-radius: 50%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* --- large tablets: soften the fixed CTA padding --- */
@media (max-width: 1199.98px) {
  .cta {
    padding: 3.25rem 2.5rem;
    gap: 2rem;
  }
}

/* --- tablets --- */
@media (max-width: 991.98px) {
  .nav-list {
    gap: 2px 18px;
    padding: 8px 14px;
  }

  .hero-copy {
    top: 22%;
    left: 52%;
    width: 44%;
  }

  .split--copy-left .split__copy {
    padding: 0 2% 0 6%;
  }

  .split--copy-right .split__copy {
    padding: 0 6% 0 2%;
  }

  .split__copy h2 {
    width: 88%;
  }

  .stat {
    padding: 14px 4px;
  }

  .stats .col-6:nth-child(2n) .stat {
    border-right: none;
  }
}

/* --- phones: unstack the overlay compositions --- */
@media (max-width: 767.98px) {
  .site-header .brand {
    padding: 14px 12px 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-secondary {
    padding: 0;
  }

  .nav-secondary .nav-list,
  .nav-primary .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .site-nav.is-open .nav-list {
    display: flex;
  }

  .nav-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .nav-secondary .nav-list li {
    border-top-color: #e3e3e3;
  }

  .nav-list a {
    display: block;
    padding: 11px 18px;
    font-size: 16px;
    white-space: normal;
  }

  .nav-primary {
    margin-top: 0;
  }

  /* hero: artwork, then copy on a dark plate */
  .hero-copy {
    position: static;
    width: 100%;
    padding: 24px 20px 28px;
    background-color: #071c2c;
    text-align: center;
    text-shadow: none;
  }

  .hero-copy p {
    font-size: 24px;
  }

  /* timer strip */
  .timer-bar {
    padding: 18px 16px 4px;
    text-align: center;
  }

  .timer-bar p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .btn-register {
    width: 100%;
    max-width: 320px;
  }

  /* counters */
  .stats {
    margin: 18px 0 4px;
  }

  /* caption bands */
  .band-head {
    padding: 14px 0 12px;
    text-align: center;
  }

  .band-head--teal h2 {
    font-size: 19px;
  }

  .band-head--plain h2 {
    font-size: 21px;
  }

  .section-title {
    padding: 34px 0 24px;
  }

  .section-title h2 {
    font-size: 25px;
  }

  /* split panels: crop to the photo half, then a copy plate below */
  .split {
    aspect-ratio: auto;
  }

  .split__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1124 / 802;
    background-size: 200% 100%;
  }

  /* copy on the left  =>  photo on the right half of the artwork */
  .split--copy-left .split__media {
    background-position: 100% 50%;
  }

  /* copy on the right =>  photo on the left half of the artwork */
  .split--copy-right .split__media {
    background-position: 0 50%;
  }

  .split--copy-left .split__copy,
  .split--copy-right .split__copy {
    position: static;
    width: 100%;
    padding: 26px 20px 30px;
  }

  .split--onteal .split__copy {
    background-color: var(--teal);
  }

  .split__copy h2 {
    width: 100%;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom-width: 5px;
    font-size: 22px;
  }

  .split__copy p {
    font-size: 16px;
  }

  /* tiles */
  .tile__caption {
    padding: 11px 10px 10px;
  }

  .tile__caption p {
    font-size: 15px;
  }

  /* call to action */
  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2.25rem 1.25rem 2.5rem;
    text-align: center;
  }

  .cta__text h4 {
    font-size: 22px;
  }

  .cta__text p {
    font-size: 16px;
  }

  .cta__img {
    width: 100%;
  }

  /* footer */
  footer {
    padding-top: 34px;
  }

  footer .footer-col::after {
    display: none;
  }

  footer .subscribe .btn {
    width: 100%;
    margin-top: 10px;
  }

  footer .copy-right p {
    text-align: center;
    margin-bottom: 12px;
  }

  footer .social {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .stat {
    border-right: none;
  }

  .stat h2 {
    font-size: 26px;
  }

  .profile-block h2 {
    font-size: 21px;
    padding-left: 14px;
    border-left-width: 5px;
  }

  .profile-block p {
    font-size: 16px;
    text-align: left;
  }
}

footer .social .insta-icon {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
