/* ==========================================================================
   Newcastle Personal Trainer — Design System
   Dark performance aesthetic · Electric lime accents · Space Grotesk / Inter
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #080b0e;
  --bg-2: #0c1014;
  --surface: #11161b;
  --surface-2: #161c22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7f4;
  --muted: #a3acb4;
  --dim: #6c757d;
  --lime: #c7ff35;
  --lime-600: #a9e016;
  --lime-glow: rgba(199, 255, 53, 0.35);
  --lime-soft: rgba(199, 255, 53, 0.08);
  --danger: #ff6b6b;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--lime); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 0.6em; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--lime); color: var(--bg); padding: 0.7rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--rev > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.3fr 1fr; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; box-shadow: 0 0 10px var(--lime-glow); }
.eyebrow--plain::before { display: none; }
.display {
  font-size: clamp(3rem, 11vw, 9.5rem); line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase; font-weight: 700;
}
.h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; }
.h2--caps { text-transform: uppercase; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.outline-text--lime { color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.text-glow { text-shadow: 0 0 40px var(--lime-glow); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-head--row > div { max-width: 700px; }
.index-num { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--dim); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--lime); --btn-fg: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0.85rem 1.5rem 0.85rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  box-shadow: 0 0 0 0 var(--lime-glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px var(--lime-glow), 0 0 0 4px rgba(199, 255, 53, 0.12); }
.btn:active { transform: translateY(0); }
.btn__arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--lime); transition: transform 0.35s var(--ease); flex: none; }
.btn__arrow svg { width: 14px; height: 14px; }
.btn:hover .btn__arrow { transform: translateX(3px) rotate(-45deg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--ghost .btn__arrow { background: var(--lime-soft); }
.btn--ghost:hover { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(199, 255, 53, 0.08); }
.btn--sm { min-height: 42px; padding: 0.55rem 0.8rem 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--sm .btn__arrow { width: 24px; height: 24px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s, gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--lime); border-color: var(--lime); gap: 0.8rem; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(8, 11, 14, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.01em; font-size: 1.02rem; }
.logo__text small { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); font-weight: 500; margin-top: 4px; text-transform: uppercase; }
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.8rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; transition: color 0.2s, background 0.2s;
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--text); }
.nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); transform: translateX(-50%); box-shadow: 0 0 8px var(--lime);
}
.nav__link svg { width: 10px; height: 10px; transition: transform 0.25s; }
.nav__item { position: relative; }
.nav__item--has-menu:hover .nav__link svg, .nav__item--has-menu.is-open .nav__link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 320px; padding: 0.6rem;
  background: rgba(17, 22, 27, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-menu:hover .dropdown, .nav__item--has-menu:focus-within .dropdown, .nav__item--has-menu.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 0.75rem 0.9rem; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.dropdown a:hover { background: var(--lime-soft); }
.dropdown strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.dropdown span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer; position: relative; z-index: 120;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; width: 70%; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--bg);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 90% 0%, rgba(199, 255, 53, 0.12), transparent 70%);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { list-style: none; margin: 0 0 2rem; padding: 0; position: relative; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(7) { transition-delay: 0.24s; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.mobile-menu__list a[aria-current="page"] { color: var(--lime); }
.mobile-menu__sub { list-style: none; padding: 0 0 1rem; margin: -0.25rem 0 0; display: grid; gap: 0.1rem; }
.mobile-menu__sub a { font-size: 1.05rem; font-weight: 500; color: var(--muted); padding: 0.45rem 0 0.45rem 1rem; border-left: 1px solid var(--line-strong); }
.mobile-menu__foot { margin-top: auto; position: relative; display: grid; gap: 1rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.94) 0%, rgba(8, 11, 14, 0.72) 42%, rgba(8, 11, 14, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 11, 14, 0) 45%),
    radial-gradient(50% 60% at 85% 20%, rgba(199, 255, 53, 0.12), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); opacity: 0.45; }
.hero__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1fr 340px; } }
.hero__title { margin: 0 0 1.5rem; font-size: clamp(3.4rem, 11vw, 8.2rem); }
.hero__title > span { display: block; }
.hero__title .line-2 { padding-left: clamp(0rem, 6vw, 6rem); }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #d2d8dc; max-width: 54ch; margin-bottom: 2rem; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hud {
  position: relative; padding: 1.4rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22, 28, 34, 0.75), rgba(12, 16, 20, 0.6));
  border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hud__label { white-space: nowrap; gap: 1rem; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); display: flex; justify-content: space-between; margin-bottom: 1rem; }
.hud__label .live { color: var(--lime); display: inline-flex; align-items: center; gap: 0.4rem; }
.hud__label .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hud__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.hud__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line-strong); font-size: 0.93rem; }
.hud__list li:last-child { border-bottom: 0; }
.hud__list span:first-child { color: var(--muted); }
.hud__list span:last-child { font-family: var(--font-display); font-weight: 600; text-align: right; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; display: none; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--lime); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@media (min-width: 1000px) and (min-height: 760px) { .hero__scroll { display: block; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 55% at 80% 10%, rgba(199, 255, 53, 0.1), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(199, 255, 53, 0.05), transparent 70%);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent); opacity: 0.5; }
.page-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.page-hero .lead { margin-bottom: 2rem; }
.page-hero--text-only .page-hero__grid { grid-template-columns: 1fr; max-width: 900px; }
.breadcrumbs { margin-bottom: 1.75rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.84rem; color: var(--dim); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs [aria-current] { color: var(--text); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding: 0; list-style: none; }

/* ---------- Media frame (corner brackets) ---------- */
.frame { position: relative; border-radius: var(--radius-lg); }
.frame__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--surface); }
.frame__img--wide { aspect-ratio: 4 / 3; }
.frame__img--land { aspect-ratio: 16 / 10; }
.frame__img img, .frame__img picture { width: 100%; height: 100%; object-fit: cover; }
.frame__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 11, 14, 0.55)); pointer-events: none; }
.frame::before, .frame::after { content: ""; position: absolute; width: 46px; height: 46px; border: 2px solid var(--lime); z-index: 2; pointer-events: none; filter: drop-shadow(0 0 8px var(--lime-glow)); }
.frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.frame::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.frame__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 3; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.9rem; border-radius: 999px; background: rgba(8, 11, 14, 0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
}
.frame__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.82rem; color: var(--muted); background: rgba(255, 255, 255, 0.02); }
.chip svg { width: 14px; height: 14px; color: var(--lime); }
.chip--lime { color: var(--lime); border-color: rgba(199, 255, 53, 0.35); background: var(--lime-soft); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.3rem; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: -0.02em; padding-inline: 1.6rem; white-space: nowrap; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(245, 247, 244, 0.5); }
.marquee__sep { width: 10px; height: 10px; background: var(--lime); transform: rotate(45deg); flex: none; box-shadow: 0 0 12px var(--lime-glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--surface), rgba(17, 22, 27, 0.6));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease), background 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(199, 255, 53, 0.1), transparent 45%);
}
.card:hover { border-color: rgba(199, 255, 53, 0.35); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--lime-soft); border: 1px solid rgba(199, 255, 53, 0.25); color: var(--lime); margin-bottom: 1.4rem; }
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.card__top .card__icon { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; }
.card--link::after { content: ""; position: absolute; inset: 0; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Service cards with image */
.service-card { padding: 0; min-height: 100%; }
.service-card__img { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); filter: saturate(0.9); }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface)); }
.service-card__body { padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); margin-top: -2.5rem; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }
.service-card__num { font-family: var(--font-display); color: var(--lime); font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: 0.6rem; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.45rem; }
.service-card li { display: flex; gap: 0.6rem; font-size: 0.93rem; color: var(--muted); }
.service-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.6em; background: var(--lime); transform: rotate(45deg); }

