/* ===========================================================================
   TRAINING ACADEMY — Ellis Acquisition System storefront.

   Built to match the flyer Ellis supplied: deep navy, gold, a light blue
   section band, white cards, serif display headings over sans body.

   STANDALONE. This page deliberately does NOT load assets/styles.css. The
   main Rogue River site is dark forest-green glass; loading it underneath
   would mean fighting its body background, glass cards and light-on-dark
   text on every rule. The Academy is a self-contained sub-brand linked from
   the main nav.

   Fonts are the site's own — Fraunces for display, Work Sans for body — which
   match the flyer's serif/sans pairing and keep the two halves related.
   =========================================================================== */

:root {
  --navy-900: #081a33;
  --navy-800: #0d2240;
  --navy-700: #102a4c;
  --navy-600: #16375e;
  --navy-500: #1d4472;

  --blue:      #1f5fa9;
  --blue-dark: #174a86;
  --blue-pale: #eaf2fb;
  --blue-line: #d4e3f4;

  --gold:       #e8b64c;
  --gold-light: #f3cd7a;
  --gold-deep:  #c9983a;
  --gold-pale:  #f7e4b8;

  --page:   #f3f8fd;
  --card:   #ffffff;
  --border: #dde7f2;
  --ink:        #15243a;
  --ink-soft:   #4d5d74;
  --ink-muted:  #6b7a90;

  --radius:    12px;
  --radius-sm:  7px;
  --shadow-1: 0 2px 8px rgba(13,34,64,.06);
  --shadow-2: 0 8px 28px rgba(13,34,64,.10);
  --shadow-3: 0 20px 52px rgba(13,34,64,.16);
  --wrap: 1180px;

  /* Shared structural grammar. Same names and values as assets/styles.css so a
     component moved between the two halves of the site behaves identically.
     Colour and skin stay different on purpose; the bones are the same. */
  --sp-0:0; --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.5rem;
  --sp-6:2rem; --sp-7:2.75rem; --sp-8:3.5rem; --sp-9:5rem; --sp-10:7rem;
  --fs-xs:.75rem; --fs-sm:.875rem; --fs-base:1rem; --fs-md:1.125rem; --fs-lg:1.375rem; --fs-xl:1.75rem;
  --fs-2xl:clamp(1.75rem,3.1vw,2.25rem); --fs-3xl:clamp(2.25rem,4.6vw,3.75rem);
  --lh-tight:1.15; --lh-snug:1.35; --lh-body:1.6; --lh-loose:1.75;
  --max-text:760px;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.16; font-family: var(--serif); font-weight: 600; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1em; }
