/* ==========================================================================
   Ashnimator Studios — cinematic redesign
   Single stylesheet for every page. Sections are in reading order.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-700-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-adjusted fallbacks keep layout shift near zero while fonts load */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Segoe UI");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 30%;
  line-gap-override: 10%;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0908;
  --bg-2: #100e0c;
  --surface: #161310;
  --surface-2: #1e1a15;
  --line: rgba(255, 238, 214, 0.12);
  --line-2: rgba(255, 238, 214, 0.24);
  --text: #f3ece1;
  --muted: #a69d8f;
  --dim: #7a7266;
  --amber: #f2a33c;
  --amber-2: #ffc062;
  --orange: #e5702a;
  --ember: #b9461a;
  --paper: #efe7d8;

  --ff-display: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.2vw, 3.75rem);
  --maxw: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3,
h4 {
  font-weight: 600;
  line-height: 1.15;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
::selection {
  background: var(--amber);
  color: #170e03;
}
:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Subtle film grain over the whole page (static: cheap to composite) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .93  0 0 0 0 .84  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--amber);
  color: #170e03;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip:focus {
  top: 1rem;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 10rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.display {
  font-size: clamp(2.8rem, 7.2vw, 6.6rem);
}
.display em,
.hero__title em,
.cta h2 em {
  font-style: italic;
  color: var(--amber);
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head .display {
  max-width: 14ch;
}

/* Icons (svg sprite) */
.i {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.i--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Buttons & links ---------- */
.btn {
  --pad-x: 1.7rem;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem var(--pad-x);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.55s var(--ease);
}
.btn .i {
  transition: transform 0.5s var(--ease);
}
.btn:hover .i--arrow,
.btn:focus-visible .i--arrow {
  transform: translateX(4px);
}
.btn:active {
  transform: scale(0.97);
}
.btn--primary {
  background: linear-gradient(135deg, var(--amber-2), var(--amber) 55%, var(--orange));
  color: #170e03;
  box-shadow: 0 10px 40px -12px rgba(242, 163, 60, 0.55);
}
.btn--primary::before {
  background: var(--paper);
}
.btn--primary:hover {
  box-shadow: 0 18px 50px -12px rgba(242, 163, 60, 0.75);
}
.btn--primary:hover::before,
.btn--primary:focus-visible::before,
.btn--ghost:hover::before,
.btn--ghost:focus-visible::before {
  transform: translateY(0);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost::before {
  background: var(--text);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: #120d07;
  border-color: var(--text);
}
.btn--sm {
  --pad-x: 1.25rem;
  padding-block: 0.8rem;
  font-size: 0.88rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding-bottom: 0.2rem;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.link-arrow:hover,
.link-arrow:focus-visible {
  background-size: 100% 1px, 100% 1px;
  color: var(--amber-2);
}
.link-arrow .i {
  transition: transform 0.5s var(--ease);
}
.link-arrow:hover .i {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-color: var(--line);
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.nav__bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}
.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand:hover .brand__mark {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 10px rgba(242, 163, 60, 0.65));
}
.brand__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__name em {
  font-style: italic;
  font-weight: 600;
  color: var(--amber);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(243, 236, 225, 0.78);
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.4);
  z-index: 3;
}
.nav__toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__toggle span:nth-child(1) {
  top: 18px;
}
.nav__toggle span:nth-child(2) {
  top: 26px;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Full-screen menu (≤ 1080px) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  background:
    radial-gradient(60rem 40rem at 90% 0%, rgba(242, 163, 60, 0.16), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(229, 112, 42, 0.12), transparent 60%),
    var(--bg);
  clip-path: circle(0 at calc(100% - 3rem) 2.4rem);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease), visibility 0s 0.9s;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 3rem) 2.4rem);
  visibility: visible;
  transition: clip-path 0.9s var(--ease), visibility 0s;
}
.menu nav {
  display: flex;
  flex-direction: column;
}
.menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 1.08;
  border-bottom: 1px solid var(--line);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), color 0.3s;
}
.menu nav a small {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.menu nav a:hover,
.menu nav a[aria-current="page"] {
  color: var(--amber-2);
}
.menu.is-open nav a {
  transform: none;
  opacity: 1;
}
.menu.is-open nav a:nth-child(1) { transition-delay: 0.18s; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.23s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.28s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.33s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.38s; }
.menu.is-open nav a:nth-child(6) { transition-delay: 0.43s; }
.menu__foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
}
@media (min-width: 1081px) {
  .menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #0b0908;
}
.hero__media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: -3;
  will-change: transform;
}
.hero__poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(242, 163, 60, 0.35), transparent 70%),
    radial-gradient(60% 60% at 20% 80%, rgba(185, 70, 26, 0.35), transparent 70%),
    linear-gradient(180deg, #17120d, #0a0908);
  background-size: cover;
  background-position: center;
}
.hero__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__video.is-playing {
  opacity: 1;
}
.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%) scale(1.06);
  border: 0;
  pointer-events: none;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.45) 55%, rgba(10, 9, 8, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0) 28%, rgba(10, 9, 8, 0) 55%, var(--bg) 100%);
}
.hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(45rem 28rem at 82% 8%, rgba(255, 190, 90, 0.22), transparent 65%),
    radial-gradient(38rem 26rem at 8% 100%, rgba(229, 112, 42, 0.2), transparent 65%);
  mix-blend-mode: screen;
}
.hero__grain {
  position: absolute;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .93  0 0 0 0 .84  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
/* viewfinder crop marks */
.hero__marks span {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 238, 214, 0.45);
  z-index: 1;
  pointer-events: none;
}
.hero__marks span:nth-child(1) { left: var(--gutter); top: calc(var(--nav-h) + 12px); border-width: 1px 0 0 1px; }
.hero__marks span:nth-child(2) { right: var(--gutter); top: calc(var(--nav-h) + 12px); border-width: 1px 1px 0 0; }
.hero__marks span:nth-child(3) { left: var(--gutter); bottom: 4.6rem; border-width: 0 0 1px 1px; }
.hero__marks span:nth-child(4) { right: var(--gutter); bottom: 4.6rem; border-width: 0 1px 1px 0; }

