/* STIR menu page — mobile first. Brand palette from assets/images/theme-colors.png. */
:root {
  --black: #010000;
  --gray: #8D8D8D;
  --cream: #F5E3CF;
  --brick: #662D26;
  --tan: #AD8C6A;
  --wine: #481512;

  --paper: #FBF5EE;          /* page background: a lighter cream */
  --card: #FFFDFA;
  --ink: #241311;            /* body text */
  --muted: #6E615A;          /* descriptions */
  --line: rgba(72, 21, 18, .12);
  --accent: #7E2F28;         /* burgundy used on the printed menu */

  --gutter: 16px;
  --max: 1080px;
  --bar-h: 112px;            /* updated from JS to the real sticky-bar height */
  --font: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  padding: 8px 14px; background: var(--wine); color: var(--cream); border-radius: 6px;
}
.skip-link:focus { left: 8px; }

/* ---------- Wordmark (PNG used as a mask so it can take any brand colour) ---------- */
.wordmark {
  display: block;
  aspect-ratio: 804 / 315;
  -webkit-mask: url("../images/stir-wordmark-fill.png") center / contain no-repeat;
          mask: url("../images/stir-wordmark-fill.png") center / contain no-repeat;
}
.wordmark--cream { background: var(--cream); }
.wordmark--wine  { background: var(--accent); }

.eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--tan); }

/* ---------- Hero: the shop's photos in an arched window ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(80% 45% at 90% 6%, rgba(173,140,106,.24), transparent 70%),
    radial-gradient(70% 40% at 0% 72%, rgba(126,47,40,.07), transparent 70%),
    var(--paper);
}
/* A huge, faint STIR wordmark behind everything, like a watermark. */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 150vw;
  max-width: 1500px;
  aspect-ratio: 804 / 315;
  transform: translate(-50%, -50%);
  background: var(--tan);
  opacity: .08;
  -webkit-mask: url("../images/stir-wordmark-fill.png") center / contain no-repeat;
          mask: url("../images/stir-wordmark-fill.png") center / contain no-repeat;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-areas: "brand" "showcase" "entry";
  justify-items: center;
  gap: 30px;
  padding: calc(32px + env(safe-area-inset-top)) var(--gutter) 40px;
  text-align: center;
}
.hero__brand { grid-area: brand; }
.hero__logo { display: inline-block; width: min(40vw, 168px); }
.hero__logo .wordmark { width: 100%; }
.hero__tagline {
  margin-top: 10px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brick);
}

/* ----- Arched photo window ----- */
.showcase {
  grid-area: showcase;
  position: relative;
  width: min(74vw, 340px);
  margin: 14px 0 0;
}
/* A thin outline of the same arch, offset like an architect's sketch. */
.showcase::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 14px;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(126,47,40,.35);
  border-radius: 999px 999px 24px 24px;
  pointer-events: none;
}
.arch {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    0 0 0 6px var(--card),
    0 34px 60px -24px rgba(72,21,18,.45);
}
.hero__slides {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.hero__slides::-webkit-scrollbar { display: none; }
.hero__slides:focus-visible { outline: 2px solid var(--tan); outline-offset: -4px; }
.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Tiny blurred preview (inline in the HTML) shows until the photo arrives. */
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: zoom-in;
  -webkit-user-drag: none;
  user-select: none;
}

/* Turning stamp on the arch's shoulder. */
.stamp {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: -34px;
  width: 92px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(72,21,18,.18);
}
.stamp__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}
.stamp__ring text {
  font: 500 8.4px var(--font);
  letter-spacing: 1.4px;
  fill: var(--brick);
}
@keyframes spin { to { transform: rotate(360deg); } }
.stamp__mark {
  display: grid;
  place-items: center;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wine);
}
.stamp__mark .wordmark { width: 72%; }

/* Caption, counter and a line that fills until the next photo. */
.showcase__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.showcase__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(126,47,40,.3);
  background: transparent;
  color: var(--brick);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.showcase__btn:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.showcase__btn:focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; }
.showcase__btn svg { width: 18px; height: 18px; }
.showcase__meta { min-width: 0; text-align: center; }
.showcase__count {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--wine);
}
.showcase__total { color: var(--gray); }
.showcase__progress {
  display: block;
  height: 2px;
  margin: 8px auto 0;
  max-width: 120px;
  border-radius: 2px;
  background: rgba(126,47,40,.14);
  overflow: hidden;
}
.showcase__progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.showcase__progress.is-running i { animation: progress var(--autoplay, 3s) linear forwards; }
@keyframes progress { to { width: 100%; } }
.showcase__caption {
  margin-top: 8px;
  min-height: 2.7em;
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.35;
  color: var(--muted);
}

