/* ==========================================================================
   Baxterre Tech: site stylesheet
   Order: tokens, base, frame and header, buttons, showcase (pinned scenes),
   artwork, content sections, footer, scroll reveal, small screens,
   style switch, consulting style, reduced motion.

   html classes set by the inline boot script and main.js:
     .js   JavaScript is running
     .pin  the showcase is pinned: scenes swap in place as the page scrolls
   Without them every scene is a normal stacked block, so the page reads top
   to bottom with JavaScript off.
   ========================================================================== */

/* ── Tokens (CLAUDE.md section 6) ───────────────────────────────────────── */
:root {
  --ink-0: #07060B;
  --ink-1: #0E0C16;
  --ink-2: #161320;
  --ink-3: #1F1B2C;

  --fg-1: #F4F1EA;
  --fg-2: #B5B0C4;
  --fg-3: #756F87;   /* decoration only: too dim for body text at AA */

  --brand-orange:  #FD9409;
  --brand-coral:   #FB5833;
  --brand-pink:    #F92056;
  --brand-magenta: #FF2E93;
  --brand-cyan:    #00E5FF;

  --line:      rgba(244, 241, 234, 0.12);
  --line-bold: rgba(244, 241, 234, 0.24);
  --grid-line: rgba(255, 46, 147, 0.55);

  --ease-out:  cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-mark: 'Outfit', ui-sans-serif, system-ui, sans-serif;

  /* Layout */
  --frame: 14px;                       /* inset of the thin border around the viewport */
  --header-h: 100px;                   /* room for the 84px logo mark (owner, 2026-10-04: three times the old 28px) */
  --content-top: var(--header-h);      /* where the page starts: the header spans the top edge, above the frame */
  --header-pad: max(clamp(20px, 3vw, 40px), calc((100vw - 1320px) / 2)); /* the same in every style, so the switch never moves (owner, 2026-10-21) */
  --index-w: 248px;                    /* the service selector on the right */
  --pad: clamp(20px, 3vw, 40px);
  --step: 88vh;                        /* scroll distance per scene */

  /* The hero sun. Position is a fraction of the scene, size follows the
     smaller of viewport height and width. Change only with a browser check
     at 390px and a narrow desktop width (CLAUDE.md section 6). */
  --sun-size: clamp(300px, min(54vh, 36vw), 720px);
  --sun-center-x: 73%;
  --sun-center-y: 44%;
}
@supports (height: 100svh) {
  :root { --step: 88svh; }
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* No overflow rule on html: it would turn body into its own scroll container
   and the pinned showcase (position: sticky) would stop working. Sections
   clip their own overflow instead (see .block). */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--ink-0);
  color: var(--fg-1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain over everything. Static, so it costs nothing while scrolling. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 70;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 24px; top: 24px; z-index: 100;
  padding: 10px 16px;
  background: var(--brand-cyan); color: #051A1F;
  font-weight: 600; border-radius: 8px;
  transform: translateY(-300%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ── Type ───────────────────────────────────────────────────────────────── */
.display {
  font-weight: 500;
  font-size: clamp(44px, min(6.6vw, 14vh), 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.display-2 {
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.kicker,
.sub-kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-pink);
}
/* A heading inside a section, under the section's own h2 */
.display-3 {
  font-weight: 500;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.lede { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; color: var(--fg-1); }
.body { font-size: 18px; line-height: 1.55; color: var(--fg-2); }

/* The hero accent line, in the gradient of the sun logo */
.grad {
  background: linear-gradient(100deg, var(--brand-orange), var(--brand-coral) 55%, var(--brand-pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Frame and header ───────────────────────────────────────────────────── */
/* A thin border inset from the viewport edge, starting under the header. The
   shadow paints the margin outside it, so page content never shows in the
   gap. Under the header (z-index) so the shadow never covers it. */
.frame {
  position: fixed; top: var(--header-h); left: var(--frame); right: var(--frame); bottom: var(--frame); z-index: 49;
  transition: opacity 0.4s var(--ease-out);
  border: 1px solid var(--line-bold);
  box-shadow: 0 0 0 var(--frame) var(--ink-0);
  pointer-events: none;
}

/* The header has the same height, padding and logo size in every style
   (owner, 2026-10-21): the style switch inside it must not move when the
   style changes. Only colours and type differ per style. */
.site-header {
  position: fixed; z-index: 50;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--header-pad);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid var(--line-bold);
  background: rgba(7, 6, 11, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg-1); }
.brand img { width: 84px; height: 84px; flex-shrink: 0; }
.brand-name { font-family: var(--font-mark); font-weight: 800; font-size: 26px; letter-spacing: -0.025em; }
.site-footer .brand img { width: 56px; height: 56px; }
.site-footer .brand-name { font-size: 20px; }
.brand-name span { color: var(--brand-pink); margin-left: 4px; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); list-style: none; }
.nav-links a:not(.btn) {
  font-size: 13px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--fg-2);
  transition: color 160ms var(--ease-out);
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current] { color: var(--fg-1); }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--fg-1);
  transition: transform 280ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons (pill). Primary is solid cream with an arrow, and fills with the
   sun gradient on hover. Ghost is a cream hairline over a dark glass ground. ── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  white-space: nowrap; cursor: pointer;
  transition: color 240ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out),
    box-shadow 300ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn-primary { background: var(--fg-1); color: var(--ink-0); }
.btn-primary::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, var(--brand-orange), var(--brand-coral) 55%, var(--brand-pink));
  transform: translateX(-101%);
  transition: transform 460ms var(--ease-cine);
}
.btn-primary:hover::before, .btn-primary:focus-visible::before { transform: none; }
.btn-primary:hover { box-shadow: 0 12px 44px rgba(249, 32, 86, 0.38); }
.btn-primary::after, .btn-down::after {
  content: "\2192"; font-size: 1.1em; line-height: 1;
  transition: transform 260ms var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-down::after { content: "\2193"; }
.btn-down:hover::after { transform: translateY(3px); }
.btn-ghost {
  color: var(--fg-1); border-color: var(--line-bold);
  background: rgba(7, 6, 11, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--fg-1); background: rgba(244, 241, 234, 0.1); }

/* ==========================================================================
   Showcase
   Stacked by default. With .pin the stage sticks to the viewport and the
   scenes swap in place: the incoming piece zooms up from small, the outgoing
   one flies past the camera, and both fade.
   ========================================================================== */
.show { position: relative; }

.scene { position: relative; }
.scene-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.scene-art { position: relative; }
.scene-zoom { position: relative; }

.scene-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--fg-2);
}
.scene-num span { color: var(--brand-orange); }
.scene-title {
  font-weight: 500; font-size: clamp(32px, 4.3vw, 68px);
  line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase;
}
.scene-line { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.4; color: var(--fg-1); max-width: 34em; }
/* How the work is done: two short paragraphs */
.scene-detail { display: flex; flex-direction: column; gap: 10px; max-width: 38em; }
.scene-detail p { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; color: var(--fg-2); }
/* What the client gets: a plain ruled list, two across */
.scene-points {
  list-style: none; width: 100%; max-width: 30em;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px;
  border-top: 1px solid var(--line-bold);
}
.scene-points li {
  padding: 7px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-2);
}
.scene-more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--brand-cyan);
}
.scene-more span { transition: transform 200ms var(--ease-out); }
.scene-more:hover span { transform: translateX(5px); }

/* The app scene: the phone clip is the artwork. Stacked: centred in the art
   column, at most 300px wide. Pinned: as tall as the stage allows. */
