/* Digital Forge — "Forge Royal" (owner, 2026-11-27): the metallic emblem in its glow, deep saturated blues and the
   warm champagne of the F, one variable family (Archivo, width + weight) used as the loud part of the design,
   and motion that answers the visitor. Everything that moves stops under prefers-reduced-motion. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --abyss: #050B1E;
  --navy: #0B1F4B;
  --sapphire: #163A8C;
  --glow: #2F5FC9;
  --champagne: #E8D9BC;
  --sand: #C8AE80;
  --ivory: #F5EFE4;
  --ink: #0B1633;
  --mist: #B9C3D6;
  --muted: #4A5470;
  --frame: min(1320px, 100% - 2 * var(--gutter));
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1); /* in-out, for sweeps that must not snap */
  --ease-silk: cubic-bezier(.65, 0, .35, 1); /* slower in-out for the Selected work sweep (owner 2026-11-30: «ещё плавнее») */
  --job-t: 1.1s;
  --mx: 50%;
  --my: 30%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--ivory);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--champagne); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 4px; }
.light :focus-visible { outline-color: var(--sapphire); }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -.025em; line-height: .98; text-wrap: balance; }
p { margin: 0; }
.frame { width: var(--frame); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 20; background: var(--champagne); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(5, 11, 30, .86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: auto; }
.brand__word { font-weight: 800; font-stretch: 118%; font-size: 1.0625rem; letter-spacing: -.01em; }
.nav { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.menu__lines { width: 22px; height: 10px; border-block: 2px solid currentColor; transition: height .3s var(--ease); }
.menu[open] .menu__lines { height: 2px; border-bottom: 0; }
/* the header's backdrop blur makes it the containing block of this fixed panel: size it explicitly */
.menu__panel { position: fixed; top: 4.25rem; left: 0; right: 0; height: calc(100svh - 4.25rem); background: var(--sapphire); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.menu__panel a { text-decoration: none; font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 10vw, 3rem); line-height: 1.15; letter-spacing: -.02em; }
.menu__panel a[aria-current="page"] { color: var(--champagne); }
.menu__panel .btn { margin-top: 24px; font-size: 1.0625rem; font-stretch: 100%; letter-spacing: 0; }
.menu__panel .menu__small { font-size: 1.25rem; font-stretch: 100%; font-weight: 600; color: var(--mist); margin-top: 8px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.btn--gold { background: var(--champagne); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); transform: translateY(-2px); }
.btn--line { color: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(232, 217, 188, .55); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--champagne); color: var(--champagne); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--sapphire); transform: translateY(-2px); }
.arrow { display: inline-block; width: .9em; height: 2px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .more:hover .arrow { width: 1.4em; }
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--champagne); }
.light .more { color: var(--sapphire); }

/* ---------- the glow: aurora behind the emblem (our gradient), slowly drifting ---------- */
.aurora { position: relative; isolation: isolate; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.aurora::before {
  width: 120vmax; height: 120vmax; left: 50%; top: 48%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(47, 95, 201, .55), rgba(22, 58, 140, .38) 38%, rgba(11, 31, 75, .2) 62%, rgba(5, 11, 30, 0) 100%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 70vmax; height: 70vmax; left: 70%; top: 70%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(232, 217, 188, .16), rgba(200, 174, 128, .06) 55%, rgba(5, 11, 30, 0) 100%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0% { transform: translate(-4%, -3%) scale(1); }
  50% { transform: translate(3%, 2%) scale(1.08); }
  100% { transform: translate(-2%, 4%) scale(.96); }
}
/* the light follows the pointer on dark fields */
.follow { background-image: radial-gradient(600px circle at var(--mx) var(--my), rgba(47, 95, 201, .16), rgba(5, 11, 30, 0) 60%); }

/* ---------- home hero ---------- */
.hero { min-height: calc(100svh - 4.25rem); display: grid; align-items: center; padding: 40px 0 72px; }
.hero__grid { display: grid; gap: 28px; }
.hero__copy { display: grid; gap: 22px; }
.hero__mark { position: relative; width: min(58vw, 240px); justify-self: center; perspective: 900px; }
.hero__tilt { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); animation: float 7s ease-in-out infinite; }
.hero__tilt img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
/* Short phone screens: a smaller emblem keeps the "Get a free audit" button on the first screen (checked 2026-12-05
   at 375x553, 360x640 and 390x664, the visible area of Safari and Chrome with their bars). Taller phones keep the full size. */
