/* ==========================================================================
   Halcyon & Harrow — concept estate agency site for Apex Quantum.
   Palette: sage green, warm white, antique gold, soft ink.
   Type: Cormorant Garamond for houses and headlines, Inter Tight for the rest.
   Every illustration is hand-drawn SVG. There are no photographs anywhere.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-500-italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/inter-tight-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/inter-tight-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/inter-tight-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/inter-tight-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --paper:      #F7F4ED;
  --paper-2:    #EFE9DC;
  --paper-3:    #E6DECA;
  --ink:        #1E2420;
  --ink-soft:   #4F5A4A;
  --sage:       #3F5A42;
  --sage-mid:   #6E8A64;
  --sage-deep:  #2C3B2F;
  --sage-dark:  #23301F;
  --gold:       #9A7A2B;
  --gold-ink:   #7A6020;
  --gold-lt:    #D9B964;
  --mist:       #C9D4C2;
  --rule:       #D5CDB9;
  --rule-dark:  #44573F;

  --serif: 'Cormorant Garamond', Constantia, Georgia, 'Palatino Linotype', Palatino, serif;
  --sans:  'Inter Tight', 'Inter', 'Segoe UI', Corbel, system-ui, -apple-system, sans-serif;

  --gut: clamp(18px, 4.2vw, 56px);
  --shell: 1200px;
  --topbar-h: 124px;
  --sec-pad: clamp(68px, 8.5vw, 136px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.65;
  /* Cormorant defaults to old-style figures, which turn "01" into "OI"
     and "11%" into "II%". Lining figures throughout. */
  font-variant-numeric: lining-nums;
  /* A very faint laid-paper tooth, authored in CSS. */
  background-image:
    repeating-linear-gradient(90deg, rgba(120,104,70,0.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(120,104,70,0.016) 0 1px, transparent 1px 5px);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { margin: 0; }

a { color: var(--sage); }
a:hover { color: var(--gold-ink); }

:focus-visible {
  outline: 2.5px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.band--dark :focus-visible,
.foot :focus-visible,
.concept :focus-visible { outline-color: var(--gold-lt); }

.shell {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
}

.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* The first tab stop used to be the concept banner link, then the brand,
   then the toggle, then five nav items, before any content at all. */
.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--sage-dark);
  color: #F4EFE3;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.18s ease;
}
.skip:focus { top: 12px; color: #F4EFE3; }

/* --------------------------------------------------- shared type devices */
.eyebrow {
  font-size: 0.745rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1.1em;
}
.band--dark .eyebrow, .sec-head--dark .eyebrow { color: var(--gold-lt); }

.lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.58;
  font-weight: 300;
  color: var(--ink);
  max-width: 54ch;
}
.lede--tight { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem); line-height: 1.6; }
.band--dark .lede { color: #EFEEE1; }

/* ---------------------------------------------------------------- topbar */
.topbar { position: sticky; top: 0; z-index: 60; }

.concept {
  background: var(--sage-dark);
  border-bottom: 1px solid #3C4E36;
}
.concept__text {
  width: min(100% - (var(--gut) * 2), 1320px);
  margin-inline: auto;
  padding: 7px 0 8px;
  font-size: 0.775rem;
  line-height: 1.45;
  letter-spacing: 0.012em;
  color: #E6E3D4;
  text-align: center;
}
.concept__text strong { color: #F4EFE3; font-weight: 600; }
.concept__link {
  position: relative;
  display: inline-block;
  color: var(--gold-lt);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
  font-weight: 500;
}
.concept__link::after { content: ""; position: absolute; inset: -14px -8px; }
.concept__link:hover { color: #F0DCA7; }

.masthead {
  background: rgba(247, 244, 237, 0.93);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(154, 122, 43, 0.22);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 12px 0;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark { grid-row: 1 / 3; width: 38px; height: 38px; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.18rem, 1rem + 1vw, 1.6rem);
  line-height: 1;
  letter-spacing: 0.005em;
  align-self: end;
}
.brand__amp { color: var(--gold-ink); font-style: italic; }
.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: start;
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__list a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.site-nav__list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav__list a:hover { color: var(--gold-ink); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 3.5px;
  width: 17px;
  height: 12px;
  align-content: center;
}
.nav-toggle__bars span {
  display: block;
  height: 1.6px;
  background: var(--sage);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
/* open: the three bars become a cross and the word becomes Close, so the
   button stops claiming to do the thing it has already done */
.nav-toggle__shut { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__shut { display: inline; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.1px) rotate(-45deg); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--gold {
  background: var(--gold-lt);
  color: #1F2A1C;
  border-color: #C2A153;
}
.btn--gold:hover { background: #E8CE86; color: #1F2A1C; }
.btn--line {
  background: transparent;
  color: var(--sage);
  border-color: #9FAE97;
}
.btn--line:hover { background: var(--sage); color: var(--paper); border-color: var(--sage); }
.btn--sm { padding: 12px 18px; font-size: 0.76rem; }

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(44px, 6vw, 86px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(26px, 3vw, 44px) clamp(32px, 5vw, 76px);
  align-items: start;
  padding-bottom: clamp(38px, 5vw, 68px);
}

h1 {
  font-size: clamp(2.7rem, 1.4rem + 6.6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.016em;
  margin-bottom: 0.46em;
}
h1 em { font-style: italic; color: var(--sage); }

.hero__text .lede { max-width: 50ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 38px);
}

.hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin: clamp(14px, 2vw, 26px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.hero__facts dt {
  font-size: 0.745rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.35;
  min-height: 2.7em; /* keeps the three figures on one baseline when a label wraps */
}
.hero__facts dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.2rem + 2.4vw, 2.9rem);
  line-height: 1;
  color: var(--sage);
}

.hero__card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
}
.hero__card-kicker {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.hero__card-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #DCD4C0;
  font-size: 0.93rem;
  color: var(--ink);
}
.hero__card-line span:last-child {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--sage);
}
.hero__card-kicker--2 {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #DCD4C0;
}
.hero__card-soon {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.hero__card-soon li {
  position: relative;
  padding-left: 17px;
  font-size: 0.865rem;
  line-height: 1.5;
  color: var(--ink);
}
.hero__card-soon li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero__card-note {
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.855rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero__card-note em {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink);
}

/* SIGNATURE DEVICE — the hand-drawn street elevation */
.elevation {
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.elevation__wide { width: 100%; height: auto; }
.elevation__narrow { display: none; width: 100%; height: auto; }
.elevation__caption {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
  padding: 14px 0 16px;
  font-size: 0.775rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ----------------------------------------------------------------- bands */
.band { padding: var(--sec-pad) 0; }
.band--paper2 { background: var(--paper-2); }
.band--dark {
  background: var(--sage-dark);
  color: var(--mist);
  background-image:
    radial-gradient(1100px 420px at 14% -10%, rgba(217,185,100,0.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 4px);
}
.band--dark h2, .band--dark h3, .band--dark h4 { color: #F4EFE3; }
.band--dark a { color: var(--gold-lt); }
.band--dark a:hover { color: #F0DCA7; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 46px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 66px);
}
.sec-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 1.6rem + 3.4vw, 4.6rem);
  line-height: 0.8;
  color: var(--gold);
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}
.sec-head--dark .sec-num { color: var(--gold-lt); border-top-color: var(--gold-lt); }
.sec-head__main h2 {
  font-size: clamp(1.95rem, 1.1rem + 2.9vw, 3.1rem);
  max-width: 24ch;
  margin-bottom: 0.6em;
}

/* Six identical headers left the same empty right third nine times down
   the page, which was the strongest template signal on the whole site.
   Two variants: one puts something in that column, the other lets the
   heading run its full measure with the intro beside it. */
.sec-head--aside {
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr) minmax(220px, 300px);
}
.sec-head__aside {
  border-top: 2px solid var(--rule);
  padding-top: 16px;
}
.sec-head--dark .sec-head__aside { border-top-color: var(--rule-dark); }
.sec-head__aside--art { border-top: 0; padding-top: 0; }
.aside__kicker {
  font-size: 0.705rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.aside__list { margin: 0; display: grid; gap: 13px; }
.aside__list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--rule);
}
.aside__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.aside__list dt {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 17ch;
}
.aside__list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
  color: var(--sage);
}
.aside__cap {
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink-soft);
}

.sec-head--run .sec-head__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 6px clamp(26px, 3.4vw, 54px);
  align-items: end;
}
.sec-head--run .eyebrow { grid-column: 1 / -1; margin-bottom: 0.2em; }
.sec-head--run h2 { max-width: 28ch; margin-bottom: 0; }
.sec-head--run .lede { padding-bottom: 0.3em; }

/* ------------------------------------------------------------ properties */
.grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
}
.props { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.prop {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.band--paper2 .prop { background: var(--paper); }
.prop:hover, .prop:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px -20px rgba(35, 48, 31, 0.45);
}
/* gold corner brackets, drawn on hover */
.prop::before, .prop::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.prop::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.prop::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.prop:hover::before, .prop:hover::after,
.prop:focus-within::before, .prop:focus-within::after { opacity: 1; }

.prop__art { position: relative; border-bottom: 1px solid var(--rule); }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 3; }

.tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sage-dark);
  color: #F4EFE3;
  border-radius: 1px;
  box-shadow: 0 2px 9px -4px rgba(26, 34, 24, 0.6);
}
.tag--new   { background: var(--gold-lt); color: #1F2A1C; }
.tag--sole  { background: var(--sage-deep); color: #F2F6F0; }
.tag--offer { background: #7A3F2E; color: #FBF1E6; }
.tag--let   { background: #32505E; color: #EDF4F6; }
.tag--guide { background: var(--sage); color: #F2F6F0; }
.tag--appt  { background: #4A4336; color: #F6F0E2; }

.prop__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 1.8vw, 26px);
}
.prop__where {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.prop__name {
  font-size: clamp(1.38rem, 1.1rem + 0.8vw, 1.72rem);
  margin: 7px 0 10px;
}
/* The card lifted and drew gold brackets on hover but only an 19px text
   link inside it was clickable. The title is now the link, stretched over
   the whole card, so the card does what it promises. */
.prop__name a { color: inherit; text-decoration: none; }
.prop__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.prop__price {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.1;
  color: var(--sage);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
}
.prop__price span {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
/* "Guide price £895,000", the way an agent writes it, rather than a flag
   in the corner of the drawing and a flat number underneath */
.prop__price .prop__qual {
  letter-spacing: 0.1em;
  color: var(--gold-ink);
  font-weight: 600;
}
.prop__specs {
  margin: 13px 0;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.8rem;
  letter-spacing: 0.028em;
  color: var(--ink);
}
.prop__note { font-size: 0.915rem; line-height: 1.6; }
.prop__act { margin-top: auto; padding-top: 18px; }
.prop__act a {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
/* a 19px text link is a thin target on a phone, so the hit area is grown
   around it rather than the underline being pushed away from the words */
.prop__act a::before {
  content: "";
  position: absolute;
  inset: -13px -8px;
}
.prop__act a:hover { border-bottom-color: var(--gold-ink); }

.grid-foot {
  margin-top: clamp(28px, 3vw, 42px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 54px);
  align-items: center;
}
.grid-foot > p:first-child { max-width: 62ch; }
.grid-foot__ring {
  display: grid;
  gap: 4px;
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 2px solid var(--gold);
}
.grid-foot__ring span {
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.grid-foot__ring a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.grid-foot__ring a:hover { text-decoration: underline; }

/* --------------------------------------------------- selling and letting */
.offer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.offer__panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--sage);
  padding: clamp(24px, 2.6vw, 38px);
}
.offer__panel:last-child { border-top-color: var(--gold); }
.offer__head {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.offer__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.offer__rate {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.offer__rate strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem);
  line-height: 0.9;
  color: var(--sage);
}
.offer__rate span {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 0.93rem;
  line-height: 1.55;
  border-bottom: 1px solid #E3DCCA;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.offer__small {
  margin-top: 18px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
}

/* The board used to be orphaned here in a wide empty column. It has moved
   up into this section's header, so this panel is simply the text. */
.ask {
  margin-top: clamp(34px, 4vw, 56px);
  padding: clamp(26px, 3vw, 44px);
  background: var(--paper-3);
  border: 1px solid #D8CDAF;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 54px);
  align-items: start;
}
.ask__text { max-width: 62ch; }
.board { width: 100%; height: auto; max-width: 230px; margin-inline: auto; }
.sign { width: 100%; height: auto; max-width: 260px; }
/* Everything lettered inside the artwork is set in the brand fonts. The
   two signature illustrations used to be lettered in Trebuchet MS and
   Georgia, which was the clearest "a template did this" tell on the page. */
.board__word, .sign__word, .medal__mono { font-family: var(--serif); font-weight: 500; }
.board__amp { font-style: italic; fill: var(--gold-lt); }
.board__sold { font-family: var(--sans); font-weight: 600; }
.ask__h {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
  max-width: 17ch;
  padding-top: 4px;
}
.numbered {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: q;
}
.numbered li {
  counter-increment: q;
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}
.numbered li::before {
  content: counter(q);
  position: absolute; left: 0; top: 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold-ink);
}

/* ------------------------------------------------------------ our record */
.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  margin: 0;
  padding-bottom: clamp(38px, 4vw, 58px);
}
.figure { border-top: 1px solid var(--rule-dark); padding-top: 18px; }
.figure dt {
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  line-height: 1.4;
  min-height: 2.8em;
}
.figure dd { margin: 0; }
.figure__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 2rem + 3.6vw, 5rem);
  line-height: 0.9;
  color: #F4EFE3;
  margin: 10px 0 12px;
}
.figure__num .unit {
  font-size: 0.4em;
  letter-spacing: 0.02em;
  color: var(--mist);
  margin-left: 0.14em;
}
.figure__note {
  display: block;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--mist);
}

.chart {
  margin: 0 0 clamp(44px, 5vw, 70px);
  padding: clamp(20px, 2.4vw, 32px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--rule-dark);
}
.chart svg { width: 100%; height: auto; }
.chart figcaption {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--mist);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}
/* columns above 640, rows below it */
.chart__narrow { display: none; }
.c-x, .c-y, .c-note { font-family: var(--sans); }
.c-x, .c-y { font-size: 12px; }
.c-note { font-size: 12px; font-weight: 500; }
.cn-month, .cn-val, .cn-note { font-family: var(--sans); }
.cn-month { font-size: 17px; font-weight: 500; }
.cn-val { font-size: 16px; }
.cn-note { font-size: 16px; font-weight: 500; }

