/* Self-hosted Fontshare faces — Zodiak (display) & Switzer (body) */
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Best Restaurants California — The Golden Standard Awards
   Art direction: ink on bone paper, letterpress editorial, rare brass accent.
   Display: Zodiak (Fontshare). Body: Switzer (Fontshare).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ink & paper */
  --ink: #14110c;
  --ink-soft: #322b21;
  --ink-mute: #6a6053;
  --paper: #f4eee2;
  --paper-2: #ece4d4;
  --paper-3: #e2d8c4;
  --rule: #cec2ab;
  --rule-fine: #dbd0bb;

  /* Accents — used sparingly */
  --brass: #9a7736;
  --brass-deep: #77591f;
  --brass-light: #c9a45c;
  --oxblood: #52201c;
  --olive: #3c4630;

  /* Type */
  --display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --body: 'Switzer', ui-sans-serif, system-ui, 'Helvetica Neue', sans-serif;

  --t-hero: clamp(2.9rem, 6.6vw, 6.1rem);
  --t-xxl: clamp(2.15rem, 4.3vw, 3.6rem);
  --t-xl: clamp(1.85rem, 3.1vw, 2.6rem);
  --t-lg: 1.5rem;
  --t-md: 1.1875rem;
  --t-body: 1.0625rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;
  --t-label: 0.6875rem;

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --band: clamp(4.5rem, 9vw, 9.5rem);
  --measure: 66ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}

/* Paper grain — the whole site sits on a printed surface */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Typographic primitives ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.02;
}
h1.hero-type {
  font-family: var(--display);
  font-size: var(--t-hero);
  line-height: 0.96;
  letter-spacing: -0.032em;
  text-indent: -0.04em; /* optical alignment of the cap */
  max-width: 15ch;
  overflow-wrap: break-word;
}
.h2 {
  font-family: var(--display);
  font-size: var(--t-xxl);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.h3 {
  font-family: var(--display);
  font-size: var(--t-xl);
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.h4 {
  font-family: var(--body);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.label {
  font-family: var(--body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.label--brass {
  color: var(--brass-deep);
}
.lede {
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem);
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--ink-soft);
  max-width: 34ch;
}
.prose {
  max-width: var(--measure);
}
.prose p + p {
  margin-top: 1.15em;
}
.prose p {
  color: var(--ink-soft);
  hyphens: none;
}
.prose a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.06em;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.prose a:hover {
  background: rgba(154, 119, 54, 0.13);
  border-color: var(--brass-deep);
}
.prose h3 {
  margin: 2.5em 0 0.55em;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose ul.list {
  margin: 1.1em 0;
  display: grid;
  gap: 0.6em;
}
.prose ul.list li {
  position: relative;
  padding-left: 1.5em;
  color: var(--ink-soft);
}
.prose ul.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7em;
  height: 1px;
  background: var(--brass);
}
.num {
  font-variant-numeric: tabular-nums lining-nums;
}
.muted {
  color: var(--ink-mute);
}
.small {
  font-size: var(--t-sm);
}
strong, b {
  font-weight: 600;
  padding-right: 0.1em;
}
em,
.it {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.04em;
  letter-spacing: 0;
  padding-right: 0.05em;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 980px;
}
.band {
  padding-block: var(--band);
}
.band--tight {
  padding-block: clamp(2.75rem, 5vw, 5rem);
}
.band--ink {
  background: var(--ink);
  color: var(--paper);
}
.band--ink .muted,
.band--ink .label {
  color: #a89c88;
}
.band--panel {
  background: var(--paper-2);
}
.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}
.rule--fine {
  background: var(--rule-fine);
}
.band--ink .rule {
  background: #3a332a;
}

/* Editorial split: unequal weights */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split--7-5 {
    grid-template-columns: 7fr 5fr;
  }
  .split--5-7 {
    grid-template-columns: 5fr 7fr;
  }
  .split--4-8 {
    grid-template-columns: 4fr 8fr;
  }
  .split--8-4 {
    grid-template-columns: 8fr 4fr;
  }
}
.sticky {
  position: sticky;
  top: 7.5rem;
}

/* ---------- Links & actions ---------- */
.link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link:hover {
  border-color: var(--ink);
}
.link .arrow {
  transition: transform 0.4s var(--ease);
  color: var(--brass-deep);
}
.link:hover .arrow {
  transform: translateX(4px);
}
.link--brass {
  border-bottom: 1px solid var(--brass);
  color: var(--ink);
}
.link--brass:hover {
  border-color: var(--brass-deep);
}
.band--ink .link {
  border-color: #4a4238;
}
.band--ink .link:hover {
  border-color: var(--brass-light);
}
.band--ink .link .arrow {
  color: var(--brass-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0.95rem 1.6rem;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  color: #fbf7ee;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.band--ink .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.band--ink .btn:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: #1b1610;
}

:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
  border-radius: 1px;
}
.band--ink :focus-visible {
  outline-color: var(--brass-light);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.1rem;
  z-index: 1000;
  font-size: var(--t-sm);
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid var(--rule-fine);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo svg {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
}
.logo__text {
  display: block;
  line-height: 1;
}
.logo__name {
  display: block;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
  line-height: 1;
}
.logo__sub {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.32rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}
.nav a {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav a:hover {
  color: var(--ink);
  border-color: var(--rule);
}
.nav a[aria-current='page'] {
  color: var(--ink);
  border-color: var(--brass);
}
.nav a.nav__cta {
  color: var(--ink);
  border-color: var(--brass);
}
.nav a.nav__cta:hover {
  border-color: var(--brass-deep);
  background: rgba(154, 119, 54, 0.1);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.5rem 0.7rem;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
}
@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 5rem 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 2rem;
    z-index: 90;
    transform: translateY(-108%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0.45s step-end;
    box-shadow: 0 24px 40px -30px rgba(20, 17, 12, 0.5);
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
  }
  .nav[data-open='true'] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s;
  }
  .nav a {
    width: 100%;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    padding-block: 1.05rem;
    border-bottom: 1px solid var(--rule-fine);
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .burger {
    display: inline-block;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--rule-fine);
}
.hero__grid {
  display: grid;
  align-items: end;
  gap: clamp(2rem, 3vw, 3rem);
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    min-height: min(84vh, 860px);
  }
}
.hero__type {
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__eyebrow .tick {
  width: clamp(2rem, 6vw, 4.5rem);
  height: 1px;
  background: var(--brass);
}
.hero h1 {
  margin-bottom: 1.6rem;
}
.hero__lede {
  max-width: 40ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 2rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.hero__figure {
  position: relative;
  align-self: stretch;
  min-height: 58vw;
}
@media (min-width: 1000px) {
  .hero__figure {
    min-height: 0;
    margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - 1320px) / 2));
  }
}
.hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  padding-top: 0.65rem;
  font-size: var(--t-xs);
  color: var(--ink-mute);
  max-width: 58ch;
  padding-right: var(--gutter);
}
@media (max-width: 999px) {
  .hero__caption {
    display: none;
  }
}