/* ---------- Hero entry links: Drinks / Kitchen ---------- */
.entry {
  grid-area: entry;
  width: 100%;
  max-width: 520px;
  display: grid;
  gap: 10px;
}
.entry__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--tan);
}
.entry__label::before,
.entry__label::after { content: ""; flex: 1; height: 1px; background: rgba(173,140,106,.45); }
.entry__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,253,250,.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.entry__card:hover {
  border-color: rgba(126,47,40,.4);
  background: var(--card);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(72,21,18,.4);
}
.entry__card:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }
.entry__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(126,47,40,.08);
  color: var(--accent);
}
.entry__icon svg,
.entry__arrow,
.showcase__btn svg,
.seg__btn svg,
.group__icon svg,
.viewer__btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.entry__icon svg { width: 22px; height: 22px; }
.entry__text { display: grid; min-width: 0; }
.entry__title { font-size: 1.3rem; font-weight: 500; line-height: 1.2; color: var(--wine); }
.entry__list { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.entry__arrow { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; }
.entry__card:hover .entry__arrow { transform: translateX(4px); }

/* ---------- Photo viewer ---------- */
.viewer {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12,4,3,.95);
  color: var(--cream);
}
.viewer::backdrop { background: transparent; }
.viewer[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
/* Fit mode: the whole photo, uncropped, scaled down only if it doesn't fit.
   Actual-size mode: the photo at its original pixel size, scrollable. */
.viewer__frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
}
.viewer__img {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: zoom-in;
}
.viewer.is-actual .viewer__frame { place-items: start; }
.viewer.is-actual .viewer__img {
  max-width: none;
  max-height: none;
  margin: auto;
  border-radius: 0;
  cursor: zoom-out;
}
.viewer__caption {
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  font-size: .9rem;
  font-weight: 300;
  text-align: center;
  color: rgba(245,227,207,.8);
}
.viewer__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,227,207,.25);
  background: rgba(1,0,0,.45);
  color: var(--cream);
  cursor: pointer;
}
.viewer__btn:hover { background: rgba(245,227,207,.12); }
.viewer__btn svg { width: 22px; height: 22px; }
.viewer__close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.viewer__prev,
.viewer__next { top: 50%; transform: translateY(-50%); }
.viewer__prev { left: 10px; }
.viewer__next { right: 10px; }

@media (prefers-reduced-motion: reduce) {
  .hero__slides { scroll-behavior: auto; }
  .stamp__ring { animation: none; }
}

/* ---------- Sticky bar: Drinks | Kitchen switch + category tabs ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,245,238,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 10px;
}
.bar__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--gutter);
}
.bar__logo {
  flex: none;
  width: 0;
  margin-right: -12px;        /* cancels the gap while hidden */
  opacity: 0;
  overflow: hidden;
  transition: width .25s ease, opacity .25s ease, margin .25s ease;
}
.bar__logo .wordmark { width: 60px; }
.bar.is-stuck .bar__logo { width: 60px; margin-right: 0; opacity: 1; }

.seg {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(72,21,18,.08);
}
.seg__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--brick);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.seg__btn svg { width: 19px; height: 19px; }
.seg__btn:hover { background: rgba(72,21,18,.06); }
.seg__btn.is-active { background: var(--wine); color: var(--cream); box-shadow: 0 2px 8px rgba(72,21,18,.25); }
.seg__btn.is-empty { opacity: .4; pointer-events: none; }
.seg__btn:focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; }

.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 48px 10px var(--gutter);   /* room for the last tab to scroll clear of the fade */
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent);
          mask: linear-gradient(90deg, #000 85%, transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--card);
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--accent); border-color: rgba(126,47,40,.35); }
.tab.is-active { background: rgba(126,47,40,.1); border-color: var(--accent); color: var(--accent); }
.tab.is-other { display: none; }   /* tabs of the other half of the menu */
.tab:focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; }

/* ---------- Menu body ---------- */
.menu {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 56px;
}

.search {
  position: relative;
  margin-bottom: 4px;
}
.search__icon {
  position: absolute; left: 14px; top: 50%; width: 18px; height: 18px;
  transform: translateY(-50%);
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
  pointer-events: none;
}
.search__input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font: inherit;
  font-size: 1rem;          /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-appearance: none;
          appearance: none;
}
.search__input::placeholder { color: #9b8e86; }
.search__input:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(173,140,106,.22); }
.search__empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- Drinks / Kitchen banners ---------- */
.group { scroll-margin-top: var(--bar-h); padding-top: 8px; }
.group + .group { margin-top: 48px; }
.group__banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 22px 20px;
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(173,140,106,.25), transparent 55%),
    var(--wine);
  color: var(--cream);
}
.group__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(245,227,207,.25);
  background: rgba(245,227,207,.08);
}
.group__icon svg { width: 28px; height: 28px; }
.group__title { font-size: clamp(2.1rem, 9vw, 2.75rem); font-weight: 500; line-height: 1; }
.group__list { margin-top: 6px; font-size: .84rem; color: rgba(245,227,207,.75); }

/* "On the grinder" in the Drinks banner: right-aligned like the printed menu,
   dropping below the title on narrow screens. */
.group__banner { flex-wrap: wrap; }
.grinder {
  flex-basis: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(245,227,207,.18);
}
.grinder__label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--tan);
}
.grinder__name { margin-top: 4px; font-size: 1.05rem; font-weight: 500; }
.grinder__notes { font-size: .85rem; font-weight: 300; color: rgba(245,227,207,.75); }

