:root {
  --bg: #ffffff; --surface: #eaf2ff; --text: #0b1f44; --muted: #44557a; --muted-surface: #44557a;
  --primary: #0b1f44; --on-primary: #ffffff; --primary-muted: #d3d7dd;
  --accent: #2e7dff; --on-accent: #ffffff; --accent-text: #2e7dff;
  --border: #bfd6fa; --link: #0b1f44; --soft-bg: #e2e4e9; --soft-text: #0b1f44; --outline-text: #0b1f44;
  --inverse-bg: #0b1f44; --inverse-text: #ffffff; --inverse-muted: #c9ced6;
  --font-head: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif; --font-body: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  --w-head: 700; --w-body: 400; --track-head: -0.022em;
  --fs-display: clamp(3rem, 1.2rem + 8.2vw, 7.4rem); --fs-h1: clamp(2.6rem, 1.4rem + 5vw, 4.9rem); --fs-h2: clamp(1.9rem, 1.2rem + 2.8vw, 3.3rem); --fs-h3: 1.4rem; --fs-lede: 1.3rem;
  --section-y: clamp(5rem, 2.8rem + 9vw, 9.5rem); --gap: 2.25rem;
  --radius: 6px; --radius-lg: 10px; --radius-btn: 6px;
  --content: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; color-scheme: light; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: var(--w-body); font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--w-head); letter-spacing: var(--track-head); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding-left: 1.2em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--primary); color: var(--on-primary); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * clamp(1.25rem, 5vw, 3rem), var(--content)); margin-inline: auto; }
.measure { max-width: 42rem; }

/* ---------- Tones ---------- */
.tone-default { background: var(--bg); color: var(--text); }
.tone-surface { background: var(--surface); color: var(--text); --muted: var(--muted-surface); }
.tone-primary { background: var(--primary); color: var(--on-primary); --muted: var(--primary-muted); --link: var(--on-primary); --accent-text: var(--on-primary); --border: color-mix(in srgb, var(--on-primary) 28%, transparent); }
.tone-inverse { background: var(--inverse-bg); color: var(--inverse-text); --muted: var(--inverse-muted); --link: var(--inverse-text); --accent-text: var(--inverse-text); --border: color-mix(in srgb, var(--inverse-text) 24%, transparent); }
.tone-primary .btn-primary, .tone-inverse .btn-primary { background: var(--link); color: var(--primary); border-color: var(--link); }
.tone-inverse .btn-primary { color: var(--inverse-bg); }
.tone-primary .btn-secondary, .tone-inverse .btn-secondary, .tone-primary .btn-soft, .tone-inverse .btn-soft { background: transparent; color: var(--link); border-color: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.8rem 1.4rem; border-radius: var(--radius-btn); border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-secondary { background: transparent; color: var(--outline-text); border-color: currentColor; }
.btn-link { min-height: 0; padding: 0.25rem 0; border: 0; border-radius: 0; color: var(--link); text-decoration: underline; text-underline-offset: 0.25em; }
.buttons-outline .btn-primary { background: transparent; color: var(--outline-text); border-color: currentColor; }
.buttons-soft .btn-primary { background: var(--soft-bg); color: var(--soft-text); border-color: var(--soft-bg); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 2rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: var(--w-head); font-size: 1.25rem; letter-spacing: var(--track-head); line-height: 1.1; }
.brand img { height: 2.75rem; width: auto; max-width: 12rem; object-fit: contain; }
.nav-desktop { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.nav-list a { color: var(--text); text-decoration: none; font-weight: 500; padding: 0.4rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-cta { display: none; }
.nav-mobile { position: relative; }
.nav-mobile > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-btn); font-weight: 600; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { background: var(--surface); }
.nav-mobile .nav-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: min(18rem, calc(100vw - 2.5rem)); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; box-shadow: 0 18px 40px rgb(0 0 0 / 14%); }
.nav-mobile .nav-list { flex-direction: column; gap: 0.25rem; }
.nav-mobile .nav-list a { padding: 0.6rem 0; display: block; }
.nav-mobile .btn { width: 100%; margin-top: 0.75rem; }
@media (min-width: 60rem) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .header-centered .header-inner { flex-direction: column; justify-content: center; gap: 0.5rem; padding-block: 1rem; }
  .header-centered .header-cta { position: absolute; right: max(1.25rem, calc((100vw - var(--content)) / 2)); top: 1.25rem; }
  .header-split .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-split .nav-desktop { order: -1; }
  .header-split .header-cta { justify-self: end; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
/* Sparse sections (an hours table, contact details without a form) scale with the chosen density
   but take a shorter share of it, so a few lines of content do not float in a tall band. */
.section-compact { padding-block: max(2.5rem, calc(var(--section-y) * 0.6)); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 46rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); margin-bottom: 1rem; }
.intro { margin-top: 1rem; font-size: var(--fs-lede); color: var(--muted); line-height: 1.55; }
.lede { font-size: var(--fs-lede); line-height: 1.55; }
.muted { color: var(--muted); }
.rule { display: block; width: 3.5rem; height: 4px; background: var(--accent); border-radius: 2px; margin-block: 1.5rem; }

/* ---------- Media ---------- */
.media { position: relative; margin: 0; overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-land { aspect-ratio: 4 / 3; }
.ratio-port { aspect-ratio: 4 / 5; }
.ratio-square { aspect-ratio: 1; }
.img-rounded .media, .img-framed .media, .img-duotone .media { border-radius: var(--radius-lg); }
.img-framed .media { box-shadow: 0 0 0 1px var(--border), 14px 14px 0 0 var(--accent); }
.img-duotone .media img { filter: grayscale(1) contrast(1.05); }
.img-duotone .media::after { content: ""; position: absolute; inset: 0; background: var(--primary); mix-blend-mode: screen; opacity: 0.55; pointer-events: none; }
.media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem 1rem; font-size: 0.875rem; color: #fff; background: linear-gradient(to top, rgb(0 0 0 / 72%), rgb(0 0 0 / 0%)); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 6vw, 7rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); overflow: hidden; }
.hero h1 { font-size: var(--fs-h1); }
.hero .sub { margin-top: 1.5rem; font-size: var(--fs-lede); color: var(--muted); max-width: 38rem; line-height: 1.55; }
.hero-tagline { margin-top: 0.75rem; font-family: var(--font-head); font-style: italic; font-size: 1.125rem; color: var(--muted); }
.hero-centered { text-align: center; }
.hero-centered .hero-copy { max-width: 50rem; margin-inline: auto; }
.hero-centered .sub { margin-inline: auto; }
.hero-centered .cta-row { justify-content: center; }
.hero-centered .hero-media { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.hero-split .hero-grid, .hero-layered .hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) { .hero-split .hero-grid, .hero-layered .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
@media (max-width: 55.99rem) { .hero .ratio-port { aspect-ratio: 4 / 3; } }
.hero-statement h1 { font-size: var(--fs-display); line-height: 1.02; max-width: 16ch; }
.hero-statement .sub { max-width: 44rem; }
.hero-minimal { padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4.75rem) clamp(2rem, 1.5rem + 2.5vw, 3.75rem); }
.hero-minimal h1 { max-width: 22ch; }
.hero-full-bleed-image { position: relative; min-height: min(88vh, 46rem); display: grid; align-items: end; color: #fff; background: #1b1b1b; }
.hero-full-bleed-image .hero-bg { position: absolute; inset: 0; }
.hero-full-bleed-image .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-full-bleed-image .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 62%) 45%, rgb(0 0 0 / 55%) 100%); }
.hero-full-bleed-image .container { position: relative; }
.hero-full-bleed-image .sub, .hero-full-bleed-image .hero-tagline, .hero-full-bleed-image .eyebrow { color: #fff; }
.hero-full-bleed-image .btn-primary { background: #fff; color: #111; border-color: #fff; }
.hero-full-bleed-image .btn-secondary, .hero-full-bleed-image .btn-link { color: #fff; }
.hero-full-bleed-image .hero-copy { max-width: 46rem; }
.hero-layered { position: relative; }
.hero-layered::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: var(--surface); }
.hero-layered .container { position: relative; }
@media (max-width: 55.99rem) { .hero-layered::before { inset: auto 0 0 0; width: auto; height: 40%; } }
.hero-layered .hero-media { position: relative; }
.hero-layered .hero-media::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; background: var(--accent); border-radius: var(--radius-lg); opacity: 0.9; }
.hero-layered .hero-media .media { position: relative; }
.hero-layered h1 { font-size: var(--fs-display); line-height: 1.02; }

/* Premium 3D boundary: static, non-3D fallback (the bounded 3D scene is a later milestone). */
.scene { position: relative; aspect-ratio: 1; max-width: 34rem; width: 100%; margin-inline: auto; }
.scene span { position: absolute; display: block; border-radius: 50%; }
.scene span:nth-child(1) { inset: 6% 20% 34% 6%; background: var(--primary); }
.scene span:nth-child(2) { inset: 30% 6% 8% 30%; background: var(--accent); border-radius: var(--radius-lg); transform: rotate(-8deg); mix-blend-mode: multiply; }
.scene span:nth-child(3) { inset: 42% 44% 20% 18%; background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); transform: rotate(10deg); }
.scene-layered-planes span, .scene-product-turntable span { border-radius: var(--radius-lg); }
.scene-calm span:nth-child(2) { opacity: 0.75; }

