/* Vertex Dental, version 4, 15 October 2026.
   The idea: the lab's own product, drawn live. One crown is drawn as a line drawing, in real time, behind the
   first three screens (assets/crown.js), in the line style of the lab's tooth mark: the hero draws it and sets
   a teal orbit round it, the making story takes it through the five steps.
   The drawing run is set on night navy, light lines like a blueprint (the --run tokens). M chose it over a
   paper ground on 15 October; the version with both is kept in _v4-two-grounds/.
   Colour from the brand: night navy, navy, teal, mist, sand. One face: Schibsted Grotesk.
   Glass only where a surface sits over the live drawing or a photograph. */

/* The typeface is served from the site itself (assets/fonts, SIL Open Font License in OFL.txt), so opening the
   page sends nothing to Google. One variable file per character set covers every weight from 400 to 800. */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #021a30;
  --night-2: #04243f;
  --navy: #004578;
  --navy-deep: #022f52;
  --teal: #0c8b94;
  --teal-deep: #047b83;
  --teal-bright: #3fd0d8;
  --mist: #eef5f7;
  --mist-deep: #dde9ed;
  --sand: #f7f2ea;
  --sand-deep: #ebe2d3;
  --paper: #ffffff;
  --ink: #0b2e4f;
  --muted: #46617a;
  --on-dark: #ffffff;
  --on-dark-muted: #a9c2d4;
  --on-dark-ink: #e4eef5;

  /* The drawing run: hero, statement and the making story. */
  --run-bg: var(--night);
  --run-stage: radial-gradient(70% 60% at 50% 62%, #0b3a5f 0%, #052641 48%, var(--night) 100%); /* taste-skill-ignore: the light falling on the stage behind the live crown */
  --run-head: #ffffff;
  --run-text: var(--on-dark-ink);
  --run-muted: var(--on-dark-muted);
  --run-accent: var(--teal-bright);
  --run-btn: #ffffff;
  --run-btn-ink: var(--navy);
  --run-glass: rgba(255, 255, 255, .07);
  --run-glass-edge: inset 0 1px 0 rgba(255, 255, 255, .16);
  --run-glass-ink: #d8e7f1;
  --run-glass-chip: rgba(255, 255, 255, .08);

  --font: "Schibsted Grotesk", "SF Pro Display", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --pad-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  --radius: 28px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--run-bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: var(--step-head); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
::selection { background: var(--teal); color: #fff; }
[hidden] { display: none !important; }

/* Buttons: one shape on the whole page, a pill. "Ring us" carries a phone glyph and, on wide screens, the number. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: var(--step-body); line-height: 1; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-num { font-weight: 500; opacity: .72; font-variant-numeric: tabular-nums; }
.btn-num::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; vertical-align: middle; margin: 0 10px 0 0; opacity: .7; }
.btn-accent { background: var(--teal-deep); color: #fff; } /* teal-deep: white text on it passes 4.5:1 at any size */
.btn-light { background: #fff; color: var(--navy); }
.btn-run { background: var(--run-btn); color: var(--run-btn-ink); }
.btn-wide { width: 100%; }
.btn-big { min-height: 56px; padding: 0 28px; font-size: var(--step-lead); }
.btn-big svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: var(--navy); }
  .btn-light:hover { background: var(--mist); }
  .btn-run:hover { filter: brightness(1.08); }
  .btn:hover svg { animation: ring 700ms var(--ease-out); }
}
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(11deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(3deg); } }

