/* ==========================================================================
   Palm Harbor Villas — "Shell & Ink"
   A calm, photo-forward editorial system for a single-story coastal community.
   Plain CSS, no framework. Rhythm on an 8px grid, measure ~66ch.
   Fonts: Fraunces (display, soft/wonk axes) + DM Sans (text).

   CRO pass: the type scale is capped (h1 ≤ 3.25rem, h2 ≤ 2.25rem, card titles
   in the text face), sections breathe on 48–88px instead of 56–112px, and every
   card/tile/fact is a real link with a hover lift, an arrow and a focus ring.
   One primary CTA — "Schedule a Tour" (.btn-primary + data-open-contact) —
   appears in the hero, once mid-page, and in the sticky mobile bar.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens - */
:root {
  /* surfaces — warm paper through to a deep sea-ink */
  --shell: #f6f3ed;
  --shell-2: #efe9dd;
  --surface: #fffdf9;
  --sand: #e7ddc9;
  --sand-2: #f1e9d9;
  --ink: #16211e;
  --ink-2: #1e2d29;
  --ink-3: #2b3d38;

  /* text */
  --text: #2b3532;
  --text-2: #566360;
  --muted: #5f6b68;
  --on-ink: #f3efe7;
  --on-ink-2: rgba(243, 239, 231, 0.74);

  /* accent — brand gold, used sparingly */
  --gold: #a37d3c;
  --gold-deep: #84632e;
  --gold-soft: #e0cfa9;

  /* lines */
  --line: rgba(22, 33, 30, 0.13);
  --line-2: rgba(22, 33, 30, 0.24);
  --line-ink: rgba(243, 239, 231, 0.16);
  --line-ink-2: rgba(243, 239, 231, 0.38);

  /* type — capped so nothing shouts; display tops out at 52px */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem);
  --fs-h4: clamp(1.125rem, 1.09rem + 0.16vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.16rem + 0.36vw, 1.5rem);
  --fs-h2: clamp(1.5rem, 1.32rem + 0.78vw, 2.25rem);
  --fs-h1: clamp(2.25rem, 1.99rem + 1.1vw, 3.25rem);
  --fs-hero: var(--fs-h1);
  --fs-num: clamp(1.75rem, 1.55rem + 0.85vw, 2.25rem);

  /* space (8px grid) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s16: 128px;
  --sec-pad: clamp(48px, 6.2vw, 88px);
  --gutter: clamp(20px, 4.2vw, 44px);
  --container: 1240px;
  --measure: 66ch;

  /* shape */
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 30, 0.05), 0 8px 24px -12px rgba(22, 33, 30, 0.18);
  --shadow: 0 24px 60px -28px rgba(22, 33, 30, 0.35);
  --shadow-lift: 0 32px 70px -30px rgba(22, 33, 30, 0.45);

  --topbar-h: 38px;
  --header-h: 68px;
  --ctabar-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--gold-deep); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
/* keep the ring hugging rounded things */
a:focus-visible, button:focus-visible, summary:focus-visible { border-radius: inherit; }

p, li, dd, dt, summary, td, th, blockquote, figcaption, address { overflow-wrap: break-word; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: -999px; top: 0; z-index: 1200;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600; font-size: var(--fs-sm);
}
.skip-link:focus { left: 0; color: var(--on-ink); }

/* ------------------------------------------------------------ typography - */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 96;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.008em; }
h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--ink);
}

.display {
  font-size: var(--fs-hero);
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-variation-settings: 'SOFT' 22, 'WONK' 1, 'opsz' 96;
}
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