@media (max-width: 620px) and (max-height: 700px) { .hero { padding-top: 24px; } .hero__mark { width: min(46vw, 176px); } }
@media (max-width: 620px) and (max-height: 600px) { .hero__grid { gap: 20px; } .hero__mark { width: min(32vw, 120px); } }
/* a glint of light that runs across the metal, cut to the emblem's own outline */
.glint { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url("assets/logo-emblem-lg.webp") center / contain no-repeat; mask: url("assets/logo-emblem-lg.webp") center / contain no-repeat; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 248, 232, .55) 48%, rgba(255, 255, 255, 0) 58%) 200% 0 / 260% 100% no-repeat; mix-blend-mode: screen; animation: glint 6.5s var(--ease) 1.2s infinite; }
@keyframes glint { 0% { background-position: 200% 0; } 38%, 100% { background-position: -100% 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero h1 { font-size: clamp(2.6rem, min(12.6vw, 18svh), 8.6rem); line-height: .92; letter-spacing: -.035em; }
.forge span { display: inline-block; }
/* The words widen like hot metal without moving anything around them: the final width is laid out from the start
   and only a transform animates (no layout shift, 2026-11-29: PageSpeed CLS). */
.js .forge span { opacity: 0; transform: scaleX(.5); transform-origin: left bottom; translate: 0 .18em; animation: forge 1.1s var(--ease) forwards; }
.js .forge span:nth-child(2) { animation-delay: .12s; }
.js .forge span:nth-child(3) { animation-delay: .24s; }
.js .forge span:nth-child(4) { animation-delay: .36s; }
@keyframes forge { 60% { opacity: 1; } 100% { transform: none; opacity: 1; translate: 0 0; } }
.hero__lede { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--mist); max-width: 34em; }
.hero__lede strong { color: var(--ivory); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 8px; }
.hero__cue { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; color: var(--sand); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.hero__cue i { width: 2px; height: 34px; background: linear-gradient(var(--champagne), rgba(232, 217, 188, 0)); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- inner page hero ---------- */
.page-hero { padding: 72px 0 88px; }
.page-hero h1 { font-size: clamp(2.5rem, 9vw, 6.75rem); max-width: 13ch; }
.page-hero p { margin-top: 24px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--mist); max-width: 36em; }
.page-hero__mark { width: 72px; margin-bottom: 28px; }

/* ---------- marquee ---------- */
.ticker { background: var(--champagne); color: var(--ink); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.ticker__group span { font-weight: 800; font-stretch: 125%; font-size: clamp(1.5rem, 4vw, 2.75rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker__group b { width: 14px; height: 14px; background: var(--sapphire); transform: rotate(45deg); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.light { background: var(--ivory); color: var(--ink); }
.royal { background: var(--sapphire); }
.navy { background: var(--navy); }
.section h2 { font-size: clamp(2.25rem, 7.4vw, 5.5rem); max-width: 14ch; }
.section__lede { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 36em; color: var(--mist); }
.light .section__lede { color: var(--muted); }
.head { display: grid; gap: 4px; margin-bottom: 56px; }

/* the trace: a champagne line that draws itself as you scroll through the four kinds of work */
.trace { position: relative; padding-left: 34px; }
.trace__line { position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: rgba(232, 217, 188, .18); }
.trace__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--champagne), var(--sand)); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.js .trace__line::after { transform: scaleY(var(--progress, 0)); }
.dir { position: relative; display: grid; gap: 18px; padding: 8px 0 64px; }
.dir:last-child { padding-bottom: 0; }
.dir::before { content: ""; position: absolute; left: -34px; top: 14px; width: 14px; height: 14px; background: var(--abyss); box-shadow: inset 0 0 0 2px var(--champagne); transform: rotate(45deg); transition: background-color .4s var(--ease); }
.dir.is-in::before { background: var(--champagne); }
.dir h3 { font-size: clamp(2rem, 6.2vw, 4.5rem); transition: font-stretch .5s var(--ease), color .4s var(--ease); font-stretch: 112%; }
.dir:hover h3 { font-stretch: 125%; color: var(--champagne); }
.dir__what { font-size: 1.1875rem; color: var(--ivory); max-width: 30em; }
.dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dir li { padding: 8px 14px; border-radius: 999px; background: rgba(232, 217, 188, .08); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .22); color: var(--champagne); font-size: .9375rem; }
.dir__pages { display: flex; flex-wrap: wrap; gap: 0 22px; }
.dir__pages a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); font-weight: 600; text-underline-offset: 4px; }
.dir__pages a:hover, .dir__pages a:focus-visible { color: var(--champagne); }

/* ---------- work ---------- */
/* Selected work (2026-11-29): each client is a loud row; on hover the champagne sweeps in from the left, the name
   widens like hot metal and its outline runs behind it. The row is a plain link without script. */
.jobs { list-style: none; margin: 0; padding: 0; }
.job a { position: relative; display: grid; gap: 14px; padding: 34px 0; text-decoration: none; isolation: isolate; transition: color calc(var(--job-t) * .8) var(--ease-silk) calc(var(--job-t) * .12); }
.royal, .portal, .how { overflow-x: clip; }
.job + .job a { box-shadow: 0 -1px 0 rgba(232, 217, 188, .25); }
.job a::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -2; background: linear-gradient(90deg, var(--champagne) 0 82%, rgba(232, 217, 188, 0) 100%); background-size: 120% 100%; background-repeat: no-repeat; background-position: 100% 0; opacity: 0; transform: translateX(-60%); transition: transform var(--job-t) var(--ease-silk), opacity calc(var(--job-t) * .6) var(--ease-silk), background-position var(--job-t) var(--ease-silk); will-change: transform, opacity; }
/* on a phone there is no hover: the row nearest the middle of the screen gets .is-on (main.js) and plays the same sweep */
.job a:hover::before, .job a:focus-visible::before, .job a.is-on::before { transform: translateX(0); opacity: 1; background-position: 0 0; }
.job a:hover, .job a:focus-visible, .job a.is-on { color: var(--ink); }
.job a.is-on .job__echo { -webkit-text-stroke-color: rgba(22, 58, 140, .22); }
.job a.is-on .job__echo span { animation-play-state: running; }
.job a.is-on .job__name { translate: 14px 0; }
.job a.is-on .job__meta { color: var(--ink); }
.job a.is-on .job__tags span { box-shadow: inset 0 0 0 1px rgba(11, 22, 51, .35); }
.job a.is-on .job__go { color: var(--sapphire); }
.job a.is-on .job__go .arrow { translate: 6px 0; }
.job__echo { position: absolute; inset: 0 -100vw 0 0; z-index: -1; display: flex; align-items: center; gap: .6em; white-space: nowrap; pointer-events: none; overflow: hidden; font-weight: 900; font-stretch: 125%; font-size: clamp(4rem, 15vw, 13rem); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px transparent; transition: -webkit-text-stroke-color calc(var(--job-t) * 1.2) var(--ease-silk); }
.job__echo span::before { content: attr(data-echo); } /* the outline name is drawn from an attribute, so the page text says each name once */
.job__echo span { flex: none; padding-right: .6em; animation: echo 16s linear infinite; animation-play-state: paused; }
.job a:hover .job__echo, .job a:focus-visible .job__echo { -webkit-text-stroke-color: rgba(22, 58, 140, .22); }
.job a:hover .job__echo span, .job a:focus-visible .job__echo span { animation-play-state: running; }
@keyframes echo { to { transform: translateX(-100%); } }
.job__name { font-weight: 800; font-size: clamp(2.25rem, 8vw, 6rem); line-height: .95; letter-spacing: -.035em; font-stretch: 100%; transition: translate var(--job-t) var(--ease-silk); }
.job a:hover .job__name, .job a:focus-visible .job__name { translate: 14px 0; }
.job__meta { display: flex; flex-direction: column; gap: 10px; color: var(--champagne); font-size: 1rem; transition: color calc(var(--job-t) * .8) var(--ease-silk) calc(var(--job-t) * .12); }
.job__biz { font-weight: 600; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job__tags span { padding: 5px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .45); transition: box-shadow calc(var(--job-t) * .8) var(--ease-silk) calc(var(--job-t) * .12); }
.job a:hover .job__meta, .job a:focus-visible .job__meta { color: var(--ink); }
.job a:hover .job__tags span, .job a:focus-visible .job__tags span { box-shadow: inset 0 0 0 1px rgba(11, 22, 51, .35); }
.job__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sand); transition: color calc(var(--job-t) * .8) var(--ease-silk) calc(var(--job-t) * .12); }
.job__go .arrow { transition: translate var(--job-t) var(--ease-silk); }
.job a:hover .job__go, .job a:focus-visible .job__go { color: var(--sapphire); }
.job a:hover .job__go .arrow { translate: 6px 0; }

.work-card { display: grid; gap: 20px; padding: 40px 0; }
.work-card + .work-card { box-shadow: 0 -1px 0 rgba(11, 22, 51, .16); }
.work-card h2 { font-size: clamp(2.25rem, 6.8vw, 4.75rem); max-width: none; }
.work-card dl { display: grid; gap: 14px; margin: 0; }
.work-card dt { font-weight: 700; font-size: .9375rem; color: var(--muted); }
.work-card dd { margin: 2px 0 0; font-size: 1.1875rem; }