.hero__inner {
  position: relative;
  padding-top: calc(var(--nav-h) + 6rem);
  padding-bottom: clamp(9rem, 17vh, 11rem);
}
.hero__title {
  font-size: clamp(3.2rem, 8.2vw, 8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__title .tl {
  display: block;
}
.hero__lede {
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(243, 236, 225, 0.82);
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem);
}
.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 4.9rem;
  pointer-events: none;
}
.hero__foot .container {
  padding-inline: calc(var(--gutter) + 2.6rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, 0.6);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: var(--amber);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-110%); }
  70%, 100% { transform: translateY(260%); }
}
@media (max-width: 720px) {
  .hero__foot .meta-right,
  .hero__marks {
    display: none;
  }
}

/* Letterbox curtain used for the page intro */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.curtain i {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #070605;
}
.curtain__top { top: 0; }
.curtain__bottom { bottom: 0; }
.curtain.is-done {
  display: none;
}

/* ---------- Stats / credibility ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -2.2rem;
  border-radius: 2.2rem 2.2rem 0 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.stats__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.stats__head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--muted);
  font-style: italic;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
}
.stat {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 2vw, 2rem) clamp(0.4rem, 1vw, 1rem) 0;
}
.stat + .stat {
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 8.4vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff3de 10%, var(--amber) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 820px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }
  .stat:nth-child(n + 3)::before {
    display: none;
  }
}

/* ---------- Work ---------- */
.work {
  background: var(--bg-2);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1.5rem 0 clamp(2rem, 4vw, 3.2rem);
}
.chip,
.filter {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
  white-space: nowrap;
}
.filter:hover {
  color: var(--text);
  border-color: var(--text);
}
.filter[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: #170e03;
}
.js-off-hide {
  display: none;
}
.js .js-off-hide {
  display: flex;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.4vw, 2.2rem);
  row-gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.work-card {
  position: relative;
  grid-column: span 6;
}
.work-card:nth-child(1) { grid-column: 1 / span 8; }
.work-card:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(3rem, 14vw, 13rem); }
.work-card:nth-child(3) { grid-column: 2 / span 5; }
.work-card:nth-child(4) { grid-column: 7 / span 6; margin-top: clamp(2rem, 7vw, 7rem); }
.work-card:nth-child(5) { grid-column: 5 / span 8; }
.work-card[hidden] {
  display: none;
}
.work-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #261c12, #120e0a);
  isolation: isolate;
  cursor: pointer;
}
.work-card:nth-child(2) .work-card__media {
  aspect-ratio: 4 / 5;
}
.work-card__media::after {
  /* amber rim + inner shadow */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -80px 90px -40px rgba(10, 9, 8, 0.85);
  transition: box-shadow 0.6s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.work-card__media:hover::after,
.work-card__media:focus-visible::after {
  box-shadow: inset 0 0 0 1.5px var(--amber), inset 0 -80px 90px -40px rgba(10, 9, 8, 0.7);
}
.work-card__layer {
  position: absolute;
  inset: -9% 0;
  will-change: transform;
}
.work-card__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.85) contrast(1.05);
}
.work-card__media:hover .work-card__layer img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.05);
}
.work-card__preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  overflow: hidden;
}
.work-card__preview.is-live {
  opacity: 1;
}
.work-card__preview iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78%);
  height: max(100%, 56.25%);
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%) scale(1.15);
  border: 0;
}
.work-card__index {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 4;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.work-card__index::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
.work-card__play {
  position: absolute;
  z-index: 4;
  right: 1.1rem;
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease);
}
.work-card__play b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: #170e03;
  transition: transform 0.6s var(--ease);
}
.work-card__media:hover .work-card__play {
  background: var(--amber);
  color: #170e03;
  transform: scale(1.04);
}
.work-card__media:hover .work-card__play b {
  background: #170e03;
  color: var(--amber);
}
.work-card__body {
  padding-top: 1.4rem;
}
.work-card__client {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.work-card h3 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  margin-bottom: 0.7rem;
}
.work-card__desc {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
}
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0.7rem;
}
.metrics li {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(242, 163, 60, 0.12);
  border: 1px solid rgba(242, 163, 60, 0.35);
  color: var(--amber-2);
  font-size: 0.82rem;
  font-weight: 600;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 1.3rem;
  font-size: 0.82rem;
  color: var(--dim);
}
.tags li + li::before {
  content: "/";
  margin-right: 1rem;
  color: var(--line-2);
}
.work__more {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  justify-content: center;
}
@media (min-width: 901px) {
  .work__grid.is-filtered .work-card:nth-child(n) {
    grid-column: span 6;
    margin-top: 0;
  }
  .work__grid.is-filtered .work-card:nth-child(n) .work-card__media {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 900px) {
  .work__grid {
    grid-template-columns: 1fr;
  }
  .work-card,
  .work-card:nth-child(n) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .work-card:nth-child(2) .work-card__media {
    aspect-ratio: 16 / 10;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Services ---------- */
.services {
  background: var(--bg);
}
.services__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 7rem);
}
.services__intro {
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
  align-self: start;
}
.services__intro .lede {
  margin-top: 1.6rem;
}
.svc {
  position: relative;
  border-top: 1px solid var(--line-2);
}
.svc:last-child {
  border-bottom: 1px solid var(--line-2);
}
.svc::before,
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 163, 60, 0.12), transparent 60%);
  transition: opacity 0.5s;
}
.svc:hover::before,
.glow:hover::before {
  opacity: 1;
}
.svc__head {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: clamp(1.2rem, 2.4vw, 1.9rem) 0;
  text-align: left;
}
.svc__num {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.svc__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: transform 0.7s var(--ease), color 0.4s;
}
.svc__head:hover .svc__title,
.svc__head[aria-expanded="true"] .svc__title {
  transform: translateX(0.6rem);
  color: var(--amber-2);
}
.svc__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease);
}
.svc__icon::before,
.svc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.6s var(--ease), background-color 0.4s;
}
.svc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.svc__head[aria-expanded="true"] .svc__icon {
  background: var(--amber);
  border-color: var(--amber);
  transform: rotate(180deg);
}
.svc__head[aria-expanded="true"] .svc__icon::before,
.svc__head[aria-expanded="true"] .svc__icon::after {
  background: #170e03;
}
.svc__head[aria-expanded="true"] .svc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.svc__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.js .svc__panel {
  grid-template-rows: 0fr;
}
.js .svc.is-open .svc__panel {
  grid-template-rows: 1fr;
}
.svc__panel > div {
  overflow: hidden;
}
.svc__panel p {
  max-width: 36rem;
  margin: 0;
  padding: 0 0 1.9rem 4.2rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .services__layout {
    grid-template-columns: 1fr;
  }
  .services__intro {
    position: static;
  }
  .svc__panel p {
    padding-left: 0;
  }
}

