:root {
  --ink: #222326;
  --ink-80: rgba(34, 35, 38, 0.8);
  --ink-60: rgba(34, 35, 38, 0.68);
  --line: rgba(34, 35, 38, 0.14);
  --grey: #c4c6ca;
  --pale: #f3f3f3;
  --white: #fff;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", "Times New Roman", serif;
  --pad: clamp(16px, 2.8vw, 40px);
  --offset: 26.4%;
  --section: clamp(72px, 9vw, 140px);
  --radius: clamp(12px, 1.4vw, 20px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 40;
  padding: 10px 16px; background: var(--white); color: var(--ink);
}
.skip:focus { top: 12px; }

/* Shared type */
.display {
  font-weight: 500;
  font-size: clamp(50px, 8.1vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.display--cta { font-size: clamp(46px, 6.4vw, 100px); }
.title {
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 82px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.statement {
  font-weight: 500;
  font-size: clamp(30px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-indent: 17%;
}
.lead { max-width: 30em; margin-top: 28px; color: var(--ink-80); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.4; }
.label { position: relative; padding-left: 12px; font-size: 15px; color: var(--ink-80); }
.label::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}
.head { display: grid; grid-template-columns: var(--offset) 1fr; margin-bottom: clamp(48px, 6vw, 88px); }

/* The parenthesised text button is the template's signature control. */
.paren { display: inline-block; font-size: 18px; font-weight: 500; white-space: nowrap; color: var(--white); }
.paren::before { content: "( "; display: inline-block; white-space: pre; transition: transform 0.25s; }
.paren::after { content: " )"; display: inline-block; white-space: pre; transition: transform 0.25s; }
.paren:hover::before { transform: translateX(-5px); }
.paren:hover::after { transform: translateX(5px); }
.paren--dark { color: var(--ink); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 88px; padding-inline: var(--pad);
  color: var(--white);
  transition: background-color 0.3s, min-height 0.3s;
}
.header.is-solid { min-height: 72px; background: var(--ink); }
.logo { font-size: 26px; font-weight: 400; letter-spacing: 0.01em; white-space: nowrap; }
.header__nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: 16px; font-weight: 500; }
.header__nav > a:not(.paren) { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
.header__nav > a:not(.paren):hover { color: var(--white); }
.header__book { margin-left: clamp(8px, 2vw, 32px); font-size: 17px; }
.header__toggle { display: none; font-weight: 500; }

/* Hero */
.hero, .cta { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero { min-height: 100svh; }
.hero::after, .cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0.62) 0%, rgba(10, 10, 12, 0.28) 42%, rgba(10, 10, 12, 0) 66%);
}
.hero__bg, .cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg { object-position: 50% 20%; animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) var(--intro) both; }
.hero__inner, .cta__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  padding: 118px var(--pad) clamp(40px, 5vw, 72px);
}
.hero__inner { min-height: 100svh; }
.line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.line > span { display: block; animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--intro) both; }
.line:nth-child(2) > span { animation-delay: calc(var(--intro) + 0.09s); }
.line:nth-child(3) > span { animation-delay: calc(var(--intro) + 0.18s); }
.hero__cta { max-width: 400px; margin-left: var(--offset); }
.hero__cta p { margin-bottom: 26px; color: rgba(255, 255, 255, 0.88); font-size: clamp(16px, 1.25vw, 19px); }