/* ---------- portal (2026-11-29): a working example of the portal screen, three tabs ---------- */
.portal__big { font-size: clamp(1.375rem, 2.6vw, 2.25rem); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; max-width: 24em; }
.portal .head { align-items: start; }
.screen { position: relative; border-radius: 22px; background: linear-gradient(160deg, var(--navy), var(--abyss)); color: var(--ivory); box-shadow: 0 40px 90px -30px rgba(11, 22, 51, .55), 0 0 0 1px rgba(11, 22, 51, .08); overflow: hidden; }
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: rgba(5, 11, 30, .55); box-shadow: 0 1px 0 rgba(232, 217, 188, .12); }
.screen__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(232, 217, 188, .28); }
.screen__bar span { margin-left: 10px; font-size: .8125rem; font-weight: 600; color: var(--mist); }
.screen__body { display: grid; }
.screen__tabs { display: grid; gap: 6px; padding: 16px; }
.screen__tabs button { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(22, 58, 140, .22); color: var(--ivory); font: inherit; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), translate .35s var(--ease); }
.screen__tabs button b { font-weight: 800; font-stretch: 125%; font-size: 1.25rem; }
.screen__tabs button span { color: var(--mist); font-size: .9375rem; }
.screen__tabs button:hover { background: rgba(22, 58, 140, .45); }
.screen__tabs button[aria-selected="true"] { background: var(--champagne); color: var(--ink); translate: 4px 0; }
.screen__tabs button[aria-selected="true"] span { color: var(--muted); }
.screen__panes { padding: 8px 16px 24px; }
.pane { padding: 20px; border-radius: 16px; background: rgba(5, 11, 30, .45); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .1); }
.pane + .pane { margin-top: 12px; }
.js [data-tabs] .pane + .pane { margin-top: 0; }
.js [data-tabs] .pane[hidden] { display: none; }
.pane__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; font-stretch: 118%; font-size: 1.125rem; }
.pane__note { margin-top: 18px; color: var(--mist); font-size: .9375rem; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .8125rem; font-weight: 600; font-stretch: 100%; color: var(--mist); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .25); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.chip:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .6); }
.chip:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--champagne); color: var(--ink); box-shadow: none; }
.bars { display: flex; align-items: end; gap: 6px; height: 160px; margin-top: 22px; padding-bottom: 2px; box-shadow: 0 1px 0 rgba(232, 217, 188, .2); }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--champagne), var(--sand)); transform-origin: bottom; }
.bars i:nth-child(1) { height: 42%; } .bars i:nth-child(2) { height: 58%; } .bars i:nth-child(3) { height: 36%; } .bars i:nth-child(4) { height: 64%; } .bars i:nth-child(5) { height: 50%; } .bars i:nth-child(6) { height: 72%; } .bars i:nth-child(7) { height: 46%; } .bars i:nth-child(8) { height: 68%; } .bars i:nth-child(9) { height: 60%; } .bars i:nth-child(10) { height: 78%; } .bars i:nth-child(11) { height: 54%; } .bars i:nth-child(12) { height: 84%; }
/* the period chips change the picture: a week is seven days, a month twelve, a custom range its own shape (illustration, no numbers) */
.bars--week i:nth-child(n+8) { display: none; }
.bars--week i:nth-child(1) { height: 48%; } .bars--week i:nth-child(2) { height: 62%; } .bars--week i:nth-child(3) { height: 55%; } .bars--week i:nth-child(4) { height: 74%; } .bars--week i:nth-child(5) { height: 66%; } .bars--week i:nth-child(6) { height: 38%; } .bars--week i:nth-child(7) { height: 30%; }
.bars--custom i:nth-child(1) { height: 22%; } .bars--custom i:nth-child(2) { height: 30%; } .bars--custom i:nth-child(3) { height: 28%; } .bars--custom i:nth-child(4) { height: 40%; } .bars--custom i:nth-child(5) { height: 46%; } .bars--custom i:nth-child(6) { height: 44%; } .bars--custom i:nth-child(7) { height: 58%; } .bars--custom i:nth-child(8) { height: 62%; } .bars--custom i:nth-child(9) { height: 70%; } .bars--custom i:nth-child(10) { height: 68%; } .bars--custom i:nth-child(11) { height: 82%; } .bars--custom i:nth-child(12) { height: 90%; }
.sources { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.sources li { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.src { display: block; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--champagne), var(--sand)); transform-origin: left; }
.src--a { width: 86%; } .src--b { width: 64%; } .src--c { width: 47%; } .src--d { width: 29%; }
.log { list-style: none; margin: 20px 0 0; padding: 0 0 0 18px; display: grid; gap: 16px; box-shadow: inset 2px 0 0 rgba(232, 217, 188, .25); }
.log li { position: relative; display: grid; gap: 2px; color: var(--mist); font-size: .9375rem; }
.log li::before { content: ""; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(232, 217, 188, .18); }
.log b { color: var(--ivory); font-weight: 700; }
.screen__label { padding: 0 20px 18px; color: var(--mist); font-size: .8125rem; }
/* the active pane builds itself: bars rise, sources fill, log lines arrive */
.js .pane.is-live .bars i { animation: rise .9s var(--ease) both; }
.js .pane.is-live .bars i:nth-child(2) { animation-delay: 0.045s; }
.js .pane.is-live .bars i:nth-child(3) { animation-delay: 0.090s; }
.js .pane.is-live .bars i:nth-child(4) { animation-delay: 0.135s; }
.js .pane.is-live .bars i:nth-child(5) { animation-delay: 0.180s; }
.js .pane.is-live .bars i:nth-child(6) { animation-delay: 0.225s; }
.js .pane.is-live .bars i:nth-child(7) { animation-delay: 0.270s; }
.js .pane.is-live .bars i:nth-child(8) { animation-delay: 0.315s; }
.js .pane.is-live .bars i:nth-child(9) { animation-delay: 0.360s; }
.js .pane.is-live .bars i:nth-child(10) { animation-delay: 0.405s; }
.js .pane.is-live .bars i:nth-child(11) { animation-delay: 0.450s; }
.js .pane.is-live .bars i:nth-child(12) { animation-delay: 0.495s; }
.js .pane.is-live .src { animation: fill 1s var(--ease) both; }
.js .pane.is-live .log li { animation: arrive .7s var(--ease) both; }
.js .pane.is-live .log li:nth-child(2) { animation-delay: .12s; } .js .pane.is-live .log li:nth-child(3) { animation-delay: .24s; }
.js .pane.is-live .src--b { animation-delay: .08s; } .js .pane.is-live .src--c { animation-delay: .16s; } .js .pane.is-live .src--d { animation-delay: .24s; }
@keyframes rise { from { transform: scaleY(.05); opacity: .3; } }
@keyframes fill { from { transform: scaleX(.05); opacity: .3; } }
@keyframes arrive { from { opacity: 0; translate: 0 10px; } }

/* ---------- process ---------- */
/* How we start (2026-11-29): a rail that fills as you scroll, the step in view lights up, and a ring that keeps turning
   for the part that repeats. Every word is in the HTML; without script all steps simply show. */