em, .italic { font-style: italic; }
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 144;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  letter-spacing: -0.003em;
  max-width: 46ch;
}
.measure { max-width: var(--measure); }
.measure-sm { max-width: 52ch; }
.small { font-size: var(--fs-sm); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.center .eyebrow, .center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.num-marker {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: var(--s2);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------------------------------------------------------------- layout - */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--tight { max-width: 940px; }
.wrap--mid { max-width: 1080px; }
.wrap--wide { max-width: 1440px; }

.sec { padding-block: var(--sec-pad); position: relative; }
.sec--tight { padding-block: clamp(36px, 4.4vw, 64px); }
.sec--flush-top { padding-top: 0; }
.sec--flush-bottom { padding-bottom: 0; }

.sec--shell { background: var(--shell); }
.sec--shell2 { background: var(--shell-2); }
.sec--surface { background: var(--surface); }
.sec--sand { background: var(--sand-2); }
.sec--ink { background: var(--ink); color: var(--on-ink-2); }

.sec--ink h1, .sec--ink h2, .sec--ink h3,
.sec--ink h4, .sec--ink h5, .sec--ink h6 { color: var(--on-ink); }
.sec--ink .eyebrow { color: var(--gold-soft); }
.sec--ink .lead { color: var(--on-ink-2); }
.sec--ink .rule { background: var(--line-ink); }
.sec--ink a:not(.btn) { color: var(--gold-soft); }
.sec--ink a:not(.btn):hover { color: #fff; }

.stack > * + * { margin-top: var(--s3); }
.stack-sm > * + * { margin-top: var(--s2); }
.stack-lg > * + * { margin-top: var(--s5); }

/* Editorial two-column: sticky heading rail + body copy */
.ed {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.ed__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.ed__body > * + * { margin-top: var(--s3); }
.ed__body p { max-width: var(--measure); }

/* Two-column prose for long copy */
.cols-2 {
  columns: 2;
  column-gap: clamp(28px, 4vw, 64px);
  orphans: 3;
  widows: 3;
}
.cols-2 > p { break-inside: avoid-column; max-width: none; }

/* Feature: copy beside a photo */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.2vw, 72px);
  align-items: center;
}
.feature--flip > *:first-child { order: 2; }
.feature--wide-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--wide-copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--top { align-items: start; }

.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: clamp(24px, 3vw, 40px); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: clamp(28px, 3.2vw, 48px);
}
.sec-head--top { align-items: flex-start; }
.sec-head h2, .sec-head h3 { margin: 0; }
.sec-head p { margin: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-block: 11px 10px;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.link-arrow:hover { color: var(--gold-deep); border-color: var(--gold); }
.sec--ink .link-arrow { color: var(--on-ink); border-color: var(--line-ink-2); }

/* Secondary text CTA — the "or do this instead" link under a primary button.
   inline-flex + min-height keeps it a real 44px tap target on a phone. */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-weight: 600;
  color: var(--gold-deep);
}
.tlink:hover { color: var(--ink); }
.sec--ink .tlink { color: var(--gold-soft); }
.sec--ink .tlink:hover { color: #fff; }
.center .tlink { justify-content: center; }

/* --------------------------------------------------------------- buttons - */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: none; }

.btn-primary { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink); }
.btn-primary:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }

.btn-gold { --btn-bg: var(--gold); --btn-fg: #fff; --btn-bd: var(--gold); }
.btn-gold:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink); }

.btn-light { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--surface); }
.btn-light:hover { --btn-bg: #fff; --btn-bd: #fff; }

.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: var(--line-ink-2); }
.btn-outline-light:hover { --btn-bg: var(--on-ink); --btn-fg: var(--ink); --btn-bd: var(--on-ink); }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns--center { justify-content: center; }
.btns--stack { flex-direction: column; align-items: stretch; max-width: 290px; }
.btns--stack .btn { width: 100%; }

/* ---------------------------------------------------------------- photos - */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sand);
  isolation: isolate;
}
.ph > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--sm { border-radius: var(--r); }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--tall { aspect-ratio: 3 / 4; }

/* A photo that is a link: lift, slow zoom, and an arrow badge on hover. */
a > .ph--link,
a .ph--link { transition: transform 0.25s ease, box-shadow 0.25s ease; }
a:hover > .ph--link,
a:focus-visible > .ph--link { transform: translateY(-3px); box-shadow: var(--shadow); }
.ph--link img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
a:hover .ph--link img { transform: scale(1.03); }
.ph--link::after {
  content: '→';
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 33, 30, 0.62);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
a:hover .ph--link::after,
a:focus-visible .ph--link::after { opacity: 1; transform: translateY(0); }

figure { margin: 0; }
.figcap {
  margin-top: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.sec--ink .figcap { color: var(--on-ink-2); }

/* Overlapping photo pair */
.ph-pair { position: relative; }
.ph-pair__inset {
  position: absolute;
  right: 4%;
  bottom: -46px;
  width: 32%;
  max-width: 208px;
  border-radius: var(--r);
  overflow: hidden;
  border: 8px solid var(--shell);
  box-shadow: var(--shadow);
}
.ph-pair__inset img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }

/* ----------------------------------------------------------------- cards - */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.1vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
/* card titles sit in the text face — quieter than a serif at this size */
.card h3, .card h4 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-variation-settings: normal;
}
.card p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.card__icon { color: var(--gold); margin-bottom: 2px; line-height: 0; }
.card__icon svg { width: 26px; height: 26px; }