/* Opening screen: 2 seconds, then it slides up and the hero animates in. */
:root { --intro: 2.25s; }
.is-loading body { overflow: hidden; }
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: var(--pad);
  background: var(--ink); color: var(--white);
  animation: loader-out 0.8s cubic-bezier(0.7, 0, 0.2, 1) 2s forwards;
}
.loader__brand { overflow: hidden; padding-bottom: 0.08em; font-size: clamp(44px, 9vw, 140px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.loader__brand > span { display: block; animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
.loader__meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 4vw, 48px);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.loader__meta em { font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.14); }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: loader-fill 2s linear both; }
@keyframes loader-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes loader-fade { to { opacity: 0; visibility: hidden; } }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes review-loop { to { transform: translateX(-50%); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* About: owner asked for a Roman serif here, 18pt heading and 14pt text (24px / ~19px). */
.info, .doctors, .contacts { position: relative; padding: var(--section) var(--pad); }
.info > .label { position: absolute; top: calc(var(--section) + 8px); left: var(--pad); }
.info__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); margin-left: var(--offset); }
.info__text { font-family: "PT Serif", "Times New Roman", serif; color: var(--ink); }
.info__text h2 { margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: 1.25; }
.info__text p { font-size: 18.67px; line-height: 1.6; }
.info__text p + p { margin-top: 16px; }
.info__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: start; }
.info__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* Grey stage */
.grey { background: var(--grey); }
.services, .why, .reviews, .school { padding: var(--section) var(--pad) 0; }
.reviews { padding-bottom: var(--section); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.card { min-width: 0; }
.card a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  min-height: clamp(280px, 23vw, 340px);
  padding: 18px;
  background: var(--white); border-radius: var(--radius);
  transition: background-color 0.3s, color 0.3s;
}
.card img { width: 36%; min-width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.card__plus, .card__book { position: absolute; top: 18px; right: 18px; font-size: 16px; font-weight: 500; transition: opacity 0.25s; }
.card__book { opacity: 0; }
.card__no { margin-top: auto; color: var(--ink-60); font-size: 15px; transition: color 0.3s; }
.card h3 { margin-top: 8px; font-size: clamp(25px, 2.3vw, 35px); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; overflow-wrap: anywhere; hyphens: auto; }
.card a:hover { background: var(--ink); color: var(--white); }
.card a:hover .card__plus { opacity: 0; }
.card a:hover .card__book { opacity: 1; }
.card a:hover .card__no { color: rgba(255, 255, 255, 0.7); }
/* Empty cells give the grid its staggered rhythm. */
.card--gap { grid-column-end: span 1; }
.cards .card:nth-child(1) { grid-column: 1; }
.cards .card:nth-child(2) { grid-column: 3; }
.cards .card:nth-child(3) { grid-column: 4; }
.cards .card:nth-child(4) { grid-column: 1; }
.cards .card:nth-child(5) { grid-column: 2; }
.cards .card:nth-child(6) { grid-column: 4; }
.cards .card:nth-child(7) { grid-column: 2; }
.cards .card:nth-child(8) { grid-column: 3; }
.cards .card:nth-child(9) { grid-column: 4; }

/* Why stack */
.stack { padding-bottom: clamp(8px, 2vw, 24px); }
.stack__card + .stack__card { margin-top: clamp(20px, 3vw, 44px); }
.stack__card {
  position: sticky; top: calc(84px + var(--i, 0) * 14px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: min(620px, calc(100svh - 124px));
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 -8px 28px rgba(34, 35, 38, 0.08);
  transform-origin: center top;
}
.stack__card:nth-child(1) { --i: 0; }
.stack__card:nth-child(2) { --i: 1; }
.stack__card:nth-child(3) { --i: 2; }
.stack__card:nth-child(4) { --i: 3; }
.stack__card:nth-child(5) { --i: 4; }
.stack__card:nth-child(6) { --i: 5; }
.stack__ghost {
  position: absolute; top: clamp(4px, 1vw, 16px); left: -0.04em; right: 0;
  color: var(--pale);
  font-size: clamp(64px, 11.4vw, 176px);
  font-weight: 500; line-height: 1; letter-spacing: -0.04em; white-space: nowrap;
  user-select: none;
}
.stack__top { position: relative; max-width: 560px; }
.stack__top h3 { font-size: clamp(32px, 3.6vw, 54px); font-weight: 500; line-height: 1.04; letter-spacing: -0.03em; }
.stack__top p { max-width: 34em; margin-top: 22px; color: var(--ink-80); font-size: clamp(16px, 1.2vw, 18px); }
.stack__bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stack__no { color: #e8e8e8; font-size: clamp(64px, 9vw, 136px); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(100%, 760px); }
.pair figure { position: relative; }
.pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.pair figcaption {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 500;
}
.pair figure + figure figcaption { background: var(--ink); color: var(--white); }
.works__more { padding-top: clamp(28px, 3vw, 44px); }

/* Reviews */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
/* contain: size stops the tall photos from stretching their row; they fill the row the review cards set. */
.bento__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius); contain: size; aspect-ratio: auto; }
.bento__img--wide { grid-column: span 2; }
.score { grid-column: span 2; }
.bento__reviews, .bento__track { display: contents; }
.review.review--clone { display: none; }
.review, .score {
  display: flex; flex-direction: column; min-height: 320px;
  padding: 20px;
  background: var(--white); border-radius: var(--radius);
}
.review__stars { margin-bottom: 18px; font-size: 22px; line-height: 1; letter-spacing: 0.04em; }
.review p:not(.review__stars) { color: var(--ink-80); font-size: 17px; }
.review footer { display: grid; gap: 2px; margin-top: auto; padding-top: 24px; font-size: 15px; }
.review strong { font-weight: 500; }
.review span { color: var(--ink-60); }
.score { background: var(--ink); color: var(--white); transition: background-color 0.25s; }
.score:hover { background: #33353a; }
.score strong { font-size: clamp(64px, 7vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.score > span:first-of-type { margin-top: 12px; color: rgba(255, 255, 255, 0.8); }
.score .paren { margin-top: auto; padding-top: 24px; }

/* Doctors */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.stats > div { padding: 22px 20px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { color: var(--ink-60); font-size: 15px; }
.stats dd { margin: 6px 0 0; font-size: clamp(44px, 5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.doctors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.doc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; padding: 18px; background: var(--pale); border-radius: var(--radius); }
.doc__img { width: 100%; aspect-ratio: 484 / 668; object-fit: cover; border-radius: 10px; }
.doc__body h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }
.doc__role { margin-top: 12px; font-size: 16px; font-weight: 500; }
.doc__body > p:not(.doc__role) { margin-top: 16px; color: var(--ink-80); }
.doc__body ul { margin-top: 18px; }
.doc__body li { padding-block: 8px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.doc__body li:last-child { border-bottom: 1px solid var(--line); }
.doc__body .paren { margin-top: 22px; font-size: 16px; }

/* School */
.school { padding: 0 var(--pad) var(--section); }
.school__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(24px, 4vw, 64px); }
.school__row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.school__list li { padding-block: 16px; border-top: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; letter-spacing: -0.015em; }
.school__list li:last-child { border-bottom: 1px solid var(--line); }
.school__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; }

/* Contacts */
.contacts { padding-top: 0; }
.contacts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 44px); }
.contacts__item { padding-top: 20px; border-top: 1px solid var(--line); }
.contacts__item h3 { margin-bottom: 18px; color: var(--ink-60); font-size: 15px; font-weight: 400; }
.contacts__item > a:not(.paren) { display: block; margin-bottom: 10px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contacts__item > a:not(.paren):hover { text-decoration: underline; text-underline-offset: 4px; }
.contacts__item p { margin-bottom: 10px; color: var(--ink-80); font-size: 17px; }
.contacts__item .paren { margin-top: 6px; font-size: 16px; }

/* CTA: text on the left, the doctor's photo on the right. */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cta::after { content: none; }
.cta__inner { min-height: clamp(560px, 50vw, 760px); }
.cta__bg { position: static; height: 100%; min-height: 100%; object-position: 40% 30%; }
.cta .hero__cta { margin-left: 0; }

/* Footer */
.footer { padding: clamp(40px, 5vw, 64px) var(--pad) 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px clamp(20px, 3vw, 44px); }
.footer__logo { font-size: clamp(38px, 5.2vw, 76px); line-height: 1; letter-spacing: 0.005em; margin-bottom: 10px; }
.footer h2 { margin-bottom: 26px; color: var(--ink-60); font-size: 16px; font-weight: 400; }
.footer nav a, .footer__top > div > a { display: block; margin-bottom: 14px; font-size: 17px; font-weight: 500; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(40px, 5vw, 64px); color: var(--ink-60); font-size: 15px; }
.footer__bottom .footer__credit { display: inline; margin: 0; color: var(--ink); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

.mobile-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .line > span, .loader__brand > span, .loader__bar::after { animation: none; }
  .loader { animation: loader-fade 0.4s ease 2s forwards; }
}

/* Tablet */
@media (max-width: 1080px) {
  .header { min-height: 68px; }
  .header.is-solid, .header.is-open { min-height: 68px; background: var(--ink); }
  .header__toggle { display: block; }
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 20px var(--pad) 32px;
    background: var(--ink); font-size: 20px;
  }
  .header.is-open .header__nav { display: flex; }
  .header__book { margin: 8px 0 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards .card:nth-child(n) { grid-column: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score { grid-column: span 1; }
  .info__grid { margin-left: 0; }
  .doctors__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school__row { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }
  body { padding-bottom: 56px; }
  .logo { font-size: 22px; }
  .head { grid-template-columns: 1fr; gap: 18px; }
  .statement { text-indent: 0; }
  .info > .label { position: static; margin-bottom: 18px; }
  .info__grid { grid-template-columns: 1fr; }
  .info__text p { font-size: 17px; }
  .hero__cta { margin-left: 0; }
  /* Phones: photo on top, text below it, so words never cover the face. */
  .hero { --fade: #0b0908; background: var(--fade); }
  .hero__bg { inset: 0 0 auto 0; height: 58%; object-position: 50% 30%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 40%, var(--fade) 58%);
  }
  .hero__inner, .cta__inner { justify-content: flex-end; gap: 22px; }
  .hero__inner { padding-bottom: 84px; }
  .cta { grid-template-columns: 1fr; }
  .cta__bg { order: -1; height: auto; aspect-ratio: 4 / 3; object-position: 50% 12%; }
  .cta__inner { min-height: 0; padding-top: 32px; }
  .display, .display--cta { font-size: clamp(38px, 11.6vw, 50px); }
  .cards { grid-template-columns: 1fr; }
  .card a { min-height: 236px; }
  .card img { width: 96px; }
  /* Phones: cards pin in place and slide in from the right as the page scrolls. */
  .is-pinned { --card-h: 350px; }
  .is-pinned .cards {
    position: sticky;
    top: max(76px, calc(68px + (100svh - 124px - var(--card-h)) / 2));
    display: block;
    height: var(--card-h);
    margin-inline: calc(var(--pad) * -1);
    overflow: hidden;
    overflow: clip;
  }
  .is-pinned .cards .card {
    position: absolute; inset: 0 var(--pad);
    will-change: transform;
  }
  .is-pinned .card a { min-height: 0; box-shadow: -10px 0 28px rgba(34, 35, 38, 0.12); }
  .is-pinned .card img { width: 56%; }
  /* Same height on every card, so a shorter one still fully covers the one before it. */
  .stack__card { top: calc(76px + var(--i, 0) * 10px); min-height: 520px; gap: 24px; }
  .stack__ghost { display: none; }
  .stack__no { display: none; }
  .pair { width: 100%; }
  .pair figcaption { left: 6px; top: 6px; padding: 2px 8px; font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .bento__img--wide { grid-column: auto; }
  .bento__img { min-height: 0; height: auto; aspect-ratio: 16 / 11; contain: none; }
  .review, .score { min-height: 260px; }
  /* Phones: reviews run right to left in one looping row. */
  .bento__reviews {
    display: block; min-width: 0;
    margin-inline: calc(var(--pad) * -1);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .bento__reviews::-webkit-scrollbar { display: none; }
  .bento__track { display: flex; width: max-content; padding-inline: var(--pad); }
  .bento__track .review { flex: none; width: min(80vw, 300px); margin-right: 8px; }
  .is-looping { overflow: hidden; }
  .is-looping .bento__track { padding-inline: 0; animation: review-loop 32s linear infinite; }
  .is-looping .review.review--clone { display: flex; }
  .is-looping:active .bento__track { animation-play-state: paused; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats dd { font-size: 40px; }
  .doc { grid-template-columns: 1fr; }
  .doc__img { aspect-ratio: 4 / 5; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 25;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--ink); color: var(--white);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 500; }
  .mobile-bar a:last-child { background: var(--white); color: var(--ink); }
}
