/* Turnkey Vintage — 2026 redesign.
 *
 * Lifted from the approved design canvas so the live site and the design
 * cannot drift. Display face is Bodoni Moda (cut in the 1790s), body is
 * Libre Caslon Text (1722) — the lettering is from the same century as the
 * clocks. Motion is CSS scroll-driven timelines only: no JS, nothing to load,
 * and every rule is inside @supports so a browser without scroll timelines
 * renders the finished page with no motion rather than blank space.
 *
 * Every colour and size here comes from tokens.css. Nothing in this file
 * declares a token, and no literal hex belongs in it — see the header of
 * tokens.css for why that rule exists and what broke when it didn't.
 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-text);
  font-size: var(--fs-0); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brass); text-decoration: none; transition: color var(--dur-fast) ease; }
a:hover { color: var(--brass-lit); }
img { display: block; max-width: 100%; }

/* One focus ring for the whole site. 8.37:1 against the ground, well past
   the 3:1 that 2.4.11 asks of a focus indicator, and it never relies on a
   colour change alone. */
:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.doc {
  position: relative;
  background: var(--ink);
  overflow-x: hidden;
}

/* Film grain over the whole document — the single thing that stops
   large flat areas reading as flat vector fills. */
.doc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: var(--z-grain);
  opacity: .34; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.5'/></svg>");
}

.band  { padding-inline: var(--gutter); position: relative; }
.inner { max-width: var(--inner-max); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400; margin: 0; line-height: var(--lh-display); letter-spacing: var(--track-display);
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.09; }
h3 { font-size: var(--fs-2xl); line-height: var(--lh-tight); letter-spacing: -.005em; }
p  { margin: 0; }
.lede  { font-size: clamp(17px, 1.35vw, 20px); color: var(--cream-2); max-width: var(--measure); }
.label {
  font-family: var(--font-text);
  font-size: var(--fs--1); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--faint);
}
.fig {
  font-size: var(--fs--1); letter-spacing: var(--track-fig); text-transform: uppercase;
  color: var(--faint); font-variant-numeric: tabular-nums;
}
.cap { font-style: italic; font-size: var(--fs-s); color: var(--faint); line-height: 1.6; }
.bracket { color: var(--verdigris); font-style: italic; }

.hair      { height: 1px; background: var(--hair); transform-origin: left center; }
.hair-dark { height: 1px; background: var(--hair-dark); transform-origin: left center; }

/* Engraver's fleuron between movements of the page. */
.fleuron { display: flex; align-items: center; gap: 18px; color: var(--brass); }
.fleuron .l { flex: 1; height: 1px; background: var(--hair); }

/* ---------- masthead ---------- */
.mast {
  position: absolute; inset-inline: 0; top: 0; z-index: var(--z-mast);
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 26px var(--gutter);
}
.mark { display: flex; align-items: center; gap: 12px; }
.mark .nm {
  font-family: var(--font-display); font-size: var(--fs-xl);
  letter-spacing: .3em; text-transform: uppercase; color: var(--cream);
}
.mast nav { margin-left: auto; display: flex; gap: 34px; align-items: center; }
.mast nav a {
  font-size: 12.5px; letter-spacing: var(--track-nav); text-transform: uppercase; color: var(--cream-2);
  /* 2.5.8 — 12.5px of uppercase is a 13px-tall target on its own. */
  padding-block: 6px;
}
.mast nav a:hover { color: var(--brass); }
.mast nav a[aria-current="page"] { color: var(--brass); }
.mast .cta { border: 1px solid var(--line-control); padding: 10px 20px; color: var(--cream) !important; }
.mast .cta:hover { border-color: var(--brass); background: rgba(255,255,255,.04); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 104vh; display: grid; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: -9% 0 -9% 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.08); }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,11,9,.88) 0%, rgba(13,11,9,.28) 34%, rgba(13,11,9,.72) 74%, var(--ink) 100%),
    radial-gradient(120% 82% at 50% 44%, transparent 30%, rgba(13,11,9,.72) 100%);
}
.hero-body { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vh, 110px); }
/* --faint is a flat-ground colour. Over the photograph it measured 3.04:1,
   so the hero's eyebrow steps up a level. */
