/* Self-hosted fonts. Generated from the Google Fonts CSS for
   Instrument Sans wght@400..600 and Newsreader ital,opsz,wght@0,6..72,300;1,6..72,300,
   then rewritten to local paths. Served from this origin so the browser does
   not open a connection to fonts.googleapis.com before it can paint.
   The URLs are relative; the build fingerprints them. */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(instrument-sans-normal-400-600-latin-ext.69e21e25d2.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(instrument-sans-normal-400-600-latin.adbdfd9a78.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(newsreader-italic-300-latin-ext.0dde4f4f70.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(newsreader-italic-300-latin.6709b7f78f.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(newsreader-normal-300-latin-ext.47cdfca1ec.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(newsreader-normal-300-latin.a18ebe5ebe.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =======================================================================
   Dr. Rob NYC — design system
   Ivory / ink / bronze. Newsreader display, Instrument Sans text.
   ======================================================================= */

:root {
  color-scheme: light;

  --ivory: #F1EDE4;
  --ivory-2: #FBF9F5;
  --ink: #14161A;
  --ink-2: #1B1E23;
  --mute: #5E6166;
  --hair: #DDD8CD;
  --hair-dk: #333840;
  --bronze: #7A5C33;
  --bronze-lt: #C9A66B;
  --dark-body: #C8C4BB;
  --dark-mute: #8A9099;

  --e: cubic-bezier(.22,.61,.36,1);
  --e-soft: cubic-bezier(.33,0,0,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
p { margin: 0; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

/* --gut is the wrap's own gutter, published so a full-bleed child can cancel
   it exactly. Hard-coding 28px here was cropping 8px off each side of the
   hero photograph on phones, where the gutter is 20px. */
.wrap {
  width: 100%; max-width: 1200px; margin: 0 auto;
  --gut: 28px; padding-inline: var(--gut);
  /* distance from the content edge out to the window edge, for a child that
     wants to bleed past the layout. Declared here so it inherits with --gut. */
  --bleed: calc(var(--gut) + max(0px, (100vw - 1200px) / 2));
}
@media (max-width: 600px) { .wrap { --gut: 20px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ivory-2); padding: 12px 20px; font-size: 14px;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- type */
.d, h1, h2 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 300;
  letter-spacing: -.016em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.d i, h1 i, h2 i, .em { font-style: italic; font-weight: 300; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); line-height: 1.02; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.25rem); }
h3 {
  margin: 0; font-family: "Instrument Sans", sans-serif;
  font-size: 1.07rem; font-weight: 600; letter-spacing: -.008em; line-height: 1.35;
}
h4 {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bronze);
}

.lbl {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bronze);
}
.lede { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--mute); }
.soft { color: var(--mute); font-size: 15.5px; }
.note { font-size: 12.5px; color: var(--mute); }

.tk {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bronze); border: 1px solid var(--bronze);
  padding: 2px 7px; margin-right: 8px; vertical-align: 2px;
}

/* "Read next" — a hairline-separated row of onward links sitting at the foot
   of a page's last light section, inside it rather than in a band of its own */
.rel {
  margin-top: clamp(46px, 6vw, 76px);
  padding-top: 26px;
  border-top: 1px solid var(--hair);
}
.rel .lbl { margin-bottom: 15px; }
.rel-links { display: flex; flex-wrap: wrap; gap: 11px 32px; }
/* .uline is hover-only everywhere else, where a button beside it signals the
   link. Three bare words in a row signal nothing, so these carry a resting
   underline that fills in on hover. */
.rel-links .uline::after {
  transform: scaleX(1); transform-origin: left;
  background: color-mix(in srgb, currentColor 26%, transparent);
  transition: background .4s var(--e-soft);
}
.rel-links .uline:hover::after,
.rel-links .uline:focus-visible::after { background: currentColor; }
.dark .rel { border-top-color: var(--hair-dk); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-s { display: flex; flex-direction: column; gap: 9px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.measure { max-width: 70ch; }

/* ------------------------------------------------------------- motion */
[data-rise] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--e-soft), transform 1s var(--e-soft);
}
[data-rise].in { opacity: 1; transform: none; }

.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(104%); transition: transform 1.15s var(--e-soft); }
.ready .mask > span { transform: none; }

.fade-up {
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--e-soft) .55s, transform 1s var(--e-soft) .55s;
}
.ready .fade-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-rise], .fade-up { opacity: 1 !important; transform: none !important; }
  .mask > span { transform: none !important; }
}

