/* =========================================================
   Human Powered — global design system
   Tokens come from the HP.A Website 2027 Figma variables.
   Fonts: Archivo Black (display), Archivo (eyebrows/UI),
          Platypi Bold Italic (accent serif), Open Sans (body)
   ========================================================= */
:root {
  --ink: #13040e;          /* Background / dark */
  --ink-2: #1e0d18;        /* raised dark surface */
  --ink-3: #2b1925;
  --paper: #fcfefe;        /* Headings / light */
  --cream: #fff9f4;        /* Text on dark */
  --volt: #ecff5c;         /* Link / primary button */
  --volt-dim: #c9d94e;
  --blue: #1445f6;         /* Text accent / tertiary */
  --blue-soft: #b6c4f5;    /* tertiary light */
  --lilac: #d8b5e6;        /* accent 1 */
  --mint: #87f799;
  --fog: #ebebeb;          /* light card */
  --line-dark: rgba(255, 249, 244, .16);
  --line-light: rgba(19, 4, 14, .14);
  --muted-dark: rgba(255, 249, 244, .72);
  --muted-light: rgba(19, 4, 14, .7);

  --f-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --f-ui: "Archivo", system-ui, sans-serif;
  --f-serif: "Platypi", Georgia, serif;
  --f-body: "Open Sans", system-ui, sans-serif;

  --container: 1366px;
  --gutter: clamp(16px, 2.4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar-h: 38px;
  --nav-h: 80px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.on-light :focus-visible, .s-light :focus-visible, .s-volt :focus-visible { outline-color: var(--blue); }
::selection { background: var(--volt); color: var(--ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--volt); color: var(--ink); padding: 10px 16px; font-family: var(--f-display); text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.s-dark { background: var(--ink); color: var(--cream); }
.s-light { background: var(--paper); color: var(--ink); }
.s-fog { background: #f4f3f1; color: var(--ink); }
.s-volt { background: var(--volt); color: var(--ink); }
.s-blue { background: var(--blue); color: var(--paper); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 20px); }
.grid { display: grid; gap: var(--gap, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--5-7, .split--7-5 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -.005em; text-wrap: balance; }
.s-dark h1, .s-dark h2, .s-dark h3, .s-dark h4 { color: var(--paper); }
/* Light surfaces inside dark sections keep dark headings */
.s-dark :is(.pillar, .svc-link, .card--outline, .book-panel, .faq, .s-light, .s-volt, .s-fog, .on-light) :is(h1, h2, h3, h4) { color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
.display { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; }
.h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.0; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; }
.h4 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
/* Accent serif: <em> inside any heading */
h1 em, h2 em, h3 em, h4 em, .serif {
  font-family: var(--f-serif); font-style: italic; font-weight: 700; letter-spacing: -.01em;
}
.s-dark h1 em, .s-dark h2 em, .s-dark h3 em, .s-dark .serif-volt, .serif-volt { color: var(--volt); }
.s-blue h1 em, .s-blue h2 em { color: var(--volt); }
.block-line { display: block; }
/* Highlighter swipe (DuBose-style) */
.hl {
  background: linear-gradient(transparent 12%, var(--volt) 12%, var(--volt) 92%, transparent 92%) no-repeat;
  background-size: 0% 100%; padding: 0 .12em; margin: 0 -.06em; color: var(--ink);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease) .15s;
}
.is-in .hl, .hl.is-in, .no-js .hl, .reduced .hl { background-size: 100% 100%; }
.s-dark .hl { color: var(--ink); }

.eyebrow {
  font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
}
.s-light .eyebrow, .s-fog .eyebrow { color: var(--blue); }
.s-dark .eyebrow { color: var(--paper); }
.s-volt .eyebrow { color: var(--ink); }
.s-blue .eyebrow { color: var(--paper); }
.center .eyebrow { justify-content: center; }
/* Only centered eyebrows get rules, one on each side of the text; left-aligned eyebrows have none */
.center .eyebrow::before, .center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; display: inline-block; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.muted { color: var(--muted-dark); }
.s-light .muted, .s-fog .muted, .s-volt .muted { color: var(--muted-light); }
.prose p + p { margin-top: 1em; }
.prose { font-size: 17px; }
.prose strong { font-weight: 700; }
.measure { max-width: 62ch; }
.center .measure { margin-inline: auto; }
.mt-s { margin-top: 16px !important; } .mt-m { margin-top: 28px !important; } .mt-l { margin-top: 44px !important; } .mt-xl { margin-top: 64px !important; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--volt); --fg: var(--ink); --bd: var(--volt);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.2; text-transform: uppercase; letter-spacing: .02em;
  padding: 14px 24px; min-height: 50px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  text-decoration: none; cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
.btn:hover { color: var(--volt); box-shadow: 6px 6px 0 var(--blue); transform: translate(-3px, -3px); }
.btn:hover::after { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--paper); --bd: var(--volt); }
.btn--ghost::after { background: var(--volt); }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: var(--volt); --bd: var(--ink); }
.btn--dark::after { background: var(--volt); }
.btn--dark:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--blue); }
.s-light .btn--ghost, .s-fog .btn--ghost, .s-volt .btn--ghost { --fg: var(--ink); --bd: var(--ink); }
.s-light .btn--ghost::after, .s-volt .btn--ghost::after { background: var(--ink); }
.s-light .btn--ghost:hover, .s-volt .btn--ghost:hover, .s-fog .btn--ghost:hover { color: var(--volt); }
.s-fog .btn--ghost::after { background: var(--ink); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .btn-row { justify-content: center; }
.microcopy { font-size: 14px; margin-top: 14px; opacity: .8; }
.text-link { font-family: var(--f-ui); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--volt); }
.s-light .text-link { text-decoration-color: var(--blue); }

