/* ============================================================
   346 Corona — design system
   ============================================================ */

:root {
  --paper:        #F2EEE5;
  --paper-soft:   #EBE6DB;
  --ink:          #111111;
  --ink-soft:     #4A4A4A;
  --ink-mute:     #8B8378;
  --rule:         #1A1A1A;
  --hairline:     #C8C2B4;
  --accent:       #8C6A4F;
  --accent-deep:  #5C4631;
  --serif: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --max:    1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --rhythm: clamp(80px, 12vh, 160px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html, body { margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}

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

img { image-orientation: from-image; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}

a:hover { opacity: .6; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Typography ---------- */

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.04;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.h1 { font-size: clamp(40px, 6.5vw, 96px); }
.h2 { font-size: clamp(32px, 4.6vw, 64px); }
.h3 { font-size: clamp(22px, 2.4vw, 32px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-soft); }

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--rhythm); }
.section--tight { padding-block: clamp(48px, 8vh, 100px); }

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

.rule--soft { background: var(--hairline); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}

.nav.is-scrolled {
  padding-block: 14px;
  border-bottom-color: var(--hairline);
}

.nav__brand {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
}

.nav__brand small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 10px;
  vertical-align: middle;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(18px, 2.6vw, 36px);
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav__list a {
  position: relative;
  padding: 6px 0;
}

.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 8px; right: 8px;
  height: 1px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child  { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child  { top: 20px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }

  /* Open state — nav header flips to dark, hamburger lines flip to paper */
  .nav.is-open {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .nav.is-open .nav__brand,
  .nav.is-open .nav__brand small { color: var(--paper); }
  .nav.is-open .nav__toggle span { background: var(--paper); }

  /* Full-screen dark overlay menu */
  .nav__list {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px var(--gutter) 48px;
    gap: 0;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(24px, 6vw, 32px);
    letter-spacing: -0.01em;
    color: var(--paper);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .35s var(--ease);
  }
  .nav.is-open .nav__list { opacity: 1; transform: none; pointer-events: auto; }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid rgba(245, 242, 236, 0.14);
  }
  .nav__list li:last-child { border-bottom: 0; }

  .nav__list a {
    color: var(--paper);
    padding: 18px 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    width: 100%;
    opacity: 1;
  }
  .nav__list a[aria-current="page"] { color: var(--paper); }
  .nav__list a[aria-current="page"]::after {
    background: var(--paper);
    bottom: 14px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,15,15,0.20) 0%,
    rgba(15,15,15,0.05) 35%,
    rgba(15,15,15,0.55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--gutter);
  padding-bottom: clamp(40px, 8vh, 100px);
  color: #F5F2EC;
  display: grid;
  gap: clamp(24px, 4vh, 56px);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.75);
}

.hero__title {
  color: #F5F2EC;
  max-width: 16ch;
}

.hero--page {
  min-height: 70vh;
}

/* ---------- Editorial sections ---------- */

.editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.editorial__eyebrow { grid-column: 1 / 3; padding-top: 10px; }
.editorial__head    { grid-column: 3 / 9; }
.editorial__body    { grid-column: 3 / 9; max-width: 60ch; }
.editorial__aside   { grid-column: 9 / 13; max-width: 36ch; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .editorial__eyebrow,
  .editorial__head,
  .editorial__body,
  .editorial__aside { grid-column: 1 / -1; }
  .editorial__aside { padding-top: 12px; }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: clamp(28px, 4vh, 48px) clamp(16px, 2.4vw, 32px);
  border-right: 1px solid var(--hairline);
  display: grid;
  gap: 12px;
  align-content: start;
}

.stat:last-child { border-right: 0; }

.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}

.stat__num small {
  font-size: 0.4em;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.04em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--ink-soft);
}

.stat__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}

