/* ==========================================================================
   The Elmira Store — site styles
   Palette pulled from the roadside sign: forest green, dark walnut brown,
   cream sign-paint white, with a diner-counter red used sparingly.
   ========================================================================== */

:root {
  --ink:        #241811;
  --brown:      #4a3226;
  --brown-mid:  #6d5040;
  --brown-soft: #8c6e5b;
  --green:      #3f6b4a;
  --green-dk:   #2c4c35;
  --green-soft: #eaf0e9;
  --red:        #a8362a;
  --red-dk:     #8a2b21;

  --paper:  #fffdf8;
  --cream:  #f9f3e7;
  --sand:   #f0e6d4;
  --sand-dk:#e3d5bd;

  --line:      rgba(74, 50, 38, .16);
  --line-soft: rgba(74, 50, 38, .09);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(36, 24, 17, .06), 0 2px 8px rgba(36, 24, 17, .05);
  --shadow-md: 0 2px 6px rgba(36, 24, 17, .07), 0 12px 32px rgba(36, 24, 17, .10);
  --shadow-lg: 0 4px 12px rgba(36, 24, 17, .09), 0 28px 60px rgba(36, 24, 17, .16);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* --------------------------------------------------------- reset + base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); letter-spacing: -.006em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 780px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.15rem;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

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

/* ------------------------------------------------------------- eyebrow */

.eyebrow {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor; opacity: .45;
}

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--brown);
}
.btn--ghost:hover { border-color: var(--brown); color: var(--ink); background: rgba(74,50,38,.04); }

.btn--light {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--outline-light {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn--outline-light:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
  padding-block: .6rem;
}
.hdr__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 1;
  min-width: 0;
}
.hdr__brand img {
  height: 26px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  /* the wordmark art ships on a white field; multiply drops it onto the cream */
  mix-blend-mode: multiply;
}
@media (max-width: 420px) {
  .hdr__brand img { height: 22px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav a {
  font-size: .93rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green-dk); background: var(--green-soft); }

.hdr__cta { display: inline-flex; }
.hdr__cta .btn { padding: .7rem 1.15rem; font-size: .9rem; }

/* the phone button lives in the drawer on small screens and in .hdr__cta on
   large ones — never both at once */
@media (min-width: 861px) {
  .nav .btn { display: none; }
}

/* mobile nav */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .5rem .75rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  color: var(--brown);
  cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .hdr__inner { flex-wrap: wrap; min-height: 62px; }
  .nav-toggle { display: inline-flex; }
  .hdr__cta { display: none; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 3;
    padding-bottom: .6rem;
    border-top: 1px solid var(--line-soft);
    margin-top: .2rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .nav a:last-child { border-bottom: 0; }
  .nav .btn {
    margin-top: .7rem;
    border-bottom: 0;
    justify-content: center;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: linear-gradient(170deg, var(--cream) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__title {
  margin-bottom: .35em;
  /* the line break is authored in the markup — don't let the browser rebalance it */
  text-wrap: wrap;
  /* sized so "Groceries, shakes" holds one line in the hero column */
  font-size: clamp(2.35rem, 5.3vw, 3.8rem);
}
.hero__title span {
  display: block;
  font-size: .34em;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9em;
}
.hero__lede {
  font-size: clamp(1.075rem, 1.9vw, 1.24rem);
  line-height: 1.6;
  color: var(--brown);
  max-width: 34ch;
  margin-bottom: 1.6rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.5rem;
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 32%;
}
.hero__badge {
  position: absolute;
  left: -24px;
  bottom: -22px;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .85rem 1.1rem;
  max-width: 220px;
}
.hero__badge b {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-dk);
}
.hero__badge span {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-top: .3rem;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__lede { max-width: 46ch; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 5 / 4; object-position: center 30%; }
  .hero__badge { left: 12px; bottom: -14px; }
}

/* ------------------------------------------------------- open-now chip */

.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1rem .5rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}
.status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brown-soft);
  flex: 0 0 auto;
  position: relative;
}
.status.is-open .status__dot { background: #2f9e51; }
.status.is-open .status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #2f9e51;
  opacity: .5;
}
.status.is-closed .status__dot { background: var(--red); }
.status b { color: var(--ink); font-weight: 700; }

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

