/* Literata Variable, cyrillic */
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/literata-cyrillic-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* Literata Variable, latin-ext */
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/literata-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* Literata Variable, latin */
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/literata-latin-opsz-normal.woff2) format('woff2-variations');
  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;
}
/* Onest Variable, cyrillic */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* Onest Variable, latin-ext */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-ext-wght-normal.woff2) format('woff2-variations');
  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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* Onest Variable, latin */
@font-face {
  font-family: 'Onest Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-wght-normal.woff2) format('woff2-variations');
  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;
}

/* Valley Imaging Ultrasound — site styles
   Fonts are appended by build.py from fonts.generated.css (self-hosted, OFL). */

:root {
  /* Layout idea: left-aligned editorial columns on ivory; real office photographs bleed to the
     screen edge; one gold pulse line (from the logo and the storefront glass) threads the page. */
  --ivory: #FAF7F1;      /* page */
  --paper: #FFFFFF;      /* header and tiles: the logo reads best on pure white */
  --sand: #F1E9DB;       /* quiet panels, from the oak and linen in the waiting room */
  --ink: #24211E;        /* warm charcoal: text and footer */
  --ink-soft: #57514A;   /* secondary text */
  --rule: #E2D9CA;       /* hairlines */
  --gold: #E8A900;       /* brand gold: buttons (with ink text) and the pulse line only */
  --gold-deep: #7A5300;  /* gold for small text and links on light backgrounds (AA contrast) */
  --moss: #33413A;       /* the green of the waiting-room artwork: one dark band */
  --moss-tint: #E7ECE6;

  --display: "Literata Variable", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Onest Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 44px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, video, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.012em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 1.45rem + 3.7vw, 4.05rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.7rem); }
h3 { font-size: 1.32rem; line-height: 1.22; letter-spacing: -0.005em; }
.h3 { font-size: 1.32rem; line-height: 1.22; letter-spacing: -0.005em; }
h4 { font-family: var(--text); font-size: 1rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 108px); }
.section--tight { padding-block: clamp(40px, 5.5vw, 72px); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.section-head p, .lede { font-size: 1.16em; line-height: 1.55; color: var(--ink-soft); max-width: 40rem; }
.prose { display: grid; gap: 1em; max-width: 41rem; }
.prose ul { display: grid; gap: 0.5em; }
.stack { display: grid; gap: 18px; align-content: start; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.92rem; line-height: 1.5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 24px; border-radius: 14px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--text); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #F4BC25; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 0.95rem; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav a, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  font: 500 0.97rem/1.2 var(--text); color: var(--ink); text-decoration: none; cursor: pointer; min-height: 44px;
}
.nav a:hover, .nav-toggle:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-group { position: relative; }
.submenu { display: none; position: absolute; left: 0; top: calc(100% + 6px); min-width: 264px; padding: 8px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm); box-shadow: 0 18px 40px -18px rgba(36, 33, 30, 0.35); }
.submenu a { display: flex; width: 100%; padding: 11px 12px; }
.nav-group.is-open .submenu, .no-js .nav-group:focus-within .submenu, .no-js .nav-group:hover .submenu { display: grid; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 8px 4px; }
.header-phone:hover { color: var(--gold-deep); }
.menu-btn { display: none; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--ink); background: none; font: 600 0.95rem var(--text); color: var(--ink); cursor: pointer; }
.wide-only { display: inline; }

@media (max-width: 1099px) {
  .header-phone span.num { display: none; }
  .header-phone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--rule); border-radius: 12px; }
  .header-phone svg { width: 20px; height: 20px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .wide-only { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav-toggle { width: 100%; padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav-toggle { display: none; }
  .submenu { display: grid; position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .submenu a { padding: 14px 4px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
  .header-actions { margin-left: auto; }
  .no-js .nav { position: static; padding: 0 var(--gutter) 12px; }
  .no-js .header-row { flex-wrap: wrap; }
}
@media (min-width: 1100px) {
  .header-phone svg { display: none; }
}
@media (max-width: 420px) { .brand img { height: 34px; } .header-actions { gap: 8px; } .btn-sm { padding: 9px 14px; } }

/* ---------- Pulse line (signature motif) ---------- */
.pulse { display: block; width: 100%; height: 44px; overflow: visible; color: var(--gold); pointer-events: none; }
.pulse path { fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulse-divider { margin-block: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pulse--draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pulse-draw 2.2s 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
  @keyframes pulse-draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ivory); padding-top: clamp(28px, 5vw, 64px); }
.hero-grid {
  display: grid; align-items: center; row-gap: 28px;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
}
.hero-copy { grid-column: 2; display: grid; gap: 22px; }
.hero-copy .lede { max-width: 33rem; }
.hero-note { font-size: 0.95rem; color: var(--ink-soft); }
.hero-media { grid-column: 1 / -1; position: relative; margin-left: var(--gutter); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; border-radius: 24px 0 0 24px; }
.hero-media .pulse { position: absolute; left: 0; right: 0; width: auto; bottom: 22px; }
@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--wrap) * 0.45)) minmax(0, calc(var(--wrap) * 0.55)) minmax(var(--gutter), 1fr);
    column-gap: 0;
  }
  .hero-copy { grid-column: 2; padding-right: clamp(24px, 4vw, 64px); padding-block: 24px; }
  .hero-media { grid-column: 3 / 5; margin-left: 0; }
  .hero-media img { aspect-ratio: 5 / 4; max-height: 640px; border-radius: 28px 0 0 28px; }
  .hero-media .pulse { bottom: 36px; height: 56px; }
}

