/* =========================================================
   Friday Creative: homepage styles
   Tokens follow the Friday Creative Brand Guidelines v1 (Oct 2026).
   Glass surfaces follow the frost + translucency + lit edge + depth recipe.
   ========================================================= */

:root {
  /* Colour */
  --orange: #ff914d;
  --cream: #f6f4f1;
  --ink: #000000;
  --ink-muted: #5e5750;
  --orange-text: #a3420f;
  --white: #ffffff;
  --line: #e2ddd6;
  --line-strong: #8a8279;
  --night: #121110;
  --cream-deep: #ece8e2;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(18px) saturate(170%);
  --glass-shadow:
    0 18px 48px -18px rgba(18, 17, 16, 0.22),
    0 2px 6px -2px rgba(18, 17, 16, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(18, 17, 16, 0.05);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(40px, 6.1vw, 92px);
  --fs-h2: clamp(28px, 3.6vw, 48px);
  --fs-h3: 24px;
  --fs-body-lg: 18px;
  --fs-small: 14px;
  --fs-label: 12px;

  /* Space (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Shape */
  --radius-card: 16px;
  --radius-input: 6px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1280px;
  --gutter: var(--space-6);
  --header-h: 72px;
  --header-top: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 700ms;

  /* Layers */
  --z-preview: 50;
  --z-header: 100;
  --z-skip: 1000;
}

@media (max-width: 767px) {
  :root {
    --gutter: var(--space-4);
    --header-h: 60px;
    --header-top: 8px;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-6)); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
summary { cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--sm { width: 16px; height: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: var(--space-3); left: var(--space-3); z-index: var(--z-skip);
  padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--cream);
  border-radius: var(--radius-pill); font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Type helpers ---------- */
h2 { font-size: var(--fs-h2); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.label {
  font-size: var(--fs-label); line-height: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.body-lg { font-size: var(--fs-body-lg); line-height: 28px; }
.small { font-size: var(--fs-small); line-height: 20px; }
.muted { color: var(--ink-muted); }

.text-link {
  color: var(--orange-text); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-fast);
}
.text-link:hover { text-decoration-color: transparent; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-8); }
@media (max-width: 767px) { .section { padding-block: var(--space-7); } }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-6);
}
.section-head h2 { max-width: 20ch; margin-top: var(--space-3); }
.section-head__intro { margin-top: var(--space-4); max-width: 46ch; }
.section-head .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 0.35em; }
.section-head--stack { display: block; max-width: 720px; }
.section-head--stack h2 { margin-bottom: var(--space-4); }

/* =========================================================
   GLASS
   ========================================================= */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-card);
  box-shadow: var(--glass-shadow);
}
/* Lit edge: a 1px ring that is bright top-left and fades bottom-right */
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.25) 35%, rgba(255,255,255,0) 60%, rgba(255,255,255,.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass--chip { border-radius: var(--radius-pill); }
.glass--dark {
  background: rgba(18, 17, 16, 0.5);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
.glass--dark::before {
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, rgba(255,145,77,.4));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.9); }
  .glass--dark { background: rgba(18, 17, 16, 0.92); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass--dark { background: var(--night); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-5);
  font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-border); border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--orange); --btn-border: var(--orange); }
.btn--secondary { --btn-border: var(--ink); }
.btn--primary:hover, .btn--secondary:hover, .btn--dark:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-border: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-border: var(--ink); }
.btn--dark:hover { --btn-bg: #2b2825; --btn-border: #2b2825; }
.btn--ghost { --btn-border: transparent; padding-inline: var(--space-4); }
.btn--ghost:hover { --btn-bg: rgba(0,0,0,.05); }
.btn--light { --btn-bg: var(--cream); --btn-border: var(--cream); }
.btn--light:hover { --btn-bg: var(--white); --btn-border: var(--white); }
.btn--lg { min-height: 52px; padding-inline: var(--space-6); }
.btn--ghost.btn--lg { padding-inline: var(--space-5); }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center;
  padding: 2px var(--space-2); border-radius: var(--radius-pill);
  background: var(--ink); color: var(--cream);
  font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  vertical-align: middle;
}

.placeholder-tag {
  display: inline-flex; align-items: center;
  padding: 2px var(--space-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-pill);
  color: var(--ink-muted); background: rgba(255,255,255,.7);
  font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.placeholder-tag--dark { color: var(--cream); border-color: rgba(246,244,241,.5); background: transparent; }

.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags li {
  padding: 4px var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 13px; line-height: 20px; background: var(--white);
}

/* =========================================================
   HEADER: floating glass bar + mega menu
   ========================================================= */
.site-header {
  position: fixed; top: var(--header-top); left: 0; right: 0; z-index: var(--z-header);
  padding-inline: calc(var(--space-3) + 4px);
}
.site-header__bar {
  display: flex; align-items: center; gap: var(--space-5);
  height: var(--header-h);
  max-width: calc(var(--container) + var(--space-6));
  margin-inline: auto; padding: 0 var(--space-3) 0 var(--space-5);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .site-header__bar,
.site-header.is-open .site-header__bar { background: var(--glass-bg-strong); }
.site-header__logo { flex-shrink: 0; border-radius: 8px; }
.site-header__logo img { height: 52px; width: auto; }

.primary-nav { margin-inline: auto; }
.primary-nav__list { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 44px; padding: 0 var(--space-4);
  font-size: 15px; font-weight: 500; text-decoration: none; border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast);
}
.primary-nav__link:hover, .primary-nav__trigger[aria-expanded="true"] { background: rgba(255,255,255,.7); }
.primary-nav__trigger .icon { transition: transform var(--dur-base) var(--ease-out); }
.primary-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }

/* Mega menu: anchored to the glass bar */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(100% + var(--space-2));
  width: min(900px, calc(100vw - var(--gutter) * 2));
  transform: translateX(-50%);
}
.mega[hidden] { display: none; }
.mega__inner {
  display: grid; grid-template-columns: 280px 1fr;
  background: rgba(255,255,255,.96); border: 1px solid var(--white); border-radius: 24px;
  box-shadow: 0 30px 60px -24px rgba(18,17,16,.28);
  overflow: hidden;
  animation: mega-in var(--dur-base) var(--ease-out);
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega__rail { list-style: none; margin: 0; padding: var(--space-3); background: var(--cream); }
.mega__cat {
  width: 100%; display: flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-2) var(--space-4); border-radius: 12px;
  text-align: left; font-size: 15px; font-weight: 500;
  transition: background-color var(--dur-fast);
}
.mega__cat:hover { background: rgba(0,0,0,.04); }
.mega__cat.is-active { background: var(--white); font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.mega__panels { padding: var(--space-5) var(--space-6); }
.mega__panel { display: none; flex-direction: column; height: 100%; }
.mega__panel.is-active { display: flex; animation: fade-in var(--dur-base) var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } }
.mega__hub {
  display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start;
  font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  padding-block: var(--space-2);
}
.mega__hub .icon { transition: transform var(--dur-fast) var(--ease-out); }
.mega__hub:hover .icon { transform: translateX(4px); }
.mega__links {
  list-style: none; margin: var(--space-3) 0 var(--space-5); padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5);
}
.mega__links a {
  display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink-muted); font-size: 15px;
  transition: color var(--dur-fast);
}
.mega__links a:hover { color: var(--ink); }
.mega__cta {
  margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5); border-radius: 14px; background: var(--cream);
  text-decoration: none; font-size: 15px;
}
.mega__cta span { font-weight: 600; color: var(--orange-text); text-decoration: underline; text-underline-offset: 4px; }

/* Menu toggle + mobile nav */
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); place-items: center; background: var(--ink); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--cream); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: calc(var(--header-top) + var(--header-h) + var(--space-2)) var(--space-3) var(--space-3);
  background: rgba(255,255,255,.97); border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(18,17,16,.3);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-4) var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  animation: mega-in var(--dur-base) var(--ease-out);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav > a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-nav summary { list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-weight: 400; font-size: 26px; transition: transform var(--dur-base) var(--ease-out); }
.mobile-nav details[open] summary::after { transform: rotate(45deg); }
.mobile-nav details ul { list-style: none; margin: 0; padding: var(--space-2) 0 var(--space-3); }
.mobile-nav details a { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; text-decoration: none; color: var(--ink-muted); font-size: 17px; }
.mobile-nav__footer { display: grid; gap: var(--space-3); justify-items: center; }
.mobile-nav__email { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }

@media (max-width: 1023px) {
  .primary-nav, .site-header__cta { display: none; }
  .menu-toggle { display: grid; }
  .site-header__bar { justify-content: space-between; padding-left: var(--space-4); padding-right: var(--space-2); }
}
@media (max-width: 767px) {
  .site-header { padding-inline: var(--space-2); }
  .site-header__logo img { height: 42px; }
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero { padding: var(--space-3); }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(760px, calc(100svh - var(--space-3) * 2));
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6);
  background: var(--white); border-radius: 24px;
  padding-top: calc(var(--header-h) + var(--space-8));
}
.hero__sun {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.hero__sun.is-ready { opacity: 1; }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: center; }
.hero__content { position: relative; z-index: 2; }

/* Animated headline: "Get" stays put, the word in the orange pill cycles */
.hero__title { font-weight: 600; font-size: var(--fs-display); line-height: 1; letter-spacing: -0.045em; }
.cycler { display: none; }
.cycler-static { display: flex; flex-direction: column; gap: 0.06em; }
.cycler-static span:last-child { align-self: flex-start; background: var(--orange); border-radius: 0.16em; padding: 0 0.14em 0.06em; margin-left: -0.08em; }
.js .cycler--on { display: flex; flex-wrap: wrap; align-items: center; gap: 0.22em; }
.js .cycler--on ~ .cycler-static { display: none; }
.cycler__pill {
  position: relative; display: inline-grid; overflow: hidden;
  height: 1.18em; padding-inline: 0.14em; margin-left: -0.04em;
  background: var(--orange); border-radius: 0.16em;
  transition: width 650ms var(--ease-out);
}
.cycler__word {
  grid-area: 1 / 1; align-self: center; white-space: nowrap; padding-bottom: 0.04em;
  transform: translateY(105%); opacity: 0;
  transition: transform 650ms var(--ease-out), opacity 400ms var(--ease-out);
}
.cycler__word.is-active { transform: none; opacity: 1; }
.cycler__word.is-leaving { transform: translateY(-105%); opacity: 0; }

.hero__lead { max-width: 36ch; margin-top: var(--space-6); font-size: 20px; line-height: 30px; }
.hero__keyword { margin-top: var(--space-4); color: var(--ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__trust .icon { color: var(--ink); stroke-width: 2; }

/* Glass work stack */
.stack {
  position: relative; z-index: 1; height: 540px;
  --px: 0; --py: 0;
}
.stack-card {
  position: absolute; left: 50%; top: 50%; width: min(300px, 70%);
  margin: 0; padding: 10px 10px 0; border-radius: 22px;
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r))
             translate(calc(var(--px) * var(--depth) * 1px), calc(var(--py) * var(--depth) * 1px));
  transition: transform 900ms var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.stack-card--1 { --x: -46px; --y: 56px;  --r: -7deg; --depth: 18; z-index: 3; }
.stack-card--2 { --x: 70px;  --y: -6px;  --r: 6deg;  --depth: 11; z-index: 2; }
.stack-card--3 { --x: 0px;   --y: -78px; --r: -1.5deg; --depth: 6; z-index: 1; }
.stack:hover .stack-card--1 { --x: -110px; --y: 76px; --r: -11deg; }
.stack:hover .stack-card--2 { --x: 120px;  --y: 10px; --r: 10deg; }
.stack:hover .stack-card--3 { --y: -110px; }
.stack-card__media { aspect-ratio: 4 / 4.4; border-radius: 13px; overflow: hidden; }
.stack-card figcaption {
  display: flex; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-3) var(--space-2); font-size: 13px; line-height: 18px; font-weight: 600;
}
.stack-card figcaption .muted { font-weight: 500; }
.js .stack-card { opacity: 0; }
.js .stack.is-in .stack-card { opacity: 1; transition: transform 900ms var(--ease-out), opacity 700ms var(--ease-out); }
.js .stack.is-in .stack-card--2 { transition-delay: 120ms; }
.js .stack.is-in .stack-card--1 { transition-delay: 240ms; }