/* ---------- Studio / about teaser ---------- */
.studio {
  background:
    radial-gradient(50rem 30rem at 100% 0%, rgba(242, 163, 60, 0.1), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.studio__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}
.studio__visual {
  position: relative;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.studio__frame {
  position: absolute;
  inset: -1.4rem 1.4rem 1.4rem -1.4rem;
  border: 1px solid var(--amber);
  opacity: 0.55;
  border-radius: var(--radius);
}
.studio__glow {
  position: absolute;
  inset: 12% -12% -12% 18%;
  background: linear-gradient(135deg, var(--orange), var(--ember));
  border-radius: var(--radius);
  opacity: 0.85;
  filter: saturate(1.1);
}
.studio__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}
.studio__photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.05);
}
.studio__caption {
  position: absolute;
  z-index: 2;
  left: -1rem;
  bottom: 1.4rem;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  line-height: 1.3;
}
.studio__caption strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.studio__caption span {
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.studio__copy p {
  max-width: 36rem;
  color: var(--muted);
}
.studio__copy .display {
  margin-bottom: 1.8rem;
}
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 2.2rem;
}
@media (max-width: 900px) {
  .studio__layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Clients: logo marquee ---------- */
.clients {
  background: var(--bg);
  overflow: hidden;
}
.marquee {
  --gap: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__row {
  display: flex;
  width: max-content;
  gap: var(--gap);
  animation: marquee 48s linear infinite;
}
.marquee__row:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 56s;
}
.marquee:hover .marquee__row {
  animation-play-state: paused;
}
.marquee__set {
  display: flex;
  gap: var(--gap);
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}
.logo-plate {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(150px, 15vw, 200px);
  aspect-ratio: 194 / 86;
  border-radius: 14px;
  background: #f4efe6;
  overflow: hidden;
}
.logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.78;
  mix-blend-mode: multiply;
  transition: filter 0.5s, opacity 0.5s;
}
.logo-plate:hover img {
  filter: none;
  opacity: 1;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 15vw, 200px), 1fr));
  gap: 1rem;
}
.logo-grid .logo-plate {
  width: 100%;
}

