/* ==========================================================================
   Vienna Family Dental — Playbook: Editorial Heritage
   A well-made magazine about a neighbourhood practice.

   TYPE      Cormorant Garamond (display; italics and huge italic numerals)
             Hanken Grotesk (text, 18px; labels uppercase 12.5px / .16em)
   COLOR     paper    #F5F1E8  page ground
             paper-2  #EAE3D4  tinted paper, one step darker
             ink      #18212E  text; the logo's "DENTAL" near-black, cooled to blue
             brand    #1D4E89  the logo's deep blue: headings' italics, numerals, links
             night    #102036  the dark room (comfort, booking)
             sky      #5C9FD6  the logo gradient's light end: hairlines on dark only
             action   #1D4E89  the one primary button (paper on night gets the same)
   SPACING   8px base: 8 16 24 40 64 96 144
   RADIUS    0. Plates and buttons are square, like print.
   SURFACES  paper · paper-2 · night · photo band (team masthead on graphite)
   MOTIF     full-width 1px rules; the logo's tapered rule; № section numbers;
             roman numerals; plates with double rules and italic captions;
             the VF seal from the logo's monogram.
   ========================================================================== */

:root {
  --paper: #F5F1E8;
  --paper-2: #EAE3D4;
  --ink: #18212E;
  --ink-soft: #4A5262;
  --brand: #1D4E89;
  --brand-deep: #163B68;
  --night: #102036;
  --night-2: #172B45;
  --graphite: #23262C;
  --sky: #5C9FD6;
  --on-night: #EFEAE0;
  --on-night-soft: #B9C2CF;
  --rule: rgba(24, 33, 46, .2);
  --rule-strong: rgba(24, 33, 46, .55);
  --rule-night: rgba(239, 234, 224, .2);

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px; --s7: 144px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--text); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.night :focus-visible, .band :focus-visible { outline-color: var(--sky); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hide-s { }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.label {
  font: 600 12.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.night .label, .band .label { color: var(--on-night-soft); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.02; }
h2 em, h1 em { font-style: italic; color: var(--brand); }
.night h2 em, .band h2 em { color: #9CC6EA; }
h3 { font-size: 1.85rem; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }
.night .lede, .band .lede { color: var(--on-night-soft); }
.num { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--brand); }

/* the logo's tapered rule */
.taper { display: block; height: 3px; background: currentColor; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.taper.rev { clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0;
  font: 600 16px/1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px var(--brand); outline-offset: 4px; }
.btn-primary:hover { background: var(--brand-deep); }
.night .btn-primary { background: #2B67AE; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 0 1px #2B67AE; }
.night .btn-primary:hover { background: #3576C2; }
.tel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px;
  font: 600 17px/1 var(--text); color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule-strong); padding: 0 2px;
}
.tel:hover { color: var(--brand); border-color: var(--brand); }
.night .tel { color: var(--on-night); border-color: var(--rule-night); }
.tel svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.25; }
.reassure { font-size: 15px; color: var(--ink-soft); margin: 14px 0 0; }
.night .reassure { color: var(--on-night-soft); }

/* ---------- header ---------- */
.utility { background: var(--night); color: var(--on-night-soft); font-size: 14px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 24px; padding-block: 9px; }
.utility a { color: var(--on-night); text-decoration: none; }
.utility .sep { opacity: .45; padding: 0 .55em; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.masthead .wrap > * { white-space: nowrap; }
.logo img { width: 236px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--ink); }
.masthead .tel { font-size: 16px; min-height: 44px; border: 0; }
.masthead .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.menu { display: none; }

/* ---------- hero: the cover ---------- */
.cover { padding: clamp(28px, 4vw, 52px) 0 0; }
.cover-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: start; }
.cover-kicker { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cover-kicker .taper { flex: 1; color: var(--ink); opacity: .8; height: 2px; }
.cover-kicker .taper.rev { order: 0; }
.cover h1 { grid-column: 1 / -1; font-size: clamp(3rem, 7.1vw, 7.1rem); line-height: .93; letter-spacing: -.025em; font-weight: 500; max-width: 13.5em; text-wrap: initial; }
.cover h1 em { font-weight: 400; }
.cover-copy { grid-column: 1 / 6; margin-top: 44px; }
.cover .lede { margin: 0 0 30px; max-width: 30em; font-size: 1.22rem; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.stars { color: var(--brand); letter-spacing: 2px; font-size: 15px; }
.proof-line { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
.proof-line .score { font: italic 400 4.2rem/.8 var(--display); color: var(--brand); letter-spacing: -.02em; }
.proof-line strong { color: var(--ink); font-weight: 600; }
.proof-line a { color: var(--ink-soft); }

.cover-plate { grid-column: 6 / -1; position: relative; margin-top: 44px; }
.cover-plate img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 16%; }
.plate { margin: 0; }
.plate .frame { padding: 7px; border: 1px solid var(--rule-strong); background: var(--paper); position: relative; }
.plate .frame::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--rule); pointer-events: none; }
.plate img { width: 100%; }
.plate figcaption {
  font: italic 400 17px/1.35 var(--display); color: var(--ink-soft); margin-top: 10px; padding-left: 18%;
}
.plate figcaption b { font-style: normal; font-family: var(--text); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.cover-plate .seal { position: absolute; width: 116px; height: 116px; right: -30px; top: -52px; }

.issue {
  margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 12px 0; font: 600 12.5px/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); max-width: none;
}
.issue span.dots { color: var(--ink-soft); letter-spacing: .3em; }

/* ---------- seal ---------- */
.seal { display: block; color: var(--brand); }
.seal { --seal-bg: var(--paper); }
.seal-bg { fill: var(--seal-bg); }
.night .seal { --seal-bg: var(--night); }

/* ---------- section frame ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.tint { background: var(--paper-2); }
.night { background: var(--night); color: var(--on-night); }
.sec-head { display: grid; grid-template-columns: 180px 1fr; gap: 0 32px; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.night .sec-head, .band .sec-head { border-color: var(--on-night); }
.sec-head .no { font: italic 400 22px/1 var(--display); color: var(--brand); }
.night .sec-head .no, .band .sec-head .no { color: #9CC6EA; }
.sec-head .no .label { display: block; margin-top: 10px; font-style: normal; }
.sec-head h2 { max-width: 17em; }
.sec-head p { margin-top: 18px; }

/* ---------- facts colophon row ---------- */
.facts { padding: 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 28px 34px 0; border-right: 1px solid var(--rule); }
.facts li + li { padding-left: 28px; }
.facts li:last-child { border-right: 0; }
.facts .big { font: italic 400 clamp(3.4rem, 5.4vw, 5rem)/.9 var(--display); color: var(--brand); display: block; letter-spacing: -.02em; }
.facts .big small { font-size: .42em; letter-spacing: 0; }
.facts .what { display: block; margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); max-width: 22ch; }
.facts .what strong { color: var(--ink); font-weight: 600; }