.hero__meta {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding-bottom: var(--space-5);
}
.meta-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.meta-chip time { color: var(--ink-muted); }
.meta-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,145,77,.6); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 8px rgba(255,145,77,0); } }
.meta-chip--btn { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }
.meta-chip--btn:hover { background: var(--glass-bg-strong); }
.meta-chip--btn.is-copied { background: var(--ink); color: var(--cream); border-color: var(--ink); }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stack { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 767px) {
  .hero { padding: var(--space-2); }
  .hero__frame { min-height: 0; padding-top: calc(var(--header-h) + var(--space-7)); border-radius: 20px; }
  .hero__lead { font-size: 18px; line-height: 28px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stack { height: 380px; }
  .stack-card { width: 62%; }
  .stack-card--1 { --x: -30px; }
  .stack-card--2 { --x: 44px; }
  .hero__meta { flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   2. MARQUEE
   ========================================================= */
.marquee { position: relative; overflow: hidden; padding-block: var(--space-7); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  padding-inline: var(--space-6);
  font-size: clamp(48px, 7.5vw, 112px); line-height: 1.05; font-weight: 600; letter-spacing: -0.05em; white-space: nowrap;
}
/* four-point star separator */
.marquee__group i {
  width: clamp(22px, 2.4vw, 34px); aspect-ratio: 1; flex-shrink: 0; background: var(--orange);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__toggle {
  position: absolute; right: var(--gutter); bottom: var(--space-3);
  width: 44px; height: 44px; display: grid; place-items: center;
}
.marquee__icon-play { display: none; }
.marquee.is-paused .marquee__icon-play { display: block; }
.marquee.is-paused .marquee__icon-pause { display: none; }

/* =========================================================
   PLACEHOLDER ART (swap for real images)
   ========================================================= */
/* Website (generic: browser window and phone) */
.art-web { position: relative; background: var(--cream-deep); overflow: hidden; }
.art-web__window {
  position: absolute; left: 8%; top: 12%; width: 72%; height: 72%; padding: 5%;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 8% 6%;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.art-web__bar { grid-column: 1 / -1; display: flex; gap: 5px; }
.art-web__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.art-web__bar i:first-child { background: var(--orange); }
.art-web__text { display: grid; align-content: center; gap: 8px; }
.art-web__text b { height: 10px; border-radius: 5px; background: var(--ink); }
.art-web__text b:nth-child(2) { width: 70%; }
.art-web__text em { width: 50%; height: 14px; margin-top: 6px; border-radius: 99px; background: var(--orange); }
.art-web__img { position: relative; border-radius: 8px; background: var(--cream-deep); }
.art-web__img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); }
.art-web__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.art-web__cards i { height: 22px; border-radius: 6px; background: var(--cream); }
.art-web__phone {
  position: absolute; right: 7%; bottom: 9%; width: 22%; aspect-ratio: 9 / 17; padding: 8px;
  display: grid; align-content: start; gap: 6px; background: var(--night); border-radius: 14px;
}
.art-web__phone span { aspect-ratio: 1; border-radius: 6px; background: var(--cream-deep); }
.art-web__phone b { height: 5px; border-radius: 5px; background: var(--cream); }
.art-web__phone b:nth-of-type(2) { width: 65%; }
.art-web__phone em { width: 60%; height: 9px; margin-top: 2px; border-radius: 99px; background: var(--orange); }

/* Brand board (generic: logo, type, colours, business card) */
.art-brand { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6%; padding: 9%; background: var(--cream-deep); }
.art-brand > span { display: grid; place-items: center; border-radius: 12px; background: var(--white); }
.art-brand__logo i { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.art-brand__type { font-size: clamp(28px, 3.6vw, 56px); font-weight: 600; letter-spacing: -0.04em; }
.art-brand__swatches { grid-template-columns: 1fr 1fr; gap: 10%; padding: 18%; }
.art-brand__swatches i { width: 100%; aspect-ratio: 1; border-radius: 50%; }
.art-brand__swatches i:nth-child(1) { background: var(--orange); }
.art-brand__swatches i:nth-child(2) { background: var(--night); }
.art-brand__swatches i:nth-child(3) { background: var(--cream); }
.art-brand__swatches i:nth-child(4) { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.art-brand > .art-brand__card { align-content: center; justify-items: start; gap: 8px; padding: 0 14%; background: var(--night); }
.art-brand__card i { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.art-brand__card b { width: 80%; height: 5px; border-radius: 5px; background: var(--cream); }
.art-brand__card b:last-child { width: 50%; }

/* Brand guideline spread */
.art-guidelines { position: relative; background: var(--white); display: grid; align-content: center; gap: 10%; padding: 12%; }
.art-guidelines__title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.04em; }
.art-guidelines__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.art-guidelines__swatches i { aspect-ratio: 1; border-radius: 50%; }
.art-guidelines__swatches i:nth-child(1) { background: #ff914d; }
.art-guidelines__swatches i:nth-child(2) { background: #2f3b2f; }
.art-guidelines__swatches i:nth-child(3) { background: #e9e3d8; }
.art-guidelines__swatches i:nth-child(4) { background: #121110; }
.art-guidelines__lines { display: grid; gap: 7px; }
.art-guidelines__lines i { height: 5px; border-radius: 5px; background: var(--line); }
.art-guidelines__lines i:nth-child(2) { width: 80%; }
.art-guidelines__lines i:nth-child(3) { width: 55%; }

/* Search results */
.art-serp { background: var(--white); display: grid; align-content: center; gap: 12px; padding: 12%; }
.art-serp i { display: block; height: 30px; border-radius: 8px; background: var(--cream-deep); }
.art-serp i.is-you { height: 44px; background: var(--white); box-shadow: 0 0 0 2px var(--ink); position: relative; }
.art-serp i.is-you::after { content: "Your business"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; font-style: normal; }

/* Search ad */
.art-ads { background: var(--cream); display: grid; align-content: center; gap: 10px; padding: 12%; }
.art-ads span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.art-ads b { font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
.art-ads i { height: 6px; border-radius: 6px; background: var(--line); }
.art-ads i:last-child { width: 60%; }

/* Social ad (generic: a sponsored post in a feed) */
.art-social { position: relative; background: var(--orange); overflow: hidden; }
.art-social__post {
  position: absolute; left: 50%; top: 10%; width: 54%; padding: 5%;
  display: grid; gap: 8px; background: var(--white); border-radius: 16px; transform: translateX(-50%) rotate(-4deg);
}
.art-social__head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; }
.art-social__head i { grid-row: span 2; width: 22px; aspect-ratio: 1; border-radius: 50%; background: var(--night); }
.art-social__head b { width: 60%; height: 6px; border-radius: 6px; background: var(--ink); }
.art-social__head em { font-size: 9px; font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.art-social__media { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--cream-deep); }
.art-social__media::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); }
.art-social__actions { display: flex; gap: 8px; }
.art-social__actions svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-social__cta { padding: 5px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 600; text-align: center; }
.art-social__like { position: absolute; right: 9%; bottom: 12%; display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; background: var(--white); }
.art-social__like svg { width: 20px; height: 20px; fill: var(--orange-text); }

/* AI answer */
.art-ai { background: var(--night); display: grid; align-content: center; gap: 12px; padding: 10%; }
.art-ai__q { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #2b2825; color: var(--cream); font-size: 13px; line-height: 18px; }
.art-ai__a { display: grid; gap: 8px; padding: 14px; border-radius: 14px 14px 14px 4px; background: var(--cream); }
.art-ai__a i { height: 6px; border-radius: 6px; background: var(--line); }
.art-ai__a b { justify-self: start; padding: 2px 8px; border-radius: 6px; background: var(--orange); font-size: 13px; }

/* Empty slot */
.art-empty { position: relative; display: grid; place-items: center; background: var(--cream-deep); border: 1px dashed var(--line-strong); }
.art-empty--ink { background: var(--night); border-color: rgba(246,244,241,.3); }
.art-empty .placeholder-tag { position: absolute; top: var(--space-4); left: var(--space-4); }
.art-empty__label { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; color: var(--line-strong); }
.art-empty--ink .art-empty__label { color: rgba(246,244,241,.5); }

/* =========================================================
   3. WORK
   ========================================================= */
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-5); }
.work-card--offset { margin-top: var(--space-9); }
.work-card a { display: block; text-decoration: none; border-radius: var(--radius-card); }
.work-card__art { aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; transition: transform var(--dur-slow) var(--ease-out); }
.work-card a:hover .work-card__art { transform: scale(0.985); }
.work-card__body { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); padding-top: var(--space-5); }
.work-card__num { font-size: 14px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.work-card__body h3 { font-size: 22px; line-height: 30px; }
.work-card__body .tags { grid-column: 2; margin-top: var(--space-2); }
.work__foot { display: flex; justify-content: center; margin-top: var(--space-8); }
@media (max-width: 767px) {
  .work__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .work-card--offset { margin-top: 0; }
  .work__foot { margin-top: var(--space-6); }
}

/* =========================================================
   4. SERVICES: numbered rows + hover preview
   ========================================================= */
.services { position: relative; background: var(--white); border-radius: 24px; margin-inline: var(--space-3); }
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr) 48px;
  grid-template-areas: "num name copy arrow" "num name tags arrow";
  gap: var(--space-2) var(--space-5); align-items: start;
  padding: var(--space-6) var(--space-3);
  text-decoration: none; border-radius: var(--radius-card);
  transition: background-color var(--dur-base) var(--ease-out);
}
.svc__num { grid-area: num; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.svc__name {
  grid-area: name; display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em;
  transition: transform var(--dur-base) var(--ease-out);
}
.svc__copy { grid-area: copy; color: var(--ink-muted); font-size: 17px; line-height: 27px; max-width: 46ch; }
.svc__tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.svc__tags span { padding: 4px var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13px; line-height: 20px; }
.svc__arrow {
  grid-area: arrow; justify-self: end; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--ink);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.svc:hover { background: var(--cream); }
.svc:hover .svc__name { transform: translateX(8px); }
.svc:hover .svc__arrow { background: var(--ink); color: var(--cream); transform: rotate(45deg); }

.startup-callout {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-6); padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-pill); background: var(--cream); text-decoration: none; font-size: 17px; line-height: 26px;
  transition: background-color var(--dur-base) var(--ease-out);
}
.startup-callout:hover { background: var(--cream-deep); }
.startup-callout > span:nth-child(2) { flex: 1; }
.startup-callout__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--night); display: grid; place-items: center; overflow: hidden; }
.startup-callout__icon img { width: 30px; }
.startup-callout > .icon { transition: transform var(--dur-fast) var(--ease-out); }
.startup-callout:hover > .icon { transform: translateX(4px); }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: var(--z-preview);
  width: 260px; padding: 8px; border-radius: 20px; pointer-events: none;
  opacity: 0; transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0) scale(0.85) rotate(-4deg);
  transition: opacity var(--dur-base) var(--ease-out), transform 120ms linear;
}
.svc-preview.is-visible { opacity: 1; transform: translate3d(var(--sx, 0px), var(--sy, 0px), 0) scale(1) rotate(-4deg); }
.svc-preview__inner { position: relative; aspect-ratio: 4 / 4.6; border-radius: 13px; overflow: hidden; }
.svc-preview__art { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.svc-preview__art.is-active { opacity: 1; }

@media (max-width: 1023px) {
  .services { margin-inline: var(--space-2); }
  .svc { grid-template-columns: 40px minmax(0, 1fr) 44px; grid-template-areas: "num name arrow" "num copy arrow" "num tags arrow"; padding: var(--space-5) var(--space-2); }
  .svc__arrow { width: 44px; height: 44px; }
  .svc-preview { display: none; }
}
@media (max-width: 767px) {
  .startup-callout { border-radius: var(--radius-card); align-items: flex-start; }
}

/* =========================================================
   5. PROCESS
   ========================================================= */
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.step {
  display: grid; align-content: start; gap: var(--space-4);
  padding: var(--space-6) var(--space-5) var(--space-6);
  background: var(--white); border-radius: 24px; border: 1px solid var(--line);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
.step__num { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; color: var(--line-strong); font-variant-numeric: tabular-nums; }
.step__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.step h3 { font-size: 32px; line-height: 1.1; letter-spacing: -0.035em; }
.step p { color: var(--ink-muted); font-size: 16px; line-height: 26px; }
@media (max-width: 1023px) { .process__steps { grid-template-columns: 1fr; max-width: 640px; } }

/* =========================================================
   6. WAYS TO WORK
   ========================================================= */
.ways { background: var(--white); border-radius: 24px; margin-inline: var(--space-3); }
.ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: var(--space-5);
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--cream); border-radius: 24px; border: 1px solid var(--line);
}
.plan__head { display: grid; gap: var(--space-3); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.plan__head h3 { font-size: 36px; line-height: 1.05; letter-spacing: -0.04em; }
.plan__best { display: grid; gap: var(--space-1); font-size: 17px; line-height: 26px; font-weight: 500; }
.plan__best .label { color: var(--ink-muted); }
.plan__list { display: grid; gap: var(--space-3); flex: 1; align-content: start; }
.plan__list li { display: flex; gap: var(--space-3); line-height: 24px; }
.plan__list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f4f1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan--featured { background: var(--night); color: var(--cream); border-color: var(--night); }
.plan--featured .plan__head { border-color: rgba(246,244,241,.16); }
.plan--featured .plan__best .label { color: #b9b1a7; }
.plan--featured .plan__list li::before { background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.plan--featured :focus-visible { outline-color: var(--orange); }
.ways__note { margin-top: var(--space-6); text-align: center; font-size: 17px; }
@media (max-width: 1023px) {
  .ways { margin-inline: var(--space-2); }
  .ways__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* =========================================================
   7. WHY FRIDAY
   ========================================================= */
.why { overflow: hidden; }
.why__statement {
  max-width: 22ch;
  font-size: clamp(36px, 5.6vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em;
}
.why__statement .w { color: #cdc6bd; transition: color 300ms linear; }
.why__statement .w.is-on { color: var(--ink); }

.why__stage { position: relative; isolation: isolate; margin-top: var(--space-8); padding-block: var(--space-7); }
.why__sun {
  position: absolute; z-index: -1; right: -8%; top: 50%; width: min(860px, 72vw);
  transform: translateY(-50%); animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-8); align-items: center; }
.why__intro { display: grid; gap: var(--space-5); align-content: start; }
.why__intro h2 { max-width: 14ch; }
.why__intro p { max-width: 44ch; }
.why__reasons { display: grid; gap: var(--space-4); }
.reason {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-5);
  padding: var(--space-5) var(--space-6); border-radius: 24px;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}
.reason:hover { transform: translateX(-6px); background: var(--glass-bg-strong); }
.reason__num { grid-row: span 2; font-size: 14px; font-weight: 600; padding-top: 6px; font-variant-numeric: tabular-nums; }
.reason h3 { font-size: 22px; line-height: 30px; }
.reason p { color: #3d3833; }
.why__honesty {
  display: grid; gap: var(--space-3); max-width: 760px; margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6); border-left: 3px solid var(--orange);
  font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em;
}
.why__honesty .label { color: var(--ink-muted); }
@media (max-width: 1023px) {
  .why__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .why__sun { right: -30%; top: auto; bottom: -10%; width: 110vw; transform: none; animation: none; }
}
@media (max-width: 767px) {
  .reason { padding: var(--space-5); grid-template-columns: 1fr; }
  .reason__num { grid-row: auto; padding-top: 0; }
  .why__honesty { padding: var(--space-4) var(--space-5); font-size: 18px; line-height: 28px; }
}

/* =========================================================
   8. GUIDES
   ========================================================= */
.guides { border-top: 1px solid var(--line); }
.guides__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.guide a, .guide__inner {
  display: flex; flex-direction: column; gap: var(--space-4); height: 100%;
  padding: var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: 24px; text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.guide a:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.guide__tag { align-self: flex-start; padding: 4px var(--space-3); border-radius: var(--radius-pill); background: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.guide h3 { font-size: 22px; line-height: 30px; margin-top: var(--space-5); }
.guide__more { margin-top: auto; padding-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 15px; }
.guide a:hover .guide__more .icon { transform: translateX(4px); }
.guide__more .icon { transition: transform var(--dur-fast) var(--ease-out); }
.guide__inner .guide__more { color: var(--ink-muted); font-weight: 500; }
@media (max-width: 1023px) { .guides__grid { grid-template-columns: 1fr; max-width: 640px; } }

/* =========================================================
   9. FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); }
.faq__grid h2 { margin-block: var(--space-3) var(--space-4); max-width: 14ch; }
.faq__grid > div:first-child p { max-width: 36ch; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  min-height: 72px; padding-block: var(--space-4);
  font-size: 19px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--ink); transition: background-color var(--dur-fast), transform var(--dur-base) var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item summary:hover .faq__icon { background: var(--white); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--cream); }
.faq__item p { max-width: 62ch; padding-bottom: var(--space-5); padding-right: var(--space-7); color: var(--ink-muted); font-size: 17px; line-height: 28px; }
.faq__item[open] p { animation: faq-open var(--dur-base) var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 1023px) {
  .faq__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .faq__item p { padding-right: 0; }
}

/* =========================================================
   10. CLOSING CTA
   ========================================================= */
.cta { padding-block: var(--space-6) var(--space-8); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: var(--space-8) var(--space-7);
  background: var(--night); color: var(--cream); border-radius: 28px;
}
.cta__sun {
  position: absolute; z-index: -1; width: min(820px, 66%); right: 2%; top: 50%;
  transform: translateY(-50%); animation: spin 90s linear infinite;
}
.cta__content { max-width: 620px; display: grid; gap: var(--space-5); padding: var(--space-7) var(--space-6); border-radius: 24px; }
.cta__content .label { color: var(--orange); }
.cta__content h2 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.cta__content .body-lg { color: #e4ded6; max-width: 44ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }
.cta__micro { color: #b9b1a7; }
.cta .btn--primary:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-border: var(--cream); }
.cta :focus-visible { outline-color: var(--orange); }
@media (max-width: 767px) {
  .cta { padding-bottom: var(--space-7); }
  .cta__panel { padding: var(--space-3) var(--space-3) 240px; border-radius: 24px; }
  .cta__content { padding: var(--space-6) var(--space-5); }
  .cta__sun { width: 440px; right: auto; left: 50%; top: auto; bottom: -200px; transform: translateX(-50%); animation: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-top: var(--space-7); border-top: 1px solid var(--line); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-8); }
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.site-footer__brand img { width: 200px; margin-left: -10px; }
.site-footer__tagline { font-weight: 600; font-size: 17px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.site-footer__nav h2 { color: var(--ink-muted); margin-bottom: var(--space-3); }
.site-footer__nav ul { display: grid; gap: var(--space-1); }
.site-footer__nav a:not(.text-link) { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; font-size: 15px; }
.site-footer__nav a:not(.text-link):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__nav .text-link { display: inline-flex; min-height: 36px; align-items: center; font-size: 15px; }
.site-footer__nav li > span { display: inline-flex; min-height: 36px; align-items: center; font-size: 15px; }
.socials { display: flex !important; gap: var(--space-2) !important; margin-top: var(--space-4); }
.socials a { width: 44px; height: 44px; display: grid !important; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color var(--dur-fast), color var(--dur-fast); }
.socials a:hover { background: var(--ink); color: var(--cream); text-decoration: none !important; }
.site-footer__giant {
  display: flex; flex-wrap: wrap; column-gap: 0.25em;
  margin-block: var(--space-8) var(--space-5);
  font-size: clamp(48px, 7.4vw, 112px); line-height: 0.95; font-weight: 600; letter-spacing: -0.055em;
}
.site-footer__giant span:last-child { color: var(--orange-text); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap;
  padding-block: var(--space-5) var(--space-6); border-top: 1px solid var(--line);
}
.site-footer__bottom > p { max-width: 60ch; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; }
.site-footer__legal a { min-height: 36px; display: inline-flex; align-items: center; }
@media (max-width: 1023px) { .site-footer__top { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 767px) {
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .site-footer__nav > div:last-child { grid-column: 1 / -1; }
  .site-footer__giant { font-size: 48px; }
}

/* =========================================================
   REVEAL + REDUCED MOTION
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .stack-card { opacity: 1; }
  .marquee__track { animation: none; }
  .marquee__toggle { display: none; }
  .why__statement .w { color: var(--ink); }
}

/* =========================================================
   HERO v3: clean, centred (Orionix layout)
   ========================================================= */
.hero__frame { padding-top: calc(var(--header-h) + var(--space-8)); justify-content: space-between; }
.hero__content { text-align: center; }
.hero__title { display: flex; flex-direction: column; align-items: center; font-size: clamp(44px, 6.6vw, 104px); }
.js .cycler--on { justify-content: center; }
.cycler__pill { background: var(--cream-deep); }
.cycler-static { align-items: center; }
.cycler-static span:last-child { align-self: center; background: var(--cream-deep); }
.hero__meta { display: grid; grid-template-columns: 1fr auto 1fr; }
.hero__meta > :first-child { justify-self: start; }
.hero__meta > button { justify-self: end; }
.hero__tagline { text-align: center; color: var(--ink-muted); font-size: 16px; line-height: 24px; }

.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: end;
  padding-block: var(--space-8) var(--space-6);
}
.intro__lead { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; font-weight: 600; letter-spacing: -0.03em; }
.intro__side { display: grid; gap: var(--space-4); }
.intro .hero__actions { margin-top: 0; }
.intro .hero__trust { margin-top: 0; }

@media (max-width: 767px) {
  .hero__frame { min-height: 640px; padding-top: calc(var(--header-h) + var(--space-8)); }
  .hero__meta { grid-template-columns: 1fr; justify-items: center; }
  .hero__meta > * { justify-self: center !important; }
  .hero__tagline { display: none; }
  .intro { grid-template-columns: 1fr; gap: var(--space-5); padding-block: var(--space-7) var(--space-5); }
}

/* Let each word keep its own width so the pill can resize to fit it */
.cycler__word { justify-self: center; }
.cycler__pill { grid-template-columns: 1fr; justify-content: center; }

/* New horizontal logo (Inter wordmark) */
.site-header__logo img { height: 34px; width: auto; }
.site-header__logo { padding-left: var(--space-2); }
.site-footer__brand img { width: 260px; margin-left: 0; }
@media (max-width: 767px) { .site-header__logo img { height: 26px; } }
/* Two work cards: keep the offset, centre the CTA */
.work__grid { align-items: start; }

/* =========================================================
   PHASE 1 INNER PAGES
   ========================================================= */
/* Small dropdowns (Solutions, Resources) */
.has-mega--sm { position: relative; }
.mega--sm { width: 320px; }
.mega__inner--sm { display: grid; grid-template-columns: 1fr; padding: var(--space-5); gap: var(--space-2); }
.mega__links--single { grid-template-columns: 1fr; margin-block: var(--space-2) var(--space-4); }
.primary-nav__link[aria-current="page"] { background: rgba(255,255,255,.7); }

.ph { background: #fff2b8; color: #5c4400; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.breadcrumb { display: flex; gap: var(--space-2); flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); margin-bottom: var(--space-5); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.sp-hero, .book, .thanks { padding: var(--space-3); }
.sp-hero__frame, .book__frame, .thanks__frame {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border-radius: 24px;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-8);
}
.sp-hero__sun {
  position: absolute; z-index: -1; width: min(760px, 58vw); right: -10%; top: 50%;
  transform: translateY(-46%); animation: spin 140s linear infinite;
}
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: center; }
.sp-hero h1 { display: grid; gap: var(--space-4); font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.sp-hero__eyebrow { color: var(--ink-muted); letter-spacing: .08em; }
.sp-hero__sub { max-width: 46ch; margin-top: var(--space-5); font-size: 20px; line-height: 30px; }
.sp-hero .hero__actions { margin-top: var(--space-6); }
.sp-hero__visual { position: relative; display: grid; place-items: center; }
.sp-hero__card { width: min(380px, 100%); padding: 10px; border-radius: 24px; transform: rotate(-4deg); transition: transform var(--dur-slow) var(--ease-out); }
.sp-hero__card:hover { transform: rotate(-1deg) translateY(-6px); }
.sp-hero__art { aspect-ratio: 4 / 4.4; border-radius: 15px; overflow: hidden; }
.sp-hero__art > div { width: 100%; height: 100%; }

/* Intro + problem */
.sp-intro { padding-block: var(--space-8) var(--space-6); }
.sp-intro__text { max-width: 30ch; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; max-width: 34ch; }
.sp-problem__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; padding-block: var(--space-6); border-block: 1px solid var(--line); }
.sp-problem__grid h2 { max-width: 16ch; }

/* Service cards */
.sp-cards { background: var(--white); border-radius: 24px; margin-inline: var(--space-3); }
.sp-cards__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.sp-card { display: grid; align-content: start; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--line); border-radius: 20px; background: var(--cream); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.sp-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.sp-card__num { font-size: 13px; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.sp-card h3 { font-size: 22px; line-height: 28px; }
.sp-card h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur-base) var(--ease-out); }
.sp-card h3 a:hover { background-size: 100% 1.5px; }
.sp-card p { color: var(--ink-muted); }
.sp-cards__note { margin-top: var(--space-5); font-size: 17px; }

/* Split text sections */
.sp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; }
.sp-split h2 { max-width: 18ch; }
.sp-split .body-lg + .related-links, .sp-split .muted + .related-links { margin-top: var(--space-5); }
.sp-list .sp-split > div > .muted { margin-top: var(--space-4); }
.related-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.related-links .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.check-list { display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 17px; line-height: 26px; }
.check-list .icon { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--cream); stroke-width: 2.5; }
.sp-text + .sp-text .sp-split { padding-top: var(--space-6); border-top: 1px solid var(--line); }

.sp-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.sp-duo__item { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6); border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.sp-duo__item h2 { font-size: clamp(26px, 2.6vw, 36px); }

/* Process steps */
.sp-steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--space-3); counter-reset: s; }
.sp-step { position: relative; display: grid; align-content: start; gap: var(--space-3); padding: var(--space-5); background: var(--white); border-radius: 20px; border: 1px solid var(--line); }
.sp-step__num { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; color: var(--line-strong); font-variant-numeric: tabular-nums; margin-bottom: var(--space-3); }
.sp-step h3 { font-size: 20px; line-height: 26px; }
.sp-step p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Work feature */
.sp-work__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: center; }
.sp-work__art { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.sp-work__art > div { width: 100%; height: 100%; }
.sp-work__copy { display: grid; gap: var(--space-4); justify-items: start; }
.sp-work__copy h3 { font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; margin-top: var(--space-3); }

/* Placeholder */
.sp-placeholder__box { display: grid; gap: var(--space-3); justify-items: start; margin-top: var(--space-5); padding: var(--space-6); border: 1.5px dashed var(--line-strong); border-radius: 24px; background: var(--cream-deep); max-width: 820px; }

/* Australia map band */
.map-band { margin: var(--space-6) var(--space-3) 0; padding-block: var(--space-8); background: var(--orange); border-radius: 24px; }
.map-band--compact { padding-block: var(--space-7); }
.map-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: center; }
.map-band__copy { display: grid; gap: var(--space-5); }
.map-band h2 { max-width: 16ch; }
.city-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.city-chip {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-4);
  border: 1.5px solid var(--white); border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; cursor: default;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.city-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.city-chip:hover, .city-chip:focus-visible, .city-chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.city-chip:hover::before, .city-chip.is-active::before { background: var(--orange); }
.aus-map { width: 100%; height: auto; overflow: visible; }
.aus-map__land { fill: var(--cream); stroke: var(--cream); stroke-width: 2; stroke-linejoin: round; }
.aus-map__dot { fill: var(--ink); transition: r var(--dur-base) var(--ease-out); }
.aus-map__halo { fill: var(--orange); opacity: .35; transform-box: fill-box; transform-origin: center; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base); }
.aus-map__marker.is-active .aus-map__halo { transform: scale(2.2); opacity: .6; }
.aus-map__marker.is-active .aus-map__dot { r: 6; }