/* ---------- Testimonials ---------- */
.voices {
  background: var(--bg-2);
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}
.quote {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.2rem;
  min-height: 22rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.5s, transform 0.7s var(--ease);
}
.quote:nth-child(2) {
  margin-top: 3rem;
}
.quote:nth-child(3) {
  margin-top: 6rem;
}
.quote:hover {
  border-color: rgba(242, 163, 60, 0.5);
  transform: translateY(-6px);
}
.quote::after {
  content: "\201C";
  position: absolute;
  right: 1.2rem;
  top: -1.4rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 12rem;
  line-height: 1;
  color: var(--amber);
  opacity: 0.1;
  pointer-events: none;
}
.stars {
  display: inline-flex;
  gap: 0.2rem;
  color: var(--amber);
  margin-bottom: 1.4rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  line-height: 1.45;
}
.quote figcaption strong {
  display: block;
  font-weight: 600;
}
.quote figcaption span {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 960px) {
  .voices__grid {
    grid-template-columns: 1fr;
  }
  .quote:nth-child(n) {
    margin-top: 0;
    min-height: 0;
  }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(50rem 34rem at 0% 0%, rgba(229, 112, 42, 0.14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.contact__intro .lede {
  margin-top: 1.5rem;
}
.points {
  margin: 2rem 0 2.4rem;
  display: grid;
  gap: 0.9rem;
}
.points li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  color: var(--text);
}
.points li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
  transform: translateY(-1px);
}
.details {
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-2);
}
.details h3 {
  margin-bottom: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.details p {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}
.details address {
  font-style: normal;
}
.details a:hover {
  color: var(--amber-2);
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.social a:hover,
.social a:focus-visible {
  background: var(--amber);
  border-color: var(--amber);
  color: #170e03;
  transform: translateY(-3px);
}
.social .i {
  width: 20px;
  height: 20px;
}
.social img.i,
.social .i--img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.social a:hover img.i,
.social a:hover .i--img,
.social a:focus-visible img.i,
.social a:focus-visible .i--img {
  filter: brightness(0);
}


.form {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: linear-gradient(180deg, rgba(30, 26, 21, 0.9), rgba(22, 19, 16, 0.9));
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.2rem;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label i {
  font-style: normal;
  color: var(--amber);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--text);
  font-size: 1.05rem;
  transition: border-color 0.4s;
}
.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}
.field input:hover,
.field textarea:hover {
  border-color: rgba(255, 238, 214, 0.45);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 1px 0 0 var(--amber);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff7a59;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.8rem;
}
.form__note {
  margin: 0;
  max-width: 22rem;
  font-size: 0.85rem;
  color: var(--dim);
}
.form__status {
  margin: 1.2rem 0 0;
  min-height: 1.5em;
  font-size: 0.95rem;
}
.form__status[data-state="error"] {
  color: #ffb199;
}
.form__status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form.is-sending .btn {
  opacity: 0.6;
  pointer-events: none;
}
.form__success {
  display: none;
  text-align: left;
  padding: 1rem 0;
}
.form.is-sent .form__fields {
  display: none;
}
.form.is-sent .form__success {
  display: block;
}
.form__success h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.6rem 0 1rem;
}
.form__success p {
  color: var(--muted);
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 960px) {
  .contact__layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closing CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(6rem, 14vw, 12rem);
  background:
    radial-gradient(60rem 36rem at 50% 110%, rgba(242, 163, 60, 0.35), transparent 65%),
    radial-gradient(40rem 24rem at 15% 0%, rgba(185, 70, 26, 0.25), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta__ghost {
  position: absolute;
  left: 50%;
  top: 66%;
  transform: translate(-50%, -52%);
  width: 100%;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(9rem, 32vw, 32rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 163, 60, 0.18);
  pointer-events: none;
  user-select: none;
}
.cta h2 {
  position: relative;
  font-size: clamp(3rem, 8.6vw, 8rem);
  line-height: 0.96;
  margin-inline: auto;
  max-width: 13ch;
}
.cta p {
  position: relative;
  margin: 1.6rem auto 0;
  max-width: 30rem;
  color: rgba(243, 236, 225, 0.8);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}
.cta__buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(4rem, 7vw, 6rem);
  background: #070605;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__brand p {
  max-width: 22rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.footer h3 {
  margin-bottom: 1.1rem;
  font-family: var(--ff-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer li + li {
  margin-top: 0.55rem;
}
.footer a {
  color: rgba(243, 236, 225, 0.82);
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--amber-2);
}
.footer address {
  font-style: normal;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}
.footer__word {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 19.5vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 238, 214, 0.14);
  margin-bottom: -0.12em;
  user-select: none;
  pointer-events: none;
}
.footer__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--dim);
  background: #070605;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}
.to-top .i {
  transform: rotate(-90deg);
  transition: transform 0.5s var(--ease);
}
.to-top:hover .i {
  transform: rotate(-90deg) translateX(4px);
}
@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(1200px, 94vw);
  max-width: none;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #000;
  color: var(--text);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(5, 4, 3, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox[open] {
  animation: lb-in 0.6s var(--ease);
}
.lightbox[open]::backdrop {
  animation: fade-in 0.5s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
.lightbox__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox__close {
  position: absolute;
  top: -3.4rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(10, 9, 8, 0.7);
  transition: background-color 0.3s, color 0.3s;
}
.lightbox__close:hover {
  background: var(--amber);
  color: #170e03;
}

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 8rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(50rem 30rem at 85% 0%, rgba(242, 163, 60, 0.2), transparent 62%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(185, 70, 26, 0.18), transparent 62%),
    var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .93  0 0 0 0 .84  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(6) infinite;
}
.page-hero h1 {
  font-size: clamp(3.4rem, 10vw, 9.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.page-hero__text {
  max-width: 46rem;
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
}
.page-hero__text p {
  color: rgba(243, 236, 225, 0.8);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 3.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-hero__emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.about-hero__emblem::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 163, 60, 0.35), rgba(229, 112, 42, 0.12), transparent);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}
.about-hero__emblem picture,
.about-hero__emblem img {
  position: relative;
  z-index: 1;
  max-width: 290px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(242, 163, 60, 0.28));
  animation: floatEmblem 6s ease-in-out infinite alternate;
}
@keyframes floatEmblem {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-hero__emblem {
    order: -1;
    max-width: 200px;
    margin: 0 auto 1.5rem;
  }
}
.heal-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.heal-hero__logo {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}
.heal-hero__logo::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 163, 60, 0.35), transparent);
  filter: blur(30px);
}
.heal-hero__logo img {
  position: relative;
}
@media (max-width: 900px) {
  .heal-hero {
    grid-template-columns: 1fr;
  }
  .heal-hero__logo {
    order: -1;
    width: min(70%, 320px);
    justify-self: start;
  }
}

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.member {
  grid-column: span 2;
}
.member:nth-child(1) {
  grid-column: span 3;
  grid-row: span 1;
}
.member:nth-child(2) {
  grid-column: span 3;
}
.member__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.member:nth-child(1) .member__photo {
  aspect-ratio: 16 / 11;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(0.7) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.member:hover .member__photo img {
  filter: none;
  transform: scale(1.04);
}
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-2);
  pointer-events: none;
}
.member h3 {
  margin-top: 1.1rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}