/* ---------- Feature lists ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.feature h3 { margin-top: 0.25rem; }
.feature p { margin-top: 0.6rem; color: var(--muted); }
.feature .btn-link { margin-top: 0.75rem; }
.feature-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); margin-bottom: 1rem; }
.feature .media { margin-bottom: 1.25rem; border-radius: var(--radius); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.features-grid .feature { border-top: 2px solid var(--text); padding-top: 1.5rem; }
.features-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.features-cards .feature { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.tone-default .features-cards .feature { background: var(--surface); }
.tone-primary .features-cards .feature, .tone-inverse .features-cards .feature { background: transparent; }
.features-list { gap: 0; }
.features-list .feature { display: grid; gap: 0.5rem 3rem; padding-block: 1.75rem; border-top: 1px solid var(--border); }
.features-list .feature:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 48rem) { .features-list .feature { grid-template-columns: minmax(12rem, 1fr) 2fr; } .features-list .feature p { margin-top: 0; } .features-list .feature-icon { display: none; } }
.features-alternating { gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
.features-alternating .feature { display: grid; gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
/* An item without an image keeps its index beside its copy, on the reading side, at every width. */
.features-alternating .feature-noimage { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
/* A list with no images at all is a numbered list: tighter rhythm and a readable measure. */
.features-alternating.no-media { gap: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); max-width: 52rem; }
@media (min-width: 52rem) {
  .features-alternating .feature { grid-template-columns: 1fr 1fr; }
  .features-alternating .feature-flip .feature-media { order: 2; }
  .features-alternating .feature-noimage { grid-template-columns: 5rem minmax(0, 1fr); gap: 2rem; }
}
.features-alternating .feature-index { font-family: var(--font-head); font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; color: var(--accent-text); }
.features-alternating .feature .media { margin: 0; }
/* Column counts follow the number of items so grids never end with a lone orphan. */
@media (min-width: 60rem) {
  .features-grid.cols-2, .features-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .features-grid.cols-3, .features-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .features-grid.cols-4, .features-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.features-bento { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.features-bento .feature { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: flex-start; }
.features-bento .feature > .btn, .features-bento .feature > .btn-link { margin-top: auto; }
.features-bento .feature > p + .btn { margin-top: 1.25rem; }
.tone-surface .features-bento .feature { background: var(--bg); }
@media (min-width: 60rem) {
  .features-bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .features-bento .feature:first-child { grid-column: span 2; grid-row: span 2; justify-content: flex-end; background: var(--primary); color: var(--on-primary); border-color: var(--primary); --muted: var(--primary-muted); --link: var(--on-primary); }
  .features-bento .feature:first-child h3 { font-size: var(--fs-h2); }
  .features-bento .feature:first-child .btn-primary { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
  .features-bento.count-2 .feature:nth-child(2), .features-bento.count-3 .feature:not(:first-child) { grid-column: span 2; }
  .features-bento.count-4 .feature:nth-child(4), .features-bento.count-6 .feature:nth-child(n + 5) { grid-column: span 2; }
}

/* ---------- Rich text & media text ---------- */
.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { margin-top: 1.8em; }
.prose li + li { margin-top: 0.4em; }
.richtext-single .prose { max-width: 42rem; }
.richtext-two { display: grid; gap: 1.5rem clamp(2rem, 1rem + 5vw, 6rem); }
@media (min-width: 52rem) { .richtext-two { grid-template-columns: 1fr 1.6fr; } .richtext-two .section-head { position: sticky; top: 7rem; align-self: start; } }
.richtext-pull .prose > p:first-child { font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.3; letter-spacing: var(--track-head); border-left: 4px solid var(--accent); padding-left: clamp(1rem, 0.5rem + 2vw, 2rem); }
.mediatext { display: grid; gap: 2rem clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
@media (min-width: 52rem) {
  .mediatext-image-left, .mediatext-image-right { grid-template-columns: 1fr 1fr; }
  .mediatext-image-right .mediatext-media { order: 2; }
  .mediatext-overlap { grid-template-columns: repeat(12, 1fr); }
  .mediatext-overlap .mediatext-media { grid-column: 1 / span 7; grid-row: 1; }
  .mediatext-overlap .mediatext-copy { grid-column: 6 / span 7; grid-row: 1; background: var(--bg); padding: clamp(2rem, 1rem + 3vw, 3.5rem); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgb(0 0 0 / 12%); z-index: 1; }
  .tone-surface .mediatext-overlap .mediatext-copy { background: var(--bg); }
}
.tone-primary .mediatext-overlap .mediatext-copy, .tone-inverse .mediatext-overlap .mediatext-copy { background: transparent; box-shadow: none; }
.mediatext-stacked .mediatext-copy { max-width: 44rem; }

/* ---------- Gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: clamp(0.5rem, 0.3rem + 1vw, 1rem); }
@media (min-width: 48rem) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); } }
.gallery-masonry { display: block; columns: 9.5rem 3; column-gap: clamp(0.5rem, 0.3rem + 1vw, 1rem); }
.gallery-masonry li { break-inside: avoid; margin-bottom: clamp(0.5rem, 0.3rem + 1vw, 1rem); }
.gallery-masonry li:nth-child(3n + 1) .media { aspect-ratio: 3 / 4; }
.gallery-masonry li:nth-child(3n + 2) .media { aspect-ratio: 1; }
.gallery-masonry li:nth-child(3n) .media { aspect-ratio: 4 / 3; }
.gallery-feature { grid-template-columns: repeat(2, 1fr); }
.gallery-feature li:first-child { grid-column: 1 / -1; }
.gallery-feature li:first-child .media { aspect-ratio: 16 / 9; }
@media (min-width: 52rem) { .gallery-feature { grid-template-columns: repeat(4, 1fr); } .gallery-feature li:first-child { grid-column: span 2; grid-row: span 2; } .gallery-feature li:first-child .media { aspect-ratio: auto; height: 100%; } }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 26rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.scroller > * { scroll-snap-align: start; }
.scroller:focus-visible { outline-offset: 6px; }

/* ---------- Testimonials ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.quote { margin: 0; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.45; }
.quote figcaption { margin-top: 1.25rem; font-weight: 600; color: var(--muted); }
.quote figcaption::before { content: "— "; }
.quote-large { text-align: center; max-width: 52rem; margin-inline: auto; border: 0; padding-block: 0; }
.quote-large blockquote { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.3; }
.quote-large .quote-mark { display: block; font-family: var(--font-head); font-size: 5rem; line-height: 0.6; color: var(--accent-text); margin-bottom: 0.5rem; }
.quote-large figcaption::before { content: ""; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-family: var(--font-head); font-weight: var(--w-head); font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 1.5rem; color: var(--muted); max-width: 44rem; }
.faq-list dt, .faq-two dt { font-family: var(--font-head); font-weight: var(--w-head); font-size: 1.15rem; }
.faq-list dd, .faq-two dd { margin: 0.5rem 0 1.75rem; color: var(--muted); }
.faq-two { max-width: none; }
@media (min-width: 52rem) { .faq-two { columns: 2; column-gap: 4rem; } .faq-two div { break-inside: avoid; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); counter-reset: step; }
.steps > li { counter-increment: step; position: relative; }
.steps-numbered { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps-numbered > li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; color: var(--accent-text); margin-bottom: 1rem; }
.steps-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps-cards > li { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.steps-cards > li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: 1rem; }
.tone-primary .steps-cards > li::before { background: var(--on-primary); color: var(--primary); }
.steps-timeline { max-width: 46rem; gap: 0; }
.steps-timeline > li { padding: 0 0 2.25rem 3.25rem; border-left: 2px solid var(--border); margin-left: 1rem; }
.steps-timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps-timeline > li::before { content: counter(step); position: absolute; left: -1.05rem; top: -0.1rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-text); font-weight: 700; font-size: 0.9rem; }
.tone-surface .steps-timeline > li::before { background: var(--surface); }
.steps p { margin-top: 0.5rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.stat-value { display: block; font-family: var(--font-head); font-weight: var(--w-head); font-size: clamp(2.25rem, 1.8rem + 2.2vw, 3.5rem); line-height: 1; letter-spacing: var(--track-head); }
.stat-label { display: block; margin-top: 0.6rem; color: var(--muted); }
.stats-cards li { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--surface); }
.tone-surface .stats-cards li { background: var(--bg); }
.stats-row li { border-left: 3px solid var(--accent); padding-left: 1.25rem; }

/* ---------- CTA band ---------- */
.ctaband-banner { text-align: center; }
.ctaband-banner .section-head { margin-inline: auto; margin-bottom: 0; }
.ctaband-banner .cta-row { justify-content: center; }
.ctaband-split .ctaband-inner { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 52rem) { .ctaband-split .ctaband-inner { grid-template-columns: 1.4fr auto; } .ctaband-split .cta-row { margin-top: 0; } }
.ctaband-split .section-head { margin-bottom: 0; }
.ctaband-card .ctaband-inner { background: var(--primary); color: var(--on-primary); --muted: var(--primary-muted); --link: var(--on-primary); border-radius: var(--radius-lg); padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); text-align: center; }
.ctaband-card .ctaband-inner .btn-primary { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.ctaband-card .ctaband-inner .btn-secondary { color: var(--on-primary); }
.ctaband-card .section-head { margin-inline: auto; margin-bottom: 0; }
.ctaband-card .cta-row { justify-content: center; }

/* ---------- Contact, hours, forms ---------- */
.contact-grid { display: grid; gap: 2.5rem clamp(2rem, 1rem + 5vw, 6rem); }
@media (min-width: 56rem) { .contact-grid.has-form, .contact-grid.has-map { grid-template-columns: 1fr 1.2fr; } }
.contact-details { display: grid; gap: 1.5rem; align-content: start; }
.detail dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.detail dd { margin: 0.35rem 0 0; font-size: 1.125rem; }
.detail address { font-style: normal; }
.hours-table { border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.hours-table caption { text-align: left; font-weight: 700; padding-bottom: 0.5rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-weight: 400; }
.hours-table td { text-align: right; }
.hours-note { margin-top: 0.75rem; color: var(--muted); }
.map-card { display: grid; gap: 1rem; align-content: center; padding: clamp(1.75rem, 1rem + 2vw, 3rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.tone-surface .map-card { background: var(--bg); }
.map-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact-grid > .map-card { align-self: start; }
.map-card .icon { width: 1.75rem; height: 1.75rem; color: var(--accent-text); }
.map-card address { font-style: normal; }
.map-card p { margin: 0; }
.map-inline { margin-top: 0.5rem; }
.contact-form p + p { margin-top: 0; }
.contact-form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); color: var(--text); --muted: var(--muted-surface); --link: var(--link); }
.tone-surface .contact-form { background: var(--bg); --muted: var(--muted); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--muted); border-radius: var(--radius); padding: 0.75rem 0.9rem; min-height: 3rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.required-mark { color: var(--muted); font-weight: 400; }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.form-status { font-size: 0.9375rem; font-weight: 600; }

/* ---------- Logos ---------- */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3.5rem; }
.logos img { max-height: 3.5rem; width: auto; max-width: 10rem; object-fit: contain; }
.logos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); justify-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--inverse-bg); color: var(--inverse-text); --muted: var(--inverse-muted); --link: var(--inverse-text); --border: color-mix(in srgb, var(--inverse-text) 22%, transparent); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer-links { display: grid; gap: 1.25rem; align-content: start; }
.contact-details-col { display: grid; gap: 2rem; align-content: start; }
.site-footer a { color: var(--inverse-text); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-columns .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-simple .footer-grid { grid-template-columns: 1fr 2fr; align-items: start; } .footer-simple .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-brand { font-family: var(--font-head); font-weight: var(--w-head); font-size: 1.5rem; letter-spacing: var(--track-head); }
.footer-title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; font-family: var(--font-body); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-list address { font-style: normal; }
.footer-desc { margin-top: 0.75rem; color: var(--muted); max-width: 26rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); }
/* Small screens: identity, contact, navigation, social and the legal line stay; the repeated
   description goes, link lists wrap inline (with comfortable tap height) and spacing tightens. */
@media (max-width: 51.99rem) {
  .site-footer { padding-block: 2.5rem 1.5rem; }
  .footer-grid { gap: 1.75rem; }
  .footer-links { gap: 1rem; }
  .footer-about { display: none; }
  .footer-list { gap: 0.15rem; }
  .footer-list a { display: inline-block; padding-block: 0.3rem; }
  .footer-inline { display: flex; flex-wrap: wrap; gap: 0.15rem 1.25rem; }
  .footer-title { margin-bottom: 0.5rem; }
  .footer-bottom { margin-top: 2rem; padding-top: 1.25rem; }
}

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hover-lift .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgb(0 0 0 / 14%); }
  .hover-lift .features-cards .feature, .hover-lift .features-bento .feature, .hover-lift .steps-cards > li, .hover-lift .quote { transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease; }
  .hover-lift .features-cards .feature:hover, .hover-lift .features-bento .feature:hover, .hover-lift .steps-cards > li:hover, .hover-lift .quote:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgb(0 0 0 / 10%); }
  .hover-lift .gallery .media img, .hover-glow .gallery .media img { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
  .hover-lift .gallery .media:hover img, .hover-glow .gallery .media:hover img { transform: scale(1.04); }
  .hover-glow .btn:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent); }
  .hover-glow .features-cards .feature:hover, .hover-glow .quote:hover { box-shadow: 0 0 0 2px var(--accent); }
  .hover-underline .nav-list a, .hover-underline .btn-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 240ms ease; }
  .hover-underline .nav-list a:hover, .hover-underline .btn-link:hover { background-size: 100% 2px; }
}

