/* --- css/base/base.css --- */
/* base/base.css — neutral, client-agnostic foundation.
   Brand values live in brand.css (loaded next in the manifest), which remaps
   the semantic slots. Nothing client-specific belongs in this file. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:root {
  /* Neutral ramp (warm gray). The ramp is the only place raw hex lives. */
  --n-0:   #ffffff;
  --n-50:  #f7f6f3;
  --n-100: #efede8;
  --n-200: #e0ddd5;
  --n-300: #c9c5ba;
  --n-500: #8a877e;
  --n-700: #4c4a45;
  --n-900: #1a1917;

  /* Semantic slots — components read THESE, never the ramp directly.
     brand.css points them at client colours; the defaults are DC-neutral. */
  --color-ink:       var(--n-900);
  --color-ink-soft:  var(--n-700);
  --color-surface:   var(--n-0);
  --color-surface-2: var(--n-50);
  --color-surface-3: var(--n-100);
  --color-primary:   var(--n-900);
  --color-accent:    var(--n-700);
  --color-on-accent: var(--n-0);
  --color-line:      var(--n-200);
  --color-error:     #b3261e;   /* form errors; AA on white and the neutral surfaces */

  /* Type slots (brand.css sets the families) */
  --font-sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-heading: var(--font-sans);
  --font-body:    var(--font-sans);

  /* Fluid type scale */
  --text-xs:  0.8125rem;
  --text-s:   0.9375rem;
  --text-m:   clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-l:   clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --text-xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 3vw, 4rem);

  /* Spacing scale — em-based so the whole system scales from one font-size */
  --padding-xl: 12.5em;
  --padding-l:  10em;
  --padding-m:  7.5em;
  --padding-s:  5em;
  --padding-xs: 3.75em;

  /* Gaps */
  --gap-l:  1.875em;
  --gap-m:  1.5em;
  --gap-s:  1em;
  --gap-xs: 0.75em;

  /* Space — element-level spacing between the gap scale (intra-component)
     and the padding scale (section rhythm). Use for content-stack breathing
     room: hero content, intro offsets, in-section blocks. */
  --space-xs: 0.5em;
  --space-s:  1em;
  --space-m:  2em;
  --space-l:  4em;
  --space-xl: 6em;

  /* Radius */
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 24px;

  /* Layout */
  --container-padding: 20px;
  --max-width: 1600px;

  /* Motion — the signature ease lives here AND in main.js (CustomEase 'dc').
     Durations come in multiples of the default so related animations stay
     in rhythm; the --animation-* composites are drop-in transition values. */
  --cubic-default: cubic-bezier(0.625, 0.05, 0, 1);
  --cubic-bounce: linear(0,0.5737 7.6%,0.8382 11.87%,0.9463 14.19%,1.0292 16.54%,1.0886 18.97%,1.1258 21.53%,1.137 22.97%,1.1424 24.48%,1.1423 26.1%,1.1366 27.86%,1.1165 31.01%,1.0507 38.62%,1.0219 42.57%,0.9995 46.99%,0.9872 51.63%,0.9842 58.77%,1.0011 81.26%,1);
  --duration-default: 0.6s;
  --duration-default-half: 0.3s;
  --duration-default-quarter: 0.15s;
  --duration-default-onehalf: 0.9s;
  --duration-default-double: 1.2s;
  --duration-fast: 0.25s;
  --ease-soft: ease-in-out;
  --animation-default: var(--duration-default) var(--cubic-default);
  --animation-default-half: var(--duration-default-half) var(--cubic-default);
  --animation-default-quarter: var(--duration-default-quarter) var(--cubic-default);
  --animation-default-onehalf: var(--duration-default-onehalf) var(--cubic-default);
  --animation-default-double: var(--duration-default-double) var(--cubic-default);
  --animation-ease: 0.2s ease;
  --animation-ease-double: 0.4s ease;
}

/* ------------------------- DC scaling system ----------------------------
   The root font-size is derived from the viewport against the design's
   ideal width, so every em-based measurement in the theme (sections,
   components, nav) scales proportionally between the breakpoint stops.
   16px at 1440w desktop, growing to ~21px at 1920w; each breakpoint
   restates its own design-ideal width. */
:root {
  --size-unit: 16;                /* body font-size at the ideal width, unitless */
  --size-container-ideal: 1440;   /* design ideal width, unitless */
  --size-container-min: 992px;
  --size-container-max: 1920px;
  --size-container: clamp(var(--size-container-min), 100vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));
  --px: calc(var(--size-font) / var(--size-unit));   /* one design px on the scaling system */
}

@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 850;
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 390;
    --size-container-min: 480px;
    --size-container-max: 767px;

    --padding-xl: 10em;
    --padding-l: 7.5em;
    --padding-m: 5em;
    --padding-s: 3.75em;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 390;
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}

body {
  font-size: var(--size-font);
  overscroll-behavior: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Native scrollbars hidden — Lenis owns the scroll experience */
body::-webkit-scrollbar,
html::-webkit-scrollbar { display: none; }
.lenis {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Utilities carried from the legacy layer (the last two survivors) */
.link-overlay a,
a.overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
}
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  max-width: 100%;
  height: auto;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  inset: 0;
}

/* Thin reset — no normalize; this and the resets above are the whole layer */
::selection {
  background-color: var(--color-surface-3);
  text-shadow: none;
}
textarea { resize: none; }
button {
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--size-container);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.container.is--m  { max-width: calc(var(--size-container) * 0.825); }
.container.is--sm { max-width: calc(var(--size-container) * 0.65); }
.container.is--s  { max-width: calc(var(--size-container) * 0.5); }

.main { overflow: clip; }

/* <body> carries .main too. Its overflow spreads to the viewport, and a vertical
   clip there blocks touch scrolling on phones. Clip sideways only. */
body.main {
  overflow: visible;
  overflow-x: clip;
}

/* LiteSpeed Cache lazy-load shim (our hosting stack) */
img[data-lazyloaded] { opacity: 0; }
img.litespeed-loaded { transition: opacity 0.5s linear 0.2s; opacity: 1; }
/* In a WebP <picture> the <source> carries the real image; off-screen slides never get marked loaded */
picture > img[data-lazyloaded] { opacity: 1; }

/* Visually hidden, kept for screen readers */
.u--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Responsive utilities */
.u--show-mobile { display: none; }
@media screen and (max-width: 767px) {
  .u--hide-mobile { display: none; }
  .u--show-mobile { display: block; }
}


/* --- css/base/brand.css --- */
/* base/brand.css — the ONLY file that knows the client.
   THIS version is the DC-neutral default: near-black ink on warm paper, one
   self-hosted variable font, no client colour opinions. A client build
   replaces this file and nothing else.

   The "legacy compat" block remaps the carried Keiki variable names onto the
   neutral tokens; it shrinks away as legacy.css is dismantled. */

/* Gilroy W05: the live digital-creative.com.au typeface, self-hosted from the
   live theme's own files. Regular 400, Medium 500, Bold 700. */
@font-face { font-family: 'Gilroy'; font-weight: 400; font-display: swap;
  src: url('/wp-content/themes/dctheme/fonts/gilroy/b261487c-2966-4089-8551-6555085406ad.woff2') format('woff2'),
       url('/wp-content/themes/dctheme/fonts/gilroy/bf190033-35ff-42cf-b90c-f5321a94a3df.woff') format('woff'); }
@font-face { font-family: 'Gilroy'; font-weight: 500; font-display: swap;
  src: url('/wp-content/themes/dctheme/fonts/gilroy/94b9ba0e-1690-4966-8af8-7d8a1c22c221.woff2') format('woff2'),
       url('/wp-content/themes/dctheme/fonts/gilroy/fd4654af-3e2f-4601-bb81-d6b08f68d9f0.woff') format('woff'); }
@font-face { font-family: 'Gilroy'; font-weight: 700; font-display: swap;
  src: url('/wp-content/themes/dctheme/fonts/gilroy/e62d07e6-5c21-45b8-8427-79c95511907d.woff2') format('woff2'),
       url('/wp-content/themes/dctheme/fonts/gilroy/e667d70b-2326-4c62-8f38-200c31c3b08c.woff') format('woff'); }

/* Instrument Sans stays as the fallback face. */
@font-face {
  font-family: 'InstrumentSans';
  src: url('/wp-content/themes/dctheme/fonts/InstrumentSans-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-sans: 'Gilroy', 'InstrumentSans', ui-sans-serif, system-ui, sans-serif;
  --font-heading: var(--font-sans);
  --font-body: var(--font-sans);

  /* DC site palette, lifted from the live theme.css. brand.css is the
     per-client file: this is the dc-v3 branch's copy, lilac the one accent. */
  --color-primary: #1a1918;
  --color-ink-soft: #3a3935;
  --color-accent:  #bea7f3;
  --color-on-accent: #1a1918;
  --color-surface: #faf8f3;
  --color-surface-2: #efece5;   /* the v3 card tone */
  --color-error: #b4382c;       /* a warmer brick; 5.6:1 on paper, 5.0:1 on the card tone */
  --dc-lilac:  #bea7f3;
  --dc-coral:  #f4978e;
  --dc-yellow: #ffd464;
  --dc-blue:   #aeccfa;
  --dc-sage:   #c8ddcd;
  --dc-neutral:#cdc7c0;

  /* ---- Legacy compat: carried variable names → neutral tokens ---- */
  --theme-color:       var(--color-primary);
  --dark-color:        var(--n-900);
  --light-color:       var(--n-0);
  --green-color:       var(--color-primary);
  --greenlight-color:  var(--n-300);
  --lightgreen-color:  var(--n-300);
  --cream-color:       var(--color-surface-2);
  --grey-color:        var(--color-surface-2);
  --blue-color:        var(--n-700);
  --orange-color:      var(--n-500);
  --brown-color:       var(--n-500);
  --desertsand-color:  var(--n-200);
}

html, body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.5;
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  width: 100%;
  margin: 0 0 0.5em;
}

/* Convention: heading LEVEL is semantic, SCALE is a class — e.g.
   <h1 class="h2"> renders h2-sized. Pick the level for the document
   outline, the class for the design. */
h1, .h1 { font-size: var(--text-2xl); }
h2, .h2 { font-size: var(--text-xl); }
h3, .h3 { font-size: var(--text-l); }
h4, .h4 { font-size: var(--text-m); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }


/* --- css/base/brand-tokens.css --- */
/* base/brand-tokens.css — GENERATED by design-tokens/build-foundations.js from
   design-tokens/foundations.json (Figma OjFIyLiyv8aiozuUK0YdYs, pulled 2026-10-10).
   Do not edit by hand: change the JSON and rebuild. */

:root {
  --px: calc(var(--size-font) / var(--size-unit));

  --radius-none: 0;
  --radius-xs: calc(4 * var(--px));
  --radius-s: calc(6 * var(--px));
  --radius-m: calc(12 * var(--px));
  --radius-l: calc(24 * var(--px));
  --radius-full: 999em;

  --space-00: 0;
  --space-01: calc(2 * var(--px));
  --space-02: calc(4 * var(--px));
  --space-03: calc(8 * var(--px));
  --space-04: calc(12 * var(--px));
  --space-05: calc(16 * var(--px));
  --space-06: calc(24 * var(--px));
  --space-07: calc(32 * var(--px));
  --space-08: calc(48 * var(--px));
  --space-09: calc(64 * var(--px));
  --space-10: calc(80 * var(--px));
  --space-11: calc(96 * var(--px));
  --space-12: calc(128 * var(--px));
  --padding-block: calc(120 * var(--px));
  --padding-content: calc(56 * var(--px));

  --brand-ink: #1a1918;
  --brand-cream: #faf8f3;
  --brand-lilac: #bea7f3;
  --brand-coral: #f4978e;
  --brand-yellow: #ffd464;
  --brand-blue: #aeccfa;
  --brand-sage: #c8ddcd;
  --brand-neutral: #cdc7c0;


  --size-container-ideal: 1920;
  --size-container-min: 1632px;
  --size-container-max: 1920px;
  --container-padding: calc(64 * var(--px));
  --grid-gutter: calc(24 * var(--px));
  --grid-columns: 12;

}

@media screen and (max-width: 1631px) {
  :root {
    --size-font: calc(11.56px + 0.125vw);
  }
}

/* Containers tighten before the tablet layout starts: a flat 36px from
   1200 down (Chris, 6 Oct 2026). */
@media screen and (max-width: 1200px) {
  :root {
    --container-padding: 36px;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --size-font: calc(var(--size-unit) * 0.8px);
    --size-container-ideal: 850;
    --size-container-min: 768px;
    --size-container-max: 991px;
    --container-padding: 36px;
    --grid-gutter: calc(24 * var(--px));
    --grid-columns: 12;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --size-font: calc(var(--size-unit) * 1px);
    --size-container-ideal: 393;
    --size-container-min: 320px;
    --size-container-max: 767px;
    --container-padding: calc(20 * var(--px));
    --grid-gutter: calc(16 * var(--px));
    --grid-columns: 6;

    --radius-l: calc(16 * var(--px));
    --space-08: calc(32 * var(--px));
    --space-09: calc(40 * var(--px));
    --space-10: calc(48 * var(--px));
    --space-11: calc(56 * var(--px));
    --space-12: calc(64 * var(--px));
    --padding-block: calc(64 * var(--px));
    --padding-content: calc(32 * var(--px));
  }
}



/* --- css/base/section-system.css --- */
/* base/section-system.css — section-level layout via data attributes, not
   modifier classes. Kept low-specificity with :where() so block CSS always
   wins without !important.

   data-section-pt / pb : none | s | m | l | xl   (top / bottom padding)
   data-section-bg      : light | dark | theme
   data-theme-section   : light | dark            (text colour coordination)
   Defaults (no attribute): pt = m, pb = m, bg none. */

/* Default rhythm: any .section without explicit attributes gets medium
   padding, so unconverted blocks still breathe. */
:where([class^="section_"]:not([data-section-pt]), [class*=" section_"]:not([data-section-pt])) { padding-top: var(--padding-s); }
:where([class^="section_"]:not([data-section-pb]), [class*=" section_"]:not([data-section-pb])) { padding-bottom: var(--padding-s); }

:where([data-section-pt="none"]) { padding-top: 0; }
:where([data-section-pt="s"])    { padding-top: var(--padding-xs); }
:where([data-section-pt="m"])    { padding-top: var(--padding-s); }
:where([data-section-pt="l"])    { padding-top: var(--padding-m); }
:where([data-section-pt="xl"])   { padding-top: var(--padding-l); }

:where([data-section-pb="none"]) { padding-bottom: 0; }
:where([data-section-pb="s"])    { padding-bottom: var(--padding-xs); }
:where([data-section-pb="m"])    { padding-bottom: var(--padding-s); }
:where([data-section-pb="l"])    { padding-bottom: var(--padding-m); }
:where([data-section-pb="xl"])   { padding-bottom: var(--padding-l); }

:where([data-section-bg="light"]) { background-color: var(--light-color); }
:where([data-section-bg="dark"])  { background-color: var(--dark-color); color: var(--light-color); }
:where([data-section-bg="theme"]) { background-color: var(--theme-color); color: var(--light-color); }

/* Section theming: set once on the <section>, everything inside inherits.
   Dark/primary sections retune the ink + line tokens so nested components
   stay readable without section-specific overrides. */
:where([data-theme-section="light"]) {
  background: var(--color-surface);
  color: var(--color-ink);
}
:where([data-theme-section="tint"]) {
  background: var(--color-surface-2);
  color: var(--color-ink);
}
:where([data-theme-section="dark"]) {
  background: var(--n-900);
  color: var(--n-50);
  /* Mapped aliases: inside a dark section every semantic token is re-pointed,
     so section CSS never needs to know its theme. */
  --color-ink: var(--n-50);
  --color-ink-soft: var(--n-300);
  --color-line: var(--n-700);
  --color-surface: var(--n-900);
  --color-surface-2: var(--n-700);
  --color-surface-3: var(--n-700);
  /* Buttons flip to a light pill so they don't sink into the dark band. */
  --btn-surface: var(--n-0);
  --btn-ink: var(--n-900);
  --btn-arrow-ink: var(--n-900);
  --btn-arrow-surface: var(--n-0);
}
:where([data-theme-section="primary"]) {
  background: var(--color-primary);
  color: var(--n-0);
  --color-ink: var(--n-0);
  --color-ink-soft: var(--n-100);
  --color-line: var(--n-500);
  /* Buttons flip to a light pill so they don't sink into the primary band. */
  --btn-surface: var(--n-0);
  --btn-ink: var(--n-900);
  --btn-arrow-ink: var(--n-900);
  --btn-arrow-surface: var(--n-0);
}

:where(section[data-section-pt], section[data-section-pb], section[data-section-bg]) {
  overflow: visible;
}


/* --- css/base/grid.css --- */
/* base/grid.css — the DC grid system (var-driven, Flip-animatable).
   A grid is: [data-layout-group data-layout-status="large|small"]
     > [data-layout-grid] > [data-layout-grid-collection]
       > .dc-grid[data-layout-grid-list] > .dc-grid__item[data-layout-grid-item]
   Column count + gap live in CSS vars, so layouts swap by attribute and
   js/components/grid-flip.js animates the change with GSAP Flip. */

.dc-grid {
  display: flex;
  flex-flow: wrap;
  column-gap: var(--column-gap, var(--gap-m));
  row-gap: var(--row-gap, var(--gap-l));
  position: relative;
  --columns: 3;
}

.dc-grid__item,
[data-layout-grid-item] {
  will-change: transform;
  position: relative;
  width: calc((100% - (var(--columns) - 1) * var(--column-gap, var(--gap-m))) / var(--columns));
}

[data-layout-status="large"] { --columns: 3; --column-gap: 1.5em; }
[data-layout-status="small"] { --columns: 5; --column-gap: 1em; }

/* Column presets for static grids (no flip needed) */
.dc-grid.is--2 { --columns: 2; }
.dc-grid.is--4 { --columns: 4; }

@media screen and (max-width: 991px) {
  .dc-grid, [data-layout-status] { --columns: 2; }
}
@media screen and (max-width: 479px) {
  .dc-grid, [data-layout-status] { --columns: 1; }
}


/* --- css/base/cols.css --- */
/* base/cols.css — the DC column primitive.

   A generic CSS-grid row that any section can instantiate. Column count and
   per-cell spans are CSS vars, not classes, so one primitive covers 2-col
   image/text, 3-col cards and asymmetric splits without a class per shape.

     <div class="dc-cols" style="--cols:3">
       <div class="dc-col" style="--span:2"> … </div>
       <div class="dc-col"> … </div>
     </div>

   Modes:
     (default)    gapped columns, transparent
     is-divided   hairline rules between cells — the grid paints the line
                  colour and each cell paints surface over it, so dividers
                  need no border maths and stay correct when cells wrap
     is-flush     no gap, no rules

   Not to be confused with .dc-grid (base/grid.css), which is the flex-based
   filterable/Flip collection grid. This one is page layout. */

.dc-cols {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: var(--gap-l);
  width: 100%;
}

.dc-cols > .dc-col {
  grid-column: span var(--span, 1);
  grid-row: span var(--row-span, 1);
  /* Grid items default to min-content; without this, long words and media
     blow the track out instead of shrinking. */
  min-width: 0;
  min-height: 0;
}

.dc-cols.is-divided {
  gap: 1px;
  background-color: var(--color-line);
}

.dc-cols.is-divided > .dc-col {
  background-color: var(--color-surface);
  padding: var(--col-pad, var(--gap-l));
}

.dc-cols.is-flush { gap: 0; }

.dc-cols.is-middle { align-items: center; }

@media screen and (max-width: 767px) {
  .dc-cols { grid-template-columns: 1fr; }
  .dc-cols > .dc-col { grid-column: 1 / -1; }
}


/* --- css/core/nav.css --- */
/* core/nav.css — the DC mega navigation (see js/components/mega-nav.js and
   header.php for the markup contract). Token-driven; recoded from the vault
   reference. Desktop: floating bar + morphing dropdown. Mobile (≤991px):
   burger + slide-over panels. */

:root {
  --nav-height: 4em;
}

.mega-nav {
  z-index: 100;
  position: fixed;
  top: 1.25em;
  left: 1.25em;
  right: 1.25em;
}

.mega-nav__bar {
  z-index: 3;
  background-color: var(--color-surface);
  width: 100%;
  max-width: var(--size-container-max);
  margin-inline: auto;
  position: relative;
}

.mega-nav__container {
  height: var(--nav-height);
  justify-content: space-between;
  align-items: center;
  padding: 1em 1.5em;
  display: flex;
}

.mega-nav__bar-start {
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.mega-nav__bar-logo {
  flex: none;
  max-width: 9em;
  margin-right: 3em;
  display: flex;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.mega-nav__bar-logo img {
  max-height: 2.5em;
  width: auto;
}

.mega-nav__bar-list {
  gap: 0.75em;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
}

.mega-nav__bar-link {
  color: var(--color-ink);
  background-color: transparent;
  border: none;
  border-radius: var(--radius-s);
  justify-content: flex-start;
  align-items: center;
  padding: 0.375em 0.625em;
  text-decoration: none;
  display: flex;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-soft);
}

.mega-nav__bar-link:hover {
  background-color: var(--color-surface-2);
}

.mega-nav__bar-link-label {
  font-size: 0.9375em;
  font-weight: 500;
  line-height: 1.2;
}

.mega-nav__bar-link-icon {
  width: 1.25em;
}

.mega-nav__bar-list.is--utils {
  margin-left: auto;
}

.mega-nav__bar-cta {
  color: var(--color-surface);
  background-color: var(--color-primary);
  border-radius: var(--radius-s);
  justify-content: center;
  align-items: center;
  padding: 0.375em 0.625em;
  text-decoration: none;
  display: flex;
  transition: opacity var(--duration-fast) var(--ease-soft);
}

.mega-nav__bar-cta:hover {
  opacity: 0.85;
}

.mega-nav__bar-cta.is--secondary {
  color: var(--color-ink);
  background-color: transparent;
  border: 1px solid var(--color-line);
}

.mega-nav__bar-cta.is--secondary:hover {
  opacity: 1;
  background-color: var(--color-surface-2);
}

.mega-nav__bar-end {
  gap: 0.75em;
  justify-content: flex-end;
  align-items: center;
  display: none;
}

.mega-nav__burger {
  gap: 0.2em;
  background-color: var(--color-surface-2);
  border: none;
  border-radius: var(--radius-s);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 2.5em;
  height: 2.5em;
  padding: 0;
  display: flex;
  cursor: pointer;
}

.mega-nav__burger-line {
  z-index: 1;
  background-color: var(--color-ink);
  border-radius: 0.125em;
  flex: none;
  width: 1.25em;
  height: 0.125em;
  padding: 0;
  display: block;
  position: relative;
}

.mega-nav__back {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -0.625em;
}

.mega-nav__backdrop {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.25);
  position: fixed;
  inset: 0%;
}

.mega-nav__dropdown-wrapper {
  z-index: 2;
  pointer-events: none;
  width: 100%;
  max-width: var(--size-container-max);
  margin-inline: auto;
  position: absolute;
  top: calc(100% - 0.25em);
  left: 0;
  right: 0;
}

.mega-nav__dropdown-container {
  position: relative;
  overflow: hidden;
}

.mega-nav__dropdown-bg {
  will-change: transform;
  background-color: var(--color-surface);
  border-bottom-right-radius: var(--radius-s);
  border-bottom-left-radius: var(--radius-s);
  position: absolute;
  inset: 0;
}