/* Programme cards (bento) */
.bento { display: grid; gap: clamp(1rem, 2vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1) { grid-column: span 4; } .bento > :nth-child(2) { grid-column: span 2; } .bento > :nth-child(3) { grid-column: span 2; } .bento > :nth-child(4) { grid-column: span 4; } }
.prog-card { position: relative; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--line); isolation: isolate; text-decoration: none; color: var(--text); transition: border-color 0.35s; }
.prog-card__img { position: absolute; inset: 0; z-index: -2; }
.prog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prog-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(8, 11, 14, 0.15) 0%, rgba(8, 11, 14, 0.6) 45%, rgba(8, 11, 14, 0.96) 100%); }
.prog-card:hover { border-color: rgba(199, 255, 53, 0.5); }
.prog-card:hover .prog-card__img img { transform: scale(1.05); }
.prog-card__kicker { position: absolute; top: clamp(1.5rem, 3vw, 2.2rem); left: clamp(1.5rem, 3vw, 2.2rem); right: clamp(1.5rem, 3vw, 2.2rem); display: flex; justify-content: space-between; align-items: center; }
.prog-card__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 11, 14, 0.6); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.prog-card__go svg { width: 16px; height: 16px; }
.prog-card:hover .prog-card__go { background: var(--lime); color: var(--bg); transform: rotate(-45deg); }
.prog-card h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.prog-card p { color: #c6cdd2; max-width: 46ch; margin: 0; font-size: 0.97rem; }

/* ---------- Benefits / stat strip ---------- */
.benefits { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
@media (min-width: 680px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { padding: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); position: relative; transition: background 0.35s; }
.benefit:hover { background: var(--surface); }
@media (min-width: 680px) { .benefit:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (min-width: 1100px) { .benefit { border-bottom: 0; border-right: 1px solid var(--line); } .benefit:last-child { border-right: 0; } }
.benefit__num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(199, 255, 53, 0.6); margin-bottom: 1.4rem; display: block; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.benefit p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Process / steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: step; overflow: hidden; }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.15em; color: var(--lime); margin-bottom: 2.2rem; }
.step::after { content: ""; position: absolute; top: 2.55rem; left: 3.6rem; right: 1.6rem; height: 1px; background: linear-gradient(90deg, rgba(199, 255, 53, 0.5), transparent); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Timeline (vertical) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--lime), rgba(199, 255, 53, 0.05)); }
.timeline li { position: relative; padding: 0 0 2rem 3.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); box-shadow: 0 0 12px var(--lime-glow); }
.timeline h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.timeline .when { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); display: block; margin-bottom: 0.3rem; }
.timeline p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.8rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7FF35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(199, 255, 53, 0.35);
}
.checks--cross li::before { background: rgba(255, 107, 107, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: rgba(255, 107, 107, 0.3); }
.checks--2 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .checks--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Panels ---------- */
.panel { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.panel--glow { background: radial-gradient(80% 80% at 100% 0%, rgba(199, 255, 53, 0.1), transparent 60%), var(--surface); border-color: rgba(199, 255, 53, 0.2); }
.panel h3 { font-size: 1.35rem; }
.who-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .who-grid { grid-template-columns: 1fr 1fr; } }

/* Philosophy quote */
.manifesto { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 2rem; }
.manifesto em { font-style: normal; color: var(--lime); }
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 600px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: var(--bg-2); padding: 1.5rem; }
.pillar strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; }
.pillar span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; display: block; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
.table th, .table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-family: var(--font-display); font-weight: 600; }
.table td { color: var(--muted); }
.table .hl { color: var(--lime); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s; }
.faq__item.is-open { border-color: rgba(199, 255, 53, 0.3); }
.faq__q { margin: 0; font-size: inherit; letter-spacing: 0; }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; text-align: left;
  padding: 1.25rem 1.4rem; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.02rem, 1.6vw, 1.15rem); font-weight: 600; line-height: 1.35; color: var(--text); border-radius: var(--radius);
}
.faq__icon { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--lime); border-color: var(--lime); color: var(--bg); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.4s var(--ease); }
.js .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; }
.faq__a > div { overflow: hidden; }
.faq__a-inner { padding: 0 1.4rem 1.4rem; color: var(--muted); max-width: 75ch; }
.faq__a-inner p:last-child { margin: 0; }
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* ---------- Blog cards ---------- */
.post-card { padding: 0; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.8rem; color: var(--dim); margin-bottom: 0.85rem; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.post-card__meta .cat { color: var(--lime); }
.post-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; line-height: 1.2; }
.post-card h3 a { text-decoration: none; }
.post-card p { font-size: 0.95rem; }
.post-card--feature { display: grid; }
@media (min-width: 900px) { .post-card--feature { grid-template-columns: 1.2fr 1fr; } .post-card--feature .post-card__img { aspect-ratio: auto; min-height: 100%; } .post-card--feature .post-card__body { padding: 2.5rem; justify-content: center; } .post-card--feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); } }

