/* DESIGN B — glass over warm light. Loaded on top of style.css; switched off for Design A. */
/* =====================================================================
   GLASS — translucent material over warm light.
   Hierarchy: nav = heavy material, cards = medium, chips/inputs = dark inset.
   Never a light glass on a light glass.
   ===================================================================== */
:root {
  --glass: rgba(255, 245, 225, .055);
  --glass-strong: rgba(255, 245, 225, .085);
  --glass-edge: rgba(255, 240, 210, .14);
  --glass-hi: rgba(255, 248, 230, .22);
  --glass-blur: blur(28px) saturate(170%);
  --inset: rgba(0, 0, 0, .38);
}

/* the light the glass refracts: fixed, so every panel picks up a different part of it */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.ambient i { position: absolute; display: block; border-radius: 50%; }
.ambient__img { inset: -10%; border-radius: 0 !important; background: url("/img/logo-wide.webp") center / cover no-repeat; opacity: .3; filter: blur(70px) saturate(140%); }
body { background: transparent; }

/* sections let the light through */
.section, .section--alt { background: transparent; position: relative; isolation: isolate; }

/* the material */
.card, .step, .schedule {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  border-radius: var(--radius);
}
.form, .check { background: var(--glass-strong); }

/* steps become glass cards holding their picture */
.step { padding: 12px 12px 22px; }
.step img { border-radius: 14px; }
.step h3, .step p { padding: 0 8px; }


/* dark inset controls inside glass (no light glass on light glass) */
.field input, .field select, .field textarea, .segmented, .seg, .progress { background-color: var(--inset); }
.field input, .field select, .field textarea { border-color: rgba(255, 255, 255, .06); }
.segmented__thumb { background: rgba(255, 245, 225, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 8px rgba(0, 0, 0, .35); }
.seg button[aria-pressed="true"][data-v="0"] { background: rgba(255, 245, 225, .16); }
.toggle input { background: var(--inset); }
.req__item, .schedule li { border-color: rgba(255, 240, 210, .1); }

/* chips: small, lighter glass */
.social a, .pills a, .tag {
  background: rgba(255, 245, 225, .08);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .1);
}
.social a:hover, .pills a:hover { background: rgba(255, 245, 225, .16); }
.person .pills a { background: var(--inset); -webkit-backdrop-filter: none; backdrop-filter: none; }
.person .pills a:hover { background: rgba(0, 0, 0, .55); }
.tag--online { background: rgba(217, 165, 75, .22); }

/* secondary hero action as a glass pill */
.hero__actions .link { min-height: 50px; padding: 0 22px; border-radius: 999px; background: rgba(255, 245, 225, .07); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .14); color: var(--ink); transition: background-color 200ms, transform 220ms var(--ease); }
.hero__actions .link:hover { background: rgba(255, 245, 225, .14); text-decoration: none; }
.hero__actions .link:active { transform: scale(.96); opacity: 1; }

/* hero picture sits in a glass frame */

/* video: a glass bar instead of a dark fade */
.video { box-shadow: 0 0 0 1px var(--glass-edge), 0 30px 80px -30px rgba(0, 0, 0, .7); }
.video__bar { left: 14px; right: 14px; bottom: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(20, 16, 12, .42); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 248, 230, .16), inset 0 0 0 1px rgba(255, 240, 210, .1); }

/* nav: heavier material once content scrolls under it */
.nav { background: rgba(10, 9, 8, .55); }
.nav.is-scrolled { background: rgba(14, 12, 10, .62); }
.mobilemenu { background: rgba(10, 9, 8, .97); }

/* footer: a glass shelf */
.footer { background: rgba(10, 9, 8, .6); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-top: 1px solid var(--glass-edge); }

@media (max-width: 560px) {
  .video__bar { left: 8px; right: 8px; bottom: 8px; padding: 10px 14px; border-radius: 12px; }
  .ambient__img { opacity: .18; }
}

/* glass falls back to solid when people ask for less transparency or more contrast */
@media (prefers-reduced-transparency: reduce) {
  .card, .step, .schedule, .form, .check { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .social a, .pills a, .tag, .hero__actions .link, .video__bar, .footer { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card-2); }
  .ambient__img { display: none; }
}
@media (prefers-contrast: more) {
  .card, .step, .schedule { background: var(--card); border-color: rgba(255, 255, 255, .45); }
}


/* vibrancy: secondary text on glass is a touch brighter and heavier than on plain ground */
.card .field label, .card .muted, .card .hint, .card .toggle, .person p, .step p, .schedule .date, .schedule .kind, .form__status { color: rgba(245, 245, 247, .74); }
.card .field label { font-weight: 600; }
@media (max-width: 560px) {
  .video__meta { display: none; }
  .video__title { font-size: .9375rem; }
  .video__bar { padding: 8px 12px; }
  .video__play { padding-bottom: 28px; }
}


/* live chip above the headline */
.live { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 16px; margin-bottom: 28px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: 0;
  background: rgba(255, 245, 225, .07); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .14);
  transition: background-color 200ms, transform 220ms var(--ease); font-variant-numeric: tabular-nums; }
.live:hover { background: rgba(255, 245, 225, .13); }
.live:active { transform: scale(.97); }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* the hero video settles into place as it scrolls in (scroll-driven, no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__media .video { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes settle { from { transform: scale(.9); opacity: .55; } to { transform: none; opacity: 1; } }
  }
}



/* floating action on phones */
.float-cta { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: rgba(217, 165, 75, .92); color: #120d05; font-weight: 600; text-decoration: none; white-space: nowrap;
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: translate(-50%, 140%); opacity: 0; transition: transform 450ms var(--ease), opacity 300ms; }
.float-cta.is-on { transform: translate(-50%, 0); opacity: 1; }
.float-cta:active { transform: translate(-50%, 0) scale(.96); }
@media (max-width: 900px) { .float-cta { display: inline-flex; } }

/* team: bigger, more confident cards */
.person__name { font-size: clamp(1.75rem, 2.6vw, 2.125rem); }
.badge { width: 72px; height: 72px; font-size: 34px; }

.ambient { display: block; }
.live { display: inline-flex; }

.upload__box { background: var(--inset); }

/* a row of panels gets a defined edge only, no wide drop shadow on each one */
.step, .person { box-shadow: inset 0 1px 0 var(--glass-hi); }


/* sideways-scrolling rows (steps on phones) must not widen the page */
.section { overflow-x: clip; }