/* ---------- services: contents list ---------- */
.contents { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.contents li { border-bottom: 1px solid var(--rule); }
.contents a {
  display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 48px; gap: 24px; align-items: baseline;
  padding: 20px 0; text-decoration: none; color: inherit;
}
.contents .i { font: italic 400 22px/1 var(--display); color: var(--brand); }
.contents .name { font: 500 clamp(1.6rem, 2.4vw, 2.05rem)/1.1 var(--display); }
.contents .line { font-size: 16.5px; line-height: 1.5; color: var(--ink-soft); }
.contents .go { font: italic 400 24px/1 var(--display); text-align: right; color: var(--ink-soft); transition: transform .2s; }
.contents a:hover .name { color: var(--brand); }
.contents a:hover .go { transform: translateX(6px); color: var(--brand); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: clamp(56px, 7vw, 96px); }
.feature { padding: 30px 0 0; border-top: 4px double var(--ink); }
.feature .label { display: block; margin-bottom: 18px; }
.feature .roman { font: italic 400 64px/0.8 var(--display); color: var(--brand); display: block; margin-bottom: 14px; }
.feature h3 { margin-bottom: 14px; }
.feature p { font-size: 17px; }
.feature ul { margin: 0; padding: 0; list-style: none; font-size: 16.5px; }
.feature li { padding: 9px 0; border-top: 1px solid var(--rule); display: flex; gap: 12px; }
.feature li::before { content: "—"; color: var(--brand); }

/* ---------- letter ---------- */
.letter-grid { display: grid; grid-template-columns: 7fr 1px 4fr; gap: 0 clamp(32px, 4vw, 64px); }
.letter-grid .vr { background: var(--rule-strong); }
.letter h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 30px; }
.letter .body { columns: 2; column-gap: 40px; font-size: 17.5px; }
.letter .body p { break-inside: avoid-column; }
.letter .body p:first-child::first-letter {
  float: left; font: italic 500 5.6em/.78 var(--display); color: var(--brand); padding: 6px 10px 0 0;
}
.letter blockquote { break-inside: avoid-column; margin: 0 0 1em; font: italic 400 1.45rem/1.35 var(--display); color: var(--ink); }
.signoff { margin-top: 28px; display: flex; align-items: center; gap: 20px; }
.signoff .sig { font: italic 400 2.6rem/1 var(--display); color: var(--brand); }
.signoff .who { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.creds { margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.creds div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; }
.creds dt { margin: 0; }
.creds dd { margin: 0; color: var(--ink-soft); }
.doctors .label { margin-bottom: 20px; display: block; }
.doc { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.doc:last-child { border-bottom: 0; }
.doc .frame { padding: 4px; }
.doc .frame::after { inset: 2px; }
.doc h3 { font-size: 1.55rem; margin-bottom: 6px; }
.doc p { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ---------- comfort: the dark room ---------- */
.comfort-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); }
.levels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-night); }
.levels li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule-night); }
.levels .roman { font: italic 400 46px/.9 var(--display); color: #9CC6EA; }
.levels h3 { font-size: 1.7rem; margin-bottom: 6px; }
.levels p { margin: 0; font-size: 16.5px; color: var(--on-night-soft); }
.comfort-side .hair { height: 1px; background: linear-gradient(90deg, transparent, var(--sky), transparent); margin: 0 0 32px; }
.comfort-side .comforts { font: italic 400 1.6rem/1.35 var(--display); color: var(--on-night); margin-bottom: 26px; }
.comfort-side p { color: var(--on-night-soft); font-size: 17px; }
.mini-quote { margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule-night); }
.mini-quote blockquote { margin: 0; font: italic 400 1.4rem/1.4 var(--display); color: var(--on-night); position: relative; }
.mini-quote blockquote::before { content: "\201C"; position: absolute; left: -.5em; top: -.1em; font-size: 2.4em; line-height: 1; color: var(--sky); }
.mini-quote figcaption { margin-top: 14px; font-size: 14.5px; color: var(--on-night-soft); }
.comfort-actions { margin-top: 36px; }