.member p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--amber);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .team__grid {
    grid-template-columns: 1fr 1fr;
  }
  .member:nth-child(n) {
    grid-column: span 1;
  }
  .member:nth-child(1) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}

/* Offerings / sectors */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line);
}
.offer {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  transition: background-color 0.5s;
}
.offer:hover {
  background: rgba(242, 163, 60, 0.05);
}
.offer__icon {
  width: 44px;
  height: 44px;
  fill: var(--amber);
  color: var(--amber);
  transition: transform 0.7s var(--ease);
}
.offer:hover .offer__icon {
  transform: translateY(-4px) scale(1.08);
}
.offer h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 0.5rem;
}
.offer p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .offer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .offer__grid {
    grid-template-columns: 1fr;
  }
  .offer {
    min-height: 0;
  }
}

/* Reviews wall (Google review screenshots) */
.reviews {
  columns: 3;
  column-gap: 1rem;
}
.reviews figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-2);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.reviews figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(242, 163, 60, 0.45);
}
.reviews img {
  width: 100%;
}
@media (max-width: 900px) {
  .reviews { columns: 2; }
}
@media (max-width: 560px) {
  .reviews { columns: 1; }
}

/* HealTV project cards use .work-card; two-up layout */
.work__grid--two .work-card:nth-child(n) {
  grid-column: span 6;
  margin-top: 0;
}
.work__grid--two .work-card:nth-child(2) {
  margin-top: clamp(2rem, 6vw, 6rem);
}
.work__grid--two .work-card:nth-child(2) .work-card__media {
  aspect-ratio: 16 / 10;
}
@media (max-width: 900px) {
  .work__grid--two .work-card:nth-child(n) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

/* Thanks / 404 */
.splash {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  background:
    radial-gradient(50rem 30rem at 50% 100%, rgba(242, 163, 60, 0.25), transparent 62%),
    var(--bg);
}
.splash h1 {
  font-size: clamp(3.2rem, 9.5vw, 8.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.splash h1 em {
  font-style: italic;
  color: var(--amber);
}
.splash p {
  margin-inline: auto;
  max-width: 30rem;
  color: var(--muted);
}

/* ==========================================================================
   Academy / Training Page
   ========================================================================== */

/* ==========================================================================
   Academy / Training Page - Blended Cinematic Hero
   ========================================================================== */

/* Training Hero Section */
.training-hero-wrap {
  position: relative;
  min-height: clamp(580px, 84vh, 840px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
  background: #090807;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

/* Ambient warm lighting behind the subject */
.training-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55rem 45rem at 82% 48%, rgba(242, 163, 60, 0.22), transparent 70%),
    radial-gradient(40rem 35rem at 95% 24%, rgba(229, 112, 42, 0.16), transparent 65%),
    radial-gradient(35rem 30rem at 10% 25%, rgba(242, 163, 60, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Full-bleed Backdrop Media (spans 100% width - eliminates any hard crop edges) */
.training-hero__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.training-hero__backdrop-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: right 30%;
  display: block;
  /* Single, cross-browser reliable fade mask without composite conflicts */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.5) 44%, #000000 68%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 22%, rgba(0, 0, 0, 0.5) 44%, #000000 68%);
  transition: transform 1.8s var(--ease);
}

.training-hero-wrap:hover .training-hero__backdrop-img {
  transform: scale(1.02);
}

/* Full-bleed gradient fade overlays guarantee smooth fade even without mask support */
.training-hero__backdrop-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: 
    /* Horizontal soft fade: 100% dark behind text, dissolving gradually toward the right */
    linear-gradient(to right, 
      #090807 0%, 
      #090807 28%, 
      rgba(9, 8, 7, 0.95) 42%, 
      rgba(9, 8, 7, 0.65) 54%, 
      rgba(9, 8, 7, 0.15) 70%, 
      transparent 84%
    ),
    /* Bottom blend into stats */
    linear-gradient(to top, #090807 0%, rgba(9, 8, 7, 0.8) 6%, transparent 22%),
    /* Top blend under nav */
    linear-gradient(to bottom, #090807 0%, rgba(9, 8, 7, 0.5) 5%, transparent 16%);
}

/* Content Container */
.training-hero__container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.training-hero__content {
  max-width: clamp(520px, 48vw, 720px);
}

/* Eyebrow with amber accent dash */
.training-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--ff-body);
  font-size: clamp(0.76rem, 0.9vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, 0.85);
  margin-bottom: clamp(1.2rem, 2vw, 1.6rem);
}

.training-hero__eyebrow-bar {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(242, 163, 60, 0.6);
  flex-shrink: 0;
}

/* Headline: 2 clean bold lines (45% bigger font) */
.training-hero-wrap .training-hero__title,
.training-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.72rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.2rem, 2vw, 1.6rem);
}

.training-hero__title-l1 {
  display: block;
  color: #ffffff;
  white-space: nowrap;
}

.training-hero__title-l2 {
  display: block;
  color: var(--amber);
  font-style: normal;
  white-space: nowrap;
}

/* Paragraph text */
.training-hero__text {
  max-width: 44ch;
  margin-bottom: clamp(1.8rem, 2.6vw, 2.2rem);
}

.training-hero__text p {
  color: rgba(243, 236, 225, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.training-hero__text p:last-child {
  margin-bottom: 0;
}

/* Pill CTA Buttons */
.training-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}

.training-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.92rem 1.95rem;
  border-radius: 999px;
  background: var(--amber);
  color: #0a0908 !important;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -6px rgba(242, 163, 60, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  text-decoration: none;
}

.training-hero__btn-primary:hover {
  transform: translateY(-2px);
  background: var(--amber-2);
  box-shadow: 0 14px 30px -6px rgba(242, 163, 60, 0.65);
}

.training-hero__btn-primary svg {
  transition: transform 0.3s var(--ease);
}

.training-hero__btn-primary:hover svg {
  transform: translateX(3px);
}

.training-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.88rem 1.85rem;
  border-radius: 999px;
  background: rgba(18, 15, 12, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(243, 236, 225, 0.25);
  color: #ffffff !important;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
  text-decoration: none;
}

.training-hero__btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 163, 60, 0.6);
  background: rgba(242, 163, 60, 0.09);
  color: var(--amber-2) !important;
}