/* Compact contact / detail card: icon, label, value */
.info {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}
.info__ic {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--gold-deep);
}
.info__ic svg { width: 19px; height: 19px; }
.info__l {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info__v { display: block; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink); }
a.info { color: inherit; }
a.info:hover .info__v { color: var(--gold-deep); }
a.info:hover .info__ic { border-color: var(--gold); }
.sec--ink .info { border-color: var(--line-ink); }
.sec--ink .info__ic { border-color: var(--line-ink-2); color: var(--gold-soft); }
.sec--ink .info__v { color: var(--on-ink); }
.sec--ink .info__l { color: var(--on-ink-2); }
a.card { color: inherit; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
a.card:hover,
.card:has(> * > .stretch:hover),
.card:has(> .stretch:hover) {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.card:has(.stretch:focus-visible) { border-color: var(--line-2); }

/* Stretched link: the heading carries the href, the whole card is the target.
   Anything that must stay clickable inside (a Read-more toggle) gets .above. */
.stretch { color: inherit; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.above { position: relative; z-index: 2; }

.card__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.card__more::after {
  content: '→';
  font-size: 1.15em;
  letter-spacing: 0;
  transition: transform 0.2s ease;
}
a.card:hover .card__more::after,
.card:hover .card__more::after,
.mc:hover .card__more::after { transform: translateX(4px); }
.sec--ink .card { background: var(--ink-2); border-color: var(--line-ink); color: var(--on-ink-2); box-shadow: none; }
.sec--ink .card p { color: var(--on-ink-2); }
.sec--ink .card__more { color: var(--gold-soft); }

/* ------------------------------------------------- media card (photo link) - */
.mc {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.mc .ph { border-radius: 0; flex: none; }
.mc .ph img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mc:hover .ph img { transform: scale(1.035); }
.mc__b {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: clamp(18px, 1.9vw, 26px);
}
.mc__b h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-variation-settings: normal;
  transition: color 0.18s ease;
}
.mc:hover .mc__b h3 { color: var(--gold-deep); }
.mc__b p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.mc__b .num-marker { margin-bottom: 0; }
.sec--ink .mc { background: var(--ink-2); border-color: var(--line-ink); color: var(--on-ink-2); box-shadow: none; }
.sec--ink .mc__b p { color: var(--on-ink-2); }

/* ------------------------------------------------------- read-more toggle - */
details.more { margin-top: 4px; }
details.more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-radius: var(--r-xs);
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
details.more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
details.more > summary:hover { color: var(--ink); }
details.more .less { display: none; }
details.more[open] .less { display: inline; }
details.more[open] .show { display: none; }
.more__body { padding-top: 6px; }
.more__body > * + * { margin-top: 0.9em; }
.more__body p { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--text-2); max-width: var(--measure); }
.more__body h3, .more__body h4 { margin: 0 0 8px; }
.sec--ink details.more > summary { color: var(--gold-soft); }
.sec--ink details.more > summary:hover { color: #fff; }
.sec--ink .more__body p { color: var(--on-ink-2); }

/* A full-width "More about …" editorial block — long SEO copy, folded away. */
.longread {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 6px;
}
.longread > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 56px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.longread > summary::-webkit-details-marker { display: none; }
.longread > summary::after {
  content: '';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232b3532' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  transition: transform 0.22s ease, background-color 0.2s ease;
}
.longread[open] > summary::after { transform: rotate(45deg); background-color: var(--sand-2); }
.longread > summary:hover { color: var(--gold-deep); }
.longread__body { padding: var(--s2) 0 var(--s4); }
.longread__body h3 {
  margin: var(--s5) 0 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.longread__body h3:first-child { margin-top: var(--s2); }
.longread__body p { margin: 0; font-size: var(--fs-sm); line-height: 1.75; color: var(--text-2); max-width: var(--measure); }
.longread__body p + p { margin-top: 0.9em; }
.sec--ink .longread { border-color: var(--line-ink); }
.sec--ink .longread > summary { color: var(--on-ink); }
.sec--ink .longread__body p { color: var(--on-ink-2); }

/* Bare note — hairline above, no box */
.note { position: relative; border-top: 1px solid var(--line); padding-top: var(--s3); }
.note h3, .note h4 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-variation-settings: normal;
}
.note p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; margin: 0; }
.note .card__more { display: inline-flex; margin-top: 12px; padding-top: 0; }
.note:has(.stretch:hover) h3, .note:has(.stretch:hover) h4 { color: var(--gold-deep); }
.note:has(.stretch:hover) .card__more::after { transform: translateX(4px); }
.sec--ink .note { border-color: var(--line-ink); }
.sec--ink .note p { color: var(--on-ink-2); }

/* -------------------------------------------------------------- fact rail - */
.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rail > li {
  padding: 0;
  border-left: 1px solid var(--line);
}
.rail > li:first-child { border-left: 0; }
/* every fact is a link to the page that explains it */
.rail__cell {
  display: block;
  height: 100%;
  color: inherit;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 2vw, 28px);
  border-radius: var(--r-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.rail > li:first-child .rail__cell { padding-left: 0; }
a.rail__cell:hover { background: rgba(22, 33, 30, 0.035); color: inherit; }
a.rail__cell:hover .rail__n { color: var(--gold-deep); }
a.rail__cell .rail__l::after {
  content: '→';
  margin-left: 7px;
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
a.rail__cell:hover .rail__l::after { opacity: 1; transform: translateX(3px); }
.sec--ink a.rail__cell:hover { background: rgba(255, 255, 255, 0.05); }
.sec--ink a.rail__cell:hover .rail__n { color: var(--gold-soft); }
.sec--ink a.rail__cell .rail__l::after { color: var(--gold-soft); }
.rail__n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 120;
}
.rail__n small {
  font-family: var(--font-body);
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-left: 6px;
}
.rail__l {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-2);
}
.sec--ink .rail, .sec--ink .rail > li { border-color: var(--line-ink); }
.sec--ink .rail__n { color: var(--on-ink); }
.sec--ink .rail__l { color: var(--on-ink-2); }
.sec--ink .rail__n small { color: var(--gold-soft); }

/* ------------------------------------------------------------- checklist - */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.checks li::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a37d3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
/* padding + negative margin: a 44px tap target without moving the text */
.checks li a {
  position: relative;
  justify-self: start; /* grid items are blockified — keep the underline on the words */
  padding-block: 10px;
  margin-block: -10px;
  color: var(--text);
  transition: color 0.18s ease;
}
.checks li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--line-2);
  transition: background-color 0.18s ease;
}
.checks li a:hover { color: var(--gold-deep); }
.checks li a:hover::after { background: var(--gold); }
.sec--ink .checks li a { color: var(--on-ink); }
.sec--ink .checks li a::after { background: var(--line-ink-2); }
.sec--ink .checks li a:hover { color: #fff; }
.sec--ink .checks li a:hover::after { background: var(--gold-soft); }
.sec--ink .checks li::before {
  border-color: var(--gold-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e0cfa9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* Spec / plan definition list */
.specs { list-style: none; margin: 0; padding: 0; }
.specs > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: var(--s3) 0;
  border-top: 1px solid var(--line);
}
.specs > li:last-child { border-bottom: 1px solid var(--line); }
.specs__t {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--ink);
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 60;
}
.specs__d { margin: 0; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.65; }
.sec--ink .specs > li { border-color: var(--line-ink); }
.sec--ink .specs__t { color: var(--on-ink); }
.sec--ink .specs__d { color: var(--on-ink-2); }
@media (min-width: 700px) {
  .specs > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); align-items: baseline; }
}

