/* =====================================================================
   Landing page — cinematic hero, about, process, CTA  (Navy + Gold)
   ===================================================================== */

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  /* Gold (--gold-600) reads at 2.46–2.77:1 here — well under WCAG AA 4.5:1 for
     small text on the white/--paper/--paper-2 backgrounds this sits on across
     the site. Navy clears 8.98:1+ on all three and keeps the brand palette. */
  text-transform: uppercase; color: var(--navy-700); margin-bottom: 14px;
}

/* ---- Brand arch tab device ---------------------------------------- */
.arch-tab {
  position: absolute; top: 0; width: 54px; height: auto; z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(13,31,54,.25));
}

/* ---- HERO ---------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 80px; color: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }

/* Soft paper wash — light and airy, drifts gently like the old navy one did */
.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 16% 10%, #ffffff 0%, rgba(255,255,255,0) 55%),
    linear-gradient(168deg, var(--white) 0%, var(--paper) 62%, var(--paper-2) 100%);
  background-size: 160% 160%;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 30% 40%, 0% 0%; }
}

/* Warm gold glow in the top corner so the white plane has depth, not flatness */
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(58% 52% at 82% 6%, rgba(207,167,98,.16), rgba(207,167,98,0) 70%);
}

/* Brand arch pattern — a soft gold watermark (the SVG strokes are brand gold),
   fading downward so it sits behind the headline without competing */
.hero__pattern {
  position: absolute; inset: 0; opacity: .18;
  background-image: url("../img/arch-pattern.svg"); background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 70%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 70%);
}

.hero__content { position: relative; max-width: 860px; }

/* unused: .hero__eyebrow is not rendered by any current template (grepped
   app/ — zero references outside this file). Left in place, not restyled,
   per the 2026-07-28 review remediation (Phase 4/5.5.8): it's dead weight,
   not a bug, so no functional fix is needed.
   Leftover from the navy->white hero recolor (84d29e8): every other hero
   text color was flipped dark, but this pill's text stayed white-on-white
   (~1:1 — effectively invisible). --navy-800 clears 11.5-12.9:1 across the
   white/--paper/--paper-2 span of the hero's animated gradient. (The pill's
   near-invisible background/border tint is a separate, non-text visual
   leftover from the same recolor — left alone here since it isn't a text
   contrast issue; flagging for a follow-up design pass.) */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800); padding: 8px 16px; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300);
  box-shadow: 0 0 0 0 rgba(226,196,139,.7); animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,196,139,.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(226,196,139,0); } }

.hero__title {
  color: var(--navy-900);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.02;
  margin-bottom: 26px;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic; font-weight: 500;
  color: var(--gold-700);   /* darker gold reads on white where gold-300 would wash out */
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65;
  color: var(--slate-700); max-width: 620px; margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

/* Ghost CTA on the light hero: dark ink + a navy hairline, gold flood on hover.
   Scoped to .hero so the navy CTA band keeps the default white-on-dark ghost. */
.hero .btn--plate-ghost {
  --btn-fg: var(--navy-900); color: var(--navy-900);
  border-color: var(--border-2); -webkit-backdrop-filter: none; backdrop-filter: none;
  background-image: linear-gradient(var(--gold-600), var(--gold-600)),
                    linear-gradient(rgba(207,167,98,.14), rgba(207,167,98,.14));
}
.hero .btn--plate-ghost:hover {
  color: var(--navy-900); border-color: var(--gold-500);
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 38px; margin: 0; padding-top: 26px;
  border-top: 1px solid var(--border); max-width: 620px;
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats dt { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--navy-800); }
/* Sits on the hero's animated multi-layer gradient (white -> --paper ->
   --paper-2 + a drifting radial highlight) — the exact pixel isn't
   statically determinable, but --slate-500 already fails the darkest
   plausible stop (4.17:1 on --paper-2). --slate-700 clears 8.02-9.02:1
   across the whole white/--paper/--paper-2 range regardless of where the
   gradient lands. */
.hero__stats dd { margin: 6px 0 0; font-size: .86rem; letter-spacing: .04em; color: var(--slate-700); }

/* ---- Reveal animation --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-delay="0"].is-in { transition-delay: .05s; }
.reveal[data-delay="1"].is-in { transition-delay: .18s; }
.reveal[data-delay="2"].is-in { transition-delay: .31s; }
.reveal[data-delay="3"].is-in { transition-delay: .46s; }
.reveal[data-delay="4"].is-in { transition-delay: .60s; }
.reveal[data-delay="5"].is-in { transition-delay: .74s; }
.reveal[data-delay="6"].is-in { transition-delay: .95s; }

/* ---- ABOUT --------------------------------------------------------- */
.about { padding: clamp(72px, 11vw, 130px) 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.about__intro { margin-bottom: clamp(20px, 3vw, 30px); }
.about__intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.about__body p { font-size: 1.12rem; color: var(--slate-700); margin-bottom: 20px; max-width: 58ch; }
.about__body p:last-child { margin-bottom: 0; }

/* Framed training photo with an offset gold matte + hanging arch tab. */
.about__figure { position: relative; margin: 0; isolation: isolate; }
.about__frame {
  position: absolute; z-index: 0;
  inset-block: 26px -26px; inset-inline: 26px -26px;
  border: 1.5px solid var(--gold-500); border-radius: var(--radius-lg);
  pointer-events: none;
}
.about__media {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 460px; margin-inline: auto; }
  .about__frame { inset-block: 18px -18px; inset-inline: 18px -18px; }
}

/* ---- Duotone media utility ---------------------------------------- */
/* A pure-filter navy duotone (grayscale → sepia → hue-rotate to navy):
   every photo (red track, blue pool, green pitch) is mapped to one brand
   temperature. Filter-only — no mix-blend-mode — so it renders identically
   across browsers and GPUs. .duo--hover restores natural colour as a reward. */
.duo { position: relative; overflow: hidden; background: var(--navy-900); }
.duo > img:not(.arch-tab) {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) brightness(.82) sepia(.62) hue-rotate(178deg) saturate(2.3) contrast(1.04);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.duo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,31,54,.10) 0%, rgba(13,31,54,.16) 50%, rgba(13,31,54,.5) 100%);
  transition: opacity .5s var(--ease);
}
/* On hover the colour reward also lifts the veil for a brighter reveal. */
.duo--hover:hover::after,
.duo--hover:focus-within::after { opacity: .45; }
.duo--hover:hover > img:not(.arch-tab),
.duo--hover:focus-within > img:not(.arch-tab) {
  filter: grayscale(0) brightness(1) sepia(0) hue-rotate(0deg) saturate(1.04) contrast(1.02);
  transform: scale(1.05);
}