.timeline { position: relative; }
.timeline__rail { position: absolute; left: 27px; top: 8px; bottom: var(--rail-end, 120px); width: 2px; background: rgba(232, 217, 188, .18); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(var(--mist), var(--ivory) 40%, var(--champagne) 70%, var(--sand)); transform-origin: top; transform: scaleY(var(--progress, 1)); transition: transform .45s var(--ease-soft); }
.js .timeline__fill { transform: scaleY(var(--progress, 0)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step { position: relative; display: grid; gap: 10px; padding: 24px 24px 26px 82px; border-radius: 20px; background: rgba(22, 58, 140, .24); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .14); transition: background .6s var(--ease-soft), box-shadow .6s var(--ease-soft), translate .6s var(--ease-soft); }
.step__num { position: absolute; left: 8px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 2px rgba(232, 217, 188, .45); color: var(--champagne); font-weight: 900; font-stretch: 125%; font-size: 1rem; transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.step h3 { font-size: clamp(1.625rem, 3.2vw, 2.5rem); font-stretch: 100%; }
/* Each step warms toward the result: cool mist at the audit, gold sand at the report (owner, 2026-11-30). */
.step:nth-child(1) { --accent: var(--mist); }
.step:nth-child(2) { --accent: var(--ivory); }
.step:nth-child(3) { --accent: var(--champagne); }
.step:nth-child(4) { --accent: var(--sand); }
.step p { color: var(--mist); max-width: 26em; }
/* Script lights one step (scroll or pointer); without script a plain hover does it. No width change: nothing reflows. */
.step.is-on, html:not(.js) .step:hover { background: rgba(22, 58, 140, .6); box-shadow: inset 0 0 0 1px var(--accent, var(--champagne)), 0 24px 60px -28px rgba(0, 0, 0, .7); }
.step.is-on .step__num, html:not(.js) .step:hover .step__num { background: var(--accent, var(--champagne)); color: var(--ink); box-shadow: 0 0 0 6px rgba(232, 217, 188, .16); }
.step:nth-child(4).is-on { box-shadow: inset 0 0 0 1px var(--sand), 0 24px 60px -28px rgba(0, 0, 0, .7), 0 0 48px -18px var(--sand); }
.loop { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 22px; border-radius: 18px; color: var(--mist); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .22); }
.loop b { color: var(--champagne); font-weight: 800; }
.loop__ring { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(232, 217, 188, .2); border-top-color: var(--champagne); border-right-color: var(--champagne); animation: spin 2.8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- call to action band ---------- */
.cta { padding: 112px 0; text-align: left; }
.cta h2 { font-size: clamp(2.75rem, 10vw, 8rem); max-width: 11ch; }
.cta p { margin-top: 24px; color: var(--mist); font-size: 1.1875rem; max-width: 32em; }
.cta .hero__actions { margin-top: 32px; }

/* ---------- about ---------- */
.split { display: grid; gap: 32px; }
.split h2 { font-size: clamp(2.25rem, 9vw, 4.4rem); }
.prose .facts { margin-top: 28px; }
.facts + .prose, .prose .facts + p { margin-top: 24px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 10px; }
.statement { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; }
.prose p + p { margin-top: 18px; }
.prose { font-size: 1.125rem; max-width: 36em; }
.light .prose { color: var(--ink); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { padding: 20px 0; box-shadow: 0 1px 0 rgba(232, 217, 188, .22); display: grid; gap: 4px; }
.light .facts li { box-shadow: 0 1px 0 rgba(11, 22, 51, .14); }
.light .facts span { color: var(--muted); }
.facts b { font-weight: 800; font-stretch: 118%; font-size: 1.375rem; }
.facts span { color: var(--mist); }

/* ---------- contact ---------- */
.lead { display: grid; gap: 20px; background: var(--navy); padding: 28px 20px; border-radius: 28px; order: -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; color: var(--champagne); padding: 0; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ivory); background: var(--abyss); border: 1.5px solid #5D6B8C; border-radius: 14px; padding: 13px 16px; min-height: 52px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(232, 217, 188, .25); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; color: var(--ivory); font-weight: 600; box-shadow: inset 0 0 0 1.5px #5D6B8C; transition: background-color .3s var(--ease), color .3s var(--ease); }
.chips input:checked + label { background: var(--champagne); color: var(--ink); box-shadow: none; }
.chips input:focus-visible + label { outline: 3px solid var(--champagne); outline-offset: 3px; }
.two { display: grid; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); font-size: .9375rem; }
.consent input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--champagne); flex: none; }
.lead .btn { justify-self: start; }
.status { font-weight: 600; color: var(--champagne); }
.status:empty { display: none; }
.sent { display: none; margin-bottom: 28px; padding: 26px 28px; border-radius: 20px; background: var(--champagne); color: var(--ink); font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
/* After sending (owner 2026-11-30: the one-line status was too small to notice): the form gives way to a clear card. */
.done { display: grid; gap: 16px; align-content: start; justify-items: start; padding: 44px 36px; border-radius: 24px; background: rgba(22, 58, 140, .5); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .5), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done.is-in { animation: arrive .7s var(--ease-soft) both; }
.done__mark { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 10px rgba(232, 217, 188, .14); }
.done__mark::after { content: ""; position: absolute; left: 22px; top: 15px; width: 14px; height: 26px; border: solid var(--ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.done h3 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-stretch: 125%; line-height: 1; }
.done p { color: var(--ivory); font-size: 1.125rem; max-width: 30em; }
.done .done__need { color: var(--mist); font-size: 1rem; }
.done__need:empty { display: none; }
.done .btn--line { background: transparent; }
.done { order: -1; } /* where the form was: first on a phone */
.sent:target { display: block; }
.reach { list-style: none; margin: 0; padding: 0; display: grid; }
.reach a, .reach__plain { display: grid; gap: 2px; padding: 18px 0; text-decoration: none; box-shadow: 0 1px 0 rgba(232, 217, 188, .22); }
.reach span { color: var(--sand); font-size: .9375rem; font-weight: 600; }
.reach strong { font-weight: 800; font-stretch: 112%; font-size: clamp(1.375rem, 2.6vw, 2rem); letter-spacing: -.01em; word-break: break-word; }
.reach a:hover strong { color: var(--champagne); }
.ask { margin: 24px 0 0; color: var(--mist); font-size: 1rem; line-height: 1.55; }
.ask a { color: var(--champagne); text-underline-offset: 3px; }
.ask a:hover { color: var(--ivory); }

/* ---------- footer ---------- */
.foot { background: var(--abyss); padding: 72px 0 40px; box-shadow: 0 -1px 0 rgba(232, 217, 188, .14); }
.foot__word { font-weight: 900; font-stretch: 125%; font-size: clamp(2.25rem, 8.4vw, 8.5rem); line-height: .82; letter-spacing: -.045em; color: var(--navy); margin-bottom: 48px; white-space: nowrap; }
.foot__grid { display: grid; gap: 32px; }
.foot__menu { display: grid; gap: 6px; }
.foot__social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__menu a, .foot__reach a, .foot__social a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot__menu a:hover, .foot__reach a:hover, .foot__social a:hover { color: var(--champagne); }
.foot__reach { font-style: normal; display: grid; gap: 6px; }
.foot__reach span { color: var(--sand); font-size: .875rem; }
.foot__note { color: var(--mist); max-width: 26em; }
.foot__legal { margin-top: 48px; color: var(--mist); font-size: .875rem; }
/* WCAG 2.2 target size: the legal links get a 24 px tall hit area without changing the line. */
.foot__legal a { display: inline-block; padding-block: 5px; }

/* ---------- reveal on scroll (only with script; content is visible without it) ---------- */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- 404 ---------- */
.lost h1 { font-size: clamp(3rem, 14vw, 10rem); }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .two { grid-template-columns: 1fr 1fr; }
  .lead { padding: 40px; }
  .job__meta { flex-direction: row; align-items: center; gap: 10px 22px; }
  .screen__body { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
  .screen__panes { padding: 16px 16px 24px 0; }
  .foot__grid { grid-template-columns: 2fr 1fr 1.4fr; }
  .foot__social { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  :root { --gutter: 56px; }
  .nav { display: flex; align-items: center; gap: 30px; }
  .nav a { text-decoration: none; font-weight: 600; font-size: .9875rem; position: relative; padding: 6px 0; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .btn::after { display: none; }
  .nav .btn { min-height: 44px; padding: 0 20px; }
  .nav__portal { color: var(--mist); }
  .menu { display: none; }
  .bar__inner { min-height: 5rem; }
  .hero { min-height: calc(100svh - 5rem); }
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .hero__mark { width: min(32vw, 440px); order: 2; }
  .hero__copy { gap: 28px; }
  .section { padding: 152px 0; }
  .head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 48px; margin-bottom: 88px; }
  .head .section__lede { margin: 0; }
  .trace { padding-left: 64px; }
  .trace__line { left: 13px; }
  .dir { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 48px; align-items: start; padding-bottom: 88px; }
  .dir::before { left: -57px; top: 22px; }
  .dir h3 { grid-row: span 4; }
  .job a { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 44px 0; column-gap: 40px; }
  .job__meta { grid-column: 1; }
  .job__go { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .work-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding: 64px 0; align-items: start; }
  .timeline { padding-top: 64px; }
  .timeline__rail { left: 0; right: 0; top: 19px; bottom: auto; width: auto; height: 2px; }
  .timeline__fill { transform-origin: left; transform: scaleX(var(--progress, 1)); }
  .js .timeline__fill { transform: scaleX(var(--progress, 0)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .step { padding: 30px 26px 34px; min-height: 250px; align-content: start; }
  .step__num { position: absolute; left: 26px; top: -64px; }
  .step.is-on, html:not(.js) .step:hover { translate: 0 -8px; }
  .loop { margin-top: 36px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .split h2 { font-size: clamp(2.5rem, 4.9vw, 4.4rem); }
  .lead { order: 0; }
  .split > .done { order: 0; grid-column: 2; grid-row: 1; }
  .cta { padding: 176px 0; }
  .page-hero { padding: 120px 0 128px; }
}

/* ---------- reduced motion: nothing drifts, slides, floats or types ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .forge span { font-stretch: 125%; opacity: 1; translate: none; transform: none; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .trace__line::after { transform: none; }
  .glint { display: none; }
  .ticker__track { transform: none; }
  .job__echo { display: none; }
  .js .timeline__fill { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1000px) { .js .timeline__fill { transform: scaleX(1); } }

/* ---------- legal pages and free audit note ---------- */
.legal { max-width: 44em; font-size: 1.0625rem; line-height: 1.65; color: var(--mist); }
.legal h2 { color: var(--ivory); font-size: clamp(1.375rem, 4vw, 1.75rem); font-stretch: 112%; margin-top: 44px; }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ivory); }
.legal a, .foot__legal a, .consent a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.legal__date { color: var(--sand); font-size: .9375rem; }
.audit { margin-top: 32px; padding: 24px; border-radius: 14px; background: rgba(22, 58, 140, .28); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .22); }
.audit h3 { font-size: 1.375rem; font-stretch: 118%; color: var(--champagne); }
.audit p { margin-top: 10px; color: var(--mist); }
/* The note opens the form: "Get a free audit" links to #audit, so the visitor lands on what the audit includes and the fields. */
.lead .audit { margin-top: 0; scroll-margin-top: 6.5rem; }

/* Prices the owner gave (2026-11-27) on /services/: one quiet line under each direction. */
.price { margin-top: 24px; padding-top: 16px; border-top: 1px solid currentColor; }
.price b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* Service pages (2026-11-30): a breadcrumb back to Services and a list of the other services. */
.crumbs { margin: 0 0 18px; font-size: .9375rem; }
.crumbs a { color: var(--champagne); text-decoration: none; display: inline-block; padding-block: 4px; }
.crumbs a::before { content: "← "; }
.page-hero .hero__actions { margin-top: 32px; }
.related { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; color: var(--champagne); text-decoration: none; font-weight: 600; }
.related a:hover, .related a:focus-visible { background: var(--champagne); color: var(--abyss); }
.light .related a { color: var(--ink); }
.light .related a:hover, .light .related a:focus-visible { background: var(--ink); color: var(--ivory); }

/* About: the founder's photo (owner, 2026-11-30; replace later with a studio portrait). Framed so a bright photo sits calmly on navy. */
.founder { display: block; margin-top: 32px; max-width: 400px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232, 217, 188, .35); box-shadow: 0 24px 60px -24px rgba(5, 11, 30, .8); }
.founder img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) { .founder { max-width: none; margin-bottom: 8px; } }

/* Privacy choices (consent.js, owner 2026-12-01): a panel at the bottom, never a wall; the page stays usable behind it. */
.cc { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 22px 22px 18px; border-radius: 18px; background: var(--abyss); color: var(--ivory); box-shadow: 0 0 0 1px rgba(232, 217, 188, .28), 0 24px 60px rgba(0, 0, 0, .5); }
.cc__h { margin: 0 0 8px; font-size: 1.125rem; font-stretch: 110%; }
.cc__p { margin: 0; color: var(--mist); font-size: .9375rem; line-height: 1.55; }
.cc__p a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.cc__opts { display: grid; gap: 10px; margin-top: 14px; }
.cc__opt { display: flex; gap: 12px; align-items: flex-start; color: var(--mist); font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.cc__opt strong { color: var(--ivory); }
.cc__opt input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--champagne); }
.cc__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.cc__btn { min-height: 44px; padding: 0 20px; }
.cc .btn--line { background: transparent; }
.cc__more { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--champagne); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc :focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
/* Phones: a compact notice, with "Manage preferences" beside its heading. On the home page it sits under the header, over the
   emblem, so the first visit still shows the headline, the subtitle and the "Get a free audit" button (checked 2026-12-05).
   The words, the three choices and their order are unchanged; only size and place differ. */