/* Book page */
.book__sun { right: -14%; top: 8%; transform: none; width: min(700px, 55vw); }
.book__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-7); align-items: start; }
.book h1, .thanks h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
.book__h2 { font-size: 22px; line-height: 30px; letter-spacing: -0.02em; margin: var(--space-7) 0 var(--space-4); }
.book__steps { display: grid; gap: var(--space-4); }
.book__steps li { display: flex; gap: var(--space-4); font-size: 17px; line-height: 26px; }
.book__steps li > span { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 13px; font-weight: 600; }
.book__reassure { margin-top: var(--space-6); font-weight: 600; font-size: 18px; }
.book__form-wrap { padding: var(--space-6); border-radius: 28px; background: rgba(255,255,255,.62); position: sticky; top: calc(var(--header-h) + var(--space-6)); }
.book-form { display: grid; gap: var(--space-4); }
.book-form__title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field__req { color: var(--orange-text); }
.field__opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-input);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field__help { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.field__error { font-size: 14px; line-height: 20px; color: #b3261e; font-weight: 500; }
.book-form__errors { padding: var(--space-4); border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: 15px; }
.book-form__errors ul { margin: var(--space-2) 0 0; padding-left: 20px; }
.book-form__errors a { color: inherit; }
.book-form__alt { text-align: center; }

/* Thank-you */
.thanks__sun { position: absolute; z-index: -1; width: min(820px, 80vw); left: 50%; top: 50%; transform: translate(-50%, -50%); animation: none; }
.thanks__inner { display: grid; place-items: center; }
.thanks__card { width: min(640px, 100%); padding: var(--space-7) var(--space-6); border-radius: 28px; background: rgba(255,255,255,.66); }
.thanks__card > .body-lg { margin-top: var(--space-4); }
.thanks__tick { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: var(--space-5); border-radius: 50%; background: var(--orange); }
.thanks__tick .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.thanks .hero__actions { margin-top: 0; }

/* Footer: 4 columns */
.site-footer__nav--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-footer__contact { display: grid; gap: var(--space-1); margin-top: var(--space-3); font-size: 15px; }
.site-footer__contact a { text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1180px) {
  .sp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .sp-hero__grid, .sp-problem__grid, .sp-split, .sp-work__grid, .map-band__grid, .book__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .sp-hero__visual { max-width: 380px; margin-inline: auto; }
  .sp-duo__grid { grid-template-columns: 1fr; }
  .sp-cards, .map-band { margin-inline: var(--space-2); }
  .book__form-wrap { position: static; }
  .site-footer__nav--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sp-hero, .book, .thanks { padding: var(--space-2); }
  .sp-hero__frame, .book__frame, .thanks__frame { padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-7); border-radius: 20px; }
  .sp-hero__sub { font-size: 18px; line-height: 28px; }
  .sp-hero__sun { width: 120vw; right: -50%; top: auto; bottom: -30%; transform: none; }
  .sp-steps { grid-template-columns: 1fr; }
  .book__form-wrap { padding: var(--space-5); }
  .thanks__card { padding: var(--space-6) var(--space-5); }
}
.has-mega--sm .mega { left: 0; transform: none; }

/* =========================================================
   MEGA MENU v2: solid white panel (reference: OMG-style)
   ========================================================= */
.mega { top: 100%; padding-top: 10px; width: min(1080px, calc(100vw - var(--gutter) * 2)); }  /* padding bridges the hover gap */
.mega__inner {
  grid-template-columns: 290px 1fr; gap: var(--space-5);
  padding: var(--space-4); background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 30px 70px -24px rgba(18,17,16,.32), 0 2px 8px rgba(18,17,16,.06);
}
.mega__rail { display: grid; gap: 2px; align-content: start; padding: 0; background: none; }
.mega__cat { min-height: 56px; gap: var(--space-3); padding: 8px 12px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.mega__cat:hover { background: var(--cream); }
.mega__cat.is-active { background: var(--cream); box-shadow: none; }
.mega__cat .badge { margin-left: auto; }
.mega__tile {
  flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; background: var(--ink); color: var(--cream);
}
.mega__tile--branding, .mega__tile--ppc { background: var(--orange); color: var(--ink); }
.mega__tile--web { background: var(--cream-deep); color: var(--ink); }
.mega__tile--ai { background: var(--night); color: var(--orange); }
.mega__panels { padding: 0; }
.mega__panel { min-height: 100%; }
.mega__hub {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); align-self: stretch;
  padding: 18px 18px 18px 24px; border-radius: 16px; background: var(--night); color: var(--cream); text-decoration: none;
}
.mega__hub > span:first-child { display: grid; gap: 2px; }
.mega__hub strong { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.mega__hub > span:first-child > span { font-size: 14px; line-height: 20px; color: #b9b1a7; font-weight: 400; }
.mega__hub-arrow { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); transition: transform var(--dur-fast) var(--ease-out); }
.mega__hub:hover .mega__hub-arrow { transform: translateX(3px); }
.mega__hub .icon { transform: none !important; }
.mega__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--space-5); margin: var(--space-4) 0; padding: 0 var(--space-2); }
.mega__links a {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; border: 0;
  color: var(--ink); font-size: 15px; font-weight: 500;
}
.mega__links a .icon { width: 16px; height: 16px; opacity: .45; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); }
.mega__links a:hover { color: var(--orange-text); }
.mega__links a:hover .icon { transform: translateX(3px); opacity: 1; }
.badge--soft { background: var(--cream-deep); color: var(--ink); font-size: 10px; }
.mega__cta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap;
  padding: var(--space-5) var(--space-5); border-radius: 16px; background: var(--cream);
}
.mega__cta-title { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; }
.mega__cta-text { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: 2px; }
.mega__cta .btn { flex-shrink: 0; }