/* ---------- Article ---------- */
.article-hero { padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)) 0 2.5rem; position: relative; isolation: isolate; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, rgba(199, 255, 53, 0.09), transparent 70%); }
.article-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -0.035em; max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta svg { width: 15px; height: 15px; color: var(--lime); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; border: 1px solid var(--line); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(3rem, 6vw, 4.5rem) var(--section); }
@media (min-width: 1040px) { .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4.5rem; } }
.toc { align-self: start; }
@media (min-width: 1040px) { .toc { position: sticky; top: calc(var(--header-h) + 2rem); } }
.toc__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; background: var(--bg-2); }
.toc__title { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin: 0 0 0.8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color 0.2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 0.75rem; color: var(--dim); padding-top: 0.12em; }
.toc a:hover, .toc a.is-active { color: var(--text); }
.toc a.is-active::before { color: var(--lime); }
.toc__cta { margin-top: 1rem; }
.prose { max-width: 72ch; font-size: 1.085rem; color: #d6dbdf; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.6em 0 0.7em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 2em 0 0.6em; color: var(--text); }
.prose a { color: var(--lime); text-decoration: underline; text-decoration-color: rgba(199, 255, 53, 0.4); }
.prose a:hover { text-decoration-color: var(--lime); }
.prose strong { color: var(--text); }
.prose ul li, .prose ol li { margin-bottom: 0.5em; }
.prose ul li::marker { color: var(--lime); }
.prose ol li::marker { color: var(--lime); font-family: var(--font-display); font-weight: 700; }
.prose .table-wrap { margin: 1.8em 0; }
.callout { margin: 2em 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid rgba(199, 255, 53, 0.25); background: var(--lime-soft); }
.callout__title { font-family: var(--font-display); font-weight: 700; color: var(--lime); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--neutral { border-color: var(--line-strong); background: var(--surface); }
.callout--neutral .callout__title { color: var(--muted); }
.key-takeaways { margin: 0 0 2.5em; padding: 1.6rem 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); }
.key-takeaways h2 { font-size: 1.1rem !important; margin: 0 0 0.8rem !important; text-transform: uppercase; letter-spacing: 0.04em; }
.key-takeaways ul { margin: 0; }
.inline-cta { margin: 2.5em 0; padding: 1.8rem; border-radius: var(--radius-lg); background: radial-gradient(70% 120% at 100% 0%, rgba(199, 255, 53, 0.16), transparent 60%), var(--surface-2); border: 1px solid rgba(199, 255, 53, 0.2); }
.inline-cta h3 { margin-top: 0; font-size: 1.4rem; }
.inline-cta p { color: var(--muted); }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.author-box__mark { flex: none; width: 56px; height: 56px; }
.author-box p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.author-box strong { display: block; color: var(--text); font-family: var(--font-display); margin-bottom: 0.25rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 6vw, 5rem); border: 1px solid rgba(199, 255, 53, 0.25); background: var(--bg-2); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.32; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 100%, rgba(199, 255, 53, 0.28), transparent 60%), linear-gradient(90deg, rgba(8, 11, 14, 0.95) 20%, rgba(8, 11, 14, 0.55)); }
.cta-band__title { font-size: clamp(2.4rem, 7vw, 6rem); text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; max-width: 14ch; margin-bottom: 1.5rem; }
.cta-band p { max-width: 52ch; color: #cdd3d7; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band__ring { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(199, 255, 53, 0.25); z-index: -1; }
.cta-band__ring::after { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px dashed rgba(199, 255, 53, 0.2); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-assure { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.75rem; padding: 0; list-style: none; font-size: 0.9rem; color: var(--muted); }
.cta-assure li { display: inline-flex; align-items: center; gap: 0.5rem; }
.cta-assure li::before { content: ""; width: 6px; height: 6px; background: var(--lime); transform: rotate(45deg); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label, .field legend { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--lime); }
.field .hint { font-size: 0.82rem; color: var(--dim); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 0.9rem 1.05rem; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--text); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(199, 255, 53, 0.14); background: var(--surface); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7FF35' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.8rem; }
.select option { background: var(--surface); }
.textarea { min-height: 150px; resize: vertical; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.85rem; min-height: 0; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 0.15em; accent-color: var(--lime); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 14px; font-size: 0.95rem; }
.form-status.is-visible { display: block; }
.form-status--success { background: var(--lime-soft); border: 1px solid rgba(199, 255, 53, 0.4); color: var(--text); }
.form-status--error { background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.4); }
.form-status--info { background: var(--surface-2); border: 1px solid var(--line-strong); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.contact-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.3fr 0.9fr; gap: 3rem; } }
.contact-aside { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 0.2em; }
.contact-line strong { display: block; font-family: var(--font-display); }
.contact-line span, .contact-line a { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; background: linear-gradient(180deg, var(--bg), #05070a); }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--lime), transparent); box-shadow: 0 0 24px var(--lime); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; margin: 1.2rem 0 1.5rem; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #c3cace; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 15vw, 13.5rem); line-height: 0.8; letter-spacing: -0.06em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); white-space: nowrap; user-select: none; margin: 0 0 -0.08em; text-align: center; background: linear-gradient(180deg, rgba(199, 255, 53, 0.18), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--dim); }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: var(--dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* Mobile sticky CTA */
.sticky-cta { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; transform: translateY(150%); transition: transform 0.45s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -6px var(--lime-glow); }
@media (min-width: 1100px) { .sticky-cta { display: none; } }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line { display: block; overflow: hidden; }
.js .reveal-line > span { display: block; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .is-loaded .reveal-line > span, .js.is-loaded .reveal-line > span { transform: none; }

/* ---------- Misc utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(199, 255, 53, 0.4), transparent); border: 0; margin: 0; }
.notice { font-size: 0.85rem; color: var(--dim); }
.stack > * + * { margin-top: 1rem; }
.related { display: grid; gap: 1rem; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .related--3 { grid-template-columns: repeat(3, 1fr); } }
.mini-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease); }
.mini-card:hover { border-color: rgba(199, 255, 53, 0.4); transform: translateY(-3px); }
.mini-card__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); }
.mini-card__icon svg { width: 20px; height: 20px; }
.mini-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; }
.mini-card span { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.4; margin-top: 2px; }
.glow-orb { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(199, 255, 53, 0.12), transparent 65%); pointer-events: none; z-index: 0; filter: blur(10px); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-line > span { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .sticky-cta, .mobile-menu, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Small-screen safety ---------- */
@media (max-width: 919px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 959px) { .faq-layout, .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 999px) { .contact-layout, .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.faq, .faq__a > div { min-width: 0; }
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn-row > .btn { flex: 1 1 100%; }
}
.prose a, .contact-line a, .footer-col a { overflow-wrap: anywhere; }
@media (max-width: 999px) {
  .hero { padding-top: max(34vh, 250px); min-height: 0; }
  .hero__media { bottom: auto; height: max(72vh, 520px); }
  .hero__media img { object-position: 58% 18%; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 11, 14, 0.35) 0, rgba(8, 11, 14, 0.25) 22vh, rgba(8, 11, 14, 0.85) 48vh, var(--bg) max(72vh, 520px)), radial-gradient(60% 40% at 90% 10%, rgba(199, 255, 53, 0.12), transparent 70%); }
}
.hero__media picture, .prog-card__img picture, .cta-band__bg picture, .service-card__img picture, .post-card__img picture, .article-cover picture, .frame__img picture { width: 100%; height: 100%; }
.mobile-menu__list a svg { width: 22px; height: 22px; flex: none; color: var(--lime); }
.site-header { z-index: 120; } .mobile-menu { z-index: 110; }

/* ---------- Hero quote form ---------- */
.quote-card {
  position: relative; z-index: 2; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(24, 31, 38, 0.92), rgba(12, 16, 20, 0.94));
  border: 1px solid rgba(199, 255, 53, 0.28);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -30px var(--lime-glow);
}
.quote-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); }
.quote-card__kicker { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.9rem; }
.quote-card__kicker .live { color: var(--lime); display: inline-flex; align-items: center; gap: 0.45rem; }
.quote-card__kicker .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2s infinite; }
.quote-card__title { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -0.025em; margin-bottom: 0.35rem; text-transform: none; }
.quote-card__intro { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin-bottom: 1.2rem; }
.quote-card__legal { font-size: 0.78rem; color: var(--dim); margin: 0; line-height: 1.5; }
.quote-card__legal a { color: var(--muted); }
.form--compact { gap: 0.8rem; }
.form--compact .form__row { gap: 0.8rem; }
.form--compact .field { gap: 0.3rem; }
.form--compact .field label { font-size: 0.82rem; }
.form--compact .input, .form--compact .select { min-height: 48px; padding: 0.7rem 0.95rem; }
.form--compact .select { padding-right: 2.6rem; }
.textarea--sm { min-height: 84px; }
.form--compact .field__error:empty { display: none; }