/* ---------- Figures ---------- */
.bleed {
  position: relative;
  width: 100%;
  margin-inline: 0;
}
.bleed img {
  width: 100%;
  height: clamp(300px, 56vh, 620px);
  object-fit: cover;
}
figure {
  margin: 0;
}
figcaption {
  font-size: var(--t-xs);
  color: var(--ink-mute);
  padding-top: 0.7rem;
  max-width: 52ch;
  line-height: 1.5;
}
.figure--tall img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.figure--wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.figure--bleed img {
  width: 100%;
  height: clamp(300px, 56vh, 620px);
  object-fit: cover;
}

/* ---------- Award index (hairline rows, not cards) ---------- */
.index-list {
  border-top: 1px solid var(--rule);
}
.index-row {
  display: grid;
  gap: 0.5rem 2.5rem;
  padding-block: clamp(1.75rem, 3.2vw, 2.75rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
  text-decoration: none;
  transition: background-color 0.45s var(--ease);
}
a.index-row:hover {
  background: rgba(154, 119, 54, 0.07);
}
@media (min-width: 800px) {
  .index-row {
    grid-template-columns: 4rem minmax(0, 7.5fr) minmax(0, 9fr) 2rem;
  }
}
.index-row__num {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 0.55rem;
}
.index-row__title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.index-row__body {
  color: var(--ink-soft);
  font-size: var(--t-body);
  max-width: 52ch;
}
.index-row__arrow {
  color: var(--brass-deep);
  padding-top: 0.5rem;
  transition: transform 0.45s var(--ease);
}
a.index-row:hover .index-row__arrow {
  transform: translateX(5px);
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-fine);
}
.step {
  display: grid;
  gap: 0.35rem 1.75rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--rule-fine);
}
@media (min-width: 700px) {
  .step {
    grid-template-columns: 3.5rem 1fr;
  }
}
.step__k {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 0.35rem;
}
.step__b {
  color: var(--ink-soft);
  max-width: 58ch;
}
.step__b strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Statement / pull quote ---------- */
.statement {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.026em;
  max-width: 30ch;
  text-indent: -0.42em; /* hanging quotation mark */
}
.statement__attr {
  margin-top: 1.75rem;
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Seal ---------- */
.seal {
  width: clamp(190px, 26vw, 290px);
  height: auto;
  color: var(--brass-deep);
}
.band--ink .seal {
  color: var(--brass-light);
}
.seal--sm {
  width: 128px;
}

/* ---------- Data table (county grading) ---------- */
.table-hint {
  display: none;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .table-hint {
    display: block;
  }
}
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
table.data th,
table.data td {
  text-align: left;
  vertical-align: top;
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--rule-fine);
}
table.data thead th {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--rule);
}
table.data tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
table.data td {
  color: var(--ink-soft);
}
table.data tbody tr:hover {
  background: rgba(154, 119, 54, 0.06);
}