.mega-nav__dropdown-panel {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  inset: 0 0 auto;
  overflow: hidden;
}

.mega-nav__dropdown-inner {
  display: flex;
}

.mega-nav__panel-col {
  gap: 1.25em;
  border-right: 1px solid var(--color-line);
  flex-flow: column;
  flex: 1;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2.5em 1.5em;
  display: flex;
}

.mega-nav__panel-col:last-of-type {
  border: none;
}

.mega-nav__panel-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  padding-left: 1em;
  font-size: 0.75em;
  line-height: 1;
}

.mega-nav__panel-list {
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.mega-nav__panel-link {
  color: var(--color-ink);
  border-radius: var(--radius-s);
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0.625em 0.75em;
  text-decoration: none;
  display: flex;
  transition: background-color var(--duration-fast) var(--ease-soft);
}

.mega-nav__panel-link:hover {
  background-color: var(--color-surface-2);
}

.mega-nav__panel-link-text {
  font-weight: 500;
}

.mega-nav__panel-link-desc {
  opacity: 0.6;
  font-size: 0.875em;
  font-weight: 400;
}

/* Push the page content below the floating bar by its real resting height
   (bar + the 1.25em it floats down). --nav-offset is that height for this
   page; heroes that sit behind the bar pull up by the same amount.
   html body (0,0,2): WordPress prints a body{padding-top:0} reset in its
   global styles on pages whose content holds blocks, after this bundle. */
html body {
  --nav-offset: calc(var(--nav-height) + 1.25em);
  padding-top: calc(var(--nav-offset) + var(--admin-bar));
}

/* Logged in, WordPress's toolbar sits above the header (functions.php turns
   off its html margin bump). --admin-bar is its height, else 0: the header
   drops by it, the body pads by it, so the page measures the same logged in
   or out. On phones (<=600) the toolbar scrolls with the page, so it is hidden. */
:root { --admin-bar: 0px; }
.admin-bar { --admin-bar: var(--wp-admin--admin-bar--height, 0px); }
.admin-bar .mega-nav { top: calc(1.25em + var(--admin-bar)); }

@media screen and (max-width: 600px) {
  .admin-bar { --admin-bar: 0px; }
  #wpadminbar { display: none; }
}

@media screen and (max-width: 991px) {
  .mega-nav {
    top: 0;
    left: 0;
    right: 0;
  }

  html body { --nav-offset: var(--nav-height); }
  .admin-bar .mega-nav { top: var(--admin-bar); }

  .mega-nav__bar-start {
    justify-content: space-between;
    align-items: center;
  }

  .mega-nav__bar-list {
    gap: 0;
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
  }

  .mega-nav__bar-list.is--actions {
    gap: 1em;
    flex-flow: row;
    justify-content: space-between;
    align-items: stretch;
  }

  .mega-nav__bar-action {
    flex: 1;
  }

  .mega-nav__bar-cta {
    padding: 1em 0.75em 1em 1em;
  }

  .mega-nav__bar-link {
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
    width: 100%;
    padding: 0.75em 0;
    font-size: 1.25em;
    background: none;
  }

  .mega-nav__bar-link.is--dropdown {
    justify-content: space-between;
    align-items: center;
  }

  .mega-nav__bar-link.is--back {
    border-bottom-style: none;
    font-size: 1em;
  }

  .mega-nav__bar-link-label {
    font-size: 1.25em;
  }

  .mega-nav__bar-link-icon {
    width: 1.5em;
  }

  .mega-nav__bar-link-icon.is--dropdown {
    transform: rotate(-90deg);
  }

  .mega-nav__bar-end {
    display: flex;
  }

  .mega-nav__bar-inner {
    opacity: 0;
    bottom: 0%;
    left: 0%;
    right: 0%;
    top: var(--nav-height);
    visibility: hidden;
    background-color: var(--color-surface);
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    padding: 2em 1.5em;
    position: fixed;
    overflow: auto;
  }

  .mega-nav__backdrop {
    display: none;
  }

  .mega-nav__dropdown-wrapper {
    z-index: 4;
    bottom: 0;
    top: var(--nav-height);
    position: fixed;
  }

  .mega-nav__dropdown-container {
    height: 100%;
    overflow: auto;
  }

  .mega-nav__dropdown-bg {
    display: none;
  }

  .mega-nav__dropdown-panel {
    background-color: var(--color-surface);
    bottom: 0;
    overflow: auto;
  }

  .mega-nav__dropdown-inner {
    flex-flow: column;
  }

  .mega-nav__panel-col {
    border-bottom: 1px solid var(--color-line);
    border-right-style: none;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }

  .mega-nav__panel-label {
    width: 100%;
  }
}

@media screen and (min-width: 992px) {
  .mega-nav__bar-inner {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    display: flex;
  }

  /* Utilities/actions cluster to the right; the first right-cluster list
     carries the auto margin so utils + actions stay together. */
  .mega-nav__bar-list.is--actions,
  .mega-nav__bar-list.is--utils { margin-left: auto; }

  .mega-nav__bar-list.is--utils ~ .mega-nav__bar-list.is--actions { margin-left: 0; }
}

@media screen and (max-width: 479px) {
  .mega-nav__bar-link-label {
    font-size: 1em;
  }

  .mega-nav__bar-link-icon {
    width: 1.375em;
  }
}

/* ---------------------------------------------------------------- */
/* Section-aware nav theming (js/components/nav-theme.js — vault
   check-section-theme-on-scroll). data-nav-theme mirrors the section under
   the bar; over dark media the bar goes transparent with light items, and
   hover / open / mobile restores the solid surface. Desktop only — the
   mobile slide-over keeps the solid bar. */

.mega-nav__bar {
  transition: background-color 0.35s ease;
}

.mega-nav__bar-link,
.mega-nav__bar-logo {
  transition: color 0.35s ease;
}

@media (min-width: 992px) {
  [data-nav-theme="dark"] .mega-nav__bar {
    background-color: transparent;
  }

  [data-nav-theme="dark"] .mega-nav__bar-link,
  [data-nav-theme="dark"] .mega-nav__bar-logo {
    color: var(--n-0);
  }

  /* Brand hook: --nav-restore-surface/-ink let brand.css pick the surface
     that fades back in (defaults to the standard tokens). */
  [data-nav-theme="dark"] .mega-nav__bar:hover,
  [data-nav-theme="dark"][data-menu-open="true"] .mega-nav__bar {
    background-color: var(--nav-restore-surface, var(--color-surface));
  }

  [data-nav-theme="dark"] .mega-nav__bar:hover .mega-nav__bar-link,
  [data-nav-theme="dark"] .mega-nav__bar:hover .mega-nav__bar-logo,
  [data-nav-theme="dark"][data-menu-open="true"] .mega-nav__bar-link,
  [data-nav-theme="dark"][data-menu-open="true"] .mega-nav__bar-logo {
    color: var(--nav-restore-ink, var(--color-ink));
  }
}

/* --- css/core/nav-panels.css --- */
/* ACF-driven mega menu panels (template-parts/mega-panel.php).
   Extends css/core/nav.css — the menu-children fallback keeps the styles
   there; everything here is the richer panel anatomy: intro, feature cards,
   icon link groups, card grids (tiles), badges, browse-all links, pills. */

.mega-nav__dropdown-inner.is--acf {
  flex-flow: column;
  gap: var(--gap-l);
  /* Horizontal inset matches the fallback panel columns (and the bar's
     container padding) so panel content aligns with the logo. */
  padding: var(--space-m) 1.5em;
}

.mega-nav__panel-intro { max-width: 40em; }

.mega-nav__panel-intro-title {
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.3;
}

.mega-nav__panel-intro-text {
  margin-top: 0.375em;
  color: var(--color-ink-soft);
}

.mega-nav__panel-row {
  display: flex;
  gap: var(--gap-l);
  align-items: flex-start;
}

.mega-nav__dropdown-inner.is--acf .mega-nav__panel-col {
  border: none;
  padding: 0;
  display: flex;
  flex-flow: column;
  gap: var(--gap-m);
  flex: 1;
}

.mega-nav__dropdown-inner.is--acf .mega-nav__panel-col.is--feature { max-width: 21em; }

.mega-nav__dropdown-inner.is--acf .mega-nav__panel-col.is--groups { gap: var(--gap-l); }

/* Feature card */
.mega-nav__panel-card {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: var(--gap-xs);
  padding: var(--gap-m);
  border-radius: var(--radius-m);
  background-color: var(--color-surface-2);
}

.mega-nav__panel-card-image {
  width: 3.25em;
  height: 3.25em;
  object-fit: cover;
  border-radius: var(--radius-s);
  margin-bottom: var(--gap-s);
}

.mega-nav__panel-card-title {
  font-size: 1.25em;
  font-weight: 600;
}

.mega-nav__panel-card-text {
  font-size: 0.875em;
  color: var(--color-ink-soft);
}

.mega-nav__panel-card-link,
.mega-nav__panel-browse {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  font-size: 0.875em;
  font-weight: 500;
  margin-top: var(--gap-xs);
}

.mega-nav__panel-arrow { width: 1.1em; flex: none; }

/* Rich links under a feature card */
.mega-nav__panel-list.is--rich { gap: var(--gap-s); }

.mega-nav__panel-link.is--rich { padding: 0; }

.mega-nav__panel-link.is--rich:hover { background: none; }

.mega-nav__panel-link.is--rich:hover .mega-nav__panel-link-text { text-decoration: underline; }

.mega-nav__panel-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.65em;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-s);
  background-color: var(--color-surface-3);
}

/* Labelled link groups (optional icons + browse-all) */
.mega-nav__panel-group {
  display: flex;
  flex-flow: column;
  gap: var(--gap-xs);
}

.mega-nav__panel-link.has--icon {
  flex-flow: row;
  align-items: center;
  gap: 0.75em;
  padding: 0.25em 0;
}

.mega-nav__panel-link.has--icon:hover { background: none; }

.mega-nav__panel-link.has--icon:hover .mega-nav__panel-link-text { text-decoration: underline; }

.mega-nav__panel-link-icon {
  width: 1.375em;
  height: 1.375em;
  flex: none;
  object-fit: cover;
  border-radius: 4px;
}

/* Card grid (audience tiles) */
.mega-nav__dropdown-inner.is--acf .mega-nav__panel-col.is--cards {
  display: grid;
  grid-template-columns: repeat(var(--mm-card-cols, 2), 1fr);
  align-items: start;
  gap: var(--gap-s);
  flex: 2;
}

.mega-nav__panel-tile {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-s);
  padding: var(--gap-s) var(--gap-m) var(--gap-s) var(--gap-s);
  border-radius: var(--radius-m);
  background-color: var(--color-surface-2);
  transition: background-color 0.2s ease;
}

.mega-nav__panel-tile:hover { background-color: var(--color-surface-3); }

.mega-nav__panel-tile-image {
  width: 3em;
  height: 3em;
  flex: none;
  object-fit: cover;
  border-radius: var(--radius-s);
}

.mega-nav__panel-tile-body {
  display: flex;
  flex-flow: column;
  gap: 0.25em;
}

.mega-nav__panel-tile-title { font-weight: 600; }

.mega-nav__panel-tile-text {
  font-size: 0.8125em;
  color: var(--color-ink-soft);
}

/* Popular-topic pills */
.mega-nav__panel-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gap-xs);
  padding-top: var(--gap-m);
  border-top: 1px solid var(--color-line);
}

.mega-nav__panel-pills-label {
  font-weight: 600;
  margin-right: var(--gap-xs);
}

.mega-nav__panel-pill {
  padding: 0.4em 1em;
  font-size: 0.875em;
  border: 1px solid var(--color-line);
  border-radius: 100em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mega-nav__panel-pill:hover {
  background-color: var(--color-surface-2);
  border-color: var(--color-ink-soft);
}

/* Bar utilities (region + search stubs) */
.mega-nav__bar-list.is--utils { gap: var(--gap-xs); }

.mega-nav__bar-link.is--util { gap: 0.375em; }

.mega-nav__bar-link-icon.is--util { width: 1.25em; }

/* Mobile: panels stack; grids collapse to one column */
@media (max-width: 991px) {
  .mega-nav__panel-row { flex-flow: column; }

  .mega-nav__dropdown-inner.is--acf .mega-nav__panel-col.is--cards { grid-template-columns: 1fr; }

  .mega-nav__panel-col.is--feature { max-width: none; }

  .mega-nav__panel-pills { justify-content: flex-start; }
}


/* --- css/core/footer.css --- */
/* core/footer.css — footer with the parallax reveal (footer-parallax.js).
   Widget areas + bottom bar carried; styling is DC-neutral dark. */
.footer__wrap { position: relative; overflow: hidden; }
.footer {
  background: var(--n-900); color: var(--n-50);
  --color-ink: var(--n-50); --color-line: var(--n-700);
  padding: var(--padding-s) var(--container-padding) 0;
}
.footer-top-inner {
  display: flex; flex-wrap: wrap; gap: var(--gap-l);
  max-width: var(--size-container); margin-inline: auto;
  padding-bottom: var(--padding-xs);
}
.footer-widget { flex: 1 1 12em; min-width: 10em; font-size: var(--text-s); }
.footer-widget a { color: var(--n-300); transition: color var(--animation-ease); }
.footer-widget a:hover { color: var(--n-0); }
.footer-widget .widget-title { color: var(--n-0); font-size: var(--text-s); margin: 0 0 1em; }
.footer-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-flow: column; gap: 0.5em; }
.footer__wordmark { margin-top: clamp(2rem, 5vh, 3rem); margin-bottom: 1.5rem; color: var(--n-50);
  max-width: var(--size-container); margin-inline: auto; pointer-events: none; }
.footer__wordmark-svg { width: 100%; height: auto; display: block; fill: currentColor; }
.footer-bottom-wrapper { border-top: 1px solid var(--n-700); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--gap-s);
  max-width: var(--size-container); margin-inline: auto;
  padding: 1.25em 0; font-size: var(--text-xs); color: var(--n-300);
}
.footer-bottom-inner a { color: var(--n-0); }
.footer__dark {
  position: absolute; inset: 0; z-index: 2;
  background: var(--n-900); pointer-events: none; opacity: 0;
}


/* --- css/components/pulse.css --- */
/* components/pulse.css: the live dot (a label's "we're open" marker). */
.pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 70%, transparent); animation: dc-ping 2.2s infinite; }
@keyframes dc-ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }


/* --- css/sections/hero.css --- */
/* sections/hero.css — interim full-viewport hero (from the mega-nav demo
   page): cover image behind the floating nav, quiet title bottom-left.
   Replaced by the real DC hero later. */

.section_hero {
  justify-content: flex-start;
  align-items: center;
  min-height: 100svh;
  display: flex;
  position: relative;
  /* The section clips; the oversized bg wrapper is what the parallax moves */
  overflow: clip;
  /* Pull up behind the floating nav (body padding-top offsets it) */
  margin-top: calc(-1 * (4em + 1.25em));
}

/* 110% height gives the parallax room to travel without exposing edges */
.hero__bg {
  z-index: 0;
  pointer-events: none;
  color: #fff;
  isolation: isolate;
  border-radius: 1em;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 110%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  transform: translateX(0);
}

.hero__poster {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__content {
  z-index: 1;
  position: relative;
  padding-block: var(--space-m);
  margin-top: var(--space-l);
}

.hero__title {
  color: var(--n-0);
  margin: 0;
}

@media screen and (max-width: 991px) {
  .section_hero {
    margin-top: -4em;
  }
}

.hero__video,
.hero__bg picture {
  object-fit: cover;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
  padding-right: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.hero__video video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero__video--vimeo {
  overflow: hidden;
}

.hero__video--vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78svh);
  height: max(100svh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Content stack — rylo careers-hero pattern: uppercase eyebrow, tight
   display title, large capped lead, button. All on our tokens. */

.hero__label {
  color: rgb(255 255 255 / 70%);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-s);
  font-weight: 600;
  display: block;
  margin-bottom: 2em;
}

.hero__title {
  max-width: 12em;
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero__text {
  color: var(--n-0);
  max-width: 26em;
  margin-top: 1em;
  font-size: var(--text-l);
  line-height: 1.15;
}

.hero__content .btn-group {
  margin-top: 2em;
}

/* --- css/sections/statement-hero.css --- */
/* sections/statement-hero.css — type-only hero (blocks/statement_hero). */

.statement-hero__labels {
  display: flex;
  justify-content: space-between;
  gap: var(--gap-m);
  flex-wrap: wrap;
  margin-bottom: var(--space-m);
  font-family: ui-monospace, Menlo, monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.statement-hero__title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement-hero__title .is--accent { color: var(--color-accent); }
.statement-hero__title .is--quiet  { opacity: 0.42; }

.statement-hero__lede {
  margin: var(--space-s) 0 0;
  max-width: 52ch;
  font-size: var(--text-l, 1.125rem);
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.statement-hero__buttons { margin-top: var(--space-m); }

@media (max-width: 47.99em) {
  .statement-hero__labels { flex-direction: column; gap: 0.35em; letter-spacing: 0.06em; }
  .statement-hero__labels span { text-wrap: balance; }
}

.statement-hero__title .is--circled { position: relative; display: inline-block; white-space: nowrap; }
.statement-hero__title .is--circled svg { position: absolute; left: -14%; top: -18%; width: 128%; max-width: none; height: 136%; overflow: visible; pointer-events: none; }
.statement-hero__title .is--circled path { fill: none; stroke: var(--color-accent); stroke-width: 0.06em; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* Undrawn until circle-draw.js tweens it in; only when JS is there to do it. */
@media (prefers-reduced-motion: no-preference) { .js .statement-hero__title .is--circled path { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); } }

/* the coordinates span inside a label */
.statement-hero__labels > span > span:not(.pulse) { margin-left: 0.4rem; opacity: 0.6; }
.statement-hero__labels .pulse { margin: 0 0.6rem 0 0; vertical-align: middle; }


/* --- css/sections/video-reel.css --- */
/* sections/video-reel.css: blocks/video_reel. */

.video-reel {
  position: relative;
  isolation: isolate;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: clamp(16px, 1.6vw, 28px);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: 0 30px 60px -30px rgba(26, 25, 24, 0.35);
  will-change: transform;
}
.video-reel.is--narrow { width: 56%; margin-inline: auto; }
.video-reel > video,
.video-reel > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-reel.is--failed .video-reel__toggle { display: none; }

.video-reel__toggle {
  position: absolute;
  right: var(--space-s);
  bottom: var(--space-s);
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-ink) 55%, transparent);
  color: var(--color-surface);
  cursor: pointer;
  transition: background-color 0.2s;
}
.video-reel__toggle:hover { background: color-mix(in srgb, var(--color-ink) 80%, transparent); }
.video-reel__toggle:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-ink);
}
.js .video-reel__toggle { display: grid; }
.video-reel__icon { grid-area: 1 / 1; }
.video-reel__toggle[data-state="playing"] .is--play,
.video-reel__toggle[data-state="paused"] .is--pause { display: none; }

@media (max-width: 61.99em) {
  .video-reel { box-shadow: none; }
  .video-reel.is--narrow { width: 100%; }
}


/* --- css/sections/pill-hero.css --- */
/* sections/pill-hero.css — headline + pills, tinted card, media box
   (blocks/pill_hero). Measured from Figma DGC_841 189:195 at 1920:
   H1 108/1.05, pills 26 in a 55 pill, card 593 wide / 48 padding / 30 text,
   media 16:9 radius 24. Sizes are Figma px times --px so the block follows
   the scale model. */

.section_pill-hero { padding-top: calc(100 * var(--px)); }

.pill-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, calc(593 * var(--px)));
  grid-template-rows: auto auto;
  column-gap: calc(40 * var(--px));
  align-items: start;
}
/* The head is a grid pass-through so the headline takes row 1 and the pills
   share row 2 with the card, whose top lines up with the pills (Figma). */
.pill-hero__head { display: contents; }
.pill-hero__title { grid-column: 1; grid-row: 1; }
.pill-hero__pills { grid-column: 1; grid-row: 2; }
.pill-hero__card  { grid-column: 2; grid-row: 2; }

.pill-hero__title {
  margin: 0;
  font-size: calc(108 * var(--px));
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.pill-hero__pills {
  list-style: none;
  margin: calc(48 * var(--px)) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: calc(16 * var(--px));
}

.pill-hero__pill {
  background: var(--pill);
  color: var(--color-ink);
  font-weight: 500;
  font-size: calc(26 * var(--px));
  line-height: 1;
  padding: calc(14 * var(--px)) calc(24 * var(--px)) calc(15 * var(--px));
  border-radius: 999em;
}

.pill-hero__card {
  background: var(--color-surface-2);
  border-radius: var(--radius-l);
  padding: calc(48 * var(--px));
  align-self: start;
}

.pill-hero__card-title {
  margin: 0 0 0.4em;
  font-size: calc(40 * var(--px));
  line-height: 1.1;
}

.pill-hero__card-text {
  margin: 0;
  font-size: calc(30 * var(--px));
  line-height: 1.27;
  letter-spacing: -0.01em;
}
.pill-hero__card .btn-group { margin-top: calc(28 * var(--px)); }

.pill-hero__media { margin-top: calc(42 * var(--px)); }

.pill-hero__media-inner {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--n-100);
  clip-path: inset(0 round var(--radius-l));
}

.pill-hero__media-inner video,
.pill-hero__media-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 61.99em) {
  .pill-hero__grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: calc(32 * var(--px)); }
  .pill-hero__pills { margin-top: 0; }
  .pill-hero__card { grid-column: 1; grid-row: 3; }
}
@media (max-width: 47.99em) {
  .section_pill-hero { padding-top: calc(40 * var(--px)); }
  .pill-hero__title { font-size: calc(44 * var(--px)); }
  .pill-hero__pill { font-size: calc(16 * var(--px)); padding: calc(9 * var(--px)) calc(16 * var(--px)) calc(10 * var(--px)); }
  .pill-hero__pills { margin-top: calc(24 * var(--px)); gap: calc(10 * var(--px)); }
  .pill-hero__card { padding: calc(24 * var(--px)); }
  .pill-hero__card-text { font-size: calc(18 * var(--px)); line-height: 1.4; }
  .pill-hero__media { margin-top: calc(24 * var(--px)); }
  .pill-hero__media-inner { border-radius: var(--radius-m); clip-path: inset(0 round var(--radius-m)); }
}


/* --- css/sections/service-plates.css --- */
/* sections/service-plates.css — slam heading + coloured plates with animated
   dot icons, word and caption inside the plate (blocks/service_plates). Plates measured
   from the live DC service cards in the Figma at 1920: 426 x 600, radius 24,
   icon 80 at a 44 inset, word 34 bottom-left. */

.service-plates__slam {
  margin: 0;
  font-size: calc(96 * var(--px));
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 14ch;
  text-wrap: balance;
}

.service-plates__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.25rem 3rem;
  margin-bottom: calc(64 * var(--px));
}
.service-plates__aside {
  margin: 0;
  color: var(--color-ink-soft);
  grid-column: 2;
  max-width: 44ch;
  justify-self: end;
}

.service-plates__grid {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: calc(30 * var(--px));
}
.service-plate { display: block; text-decoration: none; color: inherit; }