/* ---------- Header (full-width bar + mega menus) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .4s var(--ease); }
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.site-header.is-hidden { transform: translateY(-100%); }
.topbar { height: var(--topbar-h); background: var(--volt); color: var(--ink); font-family: var(--f-ui); font-size: 13px; font-weight: 600; overflow: hidden; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.topbar__note { display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: dot 2.4s infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(20, 69, 246, .5); } 70% { box-shadow: 0 0 0 8px rgba(20, 69, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 69, 246, 0); } }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a, .topbar__loc { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; }
.navbar { position: relative; z-index: 2; height: var(--nav-h); background: rgba(19, 4, 14, .86); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: background .3s; }
.is-scrolled .navbar, .mega-open .navbar { background: var(--ink); }
.navbar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; height: 100%; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; border: 0; background: none;
  font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--cream); text-decoration: none; cursor: pointer; transition: color .2s;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"] { color: var(--volt); }
.nav-link:hover::after, .nav-item.is-open > .nav-link::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-cta .btn { white-space: nowrap; }
.nav-cta .btn:hover { box-shadow: 4px 4px 0 var(--blue); transform: translate(-2px, -2px); }
.nav-mobile-foot { display: none; }

/* Mega panel: full width under the bar */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
  background-color: var(--ink-2); color: var(--cream); border-bottom: 1px solid var(--line-dark);
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(20, 69, 246, .18), transparent 60%), radial-gradient(40% 80% at 0% 100%, rgba(236, 255, 92, .05), transparent 60%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: opacity .25s var(--ease), clip-path .45s var(--ease), visibility .45s;
}
.nav-item.is-open > .mega { opacity: 1; visibility: visible; clip-path: inset(0 0 -100px 0); }
.mega__grid { display: grid; gap: 28px; padding-top: 34px; padding-bottom: 38px; }
.mega__grid--services { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, .9fr); }
.mega__grid--about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .95fr); }
.mega__grid > * { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.nav-item.is-open .mega__grid > * { opacity: 1; transform: none; }
.nav-item.is-open .mega__grid > :nth-child(2) { transition-delay: .06s; }
.nav-item.is-open .mega__grid > :nth-child(3) { transition-delay: .12s; }
.mega__label { font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin-bottom: 14px; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mega__all { font-family: var(--f-ui); font-weight: 700; font-size: 13px; color: var(--paper); text-decoration: none; white-space: nowrap; }
.mega__all:hover { color: var(--volt); }
.mega__all span { display: inline-block; transition: transform .25s var(--ease); }
.mega__all:hover span { transform: translateX(4px); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-link { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 11px 14px 11px 12px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.mega-link::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--volt); transform: scaleY(0); transition: transform .3s var(--ease); }
.mega-link:hover, .mega-link:focus-visible, .mega-link[aria-current="page"] { background: rgba(255, 249, 244, .06); border-color: var(--line-dark); }
.mega-link:hover::before, .mega-link[aria-current="page"]::before { transform: scaleY(1); }
.mega-link__ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--volt); transition: background .25s, color .25s, border-color .25s; }
.mega-link__ico svg { width: 20px; height: 20px; }
.mega-link:hover .mega-link__ico { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.mega-link__txt { display: grid; gap: 2px; }
.mega-link__txt strong { font-family: var(--f-display); font-weight: 400; font-size: 16px; line-height: 1.2; color: var(--paper); }
.mega-link__txt span { font-size: 13.5px; color: var(--muted-dark); line-height: 1.4; }
.mega-work { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 10px; margin-top: 10px; border-radius: 12px; background: rgba(255, 249, 244, .04); border: 1px solid var(--line-dark); text-decoration: none; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.mega-work:hover { background: rgba(255, 249, 244, .08); border-color: rgba(236, 255, 92, .4); transform: translateX(4px); }
.mega-work__img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; }
.mega-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-work:hover .mega-work__img img { transform: scale(1.06); }
.mega-work__txt { display: grid; gap: 4px; }
.mega-work__kicker { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-soft); }
.mega-work__txt strong { font-family: var(--f-display); font-weight: 400; font-size: 19px; line-height: 1.15; color: var(--paper); }
.mega-work__txt strong em { font-style: normal; color: var(--volt); }
.mega-work__txt > span:last-child { font-size: 13px; color: var(--muted-dark); line-height: 1.4; }
.mega__promo { border-radius: 14px; overflow: hidden; background: var(--volt); color: var(--ink); display: flex; flex-direction: column; }
.mega__promo-img { aspect-ratio: 16 / 8; overflow: hidden; }
.mega__promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 1s var(--ease); }
.mega__promo:hover .mega__promo-img img { transform: scale(1.04); }
.mega__promo-body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.mega__promo .mega__label { color: var(--blue); margin: 0; }
.mega__promo-title { font-family: var(--f-display); font-size: 21px; line-height: 1.15; }
.mega__promo-title em { font-family: var(--f-serif); font-style: italic; font-weight: 700; }
.mega__promo-price { font-family: var(--f-display); font-size: 28px; line-height: 1; }
.mega__promo-price small { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.mega__promo-cta { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.mega__promo .btn { --bg: var(--ink); --fg: var(--volt); --bd: var(--ink); }
.mega__promo .btn::after { background: var(--blue); }
.mega__promo .btn:hover { color: var(--paper); box-shadow: none; transform: none; }
.mega__promo .mega__all { color: var(--ink); }
.mega-card { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 330px; text-decoration: none; color: var(--paper); isolation: isolate; }
.mega-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.mega-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 4, 14, .05) 20%, rgba(19, 4, 14, .92) 100%); }
.mega-card:hover img { transform: scale(1.05); }
.mega-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 6px; }
.mega-card__kicker { font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); }
.mega-card strong { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.mega-card__body > span:nth-child(3) { font-size: 14px; color: rgba(255, 249, 244, .82); line-height: 1.45; max-width: 40ch; }
.mega-card__go { margin-top: 6px; font-family: var(--f-ui); font-weight: 700; font-size: 14px; color: var(--volt); }
.mega-card__go span { display: inline-block; transition: transform .25s var(--ease); }
.mega-card:hover .mega-card__go span { transform: translateX(5px); }
.mega__side { display: flex; flex-direction: column; }
.mega__simple { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.mega__simple a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: padding .3s var(--ease); }
.mega__simple a:hover { padding-left: 8px; }
.mega__simple strong { font-family: var(--f-display); font-weight: 400; font-size: 17px; color: var(--paper); }
.mega__simple a:hover strong { color: var(--volt); }
.mega__simple span { font-size: 13px; color: var(--muted-dark); }
.mega__note { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--blue); color: var(--paper); display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.mega__note img { width: 72px; height: 88px; border-radius: 10px; object-fit: cover; object-position: center 20%; }
.mega__note-title { font-family: var(--f-serif); font-weight: 700; font-size: 17px; line-height: 1.2; }
.mega__note-sub { font-size: 13px; opacity: .85; margin: 4px 0 10px; }
.mega__note .btn:hover { box-shadow: none; transform: none; }
.mega-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(8, 2, 6, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.mega-open .mega-scrim { opacity: 1; visibility: visible; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--volt); border: 0; cursor: pointer; place-items: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .mega__grid--services { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mega__grid--services .mega__promo { display: none; }
  .mega__grid--about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mega__grid--about .mega-card:nth-child(2) { display: none; }
  .nav-link { padding: 0 10px; }
  .nav-link::after { left: 10px; right: 10px; }
}
@media (max-width: 1080px) { .topbar__loc { display: none; } }
@media (max-width: 980px) {
  .topbar { display: none; }
  .site-header.is-scrolled { transform: none; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .nav-toggle { display: grid; }
  .brand img { height: 42px; }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; height: auto; margin: 0; padding: 12px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, visibility .3s, transform .35s var(--ease);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .nav-item { height: auto; display: block; }
  .nav-link { width: 100%; height: auto; justify-content: space-between; font-family: var(--f-display); font-weight: 400; font-size: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-link::after { display: none; }
  .mega { position: static; display: none; box-shadow: none; border: 0; background: none; opacity: 1; visibility: visible; clip-path: none; }
  .nav-item.is-open > .mega { display: block; clip-path: none; }
  .mega .container { padding-inline: 0; }
  .mega__grid, .mega__grid--services, .mega__grid--about { grid-template-columns: 1fr; gap: 18px; padding: 14px 0 20px; }
  .mega__grid > * { opacity: 1; transform: none; }
  .mega__grid--services .mega__col:nth-child(2), .mega__grid--services .mega__promo, .mega-card, .mega__note, .mega .mega__label { display: none; }
  .mega-link { padding: 10px 6px; }
  .nav-cta { margin-top: 28px; }
  .nav-cta .btn { width: 100%; min-height: 56px; font-size: 16px; }
  .nav-mobile-foot { display: grid; gap: 8px; margin-top: 24px; font-family: var(--f-ui); font-weight: 600; color: var(--muted-dark); }
  .nav-mobile-foot a { text-decoration: none; }
  .nav-open { overflow: hidden; }
  .mega-scrim { display: none; }
}

/* Page top spacing (header floats over hero) */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.breadcrumb { font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; opacity: .8; }
.breadcrumb a { text-decoration: none; display: inline-block; padding-block: 6px; margin-block: -6px; }  /* taller tap target, same look */
.breadcrumb a:hover { color: var(--volt); }
.center .breadcrumb { justify-content: center; }

/* Ambient glow behind dark heroes */
.glow { position: absolute; pointer-events: none; inset: -20% -10% auto; height: 120%; z-index: 0;
  background: radial-gradient(40% 50% at 18% 30%, rgba(20, 69, 246, .28), transparent 70%), radial-gradient(35% 45% at 85% 20%, rgba(236, 255, 92, .12), transparent 70%); }
.page-hero > .container, .section > .container { position: relative; z-index: 1; }

/* ---------- Media marquee (hero sizzle reel) ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; align-items: center; animation: marquee var(--speed, 60s) linear infinite; padding-block: 10px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track, .marquee.is-paused .reel-item img { animation-play-state: paused; }
.marquee-ctrl { display: flex; justify-content: flex-end; padding-inline: var(--gutter, 24px); margin-top: 6px; }
.marquee-pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; opacity: .55; display: grid; place-items: center; cursor: pointer; padding: 0; transition: opacity .2s, background .2s, color .2s; }
.marquee-pause:hover, .marquee-pause:focus-visible { opacity: 1; background: var(--volt); color: var(--ink); border-color: var(--volt); }
.marquee-pause svg { width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reel-item { flex: none; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); position: relative; transition: transform .4s var(--ease), border-color .3s; }
:is(a, button).reel-item:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--volt); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
.reel-item--wide { width: clamp(280px, 30vw, 500px); aspect-ratio: 500 / 281; }
.reel-item--land { width: clamp(220px, 24vw, 363px); aspect-ratio: 363 / 204; }
.reel-item--sq { width: clamp(180px, 17vw, 251px); aspect-ratio: 1; }
.reel-item--tall { width: clamp(130px, 12.4vw, 178px); aspect-ratio: 178 / 317; }
.reel-item--scroll img { object-fit: cover; object-position: top; height: auto; min-height: 100%; animation: pageScroll 14s ease-in-out infinite alternate; }
@keyframes pageScroll { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-100% + var(--frame-h, 280px))); } }
.reel-item .badge { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: var(--volt); font-family: var(--f-ui); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logo-chip { font-family: var(--f-ui); font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.s-light .logo-chip { border-color: var(--line-light); color: var(--muted-light); }

/* ---------- Cards ---------- */
.card { border-radius: var(--radius); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.card--outline { border: 2px solid var(--ink); background: var(--fog); color: var(--ink); }
.card--dark { background: var(--ink); color: var(--cream); border: 2px solid var(--blue); }
.card--line { border: 2px solid var(--volt); background: transparent; }
.card__body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
:is(a, button).card:hover .card__media img { transform: scale(1.04); }
.lift { transition: translate .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease), transform .8s var(--ease); }
:is(a, button).lift:hover { translate: 0 -6px; box-shadow: 10px 10px 0 var(--blue); }

/* Pillar cards (Upgrade / Optimize / Grow) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; text-decoration: none; }
.pillar--lilac { background: var(--lilac); } .pillar--mint { background: var(--mint); } .pillar--sky { background: var(--blue-soft); }
.pillar__media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
:is(a, button).pillar:hover .pillar__media img { transform: scale(1.05); }
.pillar__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pillar__body p { font-style: italic; }
.pillar__body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar__media { aspect-ratio: 16 / 9; } }

/* Check / x lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--blue);
  background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.5 2.4L10 3.4' fill='none' stroke='%231445f6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.s-dark .ticks li::before, .card--dark .ticks li::before { border-color: var(--volt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.5 2.4L10 3.4' fill='none' stroke='%23ecff5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks--x li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%231445f6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Value compare (FTE vs HP) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); column-gap: 20px; row-gap: 0; align-items: stretch; }
/* Each card spans the same 5 rows (head, visual, price, label, list) so the comparison lines up across both cards */
.compare .card { padding: 26px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 18px; align-content: start; }
.compare__head { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; }
.compare .card > :is(.ph-person, .avatars) { align-self: center; }
.compare .tag { display: inline-block; align-self: flex-start; background: var(--volt); color: var(--ink); font-family: var(--f-ui); font-weight: 600; font-size: clamp(14px, 1.2vw, 18px); padding: 7px 14px; text-transform: uppercase; letter-spacing: .02em; }
.compare .card { container-type: inline-size; }
.compare .price { font-family: var(--f-display); font-size: clamp(24px, 3vw, 42px); font-size: clamp(24px, 11.5cqi, 42px); line-height: 1.05; }
.compare .price small { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.compare .label { font-family: var(--f-ui); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.compare .card--hp { box-shadow: 0 30px 60px rgba(20, 69, 246, .25); }
.avatars { display: flex; }
.avatars img, .avatars .ph { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -12px; background: #cfcfcf; }
.avatars img:first-child, .avatars .ph:first-child { margin-left: 0; }
.ph-person { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--ink); background: #d9d9d9 no-repeat center/60% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4.2' fill='%23a6a6a6'/%3E%3Cpath d='M3.5 22c.7-4.6 4.2-7.2 8.5-7.2s7.8 2.6 8.5 7.2z' fill='%23a6a6a6'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; } .compare .card { grid-row: auto; grid-template-rows: none; } }

/* ---------- Stats / case study cards ---------- */
.stat { font-family: var(--f-display); font-size: clamp(56px, 6vw, 84px); line-height: .95; letter-spacing: -.02em; }
.stat-label { font-size: 17px; }
.work-card .card__media { aspect-ratio: 16 / 9; }
.work-card h3 { font-family: var(--f-ui); font-weight: 600; font-size: clamp(22px, 2vw, 28px); }

/* Numbered rows (DuBose-style) */
.rows { border-top: 2px solid currentColor; }
.row-item { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; transition: background .25s, padding .25s var(--ease); }
.s-dark .row-item { border-bottom-color: var(--line-dark); }
a.row-item:hover { padding-left: 12px; }
.row-num { display: inline-grid; place-items: center; width: 42px; height: 32px; background: var(--volt); color: var(--ink); font-family: var(--f-display); font-size: 14px; }
.row-item h3 { font-size: clamp(22px, 2.2vw, 30px); }
.row-item .go { width: 40px; height: 40px; display: grid; place-items: center; background: var(--volt); color: var(--ink); transition: transform .25s var(--ease); }
a.row-item:hover .go { transform: translateX(6px); }
@media (max-width: 760px) { .row-item { grid-template-columns: 48px 1fr; } .row-item p { grid-column: 2; } .row-item .go { display: none; } }

/* Service link cards (home "Get more information") */
.svc-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-link { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 22px; min-height: 226px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-link h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.svc-link p { font-size: 15px; color: var(--muted-light); margin-top: 10px; }
.svc-link .go { align-self: flex-end; width: 60px; height: 36px; display: grid; place-items: center; background: var(--volt); transition: transform .3s var(--ease), background .3s; }
.svc-link:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--volt); }
.svc-link:hover .go { transform: translateX(4px); background: var(--ink); color: var(--volt); }
@media (max-width: 1100px) { .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-links { grid-template-columns: 1fr; } .svc-link { min-height: 170px; } }

/* Photo collage */
/* Staggered, mixed-size collage from the Figma "Image Group Bravo" frame (589.5 x 680.7) */
.collage { position: relative; aspect-ratio: 589.5 / 680.7; width: 100%; }
.collage img { position: absolute; border-radius: var(--radius); object-fit: cover; }
.collage .c1 { left: 0; top: 0; width: 50%; height: 43.3%; }
.collage .c2 { left: 53.39%; top: 2.94%; width: 46.61%; height: 40.36%; }
.collage .c3 { left: 3.39%; top: 47.71%; width: 44.91%; height: 38.89%; }
.collage .c4 { left: 51.69%; top: 47.71%; width: 48.31%; height: 52.29%; }
.bw { filter: grayscale(1); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 14px; }
.faq details { border: 2px solid var(--blue); background: var(--paper); color: var(--ink); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: 8px 8px 0 var(--volt); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px; font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%2313040e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq .answer { padding: 0 20px 22px; border-top: 2px solid var(--blue); padding-top: 18px; font-size: 16px; line-height: 1.65; }
.faq .answer p + p { margin-top: .8em; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-layout .sticky { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .sticky { position: static; } }

/* ---------- Testimonials slider ---------- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(300px, calc((100% - 60px) / 3.4), 420px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 14px; justify-content: flex-end; margin-top: 28px; }
.slider__btn { width: 60px; height: 38px; border: 0; background: var(--volt); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.slider__btn:hover { transform: translateY(-2px); }
.slider__btn[disabled] { background: var(--volt-dim); opacity: .6; cursor: default; transform: none; }
.quote-card { border: 2px solid var(--volt); border-radius: var(--radius); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 22px; min-height: 380px; }
.quote-card .qmark { font-family: var(--f-display); font-size: 84px; line-height: .7; color: var(--volt); height: 50px; }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.quote-card figcaption { display: flex; gap: 18px; align-items: center; }
.quote-card .who-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ink-3); }
.quote-card .who { font-family: var(--f-ui); font-size: 16px; line-height: 1.35; }
.quote-card .who strong { display: block; font-weight: 700; text-transform: uppercase; }
@media (max-width: 640px) { .slider__track { grid-auto-columns: 86%; } }

/* ---------- Book a call pre-footer ---------- */
.book { overflow: hidden; }
.book .h-giant { font-size: clamp(48px, 7vw, 96px); line-height: .95; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 48px; }
.book-grid > .video-frame { width: 100%; align-self: start; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: rgba(19, 4, 14, .35); transition: background .3s; pointer-events: none; }
.video-frame:hover::after { background: rgba(19, 4, 14, .15); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--volt); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.play svg { width: 30px; height: 30px; margin-left: 5px; }
.video-frame:hover .play { transform: scale(1.08); }
.play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--volt); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-caption { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: var(--paper); font-family: var(--f-ui); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.book-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 30px); color: var(--ink); display: flex; flex-direction: column; gap: 14px; box-shadow: 10px 10px 0 var(--ink); }
.book-embed { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(19, 4, 14, .12); background: #fff; height: clamp(640px, 78vh, 820px); }
.book-embed::before { content: "Loading the calendar…"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-ui); font-size: 14px; color: rgba(19, 4, 14, .55); }
.book-embed iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.book-embed__alt { font-size: 14px; color: var(--muted-light, #5b5058); }
.book-embed__alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 4px 4px 0 var(--volt); }
.hp-field { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0b7a2b; } .form-status.err { color: #b00020; }
.form .btn { width: 100%; }
.form small { font-size: 13px; color: var(--muted-light); }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 7vw, 96px) 0 28px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 18px; color: var(--muted-dark); max-width: 34ch; }
.footer-contact { margin-top: 22px; display: grid; gap: 6px; font-family: var(--f-ui); font-weight: 600; }
.footer-contact a { text-decoration: none; } .footer-contact a:hover { color: var(--volt); }
.footer-col h2 { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--volt); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--muted-dark); transition: color .2s; }
.footer-col a:hover { color: var(--paper); }
.footer-mark { display: block; margin-top: clamp(48px, 6vw, 80px); width: 100%; height: auto; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 14px; color: var(--muted-dark); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: var(--volt); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
/* Split headline lines */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.line-mask > span { display: block; }
.js .line-mask > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .line-mask > span, .js .line-mask.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .line-mask > span { opacity: 1; transform: none; }
  /* Reels keep scrolling (slower) - many Windows laptops ship with animation effects off. The pause button stops them. */
  .marquee__track { animation-duration: calc(var(--speed, 60s) * 1.5) !important; animation-iteration-count: infinite !important; }
  .reel-item--scroll img, .reel-item--pan img { animation-duration: 20s !important; animation-iteration-count: infinite !important; }
}

/* ---------- Utility bits ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(236, 255, 92, .12); color: var(--volt); font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.s-light .pill { background: var(--ink); color: var(--volt); }
.divider { border: 0; border-top: 1px solid var(--line-dark); margin: 0; }
.s-light .divider { border-top-color: var(--line-light); }
.note-todo { display: none; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.rounded { border-radius: var(--radius); }
.img-cover { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) { :root { --topbar-h: 0px; --nav-h: 68px; } }

/* Looping silent video in a 16:9 frame (no dark overlay) */
.video-frame--loop::after { display: none; }
.video-frame--loop video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Crop a video to the artwork inside it (drops baked-in borders and canvas).
   Set --ar (visible ratio), --vw/--vh (video size as % of the visible box) and --vx/--vy (offset). */
.vcrop { position: relative; overflow: hidden; aspect-ratio: var(--ar); width: 100%; }
.vcrop > video { position: absolute; left: var(--vx); top: var(--vy); width: var(--vw); height: var(--vh); max-width: none; object-fit: fill; display: block; }
/* Phones: give the Bookings frame the panel's full width (its own layout needs ~340px) */
@media (max-width: 560px) {
  .book-embed { margin-inline: calc(-1 * clamp(20px, 2.2vw, 30px)); border-radius: 0; border-inline: 0; height: 720px; }
}

/* Home pillar cards: only title + button until hover; the description slides up over the photo (no layout shift) */
.pillar--lilac { --pbg: var(--lilac); } .pillar--mint { --pbg: var(--mint); } .pillar--sky { --pbg: var(--blue-soft); }
@media (hover: hover) and (pointer: fine) {
  .pillar__body { position: relative; }
  .pillar__body p { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0; padding: 18px 24px 16px; background: var(--pbg); opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
  .pillar:hover .pillar__body p, .pillar:focus-visible .pillar__body p { opacity: 1; transform: none; }
}

/* Mux player: once a video starts, drop the dim overlay and caption */
.video-frame:has(iframe)::after, .video-frame:has(mux-player)::after { display: none; }
.video-frame > mux-player { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; --media-object-fit: cover; }
.play.is-loading { cursor: progress; opacity: .75; }
.video-frame > [hidden] { display: none !important; }
