/* =====================================================================
   EMPIRES — dark premium theme (gold on black), modelled on the
   "blueprint-final" Shopify theme export.
   Change the whole look from the variables below.
   ===================================================================== */
:root {
  --bg: #0a0a0a;            /* page background */
  --surface: #111111;       /* header, bands, cards */
  --line: rgba(255, 255, 255, .10);   /* thin borders */
  --text: #ffffff;
  --soft: #d4d4d8;          /* body copy on dark */
  --muted: #a1a1aa;         /* secondary text */
  --gold: #c9a227;          /* stars, numbers, highlights */
  --btn: #c9a227;           /* main button colour (change to a brighter yellow if you like, e.g. #ffd21f) */
  --btn-hover: #d4af37;
  --btn-text: #111111;

  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1280px;
  --header-h: 80px;
  --radius: 24px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.6rem; }
:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: #000; padding: 10px 16px; font-weight: 800; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .75rem;
  padding: 1rem 2.4rem;
  background: var(--btn); color: var(--btn-text);
  border: 2px solid var(--btn); border-radius: 999px;
  font: 600 1.02rem/1.2 var(--font-body);
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--outline { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .7); }
.btn--outline:hover { background: #fff; border-color: #fff; color: #000; }
.btn--block { display: flex; width: 100%; padding: 1.15rem 1.5rem; border-radius: 16px; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.center .actions, .hero .actions { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid #222; }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px;
  background: var(--gold); color: #111; font-weight: 900; font-size: 1.25rem; letter-spacing: -.06em;
}
.brand__mark--sm { width: 32px; height: 32px; font-size: 1.1rem; }
.brand__name { font-weight: 700; font-size: 1.5rem; letter-spacing: -.05em; text-transform: uppercase; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; padding: .4em 0; border-bottom: 2px solid transparent; transition: color .15s ease; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; cursor: pointer; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 12px; width: 18px; height: 2px; background: var(--text); }
.menu-toggle .bars { top: 21px; }
.menu-toggle .bars::before { top: -6px; left: 0; }
.menu-toggle .bars::after { top: 6px; left: 0; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); padding: 4px 24px 18px; border-bottom: 1px solid #222; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- photos (placeholder until the image file exists) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: linear-gradient(160deg, #1b1608, #000); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-empty { display: grid; place-items: center; border: 1px dashed var(--gold); }
.photo.is-empty::after { content: attr(data-ph); color: var(--gold); font-size: .78rem; font-weight: 600; text-align: center; padding: 16px; }

/* ---------- hero (full-bleed photo, centred text) ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--header-h)); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { opacity: var(--hero-photo, .9); object-position: center var(--hero-focus, 22%); }  /* raise/lower the % to move the photo up/down behind the headline */
.hero__bg.is-empty { display: block; border: 0; }
.hero__bg.is-empty::after { position: absolute; right: 16px; bottom: 16px; padding: 0; text-align: right; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.5) 55%, #000); }
.hero__inner { position: relative; z-index: 2; text-align: center; padding: 72px 0; max-width: 1024px; }
.display { font-size: clamp(3.3rem, 9.2vw, 7.5rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; margin-bottom: 28px; }
.display span { display: block; }
.lead { font-size: clamp(1.15rem, 2.1vw, 1.5rem); color: var(--soft); max-width: 36rem; margin: 0 auto 40px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .rise span { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rise span:nth-child(2) { animation-delay: .09s; }
  @keyframes rise { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }
}
@media (max-width: 560px) { .actions .btn { width: 100%; } }

/* hero layout that keeps the face clear of the headline:
   desktop = text on the left, photo on the right; phone = photo on top, text at the bottom */
@media (min-width: 861px) {
  .hero { justify-content: flex-start; }
  .hero__bg { inset: 0 0 0 auto; width: 60%; }
  .hero__bg img { opacity: 1; object-position: center var(--hero-focus, 16%); }
  .hero__shade { background: linear-gradient(to right, #000 38%, rgba(0, 0, 0, .55) 56%, rgba(0, 0, 0, 0) 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, #000); }
  .hero__inner { width: min(100% - 48px, var(--maxw)); max-width: var(--maxw); text-align: left; }
  .hero__inner > * { max-width: 700px; }
  .hero .display { font-size: clamp(3.2rem, 6.2vw, 5.6rem); }
  .hero .lead { margin: 0 0 40px; }
  .hero .actions { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .hero { align-items: flex-end; min-height: max(calc(100dvh - var(--header-h)), 780px); }
  .hero__bg img { opacity: 1; object-position: center 0%; }
  .hero__shade { background: linear-gradient(to bottom, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .78) 56%, #000 84%); }
  .hero__inner { padding: 48px 0 56px; }
}

/* ---------- trust bar ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 0; }
.trust__row > div { display: flex; align-items: center; gap: 12px; padding: 0 40px; }
.trust__row > div + div { border-left: 1px solid rgba(255, 255, 255, .2); }
.trust strong { font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.trust span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .trust__row { flex-direction: column; align-items: flex-start; }
  .trust__row > div { padding: 0; }
  .trust__row > div + div { border-left: 0; }
}

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.story .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .7); }
.story__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.story h2 { margin-bottom: 8px; }
.story p { color: var(--soft); max-width: 38em; }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; }
.ticks li { position: relative; padding-left: 1.8em; margin-bottom: .5em; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__photo { position: static; max-width: 440px; } }

/* ---------- offer cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease, border-color .6s ease; }
.card__img { height: 240px; border-radius: var(--radius) var(--radius) 0 0; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.card h3 { font-size: 1.7rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: -.04em; }
.card p { color: var(--soft); margin: 16px 0 24px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.pill { padding: .7rem 1.5rem; background: #fff; color: #000; border-radius: 999px; font-size: .85rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; transition: background .2s ease; }
.card:hover .pill { background: var(--gold); }
.price { font-weight: 700; font-size: 1.8rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.price s { color: var(--muted); font-size: 1.05rem; font-weight: 500; margin-right: .5em; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: .25em; letter-spacing: 0; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } }
.card__foot .pill { margin-left: auto; }          /* keeps the button on the right, even if it has to drop to its own line */
@media (max-width: 480px) {                       /* slightly tighter so price and button fit on one row on phones */
  .card__body { padding: 24px; }
  .card__foot { gap: 12px; }
  .card__foot .price { font-size: 1.45rem; }
  .card__foot .price s { font-size: .9rem; margin-right: .3em; }
  .card__foot .price small { font-size: .78rem; margin-left: .15em; }
  .pill { padding: .6rem 1rem; font-size: .78rem; }
}

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.quote { margin: 0; padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.stars { color: var(--gold); letter-spacing: .12em; margin-bottom: 14px; }
.quote p { font-style: italic; font-size: 1.08rem; color: var(--text); }
.who { margin-top: 22px; font-weight: 600; }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- final call to action ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; background: center / cover no-repeat url("../images/cta-1900.jpg"); opacity: .2; }
@media (min-width: 1200px) and (min-resolution: 2dppx) { .cta__bg { background-image: url("../images/cta.jpg"); } }
.cta .wrap { position: relative; }
.cta h2 { margin-bottom: 32px; }
.cta .photo-tag { top: auto; bottom: 16px; left: 16px; }

/* ---------- product pages ---------- */
.product { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.product__media { position: sticky; top: calc(var(--header-h) + 24px); }
.product__media .photo { aspect-ratio: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .7); }
.product h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; }
.buybox { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 44px; }
.buybox .price { font-size: 2.6rem; margin-bottom: 20px; }
.buybox .price s { font-size: 1.4rem; }
.assure { list-style: none; margin: 18px 0 0; padding: 0; color: var(--muted); font-size: .92rem; }
.assure li { margin-bottom: .3em; }
.assure li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: .6em; }
.scarcity { display: inline-block; margin: 0 0 18px; padding: .4em 1em; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700; font-size: .88rem; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 48px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--soft); max-width: 40em; }
.prose strong { color: #fff; }
.points { list-style: none; margin: 0 0 1.6em; padding: 0; counter-reset: pt; display: grid; gap: 14px; }
.points li { counter-increment: pt; position: relative; padding: 22px 26px 22px 78px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--soft); }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 24px; top: 20px; font-weight: 800; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; color: var(--gold); }
.closer span { display: block; }
.closer span + span { margin-top: 1.15em; }   /* one full blank line between the two closing lines */
.prose .closer { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.15; letter-spacing: -.035em; color: #fff; margin-top: 36px; }
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product > * { min-width: 0; }
  .product__media { position: static; max-width: 440px; }
}

/* product page photo = the whole original, uncropped */
.product__media .photo img { height: auto; }

/* mobile sticky buy bar */
.buybar { display: none; }
@media (max-width: 860px) {
  .has-buybar { padding-bottom: 88px; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--gold); }
  .buybar .price { font-size: 1.5rem; }
  .buybar .btn { padding: .9rem 1.6rem; }
}

/* ---------- thank-you page ---------- */
.thanks { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.thanks h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; margin-bottom: 16px; }
.video { width: min(100%, 900px); aspect-ratio: 16 / 9; margin: 0 auto 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- private course page ---------- */
.watch { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.watch h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.045em; margin: 0 0 24px; }
.watch p { color: var(--soft); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; max-width: 44rem; margin: 0 auto 1.2em; }
.watch strong { color: #fff; font-weight: 800; }
.watch .video { width: min(100%, 1100px); margin: 40px auto 64px; }
.watch h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); letter-spacing: -.035em; max-width: 22em; margin: 0 auto 20px; }
.watch__cta { margin: 32px auto 48px !important; }
.watch p.watch__end { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; }

/* ---------- footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.04em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { text-decoration: none; transition: color .15s ease; }
.footer__links a:hover { color: var(--text); }
.footer__fine { border-top: 1px solid var(--line); padding-top: 22px; font-size: .8rem; color: #71717a; }

/* ---------- photo number tags (switch off with showPhotoLabels in js/config.js) ---------- */
.photo-tag { position: absolute; top: 10px; left: 10px; z-index: 6; padding: .3em .7em; border-radius: 6px; background: #ffd21f; color: #000; font: 800 .8rem/1.2 var(--font-body); pointer-events: none; }
.hero .photo-tag { top: auto; bottom: 16px; left: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- scroll highlight: gold glow + slight enlarge on the home page cards ---------- */
.card.is-active {
  transform: scale(1.035); z-index: 2;
  border-color: rgba(255, 201, 40, .75);
  box-shadow: 0 0 0 1px rgba(255, 201, 40, .45), 0 0 34px 6px rgba(255, 190, 30, .40), 0 0 90px 18px rgba(255, 190, 30, .18);
}

/* ---------- pop-out photos (GTA loading-screen style) ----------
   Each photo has a stylised background plus a matching cut-out of the people on top.
   When it scrolls into view the people lift up and out of the frame. */
.pop { position: relative; overflow-x: clip; }   /* people can rise above the frame but never spill sideways */
.pop__cut {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; pointer-events: none;
  transform-origin: var(--ox, 50%) 100%;   /* grows from where the people stand */
  clip-path: inset(-45% -14% 0 -14% round 0 0 var(--radius) var(--radius));   /* can escape the top and sides, never the bottom */
  transition: transform .8s cubic-bezier(.2, .9, .25, 1.15), filter .8s ease;
}
.pop--card .pop__cut { clip-path: inset(-60% -14% 0 -14%); }
.pop--card.is-active .pop__cut { transform: scale(1.18); }
.pop.is-active .pop__cut {
  transform: scale(1.14);                 /* grows upward from the bottom edge, so the heads rise out of the frame */
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .65)) drop-shadow(0 0 12px rgba(255, 201, 40, .38));
}
body { overflow-x: clip; }   /* the enlarged photos must never cause sideways scrolling */

@media (prefers-reduced-motion: reduce) {
  .card.is-active { transform: none; }
  .pop.is-active .pop__cut { transform: none; }
}
