/* Pony Express Dental concept. Tokens from concept/DESIGN.md (Pony Express adaptation). */
:root {
  --canvas: #ffffff;
  --surface: #f6f1ee;
  --ink: #3f332e;
  --muted: #6b5c55;
  --accent: #c16a00;
  --accent-fill: #a65a00;
  --accent-press: #8f4d00;
  --line: rgba(63, 51, 46, .14);
  --line-strong: rgba(63, 51, 46, .28);
  --display: 'Young Serif', Georgia, serif;
  --text: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1680px;
  --r: 18px;
  --r-sm: 12px;
  --sec: clamp(88px, 10vw, 160px);
  --hdr: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.h2 { font: 400 clamp(38px, 4.4vw, 72px)/1.04 var(--display); letter-spacing: -.015em; color: var(--ink); }
.lead { font-size: clamp(17px, 1.35vw, 22px); color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--fill { background: var(--accent-fill); color: #fff; }
.btn--fill:hover { background: var(--accent-press); box-shadow: 0 10px 24px -12px rgba(166, 90, 0, .7); }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--white { background: #fff; color: var(--accent-press); }
.btn--white:hover { background: #fff7ee; }
.btn--text { padding: 0 6px; min-height: 48px; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) left calc(100% - 12px) / 0 2px no-repeat; border-radius: 0; transition: background-size .35s var(--ease); }
.btn--text:hover { transform: none; background-size: calc(100% - 12px) 2px; }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

.tlink { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1.5px no-repeat; padding-bottom: 1px; transition: color .2s; }
.tlink:hover { color: var(--accent-fill); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background-color .35s, box-shadow .35s, height .35s; }
.hdr.is-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.hdr__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hdr__logo { justify-self: start; display: block; }
.hdr__logo img { height: 64px; width: auto; }
.hdr__cta { justify-self: end; }
.nav__list { display: flex; gap: clamp(6px, 1.2vw, 22px); }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 10px; font-size: 16.5px; font-weight: 500; color: var(--ink); border-radius: 999px; transition: background-color .2s; }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgba(63, 51, 46, .06); }
.nav__btn svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 260px; background: #fff; border-radius: var(--r); box-shadow: 0 24px 60px -24px rgba(63, 51, 46, .35), 0 0 0 1px var(--line); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.dd--wide { min-width: 480px; }
.dd--wide ul { display: grid; grid-template-columns: 1fr 1fr; }
.nav__item.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-size: 15.5px; transition: background-color .2s, color .2s; }
.dd a:hover { background: var(--surface); color: var(--accent-fill); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; justify-self: end; position: relative; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 45; background: #fff; padding: calc(var(--hdr) + 12px) var(--gutter) 32px; overflow-y: auto; opacity: 0; transition: opacity .3s var(--ease); }
.mnav.is-open { opacity: 1; }
.mnav__in { display: grid; gap: 0; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 400 28px/1.15 var(--display); cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-4px); transition: transform .3s; }
.mnav details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.mnav ul { padding: 0 0 14px; }
.mnav ul a { display: block; padding: 12px 0; text-decoration: none; font-size: 17px; color: var(--muted); }
.mnav .btn { margin-top: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr) + clamp(20px, 4vh, 56px)) 0 clamp(20px, 3vh, 40px); display: flex; isolation: isolate; }
.hero__shader { position: absolute; inset: 0 0 18% 0; z-index: -1; background: radial-gradient(60% 70% at 80% 10%, #fde3c6 0%, rgba(253, 227, 198, 0) 70%), radial-gradient(50% 60% at 10% 40%, #f8ece4 0%, rgba(248, 236, 228, 0) 70%), #fff; }
.hero__shader::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.hero__shader canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__in { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 64px); }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); align-items: end; }
.hero__h1 { font: 400 clamp(46px, 6.1vw, 112px)/.98 var(--display); letter-spacing: -.025em; color: var(--ink); max-width: 17ch; }
.hero__h1 .hl { color: var(--accent); }
.hero__side { display: grid; gap: 28px; padding-bottom: .6em; }
.hero__sub { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.55; color: var(--muted); max-width: 34ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__offices { flex: 1; min-height: 0; max-height: 52svh; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 24px); }
.ocard { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 240px; }
.ocard__img { display: block; overflow: hidden; border-radius: var(--r); height: 100%; width: 100%; background: var(--surface); }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .8s var(--ease); }
.ocard__img:hover img { transform: scale(1.03); }
.ocard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px 0; border-top: 0; }
.ocard__name { font: 400 clamp(20px, 1.6vw, 28px)/1.1 var(--display); }
.ocard__tel { font-weight: 500; text-decoration: none; color: var(--muted); padding: 6px 0; transition: color .2s; }
.ocard__tel:hover { color: var(--accent-fill); }