/* ---------- Source list ---------- */
.sources {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.source {
  display: grid;
  gap: 0.2rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule-fine);
  text-decoration: none;
  transition: background-color 0.4s var(--ease);
}
@media (min-width: 720px) {
  .source {
    grid-template-columns: 15rem 1fr auto;
    align-items: baseline;
  }
}
.source:hover {
  background: rgba(154, 119, 54, 0.07);
}
.source__county {
  font-weight: 600;
  font-size: var(--t-sm);
}
.source__url {
  font-size: var(--t-xs);
  color: var(--ink-mute);
  word-break: break-word;
}
.source__arrow {
  color: var(--brass-deep);
  font-size: var(--t-xs);
  transition: transform 0.4s var(--ease);
}
.source:hover .source__arrow {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule-fine);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding-block: 1.35rem;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  font-size: 1.3125rem;
  letter-spacing: -0.018em;
  line-height: 1.25;
  transition: color 0.35s var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--brass-deep);
}
.faq summary .sign {
  flex: none;
  color: var(--brass-deep);
  font-family: var(--body);
  font-size: var(--t-sm);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary .sign {
  transform: rotate(45deg);
}
.faq .faq__body {
  padding: 0 0 1.6rem;
  max-width: 64ch;
  color: var(--ink-soft);
}
.faq .faq__body p + p {
  margin-top: 0.9em;
}

/* ---------- Empty state (honorees) ---------- */
.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.timeline__row {
  display: grid;
  gap: 0.3rem 2rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--rule-fine);
}
@media (min-width: 720px) {
  .timeline__row {
    grid-template-columns: 13rem 1fr;
  }
}
.timeline__when {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
}
.timeline__what {
  color: var(--ink-soft);
  max-width: 56ch;
}
.timeline__row[data-state='now'] .timeline__what strong {
  color: var(--ink);
}
.plaque {
  border: 1px solid var(--rule);
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.75), rgba(236, 228, 212, 0.5));
  position: relative;
}
.plaque::after {
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px solid var(--rule-fine);
  pointer-events: none;
}