.scene-app .phone-video { max-width: 300px; margin: 0 auto; }
.pin .scene-app .scene-zoom { display: flex; align-items: center; justify-content: center; }
.pin .scene-app .phone-video { position: absolute; top: 7%; bottom: 7%; left: 50%; width: auto; max-width: none; margin: 0; transform: translateX(-50%); }
.pin .scene-app .phone-video video { height: 100%; width: auto; }

/* Stacked layout (no .pin) */
.scene-hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--content-top)) calc(var(--frame) + var(--pad)) var(--pad);
  display: flex; flex-direction: column; overflow: hidden;
}
.scene-hero .scene-art { position: absolute; inset: calc(var(--content-top)) var(--frame) 0; }
.scene-service {
  padding: clamp(48px, 8vw, 96px) calc(var(--frame) + var(--pad));
  border-top: 1px solid var(--line-bold);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
}
.scene-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.index, .scroll-cue { display: none; }

/* Hero */
.hero-art { position: absolute; inset: 0; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-sun {
  position: absolute;
  width: var(--sun-size); height: var(--sun-size);
  left: calc(var(--sun-center-x) - var(--sun-size) / 2);
  top: calc(var(--sun-center-y) - var(--sun-size) / 2);
  filter: drop-shadow(0 30px 100px rgba(255, 46, 147, 0.3));
}
.hero-sun svg { width: 100%; height: 100%; }
/* Soft halo that breathes slowly behind the sun */
.hero-sun::before {
  content: ""; position: absolute; inset: -16%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(251, 88, 51, 0.32), rgba(249, 32, 86, 0.13) 46%, transparent 70%);
  filter: blur(22px);
  animation: sun-breathe 9s ease-in-out infinite;
}
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50%      { transform: scale(1.055); opacity: 1; }
}
/* Perspective grid floor. Its top edge sits on the base of the sun disc
   (the disc bottom is 0.417 of the sun size below its centre). */
.hero-floor {
  position: absolute; left: -30%; right: -30%;
  top: calc(var(--sun-center-y) + var(--sun-size) * 0.417);
  height: 62%;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(4% - 1px), var(--grid-line) calc(4% - 1px) 4%),
    repeating-linear-gradient(0deg, transparent 0 42px, var(--grid-line) 42px 43px);
  transform: perspective(560px) rotateX(66deg);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 70%, transparent 100%);
  animation: grid-drift 7s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 0, 0 43px; }
}

.hero-copy {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-copy h1 { margin-block: auto; padding-block: 24px; }
/* Darkens the floor behind the lead and buttons */
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; left: 0; bottom: 0;
  width: min(100%, 860px); height: 44%;
  background: radial-gradient(ellipse 90% 100% at 0% 100%, rgba(7, 6, 11, 0.94) 0%, rgba(7, 6, 11, 0.7) 50%, rgba(7, 6, 11, 0) 100%);
  pointer-events: none;
}
.display .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.display .line > span { display: inline-block; }
.hero-lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.4; color: var(--fg-1); max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ── Pinned mode ────────────────────────────────────────────────────────── */
.pin .show { height: calc((var(--n) - 1) * var(--step) + 100vh); }
.pin .show-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
@supports (height: 100svh) {
  .pin .show { height: calc((var(--n) - 1) * var(--step) + 100svh); }
  .pin .show-stage { height: 100dvh; }
}
/* main.js moves the anchors out of the stage and onto the scroll track, one
   step apart, so a link to #svc-... lands where that scene is on screen. */
.pin .show > .scene-anchor { top: calc(var(--i) * var(--step)); }

.pin .scene {
  position: absolute; z-index: 1;
  top: calc(var(--content-top)); bottom: var(--frame);
  left: var(--frame); right: calc(var(--frame) + var(--index-w));
  min-height: 0; padding: 0; border: 0; display: block;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 1.1s;
}
.pin .scene.is-active { visibility: visible; transition-delay: 0s; z-index: 2; }
/* an outgoing scene stays visible while it fades, but must not take clicks */
.pin .scene:not(.is-active) { pointer-events: none; }

.pin .scene-art {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(0.68);
  transition: opacity 0.7s ease, transform 1.2s var(--ease-cine);
  will-change: opacity, transform;
}
.pin .scene.is-before .scene-art { transform: scale(1.7); }
.pin .scene.is-active .scene-art { opacity: 1; transform: none; }

/* A slow push-in while the visitor scrolls within one scene. --p runs from
   -0.5 to 0.5 across the scene and is set on the stage by main.js. */
/* The picture takes the right half; the copy column takes the left half */
.pin .scene-zoom {
  position: absolute; top: 0; left: 50%; right: 0; bottom: 0;
  width: auto;
  transform: scale(calc(1 + var(--p, 0) * 0.14));
  will-change: transform;
}
.pin .scene-hero .scene-zoom { left: 0; width: 100%; transform-origin: var(--sun-center-x) var(--sun-center-y); }
.pin .scene-hero .scene-art { inset: 0; }

.pin .scene-copy {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  width: 50%;
  padding: var(--pad) calc(var(--pad) * 1.25) var(--pad) var(--pad);
  justify-content: center; gap: 14px;
}
.pin .scene-title { font-size: clamp(30px, 3.4vw, 54px); }
/* Darkens the left half behind the copy so it stays readable over the artwork */
.pin .scene-copy::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 -140px 0 0;
  background: linear-gradient(90deg, rgba(7, 6, 11, 0.88) 0%, rgba(7, 6, 11, 0.72) 62%, rgba(7, 6, 11, 0) 100%);
  pointer-events: none;
}
/* Short screens: fewer words in the column */
@media (max-height: 780px) { .pin .scene-detail p + p { display: none; } }
@media (max-height: 640px) { .pin .scene-detail { display: none; } }
.pin .hero-copy { position: absolute; inset: 0; padding: var(--pad); }

.pin .scene-copy > *,
.pin .hero-copy > *:not(h1),
.pin .display .line > span {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.45s ease, transform 0.9s var(--ease-cine);
}
.pin .display .line > span { transform: translateY(105%); opacity: 1; }
.pin .scene.is-before .scene-copy > *,
.pin .scene.is-before .hero-copy > *:not(h1) { transform: translateY(-26px); }
.pin .scene.is-before .display .line > span { transform: translateY(-105%); }
.pin .scene.is-active .scene-copy > *,
.pin .scene.is-active .hero-copy > *:not(h1),
.pin .scene.is-active .display .line > span {
  opacity: 1; transform: none;
  transition-delay: calc(140ms + var(--i, 0) * 70ms);
}
.pin .scene-copy > :nth-child(2), .pin .display .line:nth-child(2) > span { --i: 1; }
.pin .scene-copy > :nth-child(3), .pin .display .line:nth-child(3) > span { --i: 2; }
.pin .scene-copy > :nth-child(4), .pin .hero-lead { --i: 3; }
.pin .scene-copy > :nth-child(5), .pin .hero-ctas { --i: 4; }
.pin .scene-copy > :nth-child(6) { --i: 5; }

/* Opening shot, once per page load: the headline rises and the sun pushes in.
   "backwards" only, so the scene transitions above take over afterwards. */