.training-hero__btn-ghost svg {
  transition: transform 0.3s var(--ease);
}

.training-hero__btn-ghost:hover svg {
  transform: translateX(3px);
}

/* Tablet & Mobile responsive */
@media (max-width: 960px) {
  .training-hero-wrap {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 4rem;
  }
  .training-hero__content {
    max-width: 100%;
  }
  .training-hero__title-l1,
  .training-hero__title-l2 {
    white-space: normal;
  }
  .training-hero__backdrop {
    width: 100%;
  }
  .training-hero__backdrop-img {
    opacity: 0.38;
    object-position: 70% center;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 75%, transparent 100%);
  }
  .training-hero__backdrop-fade {
    background: 
      linear-gradient(to top, #090807 10%, rgba(9, 8, 7, 0.85) 55%, rgba(9, 8, 7, 0.5) 100%);
  }
}

/* Course Grid & Cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.2vw, 2.2rem);
  align-items: stretch;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease), background-color 0.4s ease;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 163, 60, 0.4);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(242, 163, 60, 0.12);
  background: #181512;
}
.course-card:hover::before {
  opacity: 1;
}
.course-card[hidden] {
  display: none !important;
}
.course-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.course-card__dept {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.course-card__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(242, 163, 60, 0.12);
  border: 1px solid rgba(242, 163, 60, 0.38);
  color: var(--amber-2);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.course-card__duration svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.course-card__title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.8rem;
  letter-spacing: -0.01em;
}
.course-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.tool-tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 238, 214, 0.05);
  border: 1px solid var(--line);
  color: rgba(243, 236, 225, 0.85);
  letter-spacing: 0.02em;
}
.course-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.4rem;
}
.course-card__syllabus {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.course-card__syllabus li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(243, 236, 225, 0.9);
  line-height: 1.4;
}
.course-card__syllabus li::before {
  content: "—";
  color: var(--amber);
  font-weight: bold;
}
.course-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.course-card__cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1120px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/* Academy Features / Studio Advantage */
.academy-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.academy-feat {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 2.5vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.academy-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 163, 60, 0.35);
}
.academy-feat__num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  opacity: 0.9;
}
.academy-feat h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin: 0;
  line-height: 1.2;
}
.academy-feat p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 1024px) {
  .academy-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .academy-features {
    grid-template-columns: 1fr;
  }
}

