@layer tokens, base, layout, components, utilities;

/* ------------------------------------------------------------------ tokens */
@layer tokens {
  @font-face {
    font-family: "Newsreader";
    src: url("../assets/fonts/newsreader-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: "Public Sans";
    src: url("../assets/fonts/public-sans-var.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
  }
  /* fallback matched so the swap does not shift layout */
  @font-face {
    font-family: "Public Sans Fallback";
    src: local("Helvetica Neue"), local("Arial");
    size-adjust: 100.4%;
    ascent-override: 92%;
    descent-override: 24%;
    line-gap-override: 0%;
  }

  :root {
    /* the practice's rose (#ef4469) kept as hue, dropped in chroma so it can
       carry text weight and act as a signal rather than a slab */
    --rose: oklch(0.52 0.15 14);
    --rose-quiet: oklch(0.82 0.06 14);
    --rose-wash: oklch(0.965 0.018 20);

    --ink: oklch(0.21 0.014 45);
    --ink-soft: oklch(0.38 0.012 45);
    --ink-mute: oklch(0.49 0.011 45);
    --paper: oklch(0.978 0.006 75);
    --surface: oklch(0.955 0.009 70);
    --surface-deep: oklch(0.20 0.013 45);
    --border: oklch(0.86 0.011 60);
    --border-strong: oklch(0.72 0.013 55);
    --focus: oklch(0.45 0.16 14);

    --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
    --step-0: clamp(1.02rem, 0.99rem + 0.16vw, 1.13rem);
    --step-1: clamp(1.22rem, 1.14rem + 0.38vw, 1.45rem);
    --step-2: clamp(1.54rem, 1.34rem + 0.95vw, 2.15rem);
    --step-3: clamp(2.05rem, 1.55rem + 2.45vw, 3.60rem);

    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
    --s-9: 96px; --s-10: 128px;

    --radius: 2px;
    --measure: 62ch;
    --enter: cubic-bezier(0.16, 1, 0.3, 1);
    --hover: cubic-bezier(0.2, 0, 0, 1);
  }
}

/* -------------------------------------------------------------------- base */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  :where(h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
  :where(ul[class], ol[class]) { padding: 0; list-style: none; }
  :where(nav ul, .site-foot ul) { padding: 0; list-style: none; }
  dialog { margin: auto; }        /* the reset above must not steal UA centring */

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    scroll-padding-bottom: 96px;  /* clears the mobile call bar */
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Public Sans", "Public Sans Fallback", system-ui, sans-serif;
    font-size: var(--step-0);
    font-weight: 400;
    line-height: 1.6;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
  }
  @media (max-width: 979px) { body { padding-bottom: 76px; } }

  img, picture, svg, iframe { display: block; max-width: 100%; }
  .icon {
    display: inline-block;
    vertical-align: -2px;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  h1, h2, h3 {
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
  }
  h1 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -0.025em; }
  h2 { font-size: var(--step-2); }
  h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
  p { max-width: var(--measure); }

  a { color: inherit; }
  main a:not([class]) {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
    text-decoration-color: var(--rose-quiet);
    transition: text-decoration-color 150ms var(--hover);
  }
  main a:not([class]):hover { text-decoration-color: var(--rose); }

  :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 1px;
  }
  ::selection { background: var(--rose-wash); color: var(--ink); }
  :root { caret-color: var(--rose); accent-color: var(--rose); }

  .tel, .num, td, time { font-variant-numeric: tabular-nums; }

  .skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: var(--s-3) var(--s-4);
    z-index: 60;
  }
  .skip:focus { left: var(--s-4); top: var(--s-2); }
}