/* ================================================================ chrome = */

/* ---------------------------------------------------------------- topbar - */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-height: var(--topbar-h);
  padding: 0 var(--gutter);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  position: relative;
  z-index: 60;
}
.topbar-text { color: var(--on-ink-2); padding-block: 10px; }
.topbar-cta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-block: 6px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.topbar-cta { position: relative; }
/* keep the pill visually compact but give it a 44px tap target */
.topbar-cta::after { content: ''; position: absolute; inset: -8px -6px; }
.topbar-cta:hover { background: #fff; color: var(--ink); }
.topbar-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--on-ink);
}
/* underline hugs the text, not the 40px tap target */
.topbar-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: var(--line-ink-2);
}
.topbar-link:hover { color: #fff; }
.topbar-link:hover::after { background: currentColor; }

/* ---------------------------------------------------------------- header - */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(22, 33, 30, 0.5); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 36px);
}

.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand-logo { width: auto; height: 30px; }
.brand-logo-light { display: none; }
.brand-logo-dark { display: block; }

.primary-nav { margin-left: auto; }
.primary-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.7vw, 10px);
}
.primary-nav .menu-item { position: relative; }
.primary-nav .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 9px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text);
  border-radius: var(--r-sm);
}

/* "Apply" reads as an action, not another page link */
.primary-nav .menu-item--apply > a,
.mobile-nav .menu-item--apply > a {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 40px;
  font-weight: 700;
  color: var(--ink);
}
.primary-nav .menu-item--apply > a:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.primary-nav .menu-item--apply.is-active > a::after { display: none; }

/* phone, as text, right where a caller looks for it */
.header-tel {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 4px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.header-tel svg { width: 16px; height: 16px; color: var(--gold-deep); }
.header-tel:hover { color: var(--gold-deep); }
.primary-nav .menu-item > a:hover { color: var(--ink); }
.primary-nav .menu-item.is-active > a { color: var(--ink); }
.primary-nav .menu-item.is-active > a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
}
.primary-nav .caret { opacity: 0.5; transition: transform 0.2s ease; }
.primary-nav .menu-item.has-children:hover .caret { transform: rotate(180deg); }