/* Solutions / Resources */
.mega--sm { width: 360px; }
.mega__inner--sm { grid-template-columns: 1fr; gap: 0; padding: var(--space-3); }
.mega__hub--sm { padding: 12px 12px 12px 18px; }
.mega__hub--sm .mega__hub-arrow { width: 36px; height: 36px; }
.mega__links--single { grid-template-columns: 1fr; margin: var(--space-3) 0 var(--space-2); }
.mega__cta-link { display: flex; min-height: 44px; align-items: center; padding: 0 var(--space-2); font-size: 14px; }

/* =========================================================
   MENU v3: clean (white, plain text, no colour tiles)
   ========================================================= */
.mega__inner { grid-template-columns: 260px 1fr; gap: 0; padding: 0; overflow: hidden; }
.mega__rail { padding: var(--space-3); background: var(--cream); gap: 0; }
.mega__cat { min-height: 44px; padding: 8px 14px; font-weight: 500; }
.mega__cat:hover { background: rgba(0,0,0,.04); }
.mega__cat.is-active { background: var(--white); font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.mega__panels { padding: var(--space-5) var(--space-6); }
.mega__hub { padding: 0; background: none; color: var(--ink); border-radius: 0; align-items: flex-start; }
.mega__hub strong { font-size: 20px; }
.mega__hub > span:first-child > span { color: var(--ink-muted); }
.mega__hub-arrow { width: auto; height: auto; background: none; margin-top: 2px; }
.mega__links { margin: var(--space-4) 0 var(--space-5); padding: 0; gap: 0 var(--space-5); }
.mega__links a { display: flex; justify-content: space-between; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--ink-muted); font-weight: 400; }
.mega__links a:hover { color: var(--ink); }
.mega__cta { padding: var(--space-4) var(--space-5); border-radius: 14px; }
.mega__cta-title { font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: 0; }
.mega__cta-text { display: none; }
.mega__inner--sm { padding: var(--space-4); }
.mega__hub--sm strong { font-size: 17px; }