/* Facts row ("at a glance") */
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.glance > div { padding: 18px 16px 18px 0; display: grid; gap: 2px; align-content: start; }
.glance > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.glance > div:nth-child(even) { padding-left: 16px; }
.glance > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
.glance dt { font-size: 0.9rem; color: var(--ink-soft); order: 2; }
.glance dd { font-family: var(--display); font-size: 1.42rem; line-height: 1.2; font-weight: 500; }
.glance dd a { color: inherit; }
@media (min-width: 820px) {
  .glance { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
  .glance > div, .glance > div:nth-child(even) { padding: 22px 22px; border-right: 1px solid var(--rule); border-top: 0; }
  .glance > div:first-child { padding-left: 0; }
  .glance > div:last-child { border-right: 0; }
  .glance > div:nth-child(n+3) { border-top: 0; }
}
.hero .glance { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Approach (with video) ---------- */
.approach { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.approach-points { display: grid; gap: 22px; margin-top: 8px; }
.approach-points li { display: grid; gap: 6px; padding-left: 22px; border-left: 2px solid var(--gold); }
.approach-points p { color: var(--ink-soft); }
.clip { position: relative; width: min(100%, 320px); margin-inline: auto; }
.clip video, .clip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--sand); }
.clip figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }
.clip-toggle { position: absolute; right: 12px; bottom: 52px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(36, 33, 30, 0.78); color: #fff; font: 600 0.85rem var(--text); cursor: pointer; }
.clip-toggle:hover { background: var(--ink); }
.no-js .clip-toggle { display: none; }
@media (min-width: 900px) { .approach { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }

/* ---------- Reviews band ---------- */
.band-moss { background: var(--moss); color: #F4F1EA; }
.band-moss h2 { color: #fff; }
.band-moss .section-head p { color: #D5DCD5; }
.band-moss a { color: #fff; }
.quotes { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.quote { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); display: grid; gap: 12px; align-content: start; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); line-height: 1.3; font-weight: 400; }
.quote figcaption { font-size: 0.92rem; color: #D5DCD5; }
.stars { letter-spacing: 3px; color: var(--gold); font-size: 1rem; }
@media (min-width: 760px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* ---------- Service tiles ---------- */
.tiles { display: grid; gap: 18px; }
.tile { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.15s ease; }
.tile:hover { border-color: var(--ink); color: var(--ink); }
.tile img { width: 104px; height: 104px; border-radius: 50%; }
.tile-body { display: grid; gap: 6px; }
.tile-body p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }
.tile-price { font-weight: 650; color: var(--ink); font-size: 0.98rem; }
.tile-more { color: var(--gold-deep); font-weight: 600; font-size: 0.98rem; text-decoration: underline; text-underline-offset: 0.18em; }
@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .tile { grid-template-columns: 148px minmax(0, 1fr); padding: 26px; gap: 26px; }
  .tile img { width: 148px; height: 148px; }
}
.packages { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--sand); display: grid; gap: 14px; }
.packages ul { display: grid; gap: 8px 28px; }
.packages li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(36, 33, 30, 0.25); padding-bottom: 8px; }
.packages li span:last-child { font-weight: 650; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .packages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 62%; }
.split-media--wide img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }
  .split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); }
  .split--flip .split-media { order: 2; }
}
.creds { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.creds > div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.creds dt { font-weight: 650; }
.creds dd { color: var(--ink-soft); }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--gold-deep); grid-row: span 2; }
.steps p { color: var(--ink-soft); grid-column: 2; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
  .steps li { border-top: 1px solid var(--ink); border-bottom: 0; grid-template-columns: 1fr; padding: 22px 0 0; gap: 10px; }
  .steps li::before { grid-row: auto; }
  .steps p { grid-column: 1; }
}