/* ---------- relay (signature) ---------- */
.relay { position: relative; background: var(--surface); }
.relay__pin { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 24px) 0 32px; }
.relay__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(24px, 4vw, 80px); margin-bottom: clamp(24px, 3.5vh, 44px); }
.relay__head .h2 { white-space: nowrap; }
.trail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 64px; }
.trail__line { position: absolute; left: 0; right: 0; top: 64px; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.trail__done { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.trail__rider { position: absolute; top: 6px; left: 0; width: 98px; height: auto; transform: translateX(-12px); will-change: transform; pointer-events: none; }
.stop { position: relative; text-align: left; padding: 22px 0 6px; min-height: 48px; }
.stop:nth-of-type(2) { text-align: center; }
.stop:nth-of-type(3) { text-align: right; }
.stop__dot { position: absolute; top: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .3s, background-color .3s; }
.stop:nth-of-type(1) .stop__dot { left: 0; }
.stop:nth-of-type(2) .stop__dot { left: calc(50% - 8px); }
.stop:nth-of-type(3) .stop__dot { right: 0; }
.stop.is-on .stop__dot, .stop.is-past .stop__dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(193, 106, 0, .18); }
.stop__name { font: 400 clamp(18px, 1.5vw, 26px)/1.2 var(--display); color: var(--muted); transition: color .3s; }
.stop.is-on .stop__name, .stop:hover .stop__name { color: var(--ink); }

.stations { display: grid; }
.station { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 80px); align-items: center; visibility: hidden; opacity: 0; }
.station.is-on { visibility: visible; opacity: 1; }
.station__name { font: 400 clamp(34px, 3.3vw, 56px)/1.05 var(--display); letter-spacing: -.015em; margin-bottom: 12px; }
.station__desc { color: var(--muted); max-width: 46ch; margin-bottom: 16px; font-size: 16px; }
.rows > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; color: var(--ink); }
.rows dd { color: var(--ink); }
.hours { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.hours span:nth-child(odd) { color: var(--muted); }
.station__btns { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; }
.station__media { position: relative; padding-bottom: 48px; padding-left: 56px; }
.station__big { border-radius: var(--r); overflow: hidden; height: clamp(300px, calc(100svh - 400px), 620px); background: #e9e1dc; }
.station__big img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.station__inset { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; box-shadow: 0 0 0 6px var(--surface); }
.station__inset img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- what makes us different ---------- */
.diff { padding: var(--sec) 0 calc(var(--sec) * .8); }
.diff__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 96px); align-items: start; margin-bottom: clamp(40px, 6vw, 88px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.diff__quote { font: 400 clamp(28px, 2.8vw, 48px)/1.22 var(--display); letter-spacing: -.01em; max-width: 26ch; }
.strip { overflow: hidden; cursor: grab; touch-action: pan-y; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); user-select: none; }
.strip.is-drag { cursor: grabbing; }
.strip__track { display: flex; gap: clamp(12px, 1.4vw, 24px); width: max-content; padding-right: var(--gutter); will-change: transform; }
.strip__item { height: clamp(260px, 30vw, 480px); border-radius: var(--r); overflow: hidden; flex: none; aspect-ratio: 1 / 1.02; background: var(--surface); }
.strip__item--w { aspect-ratio: 3 / 2; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s var(--ease); }
.strip__item:hover img { transform: scale(1.03); }
.strip__ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: #fff; transition: background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.arrow:hover { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.arrow:hover svg { stroke: #fff; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arrow:disabled { opacity: .35; pointer-events: none; }

/* ---------- services ---------- */
.svc { background: var(--surface); padding: var(--sec) 0; }
.svc__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.svc__side { display: grid; gap: clamp(28px, 3vw, 48px); }
.svc__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.svc__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); }
.svc__list li { position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform-origin: left; transform: scaleX(var(--s, 1)); }
.svc__list a, .fin__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 1.8vw, 26px) 0; text-decoration: none; font: 400 clamp(22px, 1.9vw, 32px)/1.15 var(--display); transition: color .25s; }
.svc__list a span, .fin__list a span { transition: transform .35s var(--ease); }
.svc__list i, .fin__list i { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.svc__list i::after, .fin__list i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateX(-2px) rotate(45deg); transition: border-color .3s; }
.svc__list a:hover, .fin__list a:hover { color: var(--accent-fill); }
.svc__list a:hover span, .fin__list a:hover span { transform: translateX(6px); }
.svc__list a:hover i, .fin__list a:hover i { background: var(--accent-fill); box-shadow: none; }
.svc__list a:hover i::after, .fin__list a:hover i::after { border-color: #fff; }

/* ---------- virtual consultation ---------- */
.virt { padding: var(--sec) 0; }
.virt__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 104px); align-items: center; }
.virt__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; max-height: 78vh; }
.virt__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.virt__h { font-size: clamp(22px, 2.8vw, 60px); letter-spacing: .01em; }
.virt__body .lead { margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); margin: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); position: relative; padding-top: 34px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.steps__n { display: block; font: 400 clamp(44px, 4vw, 68px)/1 var(--display); color: var(--accent); margin-bottom: 14px; }
.steps p { font-size: 17px; line-height: 1.5; max-width: 22ch; }