.service-plate__plate {
  background: var(--plate);
  color: var(--plate-fg);
  border-radius: var(--radius-l);
  aspect-ratio: 426 / 600;
  padding: calc(44 * var(--px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--duration-default, .6s) var(--cubic-default, ease);
}
.service-plate:hover .service-plate__plate { transform: translateY(-4px); }

.service-plate__icon { width: calc(88 * var(--px)); }
/* Static icons (icon_motion off) take the plate's ink too; the files ship with a hard-coded fill. */
.service-plate__icon:not([data-dot-icon]) svg { display: block; width: 100%; height: auto; overflow: visible; }
.service-plate__icon:not([data-dot-icon]) circle { fill: currentColor; }

.service-plate__body { display: flex; flex-direction: column; gap: calc(12 * var(--px)); }

.service-plate__word {
  margin-top: auto;
  font-weight: 500;
  font-size: calc(34 * var(--px));
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.service-plate__cap {
  margin: 0;
  font-size: calc(17 * var(--px));
  line-height: 1.45;
  color: var(--plate-fg);
  opacity: 0.82;
  max-width: 30ch;
}

@media (max-width: 61.99em) {
  .service-plates__head { grid-template-columns: 1fr; }
  .service-plates__aside { grid-column: 1; justify-self: start; }
  .service-plates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-plate__plate { aspect-ratio: 4 / 3; }
}
@media (max-width: 47.99em) {
  .service-plates__slam { font-size: calc(44 * var(--px)); }
  .service-plates__head { margin-bottom: calc(32 * var(--px)); }
  .service-plates__grid { grid-template-columns: 1fr; gap: calc(20 * var(--px)); }
  .service-plate__plate { aspect-ratio: auto; min-height: calc(260 * var(--px)); padding: calc(24 * var(--px)); gap: calc(40 * var(--px)); }
  .service-plate__icon { width: calc(64 * var(--px)); }
  .service-plate__word { font-size: calc(24 * var(--px)); }
  .service-plate__cap { font-size: calc(16 * var(--px)); }
}


/* --- css/sections/client-tiles.css --- */
/* sections/client-tiles.css — work grid as client marks on client colours
   (blocks/client_tiles). Sits on the .dc-cols primitive. */

.client-tiles__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-m);
  flex-wrap: wrap;
  margin-bottom: var(--space-s);
}

.client-tiles__title { margin: 0; }

.client-tiles__all {
  font-family: ui-monospace, Menlo, monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
}
.client-tiles__all:hover { color: var(--color-accent); }

.client-tile { text-decoration: none; color: inherit; display: block; }

.client-tile__plate {
  background: var(--tile-bg);
  color: var(--tile-fg);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.client-tile__logo {
  max-width: 62%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Used until the real logo files land. Deliberately plain: it should read as a
   placeholder standing in for a mark, not as a designed lockup. */
.client-tile__wordmark {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  text-align: center;
}

.client-tile__name {
  display: block;
  margin-top: 0.7em;
  font-size: var(--text-m, 0.95rem);
}

.client-tile__services {
  display: block;
  margin-top: 0.15em;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
}

.client-tile:hover .client-tile__name { color: var(--color-accent); }

/* Stacked one-up, six tiles ran to ~2,000px on a phone. Two-up overrides the
   .dc-cols single-column collapse for this grid only. */
@media screen and (max-width: 767px) {
  .dc-cols.client-tiles__cols { grid-template-columns: repeat(2, 1fr); gap: var(--gap-m); }
  .dc-cols.client-tiles__cols > .dc-col { grid-column: auto; }
  .client-tile__name { font-size: var(--text-s); }
}

/* Media tiles: the recording sits as a screen on the plate, never cropped so
   the site header stays visible. */
.client-tile__plate { border-radius: var(--radius-l); }
.client-tile__plate.has-media {
  padding: clamp(0.9rem, 2.4vw, 1.75rem);
  align-items: flex-start;
}
.client-tile__media {
  width: 100%; height: auto; max-height: 100%;
  display: block; object-fit: cover; object-position: top;
  border-radius: var(--radius-m);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform var(--duration-default, .6s) var(--cubic-default, ease);
}
.client-tile:hover .client-tile__media { transform: scale(1.05); }
.client-tile__plate.has-media { overflow: hidden; }
@media screen and (max-width: 767px) {
  .dc-cols.client-tiles__cols.is-1-mobile { grid-template-columns: 1fr; }
}


/* --- css/sections/work-rail.css --- */
/* sections/work-rail.css: blocks/work_rail. Pinned sideways on desktop (js/components/work-rail.js),
   a two-up swipe row from 600 to 991px, stacked below 600px. */

.section_work-rail { overflow-x: clip; }

.work-rail__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vh, 2.5rem); }
.work-rail__title { margin: 0; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.work-rail__bar { flex: none; width: 11rem; height: 2px; background: var(--color-line); overflow: hidden; }
.work-rail__bar i { display: block; height: 100%; background: var(--color-ink); transform-origin: 0 50%; transform: scaleX(0.02); }

.work-rail__viewport {
  --rail-edge: max(var(--container-padding), calc((100vw - var(--size-container)) / 2 + var(--container-padding)));
  padding-left: var(--rail-edge);
}
.work-rail__track { list-style: none; margin: 0; padding: 0 var(--rail-edge) 1rem 0; display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; }
/* Portrait tiles are 3:4. Width follows the window but is held to the window
   height too, so a short screen still fits the head, tile and caption. */
.work-rail { --rail-tile-w: clamp(14rem, min(24vw, 39vh), 24rem); }
.work-rail__item { width: var(--rail-tile-w); flex: none; }

.work-rail__media { position: relative; display: block; overflow: hidden; border-radius: clamp(12px, 1.1vw, 18px); background: var(--color-surface-2); aspect-ratio: 3 / 4; }
.work-rail__img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.work-rail__item:hover .work-rail__img { transform: scale(1.035); }

.work-rail__link { display: block; color: inherit; text-decoration: none; }
.work-rail__cap { margin-top: 1rem; display: grid; gap: 0.45rem; }
.work-rail__client { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-ink-soft); }
.work-rail__outcome { margin: 0; font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }

.work-rail__item.is--end { width: clamp(14rem, 22vw, 20rem); display: flex; }

/* Landscape 4:3 tiles: wider, about two and a half in view at 1440, held to the
   window height so a short screen still fits the head, tile and caption. */
.work-rail.is--landscape { --rail-tile-w: clamp(17rem, min(36vw, 60vh), 40rem); }
.work-rail.is--landscape .work-rail__item:not(.is--end) { width: var(--rail-tile-w); }
.work-rail.is--landscape .work-rail__media { aspect-ratio: 4 / 3; }
.work-rail.is--landscape .work-rail__all { height: calc(var(--rail-tile-w) * 0.75); }
.work-rail__all { flex: 1; height: calc(var(--rail-tile-w) * 4 / 3); border-radius: clamp(12px, 1.1vw, 18px); background: var(--color-ink); color: var(--color-surface); display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-decoration: none; transition: background-color 0.4s, color 0.4s; }
.work-rail__all i { font-style: normal; font-size: 2.5rem; align-self: flex-end; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.work-rail__all:hover { background: var(--color-accent); color: var(--color-on-accent); }
.work-rail__all:hover i { transform: translateX(8px); }

/* Desktop without the pin (reduced motion, or no script): the row scrolls
   natively so no tile is clipped off by the section's overflow. */
@media (min-width: 62em) {
  .work-rail__viewport { overflow-x: auto; overscroll-behavior-x: contain; }
  .work-rail[data-work-rail="pinned"] .work-rail__viewport { overflow: visible; }
}

/* The section carries is--cursor only while the following "View" cursor runs
   (fine pointer, motion allowed); see js/components/work-rail.js. */
.section_work-rail.is--cursor [data-cursor] { cursor: none; }
.dc-cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; width: 5.2rem; height: 5.2rem; margin: -2.6rem 0 0 -2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-on-accent); font-size: 0.9rem; font-weight: 700; transform: scale(0); opacity: 0; }

@media (max-width: 61.99em) {
  .work-rail__bar { display: none; }
  .work-rail__viewport { padding-inline: var(--container-padding); }
  .work-rail__track { flex-direction: column; width: auto; padding-right: 0; gap: 2.5rem; }
  .work-rail__item, .work-rail__item.is--end { width: 100%; }
  .work-rail__media { aspect-ratio: 3 / 4; }
  .work-rail__all { height: auto; min-height: 10rem; }
  .work-rail.is--landscape .work-rail__item:not(.is--end) { width: 100%; }
  .work-rail.is--landscape .work-rail__media { aspect-ratio: 4 / 3; }
  .work-rail.is--landscape .work-rail__all { height: auto; }
}

/* 600 to 991px: a swipeable row with two tiles in view, snapping tile by tile.
   Below 600px the tiles stack (block above). */
@media (min-width: 37.5em) and (max-width: 61.99em) {
  .work-rail__viewport {
    container-type: inline-size; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--container-padding); scrollbar-width: thin;
  }
  .work-rail__track { flex-direction: row; width: max-content; padding-right: var(--container-padding); gap: 1.25rem; }
  .work-rail__item,
  .work-rail__item.is--end,
  .work-rail.is--landscape .work-rail__item:not(.is--end) { width: calc((100cqi - 1.25rem) / 2); scroll-snap-align: start; }
  .work-rail__all { aspect-ratio: 3 / 4; }
  .work-rail.is--landscape .work-rail__all { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .dc-cursor { display: none; }
}


/* --- css/sections/figures.css --- */
/* sections/figures.css — figures with a sentence each (blocks/figure_row). */

.figures__title { margin: 0 0 var(--space-s); }

.figure { border-top: 1px solid var(--color-line); padding-top: var(--space-s); }

.figure__number {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.figure__body {
  margin: 0.7em 0 0;
  font-size: var(--text-s, 0.875rem);
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 34ch;
}

/* A short title reads as a kicker: small, with the accent dot. */
.figures__title.is--kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--text-s); font-weight: 500; color: var(--color-ink-soft); margin-bottom: var(--space-m); }
.figures__title.is--kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }


/* --- css/sections/qa.css --- */
/* sections/qa.css — question and answer band (blocks/qa_band). */

.qa__title { margin: 0 0 0.35em; max-width: 24ch; }

.qa__intro > :last-child { margin-bottom: var(--space-m); }

.qa__desc {
  margin: 0;
  max-width: 56ch;
  color: var(--color-ink-soft);
}

.qa__title .is--quiet { opacity: 0.45; }

.qa__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--color-ink-soft);
}
.qa__label::before {
  content: "";
  content: "" / "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-ink-soft);
}

/* Inset card: the grid wears the band's theme (render.php) and sits on the page colour. */
.qa__grid.is--card { padding: clamp(2rem, 5vw, 5rem); border-radius: var(--radius-l); }

/* Layout "split": intro on the left and sticky, one column of questions on the right.
   Stacked (default) keeps the intro above the questions in two columns. The sticky top
   clears the floating nav and, logged in, the WordPress toolbar. */
.qa__grid[data-qa-split] {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
}
.qa__grid[data-qa-split] .qa__intro { align-self: start; position: sticky; top: calc(var(--nav-offset) + var(--admin-bar, 0px) + var(--space-m)); }
.qa__grid[data-qa-split] .qa__intro > :last-child { margin-bottom: 0; }
.qa__grid[data-qa-split] .qa__list { grid-template-columns: minmax(0, 1fr); }
.qa__grid[data-qa-split] .qa__list:first-child { grid-column: 1 / -1; }
.qa__grid[data-qa-split] .qa__pair { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0.5rem 2rem; }

.qa__list {
  counter-reset: qa;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap-l);
}

.qa__pair {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: var(--gap-s);
  padding: 0.85em 0;
  border-top: 1px solid var(--color-line);
}

.qa__q {
  display: flex;
  margin: 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.qa__q::before {
  counter-increment: qa;
  content: counter(qa, decimal-leading-zero);
  content: counter(qa, decimal-leading-zero) / "";
  flex: none;
  margin-right: 0.9rem;
  color: var(--color-ink-soft);
}

.qa__a { margin: 0; font-size: var(--text-s, 0.9rem); line-height: 1.6; }

@media (max-width: 61.99em) {
  .qa__list { grid-template-columns: minmax(0, 1fr); }
  .qa__grid[data-qa-split] { grid-template-columns: minmax(0, 1fr); }
  .qa__grid[data-qa-split] .qa__intro { position: static; }
}
@media (max-width: 40.99em) {
  .qa__pair,
  .qa__grid[data-qa-split] .qa__pair { grid-template-columns: minmax(0, 1fr); gap: 0.3em; }
}


/* --- css/sections/intro.css --- */
/* sections/intro.css — large opening statement (blocks/intro_section):
   eyebrow label + big text that colours in on scroll (data-highlight-text). */

.intro__label {
  display: block;
  margin-bottom: var(--space-s);
  color: var(--color-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: 600;
}

.intro__statement {
  max-width: 24em;
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.intro__statement p { margin: 0; }
.intro__statement p + p { margin-top: 0.75em; }


/* --- css/sections/text-block.css --- */
/* sections/text-block.css — freeform prose section (blocks/text_block_section).
   Items stack in a narrow reading column sharing the single-post prose rhythm. */

.text-block__items {
  max-width: 42em;
}

.text-block__prose + .text-block__prose { margin-top: var(--space-m); }

.text-block__prose > p,
.text-block__prose > ul,
.text-block__prose > ol {
  line-height: 1.7;
  margin-block: 0 1.25em;
}

.text-block__prose > :is(h2, h3, h4, h5, h6) {
  margin-block: 1.75em 0.6em;
  letter-spacing: -0.02em;
}

.text-block__prose > :first-child { margin-top: 0; }
.text-block__prose > :last-child { margin-bottom: 0; }

.text-block__prose a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.text-block__prose blockquote {
  margin: 1.75em 0;
  padding-left: 1.25em;
  border-left: 2px solid var(--color-ink);
  font-size: var(--text-l);
  line-height: 1.4;
}


/* --- css/sections/cta.css --- */
/* sections/cta.css — full-width CTA band (blocks/cta_section): dark section,
   optional cover image behind a tint overlay, centred block-intro + buttons. */

.section_cta {
  position: relative;
  overflow: clip;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 55%);
}

.cta__content {
  position: relative;
  z-index: 1;
}

/* Inside the band the intro stack loses its own bottom margin */
.section_cta .block-intro { margin-bottom: 0; }


/* --- css/sections/slider.css --- */
/* The DC slider — token-driven styling for the GSAP loop slider
   (js/components/slider.js), plus the CSS-only mobile carousel.

   .dc-slider markup:
     .dc-slider__wrap > [data-slider="list"] > [data-slider="slide"]*
     .dc-slider__nav  > [data-slider-button="prev"|"next"]              */

.dc-slider .dc-slider__wrap {
  width: 100%;
  overflow: hidden;
}

.dc-slider .dc-slider__list {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  cursor: grab;
}
.dc-slider .dc-slider__list:active { cursor: grabbing; }

.dc-slider .dc-slider__slide {
  aspect-ratio: 3 / 2;
  flex: none;
  width: 28vw;
  padding-inline: calc(var(--gap-m) / 2);
  transition: opacity 0.4s;
  position: relative;
}

.dc-slider .dc-slider__slide-inner {
  border-radius: var(--radius-m);
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.dc-slider .dc-slider__slide-inner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Non-active slides recede */
.dc-slider [data-slider="slide"] { opacity: 0.35; }
.dc-slider [data-slider="slide"].active { opacity: 1; }

/* Nav buttons — corner-frame hover on the signature ease */
.dc-slider .dc-slider__nav {
  display: flex;
  gap: var(--gap-m);
  margin-top: var(--gap-l);
}

.dc-slider .dc-slider__btn {
  color: var(--color-ink);
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-s);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5em;
  height: 3.5em;
  padding: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.475s var(--cubic-default), opacity 0.475s var(--cubic-default);
}

.dc-slider .dc-slider__btn-arrow {
  flex: none;
  width: 1em;
  height: 0.75em;
}
.dc-slider .dc-slider__btn-arrow.next { transform: rotate(180deg); }

.dc-slider .dc-slider__btn-overlay {
  z-index: 2;
  position: absolute;
  inset: -1px;
  transition: transform 0.475s var(--cubic-default), opacity 0.475s var(--cubic-default);
}

.dc-slider .dc-slider__btn-overlay-corner {
  border-top: 1px solid var(--color-ink);
  border-left: 1px solid var(--color-ink);
  border-top-left-radius: var(--radius-s);
  width: 1em;
  height: 1em;
}
.dc-slider .dc-slider__btn-overlay-corner.top-right {
  position: absolute;
  inset: 0% 0% auto auto;
  transform: rotate(90deg);
}
.dc-slider .dc-slider__btn-overlay-corner.bottom-right {
  position: absolute;
  inset: auto 0% 0% auto;
  transform: rotate(180deg);
}
.dc-slider .dc-slider__btn-overlay-corner.bottom-left {
  position: absolute;
  inset: auto auto 0% 0%;
  transform: rotate(-90deg);
}

.dc-slider .dc-slider__btn:hover .dc-slider__btn-overlay { transform: scale(1.4); }
.dc-slider .dc-slider__nav:hover:has(.dc-slider__btn:hover) .dc-slider__btn { opacity: 0.4; }
.dc-slider .dc-slider__btn:hover {
  transform: scale(0.85);
  opacity: 1 !important;
}

@media screen and (max-width: 991px) {
  .dc-slider .dc-slider__slide { width: 60vw; }
}

@media screen and (max-width: 767px) {
  .dc-slider .dc-slider__slide { width: 85vw; }

  /* CSS-only mobile carousel for [data-mobile-carousel] grids
     (hotboxes, team cards, info cards) */
  [data-mobile-carousel] {
    display: flex !important;
    gap: var(--gap-m);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  [data-mobile-carousel]::-webkit-scrollbar { display: none; }
  [data-mobile-carousel] > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

/* Marquee mode (blocks/image_carousel with mode=marquee, js/components/marquee.js) */
.dc-marquee { overflow: hidden; }
.dc-marquee__track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; width: max-content; }
.dc-marquee__item img { height: clamp(1.6rem, 2.4vw, 2.2rem); width: auto; max-width: calc(170 * var(--px)); object-fit: contain; display: block; }
.section_image-slider.is-marquee .dc-marquee { padding-block: calc(16 * var(--px)); }


/* --- css/sections/word-marquee.css --- */
/* sections/word-marquee.css: blocks/word_marquee. Sits on the shared
   .dc-marquee track (slider.css); gap is zeroed because the words carry their
   own padding. */
.section_word-marquee { overflow: clip; }
.word-marquee { overflow: visible; }
.word-marquee__track { gap: 0; white-space: nowrap; }
.word-marquee__word { padding-inline: 0.18em; font-size: clamp(3.5rem, 1rem + 9vw, 10.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.word-marquee__word.is--outline { color: transparent; -webkit-text-stroke: 1.5px var(--color-ink); }
.word-marquee__star { color: var(--color-accent); font-size: clamp(1.4rem, 0.4rem + 3.6vw, 4.2rem); padding-inline: 0.35em; font-weight: 400; }


/* --- css/sections/testimonial.css --- */
/* sections/testimonial.css: blocks/testimonial. */
.testimonial { margin: 0; }
.testimonial__quote { margin: 0; font-size: clamp(1.7rem, 0.9rem + 2.6vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; max-width: 26ch; text-wrap: pretty; }
.testimonial__quote .w { opacity: 0.16; }
.testimonial__by { margin-top: 2rem; display: flex; align-items: center; gap: 1.25rem; color: var(--color-ink-soft); }
.testimonial__by b { color: var(--color-ink); }
.testimonial__logo { display: block; flex: none; color: var(--color-ink); padding-right: 1.25rem; border-right: 1px solid var(--color-line); }
.testimonial__logo svg, .testimonial__logo img { height: 1.7rem; width: auto; fill: currentColor; display: block; }
@media (prefers-reduced-motion: reduce) { .testimonial__quote .w { opacity: 1; } }


/* --- css/sections/contact-band.css --- */
/* sections/contact-band.css: blocks/contact_band. The live dot is components/pulse.css. */
.contact-band__label { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; font-size: var(--text-s); font-weight: 500; color: var(--color-ink-soft); }
.contact-band__title { margin: 0; font-size: clamp(3rem, 1rem + 7.4vw, 9.5rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.06em; max-width: 12ch; overflow-wrap: break-word; }
.contact-band__row { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: clamp(2rem, 5vh, 3rem); }
.contact-band__mail { margin: 0; color: var(--color-ink-soft); }
.contact-band__mail a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }


/* --- css/sections/image-text.css --- */
/* sections/image-text.css — two-up media + copy.

   Owns no layout of its own: the columns come from .dc-cols (base/cols.css).
   This file only styles what is specific to the section — the media framing
   and the copy stack. section_video-text shares it wholesale.

   Markup: blocks/image_text_block_section/render.php
     section.section_image-text[.is-image-right]
       > .container
         > .block-intro (optional)
         > .dc-cols.image-text__cols
           > .dc-col.image-text__media
           > .dc-col.image-text__body */

.image-text__cols { --cols: 2; }

/* Image right = swap the visual order only; DOM order stays media-first so
   the copy reads after the image on mobile regardless of the setting. */
.section_image-text.is-image-right .image-text__media { order: 2; }

.image-text__media { position: relative; }

.image-text__media img {
  width: 100%;
  border-radius: var(--radius-m);
}

/* Video variant (section_video-text): play button over the poster */
.image-text__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5em;
  height: 4.5em;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-ink);
  background-color: var(--color-surface);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--duration-default-half) var(--cubic-default);
}

.image-text__play:hover { transform: scale(1.1); }

.image-text__play svg { width: 40%; }

.image-text__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-s);
}

.image-text__icon img {
  width: 3em;
  height: auto;
}

.image-text__body > :is(h1, h2, h3, h4, h5, h6) { margin: 0; }

.image-text__text > :first-child { margin-top: 0; }
.image-text__text > :last-child  { margin-bottom: 0; }

.image-text__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
  margin-top: var(--gap-xs);
}

@media screen and (max-width: 767px) {
  .section_image-text.is-image-right .image-text__media { order: 0; }
}


/* --- css/sections/hotboxes.css --- */
/* sections/hotboxes.css — icon cards on .dc-cols.
   Markup: blocks/hotbox_section/render.php
     section_hotboxes > .container
       > .block-intro (optional)
       > .dc-cols.hotboxes__cols[--cols] > .dc-col.hotbox
       > .btn-group.hotboxes__buttons (optional) */

.hotbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-xs);
  padding: var(--gap-l);
  background-color: var(--color-surface-2);
  border-radius: var(--radius-m);
}

.hotbox__icon img {
  width: 3em;
  height: 3em;
  object-fit: contain;
}

.hotbox__title {
  margin: 0;
  font-size: var(--text-l);
}

.hotbox__subtitle {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: var(--text-s);
}

.hotbox__text p { margin: 0; }

.hotbox__link { margin-top: auto; padding-top: var(--gap-s); }

.hotboxes__buttons { margin-top: var(--gap-l); }


/* --- css/sections/info-cards.css --- */
/* sections/info-cards.css — linked cards on .dc-cols.
   Markup: blocks/info_cards/render.php
     section_info-cards > .container
       > .block-intro (optional)
       > .dc-cols.info-cards__cols[--cols] > .dc-col.info-card
   The whole card is clickable (info-card__link stretch link); the corner
   arrow nudges on hover. */

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  padding: var(--gap-l);
  background-color: var(--color-surface-2);
  border-radius: var(--radius-m);
  transition: background-color var(--duration-default-half) var(--cubic-default);
}

.info-card:hover { background-color: var(--color-surface-3); }

.info-card__title {
  margin: 0;
  font-size: var(--text-l);
  padding-right: 2em; /* clear the corner arrow */
}

