/* Sorvenne v2: tokens and rules follow DESIGN.md */
:root {
  --paper: #ffffff;
  --mist: #f6f5f3;
  --ink: #2c2b30;
  --ink-soft: #5b5a60;
  --patina: #86705c;
  --patina-dark: #6f5c4b;
  --slate: #2a2c31;
  --line: #e4e1dc;
  --line-strong: #b9b2a8;
  --on-slate: #f2efea;
  --on-slate-soft: #c9c3ba;
  --line-on-slate: rgba(242, 239, 234, .3);
  --field: #8f887e;      /* input borders: 3.5:1 on paper */
  --error: #a33a2c;      /* 6.6:1 on paper */
  --scrim: rgba(42, 44, 49, .6);
  --tap: 32px;           /* small controls; 44px on touch screens */

  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;

  --t13: .8125rem; --t16: 1rem; --t20: 1.25rem; --t25: 1.5625rem;
  --t32: 2rem; --t40: 2.5rem; --t56: 3.5rem;

  --wrap: 1120px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 120px);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t16)/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--patina); outline-offset: 3px; }
.hero :focus-visible, .history :focus-visible { outline-color: var(--on-slate); }

h1, h2, h3 {
  font-family: var(--sans); font-weight: 300; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.2; margin: 0; color: var(--patina);
}
h2 { font-size: clamp(var(--t25), 3.2vw, var(--t40)); }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--paper); padding: 8px 16px; }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  border: 1px solid var(--patina); color: var(--patina);
  font: 400 var(--t13)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--patina); color: var(--paper); }
.btn-fill { background: var(--patina); color: var(--paper); }
.btn-fill:hover { background: var(--patina-dark); border-color: var(--patina-dark); }
.btn-light { border-color: var(--on-slate); color: var(--on-slate); }
.btn-light:hover { background: var(--on-slate); color: var(--slate); }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 84px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gut); color: var(--on-slate);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-head.solid, body.menu-open .site-head { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; justify-self: start; min-height: 44px;
  font: 400 var(--t13)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.burger { width: 22px; display: grid; gap: 6px; }
.burger i { height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.wordmark { text-decoration: none; text-align: center; display: grid; gap: 2px; }
.wm-name { font: 400 1.125rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.wm-place { font: 400 .6875rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; opacity: .8; }
.head-link { justify-self: end; font: 400 var(--t13)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding: 14px 0; border-bottom: 1px solid transparent; }
.head-link:hover { border-bottom-color: currentColor; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 84px 0 0; z-index: 39; background: var(--paper); overflow-y: auto;
  padding: clamp(32px, 6vw, 72px) var(--gut); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.menu[hidden] { display: none; }
.menu-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu-links a { font: 300 clamp(var(--t25), 4vw, var(--t40))/1.35 var(--sans); text-transform: uppercase; letter-spacing: .04em;
  color: var(--patina); text-decoration: none; }
.menu-links a:hover { color: var(--ink); }
.menu-note { color: var(--ink-soft); font-size: .9375rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--slate); color: var(--on-slate); overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); }
.slide-photo { grid-column: 2; overflow: hidden; }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s linear; }
.slide.is-on .slide-photo img { transform: scale(1); }
.slide-text { grid-column: 1; grid-row: 1; align-self: end; padding: 0 var(--gut) clamp(56px, 9vh, 96px); max-width: 560px; }
.slide-text h1, .slide-text h2 { color: var(--on-slate); font-size: clamp(var(--t32), 4vw, var(--t56)); }
.slide-text p { margin: 20px 0 32px; color: var(--on-slate-soft); max-width: 40ch; }
.hero-ctrl { position: absolute; right: calc(var(--gut) - 10px); top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 16px; }
.dots { display: grid; gap: 2px; }
.dots button { width: var(--tap); height: var(--tap); display: grid; place-items: center; }
.dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--on-slate); transition: background-color .25s; }
.dots button[aria-current="true"]::after { background: var(--on-slate); }
.pause { width: var(--tap); height: var(--tap); display: grid; place-items: center; }
.pause span { width: 8px; height: 10px; border-inline: 2px solid var(--on-slate); }
.pause.paused span { width: 0; height: 0; border: 0; border-left: 9px solid var(--on-slate);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Split sections ---------- */
.split { width: min(100% - 2 * var(--gut), var(--wrap)); margin: var(--sec) auto 0;
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 104px); align-items: center; }
.split-rev { grid-template-columns: 6fr 5fr; }
.split-media { margin: 0; }
.split-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { max-width: 46ch; margin-bottom: 36px; }