.pin .scene-hero .display .line > span { animation: intro-rise 1.2s var(--ease-cine) backwards; animation-delay: calc(250ms + var(--i, 0) * 110ms); }
.pin .scene-hero .hero-copy > *:not(h1) { animation: intro-fade 1s ease backwards; animation-delay: calc(500ms + var(--i, 0) * 110ms); }
.pin .scene-hero .hero-sun { animation: intro-zoom 1.8s var(--ease-cine) backwards; }
.pin .scene-hero .hero-floor { animation: intro-fade 1.6s ease 0.5s backwards, grid-drift 7s linear infinite; }
@keyframes intro-rise { from { transform: translateY(105%); } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-zoom { from { opacity: 0; transform: scale(0.55); } }

/* The selector */
.pin .index {
  position: absolute; z-index: 5;
  top: calc(var(--content-top)); right: var(--frame); bottom: var(--frame);
  width: var(--index-w);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-bold);
  background: var(--ink-0);
}
.index-label {
  padding: 18px 16px 26px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
}
.index-list { list-style: none; border-top: 1px solid var(--line); }
.index-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-align: right;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.index-n { color: var(--brand-orange); transition: color 200ms var(--ease-out); }
.index-list a:hover { color: var(--fg-1); background: rgba(244, 241, 234, 0.06); }
.index-list a[aria-current] { background: var(--fg-1); color: var(--ink-0); }
.index-list a[aria-current] .index-n { color: var(--ink-0); }
.index-list a:focus-visible { outline-offset: -3px; }
.index-foot {
  margin-top: auto; padding: 16px;
  border-top: 1px solid var(--line-bold);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--fg-2);
}

.pin .scroll-cue {
  display: block; position: absolute; z-index: 3;
  right: calc(var(--frame) + var(--index-w) + var(--pad)); bottom: calc(var(--frame) + var(--pad));
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-2);
  opacity: 0; transition: opacity 0.4s ease;
}
.pin .scroll-cue::after {
  content: ""; display: block; width: 1px; height: 40px; margin: 10px auto 0;
  background: linear-gradient(var(--fg-1), transparent);
  animation: cue 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
.pin .show[data-active="0"] .scroll-cue { opacity: 1; }
@keyframes cue {
  0%   { transform: scaleY(0); }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* A short dip to black when a link jumps a long way down the page */
main, .site-footer { transition: opacity 180ms ease; }
.cut main, .cut .site-footer { opacity: 0; }

/* ── Real-time 3D (gl.js) ───────────────────────────────────────────────── */
/* One canvas behind the pinned scenes. gl.js sets .gl-on on html while it is
   drawing; the SVG artwork is then hidden but keeps its boxes, because gl.js
   reads them to place the picture. Without .gl-on the SVG artwork shows. */
.gl { display: none; }
.pin.gl-on .gl {
  display: block; position: absolute; z-index: 0;
  top: calc(var(--content-top)); left: var(--frame);
  width: calc(100% - var(--frame) * 2 - var(--index-w));
  height: calc(100% - var(--content-top) - var(--frame) - var(--rail-h, 0px));
  background: var(--ink-0);
}
.pin.gl-on .scene-art { visibility: hidden; }
.pin.gl-on .scene-art svg,
.pin.gl-on .hero-floor { display: none; }
/* The app scene draws nothing on the canvas (data-gl="off"); its phone stays */
.pin.gl-on .scene-app .scene-art { visibility: visible; }

/* ── Artwork ────────────────────────────────────────────────────────────── */
.art { width: 100%; height: 100%; overflow: visible; }
.scene-service .art { max-height: 70vh; }
.pin .scene-service .art { max-height: none; }
.art text { font-family: var(--font-mono); }
.a-lbl  { font-size: 15px; font-weight: 500; letter-spacing: 0.14em; }
.a-code { font-size: 17px; white-space: pre; }

.a-star  { fill: var(--fg-1); animation: a-twinkle 5s ease-in-out infinite; }
.a-halo  { transform-box: fill-box; transform-origin: center; animation: sun-breathe 9s ease-in-out infinite; }
.a-float { animation: a-float 7s ease-in-out infinite; }
.a-wave  { transform-box: fill-box; transform-origin: center; animation: a-wave 1.3s ease-in-out infinite; }
.a-flow  { animation: a-flow 9s linear infinite; }
.a-ping  { animation: a-ping 2.8s ease-out infinite; }
.a-sweep { animation: a-sweep 7s linear infinite; }
.a-blink { animation: a-blink 1.1s steps(1) infinite; }

@keyframes a-twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.75; } }
@keyframes a-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes a-wave    { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes a-flow    { to { stroke-dashoffset: -112; } }
@keyframes a-ping    { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes a-sweep   { to { transform: rotate(-360deg); } }
@keyframes a-blink   { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes a-row     { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* Rows build in when their scene arrives; off-screen scenes stop animating. */
.pin .scene:not(.is-active) .a-row { opacity: 0; }
.pin .scene.is-active .a-row { animation: a-row 0.6s var(--ease-out) both; }
.pin .scene:not(.is-active) .scene-art * { animation-play-state: paused; }

/* ==========================================================================
   Content sections
   ========================================================================== */
.block {
  position: relative; z-index: 1;
  padding: clamp(80px, 11vw, 160px) calc(var(--frame) + var(--pad));
  border-top: 1px solid var(--line-bold);
  background: var(--ink-0);
  scroll-margin-top: calc(var(--content-top));
  overflow: hidden;   /* contains the zoom of headings before they are revealed */
}
.block-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.block-head { display: flex; flex-direction: column; gap: 20px; }
.block-head-wide { max-width: 1400px; margin: 0 auto; }
.block-head-wide .lede { max-width: 30em; }
.block-head-wide .body { max-width: 36em; margin: 18px 0 0; }
.block-body { display: flex; flex-direction: column; gap: 20px; }

/* Hairline rows: principles, service areas */
.rows { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-bold); }
.rows > li, .rows-links a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rows-links > li { display: block; padding: 0; border: 0; }
.rows-links a { min-height: 56px; align-items: center; transition: background 200ms var(--ease-out), padding 200ms var(--ease-out); }
.rows-links a:hover { background: rgba(244, 241, 234, 0.05); padding-left: 10px; }
.rows-links .rows-x { text-align: right; color: var(--brand-cyan); }
.rows-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brand-orange); }
.rows-t { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.rows-x { font-size: 16px; color: var(--fg-2); }

/* Moving band of tools */
.band {
  position: relative; z-index: 1;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line-bold);
  background: var(--ink-0);
  overflow: hidden;
}
.band-label { padding: 0 calc(var(--frame) + var(--pad)); margin-bottom: 14px; }
.band-track { display: flex; width: max-content; animation: band 60s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band-list { display: flex; align-items: center; list-style: none; flex-shrink: 0; }
.band-list li {
  display: flex; align-items: center;
  font-size: clamp(40px, 6.4vw, 104px); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap;
}
.band-list li::after {
  content: ""; width: 0.2em; height: 0.2em; margin: 0 0.42em; border-radius: 50%;
  background: linear-gradient(var(--brand-orange), var(--brand-pink));
}
@keyframes band { to { transform: translateX(-50%); } }

/* Approach */
.steps {
  list-style: none; max-width: 1400px; margin: clamp(40px, 5vw, 72px) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-bold);
}
.steps li { padding: 28px 28px 8px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps-n {
  font-size: clamp(64px, 8vw, 132px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-coral) 45%, var(--brand-pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.steps p { font-size: 16px; line-height: 1.5; color: var(--fg-2); }

/* Service-area pages */
.page-hero { padding-top: calc(var(--content-top) + clamp(28px, 5vw, 72px)); border-top: 0; }
.page-hero-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 72px); }
.page-hero-art .art { max-height: 66vh; }
.area-art { margin-top: 12px; }
.area-art .art { max-height: 420px; }
.a-lbl-big { font-size: 20px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; list-style: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--fg-3); }
.crumbs a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; transition: color 160ms var(--ease-out); }
.crumbs a:hover { color: var(--fg-1); }
.crumbs [aria-current] { color: var(--fg-1); }