.info-card__text {
  margin: 0;
  color: var(--color-ink-soft);
}

.info-card__arrow {
  position: absolute;
  top: var(--gap-l);
  right: var(--gap-l);
  width: 1.25em;
  color: var(--color-ink);
  transition: transform var(--duration-default-half) var(--cubic-default);
}

.info-card__arrow svg { width: 100%; display: block; }

.info-card:hover .info-card__arrow { transform: translate(0.15em, -0.15em); }

/* Stretch link: covers the card */
.info-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }


/* --- css/sections/image-block.css --- */
/* sections/image-block.css — image gallery grid on .dc-cols.
   Markup: blocks/image_block_section/render.php
     section_image-block > .container
       > .block-intro (optional)
       > .dc-cols.image-block__cols[--cols] > .dc-col.image-block__item
       > .btn-group (optional) */

.image-block__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.image-block__buttons { margin-top: var(--gap-l); }


/* --- css/sections/video-block.css --- */
/* sections/video-block.css — full-width autoplaying video band
   (blocks/video_block_section). */

.video-block__media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-l);
  display: block;
}

.video-block__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
  margin-top: var(--gap-l);
}

.video-block__caption {
  max-width: 36em;
  color: var(--color-ink-soft);
}

.video-block__caption p { margin: 0; }


/* --- css/sections/video-wall.css --- */
/* sections/video-wall.css — full-viewport band with floating video cards on a
   cursor-parallax stage (blocks/video_wall). JS (components/video-wall.js)
   owns stage + card transforms and the FLIP top/left/width/height inline
   values; this sheet supplies the layout, the .is-animating transition the
   FLIP rides on, and the <768px inline-slider fallback. */

.section_video-wall {
  position: relative;
  overflow: hidden;
}

/* The wall proper. In hero-intro mode it sits below a 100svh hero. */
.video-wall__wall {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wall__stage-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ——— Hero intro (optional): full-bleed video that FLIP-shrinks into card 1 ——— */

.video-wall__hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wall__hero-media {
  position: absolute;
  inset: 0;
}

/* The FLIP target. GSAP owns x/y/width/height between hero and slot; the
   0.001deg rotate forces GPU rasterising so the scrub stays subpixel-smooth
   (Osmo scaling-element recipe). Radius matches the cards so the shrink
   reads as becoming one of them. */
.video-wall__flip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  will-change: transform;
  transform: translateX(0) rotate(0.001deg);
  z-index: 3; /* above wall text while in transit */
}

.video-wall__flip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Parked inside card 1: fills the card, card owns interaction again. */
.video-wall__flip.is-docked {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
}

.video-wall__hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.55));
  pointer-events: none;
  z-index: 4;
}

.video-wall__hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-s);
}

.video-wall__hero-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125em;
  color: var(--n-50);
}

.video-wall__hero-title {
  color: var(--n-0);
  margin: 0;
}

/* The destination card is invisible until the video docks into it — the
   video flying in IS the card; a visible empty box reads as a glitch. */
.video-wall__card.is-flip-slot:not(.is-docked) { background: transparent; }
.video-wall__card.is-flip-slot .video-wall__play { opacity: 0; }
.video-wall__card.is-flip-slot.is-docked.is-active .video-wall__play { opacity: 1; }

/* Oversized stage, centred; % translate resolves to px and JS reads that
   resolved value as the parallax base. */
.video-wall__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 100%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.video-wall__content {
  position: relative;
  z-index: 1;
}

/* ——— Cards ——— */

.video-wall__card {
  position: absolute;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface-2);
  opacity: 0; /* staggered load-in fade; JS transitions to 1 */
  will-change: transform;
}

.video-wall__card:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

/* Placement + size tiers by repeater index. Tuned to ring the centred intro
   the way the reference does: two large anchors top, mid-size flanks, small
   fills. Positions are % of the 150%-wide stage. */
.video-wall__card.is-1 { width: 15%; left: 24%; top: 4%; }
.video-wall__card.is-2 { width: 30%; left: 67%; top: -10%; }
.video-wall__card.is-3 { width: 25%; left: 12%; top: 80%; }
.video-wall__card.is-4 { width: 16%; left: 75%; top: 60%; }
.video-wall__card.is-5 { width: 12%; left: 60%; top: 85%; }
.video-wall__card.is-6 { width: 12%; left: 16%; top: 32%; }

.video-wall__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wall__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.5em;
  height: 2.5em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--n-0);
  opacity: 0;
  transition: opacity 0.25s;
}

.video-wall__play svg { width: 1em; height: 1em; }

.video-wall__card.is-active .video-wall__play { opacity: 1; }

/* The cursor-nearest card lifts above the intro text. */
.video-wall__card.is-active { z-index: 2; }

/* ——— FLIP transit ——— */

/* While flying between stage and lightbox the card is pinned to the viewport;
   JS sets inline top/left/width/height and this transition animates them. */
.video-wall__card.is-animating {
  position: fixed;
  z-index: 1002;
  margin: 0;
  opacity: 1;
  transition:
    top    0.55s cubic-bezier(0.625, 0.05, 0, 1),
    left   0.55s cubic-bezier(0.625, 0.05, 0, 1),
    width  0.55s cubic-bezier(0.625, 0.05, 0, 1),
    height 0.55s cubic-bezier(0.625, 0.05, 0, 1);
}

/* Parked in the lightbox slot. */
.video-wall__card.is-lightboxed {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  cursor: default;
}

.video-wall__card.is-lightboxed .video-wall__play { display: none; }

.video-wall__card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— Lightbox ——— */

.video-wall__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}

.video-wall__lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s;
}

.video-wall__lightbox-inner {
  width: min(70vw, 142svh); /* 16:9 capped at ~80svh tall */
}

.video-wall__lightbox-slot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: opacity 0.4s;
}

.video-wall__lightbox-slot.is-leaving,
.video-wall__lightbox-name.is-leaving { opacity: 0; }

.video-wall__lightbox-slot.is-entering,
.video-wall__lightbox-name.is-entering { opacity: 0; transition: none; }

.video-wall__lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
  margin-top: var(--gap-s);
  color: var(--n-50);
}

.video-wall__lightbox-name {
  font-size: 0.9375em;
  color: var(--n-300);
  transition: opacity 0.4s;
}

.video-wall__lightbox-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}

.video-wall__lightbox-story {
  font-size: 0.9375em;
  color: var(--n-50);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  margin-right: var(--gap-s);
}

.video-wall__lightbox-story[href=""],
.video-wall__lightbox-story:not([href]) { display: none; }

.video-wall__lightbox-btn {
  width: 2.25em;
  height: 2.25em;
  display: grid;
  place-items: center;
  border: 1px solid var(--n-700);
  border-radius: 50%;
  background: transparent;
  color: var(--n-50);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.video-wall__lightbox-btn:hover {
  background: var(--n-0);
  color: var(--n-900);
}

.video-wall__lightbox-btn svg { width: 1em; height: 1em; }

/* ——— Reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  .video-wall__card.is-animating,
  .video-wall__lightbox,
  .video-wall__lightbox-slot,
  .video-wall__lightbox-name { transition: none; }
}

/* ——— Mobile fallback (<768px): inline poster slider ——— */

@media (max-width: 767px) {
  .video-wall__wall {
    flex-direction: column;
    justify-content: center;
    gap: var(--space-m);
    min-height: 0;
    padding-block: var(--space-l);
  }

  /* Hero: static full-bleed video, no FLIP (the scrub is desktop-only). */
  .video-wall__hero { height: 70svh; }

  .video-wall__stage-wrap { display: none; }

  /* JS re-mounts the lightbox in flow and keeps it open as a slider. */
  .video-wall__lightbox {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    background: none;
    opacity: 1;
    visibility: visible;
    padding-inline: var(--container-pad, 5vw);
  }

  .video-wall__lightbox-inner { width: 100%; }

  .video-wall__card { opacity: 1; }

  /* Close is a no-op on mobile — the slider is permanently open. */
  .video-wall__lightbox-btn[data-vw="close"] { display: none; }
}


/* --- css/sections/stacking-cards.css --- */
/* sections/stacking-cards.css — osmo 'Stacking Cards 3D (CSS)', DC recode.
   Markup: blocks/stacking_cards/render.php
     section_stacking-cards > .container
       > .block-intro (optional)
       > .card-stack > .card-stack__item > .card-stack__inner
                        > .card-stack__top (title + body) + .card-stack__media

   HOW IT WORKS — no JS at all:
   1. .card-stack is a grid with one --stack-row-tall row per card. That row is
      pure scroll distance; the card itself is shorter and position:sticky, so
      each card parks at --stack-top while its row scrolls past.
   2. .card-stack carries view-timeline-name, so every card can animate against
      the STACK's progress through the viewport rather than its own.
   3. Each card's animation-range is offset by its index (--stack-i), so card N
      only tilts away while card N+1 is sliding over it. The last card never
      animates — nothing arrives to cover it.

   TUNING — everything below is a knob, change it on .card-stack (or per
   section via an inline style) and nothing else needs to move:
     --stack-row         scroll distance per card (the "dwell")
     --stack-top         where a parked card sits from the top
     --stack-perspective 3D depth: lower = more dramatic tilt
     --stack-rotate      how far a covered card lies back
     --stack-scale       how far it shrinks
     --stack-dim         how far it darkens (1 = no dimming)

   SUPPORT: scroll-driven animations are Chrome/Edge 115+ and Safari 26+.
   Elsewhere (Firefox today) the @supports block is skipped and the cards still
   stack as plain sticky cards — flat, but correct. Same for reduced-motion. */

.card-stack {
  --stack-row: 100svh;
  --stack-top: 10svh;
  --stack-card-height: calc(var(--stack-row) - 2 * var(--stack-top));

  --stack-card-pad: var(--gap-l);

  --stack-perspective: 60em;
  --stack-rotate: 25deg;
  --stack-scale: 0.85;
  --stack-dim: 0.45;

  display: grid;
  grid-auto-rows: var(--stack-row);
  width: 100%;
  max-width: 60em;
  margin-inline: auto;
  position: relative;
  view-timeline-name: --card-stack;
}

.card-stack__item {
  position: sticky;
  top: var(--stack-top);
  height: var(--stack-card-height);
  padding: var(--stack-card-pad);
  border-radius: var(--radius-l);
  overflow: hidden;
  transform-origin: 50% 100%;
  background-color: var(--card-bg, var(--color-surface-2));
  color: var(--card-ink, var(--color-ink));
}

.card-stack__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--gap-l);
  height: 100%;
}

.card-stack__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-m);
  align-items: end;
}

.card-stack__title {
  margin: 0;
  max-width: 8em;
  font-size: var(--text-xl);
}

.card-stack__text { margin: 0; }
.card-stack__text > p:last-child { margin-bottom: 0; }
.card-stack__body { display: flex; flex-direction: column; gap: var(--gap-s); }

.card-stack__media {
  flex: 1;
  min-height: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.card-stack__image,
.card-stack__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Index for the per-card animation offset. sibling-index() is the real answer;
   the nth-child ladder is the fallback for browsers without it. */
.card-stack__item:nth-child(1) { --stack-i: 1; }
.card-stack__item:nth-child(2) { --stack-i: 2; }
.card-stack__item:nth-child(3) { --stack-i: 3; }
.card-stack__item:nth-child(4) { --stack-i: 4; }
.card-stack__item:nth-child(5) { --stack-i: 5; }
.card-stack__item:nth-child(6) { --stack-i: 6; }
.card-stack__item:nth-child(7) { --stack-i: 7; }
.card-stack__item:nth-child(8) { --stack-i: 8; }

@supports (width: calc(sibling-index() * 1px)) {
  .card-stack__item { --stack-i: sibling-index(); }
}

@supports (animation-timeline: view()) {
  .card-stack__item {
    animation: card-stack-away linear forwards;
    animation-timeline: --card-stack;
    animation-range:
      exit-crossing calc(var(--stack-i, 1) * var(--stack-row) - 100svh)
      exit-crossing calc(var(--stack-i, 1) * var(--stack-row) - var(--stack-top));
  }
  /* Nothing covers the last card, so it never recedes. */
  .card-stack__item:last-child { animation: none; }
}

@keyframes card-stack-away {
  to {
    transform: perspective(var(--stack-perspective)) rotateX(var(--stack-rotate)) scale(var(--stack-scale));
    filter: brightness(var(--stack-dim));
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-stack__item { animation: none; }
}

@media screen and (max-width: 767px) {
  .card-stack {
    --stack-row: 90svh;
    --stack-top: 5svh;
    --stack-card-pad: var(--gap-m);
  }
  .card-stack__top { grid-template-columns: 1fr; }
  .card-stack__title { max-width: none; font-size: var(--text-l); }
}

/* ---- Variant: is--fanned ------------------------------------------------
   No fall-away. Each card pins one --stack-offset LOWER than the one before,
   and loses the same amount of height, so every card's bottom edge lands on
   the same line while its top steps down — the previous card's title stays
   readable above the new one, like a fanned deck.

   --stack-offset is the peek: make it the height of a card title plus its
   padding. The animation is switched off here, so 3D tilt and fanning are
   alternatives, not a stack you can combine. */

.card-stack.is--fanned { --stack-offset: 3.5em; }
/* Split cards know their title size, so the peek is exactly the card padding, the
   title's first line and a little air (Locale Homes' rule). */
.card-stack.is--fanned.is--split { --stack-offset: calc(var(--stack-card-pad) + var(--stack-title-size) * var(--stack-title-lh) + 1rem); }

.card-stack.is--fanned .card-stack__item {
  top: calc(var(--stack-top) + (var(--stack-i) - 1) * var(--stack-offset));
  height: calc(var(--stack-card-height) - (var(--stack-i) - 1) * var(--stack-offset));
  animation: none;
}

@media screen and (max-width: 767px) {
  .card-stack.is--fanned { --stack-offset: 2.75em; }
}

/* ---- Variant: is--flat ---------------------------------------------------
   A sticky pile with no CSS fall-away. Each card parks a step lower than the
   one before; stacking-cards-flat.js scales and dims the card beneath as the
   next one slides over it. The item is only the sticky shell, so the surface
   (border, shadow, radius, colour) sits on __inner and nothing clips it. */

.card-stack.is--flat {
  display: block;
  max-width: none;
  view-timeline-name: none;
}

.card-stack.is--flat .card-stack__item {
  top: calc(6rem + (var(--stack-i, 1) - 1) * 1.25rem + var(--admin-bar, 0px));
  height: auto;
  margin-bottom: 1.25rem;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background-color: transparent;
  animation: none;
  transform-origin: 50% 0;
  will-change: transform;
}

.card-stack.is--flat .card-stack__item:last-child { margin-bottom: 0; }

/* Title-over-media cards: the media needs a definite height or the card outgrows the viewport. */
.card-stack.is--flat .card-stack__media {
  flex: none;
  height: min(34vh, 20rem);
}

.card-stack.is--flat .card-stack__inner {
  height: auto;
  min-height: min(60vh, 32rem);
  padding: clamp(1.6rem, 3vw, 3rem);
  border: 1px solid var(--color-line);
  border-radius: calc(28 * var(--px));
  box-shadow: 0 -16px 40px -28px rgba(26, 25, 24, 0.5);
  background-color: var(--card-bg, var(--color-surface-2));
  color: var(--card-ink, var(--color-ink));
}

/* ---- Variant: is--osmo ---------------------------------------------------
   The vault's Stacking Cards Parallax on these cards: plain document flow, no
   sticky. Each card is about a viewport tall and tucks up under the one before
   by its corner radius; stacking-cards-parallax.js drifts the covered card
   DOWN (yPercent 0 to 50) while the next one slides over it. No fade, no
   scale. Only the last card rounds its bottom corners: a covered card drifts
   down behind the next one, and a rounded corner would show it through. */

.card-stack.is--osmo {
  --stack-radius: calc(28 * var(--px));
  display: flex;
  flex-direction: column;
  max-width: none;
  view-timeline-name: none;
}

.card-stack.is--osmo .card-stack__item {
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100svh;
  margin-top: calc(-1 * var(--stack-radius));
  /* A card is only ever fully in view with its top at the top of the window, under the nav. */
  padding: calc(var(--nav-offset, 5rem) + clamp(1rem, 4vh, 2.5rem)) clamp(1.6rem, 4vw, 4rem) clamp(1.6rem, 6vh, 4rem);
  border-radius: var(--stack-radius) var(--stack-radius) 0 0;
  animation: none;
}

.card-stack.is--osmo .card-stack__item:first-child { margin-top: 0; }
.card-stack.is--osmo .card-stack__item:last-child { border-radius: var(--stack-radius); }
.card-stack.is--osmo .card-stack__inner { flex: 1; height: auto; }
.card-stack.is--osmo .card-stack__media { flex: 1; min-height: 40svh; }

/* Split: title top left, the link under it at the foot, text and checklist at the foot right. */
.card-stack.is--osmo.is--split .card-stack__inner { align-items: stretch; }
.card-stack.is--osmo.is--split .card-stack__body { align-self: end; }

/* ---- Layout: is--split ---------------------------------------------------
   Title and link left, text and checklist right. */

.card-stack.is--split .card-stack__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.card-stack.is--split .card-stack__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-content: space-between;
  align-self: stretch;
}

.card-stack.is--split {
  --stack-title-size: clamp(2rem, 1.2rem + 2.4vw, 4rem);
  --stack-title-lh: 1;
}

.card-stack.is--split .card-stack__title {
  max-width: none;
  font-size: var(--stack-title-size);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: var(--stack-title-lh);
  text-wrap: balance;
}

.card-stack.is--split .card-stack__link { justify-self: start; }

.card-stack.is--split .card-stack__body {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.card-stack.is--split .card-stack__text {
  max-width: 40ch;
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
}

.card-stack__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.card-stack__list li { display: flex; gap: 0.6rem; align-items: baseline; }
.card-stack__list li::before { content: "\2713"; content: "\2713" / ""; font-weight: 700; }

@media (max-width: 61.99em) {
  .card-stack.is--split .card-stack__inner { grid-template-columns: 1fr; min-height: 0; }
  .card-stack.is--osmo.is--split .card-stack__inner { grid-template-rows: 1fr auto; }
  .card-stack.is--osmo.is--split .card-stack__top { align-content: start; }
}

/* Fanned split cards keep everything but the title out of the peek: text and
   checklist sit at the card's foot, the link at the foot of the left column
   (one column: title, then text and checklist at the foot, then the link). */
/* safe: content taller than the card spills downward, where it can be measured. */
.card-stack.is--fanned.is--split .card-stack__body { align-self: end; align-self: safe end; }
@media (max-width: 61.99em) {
  .card-stack.is--fanned.is--split .card-stack__inner { grid-template-rows: auto 1fr auto; gap: 1.25rem; }
  .card-stack.is--fanned.is--split .card-stack__top { display: contents; }
  .card-stack.is--fanned.is--split .card-stack__link { order: 1; }
}

/* ---- Layout: split with media (.has--media) --------------------------------
   Title, text, checklist and link down the left column, a muted loop (or the
   image) filling the right. One column: the media is dropped, it is decorative. */

.card-stack.is--split .card-stack__item.has--media .card-stack__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.card-stack__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0; }
.card-stack__copy .card-stack__list { align-self: stretch; }
.card-stack__copy .card-stack__link { margin-top: auto; }
.card-stack__item.has--media .card-stack__media { flex: none; height: 100%; min-height: 0; }
.card-stack__video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A video keeps its own shape: full frame, no crop, no bars. The box fills
   the right column (its row is the card's height) and the video sizes to the
   largest frame that fits it, top right, with the box's radius on its corners.
   --media-ratio and the <video> width/height come from the poster, so the
   shape holds before the video loads. */
.card-stack.is--split .card-stack__item.has--media .card-stack__inner:has(> .card-stack__media.is--video) { grid-template-rows: minmax(0, 1fr); }
.card-stack__item.has--media .card-stack__media.is--video {
  align-self: stretch;
  height: auto;
  container-type: size;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: visible;
  background: none;
}
.card-stack__media.is--video .card-stack__video {
  width: min(100cqw, 100cqh * var(--media-ratio, 16 / 9));
  height: auto;
  border-radius: inherit;
}
@media (max-width: 61.99em) {
  .card-stack.is--split .card-stack__item.has--media .card-stack__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .card-stack__item.has--media .card-stack__media { display: none; }
}

/* ---- Option: sticky intro ([data-stack-sticky], .has--sticky-intro) ---------
   The cards sit in a normal stack --stack-flow-gap (20px) apart and, as each
   reaches the top, stick one --stack-offset lower than the one before, so the
   parked titles fan out. Cards are capped at --stack-card-max and shrink on a
   short window so their bottoms line up.
   Each card sits in its own .card-stack__slot. A sticky card lets go when its
   containing block ends, so equal-height cards in one container would leave
   one by one, the last first, sliding over the others. The script lengthens
   each slot (--slot-extend, an ::after, cancelled in flow by a negative
   margin) so every card lets go at the same scroll, --stack-dwell after the
   last one parks.
   With .has--sticky-intro the block intro sticks under the nav too and the
   cards park below it. js/components/stacking-cards-intro.js measures the
   intro (--stack-intro-h, its margin --stack-intro-gap) and the tail
   (--stack-tail: first parked top to last parked bottom plus the gap). The
   stack's negative bottom margin of one tail ends the intro's containing block
   (the .container, a flow root so the margin cannot collapse through it)
   exactly where the cards let go; the section's bottom padding gives the space
   back. If a card's content would clip under the stuck intro (a short window)
   the script drops the class and the cards park under the nav. */

@property --stack-dwell { syntax: "<length>"; inherits: true; initial-value: 0px; }

.section_stacking-cards[data-stack-sticky] .card-stack {
  --stack-top: calc(var(--nav-offset, 5rem) + var(--admin-bar, 0px) + 1rem);
  --stack-card-height: calc(100svh - var(--stack-top) - 1rem);
  display: flex;
  flex-direction: column;
}

.card-stack__slot::after { content: ""; display: block; height: var(--slot-extend, 0px); }
.card-stack__slot:not(:last-child) { margin-bottom: calc(-1 * var(--slot-extend, 0px)); }

.section_stacking-cards[data-stack-sticky] .card-stack.is--fanned .card-stack__item {
  height: min(var(--stack-card-max, 100svh), calc(var(--stack-card-height) - (var(--stack-i) - 1) * var(--stack-offset)));
  margin-bottom: var(--stack-flow-gap, 20px);
}

.section_stacking-cards.has--sticky-intro {
  --stack-pin: calc(var(--nav-offset, 5rem) + var(--admin-bar, 0px));
  padding-bottom: var(--stack-tail, 0px);
}

.section_stacking-cards.has--sticky-intro > .container { display: flow-root; }

.section_stacking-cards.has--sticky-intro .block-intro {
  position: sticky;
  top: var(--stack-pin);
  padding-top: clamp(0.5rem, 2vh, 1rem);
}

.section_stacking-cards.has--sticky-intro .card-stack {
  --stack-top: calc(var(--stack-pin) + var(--stack-intro-h, 10rem) + var(--stack-intro-gap, 2rem));
  --stack-card-height: calc(100svh - var(--stack-top) - clamp(1rem, 3vh, 1.5rem));
  margin-bottom: calc(-1 * var(--stack-tail, 0px));
}


/* --- css/sections/stacking-cards-parallax.css --- */
/* sections/stacking-cards-parallax.css — osmo 'Stacking Cards Parallax', DC recode.
   Markup: blocks/stacking_cards_parallax/render.php
     section_stacking-cards-parallax
       > .stacking-cards__collection > .stacking-cards__list
         > .stacking-cards__item > h2 + img + .stacking-cards__item-top

   Full-bleed panels, each 100vh, pulled up by their own corner radius so the
   next panel's rounded lip overlaps the one before it. The stacking itself is
   plain document flow; js/components/stacking-cards-parallax.js adds the drift
   (previous card down, its image up and rotated) on a scrubbed ScrollTrigger.

   TRAP (from the resource docs): the collection's PARENT must not be
   display:flex or the stack breaks. dc_section_open emits a plain <section>,
   so this only bites if a wrapper is added later.

   Per-card colours arrive as inline --card-bg / --card-ink from ACF. */

.stacking-cards__collection { width: 100%; }

.stacking-cards__list {
  display: flex;
  flex-direction: column;
}

.stacking-cards__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin-top: -1em;
  padding: 5em var(--container-padding);
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  background-color: var(--card-bg, var(--n-900));
  color: var(--card-ink, var(--n-0));
}

.stacking-cards__item-h {
  margin: 0;
  max-width: none;
  font-size: 10vw;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

.stacking-cards__heading-faded { opacity: 0.5; }

.stacking-cards__item-img {
  display: block;
  aspect-ratio: 1;
  width: 30vw;
  margin-top: -1vw;
  border-radius: 0.75em;
  object-fit: cover;
}

.stacking-cards__item-top {
  position: absolute;
  top: 2.5em;
  left: 2.5em;
  right: 2.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stacking-cards__top-span {
  font-size: var(--text-s);
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .stacking-cards__item-h { font-size: 14vw; }
  .stacking-cards__item-img { width: 55vw; }
  .stacking-cards__item-top { top: 1.5em; left: 1.5em; right: 1.5em; }
}


/* --- css/sections/bouncy-tabs.css --- */
/* sections/bouncy-tabs.css — vault resource 'Bouncy Content Tabs', DC recode.
   Markup: blocks/bouncy_tabs/render.php
     section_bouncy-tabs > .container
       > .block-intro (optional)
       > .bouncy-tabs[data-bouncy-tabs-init]
         > .bouncy-tabs__nav  (ghost + indicator + buttons)
         > .bouncy-tabs__collection > .bouncy-tabs__list > .bouncy-tabs__item*

   The pill (indicator) and the hover ghost are positioned by GSAP in
   js/components/bouncy-tabs.js — this file only gives them shape. Panels are
   absolutely positioned and the script animates the LIST's height between
   them, so the card grows and shrinks to fit the active panel.

   Keep overflow:hidden on .bouncy-tabs__collection: the sliding panels are
   meant to be clipped at the card's own rounded edge. */

.bouncy-tabs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: var(--gap-l);
  width: min(100%, 50em);
  margin-inline: auto;
}

.bouncy-tabs__nav {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 0.4em;
  background-color: color-mix(in srgb, var(--color-ink) 8%, transparent);
  border-radius: 100em;
}

.bouncy-tabs__nav[data-wrapped] { border-radius: 1.25em; }

.bouncy-tabs__ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 2em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: color-mix(in srgb, var(--color-ink) 10%, transparent);
  border-radius: 100em;
}

.bouncy-tabs__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 3em;
  pointer-events: none;
  background-color: var(--color-ink);
  border-radius: 100em;
}