/* ---- PROCESS ------------------------------------------------------- */
.process { position: relative; padding: clamp(60px, 9vw, 110px) 0; background: var(--paper); overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("../img/arch-pattern.svg"); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 60%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 60%);
}
.process > .container { position: relative; }
.process__head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.process__head h2 { font-size: clamp(2rem, 4vw, 3rem); }

.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.step-card:hover .step-card__media img { transform: scale(1.06); }

.step-card__media { aspect-ratio: 16 / 10; }
/* Gold step number badge anchored at the foot of the photo (fully inside the
   media so it is never clipped by the duo's overflow:hidden). */
.step-card__num {
  position: absolute; z-index: 3; left: 22px; bottom: 18px;
  width: 54px; height: 54px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1;
  color: var(--navy-900); background: var(--gold-500); border-radius: 50%;
  box-shadow: 0 10px 22px -8px rgba(13,31,54,.6);
}
[dir="rtl"] .step-card__num { left: auto; right: 22px; }

.step-card__body { padding: 34px 30px 32px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step-card p { color: var(--slate-500); font-size: 1rem; }
@media (max-width: 820px) { .process__steps { grid-template-columns: 1fr; } }

/* ---- CTA ----------------------------------------------------------- */
.cta { padding: clamp(60px, 8vw, 96px) 0; background: var(--white); }
.cta__inner {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 26px;
  align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); color: #fff;
}
.cta__inner::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: url("../img/arch-pattern.svg"); background-size: 60px 60px;
}
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 10px; position: relative; }
.cta__inner p { color: rgba(255,255,255,.82); max-width: 46ch; position: relative; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
.cta__inner .btn { position: relative; flex: none; }

/* =====================================================================
   FAQ (replaces the former gallery) — native <details> accordion
   ===================================================================== */
.faq { padding: clamp(64px, 9vw, 112px) 0; background: var(--white); }
.faq__head { max-width: 640px; margin: 0 0 clamp(34px, 5vw, 52px); }
.faq__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.faq__lead { margin-top: 14px; font-size: 1.1rem; color: var(--slate-500); max-width: 54ch; }

.faq__list { max-width: 820px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }

.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.4vw, 26px) 4px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600;
  color: var(--ink); cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.faq__icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; color: var(--gold); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq__icon::before { width: 100%; height: 2px; }   /* horizontal bar */
.faq__icon::after  { width: 2px; height: 100%; }   /* vertical bar   */
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__a { padding: 0 4px clamp(18px, 2.4vw, 26px); max-width: 64ch; }
.faq__a p { color: var(--slate-700); line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  .faq__icon::before, .faq__icon::after { transition: none; }
}

/* ---- Process: snap carousel on phones --------------------------------- */
.process__dots { display: none; }

@media (max-width: 720px) {
  /* The 3 process cards become a horizontal scroll-snap carousel that bleeds to
     the screen edges (the .container has 24px padding) with the next card
     peeking. Pure CSS scroll-snap — works with JS off; dots are JS-enhanced. */
  .process__steps {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
    margin-inline: -24px;
    padding-inline: 24px;
    scrollbar-width: none;
  }
  .process__steps::-webkit-scrollbar { display: none; }
  .step-card { flex: 0 0 82%; scroll-snap-align: start; }

  .process__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .process__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border-2); cursor: pointer;
    transition: background-color .25s var(--ease), width .25s var(--ease);
  }
  .process__dot.is-active { width: 22px; border-radius: 999px; background: var(--gold-500); }
}

/* ---- Hero: condense for phones ---------------------------------------- */
@media (max-width: 720px) {
  .hero { padding: 104px 0 56px; }
  .hero__actions { margin-bottom: 40px; }
  .hero__stats { gap: 24px; padding-top: 22px; }
}