.hero .label { color: var(--cream-2); }
.hero h1 { color: var(--cream-hi); text-shadow: 0 2px 40px rgba(0,0,0,.6); }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-foot {
  display: flex; gap: clamp(20px, 4vw, 60px); align-items: flex-end;
  margin-top: 42px; flex-wrap: wrap;
}
.scroll-cue { display: flex; align-items: center; gap: 12px; margin-top: 40px; }
.scroll-cue .ln { width: 54px; height: 1px; background: var(--brass); transform-origin: left; }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(80px, 11vh, 168px); }
.manifesto .cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.28fr); gap: clamp(32px, 6vw, 96px); }
.dropcap::first-letter {
  font-family: var(--font-display); font-size: 5.1em; line-height: .78;
  float: left; margin: .07em .1em 0 0; color: var(--brass); font-weight: 500;
}
.manifesto p + p { margin-top: 1.3em; }

/* ---------- annotated plate ---------- */
.plate-sec { padding-block: clamp(70px, 9vh, 140px); border-top: 1px solid var(--hair); }
.plate-wrap { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: clamp(34px, 5vw, 84px); align-items: center; }
.plate {
  /* overflow was hidden, which is what rounded the photograph — and it also
     amputated the callout labels: at 1024px "Escape wheel" ran 25px past the
     circle and simply vanished. The crop moves onto the image itself so the
     labels can sit outside the dial, which is where a plate diagram puts them. */
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: visible;
  box-shadow: 0 0 0 1px rgba(236,230,218,.13), 0 46px 90px -30px rgba(0,0,0,.92);
}
.plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.plate-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 90px 20px rgba(13,11,9,.72); }
.callouts { position: absolute; inset: 0; }
.callouts text {
  font-family: var(--font-text); font-size: var(--fs--2);
  letter-spacing: .16em; text-transform: uppercase; fill: var(--brass);
}
.callouts line, .callouts circle { stroke: var(--brass); }
.spec-list { display: grid; gap: 0; margin-top: 34px; }
.spec-row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 18px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--hair);
}
.spec-row:first-child { border-top: 1px solid var(--hair); }
.spec-row .n { color: var(--brass); font-size: var(--fs--1); letter-spacing: var(--track-nav); }
.spec-row .v { color: var(--cream-2); font-size: var(--fs-s); text-align: right; font-style: italic; }

/* ---------- departments ---------- */
.depts { padding-block: var(--section-y); border-top: 1px solid var(--hair); }
.dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px, 2.6vw, 40px); margin-top: 56px; }
.dept { position: relative; }
.dept-img {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  box-shadow: 0 1px 0 var(--hair-2), 0 34px 70px -34px rgba(0,0,0,.9);
}
.dept-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease-out), filter 1.2s ease;
  filter: saturate(.86) contrast(1.05);
}
.dept:hover .dept-img img { transform: scale(1.055); filter: saturate(1) contrast(1.08); }
.dept-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13,11,9,.86) 0%, rgba(13,11,9,.16) 26%, transparent 44%, rgba(13,11,9,.88) 100%);
}
.dept-no {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  /* Was rgba(246,241,230,.9) on a scrim that measured 2.83:1 — under the
     3:1 that 46px display type still has to clear. Opaque, on a slightly
     firmer scrim. */
  font-family: var(--font-display); font-size: 46px; color: var(--cream-hi);
  line-height: 1; text-shadow: 0 2px 22px rgba(0,0,0,.8);
}
.dept-cap { position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; }
.dept-cap h3 { color: var(--cream-hi); }
.dept-body { margin-top: 22px; }
.dept-body p { font-size: var(--fs-m); color: var(--cream-2); }
.dept-meta {
  margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap;
}
.chip {
  font-size: var(--fs--2); letter-spacing: var(--track-chip); text-transform: uppercase;
  border: 1px solid var(--hair); padding: 5px 11px; color: var(--faint);
}