/* ------------------------------------------------- links and buttons */
.uline { position: relative; text-decoration: none; display: inline-block; padding-bottom: 3px; }
.uline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--e-soft);
}
.uline:hover::after, .uline:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: inherit; font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; padding: 17px 30px; border: 1px solid var(--ink);
  color: var(--ivory-2); background: var(--ink); cursor: pointer;
  overflow: hidden; isolation: isolate; transition: color .5s var(--e-soft);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory-2);
  transform: translateY(101%); transition: transform .55s var(--e-soft);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: none; }
.btn .ar { transition: transform .5s var(--e-soft); }
.btn:hover .ar { transform: translateX(5px); }
.btn.sm { padding: 12px 22px; font-size: 13.5px; }
.btn.inv { background: transparent; border-color: var(--hair-dk); color: var(--ivory-2); }
.btn.inv::before { background: var(--ivory-2); }
/* .btn:hover and .btn.inv have equal specificity (0,2,0), so .btn.inv -- being
   later in the file -- was overriding the hover colour. The ivory panel slid up
   underneath ivory text and the label vanished. Needs its own hover rule. */
.btn.inv:hover { color: var(--ink); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--e), border-color .5s var(--e), backdrop-filter .5s var(--e);
}
.nav.stuck {
  background: color-mix(in srgb, var(--ivory) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--hair);
}
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 78px; transition: min-height .5s var(--e); }
.nav.stuck .nav-in { min-height: 64px; }
.logo {
  font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 23px;
  letter-spacing: -.01em; text-decoration: none; margin-right: auto;
}
.logo i { font-style: italic; color: var(--bronze); }
.nav ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1020px) { .nav ul { display: flex; gap: 28px; } }
.nav ul a { font-size: 14px; color: var(--mute); text-decoration: none; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ------------------------------------------------------------- menu */
/* Below 1020px the links used to be display:none with nothing in their
   place, which left a phone with no way to reach any other page. */
.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.burger .bars { position: relative; display: block; width: 22px; height: 11px; }
.burger .bars i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .42s var(--e-soft), top .3s var(--e);
}
.burger .bars i:first-child { top: 0; }
.burger .bars i:last-child { top: 9.5px; }
.nav.open .burger .bars i:first-child { top: 5px; transform: rotate(45deg); }
.nav.open .burger .bars i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1019px) {
  .burger { display: inline-flex; }
  /* Opaque while open. Translucent reads as a mistake here: the headline
     behind it ghosts through the panel at display size. */
  .nav.open { background: var(--ivory); backdrop-filter: none; }
  .nav ul {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column;
    padding: 2px var(--gut, 28px) 18px;
    background: var(--ivory);
    border-bottom: 1px solid var(--hair);
    /* visibility, not display, so the links leave the tab order when shut */
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .34s var(--e), transform .44s var(--e-soft), visibility .44s;
  }
  .nav.open ul { opacity: 1; visibility: visible; transform: none; }
  .nav ul a {
    display: block; padding: 15px 0; font-size: 19px;
    font-family: "Newsreader", Georgia, serif; font-weight: 300;
    letter-spacing: -.01em; color: var(--ink);
    border-bottom: 1px solid var(--hair);
  }
  .nav ul li:last-child a { border-bottom: 0; }
  .nav ul a[aria-current="page"] { color: var(--bronze); }
}
@media (prefers-reduced-motion: reduce) { .nav ul, .burger .bars i { transition: none; } }

/* ------------------------------------------------------------ sections */
section { padding-block: clamp(70px, 10vw, 140px); }
.tone { background: var(--ivory-2); border-block: 1px solid var(--hair); }
.dark { background: var(--ink-2); color: var(--ivory-2); }
.dark h1, .dark h2 { color: var(--ivory-2); }
.dark .lbl, .dark h4 { color: var(--bronze-lt); }
.dark .lede, .dark .soft { color: var(--dark-body); }
.dark .note { color: var(--dark-mute); }

.shd { display: flex; flex-direction: column; gap: 18px; max-width: 48ch; margin-bottom: clamp(40px, 5vw, 64px); }

/* ----------------------------------------------------------- hero */
.hero { padding-top: clamp(118px, 15vh, 170px); padding-bottom: clamp(50px, 8vh, 96px); }
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 86px); align-items: center; }
.hero-l { display: flex; flex-direction: column; gap: 30px; max-width: 640px; }