/* =========================================================
   SERVICE DETAIL PAGES (layout after Orionix service detail)
   ========================================================= */
.page-service main { padding-top: calc(var(--header-top) + var(--header-h) + var(--space-8)); }
.sd-hero .breadcrumb { margin-bottom: var(--space-6); }
.sd-chip {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px 6px 10px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.sd-chip span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.sd-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-7); align-items: end; margin-top: var(--space-5); }
.sd-hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; max-width: 14ch; }
.sd-hero__side { display: grid; gap: var(--space-5); padding-bottom: 8px; }
.sd-hero__side > p { color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.sd-hero__side .hero__actions { margin-top: 0; }

.sd-media {
  position: relative; overflow: hidden; isolation: isolate; margin: var(--space-8) 0 0;
  aspect-ratio: 16 / 7.5; border-radius: 24px; background: var(--white);
  display: grid; place-items: center;
}
.sd-media__sun { position: absolute; z-index: -1; width: 64%; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .9; animation: spin-c 160s linear infinite; }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sd-media__card { width: min(340px, 34%); padding: 10px; border-radius: 22px; transform: rotate(-3deg); }
.sd-media__art { aspect-ratio: 4 / 4.4; border-radius: 14px; overflow: hidden; }
.sd-media__art > div { width: 100%; height: 100%; }

.sd-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4); }
.sd-h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; max-width: 22ch; }
.sd-body, .sd-row p, .sd-note { color: var(--ink-muted); font-size: 17px; line-height: 28px; max-width: 62ch; }