.quotes-h {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem);
  margin-bottom: clamp(22px, 2.6vw, 34px);
  padding-top: clamp(14px, 2vw, 22px);
  border-top: 1px solid var(--rule-dark);
}
.quotes {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
/* the attributions share a baseline even when one quote runs longer */
.quotes li { display: flex; flex-direction: column; }
.quotes blockquote { margin: 0; position: relative; padding-top: 30px; }
.quotes blockquote::before {
  content: "\201C";
  position: absolute; top: -8px; left: -4px;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--gold-lt);
}
.quotes blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.28rem);
  line-height: 1.46;
  color: #F0EEE1;
}
.quotes__by {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.quotes-note {
  margin-top: clamp(26px, 3vw, 38px);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--mist);
}

/* -------------------------------------------------------------- the vale */
.areas {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 56px);
  align-items: start;
}
.areas__map {
  border: 1px solid var(--rule);
  background: #F1EDE1;
  padding: 10px;
}
.map { width: 100%; height: auto; }

.pin__halo { fill: rgba(122, 96, 32, 0.08); stroke: none; transition: fill 0.3s ease; }
.pin__dot { fill: #8B9B82; stroke: #F1EDE1; stroke-width: 2.4; transition: fill 0.3s ease, r 0.3s ease; }
.pin__label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  fill: #3E4939;
  /* A paper-coloured halo, the way a surveyor's map keeps a place name
     legible where it crosses a boundary. Kept narrow: at 4px it blanked
     the full width of the text and the railway appeared to terminate at
     the label and restart after it. */
  paint-order: stroke;
  stroke: #F1EDE1;
  stroke-width: 2.4px;
  stroke-linejoin: round;
  transition: fill 0.3s ease;
}
.pin { cursor: pointer; }
.pin:hover .pin__dot { fill: var(--sage); }
.pin.is-active .pin__halo { fill: rgba(154, 122, 43, 0.26); }
.pin.is-active .pin__dot { fill: var(--gold-ink); r: 10; }
.pin.is-active .pin__label { fill: #2B3327; font-weight: 700; }

/* Map lettering, all of it in the brand fonts. The classes are split by
   what the thing is, not by how small it is, because the old single
   .map-minor class was hiding the field parcels and the station's own
   name on a phone and leaving its black diamond behind unexplained. */
.map-area, .map-station, .map-scale { font-family: var(--sans); }
.map-area { font-size: 13px; font-weight: 600; }
.map-station { font-size: 14px; font-weight: 500; }
.map-scale { font-size: 13px; }
.map-water, .map-compass { font-family: var(--serif); font-style: italic; }
.map-water { font-size: 17px; }
.map-compass { font-size: 15px; font-style: normal; font-weight: 500; }
.map-area, .map-water, .map-station {
  paint-order: stroke;
  stroke: #F1EDE1;
  stroke-width: 2.4px;
  stroke-linejoin: round;
}

/* the key is HTML, so it is readable type at any width */
.map-key {
  list-style: none;
  margin: 12px 0 0;
  padding: 11px 2px 2px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 2vw, 26px);
}
.map-key li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.map-key svg { width: 30px; height: 12px; flex: none; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(22px, 2.6vw, 30px);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  padding: 6px 17px;
  background: transparent;
  color: var(--ink);
  border: 1px solid #BFB8A4;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.chip:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.chip[aria-selected="true"] {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #F4EFE3;
}