/* Intro: overlay and a separate mark, so the mark can fly into the nav while the overlay lifts. */
.intro { position: fixed; inset: 0; z-index: 60; background: var(--run-bg); color: var(--run-head); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.intro-slot { width: clamp(96px, 16vw, 150px); aspect-ratio: 1; }
.intro-word { font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.03em; opacity: 0; transform: translateY(10px); }
.intro-mark { position: fixed; z-index: 61; top: 0; left: 0; width: clamp(96px, 16vw, 150px); height: auto; color: var(--run-head); transform-origin: 0 0; pointer-events: none; }
.intro-p1, .intro-p2 { stroke-dasharray: 260; stroke-dashoffset: 260; }
html.intro-go .intro-p1 { animation: draw 900ms var(--ease-out) 120ms forwards; }
html.intro-go .intro-p2 { animation: draw 500ms var(--ease-out) 760ms forwards; }
html.intro-go .intro-word { animation: wordin 500ms var(--ease-out) 1050ms forwards; }
html:not(.intro-go) .intro, html:not(.intro-go) .intro-mark { display: none; }
html.intro-go .nav .brand-mark { opacity: 0; }
html.intro-done .nav .brand-mark { opacity: 1; transition: opacity 200ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wordin { to { opacity: 1; transform: none; } }

/* Nav: clear over the top of the hero, dark glass over the night run and the dark sections, light glass over the light ones. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  color: var(--run-head); background: transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 360ms var(--ease), color 360ms var(--ease);
}
.nav.is-glass { color: #fff; background: rgba(2, 26, 48, .55); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
/* On touch screens the nav over the live drawing is near-solid: a blur over a canvas that redraws every frame costs too much on a phone. */
@media (pointer: coarse) { .nav.is-glass { background: rgba(2, 26, 48, .9); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav.is-light { background: rgba(255, 255, 255, .72); color: var(--navy); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding-left: var(--pad-left); padding-right: var(--pad-right); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--step-body); letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: var(--step-small); }
.nav-links a { opacity: .8; transition: opacity 180ms ease; }
.nav-links a:hover { opacity: 1; }
.btn-nav { min-height: 40px; padding: 0 18px; font-size: var(--step-small); background: var(--run-btn); color: var(--run-btn-ink); gap: 8px; }
.btn-nav svg { width: 17px; height: 17px; }
.nav.is-glass .btn-nav { background: #fff; color: var(--navy); }
.nav.is-light .btn-nav { background: var(--navy); color: #fff; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; top: 17px; transition: transform 320ms var(--ease), top 320ms var(--ease); }
.burger span + span { top: 25px; }
.burger[aria-expanded="true"] span { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35; background: rgba(2, 26, 48, .82); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); color: #fff;
  padding: calc(var(--nav-h) + 40px + env(safe-area-inset-top, 0px)) var(--pad-right) calc(32px + env(safe-area-inset-bottom, 0px)) var(--pad-left);
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-links { display: flex; flex-direction: column; gap: 14px; }
.menu-links a { font-size: clamp(2rem, 9vw, 3.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; opacity: 0; transform: translateY(24px); }
.menu.is-open .menu-links a { animation: rise 520ms var(--ease-out) forwards; animation-delay: calc(80ms + var(--i) * 60ms); }
.menu-foot { display: grid; gap: 16px; font-weight: 600; color: var(--on-dark-muted); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* The stage: fixed behind the drawing run. The canvas draws the crown; the still stands in until it does. */
.stage {
  position: fixed; left: 0; top: 0; width: 100%; height: 100vh; /* taste-skill-ignore: fallback for browsers without lvh */ height: 100lvh; z-index: 0; pointer-events: none;
  background: var(--run-stage);
}
.stage.is-off { visibility: hidden; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 900ms var(--ease-out); }
.stage.is-live .stage-canvas { opacity: 1; }
.stage { overflow: hidden; }
.stage-still { position: absolute; left: 50%; top: 74.5%; width: calc(min(100vw, 115vh) * 0.483); max-width: none; transform: translate(-50%, -38%); transition: opacity 600ms ease; }
.stage.is-live .stage-still { opacity: 0; }
html.no-scrub .stage { position: absolute; height: 100svh; }

main { position: relative; z-index: 1; }
/* The drawing run has its own field colour, so its type never depends on the stage being drawn.
   The fixed stage paints above that field and below the sections; every later section covers it. */
.board { position: relative; color: var(--run-text); background: var(--run-bg); }
.board > section, main > section, main > .ask { position: relative; z-index: 1; }

/* Masked line reveal for the big headings: each line rises from behind its own baseline. */
.mask .ml { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mask .ml > span { display: block; }
html.js .mask .ml > span { transform: translateY(108%); }
html.js .mask.in .ml > span { transform: none; transition: transform 1050ms var(--ease-out); transition-delay: calc(var(--i) * 120ms); }

/* Hero: the crown, live */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding: calc(var(--nav-h) + clamp(28px, 7vh, 80px)) var(--pad-right) 28px var(--pad-left); }
.hero-top { display: grid; justify-items: center; gap: clamp(16px, 2.4vh, 26px); }
.hero-h { font-size: min(clamp(2.9rem, 1.2rem + 6.2vw, 7rem), 12svh); letter-spacing: -0.05em; line-height: 0.94; font-weight: 700; color: var(--run-head); }
.hero-p { max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; color: var(--run-muted); letter-spacing: -0.015em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 6px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--run-head); }
.hero-link svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-out); }
.hero-link:hover svg { transform: translateY(3px); }
html.js .hero-in { opacity: 0; transform: translateY(18px); }
html.js .hero.in .hero-in { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(200ms + var(--i) * 90ms); }
.hero-facts {
  grid-row: 3; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--run-glass); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: var(--run-glass-edge); /* taste-skill-ignore: the lit edge of the glass M asked for */
  font-size: var(--step-small); font-weight: 500; color: var(--run-glass-ink);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--run-accent); }

/* A short practical summary before the making story. */
.practice-summary { position: relative; z-index: 1; background: var(--night); color: var(--on-dark); padding: 40px var(--pad-right) 40px var(--pad-left); }
.practice-summary ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin-inline: auto; }
.practice-summary li { border-top: 1px solid rgba(169, 194, 212, .3); padding-top: 16px; }
.practice-summary strong { display: block; font-size: var(--step-body); font-weight: 600; line-height: 1.3; }
.practice-summary span { display: block; color: var(--on-dark-muted); font-size: var(--step-small); margin-top: 8px; line-height: 1.5; }
@media (max-width: 760px) { .practice-summary ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; } }