.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.primary-nav .menu-item.has-children:hover > .sub-menu,
.primary-nav .menu-item.has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.primary-nav .sub-menu a:hover { background: var(--shell-2); color: var(--ink); }

.header-cta { flex: none; min-height: 44px; padding: 10px 20px; font-size: var(--fs-sm); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--shell);
  padding: var(--s2) var(--gutter) var(--s5);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav .menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav .menu > .menu-item > a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .menu-item--apply > a {
  justify-content: center;
  margin-top: 12px;
  border-bottom: 0;
}
.mobile-nav .sub-menu { list-style: none; margin: 0; padding: 4px 0 10px 0; }
.mobile-nav .sub-menu a {
  display: block;
  padding: 9px 0 9px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-2);
  border-left: 1px solid var(--line);
}
.mobile-nav .menu-cta { margin-top: var(--s4); display: grid; gap: 10px; }
.mobile-nav .menu-cta a { width: 100%; }

/* ---------------------------------------------------------------- footer - */
.site-footer { background: var(--ink); color: var(--on-ink-2); }
.site-footer .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.footer-top { padding: clamp(48px, 6vw, 88px) 0 var(--s5); }
.footer-logo { display: inline-block; }
.footer-logo img { width: auto; height: 40px; }
.footer-rule { border-top: 1px solid var(--line-ink); margin: var(--s5) 0; }
.footer-contact {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: 2;
  color: var(--on-ink-2);
  letter-spacing: 0.01em;
}
.footer-contact a { color: var(--on-ink); border-bottom: 1px solid transparent; }
.footer-contact a:hover { color: #fff; border-color: var(--line-ink-2); }

.footer-middle { padding-bottom: var(--s5); }
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(16px, 2.4vw, 32px);
}
.footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-2);
}
.footer-menu a:hover { color: var(--gold-soft); }