/* ---------- Panels ---------- */
.panels { display: grid; gap: 22px; }
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; }
.panel-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.panel-media--product { background: var(--sand); display: grid; place-items: center; aspect-ratio: 16 / 10; }
.panel-media--product img { width: auto; height: 92%; aspect-ratio: auto; object-fit: contain; }
.panel-body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.panel-body p { color: var(--ink-soft); }
@media (min-width: 820px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-body { padding: 30px; } }

.pay { display: grid; gap: 22px; }
.pay-col { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--rule); display: grid; gap: 16px; align-content: start; }
.pay-col--ins { background: var(--moss-tint); border-color: transparent; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 14px; height: 8px; border-left: 2.25px solid var(--gold-deep); border-bottom: 2.25px solid var(--gold-deep); transform: rotate(-45deg); }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 8px; height: 2px; background: var(--gold-deep); }
@media (min-width: 820px) { .pay { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note { padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.note--alert { border-left-color: #9B2C1F; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-size: 1.22rem; line-height: 1.3; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 44px 22px 0; color: var(--ink-soft); display: grid; gap: 0.8em; max-width: 44rem; }

/* ---------- Contact block ---------- */
.find { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.kv { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.kv > div { display: grid; grid-template-columns: minmax(6.5rem, 0.36fr) minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kv dt { color: var(--ink-soft); font-size: 0.95rem; padding-top: 2px; }
.kv dd a { color: var(--ink); font-weight: 600; }
.find-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.find-media figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }
@media (min-width: 900px) { .find { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

/* ---------- Closing call to action ---------- */
.cta { background: var(--ink); color: #F4F1EA; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #D8D2C8; max-width: 36rem; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 56px); }
.crumbs { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }
.page-hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero-copy { display: grid; gap: 20px; }
.page-hero-art { justify-self: center; width: min(72%, 330px); }
.page-hero-art img { width: 100%; border-radius: 50%; }
.page-hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.page-hero-photo--tall img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .page-hero-art { width: min(100%, 360px); justify-self: end; }
}
.page-hero + .wrap .glance, .glance--page { margin-bottom: 0; }

/* ---------- Service page body ---------- */
.cols { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.exam-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.exam { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.exam img { width: 72px; height: 72px; border-radius: 50%; background: var(--paper); }
.exam--plain { grid-template-columns: minmax(0, 1fr); }
.exam-body { display: grid; gap: 6px; }
.exam-body p { color: var(--ink-soft); }
.exam-prep { font-size: 0.95rem; }
.exam-prep b { color: var(--ink); font-weight: 650; }
@media (min-width: 900px) { .exam-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } .exam { grid-template-columns: 92px minmax(0, 1fr); } .exam img { width: 92px; height: 92px; } }
.book-panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.book-panel .price { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.book-panel p { color: var(--ink-soft); }
.photo-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.photo-band figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 700px) { .photo-band img { aspect-ratio: 4 / 3; } }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
caption { text-align: left; padding: 14px 18px 0; font-weight: 650; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); background: var(--ivory); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-min { min-width: 560px; }
@media (max-width: 720px) {
  .table-stack { min-width: 0; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-stack tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack th, .table-stack td { display: block; padding: 0; border: 0; }
  .table-stack td { margin-top: 4px; color: var(--ink-soft); }
  .table-stack td.num { text-align: left; color: var(--ink); font-weight: 650; }
  .table-stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); aspect-ratio: 4 / 5; }
.gallery figure:first-child img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .gallery { grid-template-columns: 2fr 1fr 1fr; } .gallery figure:first-child { grid-column: auto; } .gallery img, .gallery figure:first-child img { aspect-ratio: auto; height: 420px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D8D2C8; padding-block: clamp(48px, 6vw, 80px) 28px; font-size: 0.98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand .tagline { font-family: var(--display); font-size: 1.2rem; color: #fff; }
.site-footer h2 { font: 650 0.95rem/1.3 var(--text); letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 9px; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: grid; gap: 8px; font-size: 0.88rem; color: #B9B2A7; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-base { grid-template-columns: 1fr auto; } }

/* ---------- Exam index (text links to every exam page) ---------- */
.exam-index { margin-top: 36px; display: grid; gap: 14px; }
.exam-index ul { display: flex; flex-wrap: wrap; gap: 10px; }
.exam-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.exam-index a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Order form (owner's PDF, shown as a preview that opens the file) ---------- */
.order-form { display: grid; gap: 36px; align-items: start; }
.form-preview { display: block; justify-self: center; width: min(100%, 420px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 18px 40px -28px rgba(36, 33, 30, 0.45); }
.form-preview img { display: block; width: 100%; height: auto; }
.form-preview:hover { border-color: var(--gold-deep); }
@media (min-width: 900px) { .order-form { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; } }
@media print {
  .site-header, .site-footer, .cta, .no-print, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section, .page-hero { padding: 0; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