/* The hero photograph is sized to itself and allowed to run off the right of
   the window, rather than cropped to fill a box. Frameless, with all four
   edges dissolving into the ivory — the subpage hero treatment, but at 88%
   saturation instead of 42% because no text sits on top of this one. */
.hero .fig {
  background: none;
  height: clamp(480px, 74vh, 720px); width: auto; justify-self: end;
  margin-right: calc(-1 * var(--bleed));
}
.hero .fig::after { box-shadow: none; }
.hero .fig .ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, var(--ivory) 0%,
      color-mix(in srgb, var(--ivory) 44%, transparent) 14%, transparent 36%),
    /* the top fade stops well above his hair; it only ever touches the window */
    linear-gradient(to bottom, var(--ivory) 0%,
      color-mix(in srgb, var(--ivory) 38%, transparent) 9%, transparent 19%),
    /* full ivory a little before the bottom, so when the figure lifts there is
       no edge to see: what it uncovers is the same colour it ended on */
    linear-gradient(to bottom, transparent 68%,
      color-mix(in srgb, var(--ivory) 58%, transparent) 88%, var(--ivory) 97%);
}

@media (min-width: 941px) {
  /* The hero ends where the photograph ends. Otherwise its soft bottom edge
     dissolves in mid-air above the section boundary, and the drift keeps
     moving where that happens, so it never reads as a deliberate edge. */
  .hero { padding-bottom: 0; }
  .hero .fig { align-self: end; }
}

@media (max-width: 940px) {
  /* Stacked, with the photograph straight after the headline rather than last.
     Left at the end it began below the fold on a phone and arrived under the
     booking dock. display:contents dissolves the text column so its parts and
     the figure can be ordered against each other. */
  .hero { padding-top: clamp(96px, 13vh, 132px); }
  .hero-in { display: flex; flex-direction: column; gap: 30px; }
  .hero-l { display: contents; }
  .hero-l > div:first-child { order: 1; }
  .hero-l .lede { order: 3; }
  .hero-act { order: 4; }
  .rating { order: 5; }
  .hero .fig {
    order: 2;
    /* explicit, because stretch will not resolve against the aspect ratio here */
    height: auto;
    width: calc(100% + 2 * var(--gut));
    margin-left: calc(-1 * var(--gut));
    margin-right: calc(-1 * var(--gut));
  }
}
/* Bleeding edge to edge only reads as intentional at phone widths. On a tablet
   a full-width portrait makes the hero a screen and a half tall, so above
   600px it goes back to its own width, centred, still whole and frameless. */
@media (min-width: 601px) and (max-width: 940px) {
  .hero .fig {
    width: auto; height: min(62vh, 560px);
    margin-left: auto; margin-right: auto;
  }
}
.hero-l .lbl { margin-bottom: 4px; }
.hero-l .lede { max-width: 42ch; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* inner-page hero, with a scrimmed under-layer */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(118px, 15vh, 168px); padding-bottom: clamp(60px, 8vw, 104px);
  /* one height across every inner page, so a longer headline on one of them
     cannot make its hero taller than the others */
  min-height: clamp(520px, 74vh, 620px);
}
@media (min-width: 941px) { .page-head { min-height: 700px; } }
/* the 404 carries no hero photograph, so the tall inner-page height would
   leave it mostly empty ivory */