/* ---------- Motion (CSS only; nothing essential depends on it) ---------- */
@keyframes bpm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bpm-rise { from { opacity: 0; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
@keyframes bpm-rise-far { from { opacity: 0; transform: translateY(3rem) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes bpm-drift { from { transform: translateY(-4%); } to { transform: translateY(6%); } }
@keyframes bpm-float { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(2%, -3%) rotate(-5deg); } }
@media (prefers-reduced-motion: no-preference) {
  .motion-on .hero .hero-copy > * { animation: bpm-rise 720ms cubic-bezier(.2,.7,.2,1) both; }
  .motion-on .hero .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .motion-on .hero .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .motion-on .hero .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .motion-on .hero .hero-copy > :nth-child(5) { animation-delay: 320ms; }
  .motion-on .hero .hero-media { animation: bpm-fade 900ms ease 200ms both; }
  .motion-subtle .hero .hero-copy > * { animation-name: bpm-fade; }
  .motion-expressive .hero .hero-copy > * { animation-name: bpm-rise-far; animation-duration: 950ms; }
  .motion-expressive .scene span:nth-child(2) { animation: bpm-float 9s ease-in-out infinite; }
  /* Reveals apply only to small elements (section heads, single items, media boxes) and finish
     when the element is fully in view ("entry 100%"), so nothing can stay partly transparent. */
  @supports (animation-timeline: view()) {
    .motion-on .reveal, .motion-on .reveal-group > * { animation: bpm-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .entrance-none .reveal, .entrance-none .reveal-group > * { animation: none; }
    .entrance-fade .reveal, .entrance-fade .reveal-group > *, .motion-subtle .reveal, .motion-subtle .reveal-group > * { animation-name: bpm-fade; }
    .entrance-stagger .reveal-group > :nth-child(3n + 2) { animation-range: entry 12% entry 100%; }
    .entrance-stagger .reveal-group > :nth-child(3n) { animation-range: entry 24% entry 100%; }
    .motion-expressive .reveal, .motion-expressive .reveal-group > * { animation-name: bpm-rise-far; }
  }
  @supports (animation-timeline: scroll()) {
    .scroll-linked .hero .hero-media .media img, .scroll-linked .hero-bg img { scale: 1.12; animation: bpm-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .scroll-linked .mediatext-media .media img { scale: 1.12; animation: bpm-drift linear both; animation-timeline: view(); }
  }
}

@media print {
  .site-header, .nav-mobile, .skip-link, .contact-form { display: none; }
  body { background: #fff; color: #000; }
}

:root { --muted-both: #44557a; --glass-panel: 80%; --glass-header: 78%; --glass-hero: 62%; --spot-edge: #2e7dff99; --offset: clamp(0.75rem, 0.4rem + 1.4vw, 1.5rem); }
.tone-default { --atmo-a1: #7984983d; --atmo-a2: #8cb8ff33; --atmo-m1: #7984982f; --atmo-m2: #8cb8ff28; --atmo-m3: #839ecc23; --grid-line: #0b1f4417; --glass-card: 70%; --spot: #2e7dff38; }
.tone-surface { --atmo-a1: #7984983d; --atmo-a2: #8cb8ff33; --atmo-m1: #7984982f; --atmo-m2: #8cb8ff28; --atmo-m3: #839ecc23; --grid-line: #0b1f4417; --glass-card: 70%; --spot: #2e7dff38; }
.tone-primary { --atmo-a1: #19458c99; --atmo-a2: #102b5980; --atmo-m1: #19458c9e; --atmo-m2: #102b5985; --atmo-m3: #53698c75; --grid-line: #ffffff17; }
.tone-inverse { --atmo-a1: #06112599; --atmo-a2: #19458c80; --atmo-m1: #0611259e; --atmo-m2: #19458c85; --atmo-m3: #102b5975; --grid-line: #ffffff17; }
.tone-default { --card-bg: var(--surface); }
.tone-surface { --card-bg: var(--bg); }
:root { --stage-c1: #0b1f44; --stage-c2: #2e7dff; --stage-c3: #0b1f44; --stage-c4: #2e7dff; }
.tone-surface .stage { --stage-c1: #0b1f44; --stage-c2: #2e7dff; --stage-c3: #0b1f44; --stage-c4: #2e7dff; }
.tone-primary .stage { --stage-c1: #1d4ea2; --stage-c2: #2e7dff; --stage-c3: #1d4ea2; --stage-c4: #2e7dff; }
.tone-inverse .stage { --stage-c1: #1d4ea2; --stage-c2: #2e7dff; --stage-c3: #1d4ea2; --stage-c4: #2e7dff; }
@media (min-width: 56rem) { .hero-layered.hero-staged .stage { --stage-c1: #0b1f44; --stage-c2: #2e7dff; --stage-c3: #0b1f44; --stage-c4: #2e7dff; } }
/* A showcase stage may reach past its column; the section clips it, never the column (no cut planes). */
.mediatext-sec.has-stage { overflow-x: clip; }
/* The stage brings its own planes: the layered hero's flat accent slab is not drawn behind it. On wide
   screens the hero's surface band is drawn in the hero grid's media column itself (an absolutely
   positioned grid pseudo-element placed in column 2), from just left of that column to the hero's
   edges, so it follows the real column even when a long heading word widens the copy track; the see-
   through stage sits wholly on it. The band stays under the copy and the atmosphere: it is the
   hero's lowest layer (z-index -1 in the isolated hero), the copy and media sit above the atmosphere.
   On small screens, where the stage follows the copy, there is no band (its edge would cross the stage). */
.hero-layered .hero-media.has-stage::before { content: none; }
.hero-layered.hero-staged::before { content: none; }
@media (min-width: 56rem) {
  .hero-layered.hero-staged { isolation: isolate; }
  .hero-layered.hero-staged.has-atmo > .container { z-index: auto; }
  .hero-layered.hero-staged .hero-grid { position: relative; }
  .hero-layered.hero-staged .hero-copy, .hero-layered.hero-staged .hero-media { position: relative; z-index: 1; }
  .hero-layered.hero-staged .hero-grid::before { content: ""; position: absolute; grid-column: 2; grid-row: 1; z-index: -1; inset: -100vmax -100vmax -100vmax calc(0.5rem - clamp(2rem, 1rem + 4vw, 4.5rem)); background: var(--surface); pointer-events: none; }
}

/* ---------- Design plan (Phase 2) ---------- */
.hero-media { position: relative; }
/* clip, not hidden: a hidden overflow makes the section a scroll container, and the stage's and the
   reveals' view() timelines would then track the section instead of the page (they would never move). */
.hero, .has-atmo { overflow: hidden; overflow: clip; }
.has-atmo { isolation: isolate; }
.has-atmo > .container { position: relative; z-index: 1; }
/* The atmosphere fades out before the section's edges, so it never ends in a seam. */
.atmo { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%); }
.ctaband .atmo { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%); }
/* On a brand band the overlap copy keeps a panel in the band's own colour where it overlaps the image
   (the base CSS draws it transparent, so its first words would sit on the photo). */
@media (min-width: 52rem) {
  .tone-primary .mediatext-overlap .mediatext-copy { background: var(--primary); box-shadow: 0 24px 60px rgb(0 0 0 / 22%); }
  .tone-inverse .mediatext-overlap .mediatext-copy { background: var(--inverse-bg); box-shadow: 0 24px 60px rgb(0 0 0 / 30%); }
}
/* Focus rings in each tone's own text colour (visible on filled buttons and brand bands), and outline
   buttons that stay readable on primary/inverse bands. */
:root, .tone-default, .tone-surface { --focus: var(--text); }
.tone-primary { --focus: var(--on-primary); --outline-text: var(--link); }
.tone-inverse, .site-footer { --focus: var(--inverse-text); --outline-text: var(--link); }
.ctaband-card .ctaband-inner { --focus: var(--on-primary); }
.hero-full-bleed-image { --focus: #ffffff; }
@media (min-width: 60rem) { .features-bento .feature:first-child { --focus: var(--on-primary); } }
:focus-visible { outline-color: var(--focus, currentColor); }

.atmo-ambient-glow { background: radial-gradient(ellipse 60% 75% at 90% 8%, var(--atmo-a1), transparent 70%), radial-gradient(ellipse 52% 62% at 4% 100%, var(--atmo-a2), transparent 72%); }
@keyframes bpm-atmo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes bpm-atmo-drift { from { transform: none; } to { transform: translate3d(0, 9%, 0) scale(1.08); } }
@media (prefers-reduced-motion: no-preference) {
  .motion-on .atmo-ambient-glow { animation: bpm-atmo-in 2200ms cubic-bezier(.2,.7,.2,1) both; }
  @supports (animation-timeline: scroll()) {
    /* Drifting (down 9 %, scaled 1.08) carries the mask along: it fades out by 80 %, so it still ends inside
       the hero at full drift (the hero bottom is then at about 88 % of the layer) — no seam. */
    .scroll-linked .hero .atmo-ambient-glow { animation: bpm-atmo-drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 80%); }
  }
}

.surface-glass :is(.tone-default, .tone-surface) .features-cards .feature, .surface-glass :is(.tone-default, .tone-surface) .features-bento .feature:not(:first-child), .surface-glass :is(.tone-default, .tone-surface) .steps-cards > li, .surface-glass :is(.tone-default, .tone-surface) .quotes .quote, .surface-glass :is(.tone-default, .tone-surface) .stats-cards li, .surface-glass :is(.tone-default, .tone-surface) .contact-form, .surface-glass :is(.tone-default, .tone-surface) .map-card { background: color-mix(in srgb, var(--card-bg) var(--glass-card), transparent); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 45%, transparent), 0 24px 48px -30px rgb(0 0 0 / 32%); }
/* The layered hero's copy on a glass panel: only on a default-tone hero (the panel is solved for the
   page's own text colours); solid on small screens, where there is no blur to soften what lies behind;
   on wide screens it bleeds into the gutter so the headline keeps its measure. */
.surface-glass .hero-layered.tone-default .hero-copy { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 9%, transparent); box-shadow: 0 30px 60px -36px rgb(0 0 0 / 30%); }
@media (min-width: 48rem) { .surface-glass .hero-layered.tone-default .hero-copy { background: color-mix(in srgb, var(--bg) var(--glass-hero), transparent); } }
@media (min-width: 56rem) {
  .surface-glass .hero-layered.tone-default .hero-copy { margin-left: calc(-0.5 * clamp(1.5rem, 1rem + 2vw, 2.5rem)); }
  .surface-glass .hero-layered.tone-default h1 { font-size: calc(var(--fs-display) * 0.86); }
}
@media (min-width: 52rem) {
  .surface-glass :is(.tone-default, .tone-surface) .mediatext-overlap .mediatext-copy { background: color-mix(in srgb, var(--bg) var(--glass-panel), transparent); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  @media (min-width: 48rem) {
    .surface-glass :is(.tone-default, .tone-surface) .features-cards .feature, .surface-glass :is(.tone-default, .tone-surface) .features-bento .feature:not(:first-child), .surface-glass :is(.tone-default, .tone-surface) .steps-cards > li, .surface-glass :is(.tone-default, .tone-surface) .quotes .quote, .surface-glass :is(.tone-default, .tone-surface) .stats-cards li, .surface-glass :is(.tone-default, .tone-surface) .contact-form, .surface-glass :is(.tone-default, .tone-surface) .map-card, .surface-glass .hero-layered.tone-default .hero-copy, .surface-glass :is(.tone-default, .tone-surface) .mediatext-overlap .mediatext-copy { -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  }
}

.accent-floating .eyebrow::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.6em; border-radius: 50%; background: var(--accent-text); vertical-align: 0.06em; }
.float { position: absolute; z-index: 2; pointer-events: none; }
.float-ring { top: -1.25rem; left: -1.25rem; width: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); aspect-ratio: 1; border: 1.5px solid var(--accent-text); border-radius: 50%; }
.float-dot { right: -0.6rem; bottom: 18%; width: clamp(1rem, 0.75rem + 1vw, 1.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 18px -6px var(--accent); }
.float-grid { left: 10%; bottom: -1.1rem; width: clamp(4.5rem, 3rem + 5vw, 7.5rem); height: 2.4rem; background-image: radial-gradient(circle, var(--accent-text) 1.4px, transparent 1.9px); background-size: 12px 12px; opacity: 0.55; }
@media (max-width: 47.99rem) { .float-ring { top: -0.75rem; left: -0.5rem; } .float-dot { right: -0.25rem; } }
@keyframes bpm-float-in { from { opacity: 0; transform: translate3d(0, 1rem, 0) scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes bpm-float-up { from { transform: none; } to { transform: translate3d(0, -2.5rem, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .motion-on .float { animation: bpm-float-in 1100ms cubic-bezier(.2,.7,.2,1) 450ms both; }
  .motion-on .float-dot { animation-delay: 650ms; }
  .motion-on .float-grid { animation-delay: 850ms; }
  @supports (animation-timeline: scroll()) {
    .scroll-linked .hero .float-ring, .scroll-linked .hero .float-grid { animation: bpm-float-up linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
}

.recipe-layered .mediatext-media:not(.has-stage), .recipe-layered .hero-split .hero-media:not(.has-stage), .recipe-layered .hero-centered .hero-media:not(.has-stage) { position: relative; padding: 0 var(--offset) var(--offset) 0; }
.recipe-layered .mediatext-media:not(.has-stage)::before, .recipe-layered .hero-split .hero-media:not(.has-stage)::before, .recipe-layered .hero-centered .hero-media:not(.has-stage)::before { content: ""; position: absolute; inset: var(--offset) 0 0 var(--offset); border-radius: var(--radius-lg); background: var(--accent); opacity: 0.85; }
.recipe-layered .mediatext-media:not(.has-stage) > .media, .recipe-layered .hero-media:not(.has-stage) > .media { position: relative; z-index: 1; }
/* Overlap: the copy panel covers the image's right side, so the backing plane steps out top-left. */
@media (min-width: 52rem) {
  .recipe-layered .mediatext-overlap .mediatext-media:not(.has-stage) { padding: var(--offset) 0 0 var(--offset); }
  .recipe-layered .mediatext-overlap .mediatext-media:not(.has-stage)::before { inset: 0 var(--offset) var(--offset) 0; }
  .recipe-layered .mediatext-overlap .mediatext-copy { box-shadow: 0 30px 70px -30px rgb(0 0 0 / 35%); }
}
/* Stacked cards: a second sheet offset behind each card. */
.recipe-layered :is(.tone-default, .tone-surface) :is(.features-cards .feature, .features-bento .feature, .steps-cards > li, .stats-cards li) { box-shadow: 9px 9px 0 -1px var(--card-bg), 9px 9px 0 0 var(--border), 0 26px 44px -28px rgb(0 0 0 / 34%); }
.recipe-layered .gallery .media { box-shadow: 0 18px 36px -24px rgb(0 0 0 / 40%); }
/* The backing plane is the ornament here: only the ring floats (the dot and grid would land on the plane). */
.recipe-layered .float-dot, .recipe-layered .float-grid { display: none; }
/* A staggered gallery rhythm on wide screens. */
@media (min-width: 48rem) { .recipe-layered .gallery-grid li:nth-child(even) { margin-top: 1.75rem; } }

/* ---------- Dimensional stage (Premium; CSS perspective, no script) ---------- */
.stage { position: relative; width: 100%; max-width: 36rem; margin-inline: auto; aspect-ratio: 4 / 5; perspective: 1600px; perspective-origin: 50% 38%; --rx: 4deg; --ry: -10deg; --depth: 1; }
.stage-landscape { aspect-ratio: 5 / 4; max-width: 44rem; }
.stage-calm { --rx: 4deg; --ry: -10deg; --depth: 1; }
.stage-balanced { --rx: 6deg; --ry: -15deg; --depth: 1.3; }
.stage-bold { --rx: 8deg; --ry: -21deg; --depth: 1.6; }
/* The rig sits left of centre so the planes that perspective pushes right stay inside the column. */
.stage-rig { position: absolute; inset: 7% 13% 11% 5%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.stage-rig > * { position: absolute; }
.stage-plane { inset: 0; border-radius: var(--radius-lg); }
.stage-plane-back { background: var(--stage-c1); transform: translate3d(9%, 7%, calc(-110px * var(--depth))); opacity: 0.92; }
.stage-plane-mid { background: var(--stage-c2); transform: translate3d(4.5%, 3.5%, calc(-55px * var(--depth))); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 35%); }
.stage-art { inset: 0; border-radius: var(--radius-lg); transform: translateZ(0); box-shadow: 0 50px 90px -42px rgb(0 0 0 / 50%), 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); }
/* The stage draws its own depth: recipe/image-treatment shadows and frames on .media never apply here. */
.stage .stage-art .media { position: absolute; inset: 0; margin: 0; border-radius: inherit; box-shadow: none; }
.stage .stage-art .media img { width: 100%; height: 100%; object-fit: cover; }
/* The frame floats just in front of the image: a shallow depth (the tilt shifts it by a fixed number of
   pixels, so a deep frame would slide onto a narrow photo) and a wider margin on the side it slides to. */
.stage-frame { inset: -3.5% -4.5% -3.5% -3%; border: 1.5px solid color-mix(in srgb, var(--stage-c2) 75%, transparent); border-radius: calc(var(--radius-lg) + 8px); transform: translateZ(calc(12px * var(--depth))); }
.stage-chip { top: 8%; right: -7%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--stage-c3) 35%, #ffffff), var(--stage-c3) 62%); box-shadow: 0 18px 30px -14px rgb(0 0 0 / 45%); transform: translateZ(calc(80px * var(--depth))); }
/* In an overlap section the copy panel covers the image's right side: the chip moves to the image's
   lower left, inside the column (only where the overlap layout applies). */
@media (min-width: 52rem) { .mediatext-overlap .stage-chip { right: auto; left: 4%; top: auto; bottom: 14%; transform: translateZ(calc(32px * var(--depth))); } }
.stage-shadow { position: absolute; left: 12%; right: 16%; bottom: 1%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / 26%), transparent); pointer-events: none; }

/* Object: a graphic (e.g. a rendered artwork) resting on a plinth. The rig is centred (no back planes
   to keep in the column), and the art stands at the plinth's own depth, so the tilt turns them
   together (no sideways slide); the art box ends inside the plinth's top face, so a cut-out with a
   little transparent margin below it still stands on the plinth. */
.stage-object .stage-rig { inset: 7% 9% 11% 9%; }
.stage-object .stage-art { inset: 0 6% 18% 6%; box-shadow: none; border-radius: 0; transform: translateZ(calc(12px * var(--depth))); }
.stage.stage-object .stage-art .media { background: transparent; overflow: visible; }
.stage.stage-object .stage-art .media::after { display: none; }
.stage.stage-object .stage-art .media img { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 18px rgb(0 0 0 / 26%)); }
/* A duotone site keeps its treatment on the cut-out too (without the tint box an overlay would draw). */
.img-duotone .stage.stage-object .stage-art .media img { filter: grayscale(1) contrast(1.05) drop-shadow(0 22px 18px rgb(0 0 0 / 26%)); }
.stage-halo { inset: 2% 2% 20% 2%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--stage-c2) 70%, transparent), transparent); transform: translateZ(calc(-80px * var(--depth))); }
/* A cylinder: a lit top face over a shaded side with an elliptical base. */
.stage-plinth { left: 15%; right: 15%; bottom: 7%; height: 17%; transform: translateZ(calc(10px * var(--depth))); }
.stage-plinth::before, .stage-plinth > span { content: ""; position: absolute; left: 0; right: 0; }
.stage-plinth::before { top: 0; height: 44%; border-radius: 50%; background: radial-gradient(ellipse at 40% 35%, color-mix(in srgb, var(--stage-c1) 45%, #ffffff), color-mix(in srgb, var(--stage-c1) 70%, #ffffff)); box-shadow: inset 0 -3px 8px rgb(0 0 0 / 10%); z-index: 1; }
.stage-plinth > span { top: 22%; bottom: 0; border-radius: 0 0 50% 50% / 0 0 28% 28%; background: linear-gradient(90deg, color-mix(in srgb, var(--stage-c1) 78%, #000000), var(--stage-c1) 38%, color-mix(in srgb, var(--stage-c1) 85%, #ffffff) 55%, color-mix(in srgb, var(--stage-c1) 72%, #000000)); }
/* Contact shadow right under the plinth's base (the rig ends 11% above the stage's bottom). */
.stage-object .stage-shadow { left: 22%; right: 22%; bottom: 12.5%; height: 6%; }

/* Logo: a logo image on a thick plate. */
.stage-slab { inset: 14% 4% 14% 4%; transform-style: preserve-3d; }
.stage-slab > span { position: absolute; inset: 0; border-radius: var(--radius-lg); background: color-mix(in srgb, var(--stage-c2) 92%, #000000); }
.stage-slab > span:nth-child(1) { transform: translateZ(-6px); }
.stage-slab > span:nth-child(2) { transform: translateZ(-12px); }
.stage-slab > span:nth-child(3) { transform: translateZ(-18px); box-shadow: 0 40px 70px -36px rgb(0 0 0 / 45%); }
.stage-logo .stage-art { inset: 14% 4% 14% 4%; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); }
.stage.stage-logo .stage-art .media { inset: 18% 14%; background: transparent; }
.stage.stage-logo .stage-art .media img { object-fit: contain; }

/* Abstract and particles: palette forms around the image (or on their own). */
.stage-pane { inset: 18% 16% 22% 22%; border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 55%, transparent); border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent); transform: translateZ(calc(40px * var(--depth))) rotate(-6deg); }
.stage-orb { top: 10%; right: 12%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--stage-c1) 30%, #ffffff), var(--stage-c1) 58%, color-mix(in srgb, var(--stage-c1) 70%, #000000)); transform: translateZ(calc(90px * var(--depth))); box-shadow: 0 30px 50px -24px rgb(0 0 0 / 45%); }
.stage-ring { left: 6%; bottom: 10%; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--stage-c3); transform: translateZ(calc(64px * var(--depth))) rotateX(58deg); }
.stage-abstract .stage-plane-back, .stage-particles .stage-plane-back { border-radius: 50% 50% var(--radius-lg) var(--radius-lg); }
.stage-abstract .stage-art { inset: 8% 14% 12% 6%; }
.stage-abstract .stage-art ~ .stage-orb { top: -4%; right: -2%; width: 24%; }
.stage-particles .stage-art { inset: 12% 10% 14% 10%; }
.stage-dot { width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--stage-c3); box-shadow: 0 10px 18px -8px rgb(0 0 0 / 40%); }
.stage-dot-1 { top: 12%; left: 10%; transform: translateZ(calc(30px * var(--depth))); }
.stage-dot-2 { top: 58%; left: 18%; width: 11%; background: var(--stage-c2); transform: translateZ(calc(110px * var(--depth))); }
.stage-dot-3 { top: 30%; left: 44%; width: 5%; transform: translateZ(calc(-60px * var(--depth))); }
.stage-dot-4 { top: 78%; left: 62%; width: 9%; background: var(--stage-c1); transform: translateZ(calc(70px * var(--depth))); }
.stage-dot-5 { top: 66%; right: 6%; width: 6%; transform: translateZ(calc(130px * var(--depth))); }
.stage-dot-6 { top: 4%; left: 66%; width: 4%; background: var(--stage-c1); transform: translateZ(calc(-30px * var(--depth))); }
.stage-dot-7 { top: 88%; left: 26%; width: 8%; background: var(--stage-c2); transform: translateZ(calc(160px * var(--depth))); }
.stage-particles .stage-orb { top: 26%; right: auto; left: 30%; width: 40%; }
.stage-particles .stage-shadow { left: 28%; right: 28%; opacity: 0.45; }
/* Without an image the particles float freely: no ground shadow. */
.stage-particles[aria-hidden="true"] .stage-shadow { display: none; }
/* Where the ornament sits on the back plane (logo, particles), it takes the colour chosen against it. */
.stage-logo .stage-chip { background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--stage-c4) 35%, #ffffff), var(--stage-c4) 62%); }
.stage-particles .stage-dot { background: var(--stage-c4); }
.stage-particles .stage-dot-2, .stage-particles .stage-dot-4, .stage-particles .stage-dot-6, .stage-particles .stage-dot-7 { background: var(--stage-c2); }

@media (max-width: 55.99rem) {
  .stage { aspect-ratio: 4 / 3; --rx: 3deg; --ry: -7deg; --depth: 0.7; }
  .stage-balanced, .stage-bold { --rx: 4deg; --ry: -9deg; --depth: 0.85; }
  .stage-rig { inset: 6% 12% 12% 7%; }
  .stage-object .stage-rig { inset: 6% 9.5% 12% 9.5%; }
  .stage-chip { right: -4%; width: 14%; }
}

/* No 3D support: a flat image (or a palette panel when there is none). */
@supports not (transform-style: preserve-3d) {
  .stage-rig { transform: none; }
  .stage-rig > :not(.stage-art) { display: none; }
  .stage[aria-hidden="true"] .stage-rig { background: linear-gradient(135deg, var(--stage-c1), var(--stage-c2)); border-radius: var(--radius-lg); }
}

@keyframes bpm-unfold { from { transform: none; opacity: 0; } }
/* A fade with no end frame: each layer returns to its own opacity. */
@keyframes bpm-stage-fade { from { opacity: 0; } }
@keyframes bpm-stage-scroll { from { transform: rotateX(calc(var(--rx) * 1.6)) rotateY(calc(var(--ry) * 1.6)); } to { transform: rotateX(calc(var(--rx) * 0.3)) rotateY(calc(var(--ry) * -0.35)); } }
@keyframes bpm-turntable { from { transform: rotateX(var(--rx)) rotateY(-26deg); } to { transform: rotateX(var(--rx)) rotateY(22deg); } }
@media (prefers-reduced-motion: no-preference) {
  /* The stage owns its motion: the page's image scroll drift never applies inside it (specific
     enough to beat the base drift rules). */
  .scroll-linked .hero .hero-media .stage .media img, .scroll-linked .mediatext-media .stage .media img { animation: none; scale: none; }
  .motion-on .stage-rig > * { animation: bpm-unfold 1500ms cubic-bezier(.2,.7,.2,1) 150ms both; }
  .motion-on .stage-chip, .motion-on .stage-orb, .motion-on .stage-ring { animation-duration: 1900ms; animation-delay: 300ms; }
  .motion-subtle .stage-rig > * { animation-name: bpm-stage-fade; }
  .stage-rig { transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
  /* Rotation with scroll only with scroll-linked motion on, and never with interaction "none". */
  @supports (animation-timeline: view()) {
    .scroll-linked .stage-int-scroll-driven .stage-rig { animation: bpm-stage-scroll linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .scroll-linked .stage-preset-product-turntable:not(.stage-int-none) .stage-rig { animation: bpm-turntable linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .motion-on .stage-int-pointer-parallax:hover .stage-rig { transform: rotateX(calc(var(--rx) * 0.35)) rotateY(calc(var(--ry) * 0.3)); }
}