/* ---------- cases: the spread ---------- */
.spread { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pair figure { margin: 0; position: relative; }
.pair img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.pair .tag {
  position: absolute; left: 0; top: 0; background: var(--paper); padding: 5px 10px 6px;
  font: 600 11px/1 var(--text); letter-spacing: .18em; text-transform: uppercase;
}
.spread-side .case-text h3 { margin: 8px 0 12px; }
.spread-side .case-text p { font-size: 16.5px; color: var(--ink-soft); }
.side-quote { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--rule-strong); }
.side-quote blockquote { margin: 0; font: italic 400 1.35rem/1.4 var(--display); }
.side-quote figcaption { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }
.cases-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.cases-row .case-text { margin-top: 14px; }
.cases-row h3 { font-size: 1.55rem; margin-bottom: 6px; }
.cases-row p { font-size: 16.5px; color: var(--ink-soft); }
.more { margin-top: 48px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.textlink { font-weight: 600; font-size: 16px; color: var(--brand); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- pull quote ---------- */
.pull { text-align: left; }
.pull .wrap { display: grid; grid-template-columns: 2fr 10fr; gap: 32px; }
.pull .mark { font: italic 400 clamp(9rem, 16vw, 15rem)/.7 var(--display); color: var(--brand); text-align: right; margin-top: 18px; }
.pull blockquote { margin: 0; font: italic 400 clamp(2rem, 3.9vw, 3.45rem)/1.14 var(--display); letter-spacing: -.01em; max-width: 21em; }
.pull figcaption { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font-size: 15.5px; color: var(--ink-soft); }
.pull figcaption strong { color: var(--ink); }
.pull .rating { display: flex; gap: 10px; align-items: center; white-space: nowrap; }

/* ---------- first visit + paying ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .roman { font: italic 400 48px/.85 var(--display); color: var(--brand); }
.steps h3 { font-size: 1.55rem; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 16.5px; color: var(--ink-soft); }
.colophon { margin: 0; border-top: 1px solid var(--ink); }
.colophon div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.colophon dt { font: 600 12.5px/1.6 var(--text); letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; }
.colophon dd { margin: 0; font-size: 16.5px; line-height: 1.55; }
.colophon dd .muted { color: var(--ink-soft); }
.placeholder { display: inline-block; line-height: 1.45; background: repeating-linear-gradient(-45deg, rgba(29,78,137,.07) 0 6px, transparent 6px 12px); outline: 1px dashed rgba(29,78,137,.5); padding: 1px 6px; font-size: 15px; color: var(--brand-deep); }
.sub-h { font: 500 clamp(2rem, 3.2vw, 2.8rem)/1.05 var(--display); margin-bottom: 26px; }
.sub-h em { font-style: italic; color: var(--brand); }

/* ---------- team: the masthead band ---------- */
.band { background: var(--night); color: var(--on-night); padding: clamp(64px, 8vw, 112px) 0 0; }
.band .sec-head { margin-bottom: 40px; }
.masthead-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2.4fr repeat(8, 1fr); border-top: 1px solid rgba(239,234,224,.25); }
.masthead-row li { border-right: 1px solid rgba(239,234,224,.18); }
.masthead-row li:last-child { border-right: 0; }
.masthead-row img { height: 330px; object-fit: cover; object-position: 50% 15%; width: 100%; filter: grayscale(.2) contrast(1.04); }
.masthead-row li:first-child .n { font-size: 2.2rem; }
.masthead-row li:first-child .r { font-size: 14.5px; max-width: 24ch; }
.masthead-row .cap { padding: 14px 14px 22px; }
.masthead-row .n { font: italic 500 1.45rem/1 var(--display); display: block; }
.masthead-row .r { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--on-night-soft); }
.masthead-row .y { display: block; margin-top: 6px; font: 600 11px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #9CC6EA; }
.band-foot { border-top: 1px solid rgba(239,234,224,.25); }
.band-foot .wrap { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: 15px; color: var(--on-night-soft); }
.band-foot a { color: var(--on-night); }

/* ---------- articles ---------- */
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); }
.notes li { padding: 28px 32px 8px 0; }
.notes li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.notes .i { font: italic 400 22px/1 var(--display); color: var(--brand); }
.notes a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.notes .read { margin-top: auto; padding-bottom: 16px; }
.notes h3 { font-size: 1.75rem; margin: 14px 0 10px; }
.notes a:hover h3 { color: var(--brand); }
.notes p { font-size: 16px; color: var(--ink-soft); }
.notes .read { font-size: 15px; font-weight: 600; color: var(--brand); }