/* Link rows that carry a description instead of an arrow */
.rows-desc .rows-x { text-align: left; color: var(--fg-2); font-size: 15px; line-height: 1.4; }
.rows-desc a { align-items: baseline; padding: 16px 0; }
.rows-links a:hover .rows-t { color: var(--brand-cyan); }

.cta-band .contact-mark { width: 112px; height: 112px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 4px; }

/* FAQ */
.faq { gap: 0; border-top: 1px solid var(--line-bold); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px; padding: 16px 0;
  font-size: clamp(18px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--font-mono); font-size: 24px; font-weight: 400; line-height: 1; color: var(--brand-cyan);
  transition: transform 280ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-cyan); }
.faq details p { padding: 0 48px 26px 0; font-size: 17px; line-height: 1.55; color: var(--fg-2); max-width: 62ch; }

/* Contact */
.contact { overflow: hidden; }
.contact-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 65%, rgba(255, 46, 147, 0.13), transparent 70%),
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(199, 36, 177, 0.10), transparent 60%);
}
.contact-inner {
  position: relative; z-index: 1;
  max-width: 880px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.contact-mark { width: 144px; height: 144px; }
.contact .lede { max-width: 26em; font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-2); }

.contact-form { width: 100%; max-width: 560px; margin-top: 16px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--ink-1); color: var(--fg-1);
  border: 1px solid var(--line-bold); border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px or more stops iOS Safari zooming in on focus */
  outline: none;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8F89A1; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--brand-pink); background: var(--ink-2); box-shadow: 0 0 0 4px rgba(255, 46, 147, 0.16); }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.btn-submit { align-self: stretch; margin-top: 4px; }
.form-note {
  width: 100%; max-width: 560px; padding: 14px 16px;
  border: 1px solid var(--line-bold); border-radius: 12px; background: var(--ink-1);
  font-size: 15px; text-align: center;
}
.form-note a { color: var(--brand-cyan); text-decoration: underline; }
[hidden] { display: none !important; }