.sec { padding-block: clamp(3.25rem, 7vw, 5.75rem); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec--cream { background: var(--cream); }
.sec--sand  { background: var(--sand); }
.sec--dark {
  background: var(--ink);
  color: var(--sand);
}
.sec--dark h2, .sec--dark h3 { color: var(--paper); }
.sec--dark .eyebrow { color: #9dc4a7; }
.sec--dark a { color: #b7dcc1; }

.sec__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head p {
  font-size: 1.075rem;
  color: var(--brown-mid);
  margin-bottom: 0;
}
.sec--dark .sec__head p { color: #c9b8a2; }

/* --------------------------------------------------------- hours strip */

.hours-strip {
  background: var(--ink);
  color: var(--sand);
}
.hours-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.11);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-block: clamp(2rem, 4vw, 3rem);
}
.hours-card {
  background: var(--ink);
  padding: 1.5rem 1.4rem;
}
.hours-card h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9dc4a7;
  margin-bottom: .7rem;
}
.hours-card p {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.35;
  color: var(--paper);
  margin-bottom: .3rem;
}
.hours-card small {
  display: block;
  font-size: .855rem;
  color: #b0a08c;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .hours-strip__grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- card grid */

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  background: var(--sand);
}
.card__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .45rem; }
.card__body p { color: var(--brown-mid); font-size: .975rem; margin-bottom: 1.1rem; }
.card__meta {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card__meta::after { content: "→"; transition: transform .15s ease; }
.card:hover .card__meta::after { transform: translateX(3px); }

/* --------------------------------------------------------- split media */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media img.is-tall { aspect-ratio: 3 / 4; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--flip .split__media { order: 0; }
}

/* --------------------------------------------------------- price lists */

.menu-block { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.menu-block:last-child { margin-bottom: 0; }

.menu-block__head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: .6rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.menu-block__head h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 0;
}
.menu-block__head span {
  font-size: .82rem;
  font-weight: 650;
  color: var(--brown-soft);
  font-style: italic;
  font-family: var(--serif);
}
.menu-block__note {
  font-size: .95rem;
  color: var(--brown-mid);
  font-style: italic;
  font-family: var(--serif);
  margin: -.6rem 0 1.35rem;
}

.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .3rem .9rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.item:last-child { border-bottom: 0; }
.item__name {
  font-family: var(--serif);
  font-size: 1.115rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.item__price {
  font-family: var(--serif);
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--green-dk);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.item__desc {
  grid-column: 1 / -1;
  font-size: .945rem;
  color: var(--brown-mid);
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
}
.item__addons {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}
.chip {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--sand);
  border-radius: 999px;
  padding: .28rem .65rem;
}

/* a menu block that carries a photo alongside its list */
.menu-block--media {
  display: grid;
  grid-template-columns: 1fr minmax(0, 280px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.menu-block--media .menu-block__head { grid-column: 1 / -1; }
.menu-block__figure { margin: 0; }
.menu-block__figure img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 760px) {
  .menu-block--media { grid-template-columns: 1fr; }
  .menu-block__figure img { aspect-ratio: 16 / 10; }
}

/* simple two-column price rows (shakes etc.) */
.price-cols {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 620px) { .price-cols { columns: 1; } }
.price-cols .item { break-inside: avoid; }

/* ---------------------------------------------------------- menu tabs */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: .4rem;
  background: var(--sand);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.tabs a {
  font-size: .9rem;
  font-weight: 650;
  color: var(--brown);
  text-decoration: none;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.tabs a:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.tabs a[aria-current="true"] { background: var(--paper); color: var(--green-dk); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------ timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(1.5rem, 4vw, 2.5rem);
  border-left: 2px solid var(--sand-dk);
}
.tl {
  position: relative;
  padding-bottom: 2.25rem;
}
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.5rem, 4vw, 2.5rem) - 7px);
  top: .5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--green);
}
.tl__year {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: .3rem;
}
.tl h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.tl p { color: var(--brown-mid); margin-bottom: 0; font-size: .99rem; }

/* --------------------------------------------------------- stat / fact */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.fact { background: var(--paper); padding: 1.4rem 1.35rem; }
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--green-dk);
  margin-bottom: .35rem;
}
.fact span { font-size: .9rem; color: var(--brown-mid); line-height: 1.45; display: block; }
.sec--cream .fact { background: var(--cream); }

/* -------------------------------------------------------------- visit */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.dl { margin: 0; }
.dl__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: .4rem 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.dl__row:first-child { padding-top: 0; }
.dl__row:last-child { border-bottom: 0; }
.dl dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brown-soft);
  padding-top: .3em;
}
.dl dd {
  margin: 0;
  font-size: 1.045rem;
  line-height: 1.55;
}
.dl dd a { font-weight: 600; }
@media (max-width: 520px) {
  .dl__row { grid-template-columns: 1fr; }
  .dl dt { padding-top: 0; }
}

.hours-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours-table th,
.hours-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line-soft); }
.hours-table th { font-weight: 600; color: var(--brown); width: 45%; }
.hours-table td { font-variant-numeric: tabular-nums; color: var(--ink); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { background: var(--green-soft); font-weight: 700; color: var(--green-dk); }
.hours-table tr.is-today th::after {
  content: "Today";
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: .15rem .45rem;
  margin-left: .5rem;
  vertical-align: middle;
}

/* ------------------------------------------------------------- callout */

.callout {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.15rem 1.4rem;
  font-size: .975rem;
  color: var(--green-dk);
}
.callout strong { color: var(--green-dk); }

/* -------------------------------------------------------------- footer */

.ftr {
  background: var(--ink);
  color: #b0a08c;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .95rem;
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 800px) { .ftr__grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.ftr__mark {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  display: inline-block;
  margin-bottom: 1.15rem;
}
.ftr__mark img { height: 52px; width: auto; }
.ftr h4 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9dc4a7;
  margin: 0 0 .95rem;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: .55rem; }
.ftr a { color: #ddd0bd; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr p { margin-bottom: .8rem; line-height: 1.6; }
.ftr__legal {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .84rem;
  color: #8a7a68;
}

/* ------------------------------------------------------------ page top */

.pagehead {
  background: linear-gradient(170deg, var(--cream) 0%, var(--sand) 100%);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
}
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .3em; }
.pagehead p {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: var(--brown-mid);
  max-width: 56ch;
  margin-bottom: 0;
}

/* --------------------------------------------------------- misc bits */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.35rem;
  padding: 0;
  list-style: none;
}
.pill {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem .9rem;
}
.sec--cream .pill { background: var(--paper); }

.figure-caption {
  font-size: .84rem;
  color: var(--brown-soft);
  font-style: italic;
  font-family: var(--serif);
  margin-top: .7rem;
}

.center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