.page-head.short { min-height: 0; padding-bottom: clamp(72px, 9vw, 120px); }
@media (min-width: 941px) { .page-head.short { min-height: 0; } }
.page-head .in { display: flex; flex-direction: column; gap: 26px; }
/* keep the hero text out of the image zone entirely */
.page-head .wrap > * { max-width: 800px; }
@media (max-width: 940px) { .page-head .wrap > * { max-width: none; } }
.page-head .lede { max-width: 48ch; }
/* the eyebrow sits where the motif reaches, so it needs a darker bronze to hold AA */
.page-head .lbl { color: #70542C; }
/* a photograph is darker up where the eyebrow sits than a motif is */
.page-head:has(.hero-bg img) .lbl { color: #5A4320; }
.page-head:has(.hero-bg img) .lede { color: #585B60; }

/* The under-layer. Drop an <img> in and it replaces the motif. */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg img, .hero-bg .motif { width: 100%; height: 100%; display: block; object-fit: cover; }
/* The photographs already sit in the palette, so desaturate part-way rather
   than all the way: enough to unify them, not so much that the warmth goes. */
.hero-bg img { filter: saturate(.42) contrast(.94) brightness(1.04); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 52%, var(--ivory) 100%),
    linear-gradient(104deg,
      color-mix(in srgb, var(--ivory) 93%, transparent) 0%,
      color-mix(in srgb, var(--ivory) 78%, transparent) 58%,
      color-mix(in srgb, var(--ivory) 86%, transparent) 100%);
}
/* A real photograph needs a heavier scrim than a line motif. */
.hero-bg:has(img)::after {
  /* Three jobs, kept separate: fade into the next section, guard the text
     column whatever the photograph does there, and wash the whole frame. */
  background:
    linear-gradient(to bottom, transparent 46%, var(--ivory) 100%),
    linear-gradient(to right,
      color-mix(in srgb, var(--ivory) 92%, transparent) 0%,
      color-mix(in srgb, var(--ivory) 86%, transparent) 58%,
      transparent 86%),
    linear-gradient(color-mix(in srgb, var(--ivory) 40%, transparent),
                    color-mix(in srgb, var(--ivory) 40%, transparent));
}
@media (max-width: 940px) {
  /* the text spans the full width on phones, so the guard has to as well */
  .hero-bg:has(img)::after {
    background:
      linear-gradient(to bottom, transparent 54%, var(--ivory) 100%),
      linear-gradient(color-mix(in srgb, var(--ivory) 88%, transparent),
                      color-mix(in srgb, var(--ivory) 88%, transparent));
  }
}
.motif .m-l { fill: none; stroke: #8A806D; stroke-width: 1.7; stroke-linecap: round; }
.motif .m-v { fill: none; stroke: #8A806D; stroke-width: 1.5; }
.motif .m-f { fill: #8A806D; }
.motif .m-ghost { stroke: #A79D8A; stroke-dasharray: 5 8; }
@media (max-width: 760px) { .hero-bg .motif { object-position: 76% 50%; } }

.rating { display: flex; align-items: baseline; gap: 13px; padding-top: 26px; border-top: 1px solid var(--hair); }
.rating .v { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 2.5rem; line-height: .8; }
.rating .t { font-size: 13.5px; color: var(--mute); }
.rating .strs { color: var(--bronze); font-size: 11px; letter-spacing: 2px; display: block; margin-bottom: 3px; }

/* --------------------------------------------------------- photographs */
.fig { position: relative; margin: 0; overflow: hidden; background: #E4DFD3; aspect-ratio: 4/5; }
.fig.wide { aspect-ratio: 3/2; }
/* Each of these is its photograph's own ratio, so `cover` has nothing to trim
   and the whole frame survives. Match the pair when swapping an image in. */
.fig.tall { aspect-ratio: 1200 / 1939; }
.fig.square { aspect-ratio: 1 / 1; }
/* The figure drifts against the text column beside it. Small on purpose: it is
   depth, not travel, and it costs none of the picture. */
.fig[data-px] { will-change: transform; }
.fig::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(20,22,26,.08); pointer-events: none;
}
.fig .ph {
  /* Fills the slot exactly. All three photographs are framed tight to the top
     of his head, with about one percent of headroom, so there is nothing to
     spend on an oversized layer drifting inside the frame: any upward drift
     takes hair with it. The slot takes the photograph's own aspect ratio and
     the drift moves the whole figure instead, which crops nothing at all. */
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transform-origin: 50% 0;
  transition: scale 1.6s var(--e-soft);
}
.fig:hover .ph { scale: 1.03; }
.fig .ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  display: block; filter: saturate(.88) contrast(.98);
}
/* For a photograph carrying a colour the palette does not own. Pulls it back
   toward the ivory/ink range without draining the skin tones. */
.fig.graded .ph img { filter: saturate(.46) contrast(.97) sepia(.12); }
.fig .ph span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: #615D54;
}
/* Held shut until the photograph has actually decoded AND the figure has been
   scrolled to. Opening on page load instead meant the empty slot wiped open and
   drifted on its own, and the picture turned up afterwards. */
.reveal-fig { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--e-soft) .3s; }
.reveal-fig.in { clip-path: inset(0 0 0 0); }

/* ----------------------------------------------------------- statement */
.stmt-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 880px) { .stmt-in { grid-template-columns: 1fr; gap: 26px; } }
.stmt .big {
  font-family: "Newsreader", Georgia, serif; font-weight: 300;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.22; letter-spacing: -.012em;
}
.stmt .big i { font-style: italic; }
.stmt .side { display: flex; flex-direction: column; gap: 18px; color: var(--mute); padding-top: 10px; }

/* ------------------------------------------- pattern rows / accordion */
.ent { border-top: 1px solid var(--ink); }
.row-item { border-bottom: 1px solid var(--hair); }
button.e {
  display: grid; grid-template-columns: 66px 1fr 30px; gap: 28px; align-items: baseline;
  width: 100%; padding: 30px 0; margin: 0; background: none; border: 0; text-align: left;
  font: inherit; color: inherit; cursor: pointer; position: relative;
  transition: padding-left .7s var(--e-soft);
}
button.e::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(-50vw + 50%); right: calc(-50vw + 50%);
  background: var(--ivory-2); transform: scaleY(0); transform-origin: bottom; z-index: -1;
  transition: transform .6s var(--e-soft);
}
button.e:hover { padding-left: 22px; }
button.e:hover::before { transform: scaleY(1); transform-origin: top; }
button.e .ix { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 1.5rem; color: var(--bronze); }
button.e .bd { max-width: 58ch; }
button.e p { color: var(--mute); font-size: 15.5px; margin-top: 8px; }

.tog { position: relative; width: 15px; height: 15px; justify-self: end; align-self: center; }
.tog::before, .tog::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1px;
  background: var(--mute); transition: transform .6s var(--e-soft), background .4s var(--e);
}
.tog::after { transform: rotate(90deg); }
button.e[aria-expanded="true"] .tog::after { transform: rotate(0deg); }
button.e[aria-expanded="true"] .tog::before,
button.e[aria-expanded="true"] .tog::after { background: var(--bronze); }