/* 4-Step Learning Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
  position: relative;
}
.roadmap-step {
  position: relative;
  padding: clamp(1.6rem, 2.2vw, 2.2rem);
  background: rgba(22, 19, 16, 0.6);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.roadmap-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(242, 163, 60, 0.12);
  border: 1px solid rgba(242, 163, 60, 0.35);
  color: var(--amber-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.roadmap-step h3 {
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}
.roadmap-step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick enrollment banner */
.enroll-banner {
  border-radius: var(--radius);
  background: radial-gradient(40rem 20rem at 100% 0%, rgba(242, 163, 60, 0.22), transparent),
              radial-gradient(35rem 25rem at 0% 100%, rgba(229, 112, 42, 0.16), transparent),
              var(--surface);
  border: 1px solid var(--line-2);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.enroll-banner h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 32ch;
  line-height: 1.05;
}
.enroll-banner h2 em {
  font-style: italic;
  color: var(--amber);
}
.enroll-banner p {
  max-width: 45ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.enroll-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.8rem;
}

/* ---------- Motion states ---------- */
/* Elements start hidden ONLY when JS + GSAP are running; failsafe in head script. */
.js [data-reveal],
.js [data-intro],
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
}
.js [data-split] {
  visibility: hidden;
}
.js [data-split].is-split {
  visibility: visible;
}
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split-word > span {
  display: inline-block;
  will-change: transform;
}
.reveal-fallback [data-reveal],
.reveal-fallback [data-intro],
.reveal-fallback [data-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-fallback [data-split] {
  visibility: visible !important;
}

/* Cross-document page transitions (progressive enhancement) */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.35s ease both vt-out;
}
::view-transition-new(root) {
  animation: 0.6s var(--ease) both vt-in;
}
@keyframes vt-out {
  to { opacity: 0; transform: translateY(-12px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(16px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .hero__grain,
  .page-hero__grain {
    animation: none;
  }
  .curtain {
    display: none;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__row {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee__set {
    flex-wrap: wrap;
    justify-content: center;
  }
  .marquee__set[aria-hidden="true"] {
    display: none;
  }
  .js [data-reveal],
  .js [data-intro],
  .js [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
  @view-transition {
    navigation: none;
  }
}

/* Print */
@media print {
  body::after,
  .nav,
  .menu,
  .hero__media,
  .curtain {
    display: none !important;
  }
}