.footer-bottom { border-top: 1px solid var(--line-ink); padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom)); }
.footer-bottom p { margin: 0; font-size: var(--fs-xs); letter-spacing: 0.06em; color: rgba(243, 239, 231, 0.5); }
.footer-bottom a { color: rgba(243, 239, 231, 0.66); padding-block: 12px; margin-block: -12px; }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------- sticky CTA bar - */
/* Phone-and-tablet conversion rail. Slides up once the hero is behind you. */
.cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 243, 237, 0.96);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -24px rgba(22, 33, 30, 0.6);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cta-bar .btn { flex: 1 1 0; min-height: 48px; padding-inline: 12px; }
.cta-bar .btn-outline { flex: 0 1 42%; }
@media (max-width: 1024px) {
  .cta-bar { display: flex; }
  .cta-bar.is-visible { transform: translateY(0); }
  /* the bar carries "Call" once it is up — no need for two call buttons */
  body.cta-bar-on .float-call { display: none; }
  body.cta-bar-on .footer-bottom { padding-bottom: calc(var(--s3) + var(--ctabar-h) + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------- floating call - */
.float-call {
  position: fixed;
  left: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 80;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.float-call:hover { transform: translateY(-2px); background: var(--gold); color: #fff; }
/* don't let the floating call button sit on top of the open mobile menu */
body:has(#mobile-nav:not([hidden])) .float-call { display: none; }

/* ================================================================= hero == */
.hero {
  position: relative;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(48px, 5.5vw, 80px);
  background: var(--shell);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
/* On wide screens the hero photo bleeds off the right edge of the page.
   `100%` (not 100vw) keeps the maths scrollbar-safe, and the computed left
   padding lands exactly where a normal .wrap starts. */
.hero__bleed {
  max-width: none;
  padding-right: 0;
  padding-left: calc(max(0px, (100% - var(--container)) / 2) + var(--gutter));
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__bleed .hero__media .ph { border-radius: var(--r-xl) 0 0 var(--r-xl); }
.hero__copy { max-width: 34rem; }
.hero__title { margin: 0 0 var(--s2); }
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 36ch;
  margin: 0 0 var(--s4);
}
.hero__meta {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-block: -12px;
  color: var(--muted);
  box-shadow: inset 0 -1px 0 var(--line-2);
}
.hero__meta a:hover { color: var(--gold-deep); }
.hero__media { position: relative; }
.hero__media .ph { border-radius: var(--r-xl); box-shadow: var(--shadow-lift); }

/* Masthead — the compact hero used on interior pages */
.masthead {
  padding-top: clamp(28px, 3.4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 40px);
  background: var(--shell);
}
.masthead__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
}
.masthead h1 { margin: 0; }
.masthead__lead { margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); max-width: 42ch; }
.masthead__band { padding-bottom: clamp(24px, 3.2vw, 48px); background: var(--shell); }
.masthead__band .ph { border-radius: var(--r-xl); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--s3);
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.crumbs a { color: var(--muted); padding-block: 12px; margin-block: -12px; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }

/* ================================================================ forms == */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.2vw, 44px);
}
.sec--ink .form-panel { background: var(--ink-2); border-color: var(--line-ink); }

.lead-form { display: grid; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: block; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  min-height: 48px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-form textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted); opacity: 1; }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 74, 0.16);
}
.lead-form [aria-invalid='true'] { border-color: #b4453b; box-shadow: 0 0 0 3px rgba(180, 69, 59, 0.12); }
.field-submit { margin-top: 4px; }
.field-submit .btn { width: 100%; }
/* trust line — the same promise under every form on the site */
.form-note {
  margin: 6px 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.form-note::before {
  content: '';
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a37d3c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}
.sec--ink .form-note { color: var(--on-ink-2); }
.sec--ink .form-note::before {
  border-color: var(--gold-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e0cfa9' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.form-status { margin: 4px 0 0; font-size: var(--fs-sm); min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #9a3a31; font-weight: 600; }
.form-status.is-success { color: #3c6b52; font-weight: 600; }

.sec--ink .lead-form input,
.sec--ink .lead-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-ink-2);
  color: var(--on-ink);
}
.sec--ink .lead-form input::placeholder,
.sec--ink .lead-form textarea::placeholder { color: rgba(243, 239, 231, 0.5); }
.sec--ink .lead-form input:focus,
.sec--ink .lead-form textarea:focus { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-soft); }

/* ---------------------------------------------------------- contact modal - */
.contact-modal {
  border: 0;
  padding: 0;
  max-width: 520px;
  width: calc(100% - 32px);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lift);
}
.contact-modal::backdrop { background: rgba(22, 33, 30, 0.6); backdrop-filter: blur(3px); }
.contact-modal-inner { padding: clamp(24px, 4vw, 40px); position: relative; }
.contact-modal .modal-title { margin: 0 0 var(--s3); font-size: var(--fs-h3); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
}
.modal-close:hover { background: var(--shell-2); color: var(--ink); }

/* --------------------------------------------------------------- lightbox - */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(13, 20, 18, 0.975);
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { grid-column: 2; margin: 0; display: grid; place-items: center; }
.lightbox-img { max-width: 100%; max-height: 84dvh; width: auto; border-radius: var(--r); }
.lightbox-close,
.lightbox-nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox-close { position: absolute; top: 20px; right: 20px; }
.lightbox-prev { grid-column: 1; justify-self: start; }
.lightbox-next { grid-column: 3; justify-self: end; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
}

/* ================================================== tabs / accordion ==== */
.tabs { display: block; }
.tab-list {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: var(--s6);
}
.tab-list [role='tab'] {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-2);
  padding: 10px 24px;
  min-height: 44px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab-list [role='tab']:hover { color: var(--ink); }
.tab-list [role='tab'][aria-selected='true'] { background: var(--ink); color: var(--on-ink); }
.tab-panel[hidden] { display: none; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s3);
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink);
  min-height: 56px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232b3532' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  transition: transform 0.22s ease, background-color 0.2s ease;
}
.accordion details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--sand-2);
}
.accordion summary:hover { color: var(--gold-deep); }
.accordion-body { padding: 0 0 var(--s3); }
.accordion-body p { max-width: var(--measure); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.7; margin: 0; }
.accordion-body p + p { margin-top: 0.9em; }
.sec--ink .accordion, .sec--ink .accordion details { border-color: var(--line-ink); }
.sec--ink .accordion summary { color: var(--on-ink); }
.sec--ink .accordion-body p { color: var(--on-ink-2); }

