/* =========================================================
   OPTRIC SKO 2027 — Sponsorship Landing Page
   Brand tokens sourced from the OPTRIC design system (live optric.com).
   Swap any of these only if brand supplies revised values.
   ========================================================= */
:root {
  /* ---- OPTRIC brand palette ---- */
  --orange:      #FF6900;   /* primary accent (brand) */
  --orange-600:  #E85D00;   /* hover/darker accent */
  --navy:        #021334;   /* dark base */
  --navy-800:    #0A1E45;   /* raised dark surface */
  --navy-700:    #13294f;   /* dark card */
  --paper:       #F8F6F4;   /* light base */
  --ink:         #0B1220;   /* primary text on light */
  --ink-soft:    #4A5468;   /* secondary text on light */
  --white:       #ffffff;
  --line:        rgba(2, 19, 52, 0.10);
  --line-dark:   rgba(255, 255, 255, 0.12);

  /* ---- type ---- */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;

  /* ---- layout ---- */
  --wrap: 1160px;
  --nav-h: 96px;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(2, 19, 52, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 3rem, 820px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.section--dark .btn--outline { color: var(--white); border-color: var(--line-dark); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.section--dark .btn--outline:hover { color: var(--orange); border-color: var(--orange); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(248, 246, 244, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__logo { display: block; height: 60px; width: auto; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s ease; }
.nav__links a:hover { color: var(--orange); }
.nav__cta { margin-left: 0; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- HERO ---------- */
.hero { position: relative; color: var(--white); }
.hero__media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__video, .hero__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__video { z-index: 1; }
.hero__fallback { z-index: 0; }
/* when JS confirms video can play, it hides the fallback img; default shows img under video */
.hero.video-ready .hero__fallback { opacity: 0; }
.hero.no-video .hero__video { display: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(2,19,52,.35) 0%, rgba(2,19,52,.15) 35%, rgba(2,19,52,.55) 70%, rgba(2,19,52,.88) 100%),
    linear-gradient(90deg, rgba(2,19,52,.45), rgba(2,19,52,.05));
}
.hero__content {
  position: relative; z-index: 3;
  width: min(100% - 3rem, var(--wrap)); margin-inline: auto;
  padding-top: clamp(5rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  max-width: 900px;
}
.hero__title {
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  font-weight: 800;
  margin: .3rem 0 1.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 40ch;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.6rem;
}
.hero__meta { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; font-weight: 500; }
.hero__meta .pin { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; }
.hero__meta .dot { opacity: .5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- STAT BAR (below fold) ---------- */
.statbar { position: relative; z-index: 3; background: var(--navy); border-top: 1px solid var(--line-dark); }
.statbar__inner {
  width: min(100% - 3rem, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; padding: 2.6rem 0;
}
.stat { text-align: center; color: var(--white); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--orange); line-height: 1; }
.stat__label { display: block; margin-top: .5rem; font-size: .95rem; color: rgba(255,255,255,.78); }

/* ---------- PLACE-SETTING DIVIDER ---------- */
.divider {
  position: relative; min-height: 340px;
  display: grid; place-items: center; text-align: center; color: #fff;
  background-image: linear-gradient(180deg, rgba(2,19,52,.55), rgba(2,19,52,.72)), var(--photo);
  background-size: cover; background-position: center; background-attachment: fixed;
}
.divider__inner { padding: 3rem 1.5rem; }
.divider__kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--orange); margin-bottom: .8rem; }
.divider__line { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.6rem); letter-spacing: -.02em; text-shadow: 0 3px 20px rgba(0,0,0,.4); max-width: 22ch; }
@media (max-width: 720px) { .divider { background-attachment: scroll; } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.section__lead { font-size: 1.12rem; color: var(--ink-soft); }
.section__lead--light { color: rgba(255,255,255,.8); }

/* ---------- WHY intro (text + photo) ---------- */
.why__intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; margin-bottom: 3rem; }
.section__head--flush { margin-bottom: 0; max-width: none; }
.why__figure { margin: 0; }
.why__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .why__intro { grid-template-columns: 1fr; gap: 1.8rem; }
  .why__figure img { aspect-ratio: 16 / 9; }
}

/* ---------- GRID / CARDS ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,105,0,.4); }
.card__icon { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.1rem; letter-spacing: .05em; margin-bottom: .8rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- TIERS ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  background: var(--navy-700); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tier:hover { transform: translateY(-6px); }
.tier--premier {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-700));
  border: 1.5px solid var(--orange);
  box-shadow: 0 24px 60px -24px rgba(255,105,0,.5);
  transform: translateY(-14px);
}
.tier--premier:hover { transform: translateY(-20px); }
.tier__flag {
  display: inline-block; align-self: flex-start;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.tier__flag--muted { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.tier__name { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.tier__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--orange); margin: .2rem 0 1.1rem; }
.tier__benefits { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.tier__benefits li { position: relative; padding-left: 1.4rem; margin-bottom: .7rem; font-size: .92rem; color: rgba(255,255,255,.82); }
.tier__benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- SHARED BENEFITS ---------- */
.shared-benefits { max-width: 780px; margin: 0 0 1rem; }
.shared-benefits__list { column-count: 2; column-gap: 2.5rem; }
.shared-benefits__list li { break-inside: avoid; }
.shared-benefits__travel {
  color: rgba(255,255,255,.7); font-size: .92rem; max-width: 720px;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-dark);
}
@media (max-width: 600px) { .shared-benefits__list { column-count: 1; } }

/* ---------- ADD-ONS ---------- */
.addon__title { font-size: 1.4rem; color: var(--white); margin: 3.4rem 0 1.4rem; }
.addons { grid-template-columns: minmax(220px, 320px); }
.addon { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.4rem; text-align: center; transition: border-color .2s ease; }
.addon:hover { border-color: var(--orange); }
.addon h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .4rem; }
.addon__price { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.3rem; }
.addon__price span { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; }
.addon__note { margin-top: .5rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- AGENDA ---------- */
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.agenda__col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.agenda__day { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1.2rem; line-height: 1.3; }
.agenda__list { list-style: none; padding: 0; margin: 0; }
.agenda__list li { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.agenda__list li:first-child { border-top: 0; padding-top: 0; }
.agenda__list span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.agenda__list small { color: var(--ink-soft); font-size: .92rem; }

/* ---------- TBD treatment ---------- */
.tbd {
  display: inline-block;
  font-size: .82rem; font-weight: 500;
  color: var(--ink-soft);
  background: rgba(2,19,52,.06);
  border: 1px dashed var(--line);
  padding: .05rem .55rem; border-radius: 6px;
  letter-spacing: .01em;
}
.section--dark .tbd, .section--photo .tbd { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); border-color: var(--line-dark); }

/* ---------- AWARDS (photo section) ---------- */
.section--photo { position: relative; color: var(--white); background: var(--navy); }
.section--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(180deg, rgba(2,19,52,.72), rgba(2,19,52,.9)), var(--photo);
  background-size: cover; background-position: center;
}
.section--photo .wrap { position: relative; z-index: 1; }
.pills { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: var(--white); padding: .55rem 1.1rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.awards__reveal { font-size: 1.15rem; max-width: 60ch; color: rgba(255,255,255,.9); }
.awards__reveal::before { content: "★ "; color: var(--orange); }

/* ---------- CONTACT / FORM ---------- */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: start; }
.form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--trap { display: none; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,105,0,.15);
}
.field__error { display: none; color: #C0392B; font-size: .82rem; font-weight: 500; }
.field.invalid input, .field.invalid select { border-color: #C0392B; }
.field.invalid .field__error { display: block; }
.form__success { text-align: center; padding: 1.4rem; background: rgba(255,105,0,.08); border: 1.5px solid var(--orange); border-radius: var(--radius); }
.form__check { width: 46px; height: 46px; margin: 0 auto .6rem; display: grid; place-items: center; background: var(--orange); color: #fff; border-radius: 50%; font-size: 1.4rem; font-weight: 700; }
.form__success p { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

.contact__side { display: grid; gap: 1.4rem; }
.prospectus { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.8rem; }
.prospectus h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.prospectus p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1rem; }
.prospectus .btn--outline { color: #fff; border-color: rgba(255,255,255,.3); margin-bottom: .8rem; }
.prospectus .btn--outline:hover { color: var(--orange); border-color: var(--orange); }
.prospectus__note { margin-top: .3rem; }
.contact__scarcity { border-left: 3px solid var(--orange); padding-left: 1rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  background-color: var(--navy);
  background-image: linear-gradient(180deg, rgba(2,19,52,.86), rgba(2,19,52,.96)), url('images/camelback-dusk.jpg');
  background-size: cover; background-position: center;
  color: rgba(255,255,255,.8); padding: 3.5rem 0 2rem;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dark); }
.footer__logo { display: block; height: 56px; width: auto; margin-left: 0; }
.footer__meta { margin-top: .9rem; font-size: .95rem; color: rgba(255,255,255,.8); }
.footer__col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .7rem; }
.footer__col a { color: var(--white); }
.footer__col a:hover { color: var(--orange); }
.footer__fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-top: 1.6rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier--premier { transform: none; grid-column: span 2; }
  .tier--premier:hover { transform: translateY(-6px); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem;
  }
  .nav.open .nav__links a { padding: .8rem 0; border-top: 1px solid var(--line); }
  .nav.open .nav__cta { display: flex; margin: 1rem 1.5rem; }
  .statbar__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .grid--4 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier--premier { grid-column: auto; }
  .agenda { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero__fallback { opacity: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .tier:hover { transform: none; }
}