.ex { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--e-soft); }
.ex.open { grid-template-rows: 1fr; }
.ex > .ex-in { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .45s var(--e-soft); }
.ex.open > .ex-in { opacity: 1; transition-delay: .14s; }
.ex-pad { padding: 16px 0 44px 94px; }
.ex-pad dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 28px; }
.ex-pad dt {
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 8px;
}
.ex-pad dd { margin: 0; font-size: 15.5px; color: var(--mute); }
.ex-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.ex-act .btn { padding: 14px 24px; font-size: 14px; }
.ex-act .uline { font-size: 14.5px; color: var(--mute); }
.ex-act .uline:hover { color: var(--ink); }
@media (max-width: 820px) {
  button.e { grid-template-columns: 44px 1fr 22px; gap: 16px; }
  .ex-pad { padding-left: 60px; padding-top: 12px; padding-bottom: 38px; }
  .ex-pad dl { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
}
@media (max-width: 600px) { .ex-pad { padding-left: 0; } }

/* ------------------------------------------------------ spine locator */
.loc-grid { display: grid; grid-template-columns: 290px 1fr; gap: clamp(28px, 6vw, 84px); align-items: center; }
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr; gap: 34px; } }
.spine { width: 100%; max-width: 270px; margin-inline: auto; display: block; }
.vg { cursor: pointer; }
.vg .v { fill: none; stroke: #434952; stroke-width: 1.1; pointer-events: none; transition: stroke .5s var(--e), fill .5s var(--e); }
.vg .hit { fill: transparent; stroke: none; }
.vg:hover .v { stroke: #6E7681; }
.vg.on .v { stroke: var(--bronze-lt); fill: color-mix(in srgb, var(--bronze-lt) 20%, transparent); }
.vtag {
  font-family: "Instrument Sans", sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .2em; fill: #5B626B; transition: fill .5s var(--e);
}
.vtag.on { fill: var(--bronze-lt); }

.panel { min-height: 320px; position: relative; }
.pin { display: flex; flex-direction: column; gap: 20px; transition: opacity .4s var(--e); }
.pin.out { opacity: 0; }
.panel .seg { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-lt); }
.panel .pt {
  font-family: "Newsreader", Georgia, serif; font-weight: 300;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem); line-height: 1.06; letter-spacing: -.015em;
}
.panel h4 { color: var(--dark-mute); margin-bottom: 10px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.panel ul li { font-size: 15.5px; color: var(--dark-body); padding-left: 22px; position: relative; }
.panel ul li::before { content: ""; position: absolute; left: 0; top: .66em; width: 11px; height: 1px; background: var(--bronze-lt); }
.panel .mv { font-size: 15.5px; color: var(--dark-body); }
.panel .mv b { color: var(--ivory-2); font-weight: 500; }
.panel .go { color: var(--ivory-2); font-size: 14.5px; font-weight: 500; }

/* ------------------------------------------------------------- proof */
.proof-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(34px, 6vw, 86px); align-items: center; }
@media (max-width: 880px) { .proof-in { grid-template-columns: 1fr; gap: 40px; } }
.q {
  font-family: "Newsreader", Georgia, serif; font-weight: 300;
  font-size: clamp(1.5rem, 2.9vw, 2.3rem); line-height: 1.26; letter-spacing: -.012em;
  margin: 0; max-width: 24ch;
}
.q-mark { font-family: "Newsreader", Georgia, serif; font-size: 3rem; line-height: .6; color: var(--bronze); display: block; margin-bottom: 14px; }
.proof cite, .cite {
  display: block; margin-top: 24px; font-style: normal; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
}
.nums { display: flex; flex-direction: column; }
.nm { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.nm:first-child { border-top: 1px solid var(--hair); }
.nm .v { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 2.1rem; line-height: .9; min-width: 3.9ch; }
.nm .l { font-size: 13.5px; color: var(--mute); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 44px); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; gap: 30px; } }
.quotes figure { margin: 0; }
.quotes blockquote {
  margin: 0; font-family: "Newsreader", Georgia, serif; font-weight: 300;
  font-size: 1.16rem; line-height: 1.42; color: var(--ivory-2);
}
.quotes figcaption {
  margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dark-mute);
}