/* ---------- book + visit ---------- */
.book-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 12.5px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night); }
.field label span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--on-night-soft); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--text); color: var(--on-night); background: transparent;
  border: 0; border-bottom: 1px solid rgba(239,234,224,.5); padding: 10px 0; border-radius: 0; min-height: 46px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-night) 50%), linear-gradient(-45deg, transparent 50%, var(--on-night) 50%); background-size: 6px 6px; background-position: right 6px center, right 0 center; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 1px 0 var(--sky); }
.form .submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 12px; }
.night .colophon { border-color: var(--on-night); }
.night .colophon div { border-color: var(--rule-night); }
.night .colophon dd .muted { color: var(--on-night-soft); }
.night .colophon a { color: var(--on-night); }
.visit-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.visit-head .seal { width: 92px; height: 92px; flex: none; color: #9CC6EA; }
.visit-head .sub-h { margin: 0; }
.night .sub-h em { color: #9CC6EA; }
.hours td, .hours th { padding: 2px 0; text-align: left; font-weight: 400; vertical-align: top; }
.hours th { padding-right: 18px; white-space: nowrap; }
.hours { border-collapse: collapse; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 40px; }
.foot-top { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 40px; border-top: 1px solid var(--ink); padding-top: 36px; }
.foot .logo img { width: 280px; }
.foot h4 { font: 600 12.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; line-height: 2; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot address { font-style: normal; font-size: 15.5px; line-height: 1.7; margin-top: 22px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-soft); }

/* ==========================================================================
   Phone and tablet
   ========================================================================== */
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu { display: block; margin-left: auto; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font: 600 12.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; padding: 14px 4px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-list { display: flex; }
  .menu-list { display: none; position: absolute; right: 0; top: 100%; z-index: 10; flex-direction: column; background: var(--paper); border: 1px solid var(--rule-strong); padding: 10px 20px; min-width: 230px; }
  .menu-list a { padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .utility .hide-s { display: none; }
  .utility .wrap { justify-content: center; font-size: 13.5px; }
  .masthead .wrap { gap: 12px; padding-block: 10px; }
  .logo img { width: 158px; }
  .masthead .tel .t { display: none; }
  .masthead .tel { width: 40px; justify-content: center; }
  .hide-s { display: none; }
  .masthead .tel svg { width: 22px; height: 22px; }
  .masthead .btn { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .menu { margin-left: 0; order: 3; }
  .masthead .tel { margin-left: auto; }

  .cover-grid { display: flex; flex-direction: column; }
  .cover-copy { margin-top: 22px; order: 3; }
  .cover-plate { order: 2; }
  .cover h1 { font-size: clamp(2.5rem, 10.4vw, 4.2rem); line-height: .97; }
  .cover .lede { margin: 0 0 22px; font-size: 1.08rem; }
  .proof-line .score { font-size: 3.4rem; }
  .cover-kicker { margin-bottom: 18px; }
  .cover-kicker .taper { display: none; }
  .actions { gap: 12px 22px; }
  .actions .btn { flex: 1 1 100%; }
  .cover-plate { margin: 22px 0 0 0; }
  .cover-plate .frame { max-width: 100%; }
  .cover-plate .frame img { aspect-ratio: 16 / 9; object-position: 50% 14%; }
  .cover-plate .frame { padding: 5px; }
  .cover-plate .seal { width: 76px; height: 76px; right: -8px; top: -30px; }
  .plate figcaption { padding-left: 0; }
  .issue { justify-content: flex-start; gap: 6px 14px; font-size: 11.5px; }
  .issue span.dots { display: none; }

  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 26px 16px 26px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .facts li:nth-child(n+3) { border-bottom: 0; }

  .contents a { grid-template-columns: 36px 1fr 24px; gap: 4px 12px; padding: 18px 0; }
  .contents .line { grid-column: 2 / 3; font-size: 15.5px; }
  .contents .go { display: none; }
  .contents a { grid-template-columns: 36px 1fr; }
  .contents .name { text-wrap: balance; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px 30px; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--rule); }

  .letter-grid { grid-template-columns: 1fr; }
  .letter-grid .vr { display: none; }
  .letter .body { columns: 1; }
  .doctors { margin-top: 48px; border-top: 1px solid var(--rule-strong); padding-top: 26px; }
  .doc { grid-template-columns: 96px 1fr; }

  .comfort-grid, .spread, .cases-row, .two, .book-grid { grid-template-columns: 1fr; }
  .levels li { grid-template-columns: 52px 1fr; gap: 12px; }
  .levels .roman { font-size: 36px; }
  .mini-quote blockquote::before { position: static; display: block; height: .45em; }

  .pull .wrap { grid-template-columns: 1fr; gap: 0; }
  .pull .mark { text-align: left; font-size: 7rem; margin: 0 0 -24px -4px; }
  .pull blockquote { font-size: 1.8rem; }

  .masthead-row { grid-template-columns: repeat(4, 1fr); }
  .masthead-row li { border-bottom: 1px solid rgba(239,234,224,.18); }
  .masthead-row li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-right: 0; }
  .masthead-row li:first-child img { height: 260px; }
  .masthead-row li:first-child .cap { padding: 18px 16px; }
  .masthead-row li:nth-child(5) { border-right: 0; }
  .masthead-row img { height: 140px; }
  .masthead-row li:not(:first-child) .r { display: none; }
  .masthead-row .n { font-size: 1.1rem; }
  .masthead-row .cap { padding: 10px 10px 16px; }
  .masthead-row .n { font-size: 1.25rem; }
  .masthead-row .r { font-size: 12px; }
  .band-foot .wrap { flex-direction: column; gap: 8px; }

  .notes { grid-template-columns: 1fr; }
  .notes li, .notes li + li { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--rule); }

  .form { grid-template-columns: 1fr; }
  .colophon div { grid-template-columns: 1fr; gap: 4px; }
  .visit-head .seal { width: 72px; height: 72px; }

  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; }
}