.bouncy-tabs__button {
  position: relative;
  z-index: 3;
  padding: 0.65em 1.25em;
  font: inherit;
  color: var(--color-ink-soft);
  background-color: transparent;
  border: none;
  border-radius: 100em;
  cursor: pointer;
  transition: color 0.3s ease;
}

.bouncy-tabs__button[data-active] { color: var(--color-surface); }

.bouncy-tabs__collection {
  width: 100%;
  padding: var(--gap-l);
  background-color: var(--color-surface-2);
  border-radius: 1.5em;
  overflow: hidden;
}

.bouncy-tabs__list {
  position: relative;
  width: 100%;
}

.bouncy-tabs__item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--gap-m);
}

.bouncy-tabs__item:not([data-active]) {
  opacity: 0;
  visibility: hidden;
}

.bouncy-tabs__item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--gap-s);
}

.bouncy-tabs__heading {
  margin: 0;
  font-size: var(--text-l);
  line-height: 1;
}

.bouncy-tabs__para { margin: 0; }
.bouncy-tabs__para > p:last-child { margin-bottom: 0; }

.bouncy-tabs__item-visual {
  aspect-ratio: 1;
  width: 45%;
  border-radius: 1em;
  overflow: hidden;
}

.bouncy-tabs__item-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .bouncy-tabs__nav { border-radius: 1.25em; }
  .bouncy-tabs__collection { padding: var(--gap-m); }
  .bouncy-tabs__item {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .bouncy-tabs__item-visual { width: 100%; }
}


/* --- css/sections/dome-grid.css --- */
/* sections/dome-grid.css — vault resource 'Infinite Dome Grid' (Jesper
   Landberg, open sourced to the Osmo community), DC recode.
   Markup: blocks/dome_grid/render.php — the section IS the stage, so it takes
   no container and no section padding; the grid tiles from its top-left corner
   and the page does not scroll while the grid is on screen.

   Everything visible is one matrix3d per card, written each frame by
   js/components/dome-grid.js. This file only supplies shape, colour and the
   two properties the script reads back: the shade's opacity (how dark the
   grid goes outside the flashlight) and --panel-gap.

   --panel-gap MUST equal minus twice the card's border-radius, so the sliding
   panel's corners stay hidden behind the image when a card opens. Change one,
   change the other. */

.dome-grid {
  --panel-gap: -2em;
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background-color: var(--n-900);
  cursor: grab;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}

.dome-grid[data-dragging] { cursor: grabbing; }

.dome-grid__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em;
  width: 100%;
}

.dome-grid__item {
  --slide: 0;
  --dim: 0;
  position: relative;
  aspect-ratio: 1;
  transform-origin: 0 0;
  will-change: transform;
}

.dome-grid__item[data-lifted] { z-index: 10; }
.dome-grid__item[data-active] .dome-grid__caption { opacity: 0; }
.dome-grid__item .dome-grid__content { display: none; }

.dome-grid__panel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--n-0);
  border-radius: 1em;
  transform: translateX(calc((100% + var(--panel-gap)) * var(--slide)));
}

.dome-grid__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--n-900);
  border-radius: 1em;
}

.dome-grid__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.1);
}

.dome-grid__caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  gap: 0.5em;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25em;
  color: var(--n-0);
  pointer-events: none;
  background-image: linear-gradient(rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.6));
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: opacity 0.35s ease-out;
}

.dome-grid__text { margin: 0; font-size: var(--text-s); line-height: 1.2; }
.dome-grid__text.is--faded { opacity: 0.6; }

.dome-grid__meta { margin: 0; font-size: var(--text-xs); line-height: 1.2; opacity: 0.6; }

.dome-grid__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--dim);
  background-color: #000;
  transform: translateZ(0);
  transform-style: preserve-3d;
}

.dome-grid__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--gap-m);
  min-height: 100%;
  padding: 2.5em;
}

.dome-grid__title { margin: 0; font-size: var(--text-l); line-height: 1; }

/* The flashlight. Its OPACITY is read back by the script as "how dark", and
   its mask is rewritten on every resize — the value here is only the
   first-paint fallback. */
.dome-grid__shade {
  --fx: 50%;
  --fy: 50%;
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  background-color: #000;
  mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent 25%, #000 75%);
  -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), transparent 25%, #000 75%);
}

.dome-grid__cover {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background-color: #000;
  transition: opacity 0.3s ease-out;
}

.dome-grid[data-loaded] .dome-grid__cover { opacity: 0; pointer-events: none; }

.dome-grid__lightbox {
  position: absolute;
  top: 50%;
  left: calc(50% + var(--lightbox-gap, 0px) / 2);
  z-index: 10;
  display: block;
  width: var(--lightbox-size, 70vh);
  height: var(--lightbox-size, 70vh);
  opacity: 0;
  pointer-events: none;
  color: var(--n-900);
  transform: translateY(-50%);
  transition: opacity 0.2s ease-out;
}

.dome-grid__lightbox[data-open] { opacity: 1; transition: opacity 0.35s ease-out 0.15s; }

.dome-grid__lightbox-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(0px - var(--lightbox-gap, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: none;
}

.dome-grid__lightbox[data-open] .dome-grid__lightbox-inner { pointer-events: auto; }

@media (orientation: portrait) {
  .dome-grid__panel { transform: translateY(calc((100% + var(--panel-gap)) * var(--slide))); }
  .dome-grid__lightbox {
    top: calc(50% + var(--lightbox-gap, 0px) / 2);
    left: 50%;
    width: var(--lightbox-size, 80vw);
    height: var(--lightbox-size, 80vw);
    transform: translateX(-50%);
  }
  .dome-grid__lightbox-inner { left: 0; top: calc(0px - var(--lightbox-gap, 0px)); }
  .dome-grid__content { padding: 2em; }
}

@media (max-width: 767px) {
  .dome-grid__item .dome-grid__text.is--faded { display: none; }
}


/* --- css/sections/ui-kit.css --- */
/* sections/ui-kit.css — layout only for blocks/ui_kit/render.php, the host
   that gives the Toggle Switch and Display Read Time utilities somewhere to
   sit on a builder page. The toggle's own styling is
   css/components/toggle-switch.css; nothing here should style it. */

.section_ui-kit .container { display: flex; flex-direction: column; gap: var(--gap-l); align-items: flex-start; }

.ui-kit__read-time {
  margin: 0;
  font-size: var(--text-s);
  color: var(--color-ink-soft);
}

.ui-kit__article { margin: 0; }
.ui-kit__article > p:last-child { margin-bottom: 0; }


/* --- css/sections/faq.css --- */
/* sections/faq.css — FAQ accordion section (blocks/faq_section). The
   accordion itself is the carried component (css/components/accordion.css);
   this only sizes and centres it and spaces the see-all button. */

.faq__wrap {
  max-width: 46em;
  margin-inline: auto;
}

.faq__wrap .accordion-css { max-width: none; }

.faq_see_all_btn {
  justify-content: center;
  margin-top: var(--space-m);
}


/* --- css/sections/news-grid.css --- */
/* sections/news-grid.css — posts grid on .dc-grid with basic filter +
   List.js live search. Markup: blocks/posts_grid/render.php
     section_news-grid > .container > .news-grid[data-live-search][data-filter-group]
       > .news-grid__controls (filter buttons + search field)
       > .dc-grid.live-search__list > .dc-grid__item.news-card[data-filter-name]
       > .news-grid__not-found */

.news-grid__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-s);
  margin-bottom: var(--space-m);
}

.news-grid__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.news-grid__filter-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  background-color: var(--color-surface-2);
  color: var(--color-ink);
  border-radius: 10em;
  padding: 0.65em 1.25em;
  transition: color var(--duration-default) var(--cubic-default),
              background-color var(--duration-default) var(--cubic-default);
}

.news-grid__filter-btn[data-filter-status="active"] {
  background-color: var(--color-ink);
  color: var(--color-surface);
}

.news-grid__search {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-surface-2);
  border-radius: 10em;
  height: 3em;
  min-width: 16em;
}

.news-grid__search-icon {
  position: absolute;
  left: 1em;
  width: 1.1em;
  color: var(--color-ink-soft);
  pointer-events: none;
}

.news-grid__search-input {
  appearance: none;
  border: 0;
  background: none;
  width: 100%;
  height: 100%;
  padding: 0 1.25em 0 2.75em;
  color: var(--color-ink);
  font: inherit;
}

.news-grid__search-input:focus { outline: none; }

/* Cards */
.news-card[data-filter-status] {
  transition: opacity var(--duration-default-half) var(--cubic-default),
              transform var(--duration-default-half) var(--cubic-default);
}

.news-card[data-filter-status="not-active"] { display: none; }

.news-card[data-filter-status="transition-out"] {
  opacity: 0;
  transform: scale(0.97);
}

.news-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-m);
  background-color: var(--color-surface-2);
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-default) var(--cubic-default);
}

.news-card:hover .news-card__image { transform: scale(1.04); }

.news-card__body { padding-top: var(--gap-s); }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
}

.news-card__cat {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.news-card__title {
  margin: 0.4em 0 0;
  font-size: var(--text-l);
  line-height: 1.2;
}

.news-grid__not-found {
  padding: var(--space-m) 0;
  text-align: center;
  color: var(--color-ink-soft);
}

/* ---------------------------------------------------------------- */
/* In-grid CTAs — grid items injected after the Nth card (render.php
   grid_ctas). No data-filter-name, so filters leave them in place; the
   card takes one cell, the strip spans the full row. */

.news-grid__cta {
  background-color: var(--color-primary);
  color: var(--n-0);
  border-radius: var(--radius-m);
  padding: var(--gap-m);
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: var(--gap-m);
  min-height: 16em;
}

.news-grid__cta.is--strip {
  width: 100%;
  flex-flow: row;
  align-items: center;
  min-height: 0;
  padding: var(--gap-m) var(--gap-l);
}

.news-grid__cta-label {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.145em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75em;
}

.news-grid__cta-title {
  color: inherit;
  font-size: 1.5em;
  margin: 0;
}

.news-grid__cta.is--strip .news-grid__cta-title { font-size: 1.375em; }

.news-grid__cta-text {
  margin: 0.75em 0 0;
  font-size: 0.875em;
  opacity: 0.8;
}

.news-grid__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  font-weight: 500;
  color: inherit;
  flex: none;
}

.news-grid__cta-arrow { width: 1.25em; flex: none; }

/* Sidebar filter layout (filter_layout = sidebar, data-filter-mode="multi") */

.news-grid.is--sidebar .news-grid__layout {
  display: flex;
  gap: var(--gap-l);
  align-items: flex-start;
}

.news-grid__sidebar {
  flex: none;
  width: 15em;
  position: sticky;
  top: calc(var(--nav-height, 4em) + 2.5em);
  display: flex;
  flex-flow: column;
  gap: var(--gap-m);
}

.news-grid__main { flex: 1; min-width: 0; }

.news-grid__sidebar-group {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-s);
  padding: var(--gap-s);
  display: flex;
  flex-flow: column;
  gap: 0.25em;
}

.news-grid__sidebar-label {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.5em;
}

.news-grid__sidebar-check {
  display: flex;
  align-items: center;
  gap: 0.625em;
  background: none;
  border: none;
  padding: 0.375em 0.25em;
  font-size: 0.9375em;
  color: var(--color-ink);
  cursor: pointer;
  text-align: left;
}

.news-grid__sidebar-box {
  width: 1em;
  height: 1em;
  flex: none;
  border: 1px solid var(--color-ink-soft);
  border-radius: 3px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.news-grid__sidebar-check[data-filter-status="active"] .news-grid__sidebar-box {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.news-grid__sidebar-reset {
  background: none;
  border: none;
  padding: 0.25em;
  font-size: 0.8125em;
  color: var(--color-ink-soft);
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 991px) {
  .news-grid.is--sidebar .news-grid__layout { flex-flow: column; }

  .news-grid__sidebar { position: static; width: 100%; }
}


/* --- css/sections/team-cards.css --- */
/* sections/team-cards.css — team CPT cards on .dc-cols, bio in the shared
   modal. Markup: blocks/team_cards/render.php
     section_team-cards > .container
       > .dc-cols.team-cards__cols > .dc-col.team-card
         > .team-card__open (stretch button when a bio exists)
     + .modal group with a card per member. */

.team-card { position: relative; }

/* Whole card opens the bio modal */
.team-card__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
}

.team-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-m);
  background-color: var(--color-surface-2);
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-default) var(--cubic-default);
}

.team-card:hover .team-card__image { transform: scale(1.04); }

.team-card__name {
  margin: 0.75em 0 0;
  font-size: var(--text-m);
}

.team-card__position {
  margin: 0.25em 0 0;
  color: var(--color-ink-soft);
  font-size: var(--text-s);
}

/* Modal head: portrait beside name/position */
.team-card__modal-head {
  display: flex;
  align-items: center;
  gap: var(--gap-m);
  margin-bottom: var(--gap-m);
}

.team-card__modal-head .modal__h2 { margin: 0; }

.team-card__modal-image {
  width: 5.5em;
  height: 5.5em;
  object-fit: cover;
  border-radius: 50%;
  flex: none;
}


/* --- css/pages/single-post.css --- */
/* pages/single-post.css — the single post editorial layout (single.php):
   centred header (meta pill, display title, standfirst), full-container
   featured image, narrow prose column, share + prev/next footer. */

.single-post__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-s);
  padding-block: var(--space-l) var(--space-m);
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
}

.single-post__cat {
  background-color: var(--color-surface-2);
  color: var(--color-ink);
  border-radius: 10em;
  padding: 0.5em 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: background-color var(--duration-default-half) var(--cubic-default);
}

.single-post__cat:hover { background-color: var(--color-surface-3); }

.single-post__title {
  margin: 0;
  max-width: 14em;
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.single-post__standfirst {
  margin: 0;
  max-width: 28em;
  color: var(--color-ink-soft);
  font-size: var(--text-l);
  line-height: 1.4;
}

.single-post__media { margin-bottom: var(--space-l); }

.single-post__image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-l);
}

/* Prose column */
.single-post__prose > p,
.single-post__prose > ul,
.single-post__prose > ol {
  line-height: 1.7;
  margin-block: 0 1.25em;
}

.single-post__prose > :is(h2, h3, h4) {
  margin-block: 1.75em 0.6em;
  letter-spacing: -0.02em;
}

.single-post__prose > :first-child { margin-top: 0; }

.single-post__prose a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.single-post__prose blockquote {
  margin: 1.75em 0;
  padding-left: 1.25em;
  border-left: 2px solid var(--color-ink);
  font-size: var(--text-l);
  line-height: 1.4;
}

.single-post__prose img { border-radius: var(--radius-m); }

/* Footer: share + nav */
.single-post__footer {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
}

.dc-social-share {
  display: flex;
  align-items: center;
  gap: var(--gap-s);
}

.single-post__share-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.dc-social-share ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5em;
}

.dc-social-share li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background-color: var(--color-surface-2);
  color: var(--color-ink);
  transition: background-color var(--duration-default-half) var(--cubic-default);
}

.dc-social-share li a:hover { background-color: var(--color-surface-3); }


/* --- css/pages/project.css --- */
/* pages/project.css — the work index (archive-project.php, taxonomy-project_sector.php)
   and the case-study header (single-project.php). */

/* ---------- work index ---------- */

.work-index__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-m);
  margin-bottom: var(--space-m);
}

.work-index__title { margin: 0; }

.work-index__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-index__filter { color: var(--color-ink-soft); text-decoration: none; }
.work-index__filter:hover,
.work-index__filter.is--current { color: var(--color-ink); }

.work-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.work-index__row { border-bottom: 1px solid var(--color-line); }

.work-index__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 14rem) 6rem;
  align-items: baseline;
  gap: var(--gap-s);
  padding: clamp(0.9rem, 2vw, 1.6rem) 0;
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast, 0.2s) var(--ease-soft, ease);
}

.work-index__link:hover { color: var(--color-accent); }

.work-index__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.work-index__sector,
.work-index__year {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-soft);
}

.work-index__year { text-align: right; }

.work-index__empty { color: var(--color-ink-soft); }

@media (max-width: 47.99em) {
  .work-index__link {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .work-index__name { grid-column: 1 / -1; }
}

/* ---------- case-study header ---------- */

.project-header__eyebrow {
  margin: 0 0 var(--space-s);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-header__eyebrow a { color: var(--color-ink-soft); text-decoration: none; }
.project-header__eyebrow a:hover { color: var(--color-ink); }

.project-header__title { margin: 0 0 var(--space-s); }

.project-header__summary {
  max-width: 46rem;
  margin: 0 0 var(--space-m);
  font-size: var(--text-l, 1.25rem);
  color: var(--color-ink-soft);
}

.project-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-m);
  margin: 0 0 var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid var(--color-line);
}

.project-header__meta-item dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-soft);
  margin-bottom: 0.25em;
}

.project-header__meta-item dd { margin: 0; }

.project-cover__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-m, 0);
}

/* Outcome-led rows: the headline is what the site does, the client name is the
   caption under it. */
.work-index__lead { display: block; }

.work-index__name {
  display: block;
  max-width: 30ch;
  text-wrap: balance;
}

.work-index__client {
  display: block;
  margin-top: 0.35em;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}


/* --- css/sections/footer-cta.css --- */
/* sections/footer-cta.css — site-wide CTA (blocks/footer-cta/render.php).
   Standalone: dark section before the footer. .is-in-footer: rendered inside
   the footer chrome, so it paints no background of its own and just spaces
   itself against the footer's top edge. */

.section_footer-cta .footer-cta__cols { --cols: 2; }

.footer-cta__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-xs);
  padding: var(--gap-l);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
}

.footer-cta__title {
  margin: 0;
  font-size: var(--text-l);
}

.footer-cta__text {
  margin: 0;
  color: var(--color-ink-soft);
}

.footer-cta__item .btn-group { margin-top: auto; padding-top: var(--gap-s); }

.section_footer-cta.is-in-footer {
  padding-top: var(--padding-s);
  padding-bottom: var(--padding-xs);
}

/* Inside the footer the CTA is a guest, not a hero: one size down. */
.section_footer-cta.is-in-footer .block-intro__title { font-size: var(--text-xl); }


/* --- css/sections/block-index.css --- */
/* sections/block-index.css — the dev section-index checklist (blocks/block_index). */

.block-index__title {
  margin: 0 0 var(--space-s);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink-soft);
}

.block-index__title + .block-index__list { margin-bottom: var(--space-m); }

.block-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.block-index__item {
  display: flex;
  align-items: center;
  gap: var(--gap-s);
  padding: 0.5em 0;
  border-bottom: 1px solid var(--color-line);
}

.block-index__check input {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--color-ink);
  cursor: pointer;
}

.block-index__link { font-weight: 500; }
.block-index__link:hover { text-decoration: underline; }

.block-index__item:has(input:checked) .block-index__link {
  text-decoration: line-through;
  color: var(--color-ink-soft);
}

.block-index__meta {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  font-family: ui-monospace, monospace;
}


/* --- css/components/sticky-steps.css --- */
/* components/sticky-steps.css — carried from vault 'sticky-steps-basic'; tokenise on first real use. */

.sticky-steps {
  min-height: 100dvh;
  position: relative;
  overflow: clip;
}