.guide:focus-visible { outline-offset: 6px; }

.guide__char {
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1rem + 0.6vw, 1.42rem);
  line-height: 1.45;
  color: var(--ink);
}
.guide h4 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  margin-bottom: 0.4em;
}
.guide__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(22px, 2.6vw, 30px) 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.guide__facts dt {
  font-size: 0.715rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}
.guide__facts dd {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--sage);
}
.guide__snag {
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 16px 18px;
  background: var(--paper-3);
  border-left: 3px solid var(--gold);
}
.guide__snag strong { color: var(--ink); }

/* ----------------------------------------------------------------- about */
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 50px);
}
.person {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: start;
}
.medal { width: 96px; height: 96px; }
.person h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.person__role {
  margin: 7px 0 12px;
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.person p { font-size: 0.93rem; line-height: 1.62; }

/* was 1.08fr 1fr with align-items: center, which left 260px of nothing in
   the middle of the band and dropped the text 230px below the drawing */
.office {
  margin-top: clamp(32px, 4vw, 54px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(26px, 3vw, 46px);
  align-items: start;
}
.office__text { max-width: none; }
.office h3 { font-size: 1.45rem; margin-bottom: 12px; }
.office__text p + p { margin-top: 14px; }
.office__fig { margin: 0; }
.office__draw {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}
.office__fig figcaption {
  margin-top: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-align: center;
}

/* ------------------------------------------------------------- valuation */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: stretch;
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.form__note {
  grid-column: 1 / -1;
  font-size: 0.83rem;
  line-height: 1.55;
  padding: 12px 15px;
  background: rgba(217, 185, 100, 0.13);
  border-left: 3px solid var(--gold-lt);
  color: #EDEADC;
}
.field { grid-column: 1 / -1; display: grid; gap: 7px; }
.field--half { grid-column: span 1; }
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #DCE4D6;
}
/* a visible marker for the two fields the browser genuinely enforces, so
   sighted and screen-reader users are told the same thing */
.req { color: var(--gold-lt); font-weight: 600; }
.form__note .req { font-style: normal; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: #1C2419;
  background: #EFEDE2;
  border: 1px solid #7E8C78;
  border-radius: 2px;
  padding: 11px 13px;
  width: 100%;
  min-width: 0;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.6 6 6.6l5-5' fill='none' stroke='%237A6020' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 8px;
  padding-right: 36px;
}
.field input:focus, .field select:focus, .field textarea:focus { background: #FFFDF6; }
.field--check {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}
/* 18px was under the WCAG 2.2 minimum of 24 */
.field--check input { width: 24px; height: 24px; margin-top: 1px; accent-color: #6E8A64; }
.field--check label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #DFE6D9;
}
/* a 635px wide submit button looked like a mobile style that escaped */
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form__result {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gold-lt);
  min-height: 1px;
}
.form__result:not(:empty) {
  padding: 13px 15px;
  background: rgba(217, 185, 100, 0.13);
  border-left: 3px solid var(--gold-lt);
}

.details {
  border-top: 2px solid var(--gold-lt);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.details h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 20px; }
.details__list { margin: 0; display: grid; gap: 18px; }
.details__list dt {
  font-size: 0.715rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.details__list dd {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: 1.26rem;
  line-height: 1.4;
  color: #F2F0E4;
}
.details__list dd a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.details__fict {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--mist);
}
/* this was the last unfilled grid cell on the page */
.details__fig {
  margin: auto 0 0;
  padding-top: clamp(22px, 3vw, 40px);
}
.details__fig svg { width: 100%; max-width: 270px; height: auto; }
.details__fig figcaption {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 0.8rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--mist);
}