@media (max-width: 620px) {
  .cc { left: 10px; right: 10px; bottom: 10px; padding: 14px 14px 12px; max-height: calc(100svh - 5.5rem); overflow: auto; }
  .cc__h { margin: 0 9.25rem 4px 0; font-size: 1rem; }
  .cc__p, .cc__opt { font-size: .8125rem; line-height: 1.4; }
  .cc__bar { margin-top: 10px; gap: 8px; }
  .cc__bar .cc__btn { flex: 1 1 auto; }
  .cc__more { position: absolute; top: 5px; right: 10px; min-height: 36px; font-size: .8125rem; }
  body:has(.hero) .cc { top: calc(4.25rem + 8px); bottom: auto; }
}
/* Wide screens: the notice sits in the right corner, clear of the page text and of the main button. */
@media (min-width: 1000px) { .cc { left: auto; right: 24px; bottom: 24px; margin-inline: 0; width: min(520px, 40vw); } }

/* ================= motion sketch (2026-12-05, owner: "more dynamics, effects, interactivity") =================
   Five places on the home page and the footer word. Everything still reads without script and rests under
   prefers-reduced-motion. Colours are the Forge Royal tokens only. */

/* a light that follows the pointer inside a card: a glow under the content and a lit edge */
.spot, .lead { position: relative; isolation: isolate; }
.spot::before, .spot::after, .lead::before, .lead::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.spot::before, .lead::before { z-index: -1; background: radial-gradient(460px circle at var(--px, 50%) var(--py, 0%), rgba(47, 95, 201, .42), rgba(47, 95, 201, 0) 62%); }
.spot::after, .lead::after { padding: 1px; background: radial-gradient(320px circle at var(--px, 50%) var(--py, 0%), rgba(232, 217, 188, .95), rgba(232, 217, 188, 0) 70%); -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0); -webkit-mask-composite: xor; mask: linear-gradient(black 0 0) content-box exclude, linear-gradient(black 0 0); }
.spot:hover::before, .spot:hover::after, .spot:focus-within::before, .spot:focus-within::after, .lead:hover::before, .lead:hover::after, .lead:focus-within::before, .lead:focus-within::after { opacity: 1; }

/* section headings widen as they arrive */
.js .section h2[data-reveal] { transform-origin: left center; transform: scaleX(.84); transition: opacity .9s var(--ease), translate .9s var(--ease), transform 1.3s var(--ease); }
.js .section h2[data-reveal].is-in { transform: none; }

/* ---------- 1. What we do: an index of four names, one open panel ---------- */
.deck { display: grid; counter-reset: svc; }
.svc { box-shadow: 0 -1px 0 rgba(232, 217, 188, .18); }
.svc h3 { counter-increment: svc; font-size: clamp(1.75rem, 7.4vw, 3rem); line-height: 1.02; padding: 24px 0 8px; }
.svc__inner { display: grid; gap: 18px; padding: 10px 0 30px; }
.svc__what { font-size: 1.1875rem; color: var(--ivory); max-width: 30em; }
.svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__list li { padding: 8px 14px; border-radius: 999px; background: rgba(232, 217, 188, .08); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .22); color: var(--champagne); font-size: .9375rem; font-weight: 600; }
.svc__pages { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__pages a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(232, 217, 188, .5); transition: background .35s var(--ease), color .35s var(--ease), translate .35s var(--ease); }
.svc__pages a:hover, .svc__pages a:focus-visible { background: var(--champagne); color: var(--ink); translate: 0 -2px; }
.svc__pages a:hover .arrow { width: 1.4em; }

.js .svc h3 { padding: 0; }
.js .svc__tab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 24px 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.js .svc__tab::before { content: counter(svc, decimal-leading-zero); align-self: start; padding-top: .45em; font-size: .8125rem; font-weight: 700; font-stretch: 100%; letter-spacing: .1em; color: var(--sand); }
.js .svc__tab::after { content: ""; width: 12px; height: 12px; rotate: 45deg; box-shadow: inset 0 0 0 2px var(--sand); transition: background .4s var(--ease), scale .4s var(--ease), box-shadow .4s var(--ease); }
.js .svc__tab span { display: block; transform-origin: left center; transform: scaleX(.84); color: transparent; -webkit-text-stroke: 1px rgba(232, 217, 188, .8); transition: transform .7s var(--ease), color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease); }
.js .svc__tab:hover span { -webkit-text-stroke-color: var(--champagne); }
.js .svc__tab:focus-visible { outline: 3px solid var(--champagne); outline-offset: 4px; border-radius: 6px; }
.js .svc.is-open .svc__tab span { transform: none; color: var(--champagne); -webkit-text-stroke-color: rgba(232, 217, 188, 0); }
.js .svc.is-open .svc__tab::after { background: var(--champagne); box-shadow: inset 0 0 0 2px var(--champagne), 0 0 22px 2px rgba(232, 217, 188, .5); scale: 1.25; }
.js .svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.js .svc__inner { min-height: 0; overflow: hidden; padding-block: 0; visibility: hidden; transition: visibility 0s .6s, padding .6s var(--ease); }
.js .svc.is-open .svc__body { grid-template-rows: 1fr; }
.js .svc.is-open .svc__inner { visibility: visible; padding-block: 4px 30px; transition-delay: 0s; }
.js .svc.is-open .svc__list li { animation: pop .55s var(--ease) both; }
.js .svc.is-open .svc__list li:nth-child(2) { animation-delay: .05s; } .js .svc.is-open .svc__list li:nth-child(3) { animation-delay: .1s; }
.js .svc.is-open .svc__list li:nth-child(4) { animation-delay: .15s; } .js .svc.is-open .svc__list li:nth-child(5) { animation-delay: .2s; }
.js .svc.is-open .svc__list li:nth-child(6) { animation-delay: .25s; }
@keyframes pop { from { opacity: 0; translate: 0 12px; scale: .92; } }