.sticky-steps__container {
  max-width: 74em;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.sticky-steps__collection {
  min-height: 100dvh;
  display: flex;
  position: relative;
}

.sticky-steps__list {
  grid-column-gap: 30dvh;
  grid-row-gap: 30dvh;
  flex-flow: column;
  flex: 1;
  padding-top: calc(50dvh - 7.5em);
  padding-bottom: calc(50dvh - 7.5em);
  display: flex;
}

.sticky-steps__text {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  width: 50%;
  padding-right: 6em;
  display: flex;
}

.sticky-steps__eyebrow {
  opacity: .5;
  text-transform: uppercase;
  font-size: 1.3125em;
  font-weight: 700;
}

.sticky-steps__h2 {
  letter-spacing: -.04em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: min(5.5em, 15vw);
  font-weight: 500;
  line-height: .9;
}

.sticky-steps__p {
  opacity: .6;
  margin-bottom: 0;
  font-size: min(1.4375em, 5vw);
  line-height: 1.4;
}

.sticky-steps__media {
  width: 50%;
  height: 100%;
  padding-left: 3em;
  position: absolute;
  top: 0;
  right: 0;
}

.sticky-steps__sticky {
  align-items: center;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  position: sticky;
  top: 0;
}

.sticky-steps__visual {
  aspect-ratio: 3 / 4;
  border-radius: 500em;
  width: 100%;
  position: relative;
}

.sticky-steps__cover-image {
  object-fit: cover;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-width: 992px) {
  [data-sticky-steps-item-status] .sticky-steps__visual {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }

  [data-sticky-steps-item-status="before"] .sticky-steps__visual,
  [data-sticky-steps-item-status="active"] .sticky-steps__visual {
    opacity: 1;
    visibility: visible;
  }

  [data-sticky-steps-item-status] .sticky-steps__text {
    transition: opacity 0.5s ease-in-out;
    opacity: 0.25;
  }

  [data-sticky-steps-item-status="active"] .sticky-steps__text {
    opacity: 1;
  }
}

@media screen and (max-width: 991px) {
  .sticky-steps__list {
    grid-column-gap: 7.5em;
    grid-row-gap: 7.5em;
    padding-top: 10em;
    padding-bottom: 10em;
  }

  .sticky-steps__text {
    width: 100%;
    padding-bottom: 5em;
    padding-right: 0;
  }

  .sticky-steps__sticky {
    min-height: auto;
    position: relative;
    top: auto;
  }

  .sticky-steps__media {
    width: 100%;
    height: auto;
    padding-left: 0;
    position: relative;
    top: auto;
    right: auto;
  }
}

@media screen and (max-width: 767px) {
  .sticky-steps__text {
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
  }
}


/* --- css/components/image-cycle.css --- */
/* components/image-cycle.css — carried from vault 'auto-image-cycle-slideshow'; tokenise on first real use. */

.image-cycle-collection {
  width: min(95vw, 60em);
  position: relative;
}

.image-cycle-collection__before {
  padding-top: 66.666%;
}

.image-cycle-collection__list {
  z-index: 0;
  border-radius: 2em;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.image-cycle-collection__item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

[data-image-cycle-item="active"] {
  transition: opacity 0.4s ease 0s, visibility 0s ease 0s;
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

[data-image-cycle-item="previous"] {
  transition: opacity 0.4s ease 0.4s, visibility 0s ease 0.4s;
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

[data-image-cycle-item="not-active"] {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.image-cycle-collection__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .image-cycle-collection__list {
    border-radius: 1em;
  }
}


/* --- css/components/lightbox.css --- */
/* components/lightbox.css — carried from vault 'lightbox-setup'; tokenise on first real use. */

.gallery-grid {
  grid-column-gap: 1.25em;
  grid-row-gap: 4em;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 8em;
  display: flex;
}

.gallery-grid__item {
  width: calc(33.3333% - .833333em);
}

.gallery-item__button {
  outline-offset: -1px;
  background-color: #0000;
  border: 1px #000;
  border-radius: .375em;
  outline: 1px #131313;
  width: 100%;
  padding: 0;
}

.gallery-item__button:focus-visible {
  outline-offset: 3px;
  border-radius: .25em;
  outline: 1px solid #131313;
}

.gallery-item__img {
  border-radius: .375em;
  width: 100%;
}

.lightbox-wrap {
  z-index: 100;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
  display: none;
  position: fixed;
  inset: 0% 0% auto;
}

.lightbox-wrap.is-active {
  display: flex;
}

.lightbox-img__wrap {
  width: 90vw;
  height: calc(100svh - 10em);
}

.lightbox-img__container {
  width: 100%;
  height: 100%;
}

.lightbox-img__list {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.lightbox-img__item {
  visibility: hidden;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
}

.lightbox-img__item.is-active {
  visibility: visible;
}

.lightbox-img {
  object-fit: contain;
  border-radius: .375em;
  min-width: auto;
  max-height: 100%;
}

.lightbox-img__item img { 
  object-fit: contain !important;
  min-width: auto;
  width: auto;
  max-height: 100%;
}

.lightbox-nav {
  z-index: 2;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 2em;
  left: 2em;
  right: 2em;
}

.lightbox-nav__col {
  width: 33.333%;
}

.lightbox-nav__col.start {
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.lightbox-nav__col.center {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  justify-content: center;
  align-items: center;
  display: flex;
}

.lightbox-nav__col.end {
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.lightbox-nav__text {
  margin-bottom: 0;
  font-size: 1em;
}

.lightbox-nav__button {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  background-color: #0000;
  justify-content: flex-start;
  align-items: center;
  margin: -1em;
  padding: 1em;
  display: flex;
}

.lightbox-nav__dot {
  background-color: currentColor;
  border-radius: 10em;
  width: .375em;
  height: .375em;
  margin-bottom: -.1em;
  transition-property: transform;
  transition-duration: .45s;
  transition-timing-function: cubic-bezier(.625, .05, 0, 1);
}

@media screen and (max-width: 767px) {
  .gallery-grid {
    grid-column-gap: 1em;
  }

  .gallery-grid__item {
    width: calc(50% - .5em);
  }
}

@media screen and (max-width: 479px) {
  .gallery-grid {
    grid-column-gap: .75em;
    grid-row-gap: 3em;
  }

  .gallery-grid__item {
    width: calc(50% - .375em);
  }
}


/* --- css/components/gallery-slideshow.css --- */
/* components/gallery-slideshow.css — carried from vault 'parallax-image-gallery-with-thumbnails'; tokenise on first real use. */

.img-slider {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  border-radius: .5em;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
}

.img-slider__list {
  grid-template-rows: 100%;
  grid-template-columns: 100%;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: hidden;
}

.img-slide {
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  grid-area: 1 / 1 / -1 / -1;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  overflow: hidden;
}

.img-slide.is--current {
  opacity: 1;
  pointer-events: auto;
}

.img-slide__inner {
  object-fit: cover;
  will-change: transform;
  width: 100%;
  height: 100%;
  position: absolute;
}

.img-slider__nav {
  z-index: 2;
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  pointer-events: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  max-width: 95vw;
  display: flex;
  position: absolute;
  bottom: 2rem;
}

.img-slider__thumb {
  aspect-ratio: 1.5;
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid #fff3;
  border-radius: .3125rem;
  width: 7rem;
  transition: border-color .2s;
  position: relative;
  overflow: hidden;
}

.img-slider__thumb:hover {
  border-color: #fff6;
}

.img-slider__thumb.is--current {
  border-color: #fff;
}

.slider-thumb__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 991px) {
  .img-slider__list {
    width: 100%;
  }

  .img-slider__thumb {
    flex: none;
  }
}

@media screen and (max-width: 767px) {
  .img-slider__nav {
    flex-flow: wrap;
  }

  .img-slider__thumb {
    border-radius: .25rem;
    width: 5rem;
  }
}

@media screen and (max-width: 479px) {
  .img-slider__thumb {
    width: 4.5rem;
  }
}


/* --- css/components/filter-basic.css --- */
/* components/filter-basic.css — carried from vault 'basic-filter-setup'; tokenise on first real use. */

.filter-group {
  min-height: 100vh;
  padding-bottom: 10em;
}

/* Filter Buttons */
.filter-buttons {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  flex-flow: wrap;
  justify-content: flex-start;
  padding: 1em 1em 3em;
  display: flex;
}

.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  background-color: #efeeec;
  border-radius: 10em;
  padding: .65em 1.25em;
  font-size: 1.5em;
  transition: color 0.6s cubic-bezier(0.625, 0.05, 0, 1), background-color 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.filter-btn[data-filter-status="active"] {
  background-color: #131313;
  color: #EFEEEC;
}

/* Filter List */
.filter-list {
  flex-flow: wrap;
  width: 100%;
  display: flex;
}

.filter-list__item {
  width: 25%;
  padding: .75em;
}

.filter-list__item[data-filter-status="active"] {
  transition: opacity 0.6s cubic-bezier(0.625, 0.05, 0, 1), transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(1) rotate(0.001deg);
  opacity: 1;
  visibility: visible;
  position: relative;
}
.filter-list__item[data-filter-status="transition-out"] {
  transition: opacity 0.45s cubic-bezier(0.625, 0.05, 0, 1), transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: visible;
}
.filter-list__item[data-filter-status="not-active"] {
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: hidden; 
  position: absolute;
}

/* Demo Card */
.demo-card {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #efeeec;
  border-radius: 1.5em;
  flex-flow: column;
  width: 100%;
  padding: 1em;
  display: flex;
}

.demo-card__bottom {
  justify-content: flex-start;
  align-items: center;
  padding-bottom: .25em;
  padding-left: .5em;
  padding-right: .5em;
  display: flex;
}

.demo-card__h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__visual {
  background-color: #e2dfdf;
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.demo-card__visual-before {
  padding-top: 66%;
}

.demo-title {
  padding: 10em 1em 2em;
}

.demo-title__h2 {
  font-size: 5em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__emoji {
  font-size: 4em;
}

@media screen and (max-width: 991px) {
  .filter-list__item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .filter-list__item {
    width: 100%;
  }

  .demo-title__h2 {
    font-size: 4em;
  }
}


/* --- css/components/filter-basic-multi.css --- */
/* components/filter-basic-multi.css — carried from vault 'basic-filter-setup-multi-match'; tokenise on first real use. */

.filter-group {
  min-height: 100vh;
  padding-bottom: 10em;
}

/* Filter Buttons */
.filter-buttons {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  flex-flow: wrap;
  justify-content: flex-start;
  padding: 1em 1em 3em;
  display: flex;
}

.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  background-color: #efeeec;
  border-radius: 10em;
  padding: .65em 1.25em;
  font-size: 1.5em;
  transition: color 0.6s cubic-bezier(0.625, 0.05, 0, 1), background-color 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.filter-btn[data-filter-status="active"] {
  background-color: #131313;
  color: #EFEEEC;
}

/* Filter List */
.filter-list {
  flex-flow: wrap;
  width: 100%;
  display: flex;
}

.filter-list__item {
  width: 25%;
  padding: .75em;
}

.filter-list__item[data-filter-status="active"] {
  transition: opacity 0.6s cubic-bezier(0.625, 0.05, 0, 1), transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(1) rotate(0.001deg);
  opacity: 1;
  visibility: visible;
  position: relative;
}
.filter-list__item[data-filter-status="transition-out"] {
  transition: opacity 0.45s cubic-bezier(0.625, 0.05, 0, 1), transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: visible;
}
.filter-list__item[data-filter-status="not-active"] {
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: hidden; 
  position: absolute;
}

/* Demo Card */
.demo-card {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #efeeec;
  border-radius: 1.5em;
  flex-flow: column;
  width: 100%;
  padding: 1em;
  display: flex;
}

.demo-card__top {
  position: relative;
}

.demo-card__bottom {
  justify-content: flex-start;
  align-items: center;
  padding-bottom: .25em;
  padding-left: .5em;
  padding-right: .5em;
  display: flex;
}

.demo-card__h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__visual {
  background-color: #e2dfdf;
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.demo-card__visual-before {
  padding-top: 66%;
}

.demo-title {
  padding: 10em 1em 2em;
}

.demo-title__h2 {
  font-size: 5em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__emoji {
  font-size: 4em;
}

.demo-card__tags-collection {
  width: 100%;
  padding: 1em;
  position: absolute;
  top: 0;
  left: 0;
}

.demo-card__tags-list {
  display: flex;
}

.demo-card__tags-item {
  background-color: #efeeec;
  border-radius: 3em;
  padding: .25em .75em;
}

.demo-card__tags-item-p {
  margin-bottom: 0;
  font-size: .875em;
}

@media screen and (max-width: 991px) {
  .filter-list__item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .filter-list__item {
    width: 100%;
  }
}


/* --- css/components/filter-multi.css --- */
/* components/filter-multi.css — carried from vault 'multi-filter-setup-multi-match'; tokenise on first real use. */

.filter-group {
  min-height: 100vh;
  padding-bottom: 10em;
}

/* Filter Buttons */
.filter-buttons {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  flex-flow: wrap;
  justify-content: flex-start;
  padding: 1em 1em 3em;
  display: flex;
}

.filter-btn {
  -webkit-appearance: none;
  appearance: none;
  background-color: #efeeec;
  border-radius: 10em;
  padding: .65em 1.25em;
  font-size: 1.5em;
  transition: color 0.6s cubic-bezier(0.625, 0.05, 0, 1), background-color 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.filter-btn[data-filter-status="active"] {
  background-color: #131313;
  color: #EFEEEC;
}

/* Reset Button */
.reset-btn {
  outline-offset: -2px;
  color: #c90f0f;
  -webkit-appearance: none;
  appearance: none;
  background-color: #c90f0f0d;
  border-radius: 10em;
  outline: 2px solid #c90f0f;
  padding: .65em 1.25em;
  font-size: 1.5em;
  transition: all 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  opacity: 0;
  visibility: hidden;
}

.reset-btn[data-filter-status="active"] {
  opacity: 1;
  visibility: visible;
}

/* Filter List */
.filter-list {
  flex-flow: wrap;
  width: 100%;
  display: flex;
}

.filter-list__item {
  width: 25%;
  padding: .75em;
}

.filter-list__item[data-filter-status="active"] {
  transition: opacity 0.6s cubic-bezier(0.625, 0.05, 0, 1), transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(1) rotate(0.001deg);
  opacity: 1;
  visibility: visible;
  position: relative;
}
.filter-list__item[data-filter-status="transition-out"] {
  transition: opacity 0.45s cubic-bezier(0.625, 0.05, 0, 1), transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: visible;
}
.filter-list__item[data-filter-status="not-active"] {
  transform: scale(0.9) rotate(0.001deg);
  opacity: 0;
  visibility: hidden; 
  position: absolute;
}

/* Demo Card */
.demo-card {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #efeeec;
  border-radius: 1.5em;
  flex-flow: column;
  width: 100%;
  padding: 1em;
  display: flex;
}

.demo-card__top {
  position: relative;
}

.demo-card__bottom {
  justify-content: flex-start;
  align-items: center;
  padding-bottom: .25em;
  padding-left: .5em;
  padding-right: .5em;
  display: flex;
}

.demo-card__h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__visual {
  background-color: #e2dfdf;
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.demo-card__visual-before {
  padding-top: 66%;
}

.demo-title {
  padding: 10em 1em 2em;
}

.demo-title__h2 {
  font-size: 5em;
  font-weight: 500;
  line-height: 1;
}

.demo-card__emoji {
  font-size: 4em;
}

.demo-card__tags-collection {
  width: 100%;
  padding: 1em;
  position: absolute;
  top: 0;
  left: 0;
}

.demo-card__tags-list {
  display: flex;
}

.demo-card__tags-item {
  background-color: #efeeec;
  border-radius: 3em;
  padding: .25em .75em;
}

.demo-card__tags-item-p {
  margin-bottom: 0;
  font-size: .875em;
}

@media screen and (max-width: 991px) {
  .filter-list__item {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .filter-list__item {
    width: 100%;
  }
}


/* --- css/components/live-search.css --- */
/* components/live-search.css — carried from vault 'live-search-list-js'; tokenise on first real use. */

.live-search {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  flex-flow: column;
  display: flex;
}

.live-search__search {
  justify-content: center;
  align-items: center;
  display: flex;
}

.live-search__search-field {
  background-color: #f4f4f4;
  border: 1px solid #0000;
  border-radius: 50em;
  align-items: center;
  width: 100%;
  max-width: 22em;
  height: 4em;
  display: flex;
  position: relative;
}

.live-search__search-icon {
  z-index: 1;
  pointer-events: none;
  color: #6840ff;
  -webkit-user-select: none;
  user-select: none;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  display: flex;
  position: absolute;
  left: 1em;
}

.live-search__search-input {
  letter-spacing: -.015em;
  -webkit-appearance: none;
  appearance: none;
  background-color: #0000;
  border: 0;
  outline: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 0 0 2.75em;
  font-size: 1.125em;
  font-weight: 400;
}

.live-search__search-field:has(input:focus) {
  border-color: rgba(0, 0, 0, 0.1);
}

.live-search__search-field input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.live-search__list {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  flex-flow: wrap;
  justify-content: center;
  width: 100%;
  display: flex;
}

.live-search__item {
  width: calc(33.33% - 1em);
}

.live-search__not-found-p {
  color: #817f7f;
  text-align: center;
  font-size: 1em;
}

.live-search__data, .live-search__not-found {
  display: none;
}

@media screen and (max-width: 991px) {
  .live-search__item {
    width: calc(49.995% - .75em);
  }
}

@media screen and (max-width: 767px) {
  .live-search__item {
    width: 100%;
  }
}

.demo-card {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #f4f4f4;
  border-radius: 1.5em;
  flex-flow: column;
  width: 100%;
  padding: 1em;
  display: flex;
}

.demo-card__top {
  position: relative;
}

.demo-card__visual {
  background-color: #eaeaea;
  border-radius: .5em;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.demo-card__visual-before {
  padding-top: 66%;
}

.demo-card__emoji {
  font-size: 4em;
}

.demo-card__tags-collection {
  width: 100%;
  padding: 1em;
  position: absolute;
  top: 0;
  left: 0;
}

.demo-card__tags-list {
  display: flex;
}

.demo-card__tags-item {
  background-color: #f4f4f4;
  border-radius: 3em;
  padding: .25em .75em;
}

.demo-card__tags-item-p {
  letter-spacing: -.01em;
  margin-bottom: 0;
  font-size: .875em;
  font-weight: 400;
}

.demo-card__bottom {
  justify-content: flex-start;
  align-items: center;
  padding-bottom: .25em;
  padding-left: .5em;
  padding-right: .5em;
  display: flex;
}

.demo-card__h3 {
  letter-spacing: -.02em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.2;
}


/* --- css/components/accordion.css --- */
/* components/accordion.css — vault accordion-css-animation, tokenised. */

.accordion-css {
  max-width: 29em;
  position: relative;
}

.accordion-css__list {
  grid-column-gap: .5em;
  grid-row-gap: .5em;
  flex-flow: column;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  position: static;
}

.accordion-css__item {
  background-color: var(--color-surface-2);
  border-radius: .5em;
  list-style: none;
}

.accordion-css__item-top {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1em 1em 1.5em;
  display: flex;
}

.accordion-css__item-bottom {
  transition: grid-template-rows 0.6s var(--cubic-default);
  grid-template-rows: 0fr;
  display: grid;
  position: relative;
  overflow: hidden;
}

[data-accordion-status="active"] .accordion-css__item-bottom {
   grid-template-rows: 1fr;
}

.accordion-css__item-bottom-wrap {
  flex-flow: column;
  height: 100000%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.accordion-css__item-bottom-content {
  padding-bottom: 1.5em;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.accordion-css__item-h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.125em;
  font-weight: 500;
  line-height: 1.3;
}

.accordion-css__item-icon {
  transition: transform 0.6s var(--cubic-default);
  background-color: var(--color-surface-3);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  display: flex;
  transform: rotate(180deg);
}

[data-accordion-status="active"] .accordion-css__item-icon {
   transform: rotate(0.001deg);
}

.accordion-css__item-icon-svg {
  width: 1em;
}

.accordion-css__item-p {
  color: var(--color-ink-soft);
  margin-bottom: 0;
  font-size: .875em;
  line-height: 1.5;
}


/* --- css/components/tab-system.css --- */
/* components/tab-system.css — vault 'tab-system-with-autoplay-option',
   tokenised (ink/line/accent slots, DC ease). Markup contract in
   blocks/accordion_section/render.php; behaviour in js/components/tab-system.js. */

.tab-layout__wrap {
  z-index: 1;
  grid-row-gap: 3em;
  flex-flow: wrap;
  display: flex;
  position: relative;
}

.tab-layout__col {
  width: 50%;
  padding-left: .5em;
  padding-right: .5em;
}

.tab-content__inner {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100%;
  padding-top: 1em;
  padding-right: 2.5em;
  display: flex;
}

.tab-content__top {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.tab-heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1;
}

.tab-visual__wrap {
  aspect-ratio: 1.6;
  position: relative;
}

.tab-visual__item {
  visibility: hidden;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
}

.tab-visual__item.active {
  visibility: visible;
}

.tab-visual__inner {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-s);
  width: 100%;
  height: 100%;
  padding: .5em;
  overflow: hidden;
}

.tab-image {
  object-fit: cover;
  object-position: 0% 50%;
  border-radius: calc(var(--radius-s) / 2);
  width: 100%;
  height: 100%;
  position: relative;
}

.tab-content__wrap {
  width: 100%;
  height: 100%;
}

.tab-content__bottom {
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: 30em;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
}

.tab-content__item {
  color: var(--color-ink);
  width: 100%;
  padding-top: 2em;
  padding-bottom: 2em;
  text-decoration: none;
  transition: opacity .25s;
  position: relative;
}

.tab-content__item-main {
  grid-column-gap: 2em;
  grid-row-gap: 2em;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.content-item__heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--text-l);
  font-weight: 500;
  line-height: 1;
}

.tab-content__item-detail {
  width: 100%;
  height: 0;
  overflow: hidden;
}

.tab-description {
  margin-bottom: 0;
  font-size: 1em;
}

.tab-description__spacer {
  padding-top: 1em;
}

.tab-content__item-bottom {
  background-color: var(--color-line);
  width: 100%;
  height: 1px;
  transition: background-color .2s;
  position: absolute;
  inset: auto 0% 0%;
}

.tab-progress {
  transform-origin: 0%;
  transform-style: preserve-3d;
  background-color: var(--color-accent);
  width: 100%;
  height: 1px;
  transform: scale3d(0, 1, 1);
}

@media screen and (max-width: 991px) {
  .tab-layout__col {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .tab-content__inner {
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
  }

  .tab-content__top {
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
  }

  .tab-visual__wrap {
    height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .tab-visual__item {
    overflow: hidden;
  }

  .tab-content__wrap {
    max-width: none;
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .tab-layout__wrap {
    grid-row-gap: 2em;
  }

  .tab-visual__item {
    border-radius: calc(var(--radius-s) / 2);
  }

  .tab-content__bottom {
    max-width: none;
  }

  .tab-content__item-main {
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
  }

}

@media screen and (max-width: 479px) {
  .tab-visual__inner {
    border-style: none;
    border-radius: calc(var(--radius-s) / 2);
    padding: 0;
  }

  .tab-image {
    aspect-ratio: auto;
  }

  .tab-content__item {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }

  .tab-content__item-main {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
  }

}


/* --- css/components/toggle-switch.css --- */
/* components/toggle-switch.css — vault resource 'Toggle Switch'.
   Markup: [data-toggle-init] > [data-toggle-btn]* with one .toggle-switch__bg
   pill behind them. js/components/toggle-switch.js only writes two custom
   properties (--toggle-count, --toggle-active); all motion is this file, so
   the control still reads correctly with JS off (first button styled active).

   --toggle-count   number of buttons, written by the script on load
   --toggle-padding gap between the pill and the track edge */

.toggle-switch {
  --toggle-count: 3;
  --toggle-padding: 0.25em;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(var(--toggle-count, 2), 1fr);
  width: 100%;
  max-width: 30em;
  padding: var(--toggle-padding);
  background-color: var(--color-surface-2);
  border-radius: 0.875em;
}

.toggle-switch__bg {
  position: absolute;
  top: var(--toggle-padding);
  bottom: var(--toggle-padding);
  left: var(--toggle-padding);
  width: calc((100% - 2 * var(--toggle-padding)) / var(--toggle-count, 2));
  transform: translateX(calc(var(--toggle-active, 0) * 100%));
  background-color: var(--color-surface);
  border-radius: 0.625em;
  transition: transform 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}

.toggle-switch__btn {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.625em;
  justify-content: center;
  align-items: center;
  padding: 1.5em 1em;
  font: inherit;
  color: var(--color-ink-soft);
  background-color: transparent;
  border: none;
  border-radius: 0.625em;
  cursor: pointer;
  transition: color 0.2s;
}

.toggle-switch__btn[data-toggle-active] { color: var(--color-ink); }

@media (prefers-reduced-motion: reduce) {
  .toggle-switch__bg { transition: none; }
}


/* --- css/components/modal.css --- */
/* components/modal.css — vault basic-modal-setup, tokenised on use. */

.modal {
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  justify-content: center;
  align-items: center;
  padding: 2em 1em;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
  transition: all 0.2s linear;
}

.modal[data-modal-group-status="active"] {
  opacity: 1;
  visibility: visible;
}

.modal__dark {
  opacity: .5;
  pointer-events: auto;
  cursor: pointer;
  background-color: #131313;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.modal__card {
  pointer-events: auto;
  background-color: #efeeec;
  border-radius: 2em;
  width: 100%;
  max-width: 54em;
  max-height: 100%;
  padding: .75em;
  display: none;
  position: relative;
}

.modal__card[data-modal-status="active"] {
  display: flex;
}

.modal__scroll {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  background-color: #e2e1df;
  border-radius: 1.25em;
  flex-flow: column;
  width: 100%;
  max-height: 100%;
  display: flex;
  position: relative;
  overflow: scroll;
}

.modal__content {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
  flex-flow: column;
  padding: 2em;
  display: flex;
}

.modal__h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 1.175;
}

.modal__p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.5;
}

.modal__btn-close {
  background-color: #efeeec;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 3.5em;
  height: 3.5em;
  display: flex;
  position: absolute;
  top: 2.5em;
  right: 2.5em;
}

.modal__btn-close-bar {
  background-color: currentColor;
  width: .125em;
  height: 40%;
  position: absolute;
  transform: rotate(45deg);
}

.modal__btn-close-bar.is--second {
  transform: rotate(-45deg);
}

/* Video card: 16:9 iframe, no scroll chrome */

.modal__card.is--video {
  max-width: 64em;
  padding: 0;
  background: none;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.modal__card.is--video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background-color: #000;
}

/* Site-wide Start a project modal (footer.php). Shares .modal with the team
   cards, so it sets its own visibility from data-modal-status instead of the
   group status those use. */
.modal.is--page {
  z-index: 120;
  display: grid;
  /* A definite track, so the panel's percentage width resolves against the
     viewport instead of shrinking to its content. */
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: var(--gap-s);
  transition: opacity 0.4s var(--cubic-default), visibility 0.4s;
}

.modal.is--page[data-modal-status="active"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 24, 0.55);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(46rem, 100%);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  /* Sized to fit a laptop screen; on shorter ones it still scrolls, without a bar. */
  scrollbar-width: none;
  --gf-row-gap: 1.1rem;
  --gf-input-pad: 0.6em 0.9em;
  --gf-footer-gap: 1.5rem;
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: calc(28 * var(--px));
  padding: clamp(1.5rem, 3vw, 2.75rem);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.55s var(--cubic-default);
}

.modal__panel::-webkit-scrollbar { display: none; }

.modal.is--page[data-modal-status="active"] .modal__panel { transform: none; }

.modal__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface-2);
  color: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  background: var(--color-ink);
  color: var(--color-surface);
}

.modal__label {
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--color-ink-soft);
  margin: 0 0 1rem;
}

.modal__title {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0;
}

@media (min-width: 64em) {
  .modal__title { max-width: none; }
}

.modal__text {
  margin: 0.9rem 0 0;
  color: var(--color-ink-soft);
  max-width: 44ch;
}

.modal__panel .gform_wrapper { padding-top: 1.5rem; }

/* Laptop heights (1440x800, 1366x768) still fit without scrolling. */
@media (min-width: 48em) and (max-height: 50em) {
  .modal__panel { padding-block: 2rem; }
  .modal__label { margin-bottom: 0.75rem; }
  .modal__panel .gform_wrapper { padding-top: 1.25rem; }
}

/* Half GF's 288px textarea; its own rule is .gfield textarea.large. */
.modal__panel .gform_wrapper.gravity-theme .gfield textarea.textarea {
  height: 8em;
  min-height: 4em;
}

.modal__mail {
  margin: 1.25rem 0 0;
  color: var(--color-ink-soft);
}

.modal__close:focus-visible {
  background: var(--color-ink);
  color: var(--color-surface);
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.modal__panel:focus { outline: none; }

.modal__mail a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

html.is-modal-open { overflow: clip; }

@media (prefers-reduced-motion: reduce) {
  .modal.is--page,
  .modal__panel {
    transition: none;
  }

  .modal__panel { transform: none; }
}

/* Demo Buttons */

.demo-btn {
  background-color: #efeeec;
  border-radius: 50em;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.demo-btn__p {
  margin-bottom: 0;
  padding: .65em 1.25em;
  font-size: 1em;
}


/* --- css/components/section-intro.css --- */
/* components/section-intro.css — the standard section header, emitted by
   dc_acf_section_intro() (rylo features_contain pattern: tight display
   heading, faded capped description, button). Left-aligned by default;
   .is-center centres the stack. */

.block-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-s);
  margin-bottom: var(--gap-l);
}

.block-intro__label {
  color: var(--color-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  font-weight: 600;
}

.block-intro__title {
  margin: 0;
  max-width: 14em;
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.block-intro__text {
  max-width: 28em;
  color: var(--color-ink-soft);
  font-size: var(--text-l);
  line-height: 1.5;
}

.block-intro__text > :first-child { margin-top: 0; }
.block-intro__text > :last-child  { margin-bottom: 0; }

.block-intro.is-center {
  align-items: center;
  text-align: center;
}


/* --- css/components/underline-link.css --- */
/* components/underline-link.css — vault underline-link-animation.
   Usage: add [data-underline-link] (or ="alt") to any inline link. */

.link-group {
  gap: 1em;
  justify-content: center;
  font-size: 3em;
  display: flex;
}

.underline-link {
  color: inherit;
  font-size: 1em;
  line-height: 1.25;
}

[data-underline-link] {
  text-decoration: none;
  position: relative;
}

[data-underline-link]::before,
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after{
  content: "";
  position: absolute;
  bottom: -0.0625em;
  left: 0;
  width: 100%;
  height: 0.0625em;
  background-color: currentColor;
  transition: transform 0.735s var(--cubic-default);
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
}

[data-underline-link="alt"]::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
  transition-delay: 0.3s;
}

[data-underline-link="alt"]::after {
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  [data-hover]:hover [data-underline-link]::before,
  [data-underline-link]:hover::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
  }  
  
  [data-hover]:hover [data-underline-link="alt"]::before,
  [data-underline-link="alt"]:hover::before {
    transform-origin: right;
    transform: scaleX(0) rotate(0.001deg);
    transition-delay: 0s;
  }
  
  [data-hover]:hover [data-underline-link="alt"]::after,
  [data-underline-link="alt"]:hover::after {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
    transition-delay: 0.3s;
  }
}


/* --- css/components/rich-text.css --- */
/* components/rich-text.css — client wysiwyg output (PHP: dc_rte(), wrapper
   carries the `rte` class). Two rules so editor content needs no thought from
   the client: a link on its own line has already become the standard text
   button (.btn-bubble-arrow, styled in button.css), and a link inside a sentence
   reads as body text with an accent underline (mint text on white is ~1.6:1,
   under the 4.5:1 minimum; the underline carries the brand cue instead). */

.rte a:not(.btn) {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--animation-default-half);
}

.rte a:not(.btn):hover {
  text-decoration-color: currentColor;
}

/* A text button on its own line keeps the paragraph rhythm, not tight to the
   sentence above it. */
.rte p > .btn-bubble-arrow:only-child {
  margin-top: calc(4 * var(--px));
}

/* ---- Global text formatting (Figma Resource - Article 1724:78915) --------
   Every wysiwyg text block shares one type scale: H2 display-l, H3
   display-m, body-m paragraphs, dot and numbered lists, the accent-ruled
   blockquote and rounded images with a centred caption. Written at element
   weight (:where(.rte) h2 = 0,0,1): later in the bundle than the bare base
   rules in brand.css so it beats them, while any block's own class rule (a
   tight intro, a card's text) still beats it. */

:where(.rte) p,
:where(.rte) ul,
:where(.rte) ol,
:where(.rte) blockquote,
:where(.rte) figure { margin: 0; }

:where(.rte) > :where(*) + p,
:where(.rte) > :where(*) + ul,
:where(.rte) > :where(*) + ol,
:where(.rte) > :where(*) + blockquote,
:where(.rte) > :where(*) + figure,
:where(.rte) > :where(*) + :where(div, section, aside, nav, table) { margin-top: calc(16 * var(--px)); }

:where(.rte) h2,
:where(.rte) h3,
:where(.rte) h4 {
  width: auto;
  margin: 0;
  font-family: var(--font-heading);
  color: inherit;
  text-wrap: balance;
}

:where(.rte) h2 {
  margin-top: calc(67 * var(--px));
  font-size: var(--display-l-size);
  line-height: var(--display-l-lh);
  letter-spacing: var(--display-l-ls);
  font-weight: var(--display-l-weight);
}

:where(.rte) h3 {
  margin-top: calc(48 * var(--px));
  font-size: var(--display-m-size);
  line-height: var(--display-m-lh);
  letter-spacing: var(--display-m-ls);
  font-weight: var(--display-m-weight);
}

:where(.rte) h4 {
  margin-top: calc(32 * var(--px));
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

:where(.rte) > :where(h2, h3, h4) + p,
:where(.rte) > :where(h2, h3, h4) + ul,
:where(.rte) > :where(h2, h3, h4) + ol { margin-top: calc(24 * var(--px)); }

:where(.rte) > :first-child { margin-top: 0; }

:where(.rte) ul,
:where(.rte) ol {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--px));
  padding-left: calc(20 * var(--px));
}

:where(.rte) ul { list-style: none; }

:where(.rte) ul > li {
  position: relative;
  padding-left: calc(23 * var(--px));
}

:where(.rte) ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.5lh - 4 * var(--px));
  width: calc(8 * var(--px));
  height: calc(8 * var(--px));
  border-radius: 50%;
  background-color: #2a6b64;
}

:where(.rte) ol { padding-left: calc(40 * var(--px)); }
:where(.rte) ol > li::marker { font-weight: 700; }

:where(.rte) strong,
:where(.rte) b { font-weight: 700; }

:where(.rte) blockquote {
  padding: calc(16 * var(--px)) 0 calc(16 * var(--px)) calc(20 * var(--px));
  border-left: 4px solid var(--color-accent);
  font-size: var(--text-l);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 600;
}

:where(.rte) blockquote p { margin: 0; }

:where(.rte) img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-m);
}

:where(.rte) figcaption,
:where(.rte) .wp-caption-text {
  margin-top: calc(16 * var(--px));
  padding-inline: calc(24 * var(--px));
  font-size: calc(15 * var(--px));
  line-height: calc(22 / 15);
  color: var(--color-ink-soft);
  text-align: center;
}

:where(.rte) iframe {
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-m);
}

/* Inline videos (the migrated .video-wrapper and plain <video>): their own
   shape, centred, never taller than 70% of the screen, rounded. A portrait
   clip stays portrait rather than sitting in a wide letterbox. */
:where(.rte) video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  margin-inline: auto;
  border-radius: var(--radius-m);
}

:where(.rte) .video-wrapper { max-height: 70vh; }


/* --- css/components/gravity-forms.css --- */
/* components/gravity-forms.css — the theme form skin (ported from Locale Homes,
   trimmed to what a single-step form needs). Applies to forms that opt in
   with the CSS class "gf-skin" (GF puts it on the <form> and adds
   "gf-skin_wrapper" to the wrapper) or sit inside a .gf-skin element.
   includes/gravity-forms.php renders them on GF's lean gravity-theme with a
   <button> submit carrying the btn-bubble-arrow contract. Every rule carries
   the full wrapper prefix to outrank gravity-theme's own.
   Density hooks a container can set: --gf-row-gap, --gf-input-pad,
   --gf-footer-gap. */

.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-sans);
}