/* ---------------------------------------------------------------- footer */
.foot {
  background: #19211A;
  color: var(--mist);
  padding: clamp(50px, 6vw, 84px) 0 clamp(28px, 3vw, 40px);
}
/* was 1fr 1.25fr, which left a 245px hole between the tagline and the
   first link column while the footer carried no contact details at all */
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.9fr);
  gap: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(32px, 4vw, 50px);
  border-bottom: 1px solid #33402F;
}
.foot__mark { width: 40px; height: 40px; margin-bottom: 14px; }
.foot__name {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  color: #F4EFE3;
}
.foot__name span { color: var(--gold-lt); font-style: italic; }
.foot__tag { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; max-width: 40ch; }

.foot__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.foot__h {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__nav a {
  font-size: 0.89rem;
  color: #DDE3D7;
  text-decoration: none;
}
.foot__nav a:hover { color: var(--gold-lt); text-decoration: underline; }
.foot__addr, .foot__hours {
  margin-top: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #BECBB6;
}
.foot__hours { color: #A8B8A0; }

.foot__bottom { padding-top: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; }
.foot__concept { font-size: 0.86rem; line-height: 1.6; max-width: 92ch; }
.foot__concept strong { color: #F4EFE3; font-weight: 600; }
.foot__concept a { color: var(--gold-lt); }
.foot__craft {
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #9FB096;
}

/* --------------------------------------------- open mobile menu lock */
html.nav-locked, html.nav-locked body { overflow: hidden; }

/* ------------------------------------------------------------ reveal fx */
html.js [data-fade] { opacity: 0; transform: translateY(16px); }
html.js [data-fade].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 1240px) {
  .sec-head--aside {
    grid-template-columns: minmax(0, 88px) minmax(0, 1fr) minmax(190px, 250px);
    gap: clamp(16px, 2.4vw, 34px);
  }
  .board { max-width: 190px; }
  .sign { max-width: 220px; }
}

@media (max-width: 1080px) {
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; gap: 26px; }
  .quotes blockquote p { font-size: 1.2rem; }
  .quotes__by { margin-top: 0; }
  .areas { grid-template-columns: 1fr; }
  .areas__map { max-width: 620px; }
  .contact { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .sec-head--run .sec-head__main { grid-template-columns: 1fr; gap: 0; }
  .sec-head--run h2 { margin-bottom: 0.6em; }
}

@media (max-width: 920px) {
  .sec-head__aside { max-width: 460px; }
  .sec-head--aside .sec-head__aside { grid-column: 1; }
  :root { --topbar-h: 112px; }
  .masthead__inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  html.js .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    border-top: 1px solid var(--rule);
    margin-top: 10px;
  }
  html.js .site-nav.is-open {
    display: flex;
    /* if the shelf ever outgrows the screen it scrolls itself rather than
       trapping anyone behind it */
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: 13px 2px;
    font-size: 1rem;
    min-height: 44px;
    border-bottom: 1px solid #E4DCCA;
  }
  .site-nav__list a::after { display: none; }
  .masthead__cta { margin-top: 14px; align-self: start; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 560px; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .elevation__wide { display: none; }
  .elevation__narrow { display: block; }

  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-num { border-top: 0; padding-top: 0; line-height: 1; }
  .sec-head__main h2 { max-width: 30ch; }

  .offer { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; gap: 20px; }
  .ask__h { max-width: 24ch; }
  .board { max-width: 210px; }
  .sign { max-width: 250px; }
  .people { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr; gap: 28px; }
  .office__text { max-width: none; }
  .office__fig { max-width: 500px; }
  .details__fig { padding-top: 26px; }
}

/* Between a phone and a laptop the single elevation would be 600px of
   one house. Framed rather than bled, it sits at a sensible size. */
@media (min-width: 641px) and (max-width: 920px) {
  .elevation__narrow { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 640px) {
  /* Only the compass and the scale bar go. The field parcels, the downs,
     the marsh and the station's own name stay: hiding them left a black
     diamond floating beside Ashcote with nothing to explain it. */
  .map-furniture { display: none; }
  .pin__label { font-size: 21px; }
  .map-area { font-size: 15px; }
  .map-water { font-size: 19px; }
  .map-station { font-size: 20px; }
  /* twelve columns on a phone are twelve illegible columns */
  .chart__wide { display: none; }
  .chart__narrow { display: block; }
  .grid-foot { grid-template-columns: 1fr; gap: 22px; }
  .grid-foot__ring {
    padding-left: 0;
    border-left: 0;
    padding-top: 15px;
    border-top: 2px solid var(--gold);
  }
  .props { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; gap: 0; }
  .figure { padding: 18px 0 22px; }
  .figure dt { min-height: 0; }
  .figure__num { font-size: 3.4rem; margin: 8px 0 10px; }
  .hero__facts { grid-template-columns: 1fr; gap: 0; }
  .hero__facts div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--rule);
  }
  .hero__facts dt { max-width: 20ch; min-height: 0; }
  .hero__facts dd { font-size: 2rem; }
  .guide__facts { grid-template-columns: 1fr; gap: 0; }
  .guide__facts div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--rule);
  }
  .guide__facts div:last-child { border-bottom: 0; }
  .guide__facts dd { font-size: 1.1rem; text-align: right; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .form .btn { justify-self: stretch; text-align: center; }
  .foot__nav { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  .person { grid-template-columns: 1fr; }
  .medal { width: 78px; height: 78px; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }

  /* The page is twenty phone screens long, of which the hero was two
     before you reached section 01. Tightened, not cut: the copy is the
     best thing here and none of it is worth losing. */
  :root { --sec-pad: 58px; }
  .hero { padding-top: 30px; }
  .hero__grid { gap: 22px; padding-bottom: 30px; }
  .hero__card { padding: 19px; }
  .hero__card-note { padding-top: 16px; }
  .hero__card-kicker--2 { margin-top: 17px; padding-top: 14px; }
  .hero__facts { padding-top: 18px; }
  .elevation__caption { padding: 11px 0 13px; }
  .aside__list dd { font-size: 1.3rem; }
  .board { max-width: 160px; }
  .sign { max-width: 190px; }
  .sec-head__aside--art { display: flex; align-items: flex-start; gap: 16px; }
  .sec-head__aside--art .aside__cap { margin-top: 0; }
  .guide__char { margin-bottom: 2px; }
  .map-key { gap: 7px 18px; }
}

@media (max-width: 400px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.14rem; }
  .brand__mark { width: 32px; height: 32px; }
  /* tap targets grow as the screen narrows; they used to shrink here */
  .chip { font-size: 0.78rem; padding: 6px 14px; }
}

@media (min-width: 1500px) {
  :root { --shell: 1320px; }
}

/* --------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-fade] { opacity: 1 !important; transform: none !important; }
  .prop:hover, .prop:focus-within { transform: none; }
  .pin__dot, .pin__halo, .pin__label { transition: none; }
  .nav-toggle__bars span { transition: none; }
  .skip { transition: none; }
}