/* ---------- 2. Selected work: cards that lean toward the pointer ---------- */
.work, .deep { background: linear-gradient(180deg, var(--abyss), var(--navy) 42%, var(--sapphire) 150%); overflow-x: clip; }
.cases { list-style: none; margin: 0 calc(-1 * var(--gutter)) 28px; padding: 6px var(--gutter) 18px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cases::-webkit-scrollbar { display: none; }
.case { flex: 0 0 84%; scroll-snap-align: center; perspective: 1100px; }
.case__card { display: grid; grid-template-rows: auto 1fr auto auto; gap: 16px; height: 100%; min-height: 300px; padding: 26px; border-radius: 26px; overflow: hidden; text-decoration: none; background: linear-gradient(150deg, rgba(22, 58, 140, .55), rgba(11, 31, 75, .78) 58%, rgba(5, 11, 30, .9)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .16); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .5s var(--ease); }
.case__card:hover, .case__card:focus-visible { box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .3), 0 44px 80px -36px rgba(5, 11, 30, .95); }
.case__card.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.case__biz { display: flex; align-items: center; gap: 10px; color: var(--sand); font-size: .9375rem; font-weight: 600; }
.case__biz::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); animation: ping 2.6s var(--ease-soft) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(232, 217, 188, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(232, 217, 188, 0); } }
.case__name { align-self: end; font-weight: 800; font-stretch: 125%; font-size: clamp(1.875rem, 3.5vw, 3.1rem); line-height: 1; letter-spacing: -.025em; transform-origin: left bottom; transition: color .45s var(--ease), translate .6s var(--ease); }
.case__card:hover .case__name, .case__card:focus-visible .case__name { color: var(--champagne); translate: 0 -6px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags span { padding: 5px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .4); }
.case__go { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; font-weight: 700; color: var(--champagne); box-shadow: 0 -1px 0 rgba(232, 217, 188, .18); }
.case__go i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(232, 217, 188, .6); transition: background .4s var(--ease), color .4s var(--ease), rotate .5s var(--ease); }
.case__card:hover .case__go i, .case__card:focus-visible .case__go i { background: var(--champagne); color: var(--ink); rotate: -45deg; }
.case__echo { position: absolute; left: 0; top: 8%; z-index: -1; display: flex; white-space: nowrap; pointer-events: none; font-weight: 900; font-stretch: 125%; font-size: 8.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(232, 217, 188, 0); transition: -webkit-text-stroke-color .7s var(--ease); }
.case__card:hover .case__echo, .case__card:focus-visible .case__echo { -webkit-text-stroke-color: rgba(232, 217, 188, .1); }
.case__echo span::before { content: attr(data-echo); }
.case__echo span { flex: none; padding-right: .5em; animation: echo 26s linear infinite; animation-play-state: paused; }
.case__card:hover .case__echo span, .case__card:focus-visible .case__echo span { animation-play-state: running; }

/* ---------- 3. Client reporting: a dark screen that tilts up into place ---------- */
.portal { background: var(--abyss); }
.portal .head { align-items: end; }
.portal .screen { background: linear-gradient(160deg, rgba(22, 58, 140, .55), rgba(11, 31, 75, .7) 45%, rgba(5, 11, 30, .92)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .2), 0 70px 130px -60px rgba(47, 95, 201, .75); transform-origin: 50% 100%; transform: perspective(1600px) rotateX(calc((1 - var(--t, 1)) * 16deg)) scale(calc(.9 + var(--t, 1) * .1)); }
.portal .screen::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; z-index: 1; background: linear-gradient(90deg, rgba(232, 217, 188, 0), var(--champagne), rgba(232, 217, 188, 0)) no-repeat; background-size: 34% 100%; animation: scan 4.5s linear infinite; }
@keyframes scan { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.portal .screen__bar i:first-child { background: var(--champagne); animation: ping 2.6s var(--ease-soft) infinite; }
.portal .screen__tabs button { transition: background .4s var(--ease), color .4s var(--ease), translate .4s var(--ease); }
.portal .bars { background-image: repeating-linear-gradient(0deg, rgba(232, 217, 188, .09) 0 1px, rgba(232, 217, 188, 0) 1px 25%); }
.portal .bars i { background: linear-gradient(var(--champagne), rgba(200, 174, 128, .28)); box-shadow: 0 0 26px -8px rgba(232, 217, 188, .65); transform-origin: bottom; transition: scale .35s var(--ease), box-shadow .35s var(--ease); }
.portal .bars i:hover { scale: 1 1.07; box-shadow: 0 0 34px -4px rgba(232, 217, 188, .9); }
.portal .src { position: relative; overflow: hidden; }
.portal .src::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(245, 239, 228, 0) 30%, rgba(245, 239, 228, .7) 50%, rgba(245, 239, 228, 0) 70%) no-repeat; background-size: 60% 100%; animation: scan 3.2s linear infinite; }