.sd-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); padding-block: var(--space-9) var(--space-8); }
.sd-sticky { position: sticky; top: calc(var(--header-top) + var(--header-h) + var(--space-6)); }
.sd-list li { display: flex; gap: var(--space-5); align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.sd-list li:first-child { border-top: 1px solid var(--line); }
.sd-list span { font-size: 13px; color: var(--line-strong); font-variant-numeric: tabular-nums; }
.sd-detail__main { display: grid; gap: var(--space-8); }
.sd-block { display: grid; gap: var(--space-4); }
.sd-block > .sd-label { margin-bottom: 0; }
.sd-lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; letter-spacing: -0.01em; }
.sd-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.sd-block .sd-row:last-of-type { border-bottom: 1px solid var(--line); }
.sd-row h3 { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.sd-row .related-links { margin-top: var(--space-2); }
.sd-block .check-list { margin-top: var(--space-2); }

.sd-process { padding-block: var(--space-8); border-top: 1px solid var(--line); }
.sd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); margin-top: var(--space-7); }
.sd-steps li { display: flex; gap: var(--space-4); }
.sd-steps__num { font-size: 32px; line-height: 1; font-weight: 500; color: var(--line-strong); min-width: 1.2em; }
.sd-steps h3 { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.sd-steps p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

.sd-work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: center; padding-block: var(--space-8); border-top: 1px solid var(--line); }
.sd-work__art { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.sd-work__art > div { width: 100%; height: 100%; }
.sd-work__copy { display: grid; gap: var(--space-4); justify-items: start; }
.page-service .faq { border-top: 1px solid var(--line); }

@media (max-width: 1023px) {
  .sd-hero__grid, .sd-detail, .sd-work { grid-template-columns: 1fr; gap: var(--space-6); }
  .sd-sticky { position: static; }
  .sd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-media { aspect-ratio: 4 / 3; }
  .sd-media__card { width: min(300px, 60%); }
}
@media (max-width: 767px) {
  .page-service main { padding-top: calc(var(--header-top) + var(--header-h) + var(--space-6)); }
  .sd-media { margin-top: var(--space-6); }
  .sd-detail { padding-block: var(--space-7); }
  .sd-row { grid-template-columns: 1fr; gap: var(--space-2); }
  .sd-steps { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* Solutions / Resources dropdowns: single column (overrides the services grid) */
.mega__inner.mega__inner--sm { display: flex; flex-direction: column; padding: var(--space-4); overflow: visible; }
.mega__inner--sm .mega__hub { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.mega__inner--sm .mega__links { display: grid; grid-template-columns: 1fr; margin: var(--space-2) 0 var(--space-3); }
.mega__inner--sm .mega__links a { font-size: 15px; }
/* Rail items are links now */
a.mega__cat { text-decoration: none; color: var(--ink); }

/* =========================================================
   PHASE 2 PAGES
   ========================================================= */
.sd-bullets { display: grid; }
.sd-bullets li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid var(--line); font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.sd-bullets li:last-child { border-bottom: 1px solid var(--line); }
.sd-bullets li::before { content: ""; position: absolute; left: 4px; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.sd-explore { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.sd-explore .sd-label { margin: 0; }
.sd-steps__solo { color: var(--ink) !important; font-size: 17px !important; line-height: 26px !important; }

.sd-intro { padding-block: var(--space-9) var(--space-6); }
.sd-lead--wide { max-width: 40ch; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.sd-split-band { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.sd-split-band .sd-label { margin-bottom: var(--space-3); }
.sd-split-band .related-links { margin-top: var(--space-4); }

/* Solutions overview cards */
.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); margin-top: var(--space-6); }
.fit-card a { display: grid; gap: var(--space-4); text-decoration: none; }
.tile-art { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--white); transition: transform var(--dur-slow) var(--ease-out); }
.tile-art > div { width: 100%; height: 100%; }
.fit-card a:hover .tile-art { transform: scale(.985); }
.fit-card h3 { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-size: 20px; line-height: 28px; }
.fit-card h3 .icon { transition: transform var(--dur-fast) var(--ease-out); }
.fit-card a:hover h3 .icon { transform: translateX(4px); }
.fit-card p { color: var(--ink-muted); font-size: 15px; line-height: 24px; margin-top: var(--space-1); }

/* Work filter */
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.filter-chip { min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; transition: background-color var(--dur-fast), color var(--dur-fast); }
.filter-chip:hover { background: var(--white); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-empty { color: var(--ink-muted); }
.work-card[hidden] { display: none; }
.ex-media { margin-top: var(--space-8); aspect-ratio: 16 / 8; }
.next-project { display: inline-flex; align-items: center; gap: var(--space-3); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.next-project .icon { width: 28px; height: 28px; transition: transform var(--dur-fast) var(--ease-out); }
.next-project:hover .icon { transform: translateX(6px); }

/* Resources */
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.explore-card { display: grid; gap: var(--space-3); padding: var(--space-6); border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out); }
.explore-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.explore-card h3 { display: flex; justify-content: space-between; align-items: center; font-size: 24px; }
.explore-card p { color: var(--ink-muted); }
.guides-band { border-top: 1px solid var(--line); }
.guides-band .guides__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.topics-band { border-top: 1px solid var(--line); }
.topic-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.topic-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-5); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); text-decoration: none; font-weight: 500; transition: background-color var(--dur-fast), color var(--dur-fast); }
a.topic-chip:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* About */
.about-media { aspect-ratio: 16 / 6; }
.about-media__word { font-size: clamp(64px, 14vw, 220px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.belief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-7); margin-top: var(--space-6); }
.belief-grid li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.belief-grid span { grid-row: span 2; font-size: 13px; color: var(--line-strong); padding-top: 4px; }
.belief-grid h3 { font-size: 20px; line-height: 28px; }
.belief-grid p { color: var(--ink-muted); }

/* Book page */
.check-list--detail li { align-items: flex-start; }
.check-list--detail strong { color: var(--ink); font-weight: 600; }
.check-list--detail span { color: var(--ink-muted); }

@media (max-width: 1023px) {
  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-split-band { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 767px) {
  .fit-grid, .explore-grid, .belief-grid { grid-template-columns: 1fr; }
  .sd-intro { padding-block: var(--space-7) var(--space-4); }
  .about-media { aspect-ratio: 4 / 3; }
}

/* =========================================================
   WORK PAGE v2 (centred, after Orionix works page)
   ========================================================= */
.work-hero { display: grid; justify-items: center; text-align: center; gap: var(--space-6); padding-bottom: var(--space-8); }
.work-hero h1 { max-width: 18ch; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.work-tools { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }
.work-search, .work-select { position: relative; display: flex; align-items: center; height: 46px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.work-search { width: 220px; padding-left: 14px; gap: 8px; color: var(--ink-muted); }
.work-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; padding-right: 12px; }
.work-select { width: 200px; }
.work-select select { appearance: none; width: 100%; height: 100%; padding: 0 40px 0 16px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; outline: none; }
.work-select .icon { position: absolute; right: 14px; pointer-events: none; color: var(--ink-muted); }
.work-search:focus-within, .work-select:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.work-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-4); padding-bottom: var(--space-8); }
.proj-card[hidden] { display: none; }
.proj-card a { display: grid; gap: var(--space-2); text-decoration: none; }
.proj-card__frame { padding: 4px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(18,17,16,.3); }
.proj-card__art { aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden; }
.proj-card__art > div { width: 100%; height: 100%; transition: transform var(--dur-slow) var(--ease-out); }
.proj-card a:hover .proj-card__art > div { transform: scale(1.03); }
.proj-card h2 { margin-top: var(--space-4); padding-inline: var(--space-2); font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
.proj-card p { padding-inline: var(--space-2); max-width: 40ch; color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.proj-card .tags { padding-inline: var(--space-2); margin-top: var(--space-2); }
.page-service .work-hero { padding-top: 0; }
@media (max-width: 767px) { .work-grid2 { grid-template-columns: 1fr; } .work-search, .work-select { width: 100%; } .work-tools { width: 100%; flex-direction: column; } }

/* =========================================================
   PERFORMANCE: header + hero headline
   ========================================================= */
/* The header no longer blurs what's behind it: re-blurring the animated hero sun every frame was the main source of lag */
.site-header__bar.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.94); }
.site-header.is-scrolled .site-header__bar { background: rgba(255,255,255,.97); }
/* Headline pill: quicker, GPU-friendly word swap */
.cycler__pill { transition: width 420ms var(--ease-out); will-change: width; contain: layout paint; }
.cycler__word { transition: transform 420ms var(--ease-out), opacity 260ms var(--ease-out); will-change: transform, opacity; }

/* Legal pages */
.legal { max-width: 72ch; }
.legal h2 { font-size: 24px; line-height: 32px; margin-top: var(--space-6); margin-bottom: var(--space-3); }
.legal p { margin-bottom: var(--space-4); }

/* Home: who we work with */
.audiences { border-top: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.audience-grid .explore-card { height: 100%; }
.audience-grid .explore-card h3 { font-size: 20px; line-height: 28px; gap: var(--space-3); }
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }

/* Generic art inside wrappers that don't size their children */
.svc-preview__art > div, .work-card__art > div { width: 100%; height: 100%; }

/* =========================================================
   Case study pages (/work/<project>/ with a caseStudy block)
   Title row, hero image, intro, scrolling scope strip, image gallery, related projects
   ========================================================= */
.work-card__art img, .proj-card__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.proj-card a:hover .proj-card__art img, .work-card a:hover .work-card__art img { transform: scale(1.03); }

.cs-head { padding-top: var(--space-6); }
.cs-head__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-6); margin-top: var(--space-6); padding-bottom: var(--space-6); }
.cs-head h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; max-width: 22ch; }
.cs-head__client { font-size: 16px; font-weight: 600; white-space: nowrap; }