/* ---------- Form ---------- */
[hidden] {
  display: none !important;
}
.form {
  display: grid;
  gap: 1.6rem;
}
.field {
  display: grid;
  gap: 0.45rem;
}
.field > label,
.fieldset > legend {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field .hint {
  font-size: var(--t-xs);
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  background-color: rgba(255, 253, 247, 0.7);
  border: 1px solid var(--rule);
  border-radius: 1px;
  padding: 0.85rem 0.95rem;
  width: 100%;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23322b21' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.field textarea {
  min-height: 9.5rem;
  resize: vertical;
  line-height: 1.55;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-mute);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass-deep);
  background-color: #fffdf7;
  outline: none;
  box-shadow: inset 0 0 0 1px var(--brass-deep);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9c9280;
}
.field--pair {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 640px) {
  .field--pair {
    grid-template-columns: 1fr 1fr;
  }
}
.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.radio-row {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 560px) {
  .radio-row {
    grid-template-columns: 1fr 1fr;
  }
}
.radio {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: var(--t-sm);
  background: rgba(255, 253, 247, 0.55);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.radio:hover {
  border-color: var(--ink-mute);
}
.radio input {
  margin: 0.22rem 0 0;
  accent-color: var(--brass-deep);
}
.radio:has(input:checked) {
  border-color: var(--brass-deep);
  background: rgba(154, 119, 54, 0.1);
}
.radio:has(input:focus-visible) {
  outline: 2px solid var(--brass-deep);
  outline-offset: 2px;
}
.form__note {
  font-size: var(--t-sm);
  color: var(--ink-mute);
  max-width: 60ch;
  border-left: 1px solid var(--brass);
  padding-left: 1.1rem;
}
.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.req {
  color: var(--brass-deep);
}
.form-success {
  border: 1px solid var(--brass);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: rgba(255, 253, 247, 0.8);
}
.form-success[hidden] {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #d8cfbe;
  padding-block: clamp(3.5rem, 6vw, 6rem) 2.25rem;
  font-size: var(--t-sm);
}
.footer a {
  text-decoration: none;
  color: #d8cfbe;
  transition: color 0.35s var(--ease);
}
.footer a:hover {
  color: var(--brass-light);
}
.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid #332c23;
}
@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 4.5fr 2fr 2fr 3.5fr;
  }
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
}
.footer__logo svg {
  width: 38px;
  height: 38px;
}
.footer__blurb {
  margin-top: 1.5rem;
  max-width: 34ch;
  color: #a89c88;
  font-size: var(--t-sm);
  line-height: 1.6;
}
.footer__col h2 {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #8d8271;
  margin-bottom: 1.1rem;
  font-family: var(--body);
}
.footer__col ul {
  display: grid;
  gap: 0.65rem;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 2rem;
  color: #8d8271;
  font-size: var(--t-xs);
}
.footer__ck {
  max-width: 46ch;
}
.footer__ck a {
  border-bottom: 1px solid #4a4238;
  padding-bottom: 0.05em;
}

/* ---------- Page head ---------- */
.pagehead {
  border-bottom: 1px solid var(--rule-fine);
  padding-block: clamp(3rem, 6.5vw, 6.5rem) clamp(2.5rem, 5vw, 4.5rem);
}
.pagehead h1 {
  font-family: var(--display);
  font-size: var(--t-xxl);
  line-height: 1.0;
  letter-spacing: -0.032em;
  text-indent: -0.04em;
  max-width: 24ch;
}
.pagehead__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.pagehead__meta .tick {
  width: clamp(2rem, 5vw, 3.5rem);
  height: 1px;
  background: var(--brass);
}
.pagehead .lede {
  margin-top: 1.75rem;
  max-width: 46ch;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utility ---------- */
.stack-sm > * + * {
  margin-top: 1rem;
}
.stack > * + * {
  margin-top: 1.75rem;
}
.stack-lg > * + * {
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.mt-0 {
  margin-top: 0;
}
.tabular {
  font-variant-numeric: tabular-nums lining-nums;
}
.nowrap {
  white-space: nowrap;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Small-screen masthead refinements ---------- */
@media (max-width: 620px) {
  .masthead__inner {
    gap: 0.9rem;
    min-height: 4.25rem;
  }
  .logo svg {
    width: 28px;
    height: 28px;
  }
  .logo {
    gap: 0.55rem;
  }
  .logo__name {
    font-size: 0.9375rem;
    white-space: nowrap;
  }
  .logo__sub {
    display: none;
  }
  .burger {
    padding: 0.42rem 0.6rem;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }
  .nav {
    inset: 4.25rem 0 auto;
    max-height: calc(100vh - 4.25rem);
  }
}

/* ---------- Overflow safety for narrow columns ---------- */
.split > *,
.grid > * {
  min-width: 0;
}
a[href^='mailto'],
.plaque a {
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  .plaque {
    padding-inline: 1.25rem;
  }
}

/* ---------- Very narrow screens (<=360px) ---------- */
@media (max-width: 360px) {
  :root {
    --t-hero: clamp(2.45rem, 12vw, 3.1rem);
  }
  .masthead__inner {
    min-height: 4rem;
    gap: 0.6rem;
  }
  .logo__name {
    font-size: 0.8125rem;
    white-space: normal;
    max-width: 11ch;
    line-height: 1.12;
  }
  .burger {
    padding: 0.38rem 0.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    flex: none;
  }
  .nav {
    inset: 4rem 0 auto;
    max-height: calc(100vh - 4rem);
  }
}

.footer__bottom p {
  max-width: 62ch;
}

.form-error {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  background: rgba(154, 119, 54, 0.05);
  font-size: var(--t-sm);
  line-height: 1.6;
}
.form-error[hidden] { display: none; }
.form-error a { color: inherit; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