/* The statement: words light up as you read */
.statement { position: relative; padding: 26vh var(--pad-right) 30vh var(--pad-left); display: grid; justify-items: center; }
.lit { max-width: 24ch; font-size: clamp(1.75rem, 0.9rem + 2.8vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; color: var(--run-head); text-wrap: pretty; }
.lit .w { opacity: 1; }
html.js:not(.no-scrub) .lit .w { opacity: .16; }

/* How it is made: a tall section; the stage sticks and scroll drives the crown and the five verbs. */
.making { position: relative; height: 560vh; }
.making-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.making-grid { height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: var(--nav-h) var(--pad-right) 0 var(--pad-left); }
.making-fig { position: relative; height: 100%; }
.making-cap { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font-weight: 600; color: var(--run-muted); font-size: var(--step-body); }
.making-text { display: grid; gap: clamp(18px, 3vh, 32px); align-content: center; }
.making-h { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; color: var(--run-muted); line-height: 1.2; }
.verbs { position: relative; display: grid; padding-bottom: 6.2em; font-size: var(--step-lead); }
.verb h3 { font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.75rem); line-height: 1; color: var(--run-head); opacity: .16; transform-origin: 0 60%; will-change: opacity, transform; }
.verb .line { position: absolute; left: 0; right: 0; top: calc(100% - 5.4em); max-width: 30ch; line-height: 1.35; color: var(--run-text); opacity: 0; will-change: opacity, transform; }
.verb-still { display: none; }

/* Still making story: reduced motion, no WebGL or no script. Five steps as a list with a picture each. */
html.no-scrub .making { height: auto; padding: 120px 0 140px; }
html.no-scrub .making-pin { position: static; height: auto; overflow: visible; }
html.no-scrub .making-grid { display: block; padding: 0 var(--pad-right) 0 var(--pad-left); }
html.no-scrub .making-fig { display: none; }
html.no-scrub .verbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 0; font-size: var(--step-body); }
html.no-scrub .verb h3 { opacity: 1; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); margin: 18px 0 10px; }
html.no-scrub .verb .line { position: static; opacity: 1; }
html.no-scrub .verb-still { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--paper); }