/* ------------------------------------------------------------- steps */
.stp { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); }
.stp.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .stp.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .stp, .stp.four { grid-template-columns: 1fr; gap: 34px; } }
.st { display: flex; flex-direction: column; gap: 11px; padding-top: 24px; border-top: 1px solid var(--ink); }
.dark .st { border-top-color: var(--hair-dk); }
.st .ix { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 1.4rem; color: var(--bronze); line-height: 1; }
.dark .st .ix { color: var(--bronze-lt); }
.st p { font-size: 15.5px; color: var(--mute); }
.dark .st p { color: var(--dark-body); }

/* --------------------------------------------------------- case cards */
.dx { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
@media (max-width: 820px) { .dx { grid-template-columns: 1fr; } }
.dx article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 821px) { .dx article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--hair); } }
.dx dl { margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; }
.dx dt { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.dx dd { margin: 5px 0 0; font-size: 15.5px; color: var(--mute); }

/* ------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
@media (max-width: 880px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  padding: 28px 26px 32px 0; border-bottom: 1px solid var(--hair);
  transition: padding-left .6s var(--e-soft);
}
@media (min-width: 881px) { .tile + .tile { padding-left: 26px; border-left: 1px solid var(--hair); } }
a.tile:hover { padding-left: 14px; }
@media (min-width: 881px) { a.tile + a.tile:hover { padding-left: 40px; } }
.tile .idx { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.tile p { font-size: 15.5px; color: var(--mute); }
.tile .go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 500; }
a.tile:hover .go { color: var(--bronze); }

/* -------------------------------------------------------------- split */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }
/* Centred so a short text column sits against the middle of a tall portrait
   rather than stranding it at the top. */
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 880px) { .split-even { grid-template-columns: 1fr; gap: 32px; } }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 20px 0; border-bottom: 1px solid var(--hair); font-size: 15.5px; color: var(--mute); }
.ticks li:first-child { border-top: 1px solid var(--hair); }
.ticks strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: 5px; }
.dark .ticks li { border-color: var(--hair-dk); color: var(--dark-body); }
.dark .ticks strong { color: var(--ivory-2); }