/* ---------- Process: where four months go (the one section that is not a split) ---------- */
.process { margin-top: var(--sec); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.steps figure { margin: 0; }
.steps img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.step-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line); font: 400 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.step-n { color: var(--patina); }
.steps h3 { margin: 18px 0 10px; font: 300 1.5rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--patina); }
.steps li > p:last-child { max-width: 36ch; }
.process-total { margin-top: 40px; font: 400 .9375rem/1.5 var(--sans); color: var(--ink-soft); }

/* ---------- Collection ---------- */
.collection { background: var(--mist); margin-top: var(--sec); padding-block: var(--sec); }
.col-head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 104px); align-items: end; margin-bottom: 56px; }
.col-head p { max-width: 46ch; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { display: block; width: 100%; text-align: left; }
.tile-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--slate); margin-bottom: 18px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { font: 400 var(--t20)/1.3 var(--sans); letter-spacing: .02em; color: var(--ink); display: block; }
.tile:hover .tile-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tile-meta { display: block; margin-top: 4px; font-size: .9375rem; color: var(--ink-soft); }

/* ---------- History ---------- */
.history { margin-top: var(--sec); }
.history-card { background: var(--slate); color: var(--on-slate); padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.history-card h2 { color: var(--on-slate); margin-bottom: 20px; }
.history-intro { color: var(--on-slate-soft); max-width: 30ch; }
.timeline { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-on-slate); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 24px; align-items: baseline; border-top: 1px solid var(--line-on-slate); padding: 20px 0; }
.yr { font: 300 var(--t32)/1 var(--sans); color: var(--on-slate); }
.timeline p { line-height: 1.6; color: var(--on-slate-soft); }

/* ---------- Service ---------- */
.service { margin-top: var(--sec); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 104px); }
.service p { max-width: 46ch; margin-bottom: 36px; }

/* ---------- Appointment ---------- */
.appointment { padding-block: var(--sec); }
.ap-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 104px); align-items: start; }
.ap-intro h2 { margin-bottom: 24px; }
.ap-intro > p { max-width: 40ch; }
.boutiques { margin: 40px 0 0; display: grid; gap: 16px; }
.boutiques div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.boutiques dt { font: 400 var(--t16)/1.6 var(--sans); }
.boutiques dd { margin: 0; color: var(--ink-soft); }

.ap-form, .ap-done { grid-column: 2; grid-row: 1; }
.ap-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font: 400 .9375rem/1.3 var(--sans); }
.opt { color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 400 var(--t16)/1.4 var(--serif); color: var(--ink); background: var(--paper);
  border: 1px solid var(--field); border-radius: 2px; min-height: 48px; padding: 10px 14px; width: 100%;
}
.field select { appearance: none; padding-right: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2386705c'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--patina); box-shadow: 0 0 0 1px var(--patina); }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font: 400 .875rem/1.4 var(--sans); min-height: 0; }
.err:empty { display: none; }
.ap-form .btn { justify-self: start; margin-top: 8px; }
.ap-done h3 { font-size: var(--t25); margin-bottom: 16px; }
.ap-done p { margin-bottom: 12px; max-width: 46ch; }
.demo-note { color: var(--ink-soft); font-size: .9375rem; }
.ap-done .btn { margin-top: 20px; }
.ap-done:focus { outline: none; }

/* ---------- Footer ---------- */
.foot { background: var(--mist); padding: 72px 0 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot h3 { font-size: var(--t13); font-weight: 400; letter-spacing: .1em; color: var(--ink); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-soft); }
.foot a { text-decoration: none; display: inline-block; padding-block: 3px; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-soft); }