/* ---------- century ---------- */
.century { position: relative; padding-block: clamp(80px, 10vh, 156px); overflow: hidden; }
.century-bg { position: absolute; inset: 0; z-index: 0; }
.century-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.5); }
.century-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(13,11,9,.84) 26%, rgba(13,11,9,.84) 74%, var(--ink) 100%);
}
.century .inner { position: relative; z-index: 2; }
.track { position: relative; margin-top: 62px; }
.axis { position: absolute; inset-inline: 0; top: 10px; height: 1px; background: var(--hair); }
.axis-fill {
  position: absolute; inset-inline: 0; top: 10px; height: 1px;
  background: linear-gradient(90deg, var(--brass), var(--brass-lit)); transform-origin: left center; transform: scaleX(0);
  box-shadow: 0 0 14px var(--brass-glow);
}
.beats { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(14px, 1.8vw, 30px); }
.beat .tick {
  width: 21px; height: 21px; border: 1px solid var(--hair); border-radius: 50%;
  display: grid; place-items: center; background: var(--ink);
}
.beat .tick span { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.beat .yr { font-family: var(--font-display); font-size: 32px; margin-top: 24px; color: var(--cream-hi); }
.beat .ttl { font-size: var(--fs-xs); color: var(--brass); margin-top: 6px; letter-spacing: .05em; }
.beat p { font-size: var(--fs-s); color: var(--cream-2); margin-top: 9px; line-height: 1.62; }

/* ---------- pendulum interlude ---------- */
.interlude { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; }
.pend-bg { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.pend-bg img { height: 116%; width: auto; max-width: none; object-fit: cover; opacity: .95; }
.interlude::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(58% 58% at 50% 46%, transparent 0%, rgba(13,11,9,.93) 76%);
}
.quote {
  position: relative; z-index: 2; text-align: center; max-width: 24ch; margin-inline: auto;
  /* The interlude's radial scrim is deliberately clear at the centre so the
     pendulum reads — which left the quote sitting on the brightest part of
     the photograph. This plate is only as big as the text. */
  padding: clamp(28px, 5vh, 64px) clamp(24px, 4vw, 52px);
  background: radial-gradient(closest-side ellipse at 50% 50%,
    rgba(13,11,9,.94) 0%, rgba(13,11,9,.88) 55%, rgba(13,11,9,.6) 82%, transparent 100%);
}
.quote.display, .quote .display { font-size: clamp(30px, 3.9vw, 60px); font-style: italic; color: var(--cream-hi); }

/* ---------- stock ---------- */
.stock { padding-block: var(--section-y); border-top: 1px solid var(--hair); }
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(22px, 3vw, 46px); margin-top: 54px; }
.piece .fr {
  aspect-ratio: 4/5; border: 1px solid var(--hair); position: relative;
  display: grid; place-items: center; background:
    radial-gradient(120% 100% at 50% 30%, rgba(236,230,218,.05), transparent 70%);
}
.piece .fr::after { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(236,230,218,.07); }
.piece figcaption { margin-top: 18px; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.piece .t { font-size: var(--fs-l); color: var(--cream); }
.piece .pr { color: var(--brass); font-size: var(--fs-m); white-space: nowrap; }
.note {
  margin-top: 48px; padding: 18px 22px; border: 1px dashed var(--hair);
  font-size: var(--fs-s); color: var(--faint); font-style: italic;
}

/* ---------- visit ---------- */
.visit { padding-block: var(--section-y); border-top: 1px solid var(--hair); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 88px); align-items: start; }
address { font-style: normal; line-height: 2.15; color: var(--cream-2); font-size: var(--fs-0); }
.btn {
  display: inline-block; padding: 16px 34px; font-size: 12.5px;
  letter-spacing: var(--track-nav); text-transform: uppercase; min-height: 48px;
  border: 1px solid var(--brass); color: var(--brass);
  transition: background var(--dur-mid) ease, color var(--dur-mid) ease;
}
.btn:hover { background: var(--brass); color: var(--on-brass) !important; }
.btn-solid { background: var(--brass); color: var(--on-brass); }
.btn-solid:hover { background: transparent; color: var(--brass) !important; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- foot ---------- */
.foot { border-top: 1px solid var(--hair); padding-block: 54px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot-h { font-size: var(--fs--2); letter-spacing: var(--track-fig); text-transform: uppercase; color: var(--faint); margin-bottom: 15px; }
.foot p, .foot a { font-size: var(--fs-s); color: var(--cream-2); margin: 0 0 8px; display: block; }
/* 2.5.8 — a 14.5px link on an 8px margin is a 22px target; pad it to 24. */
.foot a { padding-block: 3px; }
.foot-btm { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair);
            display: flex; gap: 18px; font-size: var(--fs--1); color: var(--faint); letter-spacing: .08em; flex-wrap: wrap; }

/* ================= scroll-driven motion ================= */
@keyframes rise    { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes riseSm  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes unmask  { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kenburn { from { transform: scale(1.16) translateY(-2%); } to { transform: scale(1.02) translateY(2%); } }
@keyframes floatUp { from { transform: translateY(8%); } to { transform: translateY(-8%); } }
@keyframes turnSlow{ to { transform: rotate(150deg); } }
@keyframes swing   { from { transform: rotate(11deg); } to { transform: rotate(-11deg); } }
@keyframes cue     { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@supports (animation-timeline: view()) {
  .reveal   { animation: rise   linear both; animation-timeline: view(); animation-range: entry 3% cover 30%; }
  .reveal-s { animation: riseSm linear both; animation-timeline: view(); animation-range: entry 3% cover 26%; }
  .hair, .hair-dark, .fleuron .l {
    animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 24%;
  }
  .unmask { animation: unmask linear both; animation-timeline: view(); animation-range: entry 2% cover 34%; }
  .stagger > * { animation: rise linear both; animation-timeline: view(); }
  .stagger > *:nth-child(1) { animation-range: entry 1%  cover 25%; }
  .stagger > *:nth-child(2) { animation-range: entry 6%  cover 30%; }
  .stagger > *:nth-child(3) { animation-range: entry 11% cover 35%; }
  .stagger > *:nth-child(4) { animation-range: entry 16% cover 40%; }
  .stagger > *:nth-child(5) { animation-range: entry 21% cover 45%; }
  .stagger > *:nth-child(6) { animation-range: entry 26% cover 50%; }
  .axis-fill { animation: draw linear both; animation-timeline: view(); animation-range: entry 34% cover 78%; }
  /* Parallax: the photograph drifts slower than the type over it. */
  .parallax img { animation: kenburn linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .floaty { animation: floatUp linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

@supports (animation-timeline: scroll()) {
  .hero-bg img { animation: kenburn linear both; animation-timeline: scroll(root block); animation-range: 0% 46%; }
  .spin        { animation: turnSlow linear both; animation-timeline: scroll(root block); }
  .pend-bg img { animation: swing linear both; animation-timeline: scroll(root block); transform-origin: 50% 2%; }
  .scroll-cue .ln { animation: cue linear both; animation-timeline: scroll(root block); animation-range: 0% 6%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-s, .hair, .hair-dark, .fleuron .l, .unmask, .stagger > *,
  .axis-fill, .parallax img, .floaty, .hero-bg img, .spin, .pend-bg img, .scroll-cue .ln {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .axis-fill, .scroll-cue .ln { transform: scaleX(1) !important; }
  .dept-img img, .piece-card .fr img { transition: none !important; }
}

/* The masthead is out of flow, so on a narrow screen the bottom-aligned
   hero content rose underneath it and the wordmark landed on the headline.
   Reserve its height on the hero's padding box. */
@media (max-width: 1000px) {
  .hero { padding-top: 168px; min-height: 92vh; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(13,11,9,.9) 0%, rgba(13,11,9,.58) 30%, rgba(13,11,9,.86) 72%, var(--ink) 100%),
      radial-gradient(120% 82% at 50% 44%, rgba(13,11,9,.2) 30%, rgba(13,11,9,.78) 100%);
  }
  .plate-wrap, .manifesto .cols, .visit-grid { grid-template-columns: 1fr; }
  .dept-grid, .stock-grid { grid-template-columns: 1fr; gap: 44px; }
  .beats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 44px; }
  .axis, .axis-fill { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* The departments used to be hidden outright below 1000px, which left a
     phone with no way into them but the footer. They get their own row now:
     one line, scrolled sideways, never wrapped or clipped. */
  .mast { gap: 14px 20px; }
  .mast nav {
    order: 3; width: 100%; margin-left: 0; gap: 22px;
    overflow-x: auto; overscroll-behavior-inline: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .mast nav::-webkit-scrollbar { display: none; }
  .mast nav a { white-space: nowrap; flex: none; }
  .mast .cta { padding: 8px 16px; }
  /* Callout labels cannot stay legible on a plate this small. */
  .callouts { display: none; }
  .spec-row { grid-template-columns: 30px 1fr; row-gap: 4px; }
  .spec-row .v { grid-column: 2; text-align: left; }
}

@media (max-width: 620px) {
  .mast { padding-inline: 22px; }
  .mark .nm { font-size: 16px; letter-spacing: .16em; }
  .hero { padding-top: 150px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; text-align: center; padding-inline: 18px; }
  .beats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .quote .display { font-size: 28px; }
  .dropcap::first-letter { font-size: 4.2em; }
}

/* ============================================================
   Live-site additions — pieces the design canvas did not cover
   ============================================================ */

/* --- inventory cards driven by real D1 rows --- */
.piece-card {
  display: block; text-decoration: none; color: inherit;
}
.piece-card .fr { overflow: hidden; }
.piece-card .fr img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.piece-card:hover .fr img { transform: scale(1.05); }
.piece-card:hover .t { color: var(--brass); }
.piece-card .t { transition: color var(--dur-fast) ease; }
.badge-hold {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(13,11,9,.86); border: 1px solid var(--hair);
  padding: 5px 11px; color: var(--cream);
}
.badge-sold { display: inline-block; margin-left: 12px; font-size: var(--fs--1);
  letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }

/* --- item detail --- */
.item-wrap { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(30px,5vw,80px); align-items: start; margin-top: 36px; }
.item-media { display: grid; gap: 16px; }
.item-media img { width: 100%; border: 1px solid var(--hair); }
.item-price { font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--brass); margin-top: 14px; }
.prose { color: var(--cream-2); margin-top: 26px; }
.prose p + p { margin-top: 1.2em; }
.crumb { font-size: var(--fs--1); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.crumb a { color: var(--faint); padding-block: 6px; display: inline-block; }
.crumb a:hover { color: var(--brass); }

/* --- contact form --- */
.contact { display: grid; gap: 16px; max-width: 480px; margin-top: 28px; }
.contact label { display: grid; gap: 7px; font-size: var(--fs--1); letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); }
.contact input, .contact textarea {
  font-family: var(--font-text); font-size: 16px;
  background: rgba(236,230,218,.045); border: 1px solid var(--line-control);
  color: var(--cream); padding: 13px 15px; width: 100%; border-radius: 0;
}
/* The old rule killed the outline and signalled focus with a 1px border
   colour change — 1.66:1, and invisible to anyone who cannot separate
   brass from grey. The ring does the work now; the border just warms up. */
.contact input:focus-visible, .contact textarea:focus-visible {
  border-color: var(--brass); background: rgba(236,230,218,.07);
}
.contact textarea { resize: vertical; min-height: 120px; }
.contact button { cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- city index --- */
.city-list { list-style: none; padding: 0; margin: 34px 0 0;
  display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(min(100%,230px),1fr)); }
.city-list a { display: block; padding: 13px 0; font-size: var(--fs-m);
  color: var(--cream-2); border-bottom: 1px solid var(--hair); }
.city-list a:hover { color: var(--brass); }

.empty { color: var(--faint); font-style: italic; padding: 40px 0; }

@media (max-width: 1000px) {
  .item-wrap { grid-template-columns: 1fr; }
}

/* --- masthead in normal flow (every page whose hero is not a photo) --- */
.mast-flow {
  position: relative;
  border-bottom: 1px solid var(--hair);
  background: var(--ink);
}
.mast .mark { text-decoration: none; }
.skip { position: absolute; left: -9999px; }
/* transition:none matters here. Links carry a 350ms colour transition, so
   the skip link appeared as brass text on its own brass ground and only
   faded to legible a third of a second later — exactly the moment a keyboard
   user is looking at it. */
.skip:focus { left: 22px; top: 14px; z-index: var(--z-skip); background: var(--brass); color: var(--on-brass);
  transition: none; padding: 11px 18px; font-size: var(--fs-xs); letter-spacing: var(--track-chip);
  text-transform: uppercase; }
.foot .mark { display: flex; align-items: center; gap: 11px; text-decoration: none; }

/* A page without a photographic hero still needs clearance under the bar. */
.page-head { padding-block: clamp(44px, 7vh, 86px) 8px; }