.section {
  padding-top: 32px;
  scroll-margin-top: calc(var(--bar-h) + 4px);
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
}
.section__title {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent);
}
.section__note {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.sub { margin-top: 20px; }
.sub__title {
  margin-bottom: 4px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Serving note beside a sub-heading, e.g. "Signature · Iced only". */
.sub__note {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(126,47,40,.3);
  color: var(--muted);
  letter-spacing: .22em;
}

/* ---------- Items ---------- */
.items { display: grid; }
.item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.items > .item:last-child { border-bottom: 0; }
.item__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.item__name {
  flex: 1;
  min-width: 0;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.3;
}
.item__price {
  flex: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.item__desc {
  margin-top: 4px;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--muted);
  max-width: 46ch;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: var(--brick);
  background: rgba(173,140,106,.2);
  white-space: nowrap;
}

/* Signature drinks get cards so they stand out from the classics. */
.items--featured { gap: 10px; margin-top: 10px; }
.items--featured > .item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(72,21,18,.04);
  position: relative;
  overflow: hidden;
}
.items--featured > .item::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
}
.items--featured > .item:last-child { border-bottom: 1px solid var(--line); }

/* "Make it yours" extras: compact two-up grid of chips. */
.section--extras .items--extras {
  margin-top: 16px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.items--extras > .item,
.items--extras > .item:last-child {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
/* Name above price, so short chips never squeeze the name onto two lines. */
.items--extras .item__row { flex-direction: column; gap: 2px; }
.items--extras .item__name { font-size: .95rem; }
.items--extras .item__price { font-size: .92rem; }

/* Search results: hide what doesn't match. */
.is-hidden { display: none !important; }

/* ---------- Footer ---------- */
.footer {
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom));
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__logo { width: 140px; margin: 0 auto; }
.footer__tagline {
  margin-top: 10px;
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245,227,207,.7);
}
.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(245,227,207,.3);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}
.footer__ig:hover { background: rgba(245,227,207,.1); }
.footer__ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__fine { margin-top: 20px; font-size: .8rem; font-weight: 300; color: rgba(245,227,207,.65); }

/* ---------- Tablet & up ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }

  .hero__inner { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero__logo { width: 210px; }
  .hero__tagline { font-size: .68rem; }
  .showcase { width: 380px; }
  .stamp { width: 112px; right: -48px; }
  .stamp__ring text { font-size: 8.6px; }
  .viewer__prev { left: 24px; }
  .viewer__next { right: 24px; }

  /* One row: logo, Drinks | Kitchen switch, then that half's tabs. */
  .bar__inner { display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter); }
  .bar__top { flex: none; padding: 0; }
  .seg { flex: none; width: 300px; }
  .bar__logo .wordmark { width: 68px; }
  .bar.is-stuck .bar__logo { width: 68px; }
  .tabs { flex: 1; min-width: 0; padding: 2px; -webkit-mask: none; mask: none; }

  .entry { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
  .entry__label { grid-column: 1 / -1; }
  .entry__card { padding: 18px 20px; }

  .group + .group { margin-top: 72px; }
  .group__banner { padding: 30px 32px; gap: 22px; }
  .group__icon { width: 64px; height: 64px; }
  .group__icon svg { width: 32px; height: 32px; }
  .group__title { font-size: 3.25rem; }
  .group__list { font-size: .95rem; }
  .group__banner { flex-wrap: nowrap; }
  .grinder {
    flex-basis: auto;
    margin-left: auto;
    padding: 4px 0 4px 28px;
    border-top: 0;
    border-left: 1px solid rgba(245,227,207,.18);
    text-align: right;
  }
  .grinder__name { font-size: 1.15rem; }

  .section { padding-top: 48px; }

  /* Two columns like the printed menu. */
  .items,
  .items--food { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  /* Last row in each column has no rule. */
  .items > .item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

  .items--featured { column-gap: 14px; gap: 14px; }
  .items--featured > .item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

  .section--extras .items--extras { grid-template-columns: repeat(3, 1fr); column-gap: 10px; }
  .items--extras > .item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

  .search { max-width: 460px; }
}

@media (min-width: 1000px) {
  /* Split header: brand and menu links on the left, the arched gallery on the right. */
  .hero::before { left: 24%; top: 88%; width: 1100px; opacity: .07; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand    showcase"
      "entry    showcase";
    align-items: center;
    justify-items: start;
    column-gap: 96px;
    row-gap: 40px;
    padding: 88px var(--gutter) 80px;
    text-align: left;
  }
  .hero__brand { align-self: end; }
  .entry { align-self: start; grid-template-columns: 1fr; max-width: 440px; }
  .hero__logo { width: 300px; }
  .hero__tagline { font-size: .74rem; }
  .showcase { width: min(34vw, 400px); margin-right: 40px; }
  .stamp { width: 124px; right: -62px; }
  .section__title { font-size: 3rem; }
  .section--extras .items--extras { grid-template-columns: repeat(5, 1fr); }
}