a  { color: var(--blue); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 76px 0; }
.muted { color: var(--ink-muted); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.center { text-align: center; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.store-header { background: var(--navy-800); position: sticky; top: 0; z-index: 60; }
.store-nav {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
/* The flyer's own lockup — mountains, sun and wordmark in one piece — rather
   than the green house mark the main site uses. It is cut from the flyer on
   its navy background, which is why it needs no panel behind it here. */
.store-brand { display: flex; align-items: center; text-decoration: none; }
.brand-lockup { height: 46px; width: auto; display: block; }
.store-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.store-links a {
  color: #dbe6f4; text-decoration: none; font-weight: 500; font-size: .9rem;
  padding: 9px 13px; border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.store-links a:hover { color: #fff; }
.store-links a.active { color: var(--gold); border-bottom-color: var(--gold); border-radius: 0; }
.store-links .sep { width: 1px; height: 20px; background: rgba(255,255,255,.16); margin: 0 8px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; }
.hero-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch;
}
.hero-copy { padding: 68px 28px 60px; }
.hero h1 { color: #fff; margin: 14px 0 10px; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero .tagline {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  font-weight: 600; color: #fff; margin: 0 0 18px;
}
.hero p.lede { color: #c6d5e8; max-width: 560px; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* The river/trees/mountains sunrise from Ellis's flyer.

   The photo is a layer across the whole hero anchored to the right, with a
   navy scrim over it that starts fully opaque at the photo's left edge. That
   is what makes it flow: there is never a point where "navy stops and photo
   starts" — the navy simply thins out until the picture shows through, which
   is how the flyer reads.

   An earlier version put the photo inside the right grid column with a
   gradient on top. That still leaves the column's edge as a straight
   boundary, so it read as a pasted-in box. Masking the image would also work
   but composites unreliably in some renderers; two plain background layers do
   not. .hero-art is now only a spacer that reserves the column. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  pointer-events: none;
}
.hero::before {
  background: url("../assets/academy-hero.jpg") center right/cover no-repeat;
  z-index: 0;
}
.hero::after {
  background: linear-gradient(to right,
    var(--navy-800) 0%,
    rgba(13,34,64,.94) 10%,
    rgba(13,34,64,.62) 28%,
    rgba(13,34,64,.22) 50%,
    rgba(13,34,64,.04) 72%,
    rgba(13,34,64,0) 100%);
  z-index: 1;
}
.hero-art { min-height: 460px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold); color: var(--navy-900); border: 2px solid var(--gold);
  border-radius: var(--radius-sm); padding: 13px 24px;
  font: 600 .88rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232,182,76,.3); }
.btn svg { width: 16px; height: 16px; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; box-shadow: none; }
.btn-block { width: 100%; }
/* A dead button must not look clickable — that is the difference between
   "coming soon" and "this site is broken". */
.btn:disabled, .btn:disabled:hover {
  background: #c3cedd; border-color: #c3cedd; color: #6d7b8d;
  cursor: not-allowed; transform: none; box-shadow: none;
}

/* ── Feature strip ───────────────────────────────────────────────────────── */
.features { background: var(--navy-700); border-top: 1px solid rgba(255,255,255,.07); }
.features-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 26px 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.feature { display: flex; align-items: center; gap: 14px; padding: 6px 22px; }
.feature + .feature { border-left: 1px solid rgba(255,255,255,.13); }
.feature .ring {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  display: grid; place-items: center;
}
.feature .ring svg { width: 23px; height: 23px; }
.feature b {
  display: block; color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.25;
}
.feature span { display: block; color: #a7bcd6; font-size: .82rem; margin-top: 3px; }

/* ── Modules ─────────────────────────────────────────────────────────────── */
.modules { background: var(--blue-pale); }
.modules-head { position: relative; }
.script-accent {
  position: absolute; right: 0; top: -6px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.28rem; color: var(--blue); line-height: 1.3; text-align: center;
  transform: rotate(-5deg);
}
.script-accent::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--gold); margin-top: 4px;
}

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }

.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-body h3 { margin: 0; }
.card-body p { flex: 1; }   /* pushes price and button to the same line across a row */
.module-no {
  font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin: 0;
}
/* Pushes price and button to the bottom so cards in a row line up however
   long the description runs. */