/* ---------- reviews ---------- */
.love { padding: var(--sec) 0; background: var(--surface); }
.love .h2 { margin-bottom: clamp(36px, 4vw, 64px); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, auto); gap: clamp(12px, 1.4vw, 24px); }
.quote { background: #fff; border-radius: var(--r); padding: clamp(26px, 2.4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 100%; }
.quote p { font-size: 17px; line-height: 1.65; }
.quote footer { font: 400 20px/1.2 var(--display); color: var(--accent-fill); display: flex; align-items: center; gap: 12px; }
.quote footer::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.mosaic__ph { border-radius: var(--r); overflow: hidden; min-height: 300px; }
.mosaic__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic__ph:hover img { transform: scale(1.03); }
.mosaic > :nth-child(1) { order: 1; } .mosaic > :nth-child(2) { order: 2; } .mosaic > :nth-child(3) { order: 3; }
.mosaic > :nth-child(4) { order: 4; } .mosaic > :nth-child(5) { order: 5; } .mosaic > :nth-child(6) { order: 6; }

/* ---------- team ---------- */
.team { padding: var(--sec) 0; }
.team__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.team__ctrl { display: flex; align-items: center; gap: 10px; }
.team__ctrl .btn--text { margin-right: 14px; }
.doc { flex: none; width: clamp(240px, 20vw, 320px); }
.doc a { display: block; text-decoration: none; }
.doc__ph { display: block; aspect-ratio: 1 / 1.12; border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 16px; }
.doc__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; transition: transform .8s var(--ease); }
.doc a:hover .doc__ph img { transform: scale(1.03); }
.doc__name { display: block; font: 400 22px/1.2 var(--display); transition: color .2s; }
.doc a:hover .doc__name { color: var(--accent-fill); }
.doc__loc { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; }

/* ---------- financial ---------- */
.fin { padding: 0 0 var(--sec); }
.fin__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 96px); padding-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line); }
.fin__list li { border-bottom: 1px solid var(--line-strong); }
.fin__list li:first-child { border-top: 1px solid var(--line-strong); }