/* Two real columns instead of GF's twelve: half-width fields pair up,
   everything else runs full width. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap-m);
  row-gap: var(--gf-row-gap, var(--gap-l));
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_fields > .gfield { grid-column: 1 / -1; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_fields > .gfield--width-half { grid-column: auto; }

.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_label {
  font-size: var(--text-s);
  font-weight: 500;
  margin-bottom: 0.5em;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_required { color: var(--color-ink-soft); padding-left: 0.2em; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_description { font-size: var(--text-xs); color: var(--color-ink-soft); }

.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) select,
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-m);
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--n-0);
  border: 1px solid var(--gf-border, var(--color-line));
  border-radius: var(--radius-m);
  padding: var(--gf-input-pad, 0.85em 1em);
  transition: border-color var(--animation-default-half), box-shadow var(--animation-default-half);
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) textarea { min-height: 9em; resize: vertical; }

.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) input:focus-visible,
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) select:focus-visible,
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) textarea:focus-visible {
  outline: none;
  border-color: var(--gf-focus, var(--color-ink));
  box-shadow: 0 0 0 3px var(--gf-ring, color-mix(in srgb, var(--color-ink) 12%, transparent));
}

.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) ::placeholder { color: var(--color-ink-soft); opacity: 1; }

/* Validation: one calm summary line, each message under its own field, the
   field border in --color-error. GF's boxed red messages are reset. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors {
  width: auto;
  margin: 0 0 var(--gap-m);
  padding: 0.75em 1em;
  color: var(--color-error);
  background: color-mix(in srgb, var(--color-error) 6%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-error) 30%, transparent);
  border-radius: var(--radius-m);
  box-shadow: none;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors:focus { outline: 2px solid var(--color-error); outline-offset: 2px; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > h2 {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  color: inherit;
  font-size: var(--text-s);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
/* GF's icon font glyph is swapped for a drawn badge that inherits the colour. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > h2 .gform-icon { display: none; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > h2::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--color-error);
  color: var(--color-surface);
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > ol { margin: 0.5em 0 0; padding-inline-start: 2.2em; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > ol li { margin: 0; font-size: var(--text-xs); color: inherit; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_validation_errors > ol a { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

/* Message under the field whatever the form's "validation above" setting. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error:not(fieldset) { display: flex; flex-direction: column; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error > .gfield_label { order: 0; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error > .ginput_container { order: 1; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error > .gfield_validation_message { order: 2; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error > .gfield_description:not(.gfield_validation_message) { order: 3; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error .gfield_label,
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error legend { color: inherit; }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error .gfield_required { color: var(--color-error); }
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error .gfield_validation_message {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.5em 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-error);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.4;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error .gfield_validation_message::before {
  content: "";
  flex: none;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: currentColor;
}
/* Through custom properties: the input rule above outranks any .gfield_error selector. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield_error {
  --gf-border: var(--color-error);
  --gf-focus: var(--color-error);
  --gf-ring: color-mix(in srgb, var(--color-error) 22%, transparent);
}

/* Invisible reCAPTCHA renders an empty field (its badge is fixed to the
   viewport): out of the grid so it adds no row gap. */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gfield--captcha-invisible { position: absolute; }

/* Footer: the submit is a <button class="btn-bubble-arrow"> (includes/gravity-forms.php). */
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_footer {
  margin-top: var(--gf-footer-gap, var(--gap-l));
  padding: 0;
  display: flex;
  justify-content: flex-start;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_footer button.btn-bubble-arrow {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_ajax_spinner { margin-left: 1em; }

/* Confirmation */
.gf-skin .gform_confirmation_message {
  padding: var(--gap-l);
  border-radius: var(--radius-l);
  background: var(--color-surface-2);
  font-size: var(--text-m);
}

@media (max-width: 47.99em) {
  .gform_wrapper.gravity-theme:is(.gf-skin *, .gf-skin_wrapper) .gform_fields > .gfield--width-half { grid-column: 1 / -1; }
}


/* --- css/components/button.css --- */
/* components/button.css — THE standard DC button (vault:
   button-with-bubble-arrow), tokenised. NOTE: the button style is a
   per-project swap layer — client builds replace THIS FILE (and only this
   file) to restyle every button. Markup contract:
     a.btn-bubble-arrow > .btn-bubble-arrow__arrow + __content + __arrow.is--duplicate
   Legacy .dc-btn anchors upgrade to this markup at each block's conversion. */

/* The standard wrapper for one-or-more buttons. (The vault demo's
   font-size:2em / centered version lives on the demo page only.) */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-s);
}

.btn-bubble-arrow {
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  text-decoration: none;
  display: flex;
  position: relative;
}

.btn-bubble-arrow__arrow {
  /* The resting bubble is accent-filled, so its arrow takes the on-accent ink. */
  color: var(--btn-arrow-ink, var(--color-on-accent));
  background-color: var(--btn-arrow-surface, var(--color-accent));
  border-radius: 10em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 3.75em;
  height: 3.75em;
  display: flex;
  position: relative;
  transition: transform 0.735s var(--cubic-default);
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
}

.btn-bubble-arrow__arrow.is--duplicate {
  z-index: 2;
  /* The resting bubble is ACCENT like the hover arrow (vault intent) — the
     old surface-coloured bubble vanished against the section background. */
  background-color: var(--btn-arrow-surface, var(--color-accent));
  position: absolute;
  right: 0;
}

.btn-bubble-arrow__arrow-svg {
  width: 40%;
  transition: transform 0.735s var(--cubic-default);
  transform: rotate(0.001deg);
}

.btn-bubble-arrow__arrow.is--duplicate {
  transform: scale(1) rotate(0.001deg);
  transform-origin: right;
}

.btn-bubble-arrow__content {
  /* Themed sections repoint the --btn-* hooks (section-system.css) so the
     pill flips instead of vanishing into a same-colour background. */
  color: var(--btn-ink, var(--color-surface));
  background-color: var(--btn-surface, var(--color-primary));
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  height: 3.75em;
  padding-left: 2em;
  padding-right: 2em;
  display: flex;
  position: relative;
  transition: transform 0.735s var(--cubic-default);
  transform: translateX(-3.75em) rotate(0.001deg);
}

.btn-bubble-arrow__content-text {
  line-height: 1;
}

/* Secondary: outlined, for the second button in a pair */

.btn-bubble-arrow.is-secondary .btn-bubble-arrow__content {
  color: var(--color-ink);
  background-color: transparent;
  box-shadow: inset 0 0 0 1px var(--color-line);
}

/* Accent: pill filled with the accent (text colour from --color-on-accent, which a
   client brand.css sets to suit its accent), bubble in ink so it still reads. */

.btn-bubble-arrow.is--accent {
  --btn-surface: var(--color-accent);
  --btn-ink: var(--color-on-accent);
  --btn-arrow-surface: var(--color-ink);
  --btn-arrow-ink: var(--color-surface);
}

.btn-bubble-arrow.is--accent .btn-bubble-arrow__content {
  transition: transform 0.735s var(--cubic-default), background-color 0.35s var(--cubic-default), color 0.35s var(--cubic-default);
}

/* On hover the pill fills ink with surface text; the bubble swaps to accent so it still reads. */
.btn-bubble-arrow.is--accent:hover {
  --btn-surface: var(--color-ink);
  --btn-ink: var(--color-surface);
  --btn-arrow-surface: var(--color-accent);
  --btn-arrow-ink: var(--color-on-accent);
}

/* Hover */