.card-body p { margin: 0; flex: 1; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.price { font-family: var(--serif); font-size: 1.95rem; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.card-meta {
  border-top: 1px solid var(--border); padding: 12px 22px;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .76rem; color: var(--ink-muted); letter-spacing: .02em;
}
.card-meta svg { width: 15px; height: 15px; color: var(--blue); flex: none; }
.card-meta .dot { color: var(--border); }

/* ── Collections + module grid ─────────────────────────────────────────── */
/* Bundles first, two across; then the six modules three across (3+3), so no
   row is ever left with a single orphaned card. */
.bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.singles-head {
  margin: 56px 0 0; text-align: center;
  font-family: var(--serif); font-size: var(--fs-xl); color: var(--navy-800);
}

/* Square product artwork supplied by Jason. The price is baked into each
   image; the HTML price below it is the one buyers rely on. */
.product-art { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--navy-800); }

.bundle-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-600));
  border: 1px solid var(--navy-500); border-radius: var(--radius);
  color: #fff; box-shadow: var(--shadow-2);
}
.bundle-card-best { border: 2px solid var(--gold); }
.bundle-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.bundle-body h3 { color: #fff; margin: 0 0 8px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.bundle-body p { color: #bdcfe4; font-size: .93rem; margin: 0; flex: 1; }
.kicker {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.ribbon {
  position: absolute; left: 0; top: 18px; z-index: 2;
  background: var(--gold); color: var(--navy-900);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 18px 7px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
}
.price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.price-row .now { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.price-row .was { font-family: var(--serif); font-size: 1.35rem; color: #8ca4c0; text-decoration: line-through; }
.price-row .save {
  background: var(--gold); color: var(--navy-900);
  font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 99px; padding: 6px 13px;
}
.bundle-meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 14px; font-size: .78rem; color: #9fb6d2; letter-spacing: .05em;
}
.bundle-meta svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* Single-module card: price and button share one line at the bottom. */
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.buy-row .btn { flex: none; }

/* ── Bonus tools ─────────────────────────────────────────────────────────── */
.bonus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.bonus { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.bonus .ic { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.bonus .ic svg { width: 21px; height: 21px; }
.ic-green { background: #1f9254; }
.ic-blue  { background: var(--blue); }
.bonus h3 { margin: 0; font-size: .98rem; font-family: var(--sans); font-weight: 700; color: var(--navy-800); }
.bonus .kind { font-size: .84rem; color: var(--blue); margin: 2px 0 0; }
.bonus p { grid-column: 1 / -1; margin: 10px 0 0; font-size: .89rem; color: var(--ink-soft); }

/* ── Status banner ───────────────────────────────────────────────────────── */
.store-status {
  background: #fff8e8; border: 1px solid #f0dcae; border-left: 4px solid var(--gold-deep);
  border-radius: var(--radius-sm); padding: 16px 20px; margin-top: 30px;
  font-size: .93rem; color: #5b4a24; box-shadow: var(--shadow-1);
}
.store-status strong { color: #403014; }
.store-status.live { background: #eef5ff; border-color: #cfe0f6; border-left-color: var(--blue); color: #284560; }
.store-status.live strong { color: var(--navy-800); }

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.trust {
  position: relative; color: #fff;
  background:
    linear-gradient(90deg, rgba(13,34,64,.95), rgba(13,34,64,.80)),
    url("../assets/trust-band.jpg") center bottom/cover no-repeat,
    var(--navy-800);
}
.trust-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 34px 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item svg { flex: none; width: 32px; height: 32px; color: var(--gold); }
.trust-item b {
  display: block; font-size: .84rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.trust-item span { display: block; color: #a7bcd6; font-size: .85rem; margin-top: 4px; }

/* ── FAQ & policies ──────────────────────────────────────────────────────── */
.faq { max-width: 840px; margin: 30px auto 0; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow-1);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy-800); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); font-size: .93rem; }

.legal { max-width: 840px; margin: 0 auto; }
.legal h3 { margin: 26px 0 6px; font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
.legal p { color: var(--ink-soft); font-size: .93rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.store-footer { background: var(--navy-900); color: #c6d3e3; padding: 52px 0 30px; font-size: .9rem; }
.store-footer a { color: #cfe0f6; text-decoration: none; }
.store-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 13px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { height: 46px; width: 46px; object-fit: contain; border-radius: 7px; }
.footer-brand b { color: #fff; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.disclaimer { color: #8ea4bf; font-size: .83rem; max-width: 620px; margin-top: 12px; line-height: 1.6; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .83rem; color: #8ea4bf;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bonus-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .feature:nth-child(3) { border-left: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bundle-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 230px; order: -1; }
  .hero-copy { padding: 36px 28px 48px; }
  .script-accent { display: none; }
  /* Stacked: photo across the top, fading down into the copy instead of
     sideways into it. */
  .hero::before, .hero::after { width: 100%; bottom: auto; height: 300px; }
  .hero::before { background-position: center 40%; }
  .hero::after {
    background: linear-gradient(to bottom,
      rgba(13,34,64,.25) 0%, rgba(13,34,64,.55) 55%,
      rgba(13,34,64,.92) 85%, var(--navy-800) 100%);
  }
}
@media (max-width: 620px) {
  .bonus-grid, .module-grid, .features-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .bundle-body { padding: 22px 20px 24px; }
  .feature + .feature { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); padding-top: 16px; }
  .section { padding: 54px 0; }
}

/* Keyboard focus: one visible ring, same treatment as the main site. */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