/* ================================================================ gallery = */
.gallery { display: grid; gap: 12px; }
.gallery .g-item { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.gallery a.g-item { cursor: zoom-in; }
.gallery .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery a.g-item:hover img { transform: scale(1.035); }
/* every gallery tile says what a click does */
.gallery a.g-item::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(22, 33, 30, 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4M11 8.5v5M8.5 11h5'/%3E%3C/g%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.gallery a.g-item:hover::after,
.gallery a.g-item:focus-visible::after { opacity: 1; transform: translateY(0); }

/* Six-up mosaic that tiles exactly: one 4x2 hero, two 2x1 stackers, three 2x2. */
.gallery-mosaic {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 17.4vw, 244px);
}
.gallery-mosaic .g-item { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .g-item:nth-child(6n + 1) { grid-column: span 4; grid-row: span 2; }
.gallery-mosaic .g-item:nth-child(6n + 2),
.gallery-mosaic .g-item:nth-child(6n + 3) { grid-column: span 2; grid-row: span 1; }

.gallery-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-tiles .g-item { aspect-ratio: 4 / 3; }

.gallery-carousel,
.gallery-slider,
.gallery-fluid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery-carousel::-webkit-scrollbar,
.gallery-slider::-webkit-scrollbar,
.gallery-fluid::-webkit-scrollbar { display: none; }
.gallery-carousel .g-item,
.gallery-slider .g-item,
.gallery-fluid .g-item { scroll-snap-align: start; aspect-ratio: 3 / 2; }

.gallery-wrap { position: relative; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}
.gallery-arrow svg { width: 20px; height: 20px; }
.gallery-arrow.prev { left: -10px; }
.gallery-arrow.next { right: -10px; }
.gallery-arrow:hover { background: var(--ink); color: var(--on-ink); }
.gallery-wrap.is-start .gallery-arrow.prev,
.gallery-wrap.is-end .gallery-arrow.next { opacity: 0; pointer-events: none; }

/* ============================================================ testimonial = */
.testimonials { display: grid; gap: var(--s3); }
.testimonial {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  font-variation-settings: 'SOFT' 30, 'WONK' 1, 'opsz' 30;
}
.testimonial figcaption {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.testimonial.card figcaption { margin-top: auto; }
.testimonial.card .card__more { margin-top: 10px; }
.rating { display: inline-flex; gap: 3px; color: var(--gold); }
.rating svg { width: 15px; height: 15px; fill: currentColor; }
.sec--ink .testimonial blockquote p { color: var(--on-ink); }
.sec--ink .testimonial figcaption { color: var(--on-ink-2); }
.sec--ink .rating { color: var(--gold-soft); }

.quote-lg blockquote p {
  font-size: clamp(1.25rem, 1.08rem + 0.72vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 72;
}

.reviews-widget { min-height: 120px; }

/* ================================================================== blog = */
.post-grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.post-card { display: block; color: inherit; }
.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--sand);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.post-card .card-body { padding-top: 14px; }
.post-card h2,
.post-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-variation-settings: normal;
  transition: color 0.18s ease;
}
.post-card time {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-card:hover h2,
.post-card:hover h3 { color: var(--gold-deep); }
.post-card:hover img { transform: scale(1.02); }

.post-grid--feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.post-grid--feature > .post-card { grid-column: span 2; }
.post-grid--feature > .post-card:first-child { grid-column: span 6; }
.post-grid--feature > .post-card:first-child img { aspect-ratio: 21 / 9; border-radius: var(--r-lg); }
.post-grid--feature > .post-card:first-child h2,
.post-grid--feature > .post-card:first-child h3 { font-size: var(--fs-h3); max-width: 26ch; }

.post-hero { padding: 0 var(--gutter); }
.post-hero img {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--sand);
}
.post-header {
  max-width: 760px;
  margin-inline: auto;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(28px, 3.6vw, 48px);
  text-align: center;
}
.post-header.no-hero { padding-bottom: 0; }
.post-header .eyebrow { justify-content: center; }
.post-header .eyebrow::before { display: none; }
.post-header h1 { margin: 0 0 var(--s2); }
.post-meta {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-body { max-width: 740px; margin-inline: auto; padding-block: clamp(32px, 4.5vw, 56px) clamp(48px, 6vw, 88px); }

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
  margin-top: var(--s10);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.post-nav a { display: block; color: var(--ink); font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.3; }
.post-nav a:hover { color: var(--gold-deep); }
.post-nav .label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.post-nav .next { text-align: right; }

.related { background: var(--shell-2); padding-block: clamp(48px, 6vw, 88px); }
.related .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.related h2 { margin: 0 0 var(--s6); font-size: var(--fs-h3); }
.related-grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-card { display: block; color: inherit; }
.related-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--sand); }
.related-card .card-body { padding-top: 14px; }
.related-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.35;
  font-variation-settings: normal;
}
.related-card time { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.related-card:hover h3 { color: var(--gold-deep); }

/* ================================================================= prose = */
.prose { font-size: var(--fs-base); line-height: 1.7; color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem);
  letter-spacing: -0.018em;
}
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.4em;
  font-size: clamp(1.125rem, 1.06rem + 0.24vw, 1.3125rem);
}
/* Posts open with a markdown bullet list of images — render it as a photo strip. */
.prose ul:has(> li > img) {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-block: 1.8em;
}
.prose ul:has(> li > img) > li { margin: 0; }
.prose ul:has(> li > img) img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-deep); border-bottom: 1px solid rgba(140, 107, 51, 0.35); }
.prose a:hover { color: var(--ink); border-color: var(--ink); }
.prose img { width: 100%; border-radius: var(--r); margin-block: 1.8em; background: var(--sand); }
.prose blockquote {
  margin: 1.8em 0;
  padding-left: var(--s3);
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.5;
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose hr { margin: 2.5em 0; }
.prose strong { color: var(--ink); }

/* --------------------------------------------------------------- misc ---- */
.map {
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  border: 0;
  display: block;
  filter: saturate(0.82) contrast(1.02);
}
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.page-title-band { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); background: var(--shell); }
.page-title-band h1 { margin: 0; }