/* ------------------------------------------------------------------ layout */
@layer layout {
  .layout__content,
  .section:not(.layout__content) > * {
    width: min(1240px, 100% - clamp(40px, 8vw, 96px));
    margin-inline: auto;
  }
  .section { padding-block: clamp(56px, 8vw, 128px); }
  .section--tight { padding-block: clamp(40px, 5vw, 72px); }
  .section--dark { background: var(--surface-deep); color: var(--paper); }
  .section--dark h2 { color: var(--paper); }
  .section--wash { background: var(--surface); }
  .prose { max-width: 68ch; }
  .prose > * + * { margin-top: var(--s-4); }
  .prose h3 { margin-top: var(--s-7); }
  .prose ul { list-style: disc; padding-left: 1.2em; color: var(--ink-soft); }
  .prose li + li { margin-top: var(--s-2); }
  .prose li { max-width: var(--measure); }
  .bring { list-style: disc; padding-left: 1.2em; color: var(--ink-soft); }
  .bring li + li { margin-top: var(--s-2); }
  .lede { font-size: var(--step-1); line-height: 1.4; color: var(--ink-soft); }
}

/* -------------------------------------------------------------- components */
@layer components {

  /* --- masthead ---------------------------------------------------------- */
  .site-head {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in oklab, var(--paper) 92%, transparent);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .site-head__bar {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    min-height: 78px;
    padding-block: var(--s-3);
  }
  .wordmark { text-decoration: none; display: grid; gap: 2px; line-height: 1; }
  .wordmark__script {
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
  }
  .wordmark__rule { display: block; height: 1px; background: var(--rose-quiet); }
  .wordmark__caps {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-mute);
  }
  .wordmark__caps span { letter-spacing: 0.12em; }

  .site-nav { margin-left: auto; }
  .site-nav ul { display: flex; gap: var(--s-6); }
  .site-nav a {
    text-decoration: none;
    font-size: var(--step--1);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-block: var(--s-2);
    border-bottom: 1px solid transparent;
    transition: color 150ms var(--hover), border-color 150ms var(--hover);
  }
  .site-nav a:hover { color: var(--ink); border-bottom-color: var(--rose-quiet); }
  .site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rose); }

  .site-head__actions { display: flex; align-items: center; gap: var(--s-4); }
  .site-head__actions .tel {
    text-decoration: none;
    font-size: var(--step--1);
    color: var(--ink-soft);
  }
  .site-head__actions .tel:hover { color: var(--rose); }

  .menu-toggle {
    display: none;
    margin-left: auto;
    align-items: center;
    gap: var(--s-2);
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--ink);
    font: inherit;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px var(--s-3);
    min-height: 44px;
    cursor: pointer;
  }
  .menu-toggle__lines {
    position: relative;
    width: 16px;
    height: 9px;
  }
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 240ms var(--enter);
  }
  .menu-toggle__lines::before { top: 0; }
  .menu-toggle__lines::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    transform: translateY(-4px) rotate(-45deg);
  }
  .menu-toggle__label { min-width: 4.2ch; text-align: left; }

  .mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 35;
    display: block;
    width: min(360px, 84vw);
    padding: calc(78px + var(--s-6)) var(--s-6) var(--s-8);
    background: var(--paper);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(101%);
    visibility: hidden;
    box-shadow: -1px 0 2px oklch(0.21 0.014 45 / 0.04),
                -18px 0 44px -20px oklch(0.21 0.014 45 / 0.22);
    transition: transform 280ms var(--enter), visibility 0s linear 280ms;
  }
  .mobile-nav[data-open] {
    transform: none;
    visibility: visible;
    transition: transform 280ms var(--enter);
  }
  .mobile-nav__list { list-style: none; padding: 0; margin: 0; }
  .mobile-nav li { border-bottom: 1px solid var(--border); }
  .mobile-nav a {
    display: block;
    padding: var(--s-4) 0;
    text-decoration: none;
    font-size: var(--step-2);
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    transform: translateX(12px);
    opacity: 0;
    transition: transform 320ms var(--enter), opacity 320ms var(--enter);
  }
  .mobile-nav[data-open] a { transform: none; opacity: 1; }
  .mobile-nav[data-open] li:nth-child(1) a { transition-delay: 60ms; }
  .mobile-nav[data-open] li:nth-child(2) a { transition-delay: 100ms; }
  .mobile-nav[data-open] li:nth-child(3) a { transition-delay: 140ms; }
  .mobile-nav[data-open] li:nth-child(4) a { transition-delay: 180ms; }
  .mobile-nav__tel {
    display: inline-block;
    margin-top: var(--s-6);
    font-size: var(--step-1);
    text-decoration: none;
    border-bottom: 1px solid var(--rose-quiet);
    padding-bottom: 2px;
  }
  @media (max-width: 979px) {
    .site-nav, .site-head__actions { display: none; }
    .menu-toggle { display: flex; }
  }

  /* --- buttons ----------------------------------------------------------- */
  .btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-height: 48px;
    padding: 0 var(--s-5);
    border: 1px solid var(--btn-bg);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 150ms var(--hover), color 150ms var(--hover),
                transform 120ms var(--hover);
  }
  .btn--sm { min-height: 42px; padding: 0 var(--s-4); }
  .btn--primary:hover { --btn-bg: oklch(0.30 0.02 45); }
  .btn--primary:active { transform: scale(0.985); --btn-bg: oklch(0.17 0.012 45); }
  .btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--border-strong);
  }
  .btn--ghost:hover { --btn-bg: var(--surface); border-color: var(--ink); }
  .btn[disabled], .btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  .btn[data-loading] { pointer-events: none; }
  .btn[data-loading]::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-top-color: transparent;
    border-radius: 999px;
    animation: spin 700ms linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

  /* --- hero -------------------------------------------------------------- */
  .hero { padding-block: clamp(56px, 10vw, 136px) clamp(48px, 7vw, 96px); }
  .hero__grid {
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: end;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 1.4rem + 3.1vw, 4.1rem);
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    max-width: 20ch;
  }
  .hero__sub { font-size: var(--step-1); line-height: 1.45; margin-top: var(--s-5); max-width: 46ch; }
  .hero h1 span { display: block; }
  .hero .actions { margin-top: var(--s-6); }
  .hero__aside {
    border-top: 1px solid var(--ink);
    padding-top: var(--s-4);
    font-size: var(--step--1);
    color: var(--ink-soft);
  }
  .hero__aside dl { display: grid; gap: var(--s-3); margin: 0; }
  .hero__aside div { display: flex; justify-content: space-between; gap: var(--s-4); }
  .hero__aside dt { color: var(--ink-mute); }
  .hero__aside dd { margin: 0; text-align: right; }
  @media (max-width: 899px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 18ch; }
  }

  /* --- surgeon rows ------------------------------------------------------ */
  .roster { border-top: 1px solid var(--border); }
  .roster__row {
    display: grid;
    grid-template-columns: minmax(0, 22ch) minmax(0, 1fr) auto;
    gap: var(--s-6);
    align-items: baseline;
    padding-block: var(--s-6);
    border-bottom: 1px solid var(--border);
  }
  .roster__name { font-size: var(--step-1); letter-spacing: -0.01em; }
  .roster__name small {
    display: block;
    font-size: var(--step--1);
    letter-spacing: 0.02em;
    color: var(--ink-mute);
    margin-top: var(--s-1);
  }
  .roster__facts { margin: 0; color: var(--ink-soft); }
  .roster__facts li + li { margin-top: var(--s-2); }
  .roster__link { white-space: nowrap; font-size: var(--step--1); }
  .roster__row--pair { grid-template-columns: minmax(0, 22ch) minmax(0, 1fr); }
  @media (max-width: 767px) {
    .roster__row, .roster__row--pair { grid-template-columns: 1fr; gap: var(--s-4); }
  }

  /* --- the one-address sequence: the site's single signature shape -------- */
  .sequence { display: grid; gap: 0; margin-top: var(--s-7); counter-reset: step; }
  .sequence__item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: var(--s-5);
    padding-block: var(--s-5);
    border-top: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  }
  .sequence__item:last-child {
    border-bottom: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  }
  .sequence__num {
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-size: var(--step-1);
    color: var(--rose-quiet);
  }
  .sequence h3 { font-size: var(--step-1); font-weight: 400; }
  .sequence p { color: oklch(0.86 0.008 70); margin-top: var(--s-2); max-width: 54ch; }

  /* --- routing list ------------------------------------------------------ */
  .routes { display: flex; flex-wrap: wrap; margin-top: var(--s-6); }
  .routes__item {
    flex: 1 1 220px;
    border-left: 1px solid var(--border);
    padding: var(--s-5) var(--s-5) var(--s-6);
  }
  .routes__item:first-child { border-left: 0; padding-left: 0; }
  .routes__item h3 { font-size: var(--step-1); }
  .routes__item p { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--s-3); }
  .routes__item ul {
    list-style: none;
    padding: 0;
    margin-top: var(--s-4);
    font-size: var(--step--1);
    color: var(--ink-mute);
  }
  .routes__item li + li { margin-top: var(--s-1); }
  @media (min-width: 701px) and (max-width: 1023px) {
    .routes__item { flex: 1 1 calc(50% - 1px); }
    .routes__item:nth-child(odd) { border-left: 0; padding-left: 0; }
    .routes__item:nth-child(n + 3) { border-top: 1px solid var(--border); }
  }
  @media (max-width: 700px) {
    .routes__item {
      border-left: 0;
      border-top: 1px solid var(--border);
      padding-inline: 0;
      flex-basis: 100%;
    }
    .routes__item:first-child { border-top: 0; }
  }

  /* --- statement --------------------------------------------------------- */
  .statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
  .statement h2 {
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: var(--step-2);
    letter-spacing: -0.01em;
  }
  .statement p + p { margin-top: var(--s-4); }
  @media (max-width: 899px) { .statement { grid-template-columns: 1fr; } }

  /* --- procedure lists --------------------------------------------------- */
  .menu-block + .menu-block { margin-top: var(--s-8); }
  .menu-block__head { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: var(--s-3); }
  .menu-block__head p { color: var(--ink-soft); font-size: var(--step--1); max-width: 52ch; margin-left: auto; }
  .menu-list { columns: 16rem; column-gap: var(--s-7); margin-top: var(--s-4); }
  .menu-list li {
    break-inside: avoid;
    padding: var(--s-3) var(--s-4) var(--s-3) 0;
    border-bottom: 1px solid var(--border);
  }

  /* --- credentials ------------------------------------------------------- */
  .creds { border-left: 1px solid var(--rose-quiet); padding-left: var(--s-5); }
  .creds dt {
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
  }
  .creds dd { margin: var(--s-1) 0 var(--s-5); }
  .creds dd:last-of-type { margin-bottom: 0; }

  /* --- hours + contact --------------------------------------------------- */
  .hours { border-collapse: collapse; width: 100%; max-width: 30rem; }
  .hours th, .hours td { text-align: left; padding: var(--s-3) 0; border-bottom: 1px solid var(--border); font-weight: 400; }
  .hours td { text-align: right; }
  .hours__closed th, .hours__closed td { color: var(--ink-mute); }

  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
  @media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

  .map-frame { border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--surface); }
  .map-frame iframe { width: 100%; height: 100%; border: 0; }

  /* --- forms ------------------------------------------------------------- */
  .field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
  .field > label { font-size: var(--step--1); letter-spacing: 0.02em; color: var(--ink-soft); }
  .field input, .field textarea, .field select {
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 12px var(--s-3);
    min-height: 48px;
    width: 100%;
    transition: border-color 150ms var(--hover);
  }
  .field textarea { min-height: 128px; resize: vertical; }
  .field input:hover, .field textarea:hover { border-color: var(--ink-mute); }
  .field .hint { font-size: var(--step--1); color: var(--ink-mute); }
  .field .err { font-size: var(--step--1); color: var(--rose); }
  .field [aria-invalid="true"] { border-color: var(--rose); }
  fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
  legend { padding: 0; font-size: var(--step-1); letter-spacing: -0.01em; }

  .choices { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
  .choice {
    display: flex;
    gap: var(--s-3);
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--s-3) var(--s-4);
    min-height: 52px;
    cursor: pointer;
  }
  .choice:hover { border-color: var(--ink-mute); background: var(--surface); }
  .choice:has(:checked) { border-color: var(--ink); background: var(--surface); }
  .choice input { margin: 0; width: 18px; height: 18px; }

  /* --- booking dialog ---------------------------------------------------- */
  .book {
    width: min(560px, calc(100vw - 32px));
    max-height: min(88vh, 760px);
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
  }
  .book::backdrop { background: oklch(0.21 0.014 45 / 0.55); }
  .book[open] { display: flex; flex-direction: column; }
  .book > form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; }
  .book__head, .book__foot { flex: 0 0 auto; padding: var(--s-5); }
  .book__head { border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: var(--s-4); }
  .book__head h2 { font-size: var(--step-1); }
  .book__step { font-size: var(--step--1); color: var(--ink-mute); margin-top: var(--s-1); }
  .book__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5); }
  .book__foot { border-top: 1px solid var(--border); display: flex; gap: var(--s-3); justify-content: space-between; }
  .book__close {
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--ink-mute);
    font: inherit;
    font-size: var(--step--1);
    cursor: pointer;
    min-height: 44px;
    padding-inline: var(--s-2);
  }
  .book__close:hover { color: var(--ink); }
  .book__done { text-align: left; }
  .book__done h3 { font-size: var(--step-1); margin-bottom: var(--s-3); }
  .book__summary { margin-top: var(--s-4); border-top: 1px solid var(--border); }
  .book__summary div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
  .book__summary dt { color: var(--ink-mute); font-size: var(--step--1); }
  .book__summary dd { margin: 0; text-align: right; }

  /* --- call bar ---------------------------------------------------------- */
  .callbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    display: none;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--paper) 94%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .callbar .btn { flex: 1 1 auto; }
  .callbar .btn--ghost { flex: 0 0 34%; }
  @media (max-width: 979px) { .callbar { display: flex; } }

  /* --- footer ------------------------------------------------------------ */
  .site-foot {
    background: var(--surface-deep);
    color: oklch(0.88 0.008 70);
    padding-block: var(--s-8);
    margin-top: var(--s-4);
  }
  .site-foot__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
    gap: var(--s-7);
    align-items: start;
  }
  .site-foot__name { font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: var(--step-1); color: var(--paper); }
  .site-foot address { font-style: normal; margin-top: var(--s-3); line-height: 1.8; }
  .site-foot a { text-decoration: none; }
  .site-foot a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.15em; }
  .site-foot ul { display: grid; gap: var(--s-2); font-size: var(--step--1); }
  .site-foot__note { font-size: var(--step--1); color: oklch(0.70 0.008 70); max-width: 34ch; }
  @media (max-width: 767px) { .site-foot__grid { grid-template-columns: 1fr; gap: var(--s-6); } }
}

/* --------------------------------------------------------------- utilities */
@layer utilities {
  .eyebrow {
    font-size: var(--step--1);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    margin-bottom: var(--s-4);
  }
  .verify {
    display: inline-block;
    border: 1px dashed var(--rose);
    color: var(--rose);
    background: var(--rose-wash);
    font-size: var(--step--1);
    padding: 2px 8px;
    border-radius: var(--radius);
  }
  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .stack > * + * { margin-top: var(--s-4); }
  .stack-lg > * + * { margin-top: var(--s-6); }
  [hidden] { display: none !important; }
}