/* ---------- Pillars (3 cards) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.pillar {
  display: grid;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  transition: transform .5s var(--ease);
}

.pillar:hover { opacity: 1; transform: translateY(-4px); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar:hover .pillar__arrow { transform: translateX(8px); }

.pillar__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-soft);
}
.pillar__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.pillar__num { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.pillar__title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; }
.pillar__desc  { font-size: 14.5px; color: var(--ink-soft); max-width: 38ch; }
.pillar__arrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; transition: transform .4s var(--ease); }
.pillar__arrow::after { content: " →"; }

@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Mosaic (image grid) ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 16vw, 220px);
  gap: clamp(8px, 1vw, 16px);
}

.mosaic figure { margin: 0; overflow: hidden; background: var(--paper-soft); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }

.m-tall  { grid-column: span 4; grid-row: span 3; }
.m-wide  { grid-column: span 8; grid-row: span 2; }
.m-sq    { grid-column: span 4; grid-row: span 2; }
.m-half  { grid-column: span 6; grid-row: span 2; }
.m-third { grid-column: span 4; grid-row: span 2; }

@media (max-width: 800px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; }
  .m-tall, .m-wide, .m-sq, .m-half, .m-third { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Image with caption ---------- */

.plate {
  display: grid;
  gap: 14px;
}

.plate__media {
  overflow: hidden;
  background: var(--paper-soft);
}
.plate__media img { width: 100%; height: auto; }

.plate__caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.plate__caption .num { font-variant-numeric: tabular-nums; }

/* ---------- Two-column split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 80px);
  align-items: center;
}

.split--reverse > :first-child { order: 2; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Chapter (renovation page) ---------- */

.chapter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(60px, 9vh, 120px);
  border-top: 1px solid var(--hairline);
}

.chapter__num {
  grid-column: 1 / 3;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-mute);
  font-variation-settings: "opsz" 144;
}
.chapter__head { grid-column: 3 / 8; }
.chapter__body { grid-column: 3 / 8; max-width: 56ch; }
.chapter__media { grid-column: 8 / 13; }
.chapter__media img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .chapter__num,
  .chapter__head,
  .chapter__body,
  .chapter__media { grid-column: 1 / -1; }
}

.chapter h2 { margin-bottom: 22px; }

.chapter ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 14.5px;
}

.chapter ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: baseline;
}

.chapter ul li::before {
  content: "—";
  color: var(--ink-mute);
}

/* ---------- Spec table ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spec th, .spec td {
  text-align: left;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.spec th {
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.spec tbody tr:hover { background: var(--paper-soft); }

.spec td:last-child { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Big number block ---------- */

.bignum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.bignum__cell {
  padding: clamp(40px, 6vh, 80px) clamp(20px, 3vw, 48px);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 16px;
}
.bignum__cell:last-child { border-right: 0; }

.bignum__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 10vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}

.bignum__num small {
  font-family: var(--sans);
  font-size: 0.22em;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: top;
  margin-left: 8px;
  color: var(--ink-soft);
}

.bignum__label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  max-width: 36ch;
}

@media (max-width: 800px) {
  .bignum { grid-template-columns: 1fr; }
  .bignum__cell { border-right: 0; }
}

/* ---------- Pull quote ---------- */

.pullquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.pullquote::before { content: "“"; margin-right: 0.05em; }
.pullquote::after  { content: "”"; }

/* ---------- Page header ---------- */

.page-header {
  padding-top: clamp(140px, 18vh, 220px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

.page-header__index {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.page-header h1 { max-width: 14ch; }

.page-header__sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(60px, 8vh, 100px) 32px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: 60px;
}

.footer__top h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer__top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.footer__brand {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Barchart ---------- */

.barchart { display: grid; gap: 28px; }

.barchart__row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 3fr) minmax(110px, 0.8fr);
  gap: clamp(14px, 2vw, 32px);
  align-items: center;
}

.barchart__label { font-size: 14px; color: var(--ink); }
.barchart__sub   { font-size: 11px; letter-spacing: 0.04em; margin-top: 4px; }

.barchart__track {
  height: 4px;
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
}

.barchart__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--w, 1));
  transition: transform 1.4s var(--ease);
}

.barchart__fill--accent { background: var(--accent); }

.barchart__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 144;
}

.barchart__row--total {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .barchart__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .barchart__num { text-align: left; font-size: 26px; }
}

/* Economic spec table — total row */

.spec--econ td:not(:first-child),
.spec--econ th:not(:first-child) { text-align: right; }

.spec--econ .spec__total td {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  font-size: 17px;
}

.spec--econ .spec__total td:first-child { color: var(--ink); }