/* ---------- 4. One point of contact: tiles ---------- */
.bento { display: grid; gap: 14px; }
.tile { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 26px; overflow: hidden; background: linear-gradient(155deg, rgba(22, 58, 140, .34), rgba(11, 31, 75, .45) 60%, rgba(5, 11, 30, .55)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .14); transition: translate .5s var(--ease); }
.tile:hover { translate: 0 -4px; }
.js .tile[data-reveal]:nth-child(2) { transition-delay: .08s; } .js .tile[data-reveal]:nth-child(3) { transition-delay: .16s; } .js .tile[data-reveal]:nth-child(4) { transition-delay: .24s; }
.tile p { color: var(--mist); }
.tile__label { font-size: .8125rem; font-weight: 700; font-stretch: 100%; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--sand); }
.tile .tile__big { font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.16; font-weight: 700; letter-spacing: -.015em; color: var(--ivory); text-wrap: balance; }
.tile .tile__mid { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); line-height: 1.25; font-weight: 600; color: var(--ivory); }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 9px 16px; border-radius: 999px; font-weight: 600; color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .35); transition: background .35s var(--ease), color .35s var(--ease), translate .35s var(--ease); }
.pills li:hover { background: var(--champagne); color: var(--ink); translate: 0 -3px; }
.radar { position: relative; display: block; width: 64px; height: 64px; margin: 4px 0; }
.radar i, .radar::before, .radar::after { content: ""; position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.radar i { width: 12px; height: 12px; background: var(--champagne); box-shadow: 0 0 18px 2px rgba(232, 217, 188, .6); }
.radar::before, .radar::after { width: 12px; height: 12px; box-shadow: 0 0 0 1px rgba(232, 217, 188, .7); animation: ring 3s var(--ease-soft) infinite; }
.radar::after { animation-delay: 1.5s; }
@keyframes ring { from { scale: 1; opacity: .9; } to { scale: 5.2; opacity: 0; } }

/* ---------- 5. Footer word: outlined, a light inside the letters follows the pointer, a sheen passes ---------- */
.foot { overflow: hidden; }
.foot__word { font-size: min(calc((100vw - 2 * var(--gutter)) / 7.7), 10.7rem); line-height: .9; padding-bottom: .06em; color: transparent; -webkit-text-stroke: 1px rgba(232, 217, 188, .26); background-image: radial-gradient(calc(.8em + 160px) circle at var(--px, -60%) var(--py, 50%), var(--champagne), var(--sand) 24%, var(--sapphire) 55%, rgba(22, 58, 140, 0) 78%), linear-gradient(100deg, var(--navy) 42%, var(--sapphire) 47%, var(--champagne) 50%, var(--sapphire) 53%, var(--navy) 58%); background-size: 100% 100%, 320% 100%; background-position: 0 0, 100% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; animation: sheen 8s var(--ease-soft) infinite; }
@keyframes sheen { 0%, 35% { background-position: 0 0, 100% 0; } 100% { background-position: 0 0, 0% 0; } }

@media (min-width: 760px) {
  .cases { margin-inline: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; overflow: visible; }
  .case__card { min-height: 340px; padding: 34px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .tile { padding: 34px; }
  .tile--a { grid-column: span 4; } .tile--b { grid-column: span 2; } .tile--c { grid-column: span 3; } .tile--d { grid-column: span 3; }
}
@media (min-width: 1000px) {
  .js .deck { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .js .svc { display: contents; }
  .js .svc h3 { grid-column: 1; font-size: clamp(2rem, 3.5vw, 3.4rem); box-shadow: 0 -1px 0 rgba(232, 217, 188, .18); }
  .js .svc:last-child h3 { box-shadow: 0 -1px 0 rgba(232, 217, 188, .18), 0 1px 0 rgba(232, 217, 188, .18); }
  .js .svc__tab { padding: 30px 0; gap: 20px; }
  .js .svc__body { grid-column: 2; grid-row: 1 / span 4; grid-template-rows: 1fr; align-self: start; position: sticky; top: 7rem; border-radius: 30px; background: linear-gradient(160deg, rgba(22, 58, 140, .5), rgba(11, 31, 75, .6) 55%, rgba(5, 11, 30, .75)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .18), 0 50px 90px -50px rgba(5, 11, 30, .95); opacity: 0; visibility: hidden; translate: 0 26px; scale: .98; transition: opacity .45s var(--ease), translate .7s var(--ease), scale .7s var(--ease), visibility 0s .45s; }
  .js .svc.is-open .svc__body { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
  .js .svc__inner, .js .svc.is-open .svc__inner { visibility: inherit; overflow: hidden; padding: 44px; gap: 22px; border-radius: inherit; transition: none; }
  .js .svc__inner::before { content: counter(svc, decimal-leading-zero); position: absolute; right: 22px; bottom: -22px; font-weight: 900; font-stretch: 125%; font-size: 9.5rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(232, 217, 188, .13); pointer-events: none; }
  .js .svc__what { font-size: 1.5rem; line-height: 1.3; font-weight: 600; max-width: 18em; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  .js .section h2[data-reveal] { transform: none; }
  .js .svc__tab span { transform: none; }
  .case__card { transform: none; }
  .portal .screen { transform: none; }
  .portal .screen::before, .portal .src::after, .radar::before, .radar::after, .case__echo { display: none; }
  .tile:hover, .pills li:hover { translate: none; }
}
.head .statement { margin-top: 18px; }
@media (min-width: 1000px) { .head .statement { margin-top: 0; } }

/* ---------- sketch, part two (2026-12-05): Work, About and Contact pages ---------- */
/* Work: one wide panel per client; the name is an outline that fills and widens under the pointer */
.cases.cases--wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; overflow: visible; counter-reset: case; }
.case--wide { counter-increment: case; perspective: none; }
.case--wide .case__card { grid-template-rows: none; gap: 28px; min-height: 0; padding: 30px 26px; transform: none; }
.case__lead { display: grid; gap: 16px; align-content: start; }
.case__lead::before { content: counter(case, decimal-leading-zero); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--sand); }
.case--wide .case__name { align-self: start; font-size: clamp(2.25rem, 7.2vw, 5.4rem); color: transparent; -webkit-text-stroke: 1.5px rgba(232, 217, 188, .9); transform: scaleX(.86); transition: transform .8s var(--ease), color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.case--wide .case__card:hover .case__name, .case--wide .case__card:focus-visible .case__name, .case--wide .case__card.is-on .case__name { color: var(--champagne); -webkit-text-stroke-color: rgba(232, 217, 188, 0); transform: none; translate: none; }
.case--wide .case__card.is-on .case__go i { background: var(--champagne); color: var(--ink); rotate: -45deg; }
.case__side { display: grid; gap: 14px; align-content: end; }
.case__label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.case--wide .case__echo { top: 12%; font-size: clamp(6rem, 15vw, 13rem); }

/* About */
.stack { display: grid; gap: 14px; align-content: start; }
.portrait { display: block; max-width: 400px; margin-top: 32px; border-radius: 18px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.portrait.is-tilting { transition: transform .12s linear; }
.portrait .founder { margin-top: 0; }

/* Contact: three cards for the ways to reach us, a lit form, a live dot by the reply time */
.reply-time::before, .lead .audit h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; border-radius: 50%; background: var(--champagne); vertical-align: .08em; animation: ping 2.6s var(--ease-soft) infinite; }
.reach--cards { display: grid; gap: 12px; }
.reach--cards li { border-radius: 22px; background: linear-gradient(155deg, rgba(22, 58, 140, .34), rgba(11, 31, 75, .45) 60%, rgba(5, 11, 30, .55)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .14); transition: translate .45s var(--ease); }
.reach--cards li:hover { translate: 6px 0; }
.reach--cards a, .reach--cards .reach__plain { position: relative; padding: 22px 64px 22px 24px; box-shadow: none; }
.reach--cards a::after { content: ""; position: absolute; right: 28px; top: 50%; width: 11px; height: 11px; border-top: 2px solid var(--sand); border-right: 2px solid var(--sand); rotate: 45deg; translate: 0 -50%; transition: translate .45s var(--ease), border-color .45s var(--ease); }
.reach--cards a:hover::after { translate: 8px -50%; border-color: var(--champagne); }
.lead { background: linear-gradient(160deg, rgba(22, 58, 140, .5), var(--navy) 42%, rgba(11, 31, 75, .92)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .16), 0 60px 110px -70px rgba(47, 95, 201, .8); }

@media (min-width: 760px) {
  .case--wide .case__card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 40px; padding: 48px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .case--wide .case__name { transform: none; }
  .portrait { transform: none; }
  .reach--cards li:hover { translate: none; }
}
@media (max-width: 480px) {
  .reach--cards a, .reach--cards .reach__plain { padding: 20px; }
  .reach--cards a::after { display: none; }
  .reach--cards strong { font-size: 1.125rem; }
}

/* ---------- sketch, part three (2026-12-05): the Services page and the seven service pages ---------- */
main { counter-reset: kind; }
.kind { counter-increment: kind; display: grid; gap: 18px; align-content: start; }
.kind::before { content: counter(kind, decimal-leading-zero); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--sand); }
.jump { margin-top: 30px; }
.jump a .arrow { rotate: 90deg; }
.tile--price { background: linear-gradient(150deg, rgba(232, 217, 188, .18), rgba(22, 58, 140, .42) 55%, rgba(5, 11, 30, .55)); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .42); }
.tile.tile--price p { color: var(--ivory); font-weight: 600; }
.tile .svc__list + p { margin-top: 4px; }
.fixes, .gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fixes li { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; font-size: 1.1875rem; line-height: 1.35; color: var(--ivory); }
.fixes b, .gets b { font-weight: 600; }
.mark { position: relative; flex: none; display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(232, 217, 188, .5); transition: rotate .6s var(--ease), box-shadow .4s var(--ease); }
.mark--x::before, .mark--x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--sand); translate: -50% -50%; rotate: 45deg; }
.mark--x::after { rotate: -45deg; }
.fixes li:hover .mark { rotate: 90deg; box-shadow: inset 0 0 0 1.5px var(--champagne); }
.mark--ok { background: var(--champagne); box-shadow: 0 0 20px -2px rgba(232, 217, 188, .65); }
.mark--ok::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; rotate: 45deg; }
.gets li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: rgba(5, 11, 30, .38); box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .14); font-size: 1.125rem; line-height: 1.35; color: var(--ivory); }
.gets li:hover { translate: 6px 0; background: rgba(22, 58, 140, .5); }
.js .gets li[data-reveal]:nth-child(2), .js .fixes li[data-reveal]:nth-child(2) { transition-delay: .06s; } .js .gets li[data-reveal]:nth-child(3), .js .fixes li[data-reveal]:nth-child(3) { transition-delay: .12s; }
.js .gets li[data-reveal]:nth-child(4), .js .fixes li[data-reveal]:nth-child(4) { transition-delay: .18s; } .js .gets li[data-reveal]:nth-child(5) { transition-delay: .24s; }
.js .gets li[data-reveal]:nth-child(6) { transition-delay: .3s; } .js .gets li[data-reveal]:nth-child(7) { transition-delay: .36s; }
@media (min-width: 760px) { .fixes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .gets li:hover { translate: none; } .fixes li:hover .mark { rotate: none; } }