/* 404 */
.notfound {
  min-height: 80vh; padding-top: calc(var(--content-top) + clamp(64px, 12vw, 160px));
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px; border-top: 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  padding: 44px calc(var(--frame) + var(--pad)) calc(var(--frame) + 24px);
  border-top: 1px solid var(--line-bold);
  background: var(--ink-0);
  font-size: 14px; color: var(--fg-2);
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-tag { flex: 1; min-width: 240px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 12px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; transition: color 160ms var(--ease-out); }
.footer-links li:first-child a { justify-content: flex-start; padding-left: 0; }
.footer-links a:hover { color: var(--fg-1); }
.footer-bottom {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── Scroll reveal: fade up, and a zoom-and-fade for headings ───────────── */
.js .rv, .js .rv-zoom, .js:not(.pin) .scene-service .scene-art {
  opacity: 0;
  transition: opacity 0.9s ease, transform 1.1s var(--ease-cine);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .rv { transform: translateY(28px); }
.js .rv-zoom { transform: scale(1.14); transform-origin: left center; }
.js .contact .rv-zoom { transform-origin: center; }
.js:not(.pin) .scene-service .scene-art { transform: scale(0.8); }
.js .rv.in, .js .rv-zoom.in, .js:not(.pin) .scene-service.in .scene-art { opacity: 1; transform: none; }

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 1100px) {
  :root {
    --index-w: 216px;
    --sun-size: clamp(300px, min(50vh, 34vw), 720px);
    --sun-center-x: 78%;
  }
  .nav-links { gap: 16px; }
}

@media (max-width: 900px) {
  :root {
    --frame: 0px;
    --index-w: 0px;
    --rail-h: 56px;
    /* The sun bleeds off the right edge and the headline sits over it. */
    --sun-size: clamp(240px, min(74vw, 42vh), 460px);
    --sun-center-x: 70%;
    --sun-center-y: 54%;
  }
  :root { --header-h: 80px; }
  .brand img { width: 60px; height: 60px; }
  .brand-name { font-size: 22px; }
  .frame { display: none; }
  .site-header { padding: 0 8px 0 20px; }

  /* Menu: a small panel under the burger */
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: calc(var(--header-h) + 8px); right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 220px; padding: 10px;
    border: 1px solid var(--line-bold); border-radius: 14px;
    background: rgba(7, 6, 11, 0.94);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open { display: flex; }
  .nav-format { order: -1; }   /* first in the menu, although it is last in the markup */
  .nav-links a:not(.btn) {
    display: flex; align-items: center; min-height: 46px; padding: 0 14px;
    border-radius: 8px; font-size: 15px; color: var(--fg-1);
  }
  .nav-links a:not(.btn):hover { background: rgba(244, 241, 234, 0.07); }
  .nav-cta { margin-top: 6px; }
  .nav-cta .btn { width: 100%; min-height: 46px; }

  /* Stacked scenes */
  .scene-service { grid-template-columns: 1fr; }
  .hero-copy h1 { margin-block: 0 auto; padding-top: clamp(24px, 6vh, 64px); font-size: clamp(44px, min(11vw, 8vh), 88px); }
  .hero-copy::before { width: 100%; height: 40%; background: linear-gradient(to top, rgba(7, 6, 11, 0.94), rgba(7, 6, 11, 0.72) 60%, rgba(7, 6, 11, 0)); }

  /* Pinned scenes: artwork on top, copy under it, selector as a bottom rail */
  .pin .scene { top: var(--header-h); bottom: var(--rail-h); left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; }
  .pin .scene-service .scene-art { position: relative; inset: auto; flex: 1 1 0; min-height: 0; }
  /* The base rule puts the picture in the right half (left: 50%); on a phone it takes the whole width */
  .pin .scene-zoom { left: 0; width: 100%; }
  .pin .scene-copy { position: relative; width: 100%; padding: 4px 20px 16px; gap: 10px; }
  .pin .scene-copy::before { display: none; }
  /* over the 3D picture the copy needs its own dark ground */
  .pin.gl-on .scene-copy::before {
    display: block; inset: -90px 0 0 0;
    background: linear-gradient(to top, rgba(7, 6, 11, 0.94) 62%, rgba(7, 6, 11, 0));
  }
  .pin .scene-points, .pin .scene-detail { display: none; }
  .pin .scene-title { font-size: clamp(30px, 8.6vw, 44px); }
  .pin .scene-line { font-size: 16px; }
  .pin .hero-copy { padding: 0 20px 20px; }

  .pin .index {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; height: var(--rail-h);
    flex-direction: row; border-left: 0; border-top: 1px solid var(--line-bold);
  }
  .pin .index-label, .pin .index-foot { display: none; }
  /* Nine cells, the app between 01 and 02: on a 390px phone each is 43px wide
     by 56px tall, 1px under the 44px guideline. The owner wants the app in the
     rail (2026-10-22: swiping through the scenes, the app "is not part of the
     list"), and a cell with no entry read as a missing scene. */
  .pin .index-list { flex: 1; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border-top: 0; }
  .pin .index-list li { display: flex; }
  .pin .index-list a { flex: 1; justify-content: center; min-height: 0; padding: 0; border-bottom: 0; border-right: 1px solid var(--line); font-size: 13px; }
  .pin .index-list li:last-child a { border-right: 0; }
  .pin .index-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pin .scroll-cue { display: none; }
  /* The app scene on a phone: the clip fills the art area, centred, and the
     copy keeps to the title and the lead so the clip has the height (the
     clip is the point of the scene; the points show in the Enterprise card) */
  .pin .scene-app .scene-zoom { left: 0; right: 0; width: 100%; }
  .pin .scene-app .phone-video { top: 3%; bottom: 3%; }
  .pin .scene-app .scene-points { display: none; }
  .pin .scene-app .scene-line { font-size: 15px; }

  .block-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art .art { max-height: 56vh; }
  .rows-desc a { grid-template-columns: 36px minmax(0, 1fr); }
  .rows-desc a .rows-x { grid-column: 2; }
  .cta-band .btn { max-width: 100%; }
  .rows > li, .rows-links a { grid-template-columns: 36px minmax(0, 1fr); }
  .rows > li .rows-x { grid-column: 2; }
  .rows-links a { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { padding: 24px 20px 24px; border-bottom: 1px solid var(--line); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .faq details p { padding-right: 0; }
}

/* Tall phones have room for the service points under the copy */
@media (max-width: 900px) and (min-height: 780px) {
  .pin .scene-points { display: grid; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-left: 0; border-left: 0; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Style switch
   Buttons that set html[data-format]: the switch in the header, a prompt
   shown once to a new visitor, and the "Site style" section with both
   versions side by side. All hidden without JavaScript, because the style
   cannot change without it.
   ========================================================================== */
html:not(.js) .js-only { display: none; }

.nav-format { display: flex; align-items: center; gap: 10px; }
.format-label {
  display: none;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg-2);
}
@media (min-width: 1240px) {
  .js .format-label { display: block; }
}
.format-toggle { display: none; }
.js .format-toggle {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line-bold); border-radius: 999px;
}
.format-toggle button {
  min-height: 30px; width: 92px; padding: 0;   /* fixed width: the same size in every style */
  border: 0; border-radius: 999px; background: transparent;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-2); cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.format-toggle button:hover { color: var(--fg-1); }
.format-toggle button[aria-pressed="true"] { background: var(--fg-1); color: var(--ink-0); }

/* Changing style: a quiet morph (owner, 2026-10-22, after the fade and the
   digital gust). The browser's view transition takes a picture of the page
   before and after the change and cross-fades them in 0.55s. The header and
   the hero sun carry a view-transition-name, so each keeps its own pair of
   pictures and moves to its new place and size while it fades. The sun in
   the Immersive style is drawn on the canvas, so its own picture is empty
   there; the canvas fades with the page and the drawn sun moves in. Browsers
   without view transitions, and reduced motion, change instantly. */
.site-header { view-transition-name: site-header; }
.hero-sun { view-transition-name: hero-sun; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
::view-transition-group(site-header), ::view-transition-group(hero-sun) {
  animation-duration: 0.65s; animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}
::view-transition-old(site-header), ::view-transition-new(site-header),
::view-transition-old(hero-sun), ::view-transition-new(hero-sun) {
  animation-duration: 0.45s; mix-blend-mode: normal;
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .frame { transition: none; }
}

/* The prompt: a screenshot of the other version and a button that switches to
   it. main.js adds .open, and sets --tip-x and --tip-caret so it hangs under
   the switch and points at it. */
.style-tip {
  position: fixed; z-index: 45;   /* under the header, so the phone menu opens over it */
  top: calc(var(--content-top) + 12px);
  left: var(--tip-x, calc(var(--frame) + var(--pad)));
  display: flex; align-items: stretch;
  border: 1px solid var(--line-bold); border-radius: 14px;
  background: rgba(7, 6, 11, 0.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.7s var(--ease-cine), visibility 0s linear 0.7s;
}
.style-tip.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.style-tip::before {
  content: ""; position: absolute; top: -6px; left: var(--tip-caret, 40px);
  width: 10px; height: 10px; margin-left: -5px;
  border-top: 1px solid var(--line-bold); border-left: 1px solid var(--line-bold);
  background: #07060B;
  transform: rotate(45deg);
}
.style-tip-go {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 0; border-radius: 13px 0 0 13px; background: none;
  color: var(--fg-1); text-align: left; cursor: pointer;
}
.style-tip-go img {
  width: 112px; height: 70px; flex-shrink: 0; object-fit: cover;
  border: 1px solid var(--line-bold); border-radius: 8px;
}
.style-tip-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.style-tip-k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg-2);
}
.style-tip-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--fg-1); color: var(--ink-0);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.style-tip-cta::after { content: "\2192"; font-size: 1.1em; line-height: 1; transition: transform 260ms var(--ease-out); }
.style-tip-go:hover .style-tip-cta { background: linear-gradient(100deg, var(--brand-orange), var(--brand-coral) 55%, var(--brand-pink)); }
.style-tip-go:hover .style-tip-cta::after { transform: translateX(4px); }
.style-tip-close {
  width: 40px; flex-shrink: 0;
  border: 0; border-left: 1px solid var(--line); border-radius: 0 13px 13px 0; background: none;
  font-size: 22px; line-height: 1; color: var(--fg-2); cursor: pointer;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.style-tip-close:hover { color: var(--fg-1); background: rgba(244, 241, 234, 0.07); }
.style-tip :focus-visible { outline-offset: -3px; }

/* The section: one card per version, each a button */
.style-cards {
  max-width: 1400px; margin: clamp(36px, 5vw, 72px) auto 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(12px, 3vw, 40px);
  align-items: start;
}
.style-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 0; border: 0; background: none;
  color: var(--fg-1); text-align: left; cursor: pointer;
}
.style-card[aria-pressed="true"] { cursor: default; }
.style-card-shot {
  display: block; overflow: hidden;
  border: 1px solid var(--line-bold);
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.style-card-shot img { width: 100%; height: auto; transition: transform 1.2s var(--ease-cine); }
.style-card:hover .style-card-shot img { transform: scale(1.04); }
.style-card:hover .style-card-shot,
.style-card[aria-pressed="true"] .style-card-shot { border-color: var(--fg-1); }
.style-card-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 8px; }
.style-card-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brand-orange); }
.style-card-t {
  font-size: clamp(22px, 2.6vw, 40px); font-weight: 500;
  line-height: 1; letter-spacing: -0.035em; text-transform: uppercase;
}
.style-card-state { margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
.style-card .is-on {
  display: none; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
}
.style-card .is-on::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(var(--brand-orange), var(--brand-pink));
}
.style-card .is-off { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-cyan); }
.style-card .is-off::after { content: "\2192"; transition: transform 200ms var(--ease-out); }
.style-card:hover .is-off::after { transform: translateX(5px); }
.style-card[aria-pressed="true"] .is-on { display: inline-flex; }
.style-card[aria-pressed="true"] .is-off { display: none; }
.style-card-x { font-size: 16px; line-height: 1.5; color: var(--fg-2); max-width: 34em; }