.btn-bubble-arrow:hover .btn-bubble-arrow__content {
  transform: translateX(0em) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow-svg {
  transform: rotate(-45deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow {
  transform: scale(1) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow.is--duplicate {
  transform: scale(0) rotate(0.001deg);
}


/* --- css/components/marker-reveal.css --- */
/* components/marker-reveal.css — vault highlight-marker-text-reveal. */

[data-highlight-marker-reveal] {
  visibility: hidden;
}

[data-highlight-marker-reveal] .highlight-marker-line {
  width: auto;
  display: inline-block !important;
  margin: -0.055em 0px;
}

.highlight-marker-bar {
  position: absolute;
  inset: -0.055em 0px;
  z-index: 1;
  pointer-events: none;
}


/* --- css/components/text-reveal.css --- */
/* components/text-reveal.css: js/components/text-reveal.js wraps each heading line in
   .line-mask (overflow: clip). Tight display line-heights put descenders (g, y, commas)
   below the line box, where the mask cut them off. Extend the clip box downwards and
   cancel it with a negative margin so layout is unchanged; the reveal starts at
   yPercent 140 so nothing peeks out of the taller mask before it plays. */
[data-split] .line-mask { padding-bottom: 0.25em; margin-bottom: -0.25em; }


/* --- css/components/dot-icon.css --- */
/* components/dot-icon.css — inline dot-matrix icons (js/components/dot-icon.js) */
[data-dot-icon] { display: inline-block; width: 3.5rem; aspect-ratio: 1; line-height: 0; }
[data-dot-icon] line { stroke: currentColor; }
[data-dot-icon] svg { width: 100%; height: 100%; overflow: visible; }
[data-dot-icon] circle { fill: currentColor; }


/* --- css/components/bg-fade.css --- */
/* components/bg-fade.css — the page background changes colour as you scroll.
   js/components/bg-fade.js makes the sections transparent and sets <body>'s
   colour + every section's theme from the section crossing the switch line;
   this animates it. Opt out per section (or per page on <main>) with
   data-bg-fade="off". */
body[data-bg-fade-page] { transition: background-color var(--duration-default-onehalf) var(--cubic-default); }
main > [data-bg-fade-state] { background-color: transparent; transition: color var(--duration-default-onehalf) var(--cubic-default); }
@media (prefers-reduced-motion: reduce) {
  body[data-bg-fade-page], main > [data-bg-fade-state] { transition: none; }
}


/* --- css/base/dc-site.css --- */
/* base/dc-site.css — Digital Creative's own site: the like-for-like skin over
   the neutral theme (pill nav, cream footer card, CTA band). Lives on the
   dc-site branch only and loads LAST in the manifest so it outranks core. Figma DGC_841 189:195 at 1920. */

/* ---- Nav: logo left, one white pill holding every link, current in sage ---- */
@media screen and (min-width: 62em) {
  .mega-nav { left: 0; right: 0; }
  .mega-nav__bar { background: transparent; max-width: none; }
  .mega-nav__container { max-width: var(--size-container); margin-inline: auto; padding: 1em var(--container-padding); }
  .mega-nav__bar-logo { margin-right: 0; }
  .mega-nav__bar-logo img { max-height: calc(26 * var(--px)); }
  .mega-nav__bar-inner {
    margin-left: auto;
    flex: 0 0 auto;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--n-0);
    border-radius: 999em;
    padding: calc(6 * var(--px));
    box-shadow: 0 1px 2px rgba(26, 25, 24, 0.04);
    transition: box-shadow var(--animation-default);
  }
  [data-menu-wrap][data-nav-scrolled="true"] .mega-nav__bar-inner { box-shadow: 0 8px 28px rgba(26, 25, 24, 0.10); }
  .mega-nav__bar-list, .mega-nav__bar-list.is--actions { gap: 0; margin-left: 0; }
  .mega-nav__bar-link, .mega-nav__bar-cta, .mega-nav__bar-cta.is--secondary {
    color: var(--color-ink);
    background: transparent;
    border: 0;
    border-radius: 999em;
    padding: calc(9 * var(--px)) calc(20 * var(--px));
    font-size: calc(18 * var(--px));
    font-weight: 500;
    line-height: 1.2;
    opacity: 1;
    transition: background-color var(--animation-default-half);
  }
  .mega-nav__bar-cta svg, .mega-nav__bar-cta .mega-nav__bar-link-icon { display: none; }
  /* The pill is always white, so its links are always ink, whatever the section under the bar. */
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link,
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-cta,
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link-label { color: #1a1918; }
  .mega-nav__bar-link:hover, .mega-nav__bar-cta:hover { background: var(--n-100); opacity: 1; }
  li.is-current > .mega-nav__bar-link,
  .mega-nav__bar-action.is-current .mega-nav__bar-cta { background: var(--dc-sage); }
}

/* ---- CTA band: white, rounded top, headline left and a wide sage pill right ---- */
main .section_footer-cta {
  --color-surface: var(--n-0);
  --color-ink: #1a1918;
  --color-ink-soft: #4c4a45;
  --color-line: transparent;
  --btn-surface: var(--dc-sage);
  --btn-ink: #1a1918;
  --btn-arrow-surface: #1a1918;
  --btn-arrow-ink: #ffffff;
  background: var(--n-0);
  color: #1a1918;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  padding-top: calc(72 * var(--px));
  padding-bottom: calc(56 * var(--px));
}
.section_footer-cta .container { display: flex; align-items: center; flex-wrap: wrap; gap: calc(40 * var(--px)) calc(56 * var(--px)); }
.section_footer-cta .block-intro { margin: 0; flex: 0 1 auto; }
.section_footer-cta .block-intro__title { margin: 0; font-size: calc(44 * var(--px)); font-weight: 400; letter-spacing: -0.01em; }
.section_footer-cta .footer-cta__cols { flex: 1 1 24em; display: block; }
.footer-cta__item { border: 0; padding: 0; gap: 0; }
.footer-cta__item .btn-group { margin: 0; padding: 0; width: 100%; }
.footer-cta__item .btn-bubble-arrow { width: 100%; }
.footer-cta__item .btn-bubble-arrow__content { flex: 1 1 auto; justify-content: flex-start; }

/* ---- Footer: cream, with the widget row as a card (acknowledgement, contact, logo) ---- */
.footer {
  background: var(--color-surface);
  color: var(--color-ink);
  --color-ink: #1a1918;
  --color-line: var(--n-200);
  padding-top: 0;
}
.footer__dark { background: var(--color-surface); }
.footer-top-inner {
  background: #f3f0e9;
  border-radius: var(--radius-l);
  padding: calc(64 * var(--px)) calc(80 * var(--px));
  align-items: center;
  gap: calc(48 * var(--px)) calc(80 * var(--px));
}
.footer-widget { color: var(--color-ink); font-size: calc(18 * var(--px)); line-height: 1.5; flex: 1 1 14em; }
.footer-widget p { margin: 0; }
.footer-widget .widget-title { color: var(--color-ink); font-size: inherit; font-weight: 700; margin: 0 0 0.25em; }
.footer-widget a { color: var(--color-ink); }
.footer-widget a:hover { color: var(--color-ink-soft); }
.footer-widget:last-child { flex: 0 1 auto; margin-left: auto; }
.footer-logo img { width: calc(620 * var(--px)); max-width: 100%; height: auto; }
.footer-bottom-wrapper { border-top: 0; }
.footer-bottom-inner { color: var(--color-ink-soft); padding: 1.5em 0 2em; }
.footer-bottom-inner a { color: var(--color-ink); }

@media screen and (max-width: 47.99em) {
  .footer-top-inner { padding: calc(32 * var(--px)); }
  .footer-widget:last-child { margin-left: 0; }
  .footer-logo img { width: calc(260 * var(--px)); }
  .section_footer-cta .block-intro__title { font-size: calc(28 * var(--px)); }
}


/* --- css/base/dc-v3.css --- */
/* base/dc-v3.css: the v3 homepage skin over the dc-site skin (prototype-2026/v3).
   Lives on the dc-v3 branch only and loads LAST, after dc-site.css. Block
   behaviour stays on main; this file only restyles. Values are the prototype's,
   which runs on rem and clamp() rather than the theme's --px scale. */

:root {
  --v3-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --v3-mute: #726f68;   /* the prototype's #77746c nudged to 4.7:1 on paper */
  --v3-dim: #b3afa5;
  --v3-h2: clamp(2rem, 1.3rem + 2.4vw, 3.6rem);
  --v3-radius: clamp(16px, 1.6vw, 28px);
  --v3-radius-m: clamp(12px, 1.1vw, 18px);
  --v3-mono: ui-monospace, Menlo, monospace;
}

::selection { background: var(--color-accent); color: var(--color-on-accent); }

/* Quiet phrases are a solid dim tone, not a fade; on dark, paper at 45%. */
.is--quiet,
.statement-hero__title .is--quiet,
.qa__title .is--quiet { opacity: 1; color: var(--v3-dim); }
[data-theme-section="dark"] .is--quiet,
[data-theme-section="dark"] .qa__title .is--quiet { color: color-mix(in srgb, var(--color-ink) 45%, transparent); }

/* Lilac text is 2:1 on paper, so accent words on light surfaces stay ink and wear a
   lilac band instead; on dark the accent stays as text. */
.statement-hero__title .is--accent {
  color: var(--color-ink);
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 88% / 100% 0.2em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[data-theme-section="dark"] .statement-hero__title .is--accent { color: var(--color-accent); background: none; }
.work-index__link:hover,
.client-tiles__all:hover,
.client-tile:hover .client-tile__name { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.news-grid__cta-label { color: var(--color-ink-soft); }
.qa__label::before { background: var(--color-accent); }
[data-theme-section="dark"] .qa__q::before { color: var(--color-accent); }
[data-theme-section="dark"] .news-grid__cta-label { color: var(--color-accent); }

/* ---- Nav: logo left, a centred card-tone pill of links, the ask on its own at the right ---- */
@media screen and (min-width: 62em) {
  .mega-nav__bar-start { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 1rem; }
  .mega-nav__bar-inner { display: contents; }
  .mega-nav__bar-list:not(.is--actions):not(.is--utils) {
    grid-column: 2; display: flex; gap: 0.25rem; padding: 0.3rem;
    border-radius: 999em;
    background: color-mix(in srgb, var(--color-surface-2) 85%, transparent);
    backdrop-filter: blur(10px);
  }
  .mega-nav__bar-list.is--actions { grid-column: 3; justify-self: end; }
  .mega-nav__bar-link { padding: 0.5rem 0.95rem; font-size: 0.92rem; color: var(--color-ink-soft); }
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link,
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link .mega-nav__bar-link-label { color: var(--color-ink-soft); }
  .mega-nav__bar-link:hover, li.is-current > .mega-nav__bar-link { background: var(--color-surface); }
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link:hover,
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-link:hover .mega-nav__bar-link-label,
  [data-menu-wrap][data-nav-theme] li.is-current > .mega-nav__bar-link,
  [data-menu-wrap][data-nav-theme] li.is-current > .mega-nav__bar-link .mega-nav__bar-link-label { color: var(--color-ink); }

  /* The CTA: ink pill with a lilac hover, "Start a project ↗" like the prototype's .btn--ink. */
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-action .mega-nav__bar-cta { background: var(--color-ink); color: var(--color-surface); }
  /* The label follows the pill: its own fill snapped to lilac on hover with no transition. */
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-action .mega-nav__bar-cta .mega-nav__bar-link-label { background: none; color: inherit; }
  .mega-nav__bar-action .mega-nav__bar-cta {
    display: inline-flex; align-items: center; gap: 0.55em; padding: 0.8em 1.15em; font-size: 0.95rem; line-height: 1;
    transition: background-color var(--animation-default-half), color var(--animation-default-half);
  }
  .mega-nav__bar-action .mega-nav__bar-cta::after { content: "\2197"; content: "\2197" / ""; transition: transform var(--animation-default-half); }
  .mega-nav__bar-action .mega-nav__bar-cta:hover::after { transform: translate(2px, -2px); }
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-action .mega-nav__bar-cta:hover { background: var(--color-accent); color: var(--color-on-accent); }
  /* Current CTA (on its own page) fills lilac like the hover: a ring in lilac on paper is only 2:1. */
  [data-menu-wrap][data-nav-theme] .mega-nav__bar-action.is-current .mega-nav__bar-cta { background: var(--color-accent); color: var(--color-on-accent); }

  /* Scrolled: the prototype's blurred paper band behind the bar, so content never runs under the logo. */
  .mega-nav::before {
    content: ""; position: absolute; z-index: 1; inset: -1.25em 0 0;
    background: color-mix(in srgb, var(--color-surface) 84%, transparent);
    backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  [data-menu-wrap][data-nav-scrolled="true"]::before { opacity: 1; }
}

/* ---- Buttons: the prototype's large pill size for the hero and contact asks ---- */
.statement-hero__buttons .btn-bubble-arrow,
.contact-band__row .btn-bubble-arrow { font-size: 0.95rem; }

/* ---- Hero: labels move under the row, lede left and buttons right ---- */
/* The prototype's top padding counts from the top of the window; the body already pads by the nav. */
.section_statement-hero { padding-top: max(2rem, calc(clamp(8rem, 19vh, 12rem) - var(--nav-offset, 0px))); padding-bottom: clamp(4.5rem, 10vh, 7rem); }
.section_statement-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 4rem; }
.statement-hero__title { grid-column: 1 / -1; grid-row: 1; max-width: 16ch; font-size: clamp(2.6rem, 1.1rem + 5.6vw, 6.8rem); line-height: 0.98; letter-spacing: -0.05em; }
/* The prototype's ring is as wide as the word (its global svg max-width caps the 128%), so the full stop sits outside it. */
.statement-hero__title .is--circled svg { left: -5%; width: 116%; max-width: none; }
.statement-hero__title .is--circled path { stroke-width: 4px; }
.statement-hero__lede { grid-column: 1; grid-row: 2; margin-top: clamp(2rem, 5vh, 3.25rem); max-width: 42ch; font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.5; }
.statement-hero__buttons { grid-column: 2; grid-row: 2; margin-top: clamp(2rem, 5vh, 3.25rem); gap: 1.5rem; flex-wrap: nowrap; }
.statement-hero__labels { grid-column: 1 / -1; grid-row: 3; margin: clamp(3rem, 8vh, 5rem) 0 0; font-family: var(--v3-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--v3-mute); }
.statement-hero__labels > span > span:not(.pulse) { color: var(--v3-dim); opacity: 1; }

/* The second hero ask is a plain underlined link, not a second pill. */
.statement-hero__buttons .btn-bubble-arrow.is-secondary .btn-bubble-arrow__arrow { display: none; }
.statement-hero__buttons .btn-bubble-arrow.is-secondary .btn-bubble-arrow__content {
  height: auto; padding: 0; transform: none; box-shadow: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  font-size: var(--v3-body); font-weight: 500; color: var(--color-ink); padding-bottom: 0.15em; transition: background-size 0.4s var(--cubic-default);
}
.statement-hero__buttons .btn-bubble-arrow.is-secondary:hover .btn-bubble-arrow__content { background-size: 0 1px; background-position: 100% 100%; }
/* An in-page jump gets the down arrow; a link that opens a modal or leaves the page does not. */
.statement-hero__buttons .btn-bubble-arrow.is-secondary[href^="#"]:not([data-modal-target]) .btn-bubble-arrow__content-text::after { content: " \2193"; content: " \2193" / ""; }
@media (max-width: 61.99em) {
  .section_statement-hero .container { grid-template-columns: minmax(0, 1fr); }
  .statement-hero__buttons { grid-column: 1; grid-row: 3; justify-self: start; flex-wrap: wrap; }
  .statement-hero__labels { grid-row: 4; }
}

/* ---- Promo video: a slight zoom, cropped evenly on all four edges by the figure.
   translate is a share of the video's own (103%) box: 1.5 / 103. ---- */
.video-reel video { width: 103%; max-width: none; height: 103%; translate: -1.4563% -1.4563%; }

/* ---- Numbers: hairline in ink over each figure, v3 scale ---- */
.figures__title.is--kicker { width: auto; font-size: 0.92rem; color: var(--color-ink-soft); margin-bottom: 1.25rem; letter-spacing: normal; }
.figures__cols { gap: clamp(1.5rem, 3vw, 3rem); }
.figure { border-top-color: var(--color-ink); padding-top: 1.25rem; }
.figure__number { font-size: clamp(4rem, 2rem + 6vw, 8.5rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.figure__body { margin-top: 1.25rem; font-size: var(--v3-body); line-height: 1.55; color: var(--v3-mute); max-width: 34ch; }
.figure__body b { color: var(--color-ink); }

/* ---- Section heads (service plates, stacking cards): v3 h2, aside right ---- */
.service-plates__slam,
.section_stacking-cards .block-intro__title { margin: 0; max-width: none; font-size: var(--v3-h2); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.service-plates__head { margin-bottom: clamp(2rem, 5vh, 3rem); }
.service-plates__aside,
.section_stacking-cards .block-intro__text { font-size: var(--v3-body); line-height: 1.55; color: var(--color-ink-soft); max-width: 44ch; }
.section_stacking-cards .block-intro:has(+ .card-stack.is--split) {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 1.25rem 3rem;
  max-width: none; margin-bottom: clamp(2rem, 5vh, 3rem);
}
.section_stacking-cards .block-intro:has(+ .card-stack.is--split) .block-intro__text { justify-self: end; margin: 0; }
@media (max-width: 61.99em) {
  .section_stacking-cards .block-intro:has(+ .card-stack.is--split) { grid-template-columns: minmax(0, 1fr); }
  .section_stacking-cards .block-intro:has(+ .card-stack.is--split) .block-intro__text { justify-self: start; }
}

/* ---- Service plates: v3 proportions ---- */
.service-plates__grid { gap: clamp(0.6rem, 1vw, 1rem); }
.service-plate__plate { border-radius: var(--v3-radius-m); padding: clamp(1.2rem, 1.8vw, 1.8rem); }
@media (min-width: 48em) { .service-plate__plate { aspect-ratio: 4 / 5; } }
@media (min-width: 48em) and (max-width: 68.75em) { .service-plates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 47.99em) { .service-plate__plate { aspect-ratio: 4 / 3; min-height: 0; } }
.service-plate__icon { width: clamp(3.25rem, 4.6vw, 4.6rem); }
.service-plate__body { gap: 0.7rem; }
.service-plate__word { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.service-plate__cap { font-size: 0.95rem; line-height: 1.45; opacity: 1; color: color-mix(in srgb, var(--plate-fg) 78%, transparent); }
/* On a dark plate the caption is paper, not the plate's accent ink (the prototype's ink + lilac plates). */
.service-plate__plate[data-plate-tone="dark"] .service-plate__cap { color: color-mix(in srgb, var(--color-surface) 72%, transparent); }

/* ---- Ways to work (fanned split stacking cards under a sticky intro) ---- */
.card-stack.is--split .card-stack__list { font-size: var(--v3-body); }
.card-stack.is--split .card-stack__link { font-size: var(--v3-body); font-weight: 500; }
.card-stack.is--split .card-stack__link[data-underline-link]::before,
.card-stack.is--split .card-stack__link[data-underline-link]::after { height: 2px; }

/* Ink cards like the service plates: the plates' radius and type scale, lilac title,
   check marks and link (the card's --card-ink), paper copy. Every card is the same
   ink, so a paper rim along each top edge shows where one card sits over the next. */
.card-stack.is--fanned.is--split {
  --stack-card-pad: clamp(1.4rem, 2.4vw, 2.5rem);
  --stack-title-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem);
  --stack-title-lh: 1.05;
  --stack-card-max: 550px;
  --stack-dwell: 12svh;
  max-width: none;
}
/* Copy left, the client loop right at the plates' inner radius. */
.card-stack.is--split .card-stack__item.has--media .card-stack__inner { column-gap: clamp(1.5rem, 4vw, 4rem); }
.card-stack__item.has--media .card-stack__media { border-radius: calc(var(--v3-radius-m) - 6px); background: color-mix(in srgb, var(--color-surface) 6%, transparent); }
.card-stack__copy { gap: 0.9rem; }
.card-stack__copy .card-stack__list { padding-top: 0.9rem; gap: 0.35rem; }
.card-stack.is--fanned .card-stack__item { border-radius: var(--v3-radius-m); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-surface) 20%, transparent); }
.card-stack.is--fanned.is--split .card-stack__text { max-width: 40ch; font-size: var(--v3-body); line-height: 1.55; }
.card-stack__item[data-card-tone="dark"] .card-stack__text { color: color-mix(in srgb, var(--color-surface) 72%, transparent); }
.card-stack__item[data-card-tone="dark"] .card-stack__list { color: color-mix(in srgb, var(--color-surface) 88%, transparent); border-top-color: color-mix(in srgb, var(--color-surface) 18%, transparent); }
.card-stack__item[data-card-tone="dark"] .card-stack__list li::before { color: var(--card-ink, var(--color-accent)); }

/* ---- Q&A, split and card variants only (About's stacked band keeps the theme look) ---- */
.qa__grid:is(.is--card, [data-qa-split]) .qa__label { font-size: 0.92rem; }
.qa__grid:is(.is--card, [data-qa-split]) .qa__title { font-size: var(--v3-h2); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.qa__grid:is(.is--card, [data-qa-split]) .qa__desc { margin-top: 1.25rem; font-size: var(--v3-body); line-height: 1.55; max-width: 38ch; }
.qa__grid:is(.is--card, [data-qa-split]) .qa__pair { padding: 1.4rem 0; }
.qa__grid:is(.is--card, [data-qa-split]) .qa__list { border-bottom: 1px solid var(--color-line); }
.qa__grid:is(.is--card, [data-qa-split]) .qa__q { align-items: baseline; font-family: inherit; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; text-transform: none; color: var(--color-ink); }
.qa__grid:is(.is--card, [data-qa-split]) .qa__q::before { font-family: var(--v3-mono); font-size: 0.72rem; letter-spacing: 0.04em; }
.qa__grid:is(.is--card, [data-qa-split]) .qa__a { font-size: var(--v3-body); line-height: 1.55; }

/* The ink card: the theme's dark section colour plus a lilac wash; text and rules in
   the re-pointed ink (paper inside a dark theme) at the prototype's strengths. */
.qa__grid.is--card { border-radius: var(--v3-radius); background-image: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 60%); }
.qa__grid.is--card[data-theme-section="dark"] .qa__label { color: color-mix(in srgb, var(--color-ink) 80%, transparent); }
.qa__grid.is--card[data-theme-section="dark"] .qa__desc,
.qa__grid.is--card[data-theme-section="dark"] .qa__a { color: color-mix(in srgb, var(--color-ink) 72%, transparent); }
.qa__grid.is--card[data-theme-section="dark"] .qa__list { border-bottom-color: color-mix(in srgb, var(--color-ink) 18%, transparent); }
.qa__grid.is--card[data-theme-section="dark"] .qa__pair { border-top-color: color-mix(in srgb, var(--color-ink) 18%, transparent); }

/* ---- Testimonial and contact: v3 body size and the muted byline ---- */
.testimonial__by { font-size: var(--v3-body); color: var(--v3-mute); }
.contact-band__label { font-size: 0.92rem; }
.contact-band__mail { font-size: var(--v3-body); color: var(--v3-mute); }

/* ---- Home rhythm: the prototype's gaps between these neighbours ---- */
[data-barba-namespace="home"] .section_figures { padding-top: clamp(5rem, 12vh, 8rem); padding-bottom: 0; }
[data-barba-namespace="home"] .section_work-rail { padding-top: clamp(4.5rem, 10vh, 7rem); }
[data-barba-namespace="home"] .section_service-plates { padding-top: clamp(2rem, 6vh, 4rem); padding-bottom: 0; }
[data-barba-namespace="home"] .section_stacking-cards { padding-top: clamp(5rem, 12vh, 8rem); }
[data-barba-namespace="home"] .section_qa.is--card { padding-top: clamp(6rem, 14vh, 9rem); padding-bottom: 0; }
[data-barba-namespace="home"] .section_testimonial { padding-top: clamp(6rem, 14vh, 9rem); }
/* The page's last band (Home's contact band, the footer CTA elsewhere) rounds off over
   the ink footer, which tucks up under its corners. z-index 0 keeps the footer's dark
   overlay inside the footer, under those corners. */
main > :is(.section_contact-band, .section_footer-cta):last-child {
  position: relative; z-index: 1;
  background-color: var(--color-surface); border-bottom-left-radius: var(--v3-radius); border-bottom-right-radius: var(--v3-radius);
}
[data-barba="wrapper"]:has(> main > :is(.section_contact-band, .section_footer-cta):last-child) + .footer__wrap { z-index: 0; margin-top: calc(-1 * var(--v3-radius)); background: var(--color-primary); }
[data-barba-namespace="home"] > .section_contact-band:last-child { padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: clamp(5rem, 12vh, 8rem); }

/* ---- Footer CTA band (other pages): paper like Home's contact band, the ask in lilac ---- */
main .section_footer-cta {
  --color-surface: var(--brand-cream);
  --btn-surface: var(--color-accent);
  --btn-ink: var(--color-on-accent);
  --btn-arrow-surface: var(--color-primary);
  --btn-arrow-ink: var(--color-surface);
  padding-bottom: calc(72 * var(--px));
}

/* ---- Footer: ink, paper wordmark, the widget row loses its cream card ---- */
.footer, .footer__dark { background: var(--color-primary); }
.footer {
  --color-ink: var(--brand-cream);
  --color-ink-soft: color-mix(in srgb, var(--brand-cream) 72%, transparent);
  --color-line: color-mix(in srgb, var(--brand-cream) 18%, transparent);
  color: var(--color-ink-soft);
  padding-top: calc(var(--v3-radius) + clamp(3rem, 8vh, 5rem));
}
.footer-top-inner { background: transparent; border-radius: 0; padding: 0; }
.footer-widget, .footer-widget a, .footer-widget p { color: var(--color-ink-soft); font-size: 0.95rem; line-height: 1.5; }
.footer-widget a:hover { color: var(--color-accent); }
.footer-widget .widget-title { margin: 0 0 0.6rem; font: 400 0.72rem/1.4 var(--v3-mono); letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--brand-cream) 45%, transparent); }
.footer-widget p { margin: 0 0 0.45rem; }
.footer-widget ul { gap: 0.45rem; }
.footer-widget p.footer__lede { margin: 0; max-width: 26ch; color: var(--brand-cream); font-size: 1.25rem; line-height: 1.35; }
/* Lede wide, then the Site and Contact columns (the prototype's 2fr 1fr 1fr); the lede spans the row on narrow screens. */
.footer-top-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-widget, .footer-widget:last-child { min-width: 0; margin-left: 0; }
@media (max-width: 960px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-widget:first-child { grid-column: 1 / -1; }
}
.footer_acknowledgement { max-width: var(--size-container); margin-inline: auto; }
.footer-ack-inner { max-width: 72ch; margin-top: 2.5rem; font-size: 0.88rem; color: color-mix(in srgb, var(--brand-cream) 50%, transparent); }
.footer-bottom-inner .right p, .footer-bottom-inner .left p { margin: 0; }
.footer__wordmark { color: var(--color-ink); }
.footer-bottom-inner { font-family: var(--v3-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--brand-cream) 45%, transparent); }
.footer-bottom-inner a { color: var(--color-ink-soft); }