/* Every case, as standard */
.std { position: relative; background: var(--mist); padding: clamp(96px, 12vw, 180px) var(--pad-right) clamp(96px, 12vw, 180px) var(--pad-left); }
.std-h { color: var(--navy); margin-bottom: clamp(40px, 6vw, 72px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; background: var(--paper); isolation: isolate; }
.tile h3 { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.25rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 20ch; }
.tile p { max-width: 36ch; }
.tile-photo { color: #fff; background: var(--night); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 26, 48, 0) 45%, rgba(2, 26, 48, .78) 100%); /* taste-skill-ignore: neutral scrim under text on a photograph */ }
.tile-img { position: absolute; inset: 0; z-index: -2; overflow: hidden; transition: transform 1200ms var(--ease-out); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
@media (hover: hover) and (pointer: fine) { .tile-photo:hover .tile-img { transform: scale(1.04); } }
.tile-big { font-size: clamp(3.5rem, 2rem + 4.6vw, 7rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.88; }
.tile-big span { font-weight: 500; opacity: .6; }
.t-nhs .tile-big { font-size: clamp(2.75rem, 1.4rem + 3.4vw, 5.25rem); }
.t-zirc { grid-column: span 7; grid-row: span 2; min-height: 560px; background: var(--sand); color: var(--ink); }
.t-zirc h3 { position: relative; color: var(--navy); }
.t-zirc p { position: relative; }
.tile-draw { position: absolute; z-index: -1; right: -4%; top: -6%; width: min(78%, 560px); height: auto; pointer-events: none; transition: transform 1200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .t-zirc:hover .tile-draw { transform: translateY(-10px) rotate(-2deg); } }
.t-scan { grid-column: span 5; grid-row: span 2; background: var(--navy); color: #fff; justify-content: space-between; }
.t-scan p { color: var(--on-dark-ink); }
.brands { display: grid; gap: 2px; font-size: clamp(2.25rem, 1.2rem + 3vw, 4.25rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.brands li { transition: color 300ms ease, transform 400ms var(--ease-out); }
.t-scan:hover .brands li:nth-child(odd) { transform: translateX(10px); }
.t-scan:hover .brands li:nth-child(even) { transform: translateX(20px); }
.t-post { grid-column: span 4; background: var(--teal); color: #fff; justify-content: space-between; }
.t-nhs { grid-column: span 4; justify-content: space-between; background: var(--night); color: #fff; }
.t-model { grid-column: span 4; color: var(--navy); }
.t-model { justify-content: space-between; }
.t-model p { color: var(--ink); }
.t-lab { grid-column: span 7; justify-content: space-between; background: var(--paper); color: var(--navy); }
.t-lab p { color: var(--ink); }
.t-lab .tile-addr { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.02em; color: var(--teal-deep); max-width: none; }
.t-remake { grid-column: span 5; background: var(--sand); color: var(--ink); }
.t-remake p { color: var(--ink); }
html.js .tile.rv { opacity: 0; transform: translateY(28px) scale(.98); }
html.js .tile.rv.in { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }

/* Reveal: visible at rest; only with JS do parts start low and rise once in view. */
html.js .rv > [style*="--i"] { opacity: 0; transform: translateY(22px); }
html.js .rv.in > [style*="--i"] { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i) * 80ms); }

/* Your scan: navy field, the live picker */
.scan { position: relative; background: var(--navy); color: var(--on-dark); }
.scan-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(96px, 12vw, 180px) var(--pad-right) clamp(96px, 12vw, 180px) var(--pad-left); }
.scan-text { display: grid; gap: 24px; }
.scan-lead { font-size: var(--step-lead); color: var(--on-dark-muted); max-width: 30ch; }
.picker { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 600; transition: color 260ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.chip:hover { background: rgba(255, 255, 255, .18); }
.chip:active { transform: scale(0.96); }
.chip.is-on { color: var(--navy); background: #fff; }
.chip-glider { position: absolute; z-index: 1; left: 0; top: 0; height: 44px; width: 80px; border-radius: 999px; background: #fff; opacity: 0; pointer-events: none; }
.picker.has-glider .chip.is-on { background: transparent; }
.picker.has-glider .chip { z-index: 2; }
.picker.has-glider .chip-glider { opacity: 1; transition: transform 460ms var(--ease), width 460ms var(--ease); }
.route { display: grid; gap: 12px; background: var(--navy-deep); padding: 28px; border-radius: var(--radius); max-width: 48ch; }
.route-h { font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.03em; }
.route-p { color: var(--on-dark-ink); }
.route .btn { justify-self: start; margin-top: 8px; }
.route-alt { font-size: var(--step-small); color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.scan-pic { position: relative; margin: 0; }
.scan-pic img { width: 100%; height: clamp(360px, 60vh, 640px); object-fit: cover; border-radius: var(--radius); }
/* Concept images say so, on the picture. */
.pic-note { position: absolute; left: 16px; bottom: 16px; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: #fff; background: rgba(2, 26, 48, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.contact-note { z-index: 1; left: auto; right: var(--pad-right); bottom: 20px; }
.vcard-addr { font-size: var(--step-small); color: var(--ink); }

/* A first case: sand field, a real ordered list */
.case { background: var(--sand); padding: clamp(96px, 12vw, 180px) var(--pad-right) clamp(96px, 12vw, 180px) var(--pad-left); }
.case-in { display: grid; gap: clamp(40px, 6vw, 80px); }
.case h2 { color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 12px; align-content: start; }
.steps li::before { content: counter(step); font-weight: 800; font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.05em; color: var(--teal); }
.steps h3 { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.1; }
.steps p { color: var(--ink); }
.steps a { color: var(--teal-deep); font-weight: 600; white-space: nowrap; }

/* Questions: a band per question */
.faq-head { background: var(--teal); color: #fff; min-height: 40svh; display: flex; align-items: flex-end; padding: 48px var(--pad-right) 28px var(--pad-left); }
.faq-head h2 { font-size: clamp(3rem, 8vw, 8rem); }
.band { display: grid; grid-template-columns: 5fr 1fr 6fr; padding: 56px var(--pad-right) 56px var(--pad-left); background: var(--paper); }
.band:nth-of-type(even) { background: var(--mist); }
.band h3 { font-size: 2rem; letter-spacing: -0.03em; line-height: 1.1; grid-column: 1; }
.band p { grid-column: 3; max-width: 52ch; }

/* Contact: a glass visit card on the lab */
.contact { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 80px var(--pad-right) 80px var(--pad-left); overflow: hidden; background: var(--navy-deep); }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: brightness(0.78); }
.vcard {
  position: relative; width: 420px; max-width: 100%; border-radius: var(--radius); color: var(--ink); padding: 36px; display: grid; gap: 16px;
  background: rgba(247, 242, 234, .78); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); /* taste-skill-ignore: the lit top edge of the glass M asked for */
}
.vcard h2 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); color: var(--navy); }
.vcard-sub { color: var(--ink); }
.vcard .btn { min-height: 60px; font-size: var(--step-lead); margin: 6px 0; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }
.vcard-line { font-weight: 600; }
.vcard-line a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 180ms ease; }
.vcard-line a:hover { text-decoration-color: currentColor; }

/* WhatsApp: the bottom band, one word is the button */
.ask { position: relative; display: block; background: var(--teal-deep); color: #fff; min-height: 56svh; overflow: hidden; padding: 32px var(--pad-right) 0 var(--pad-left); transition: background-color 160ms ease, color 160ms ease; }
.ask:hover, .ask:focus-visible { background: #fff; color: var(--teal-deep); }
.ask-line { max-width: 32ch; font-size: var(--step-lead); font-weight: 600; line-height: 1.3; }
.ask-arrow { position: absolute; top: 28px; right: var(--pad-right); width: 48px; height: 48px; transition: transform 400ms var(--ease); }
.ask:hover .ask-arrow { transform: translate(4px, -4px); }
.ask-word { position: absolute; left: var(--pad-left); right: var(--pad-right); bottom: 0; font-weight: 800; letter-spacing: -0.06em; line-height: 0.78; font-size: clamp(8rem, 28vw, 30rem); transform: translateY(0.06em); will-change: transform; }

/* Look closely: the crown picture with four points, after the live site's first version. The picture sits on a
   mist stage; a point zooms it to its part of the crown, draws what the point is about over it (the outline and
   contacts, the light on the glaze, the thirds of a shade, the neighbours and the bite) and opens a glass card. */
.look { background: var(--paper); padding: clamp(96px, 12vw, 180px) var(--pad-right) clamp(64px, 8vw, 120px) var(--pad-left); }
.look-head { display: grid; grid-template-columns: auto minmax(16rem, 1fr); align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.look-h { color: var(--navy); }
.look-intro { display: grid; gap: 16px; justify-items: start; padding-bottom: 10px; }
.look-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.look-hint { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--teal-deep); }
.look-hint-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.look-hint-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--teal); animation: pin-pulse 2.8s var(--ease-out) infinite; }
.look-box { position: relative; }
.look-stage { position: relative; height: clamp(480px, 76svh, 780px); border-radius: var(--radius); background: var(--mist); overflow: hidden; isolation: isolate; }
.look-frame { position: absolute; inset: 0; overflow: hidden; }
.look-zoom { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.look-img {
  width: 100%; height: 100%; max-width: none; object-fit: contain;
  /* taste-skill-ignore: feathers the picture's own edges into the mist, at any zoom */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 70%, transparent 97%); /* taste-skill-ignore: a mask that feathers the picture, not a fill */
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 70%, transparent 97%); /* taste-skill-ignore: a mask that feathers the picture, not a fill */
  mask-composite: intersect;
}
.look-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; --u: 2; }
.look.is-live .look-zoom, .look.is-live .pin { transition: transform 1100ms var(--ease); }
.look.is-still .look-zoom, .look.is-still .pin { transition: none; }

/* The drawings over the picture, one set per point. Stroke widths follow --u, one screen pixel in picture units. */
.art { opacity: 0; transition: opacity 400ms ease; }
.art-draw { fill: none; stroke: var(--teal); stroke-width: calc(2.5px * var(--u)); stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.art-dot { fill: var(--teal); }
.art-ring { fill: none; stroke: var(--teal); stroke-width: calc(2px * var(--u)); opacity: 0; transform: scale(.4); }
.art-sheen { transform: translateX(0); }
.art-glint { fill: #fff; transform: scale(0); } /* taste-skill-ignore: a glint twinkles out of nothing; it is not an entrance */
.art-third { fill: none; stroke: var(--navy); stroke-width: calc(1.5px * var(--u)); stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; }
.art-ghost { fill: none; stroke: var(--navy); stroke-width: calc(1.5px * var(--u)); stroke-dasharray: calc(7px * var(--u)) calc(7px * var(--u)); opacity: 0; }
.art-opp { transform: translateY(-40px); }
.look[data-on="form"] .art-form, .look[data-on="surface"] .art-surface, .look[data-on="shade"] .art-shade, .look[data-on="context"] .art-context { opacity: 1; transition-delay: 350ms; }
.look[data-on="form"] .art-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1500ms var(--ease-in-out) 450ms; }
.look[data-on="form"] .art-ring { opacity: .9; transform: none; transition: opacity 500ms ease 1500ms, transform 700ms var(--ease-out) 1500ms; }
.look[data-on="surface"] .art-sheen { animation: sheen 3.2s var(--ease-in-out) 700ms infinite; }
.look[data-on="surface"] .art-glint { animation: glint 3.2s var(--ease-out) infinite; animation-delay: calc(1200ms + var(--d) * 180ms); }
.look[data-on="shade"] .art-third { stroke-dashoffset: 0; transition: stroke-dashoffset 1000ms var(--ease-in-out); transition-delay: calc(700ms + var(--d, 0) * 180ms); }
.look[data-on="context"] .art-ghost { opacity: .55; transition: opacity 700ms ease; transition-delay: calc(700ms + var(--d, 0) * 160ms); }
.look[data-on="context"] .art-opp { transform: none; transition: transform 1100ms var(--ease-out) 1000ms; }
@keyframes sheen { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(1900px); } }
@keyframes glint { 0%, 100% { transform: scale(0) rotate(0deg); } 12% { transform: scale(1) rotate(20deg); } 30% { transform: scale(0) rotate(45deg); } } /* taste-skill-ignore: a glint twinkles out of nothing; it is not an entrance */
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(2.2); opacity: 0; } }

/* The points. Each is a 44px target whose centre JS keeps on its spot as the picture zooms. */
.look-pins, .look-tags { position: absolute; inset: 0; pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; pointer-events: auto; transition: transform 1100ms var(--ease); }
.pin-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; transition: background-color 300ms ease, transform 300ms var(--ease-out), opacity 300ms ease; }
.pin-dot svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 400ms var(--ease); }
.pin-dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--teal); animation: pin-pulse 2.8s var(--ease-out) infinite; animation-delay: calc(var(--n) * 350ms); }
.pin-label {
  position: absolute; left: 38px; top: 7px; height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center;
  white-space: nowrap; font-weight: 600; font-size: var(--step-small); letter-spacing: -0.01em; color: var(--navy);
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); /* taste-skill-ignore: the lit edge of the glass M asked for */
  transition: background-color 300ms ease, color 300ms ease, opacity 300ms ease;
}
.pin.is-flip .pin-label { left: auto; right: 38px; }
.pin.is-on .pin-dot { background: var(--navy); }
.pin.is-on .pin-dot svg { transform: rotate(45deg); }
.pin.is-on .pin-label { background: var(--navy); color: #fff; }
.pin.is-on .pin-dot::after, .look.is-open .pin-dot::after { animation: none; opacity: 0; }
.look.is-open .pin:not(.is-on) .pin-label { opacity: 0; }
.look.is-open .pin:not(.is-on) .pin-dot { transform: scale(.62); }
.pin.is-out { opacity: 0; pointer-events: none; }
.pin:focus-visible { outline: none; }
.pin:focus-visible .pin-dot { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
.pin:active .pin-dot { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) {
  .pin:hover .pin-dot { transform: scale(1.14); }
  .look.is-open .pin:hover .pin-label { opacity: 1; }
  .look.is-open .pin:not(.is-on):hover .pin-dot { transform: scale(.9); }
}
html.js .look:not(.in) .pin-dot { opacity: 0; transform: scale(.3); }
html.js .look:not(.in) .pin-label { opacity: 0; }
html.js .look.in .pin-dot { transition: background-color 300ms ease, transform 700ms var(--ease-out), opacity 400ms ease; transition-delay: 0s, calc(300ms + var(--n) * 110ms), calc(300ms + var(--n) * 110ms); }
html.js .look.in .pin-label { transition: background-color 300ms ease, color 300ms ease, opacity 500ms ease calc(500ms + var(--n) * 110ms); }

/* Labels on the drawings (wide screens only), placed by JS like the points. */
.look-tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 400ms ease; }
.look-tag > span {
  position: absolute; top: -15px; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: var(--step-small); font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.look-tag[data-a="l"] > span { right: 18px; }
.look-tag[data-a="r"] > span { left: 18px; }
.look-tag[data-a="c"] > span { left: 0; transform: translateX(-50%); }
.look-tag i, .look-legend i { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(11, 46, 79, .2); /* taste-skill-ignore: keeps a pale swatch visible on white */ }
.look[data-on="form"] .look-tag[data-k="form"], .look[data-on="shade"] .look-tag[data-k="shade"], .look[data-on="context"] .look-tag[data-k="context"] { opacity: 1; transition-delay: 1000ms; }
.look-tag.is-out { visibility: hidden; }

/* The card: glass over the stage on wide screens, beside the crown; under the stage on narrow ones. */
.look-card {
  position: absolute; z-index: 2; top: 50%; left: 24px; width: min(360px, 34%); padding: 28px; border-radius: 24px;
  transform: translateY(-50%); translate: 0 14px; opacity: 0; visibility: hidden;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95); /* taste-skill-ignore: the lit edge of the glass M asked for */
  transition: opacity 250ms ease, translate 250ms ease, visibility 0s 250ms;
}
.look-card[data-side="right"] { left: auto; right: 24px; }
.look-card.is-open { opacity: 1; translate: 0 0; visibility: visible; transition: opacity 500ms var(--ease-out) 300ms, translate 700ms var(--ease-out) 300ms, visibility 0s; }
.look-list > li h3 { font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem); color: var(--navy); }
.look-list > li > p { margin-top: 12px; }
.look-fact { color: var(--teal-deep); font-weight: 600; }
.look-legend { display: none; gap: 8px; margin-top: 14px; font-size: var(--step-small); font-weight: 600; }
.look-legend li { display: flex; align-items: center; gap: 10px; }
.look-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }
.look-next { min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: var(--step-small); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.look-next:active { transform: scale(.97); }
.look-back { min-height: 44px; font-weight: 600; font-size: var(--step-small); color: var(--navy); text-decoration: underline; text-decoration-color: rgba(0, 69, 120, .35); text-underline-offset: 4px; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .look-next:hover { background: var(--navy-deep); }
  .look-back:hover { text-decoration-color: currentColor; }
}
.look-note { margin-top: 18px; font-size: var(--step-small); color: var(--muted); max-width: 70ch; }

/* Without script: no points, the four topics as a list under the picture. */
.look:not(.is-live) .look-pins, .look:not(.is-live) .look-tags, .look:not(.is-live) .look-actions, .look:not(.is-live) .look-hint { display: none; }
.look:not(.is-live) .look-card { display: block; position: static; width: auto; padding: 32px 0 0; transform: none; translate: none; opacity: 1; visibility: visible; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; } /* taste-skill-ignore: removes the shadow without script */
.look:not(.is-live) .look-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.look:not(.is-live) .look-stage { height: auto; aspect-ratio: 5 / 3; }
.look:not(.is-live) .look-img { display: block; width: auto; height: 100%; aspect-ratio: 5 / 4; margin-inline: auto; }

@media (min-width: 1024px) and (max-width: 1199px) { .btn-nav .btn-num { display: none; } .nav-links { gap: 18px; } .tile h3 { font-size: 1.625rem; } }

/* Footer: the crown, still, the menu, then everything a practice needs to reach or check the lab.
   Items the owner has not confirmed yet are marked "To confirm" in amber so they cannot ship by accident. */
.foot { position: relative; z-index: 1; background: var(--night); color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 78svh; }
.foot-pic { position: relative; overflow: hidden; min-height: 360px; }
.foot-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-lead { display: grid; align-content: center; justify-items: start; gap: 26px; padding: 80px var(--pad-right) 72px clamp(24px, 6vw, 96px); }
.brand-foot { font-size: var(--step-body); }
.foot-h { font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.75rem); line-height: 1; max-width: 22ch; }
.foot-what { font-size: var(--step-lead); line-height: 1.35; color: var(--on-dark-muted); max-width: 34ch; }
.foot-ring { margin-top: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 12px; max-width: 40rem; }
.foot-links a { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; transition: color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .foot-links:hover a { color: var(--on-dark-muted); }
  .foot-links a:hover { color: #fff; }
}
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); padding: 64px var(--pad-right) 56px var(--pad-left); background: var(--night-2); }
.foot-col { min-width: 0; }
.foot-col h3 { font-size: var(--step-body); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 16px; }
.foot-col p, .foot-col address, .foot-list li { font-size: var(--step-small); line-height: 1.55; font-style: normal; color: var(--on-dark-muted); }
.foot-col p + p, .foot-col address + p { margin-top: 14px; }
.foot-col a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; transition: text-decoration-color 180ms ease; }
.foot-col a:hover { text-decoration-color: currentColor; }
.foot-list { display: grid; gap: 8px; }
.foot-list li { text-wrap: pretty; }
.foot-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding: 28px var(--pad-right) calc(28px + env(safe-area-inset-bottom, 0px)) var(--pad-left); background: var(--night-2); font-size: var(--step-small); color: var(--on-dark-muted); }
.foot-base p { max-width: 62ch; }
.foot-up { margin-left: auto; color: #fff; font-weight: 600; }

/* Tablet and phone */
@media (max-width: 1023px) {
  .nav-links, .btn-nav .btn-num { display: none; }
  .btn-nav { margin-left: auto; }
  .burger { display: block; }
  .making { height: 520vh; }
  .making-grid { grid-template-columns: 1fr; grid-template-rows: 48svh auto; align-items: start; gap: 0; padding-top: var(--nav-h); }
  .making-cap { bottom: 2vh; font-size: var(--step-small); }
  .making-text { align-content: start; gap: 10px; }
  .making-h { font-size: var(--step-body); }
  .verbs { display: flex; flex-wrap: wrap; column-gap: 0.32em; padding-bottom: 7.5em; font-size: var(--step-body); }
  .verb h3 { font-size: clamp(2rem, 9vw, 3.4rem); }
  .verb .line { top: calc(100% - 6.8em); max-width: none; }
  html.no-scrub .verbs { grid-template-columns: 1fr 1fr; display: grid; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
  .t-scan, .t-lab { justify-content: flex-start; gap: 24px; }
  .t-scan .brands { margin: 8px 0; }
  .t-zirc, .t-scan, .t-lab, .t-remake { grid-column: span 6; }
  .t-zirc { min-height: 460px; }
  .t-post, .t-nhs { grid-column: span 3; }
  .t-model { grid-column: span 6; }
  .t-model h3 { font-size: clamp(1.75rem, 1rem + 1.9vw, 2.75rem); }
  .scan-in { grid-template-columns: 1fr; }
  .scan-pic img { height: 52vw; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; gap: 12px; padding: 32px var(--pad-right) 32px var(--pad-left); }
  .band p { grid-column: 1; }
  .look-head { grid-template-columns: 1fr; }
  .look-stage { height: auto; aspect-ratio: 4 / 3; }
  .look-card { position: static; width: auto; margin-top: 12px; padding: 24px 4px 4px; transform: none; translate: 0 10px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; display: none; } /* taste-skill-ignore: removes the shadow on tablets and phones */
  .look-card.is-open { display: block; }
  @starting-style { .look-card.is-open { opacity: 0; translate: 0 10px; } }
  .look-legend { display: grid; }
  .look-tags { display: none; }
  .look:not(.is-live) .look-list { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr; min-height: 0; }
  .foot-pic { height: 46svh; min-height: 300px; }
  .foot-lead { padding: 48px var(--pad-right) 56px var(--pad-left); gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding: 48px var(--pad-right) 40px var(--pad-left); }
}
@media (min-width: 641px) and (max-width: 1023px) { .stage-still { width: calc(min(100vw, 115vh) * 0.733); top: 71%; } .hero { grid-template-rows: auto minmax(calc(min(100vw, 115svh) * .2 + 62px), 1fr) auto; } }
@media (max-width: 640px) {
  .stage-still { width: calc(min(100vw, 115vh) * 1.033); top: 67%; }
  .brand span { font-size: 1rem; white-space: nowrap; }
  .btn-nav { padding: 0 14px; }
  .hero { padding-top: calc(var(--nav-h) + 28px); grid-template-rows: auto minmax(calc(52vw + 62px), 1fr) auto; }
  .hero-h { font-size: clamp(2.4rem, 11.8vw, 3.6rem); }
  .look-h { font-size: min(var(--step-head), 10.6vw); }
  .hero-p { font-size: var(--step-body); max-width: 30ch; }
  .hero-actions { gap: 18px; flex-direction: column; }
  .hero-facts { flex-wrap: wrap; justify-content: center; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; /* taste-skill-ignore: removes the glass edge on phones */ padding: 0; gap: 8px; }
  .hero-facts li { background: rgba(4, 36, 63, .72); padding: 8px 14px; white-space: normal; }
  .statement { padding: 20vh var(--pad-right) 24vh var(--pad-left); }
  .bento { grid-auto-rows: auto; }
  .t-post, .t-nhs { grid-column: span 6; gap: 22px; }
  .t-zirc { min-height: 420px; }
  .tile-draw { width: 74%; right: -6%; top: -4%; }
  .bento { gap: 12px; }
  .faq-head { min-height: 30svh; }
  .faq-head h2 { font-size: 12vw; }
  .steps { grid-template-columns: 1fr; }
  html.no-scrub .verbs { grid-template-columns: 1fr; }
  .contact { padding: 64svh var(--pad-right) 24px var(--pad-left); min-height: auto; align-items: start; }
  .contact-bg { height: 70svh; }
  .contact-note { top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px); bottom: auto; }
  .vcard { width: 100%; margin-top: -60px; padding: 28px; }
  .ask { min-height: 44svh; }
  .ask-line { font-size: 1.0625rem; max-width: 24ch; }
  .ask-arrow { width: 32px; height: 32px; }
  .look-stage { aspect-ratio: 1; border-radius: 22px; }
  .look-lead { font-size: var(--step-body); }
  .pin-label { height: 28px; top: 8px; padding: 0 12px; left: 36px; }
  .pin.is-flip .pin-label { right: 36px; }
  .look:not(.is-live) .look-list { grid-template-columns: 1fr; }
  .foot-pic { height: 38svh; min-height: 260px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-links { gap: 10px 22px; }
  .foot-up { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .rv > [style*="--i"], html.js .tile.rv, html.js .hero-in, html.js .mask .ml > span { opacity: 1; transform: none; transition: none; }
  .btn, .chip, .foot-links a, .tile-img, .brands li, .foot-col a { transition: none; }
  .btn:hover svg { animation: none; }
  .look-zoom, .pin, .art, .art-draw, .art-ring, .art-third, .art-ghost, .art-opp, .look-tag, .look-card, .look-card.is-open { transition: none !important; }
  .pin-dot::after, .look-hint-dot::after, .art-sheen, .art-glint { animation: none !important; }
  .look[data-on="surface"] .art-glint { transform: scale(.8); }
  html.js .look:not(.in) .pin-dot, html.js .look:not(.in) .pin-label { opacity: 1; transform: none; }
}

/* Small phones (360 to 400 wide): the brand and each hero fact stay on one line. */
@media (max-width: 400px) {
  .nav-in { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .btn-nav { padding: 0 12px; }
  .hero-facts li { font-size: 0.8125rem; padding: 8px 12px; }
}

/* Skip link: hidden until a keyboard user tabs to it. */
.skip { position: absolute; left: var(--pad-left); top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 60; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: var(--step-small); transform: translateY(-160%); }
.skip:focus { transform: none; }

/* Second pages (privacy notice, not found): the night bar and head of the home page, then plain reading on white. */
.page-nav { background: var(--night); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.page-nav .btn-nav { margin-left: auto; }
.page-head { background: var(--night); color: #fff; padding: clamp(56px, 9vw, 120px) var(--pad-right) clamp(48px, 7vw, 96px) var(--pad-left); display: grid; gap: 20px; justify-items: start; }
.page-head h1 { font-size: var(--step-head); }
.page-lead { font-size: var(--step-lead); line-height: 1.35; color: var(--on-dark-ink); max-width: 40ch; }
.page-date { font-size: var(--step-small); color: var(--on-dark-muted); }
.doc { max-width: 46rem; padding: clamp(48px, 7vw, 96px) var(--pad-right) clamp(64px, 9vw, 120px) var(--pad-left); display: grid; gap: 18px; }
.doc h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); letter-spacing: -0.03em; line-height: 1.1; margin-top: 30px; color: var(--navy); }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { max-width: 65ch; text-wrap: pretty; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; list-style: disc; }
.doc li::marker { color: var(--teal-deep); }
.doc a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding: 28px var(--pad-right) calc(28px + env(safe-area-inset-bottom, 0px)) var(--pad-left); background: var(--night-2); color: var(--on-dark-muted); font-size: var(--step-small); }
.page-foot a { color: #fff; font-weight: 600; }
.page-foot a:first-of-type { margin-left: auto; }
.nf { min-height: calc(100svh - var(--nav-h)); background: var(--night); color: #fff; display: grid; align-content: center; justify-items: start; gap: 22px; padding: 64px var(--pad-right) 96px var(--pad-left); }
.nf h1 { font-size: var(--step-head); }
.nf p { font-size: var(--step-lead); line-height: 1.35; color: var(--on-dark-ink); max-width: 36ch; }
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.nf-actions a:not(.btn) { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .page-foot a:first-of-type { margin-left: 0; } }