dl.plain { margin: 0; display: flex; flex-direction: column; }
dl.plain > div { padding: 16px 0; border-bottom: 1px solid var(--hair); }
dl.plain > div:first-child { border-top: 1px solid var(--hair); }
dl.plain dt { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
dl.plain dd { margin: 5px 0 0; font-size: 15.5px; }

/* --------------------------------------------------------- practical */
.pr { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 70px); }
@media (max-width: 760px) { .pr { grid-template-columns: 1fr; gap: 32px; } }
.pc { padding-top: 22px; border-top: 1px solid var(--hair); }
.pc dl { margin: 16px 0 0; display: flex; flex-direction: column; gap: 15px; }
.pc dt { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.pc dd { margin: 4px 0 0; font-size: 15.5px; }
.plans { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.plans span::after { content: " \00B7"; color: var(--hair); }
.plans span:last-child::after { content: ""; }

/* --------------------------------------------------------------- faq */
details.faq { border-bottom: 1px solid var(--hair); }
details.faq:first-of-type { border-top: 1px solid var(--hair); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-size: 1.05rem; font-weight: 500; letter-spacing: -.005em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq .pm {
  position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  font-size: 0; color: transparent;
}
details.faq .pm::before, details.faq .pm::after {
  content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px;
  background: var(--mute); transition: transform .5s var(--e-soft), background .4s var(--e);
}
details.faq .pm::after { transform: rotate(90deg); }
details[open].faq .pm::after { transform: rotate(0deg); }
details[open].faq .pm::before, details[open].faq .pm::after { background: var(--bronze); }
details.faq .ans { padding: 0 48px 26px 0; font-size: 15.5px; color: var(--mute); }

/* ----------------------------------------------------------- figures */
.lab { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
@media (max-width: 900px) { .lab { grid-template-columns: 1fr; gap: 34px; } }
.lab-fig { width: 100%; }
.lab-fig svg { width: 100%; height: auto; display: block; }

/* head tilt */
.tilt-ref { stroke: #BCB2A0; stroke-width: 1; stroke-dasharray: 2 5; }
.tilt-base { stroke: var(--ink); stroke-width: 1; }
.tilt-ghost { fill: none; stroke: #CFC5B2; stroke-width: 1.1; stroke-dasharray: 3 4; transition: opacity .35s var(--e); }
.tilt-head { fill: color-mix(in srgb, var(--bronze) 10%, transparent); stroke: #8A806D; stroke-width: 1.4; }
.tilt-arrow { stroke: var(--bronze); stroke-linecap: round; }
.tilt-arrowhead { fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tilt-lever { stroke: var(--bronze); stroke-width: 1.4; transition: opacity .3s var(--e); }
.tilt-drop { stroke: #BCB2A0; stroke-width: 1; stroke-dasharray: 2 4; transition: opacity .3s var(--e); }
.loop-tag.hot { fill: var(--bronze); }
.vert { fill: none; stroke: #9C9280; stroke-width: 1.2; }

/* ---- pregnancy figure ---- */
.preg-arc { fill: none; stroke: #8A806D; stroke-width: 1.6; stroke-linecap: round; }
.preg-ring { fill: none; stroke: #CFC5B2; stroke-width: 1.1; stroke-linecap: round; transition: opacity .45s var(--e); }
.preg-axis { stroke: #BCB2A0; stroke-width: 1; stroke-dasharray: 2 5; }
.preg-com { fill: var(--bronze); }
.preg-gap { stroke: var(--bronze); stroke-width: 1.2; }
.preg-tag { font-family: "Instrument Sans", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: var(--mute); }
.preg-tag.hot { fill: var(--bronze); }
.fig-key { display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 18px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-align: center;
  text-transform: uppercase; color: var(--mute); transition: color .4s var(--e); }
.fig-key::before { content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bronze); flex: 0 0 auto; }
.fig-key.hot { color: var(--bronze); }
.vert.hot { stroke: var(--bronze); fill: color-mix(in srgb, var(--bronze) 16%, transparent); }
.ctrl-ticks { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: -2px; }
.ctrl-ticks span { flex: 1; text-align: center; padding-top: 7px; border-top: 1px solid var(--hair); }
.ctrl-ticks span.on { color: var(--bronze); border-top-color: var(--bronze); }

.ctrl { display: flex; flex-direction: column; gap: 10px; }
.ctrl-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }
.ctrl-row .mid { color: var(--ink); font-weight: 500; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; background: transparent; margin: 8px 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bronze); border: 0; margin-top: -7px;
  transition: transform .3s var(--e);
}
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--bronze); border: 0; }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.18); }

.readout { display: flex; align-items: baseline; gap: 14px; padding-top: 18px; border-top: 1px solid var(--hair); }
.readout .big { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 3.1rem; line-height: .82; }
.readout .unit { font-size: 14px; color: var(--mute); max-width: 26ch; }
.readout .unit b { color: var(--ink); font-weight: 500; }

.says { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.says li { font-size: 15.5px; color: var(--mute); padding-left: 22px; position: relative; }
.says li::before { content: ""; position: absolute; left: 0; top: .66em; width: 11px; height: 1px; background: var(--bronze); }

/* the recurring-injury pattern */
.loop-base { stroke: var(--ink); stroke-width: 1; }
.loop-ceiling { stroke: var(--bronze); stroke-width: 1; stroke-dasharray: 3 5; transition: opacity .5s var(--e); }
.loop-tag { font-family: "Instrument Sans", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; fill: var(--mute); }
.loop-ramp { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.loop-drop { fill: none; stroke: #B4AA97; stroke-width: 1.2; stroke-dasharray: 3 4;
  stroke-linecap: round; opacity: 0; transition: opacity .55s var(--e); }
.loop-drop.in { opacity: 1; }
.loop-through { fill: none; stroke: var(--bronze); stroke-width: 1.8; stroke-linecap: round;
  opacity: 0; transition: opacity .55s var(--e); }
.loop-dot { fill: var(--ivory); stroke: var(--ink); stroke-width: 1.4;
  opacity: 0; transform-origin: center; transform: scale(.4);
  transition: opacity .4s var(--e), transform .5s var(--e-soft); }
.loop-dot.in { opacity: 1; transform: scale(1); }
.loop-read { font-family: "Instrument Sans", sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; fill: var(--mute);
  opacity: 0; transition: opacity .55s var(--e), fill .4s var(--e); }
.loop-read.in { opacity: 1; }
.loop-read.key { fill: var(--bronze); }
.is-fixed .loop-through { opacity: 1; }
.is-fixed .loop-ceiling { opacity: .3; }
.loop-dot.muted { opacity: .3; }
.loop-drop.gone { opacity: 0; }

.addr, .trains { display: grid; gap: 2px; }

/* His consulting hours, one line per block. Deliberately only the days he is
   in: the practice keeps its own hours and they are not ours to state. */
.hrs { display: grid; gap: 2px; }

/* ---------------------------------------------------------- instagram */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
/* One column on a phone rather than two: these are read, not glanced at, and
   half a phone width is too small for the type on them. */
@media (max-width: 620px) { .ig-grid { grid-template-columns: 1fr; gap: 30px; max-width: 420px; margin-inline: auto; } }

.igc { position: relative; margin: 0; }
/* scroll-snap does the swiping: touch and trackpad come free and keep their
   native momentum, which no JS version of this ever quite matches. */
.igc-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  aspect-ratio: 4/5; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  background: #E4DFD3; box-shadow: inset 0 0 0 1px rgba(20,22,26,.08);
  scrollbar-width: none; -ms-overflow-style: none;
}
.igc-track::-webkit-scrollbar { display: none; }
.igc-track img { width: 100%; height: 100%; object-fit: cover; display: block; scroll-snap-align: center; }
.igc-track:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.igc .ig-label { display: grid; place-items: center; height: 100%;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: #615D54; }

.igc-nav {
  position: absolute; top: calc(50% - 26px); width: 34px; height: 34px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  box-shadow: 0 1px 7px rgba(20,22,26,.14); color: var(--ink);
  font-size: 14px; cursor: pointer; opacity: 0; transition: opacity .3s var(--e);
}
.igc-nav.prev { left: 10px; } .igc-nav.next { right: 10px; }
.igc:hover .igc-nav, .igc-nav:focus-visible { opacity: 1; }
.igc-nav[hidden] { display: none; }
/* No hover on touch, and no need for arrows there either — the thumb is the
   control. Hiding them also keeps them off the slide on a phone. */
@media (hover: none) { .igc-nav { display: none; } }

.igc-foot { display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 11px; font-size: 13.5px; }
.igc-dots { display: flex; gap: 5px; }
.igc-dots i { width: 5px; height: 5px; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  transition: background .3s var(--e); }
.igc-dots i.on { background: var(--bronze); }

@media (prefers-reduced-motion: reduce) { .igc-track { scroll-behavior: auto; } }

/* ----------------------------------------------------------- closing */
.close-in { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.close-in .lede { max-width: 40ch; }

/* ------------------------------------------------------------ footer */
footer { background: var(--ink-2); color: var(--dark-mute); padding-block: 60px 42px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: 1fr; } }
.foot-in .mark { font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 23px; color: var(--ivory-2); display: block; margin-bottom: 12px; }
.foot-in .mark i { font-style: italic; color: var(--bronze-lt); }
.foot-in .addr { color: var(--dark-mute); font-size: 14px; }
.foot-in h4 { color: var(--bronze-lt); margin-bottom: 14px; }
.foot-in a { color: var(--dark-body); text-decoration: none; display: block; padding: 4px 0; }
.foot-in a:hover { color: var(--ivory-2); }
.legal {
  border-top: 1px solid var(--hair-dk); padding-top: 26px; display: flex; flex-wrap: wrap;
  gap: 10px 26px; justify-content: space-between; font-size: 12.5px;
}

/* -------------------------------------------------------- mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--hair);
}
.dock .btn { width: 100%; justify-content: center; }
@media (max-width: 700px) { .dock { display: block; } body { padding-bottom: 84px; } }