.cs-hero, .cs-shot { margin: 0; border-radius: 24px; overflow: hidden; background: var(--cream-deep); }
.cs-hero img, .cs-shot img { display: block; width: 100%; height: auto; }

.cs-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); padding-block: var(--space-8) var(--space-7); }
.cs-intro__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; max-width: 16ch; }
.cs-intro__body { display: grid; gap: var(--space-4); max-width: 640px; }
.cs-intro__body p { color: var(--ink-muted); font-size: 17px; line-height: 28px; }
.cs-intro__body .cs-intro__lead { color: var(--ink); font-size: 20px; line-height: 30px; font-weight: 500; }
.cs-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.cs-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-1); }
.cs-meta dd { margin: 0; font-size: 15px; font-weight: 500; }

.cs-marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: var(--space-4); margin-bottom: var(--space-7); }
.cs-marquee__track { display: flex; width: max-content; animation: cs-marquee 28s linear infinite; }
.cs-marquee ul { display: flex; flex-shrink: 0; }
.cs-marquee li { font-size: 15px; font-weight: 500; padding-inline: var(--space-6); white-space: nowrap; }
.cs-marquee li::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-left: var(--space-6); vertical-align: middle; transform: translateY(-1px); }
@keyframes cs-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cs-marquee__track { animation: none; } }

.cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.cs-shot--full { grid-column: 1 / -1; }

.cs-related { padding-block: var(--space-8); }
.cs-related__title { font-size: var(--fs-h2); letter-spacing: -0.03em; font-weight: 600; margin-bottom: var(--space-6); }
.cs-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.cs-related .proj-card h3 { margin-top: var(--space-4); padding-inline: var(--space-2); font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }

@media (max-width: 1023px) {
  .cs-intro { grid-template-columns: 1fr; gap: var(--space-5); padding-block: var(--space-7) var(--space-6); }
}
@media (max-width: 767px) {
  .cs-head__row { flex-direction: column; gap: var(--space-2); }
  .cs-hero, .cs-shot { border-radius: 16px; }
  .cs-gallery, .cs-related__grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .cs-meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Work: intro + services used ---------- */
.work-intro { max-width: 62ch; color: var(--ink-muted); font-size: 17px; line-height: 27px; }
.cs-services { margin-top: var(--space-5); }
.cs-services .related-links { margin-top: var(--space-2); }

/* ---------- Resources: post cards, featured, index ---------- */
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.post-card a { display: grid; gap: var(--space-4); text-decoration: none; height: 100%; }
.post-card__body { display: grid; gap: var(--space-2); align-content: start; }
.post-card h3 { font-size: 22px; line-height: 30px; text-wrap: balance; transition: color var(--dur-fast); }
.post-card p:not(.post-meta) { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.post-card a:hover .tile-art { transform: scale(.985); }
.post-card a:hover h3 { color: var(--orange-text); }
.post-featured { padding-top: var(--space-6); }
.post-featured__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; align-items: start; gap: var(--space-6) var(--space-7); }
.post-card--big { grid-row: span 2; }
.post-card--big h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.post-card--big p:not(.post-meta) { font-size: 17px; line-height: 27px; }
.post-featured__grid > .post-card:not(.post-card--big) a { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.post-featured__grid > .post-card:not(.post-card--big) h3 { font-size: 19px; line-height: 26px; }
.post-index__head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-6); }
.post-index__head .filter-chips { margin-bottom: 0; }
@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-featured__grid { grid-template-columns: 1fr; }
  .post-card--big { grid-row: auto; }
}
@media (max-width: 639px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-featured__grid > .post-card:not(.post-card--big) a { grid-template-columns: 1fr; }
}

/* ---------- Resources: article ---------- */
.post-head { padding-top: calc(var(--header-top) + var(--header-h) + var(--space-6)); }
.post-head h1 { margin-top: var(--space-5); max-width: 22ch; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.post-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); padding-block: var(--space-5); border-block: 1px solid var(--line); }
.post-byline { display: flex; align-items: center; gap: var(--space-3); }
.post-byline img { border-radius: 50%; background: var(--white); }
.post-byline p { display: grid; font-size: 14px; line-height: 20px; }
.post-byline span { color: var(--ink-muted); }
.post-dates { display: flex; gap: var(--space-2); font-size: 14px; color: var(--ink-muted); }
.post-share { display: flex; gap: var(--space-2); margin-left: auto; }
.post-share a, .post-share button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; background: transparent; transition: background-color var(--dur-fast), color var(--dur-fast); }
.post-share a:hover, .post-share button:hover, .post-share button.is-copied { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-8); padding-block: var(--space-7) var(--space-8); }
.post-body { max-width: 720px; font-size: 18px; line-height: 30px; }
.post-body > p, .post-body section > p { margin-top: var(--space-5); }
.post-body > .post-lead { margin-top: 0; font-size: 21px; line-height: 33px; }
.post-body section { margin-top: var(--space-8); scroll-margin-top: calc(var(--header-top) + var(--header-h) + var(--space-5)); }
.post-body section > h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; }
.post-body h3 { margin-top: var(--space-6); font-size: 21px; line-height: 28px; }
.post-body ul, .post-body ol { margin-top: var(--space-4); padding-left: 1.25em; display: grid; gap: var(--space-3); }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li::marker { color: var(--ink-muted); font-weight: 600; }
.post-body strong { font-weight: 600; }

.post-learn { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--line); }
.post-learn__title { font-size: 22px; line-height: 28px; letter-spacing: -0.02em; }
.post-learn ul { list-style: none; padding: 0; margin-top: var(--space-4); }
.post-learn li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 17px; line-height: 26px; }
.post-learn .icon { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: var(--cream); stroke-width: 2.5; }

.post-tip { margin-top: var(--space-5); padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); border-left: 3px solid var(--orange); border-radius: 0 var(--radius-card) var(--radius-card) 0; background: var(--cream-deep); }
.post-tip p { font-size: 17px; line-height: 28px; }
.post-tip .post-tip__label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-2); }

.post-cta { margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--radius-card); background: var(--night); color: var(--cream); display: grid; gap: var(--space-3); justify-items: start; }
section .post-cta { margin-top: var(--space-6); }
.post-cta__title { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.post-cta p:not(.post-cta__title) { color: #d9d2c9; font-size: 16px; line-height: 26px; max-width: 52ch; }
.post-cta .btn { margin-top: var(--space-2); --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-border: var(--cream); }
.post-cta .btn:hover { --btn-bg: var(--white); --btn-border: var(--white); }

.post-table { margin-top: var(--space-5); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.post-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.post-table th, .post-table td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-table thead th { font-weight: 600; background: var(--cream); }
.post-table tbody th { font-weight: 600; white-space: nowrap; }
.post-table tr:last-child > * { border-bottom: 0; }

.post-faq .faq__list { margin-top: var(--space-5); }
.post-faq .faq__item p { font-size: 17px; }
.post-services { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.post-services .related-links { margin-top: var(--space-2); }

.post-aside__sticky { position: sticky; top: calc(var(--header-top) + var(--header-h) + var(--space-5)); display: grid; gap: var(--space-5); }
.post-toc__title { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.post-toc__list { display: grid; gap: 2px; }
.post-toc__list a { display: flex; gap: var(--space-3); padding: 6px var(--space-3); border-radius: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); text-decoration: none; transition: background-color var(--dur-fast), color var(--dur-fast); }
.post-toc__list a span { font-variant-numeric: tabular-nums; color: var(--line-strong); }
.post-toc__list a:hover { color: var(--ink); background: var(--cream-deep); }
.post-toc__list a.is-active { color: var(--ink); background: var(--white); font-weight: 600; }
.post-aside__cta { padding: var(--space-5); border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--line); display: grid; gap: var(--space-3); }
.post-aside__title { font-size: 18px; line-height: 24px; font-weight: 600; }
.post-aside__cta p:not(.post-aside__title) { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.post-toc--inline { display: none; }
.post-related { border-top: 1px solid var(--line); }

@media (max-width: 1023px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: var(--space-6); }
  .post-aside { display: none; }
  .post-toc--inline { display: block; margin-bottom: var(--space-6); padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
  .post-toc--inline summary { cursor: pointer; font-weight: 600; font-size: 15px; }
  .post-toc--inline .post-toc__list { margin-top: var(--space-3); }
}
@media (max-width: 767px) {
  .post-body { font-size: 17px; line-height: 28px; }
  .post-share { margin-left: 0; }
  .post-learn, .post-cta { padding: var(--space-5); }
  .post-body section { margin-top: var(--space-7); }
}