/* ---------- contact ---------- */
.touch { padding: 0 0 var(--sec); }
.touch__block { background: var(--accent-fill); color: #fff; border-radius: calc(var(--r) * 1.6); padding: clamp(32px, 5vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); }
.touch .h2 { color: #fff; margin-bottom: 20px; }
.touch__copy > p { font-size: clamp(17px, 1.35vw, 22px); max-width: 38ch; }
.touch__tels { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .3); }
.touch__tels li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.touch__tels a { color: #fff; font-weight: 600; text-decoration: none; }
.touch__tels a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.f { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.f--full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { width: 100%; min-height: 54px; border: 0; border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 400 17px/1.4 var(--text); padding: 14px 16px; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 3px solid #ffd7a6; outline-offset: 2px; }
.f.is-bad input { box-shadow: 0 0 0 3px #ffd7a6; }
.form__note { margin-top: 16px; font-size: 15.5px; min-height: 1.4em; }

/* ---------- footer ---------- */
.foot { padding: 0 0 40px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 3vw, 56px); padding-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line); }
.foot__brand img { height: 96px; width: auto; margin-bottom: 20px; }
.foot__brand p { color: var(--muted); max-width: 34ch; font-size: 16px; }
.foot__col h3 { font: 400 22px/1.2 var(--display); margin-bottom: 12px; }
.foot__col p { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.foot__col a { display: block; width: fit-content; padding: 5px 0; font-size: 16px; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left 85% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.foot__col a:hover { background-size: 100% 1.5px; }
.foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: clamp(48px, 5vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot__links a { text-decoration: none; padding: 6px 0; }
.foot__links a:hover { color: var(--accent-fill); }

/* ---------- mobile bar + sheet ---------- */
.mbar { display: none; }
.sheet { border: 0; padding: 0; border-radius: 24px; width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(63, 51, 46, .5); }
.sheet::backdrop { background: rgba(40, 30, 26, .45); }
.sheet__in { padding: 28px; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sheet__h { font: 400 30px/1.1 var(--display); }
.sheet__x { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.sheet__x svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.sheet__list li { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.sheet__list li div { grid-column: 1 / -1; display: grid; }
.sheet__list strong { font: 400 22px/1.2 var(--display); font-weight: 400; }
.sheet__list span { color: var(--muted); font-size: 15px; }

/* ---------- motion helpers ---------- */
.js .hero__h1 .line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-enter] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr__in { grid-template-columns: 1fr auto auto; }
  .hdr__cta { margin-right: 4px; }
  .hero__copy { grid-template-columns: 1fr; gap: 24px; }
  .hero__h1 { max-width: 16ch; }
  .ocard__meta { flex-direction: column; gap: 2px; align-items: start; }
  .relay__head { grid-template-columns: 1fr; }
  .station { grid-template-columns: 1fr 1.1fr; }
  .svc__list { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; }
  .foot__brand img { margin: 0; }
}
@media (max-width: 900px) {
  :root { --hdr: 76px; }
  .hdr__logo img { height: 48px; }
  .relay__pin { min-height: 0; padding: var(--sec) 0; }
  .station { grid-template-columns: 1fr; gap: 28px; }
  .station__media { order: -1; padding-left: 0; padding-bottom: 0; }
  .station__big { height: auto; aspect-ratio: 3 / 2; }
  .station__inset { display: none; }
  .diff__head, .svc__in, .virt__in, .fin__in, .touch__block { grid-template-columns: 1fr; }
  .virt__photo { aspect-ratio: 3 / 2; max-height: none; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic__ph { min-height: 220px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hdr__cta { display: none; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .hero { min-height: auto; padding-bottom: 24px; }
  .hero__in { gap: 28px; }
  .hero__h1 { font-size: clamp(40px, 11.4vw, 60px); }
  .hero__btns .btn { width: 100%; }
  .hero__offices { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .hero__offices::-webkit-scrollbar { display: none; }
  .ocard { scroll-snap-align: start; }
  .hero__offices { max-height: none; }
  .ocard { min-height: 0; }
  .ocard__img { height: auto; aspect-ratio: 4 / 3; }
  .ocard__meta { flex-direction: column; gap: 0; }
  .trail { padding-top: 56px; }
  .trail__line { top: 56px; }
  .trail__rider { width: 74px; top: 8px; }
  .stop__name { font-size: 17px; }
  .rows > div { grid-template-columns: 1fr; gap: 4px; }
  .station__btns .btn--fill { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; }
  .steps__n { margin: 0; font-size: 40px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic > :nth-child(2), .mosaic > :nth-child(6) { display: none; }
  .team__head { flex-direction: column; align-items: start; }
  .doc { width: 72vw; }
  .form__grid { grid-template-columns: 1fr; }
  .touch__block .btn { width: 100%; }
  .touch { padding-bottom: calc(var(--sec) * .7); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__brand { display: block; }
  .foot__brand img { margin-bottom: 18px; height: 80px; }
  .foot { padding-bottom: 110px; }
  .strip__ctrl { justify-content: flex-start; }
  .mbar { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; padding: 8px; background: var(--ink); border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(63, 51, 46, .6); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar__btn { min-height: 50px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 16px; background: rgba(255, 255, 255, .1); }
  .mbar__btn--fill { background: var(--accent-fill); }
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 88svh; }
  .sheet__in { padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-enter] { opacity: 1; }
}

/* ---------- browser surfaces ---------- */
::selection { background: #fde3c6; color: var(--ink); }
.touch ::selection { background: #fff7ee; color: var(--accent-press); }
input, textarea, select { caret-color: var(--accent-fill); accent-color: var(--accent-fill); }
html { scrollbar-color: rgba(63, 51, 46, .35) #f6f1ee; }
.steps__n, .ocard__tel, .touch__tels a, .hours { font-variant-numeric: tabular-nums lining-nums; }