/* The app half of the section: MacTrak, the same screen in four themes */
.styles-app {
  max-width: 1400px; margin: clamp(56px, 8vw, 120px) auto 0;
  padding-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.styles-app-head .display-3 { margin: 12px 0 16px; }
.styles-app-head .body { max-width: 30em; }
.phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.phone { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.phone img, .phone video {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-bold); border-radius: clamp(14px, 2.4vw, 26px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
/* The clip is a phone recording and reads as one: rounded screen corners, no
   border, no panel behind it (owner, 2026-10-22) */
.phone video { aspect-ratio: 430 / 932; background: var(--ink-1); object-fit: cover; border: 0; border-radius: clamp(18px, 2.8vw, 34px); }

.phone-cap { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 600; color: var(--fg-1); }
.phone-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brand-orange); }

@media (max-width: 900px) {
  .nav-format { flex-direction: column; align-items: stretch; gap: 6px; padding: 2px 2px 8px; }
  .js .format-label { display: block; padding: 6px 12px 0; }
  .js .format-toggle { display: flex; }
  .format-toggle button { flex: 1; min-height: 44px; font-size: 12px; }

  /* A strip attached to the header, 46px tall so it ends above the headline. */
  .style-tip {
    left: 0; right: 0; top: var(--header-h);
    border-width: 0 0 1px; border-radius: 0; box-shadow: none;
  }
  .style-tip::before { display: none; }
  .style-tip-go { flex: 1; min-width: 0; gap: 12px; padding: 5px 8px 5px 20px; border-radius: 0; }
  .style-tip-go img { width: 54px; height: 34px; border-radius: 4px; }
  .style-tip-text { gap: 1px; min-width: 0; }
  .style-tip-k { font-size: 10px; line-height: 12px; letter-spacing: 0.1em; }
  .style-tip-cta, .style-tip-go:hover .style-tip-cta {
    min-height: 0; padding: 0; background: none; color: var(--fg-1);
    font-size: clamp(13px, 3.8vw, 15px); line-height: 20px;
  }
  .style-tip-close { width: 48px; border-radius: 0; }

  .style-card-state { margin-left: 0; width: 100%; font-size: 14px; white-space: normal; }
  .style-card-x { font-size: 14px; }
  .styles-app { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .phone-cap { font-size: 14px; }
}

/* ==========================================================================
   Consulting style
   Modeled on the layout of a large consulting firm's site (owner request,
   2026-10-06; deloitte.com was the reference): a slim black masthead, a black
   hero with a light headline and the sun as the picture, then white sections
   that each open with a coloured band carrying the section name, white cards
   on light grey, and a black contact section and footer. No pinned showcase,
   no 3D. Palette, type, pill buttons and the sun logo are unchanged; the
   brand colours are darkened where they sit on white (AA), and come back at
   full strength on the black parts.
   ========================================================================== */
[data-format="consulting"] {
  --ink-0: #FFFFFF;
  --ink-1: #F2F2F2;
  --ink-2: #E6E6E6;
  --ink-3: #D0D0CE;
  --fg-1: #000000;
  --fg-2: #53565A;
  --fg-3: #75787B;

  --brand-orange:  #B4530A;
  --brand-coral:   #C2410C;
  --brand-pink:    #BE185D;
  --brand-magenta: #BE185D;
  --brand-cyan:    #0E7490;

  --line:      rgba(0, 0, 0, 0.12);
  --line-bold: rgba(0, 0, 0, 0.22);

  --blue:      #0E7490;   /* links and buttons: the cyan, deepened for white */
  --blue-dark: #0A5A70;
  --band:      var(--blue);
  --wrap:   1320px;
  --radius: 4px;

  --frame: 0px;
  --index-w: 0px;
  --pad: clamp(20px, 4vw, 56px);

  --sun-size: clamp(360px, min(40vw, 78vh), 660px); /* owner, 2026-10-21: about 50% larger than the first cut */
  --sun-center-x: 50%;
  --sun-center-y: 50%;
}
/* The black parts: the masthead, the hero, the picture panels, contact and
   the footer. The dark palette comes back there, so every rule that reads a
   token keeps its contrast. */
[data-format="consulting"] .site-header,
[data-format="consulting"] .scene-hero,
[data-format="consulting"] .scene-service .scene-art,
[data-format="consulting"] .page-hero-art,
[data-format="consulting"] .area-art,
[data-format="consulting"] .contact,
[data-format="consulting"] .site-footer {
  --ink-0: #000000;
  --ink-1: #161616;
  --ink-2: #222222;
  --ink-3: #333333;
  --fg-1: #FFFFFF;
  --fg-2: #D0D0CE;
  --fg-3: #A7A8AA;
  --brand-orange:  #FD9409;
  --brand-coral:   #FB5833;
  --brand-pink:    #F92056;
  --brand-magenta: #FF2E93;
  --brand-cyan:    #00E5FF;
  --line:      rgba(255, 255, 255, 0.18);
  --line-bold: rgba(255, 255, 255, 0.34);
}
[data-format="consulting"] body::after,
[data-format="consulting"] .contact-glow,
[data-format="consulting"] .hero-stars,
[data-format="consulting"] .hero-floor,
[data-format="consulting"] .hero-copy::before,
[data-format="consulting"] .scroll-cue { display: none; }
[data-format="consulting"] .frame { opacity: 0; }   /* fades, so a style change is not a snap */

/* Type: sentence case, light headlines */
[data-format="consulting"] .display {
  font-weight: 400; font-size: clamp(34px, 4vw, 58px);
  line-height: 1.16; letter-spacing: -0.015em; text-transform: none;
}
[data-format="consulting"] .display-2 {
  font-weight: 400; font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22; letter-spacing: -0.012em; text-transform: none;
}
[data-format="consulting"] .display-3 {
  font-weight: 600; font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.25; letter-spacing: -0.01em; text-transform: none;
}
[data-format="consulting"] .sub-kicker { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); }
[data-format="consulting"] .lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; letter-spacing: 0; color: var(--fg-2); }
[data-format="consulting"] .body { font-size: 16px; }
[data-format="consulting"] .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--brand-orange); }

/* Masthead: a slim black bar */
[data-format="consulting"] .site-header {
  border-bottom: 0;
  background: #000000;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
[data-format="consulting"] .brand-name span { color: var(--brand-orange); }
[data-format="consulting"] .nav-links a:not(.btn) { font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
[data-format="consulting"] .format-label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: none; }
[data-format="consulting"] .format-toggle button { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }

/* Buttons: solid blue pill; ghost is a hairline that fills on hover */
[data-format="consulting"] .btn { min-height: 48px; padding: 0 26px; font-size: 16px; }
[data-format="consulting"] .btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
[data-format="consulting"] .btn-primary { background: var(--blue); color: #FFFFFF; }
[data-format="consulting"] .btn-primary::before { background: var(--blue-dark); }
[data-format="consulting"] .btn-primary:hover { box-shadow: none; }
[data-format="consulting"] .btn-ghost {
  background: transparent; color: var(--fg-1); border-color: var(--fg-1);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
[data-format="consulting"] .btn-ghost:hover { background: var(--fg-1); color: var(--ink-0); border-color: var(--fg-1); }

/* The showcase becomes a black hero and a grid of cards on light grey */
[data-format="consulting"] .show { background: var(--ink-1); }
[data-format="consulting"] .show-stage {
  max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px;
}

/* Hero: black, copy left, the sun right */
[data-format="consulting"] .scene-hero {
  grid-column: 1 / -1;
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: min(820px, 100vh);
  min-height: min(820px, 100svh);
  padding: calc(var(--header-h) + clamp(40px, 7vh, 96px)) max(var(--pad), calc((100vw - var(--wrap)) / 2)) clamp(48px, 7vh, 96px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  overflow: hidden; isolation: isolate;
  background: #000000; color: #FFFFFF;
}
[data-format="consulting"] .scene-hero .scene-art {
  position: relative; inset: auto; grid-column: 2; grid-row: 1;
  min-height: var(--sun-size);
}
[data-format="consulting"] .scene-hero .hero-copy { grid-column: 1; grid-row: 1; flex: none; max-width: 640px; }
[data-format="consulting"] .hero-copy h1 { margin: 0; padding: 0 0 20px; }
[data-format="consulting"] .hero-lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--fg-2); max-width: 34em; }
[data-format="consulting"] .hero-ctas { margin-top: 28px; }
/* A ring of light around the sun, like a spotlight on the subject */
[data-format="consulting"] .hero-sun { filter: drop-shadow(0 0 60px rgba(251, 88, 51, 0.35)); }
[data-format="consulting"] .hero-sun::before {
  inset: -22%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 88, 51, 0.28), rgba(249, 32, 86, 0.14) 48%, transparent 72%);
}