/* Home hero with form */
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: 3.5rem; } }
.hero .quote-card { align-self: end; }

/* Inner page hero with form + photo backdrop */
.page-hero--form .page-hero__grid { align-items: start; }
@media (min-width: 960px) { .page-hero--form .page-hero__grid { grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(2.5rem, 5vw, 4.5rem); } }
.page-hero__bg { position: absolute; inset: 0 0 0 auto; width: min(68%, 1100px); z-index: -2; opacity: 0.4; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.page-hero__bg picture, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 45%); }
@media (max-width: 959px) { .page-hero__bg { width: 100%; height: 520px; opacity: 0.28; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); } }
.page-hero--contact .contact-aside { position: static; }

/* Article hero with form */
.article-hero__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1040px) { .article-hero__grid { grid-template-columns: minmax(0, 1fr) 410px; gap: 4rem; } }

/* Thank-you page */
.thanks-hero { min-height: 80vh; }
.thanks-badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--bg); margin-bottom: 2rem; box-shadow: 0 0 0 10px rgba(199, 255, 53, 0.12), 0 0 60px var(--lime-glow); }
.thanks-badge svg { width: 34px; height: 34px; stroke-width: 2.6; }
@media (min-width: 1100px) { .page-hero--contact .page-hero__grid { grid-template-columns: minmax(0, 1fr) 520px; } }
@media (max-width: 1099px) { .page-hero--contact .quote-card .form__row--2 { grid-template-columns: minmax(0, 1fr); } }