/* ---------- Watch pages (watches/*.html) ---------- */
.watch-page main { padding-top: 84px; }
.crumbs { padding-top: 28px; font: 400 .9375rem/1.4 var(--sans); color: var(--ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { color: var(--patina); text-underline-offset: 4px; }
.wp-hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 7vw, 104px); align-items: center; margin-top: 28px; }
.wp-photo { margin: 0; }
.wp-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); }
.wp-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wp-thumbs button { display: block; width: 100%; padding: 0; text-align: left; color: var(--ink-soft); font: 400 .8125rem/1.3 var(--sans); }
.wp-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; opacity: .62; transition: opacity .2s; }
.wp-thumbs span { display: block; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid transparent; }
.wp-thumbs button:hover img, .wp-thumbs button[aria-pressed="true"] img { opacity: 1; }
.wp-thumbs button[aria-pressed="true"] span { color: var(--ink); border-bottom-color: var(--patina); }
.wp-intro h1 { font-size: clamp(var(--t32), 4vw, var(--t56)); margin-bottom: 12px; }
.wp-ref { font: 400 .9375rem/1.4 var(--sans); color: var(--ink-soft); }
.wp-summary { margin: 24px 0 36px; max-width: 40ch; font-size: 1.125rem; }
.wp-note { margin-top: 16px; font-size: .9375rem; color: var(--ink-soft); }
.wp-story { margin-top: var(--sec); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 104px); }
.wp-story p { max-width: 58ch; }
.wp-story p + p { margin-top: 1.1em; }
.wp-detail .split-text p { margin-bottom: 0; }
.wp-mood .split-text p { margin-bottom: 0; }
.wp-mood .split-text p + p { margin-top: 1.1em; }
.wp-specs { margin-top: var(--sec); }
.wp-specs h2 { margin-bottom: 40px; }
.wp-specs dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.wp-specs div { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.wp-specs dt { font: 400 .9375rem/1.6 var(--sans); color: var(--ink-soft); }
.wp-specs dd { margin: 0; }
.wp-others h2 { margin-bottom: 48px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tile { text-decoration: none; color: inherit; }

/* 404 page */
.nf { min-height: calc(100vh - 84px - 120px); display: grid; grid-template-columns: 6fr 4fr; gap: clamp(32px, 7vw, 104px); align-items: center; padding-block: 64px; }
.nf h1 { font-size: clamp(var(--t32), 4vw, var(--t56)); margin-bottom: 20px; }
.nf p { max-width: 42ch; margin-bottom: 36px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nf-photo { margin: 0; }
.nf-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.not-found .foot { padding: 0 0 32px; }
.not-found .foot-legal { margin-top: 0; }
.tile-img { display: block; }

/* ---------- Signature: the minute track ----------
   The 60-tick ring printed around a watch dial, laid flat. Long tick every 5 minutes.
   Used for the hero timer, section dividers and limited-edition counts. */
.track { display: block; height: 10px; color: var(--line-strong); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 0 601 10' preserveAspectRatio='none'%3E%3Cg stroke='black' stroke-width='1' vector-effect='non-scaling-stroke'%3E%3Cline vector-effect='non-scaling-stroke' x1='0' x2='0' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='10' x2='10' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='20' x2='20' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='30' x2='30' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='40' x2='40' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='50' x2='50' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='60' x2='60' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='70' x2='70' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='80' x2='80' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='90' x2='90' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='100' x2='100' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='110' x2='110' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='120' x2='120' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='130' x2='130' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='140' x2='140' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='150' x2='150' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='160' x2='160' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='170' x2='170' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='180' x2='180' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='190' x2='190' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='200' x2='200' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='210' x2='210' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='220' x2='220' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='230' x2='230' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='240' x2='240' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='250' x2='250' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='260' x2='260' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='270' x2='270' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='280' x2='280' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='290' x2='290' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='300' x2='300' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='310' x2='310' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='320' x2='320' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='330' x2='330' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='340' x2='340' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='350' x2='350' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='360' x2='360' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='370' x2='370' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='380' x2='380' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='390' x2='390' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='400' x2='400' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='410' x2='410' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='420' x2='420' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='430' x2='430' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='440' x2='440' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='450' x2='450' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='460' x2='460' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='470' x2='470' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='480' x2='480' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='490' x2='490' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='500' x2='500' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='510' x2='510' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='520' x2='520' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='530' x2='530' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='540' x2='540' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='550' x2='550' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='560' x2='560' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='570' x2='570' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='580' x2='580' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='590' x2='590' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='600' x2='600' y1='0' y2='10'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 0 601 10' preserveAspectRatio='none'%3E%3Cg stroke='black' stroke-width='1' vector-effect='non-scaling-stroke'%3E%3Cline vector-effect='non-scaling-stroke' x1='0' x2='0' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='10' x2='10' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='20' x2='20' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='30' x2='30' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='40' x2='40' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='50' x2='50' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='60' x2='60' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='70' x2='70' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='80' x2='80' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='90' x2='90' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='100' x2='100' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='110' x2='110' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='120' x2='120' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='130' x2='130' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='140' x2='140' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='150' x2='150' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='160' x2='160' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='170' x2='170' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='180' x2='180' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='190' x2='190' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='200' x2='200' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='210' x2='210' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='220' x2='220' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='230' x2='230' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='240' x2='240' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='250' x2='250' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='260' x2='260' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='270' x2='270' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='280' x2='280' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='290' x2='290' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='300' x2='300' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='310' x2='310' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='320' x2='320' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='330' x2='330' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='340' x2='340' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='350' x2='350' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='360' x2='360' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='370' x2='370' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='380' x2='380' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='390' x2='390' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='400' x2='400' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='410' x2='410' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='420' x2='420' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='430' x2='430' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='440' x2='440' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='450' x2='450' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='460' x2='460' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='470' x2='470' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='480' x2='480' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='490' x2='490' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='500' x2='500' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='510' x2='510' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='520' x2='520' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='530' x2='530' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='540' x2='540' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='550' x2='550' y1='0' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='560' x2='560' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='570' x2='570' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='580' x2='580' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='590' x2='590' y1='5' y2='10'/%3E%3Cline vector-effect='non-scaling-stroke' x1='600' x2='600' y1='0' y2='10'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.track-divider { width: min(100% - 2 * var(--gut), var(--wrap)); margin: var(--sec) auto 0; }
.hero-track { position: absolute; z-index: 3; left: var(--gut); bottom: 28px; width: min(420px, 50% - 2 * var(--gut)); height: 10px; }
.hero-track .track { position: absolute; inset: 0; color: var(--on-slate); }
.hero-track .track:first-child { opacity: .3; }
.hero-track .fill { clip-path: inset(0 100% 0 0); }
.hero.ticking .hero-track .fill { animation: sweep 7s steps(60, end) forwards; }
@keyframes sweep { to { clip-path: inset(0 0 0 0); } }
.ed-ticks { display: block; width: calc(var(--n) * 5px); height: 8px; margin-top: 10px;
  background: repeating-linear-gradient(90deg, var(--patina) 0 1px, transparent 1px 5px); }
.wp-intro .ed-ticks { width: calc(var(--n) * 7px); height: 12px; margin: 14px 0 -8px;
  background: repeating-linear-gradient(90deg, var(--patina) 0 1px, transparent 1px 7px); }
/* ---------- Tablet & phone ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .site-head { height: 68px; }
  .menu { inset-block-start: 68px; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wm-name { font-size: .9375rem; letter-spacing: .26em; margin-right: -.26em; }
  .head-link { display: none; } /* "Book an appointment" stays in the menu */

  .slide { grid-template-columns: 1fr; }
  .slide-photo { grid-column: 1; grid-row: 1; }
  .slide-photo::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(42, 44, 49, .92) 0%, rgba(42, 44, 49, .55) 38%, rgba(42, 44, 49, 0) 62%); }
  .slide-text { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding-bottom: 48px; padding-right: 64px; }
  .slide-text p { margin: 14px 0 24px; }
  .hero-track { bottom: 20px; width: calc(100% - 2 * var(--gut) - 64px); }

  .split, .split-rev, .col-head, .service, .ap-grid { grid-template-columns: 1fr; }
  .split-rev .split-media { grid-row: 1; }
  .split-text p { margin-bottom: 28px; }
  .col-head { margin-bottom: 36px; gap: 16px; }
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 8px 0; }
  .steps li { scroll-snap-align: start; }
  .service { gap: 20px; }
  .ap-form, .ap-done { grid-column: 1; grid-row: auto; }
  .field-row { grid-template-columns: 1fr; }
  .watch-page main { padding-top: 68px; }
  .wp-hero, .wp-story { grid-template-columns: 1fr; }
  .wp-hero { gap: 28px; margin-top: 20px; }
  .wp-story { gap: 20px; }
  .history-card { grid-template-columns: 1fr; gap: 28px; }
  .wp-specs dl { grid-template-columns: 1fr; }
  .wp-specs div { grid-template-columns: 8.5rem 1fr; }
  .tiles-3 { grid-template-columns: repeat(2, 1fr); }
  .nf { grid-template-columns: 1fr; min-height: 0; padding-block: 40px; }
  .nf-photo { display: none; }
}
@media (max-width: 420px) {
  .tiles { gap: 16px; }
  .tile-name { font-size: 1.0625rem; }
  .timeline li { grid-template-columns: 4.5rem 1fr; gap: 16px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (pointer: coarse) { :root { --tap: 44px; } .dots { gap: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