/* Section bands: the section name on a strip of colour at the top */
[data-format="consulting"] .show-stage > .scene-anchor { grid-column: 1 / -1; }
[data-format="consulting"] .scene-anchor {
  position: static; display: block; width: auto; height: 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
[data-format="consulting"] .show-stage > h2,
[data-format="consulting"] .block .kicker {
  display: flex; align-items: center; min-height: 48px;
  padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2));
  background: var(--band); color: #FFFFFF;
  font-family: var(--font-sans); font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
}
[data-format="consulting"] .show-stage > h2 {
  grid-column: 1 / -1;
  position: static; width: 100vw; height: auto; margin: 0 0 clamp(24px, 4vw, 48px) calc(50% - 50vw);
  overflow: visible; clip: auto; clip-path: none; white-space: normal;
  --band: #C2410C;
}
[data-format="consulting"] .block { padding: calc(48px + clamp(48px, 6vw, 88px)) var(--pad) clamp(56px, 7vw, 96px); border-top: 0; }
[data-format="consulting"] .block .kicker { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
[data-format="consulting"].js .block .kicker.rv { opacity: 1; transform: none; transition: none; }
[data-format="consulting"] #about   { --band: #BE185D; }
[data-format="consulting"] #process { --band: #0E7490; }
[data-format="consulting"] #areas,
[data-format="consulting"] #local   { --band: #B4530A; }
[data-format="consulting"] #faq     { --band: #1F1B2C; }
[data-format="consulting"] #styles  { --band: #0E7490; }
[data-format="consulting"] .contact .kicker,
[data-format="consulting"] .page-hero .kicker { --band: #222222; }

/* Service cards: white on light grey, the picture on a black panel at the foot */
[data-format="consulting"] .scene-service {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 20px; padding: 24px 24px 20px; border: 0; border-radius: var(--radius);
  background: #FFFFFF; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
[data-format="consulting"] .scene-service:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14); transform: translateY(-2px); }
[data-format="consulting"] .scene-copy { flex: 0 0 auto; gap: 12px; }
[data-format="consulting"] .scene-service .scene-art {
  order: 1; flex: 1 1 auto; width: 100%; margin-top: 18px; padding: 6%;
  aspect-ratio: 5 / 4; border-radius: var(--radius); background: #000000;
  display: flex; align-items: center; justify-content: center;
}
[data-format="consulting"] .scene-service .scene-zoom { width: 100%; }
[data-format="consulting"] .scene-service .art { max-height: none; }
/* The app card: beside the first service card, the rest of its row; copy
   left, the phone clip right on black */
[data-format="consulting"] .scene-app {
  grid-column: 2 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: 32px;
}
[data-format="consulting"] .scene-app .scene-anchor { grid-column: 1 / -1; }   /* its own empty row, not the first cell */
[data-format="consulting"] .scene-app .scene-art { order: 1; width: auto; margin: 0; padding: 0; aspect-ratio: auto; background: none; }
[data-format="consulting"] .scene-app .phone video { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); }
[data-format="consulting"] .scene-app .scene-detail { display: flex; }
[data-format="consulting"] .scene-app .scene-title { font-size: clamp(26px, 2.6vw, 36px); }
[data-format="consulting"] .scene-app .scene-line { font-size: 17px; color: var(--fg-1); }
[data-format="consulting"] .scene-num { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--fg-1); }
[data-format="consulting"] .scene-num span { color: var(--blue); }
[data-format="consulting"] .scene-title { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-transform: none; }
[data-format="consulting"] .scene-line { font-size: 15px; line-height: 1.5; color: var(--fg-2); }
[data-format="consulting"] .scene-detail { display: none; }
[data-format="consulting"] .scene-points { display: block; max-width: none; border: 0; }
[data-format="consulting"] .scene-points li {
  position: relative; padding: 3px 0 3px 16px; border: 0;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.45; letter-spacing: 0; text-transform: none; color: var(--fg-2);
}
[data-format="consulting"] .scene-points li::before {
  content: ""; position: absolute; left: 0; top: 0.78em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
/* The link sits under the points; a card made taller by its row (the first
   card beside the app card) gives the extra height to the artwork panel,
   not to a gap above the link (owner, 2026-10-22) */
[data-format="consulting"] .scene-more { margin-top: 0; padding-top: 8px; font-size: 15px; color: var(--blue); }

/* Content sections */
[data-format="consulting"] .block-grid,
[data-format="consulting"] .block-head-wide,
[data-format="consulting"] .steps,
[data-format="consulting"] .style-cards,
[data-format="consulting"] .styles-app,
[data-format="consulting"] .page-hero-grid { max-width: var(--wrap); }
[data-format="consulting"] .phone img, [data-format="consulting"] .phone video { border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
[data-format="consulting"] .phone-n { color: var(--blue); }
[data-format="consulting"] .rows-t { font-size: 16px; letter-spacing: 0; text-transform: none; }
[data-format="consulting"] .rows-n { color: var(--blue); }
[data-format="consulting"] .rows-links a:hover { background: rgba(0, 0, 0, 0.04); }
[data-format="consulting"] .rows-links .rows-x,
[data-format="consulting"] .rows-links a:hover .rows-t { color: var(--blue); }

[data-format="consulting"] .band { padding: 28px var(--pad) 32px; border-top: 1px solid var(--line); background: #FFFFFF; }
[data-format="consulting"] .band-label {
  max-width: var(--wrap); margin: 0 auto 14px; padding: 0;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--fg-1);
}
[data-format="consulting"] .band-track { width: auto; max-width: var(--wrap); margin: 0 auto; animation: none; }
[data-format="consulting"] .band-list { flex-wrap: wrap; gap: 8px; }
[data-format="consulting"] .band-list[aria-hidden] { display: none; }
[data-format="consulting"] .band-list li {
  padding: 7px 13px; border: 1px solid var(--line-bold); border-radius: var(--radius); background: #FFFFFF;
  font-size: 14px; font-weight: 400; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--fg-2);
}
[data-format="consulting"] .band-list li::after { display: none; }

[data-format="consulting"] #process,
[data-format="consulting"] #styles,
[data-format="consulting"] #nearby { background: var(--ink-1); }
[data-format="consulting"] .steps { gap: 20px; border-top: 0; }
[data-format="consulting"] .steps li,
[data-format="consulting"] .steps li:first-child {
  padding: 24px; border: 0; border-radius: var(--radius); background: #FFFFFF; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
[data-format="consulting"] .steps-n {
  font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -0.02em;
  background: none; -webkit-text-fill-color: currentColor; color: var(--blue);
}
[data-format="consulting"] .steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; }

[data-format="consulting"] .faq summary { font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; letter-spacing: -0.005em; }
[data-format="consulting"] .faq summary::after,
[data-format="consulting"] .faq summary:hover { color: var(--blue); }

/* Contact: black, like the footer. The band spans the section, not the column. */
[data-format="consulting"] .contact { background: #000000; color: #FFFFFF; }
[data-format="consulting"] .contact-inner { position: static; }
[data-format="consulting"] .contact-mark { width: 96px; height: 96px; }
[data-format="consulting"] .form-group label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
[data-format="consulting"] .form-group input,
[data-format="consulting"] .form-group textarea { border-radius: var(--radius); }
[data-format="consulting"] .form-note { border-radius: var(--radius); }
[data-format="consulting"] .contact :focus-visible,
[data-format="consulting"] .scene-hero :focus-visible,
[data-format="consulting"] .site-footer :focus-visible { outline-color: #FFFFFF; }

/* The map artwork is drawn for a dark ground */
[data-format="consulting"] .page-hero-art,
[data-format="consulting"] .area-art { padding: 16px; border-radius: var(--radius); background: #000000; }

/* Footer: black */
[data-format="consulting"] .site-footer {
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2));
  border-top: 0; background: #000000; color: var(--fg-2);
}
[data-format="consulting"] .site-footer .brand,
[data-format="consulting"] .footer-links a:hover { color: #FFFFFF; }

/* Style prompt and the "Site style" section */
[data-format="consulting"] .style-tip {
  border-radius: var(--radius); background: #FFFFFF;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
[data-format="consulting"] .style-tip::before { background: #FFFFFF; }
[data-format="consulting"] .style-tip-go { border-radius: var(--radius) 0 0 var(--radius); }
[data-format="consulting"] .style-tip-go img { border-radius: var(--radius); }
[data-format="consulting"] .style-tip-k { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
[data-format="consulting"] .style-tip-cta { background: var(--blue); color: #FFFFFF; }
[data-format="consulting"] .style-tip-go:hover .style-tip-cta { background: var(--blue-dark); }
[data-format="consulting"] .style-tip-close { border-radius: 0 var(--radius) var(--radius) 0; }
[data-format="consulting"] .style-tip-close:hover { background: rgba(0, 0, 0, 0.05); }
[data-format="consulting"] .style-card-shot { border: 0; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
[data-format="consulting"] .style-card:hover .style-card-shot,
[data-format="consulting"] .style-card[aria-pressed="true"] .style-card-shot { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
[data-format="consulting"] .style-card-n { color: var(--blue); }
[data-format="consulting"] .style-card-t { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-transform: none; }
[data-format="consulting"] .style-card .is-on { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
[data-format="consulting"] .style-card .is-on::before { background: var(--blue); }
[data-format="consulting"] .style-card .is-off { color: var(--blue); }

/* Calmer reveals: a short rise, no zoom */
[data-format="consulting"].js .rv,
[data-format="consulting"].js .rv-zoom { transform: translateY(14px); transition-duration: 0.5s, 0.6s; }
[data-format="consulting"].js .rv.in,
[data-format="consulting"].js .rv-zoom.in { transform: none; }

@media (max-width: 1100px) {
  [data-format="consulting"] .show-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  /* two columns: the app card is the second card, a tall one, the clip under the copy;
     cards keep their own height so the first card does not stretch to match it */
  [data-format="consulting"] .scene-app { grid-column: 2; grid-template-columns: 1fr; padding: 24px; }
  [data-format="consulting"] .scene-app .scene-art { padding: 0; }
}
@media (max-width: 900px) {
  [data-format="consulting"] { --sun-size: clamp(300px, 80vw, 450px); }
  [data-format="consulting"] .nav-links { background: #000000; border-color: var(--line-bold); }
  [data-format="consulting"] .scene-hero { grid-template-columns: 1fr; gap: 8px; padding-top: calc(var(--header-h) + 56px); }
  [data-format="consulting"] .scene-hero .hero-copy { grid-column: 1; grid-row: 1; }
  [data-format="consulting"] .scene-hero .scene-art { grid-column: 1; grid-row: 2; min-height: var(--sun-size); }
  [data-format="consulting"] .hero-copy h1 { font-size: clamp(32px, 8vw, 44px); padding-top: 0; margin-block: 0; }
  [data-format="consulting"] .style-tip { border-radius: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
  [data-format="consulting"] .style-tip-go,
  [data-format="consulting"] .style-tip-close { border-radius: 0; }
  [data-format="consulting"] .style-tip-k { font-size: 11px; }
  [data-format="consulting"] .style-tip-cta,
  [data-format="consulting"] .style-tip-go:hover .style-tip-cta { background: none; color: var(--blue); }
  [data-format="consulting"] .steps li:nth-child(odd) { padding-left: 24px; border-left: 0; }
}
@media (max-width: 600px) {
  [data-format="consulting"] .show-stage { grid-template-columns: 1fr; }
  [data-format="consulting"] .scene-app { grid-column: 1; grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 480px) {
  [data-format="consulting"] .steps li { padding-left: 24px; border-left: 0; }
}

/* ── Header between the phone menu (900px) and 1300px ──────────────────────
   With the style switch in it the header no longer fits at these widths at
   full size, in either style: everything in it tightens. Sits after the
   style blocks so it wins on equal specificity. */
@media (min-width: 901px) and (max-width: 1300px) {
  .site-header,
  [data-format="consulting"] .site-header { padding: 0 12px 0 16px; }
  .brand img { width: 60px; height: 60px; }
  .brand-name { font-size: 22px; }
  .nav-links { gap: 10px; }
  .nav-links a:not(.btn) { font-size: 12px; letter-spacing: 0.05em; }
  [data-format="consulting"] .nav-links a:not(.btn) { font-size: 14px; letter-spacing: 0; }
  .format-toggle button,
  [data-format="consulting"] .format-toggle button { width: 80px; font-size: 10px; }
  [data-format="consulting"] .format-toggle button { font-size: 11px; }
  .nav-cta .btn-sm,
  [data-format="consulting"] .nav-cta .btn-sm { padding: 0 14px; font-size: 13px; }
}
/* The cinematic frame takes 28px more, so just above the phone menu it tightens further */
@media (min-width: 901px) and (max-width: 1000px) {
  .site-header,
  [data-format="consulting"] .site-header { padding: 0 10px 0 12px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 20px; }
  .nav-links { gap: 8px; }
  .nav-links a:not(.btn) { font-size: 11.5px; }
  .nav-cta .btn-sm,
  [data-format="consulting"] .nav-cta .btn-sm { padding: 0 12px; font-size: 12px; }
}

/* ── Reduced motion: no zoom, no drift, instant changes ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .a-star { opacity: 0.5; }
  .pin .scene-art, .pin .scene.is-before .scene-art { transform: none; }
  .pin .scene-zoom { transform: none; }
  .js .rv, .js .rv-zoom, .js:not(.pin) .scene-service .scene-art { opacity: 1; transform: none; }
  .band-track { animation: none; flex-wrap: wrap; width: auto; }
  .band-list { flex-wrap: wrap; padding: 0 calc(var(--frame) + var(--pad)); }
  .band-list[aria-hidden] { display: none; }
}