/* ---------- touch (owner, 2026-12-05): the client card nearest the middle of the screen is lit without a tap ---------- */
.spot.is-on::before, .spot.is-on::after { opacity: 1; }
.case__card.is-on { box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .3), 0 44px 80px -36px rgba(5, 11, 30, .95); }
.case__card.is-on .case__name { color: var(--champagne); }
.case__card.is-on .case__echo { -webkit-text-stroke-color: rgba(232, 217, 188, .1); }
.case__card.is-on .case__echo span { animation-play-state: running; }
.case__card.is-on .case__go i { background: var(--champagne); color: var(--ink); rotate: -45deg; }
/* on a touch screen a tapped card keeps :hover until the next tap elsewhere: only the card in the middle stays lit */
@media (hover: none) {
  .case__card:hover:not(.is-on):not(:focus-visible) { box-shadow: inset 0 0 0 1px rgba(232, 217, 188, .16); }
  .case__card.spot:hover:not(.is-on):not(:focus-visible)::before, .case__card.spot:hover:not(.is-on):not(:focus-visible)::after { opacity: 0; }
  .case__card:hover:not(.is-on):not(:focus-visible) .case__name { color: inherit; translate: none; }
  .case--wide .case__card:hover:not(.is-on):not(:focus-visible) .case__name { color: transparent; -webkit-text-stroke-color: rgba(232, 217, 188, .9); transform: scaleX(.86); }
  .case__card:hover:not(.is-on):not(:focus-visible) .case__go i { background: none; color: inherit; rotate: none; }
  .case__card:hover:not(.is-on):not(:focus-visible) .case__echo { -webkit-text-stroke-color: rgba(232, 217, 188, 0); }
  .case__card:hover:not(.is-on):not(:focus-visible) .case__echo span { animation-play-state: paused; }
}
/* the phone menu (owner, 2026-12-05): the page behind the open menu does not scroll, and the small link is a full-height tap target.
   The lock goes on body, never on html: with html locked the body becomes the scrolling box, the sticky header scrolls away with
   the page and the menu opens off the screen (seen in production 2026-12-05 after the first version of this rule). */
@media (max-width: 999.98px) { body:has(.menu[open]) { overflow: hidden; } }
.menu__panel .menu__small { display: flex; align-items: center; min-height: 44px; }

/* ---------- independent review, 2026-12-05 ---------- */
/* What we do: the panels fold without motion on arrival, so a link to a place lower on the page lands where it aims */
.js .deck:not(.is-ready) .svc__body, .js .deck:not(.is-ready) .svc__inner { transition: none; }
/* a heading or the "sent" line reached by a link is not left under the fixed header */
h2:target, .sent:target { scroll-margin-top: 6.5rem; }
/* the consent notice steps aside while the phone menu is open (it covered the menu's links) */
@media (max-width: 999.98px) { body:has(.menu[open]) .cc { display: none; } }
/* tap targets */
.crumbs a { padding-block: 10px; }
.chip { min-height: 40px; padding-inline: 14px; }
@media (hover: none) { .foot__menu a, .foot__reach a, .foot__social a { min-height: 40px; } .hero__cue { min-height: 44px; } }
/* touch screens: a tap must not leave a tile lit, moved or turned until the next tap */
@media (hover: none) {
  .tile:hover, .pills li:hover, .gets li:hover, .reach--cards li:hover { translate: none; }
  .gets li:hover { background: rgba(5, 11, 30, .38); }
  .fixes li:hover .mark { rotate: none; box-shadow: inset 0 0 0 1.5px rgba(232, 217, 188, .5); }
  .portal .bars i:hover { scale: none; box-shadow: 0 0 26px -8px rgba(232, 217, 188, .65); }
  .spot:hover:not(.is-on):not(:focus-within)::before, .spot:hover:not(.is-on):not(:focus-within)::after { opacity: 0; }
}
/* a phone held sideways: the emblem moves beside the words, so the heading and the button are on the first screen */
@media (max-width: 999.98px) and (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; padding-top: 12px; }
  /* the right column is as wide as the consent notice, which docks there: the words and the button stay clear of it */
  .hero__grid { grid-template-columns: minmax(0, 1fr) min(300px, 38vw); align-items: center; gap: 20px; }
  .hero__mark { order: 2; width: min(18vw, 130px); justify-self: center; }
  .hero h1 { font-size: clamp(1.75rem, min(6.2vw, 13svh), 3.4rem); }
  .hero__copy { gap: 12px; }
  .hero__lede { font-size: 1rem; line-height: 1.4; }
  .hero__actions { margin-top: 2px; }
  .hero__actions .btn { min-height: 46px; padding-block: 0; }
  .hero__cue { display: none; }
  .cc, body:has(.hero) .cc { top: auto; left: auto; right: 10px; bottom: 10px; width: min(300px, 38vw); margin-inline: 0; padding: 12px 14px 10px; max-height: calc(100svh - 5.25rem); overflow: auto; }
  .cc__h { margin: 0 0 4px; font-size: .9375rem; }
  .cc__p, .cc__opt { font-size: .8125rem; line-height: 1.35; }
  .cc__bar { margin-top: 8px; gap: 6px; }
  .cc__bar .cc__btn { flex: 1 1 auto; }
}
/* ---------- Questions on the service pages (owner's answers, 2026-12-05): every answer is on the page, no accordion ---------- */
.qa { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-items: start; }
/* each answer folds under its question (owner, 2026-12-05); the first is open, a tap opens the others, no script */
.qa .tile { display: block; padding: 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 22px; border-radius: inherit; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0; border-right: 2px solid var(--sand); border-bottom: 2px solid var(--sand); rotate: 45deg; transition: rotate .3s var(--ease), margin .3s var(--ease); }
.qa details[open] summary::after { rotate: -135deg; margin: 4px 4px 0 0; }
.qa summary:focus-visible { outline: 2px solid var(--champagne); outline-offset: -3px; }
.qa details p { padding: 0 22px 22px; }
.qa h3 { font-size: 1.25rem; font-stretch: 100%; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ivory); }
.qa p { color: var(--mist); }
.js .qa li[data-reveal]:nth-child(2n) { transition-delay: .08s; }
/* one column on every screen: in two columns an opened answer left a hole beside it */
@media (min-width: 760px) { .qa { max-width: 920px; } .qa summary { padding-inline: 28px; } .qa details p { padding: 0 28px 26px; max-width: 70ch; } }

/* ---------- second independent review, 2026-12-05 ---------- */
/* the sent form gives way to the "Request received" card: .lead is a grid, so [hidden] needs saying */
.lead[hidden] { display: none; }
/* Questions: the tile is the thing clicked, so it must not move from under the pointer, and a question that keeps
   focus after a tap or a click must not stay lit */
.qa .tile:hover { translate: none; }
.qa .spot:focus-within::before, .qa .spot:focus-within::after { opacity: 0; }
@media (hover: hover) { .qa .spot:hover::before, .qa .spot:hover::after { opacity: 1; } }
/* phone menu: every link is a full-height tap target on narrow phones too */
.menu__panel a:not(.btn) { display: flex; align-items: center; min-height: 44px; }
/* the email address stays on one line in its card on laptops and on the narrowest phones */
@media (min-width: 1000px) and (max-width: 1339.98px) { .reach--cards strong { font-size: clamp(1.125rem, 1.9vw, 1.5rem); } }
@media (max-width: 340px) { .reach--cards strong { font-size: 1rem; } }