/* ============================================================ responsive = */
@media (max-width: 1200px) {
  .header-tel { display: none; }
}

@media (max-width: 1080px) {
  .primary-nav .menu { gap: 0; }
  .primary-nav .menu-item > a { padding: 10px 6px; font-size: 0.875rem; }
  .primary-nav .menu-item--apply > a { padding: 8px 13px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 62px; }
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-nav { display: block; }
  .mobile-nav[hidden] { display: none; }
  .brand-logo { height: 28px; }
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .hero__bleed { padding-right: var(--gutter); padding-left: var(--gutter); }
  .hero__bleed .hero__media .ph { border-radius: var(--r-xl); }
  .hero__copy { max-width: none; }
  .hero__lead { max-width: 46ch; }
  .masthead__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s3); align-items: start; }

  .ed { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .ed__aside { position: static; }
  .feature,
  .feature--wide-media,
  .feature--wide-copy { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .feature--flip > *:first-child { order: 0; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-2 { columns: 1; }

  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail > li:nth-child(odd) { border-left: 0; }
  .rail > li:nth-child(odd) .rail__cell { padding-left: 0; }
  .rail > li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid--feature > .post-card,
  .post-grid--feature > .post-card:first-child { grid-column: span 1; }
  .post-grid--feature > .post-card:first-child img { aspect-ratio: 3 / 2; border-radius: var(--r); }
  .post-grid--feature > .post-card:first-child h2,
  .post-grid--feature > .post-card:first-child h3 { font-size: var(--fs-h4); max-width: none; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .gallery-mosaic .g-item,
  .gallery-mosaic .g-item:nth-child(6n + 1),
  .gallery-mosaic .g-item:nth-child(6n + 2),
  .gallery-mosaic .g-item:nth-child(6n + 3) { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
  .gallery-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ph-pair__inset { right: 4%; bottom: -34px; width: 27%; border-width: 6px; }
}

@media (max-width: 700px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .post-grid, .post-grid--feature, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head { align-items: flex-start; flex-direction: column; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav .next { text-align: left; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lightbox-figure { grid-column: 1; }
  .lightbox-prev { position: absolute; left: 12px; bottom: 56px; }
  .lightbox-next { position: absolute; right: 12px; bottom: 56px; }
  .tab-list { display: flex; width: 100%; }
  .tab-list [role='tab'] { flex: 1; padding: 10px 12px; }
  .float-call { width: 50px; height: 50px; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .topbar { font-size: 0.6875rem; letter-spacing: 0.07em; gap: 6px 12px; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail > li { border-left: 0; }
  .rail > li .rail__cell { padding-left: 0; padding-block: 18px; }
  .rail > li + li { border-top: 1px solid var(--line); }
  .gallery-mosaic { grid-template-columns: minmax(0, 1fr); }
  .gallery-tiles { grid-template-columns: minmax(0, 1fr); }
  .ph-pair__inset { display: none; }
  .btns .btn { flex: 1 1 100%; }
}

@media print {
  .topbar, .site-header, .float-call, .cta-bar, .site-footer, .lightbox, .contact-modal { display: none !important; }
  details.more, .longread { display: block; }
  .more__body, .longread__body { display: block !important; }
}
/* long copy stays printable / findable even when collapsed */
@media print {
  details.more > .more__body, .longread > .longread__body { height: auto; }
}

/* ============================================================ floor plans = */
.planframe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 44px);
  display: grid;
  place-items: center;
}
.planframe img { width: 100%; max-width: 440px; height: auto; }

.kv { list-style: none; margin: 0; padding: 0; }
.kv li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.kv li:last-child { border-bottom: 1px solid var(--line); }
.kv .k { color: var(--text-2); }
.kv .v { font-weight: 700; color: var(--ink); text-align: right; }

.price {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 24, 'WONK' 1, 'opsz' 96;
}
.price small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