/* Compact transposed table — fits narrow viewports without horizontal scroll */
.spec--compact { table-layout: fixed; }
.spec--compact th:first-child,
.spec--compact td:first-child {
  width: 38%;
  white-space: normal;
  color: var(--ink-soft);
}
.spec--compact th { font-size: 11px; }
.spec--compact td:not(:first-child) { font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  /* override the global mobile-scroll behavior on .spec for compact tables */
  .spec--compact {
    display: table;
    overflow-x: visible;
    white-space: normal;
    background: none;
  }
  .spec--compact th, .spec--compact td {
    padding: 12px 6px 12px 0;
    font-size: 12px;
  }
  .spec--compact th:first-child, .spec--compact td:first-child {
    width: 36%;
    padding-right: 8px;
  }
  .spec--compact td:last-child, .spec--compact th:last-child { padding-right: 0; }
}

/* ---------- Form ---------- */

.form { display: grid; gap: 22px; max-width: 560px; }

.form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form input,
.form textarea {
  font: inherit;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
  outline: none;
  transition: border-color .25s var(--ease);
}

.form input:focus,
.form textarea:focus { border-color: var(--accent); }

.form textarea { resize: vertical; min-height: 140px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease);
  align-self: start;
}

.btn:hover { background: transparent; color: var(--ink); opacity: 1; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Misc helpers ---------- */

.flow > * + * { margin-top: 1.2em; }

.divider {
  margin-block: clamp(40px, 6vh, 80px);
  height: 1px;
  background: var(--hairline);
}

.right { text-align: right; }

.aspect-43 { aspect-ratio: 4 / 3; }
.aspect-32 { aspect-ratio: 3 / 2; }
.aspect-11 { aspect-ratio: 1 / 1; }
.aspect-45 { aspect-ratio: 4 / 5; }

.cover { object-fit: cover; width: 100%; height: 100%; }

/* ============================================================
   Mobile / iPhone responsive refinements
   ============================================================ */

@media (max-width: 720px) {
  /* Tighter rhythm and gutters on phones */
  :root { --rhythm: clamp(56px, 9vh, 100px); }

  .page-header {
    padding-top: clamp(110px, 16vh, 160px);
    padding-bottom: clamp(40px, 6vh, 64px);
  }

  /* Tables: keep them on one row, horizontally scrollable */
  .spec {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    /* visual hint that there's more to scroll */
    background:
      linear-gradient(to right, var(--paper) 30%, rgba(242,238,229,0)) left center / 24px 100% no-repeat,
      linear-gradient(to right, rgba(242,238,229,0), var(--paper) 70%) right center / 24px 100% no-repeat;
    background-attachment: local, local;
  }
  .spec th, .spec td {
    padding: 14px 18px 14px 0;
    font-size: 13px;
  }
  .spec td:last-child, .spec th:last-child { padding-right: 0; }

  /* Larger mobile nav touch targets */
  .nav__list a { padding: 12px 0; min-height: 44px; display: flex; align-items: center; }

  /* Hero: trim a bit so the title is fully visible on iPhone SE */
  .hero__inner { padding-bottom: 36px; gap: 18px; }
  .hero__meta { font-size: 11px; gap: 12px; }

  /* Hero title — guarantee it fits one or two lines on iPhone SE */
  .display { font-size: clamp(40px, 12vw, 88px); }

  /* Editorial asides slightly larger on phone for legibility */
  .editorial__aside { font-size: 15px; }

  /* Long eyebrows tighten letter-spacing so they don't wrap awkwardly */
  .eyebrow { letter-spacing: 0.16em; }

  /* Stat band — cleaner cell padding on small screens */
  .stat { padding: 24px 18px; }
  .stat__num { font-size: clamp(40px, 14vw, 64px); }

  /* Bignum band when stacked */
  .bignum__cell { padding: 36px 22px; }
  .bignum__num { font-size: clamp(48px, 15.5vw, 88px); }

  /* Pillars — looser spacing */
  .pillar__media { aspect-ratio: 4 / 3; }
  .pillar__title { font-size: 26px; }

  /* Plate caption — wrap if cramped */
  .plate__caption { flex-wrap: wrap; gap: 6px; }

  /* Footer — single column reads better than 2x2 on a phone */
  .footer__top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }

  /* Map iframe — taller on phones for usability */
  iframe[title*="Map"] { min-height: 420px; }
}

/* Avoid iOS auto-zoom when focusing a form input (≥ 16 px) */
.form input, .form textarea { font-size: 16px; }

/* Honor iOS safe areas (notched phones) for fixed nav */
@supports (padding: max(0px)) {
  .nav {
    padding-left:  max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}
