@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --shot: #f3f3f3;
  --ink: #171717;
  --ink-soft: #3a3a3a;
  --muted: #595959;
  --line: rgba(23, 23, 23, 0.12);
  --line-strong: rgba(23, 23, 23, 0.28);
  --accent: #722433;
  --accent-text: #722433;
  --on-accent: #ffffff;
  --mat: #f6f3ee;
  --gold: #8d7340;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111111;
  --shot: #1c1c1c;
  --ink: #f5f5f5;
  --ink-soft: #e0e0e0;
  --muted: #c8c8c8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);
  --accent: #722433;
  --accent-text: #d46b7c;
  --on-accent: #ffffff;
  --mat: #1a1816;
  --gold: #c6a56a;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }
p { text-wrap: pretty; }

button, input {
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
button { cursor: pointer; }
a { color: inherit; }

::selection { background: #722433; color: #ffffff; }
:root[data-theme="dark"] ::selection { background: #d46b7c; color: #111111; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #722433;
  color: #fbf7f0;
  padding: 0.5rem 0.75rem;
  z-index: 30;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.mark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
}
.mark-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mark-kicker {
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--ink);
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.menu-intro {
  padding: 3rem 0 1.35rem;
}
.menu-intro h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.lede {
  margin-top: 0.7rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 1.5rem;
}
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.25rem 1.5rem;
}

.menu-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--shot);
  border-radius: 12px;
}
.shot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.shot-rule {
  width: 2.25rem;
  height: 1px;
  background: var(--line-strong);
}
.shot-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.shot.is-ready img { opacity: 1; }
.shot.is-ready .shot-fallback { visibility: hidden; }

.shot img,
.shot-fallback {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 240ms ease;
}
.card-house {
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-wrap { padding-top: 1.35rem; }
.detail-wrap > .back { margin-bottom: 1rem; }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: 3rem;
  align-items: start;
  padding: 0 0 2.5rem;
}
.detail-media { min-width: 0; }
.detail-media .shot { width: 100%; }
.detail-copy { min-width: 0; padding-top: 0.15rem; }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 220ms ease;
}
.back::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.dish-title {
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.dish-title:focus { outline: none; }
.rule {
  width: 3rem;
  height: 1px;
  margin: 1rem 0 0;
  border: 0;
  background: var(--line-strong);
}
.food {
  margin-top: 1.15rem;
  font-size: 1.12rem;
  line-height: 1.55;
}
.detail-copy section { margin-top: 1.7rem; }
.section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.wine {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent-text);
  overflow-wrap: break-word;
}
.place {
  margin-top: 0.3rem;
  font-style: italic;
  color: var(--ink-soft);
}
.prose {
  margin-top: 0.45rem;
  font-size: 1.02rem;
  line-height: 1.6;
}
.budget-wine {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.actions { margin-top: 1.8rem; }

.about {
  margin-top: 5.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22.5rem) minmax(0, 1fr);
  gap: 3rem 3.5rem;
  align-items: start;
}
.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--shot);
}
.about-copy { max-width: 38rem; }
.about h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.about .about-name {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.about .about-role {
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.about p {
  margin-top: 0.95rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.2rem;
}
.footer-age {
  font-size: 1rem;
  color: var(--ink);
}
.site-footer p {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.site-footer p + p { margin-top: 0.45rem; }
.footer-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.noscript {
  width: min(40rem, calc(100% - 2rem));
  margin: 2rem auto;
  font-style: italic;
}

@media (hover: hover) and (pointer: fine) {
  .menu-card:hover .shot img,
  .menu-card:hover .shot-fallback { transform: scale(1.045); }
  .back:hover,
  .footer-link:hover { color: var(--accent-text); }
  .btn:hover { border-color: var(--accent); color: var(--accent-text); }
  .btn-solid:hover,
  .chip[aria-pressed="true"]:hover {
    background: #5c1c28;
    border-color: #5c1c28;
    color: #ffffff;
  }
  .chip:hover { border-color: var(--accent); color: var(--accent-text); }
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-photo { max-width: 36rem; }
}

@media (max-width: 680px) {
  .wrap { width: min(72rem, calc(100% - 1.5rem)); }
  .mark-kicker { display: none; }
  .mark-name {
    font-size: 1.02rem;
    white-space: nowrap;
  }
  .menu-intro { padding-top: 1.5rem; }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    padding-bottom: 1.1rem;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid { grid-template-columns: 1fr; gap: 2.1rem; }
  .header-inner { min-height: 3.7rem; }
  .btn { padding: 0.5rem 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.tribute {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.tribute-hero {
  display: grid;
  grid-template-columns: minmax(16rem, 28rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.portrait { margin: 0; min-width: 0; }

.portrait-frame {
  padding: 3px;
  background: var(--gold);
  border: 1px solid var(--accent);
  box-shadow: 0 22px 48px rgba(23, 23, 23, 0.1);
}

:root[data-theme="dark"] .portrait-frame {
  border-color: var(--accent-text);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.portrait-mat {
  padding: 0.7rem;
  background: var(--mat);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-plate {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.95rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--shot) 65%, var(--bg));
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.tribute-identity { min-width: 0; }

.tribute-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 6.2vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-wrap: balance;
}

.tribute-role {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--accent-text);
}

.tribute-honours {
  margin-top: 0.95rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tribute-body {
  max-width: 42rem;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0.5rem;
  padding-bottom: 1rem;
}

.tribute-section + .tribute-section { margin-top: 3.15rem; }

.tribute-section + .tribute-section h2 {
  padding-top: 0.15rem;
}

.tribute-section + .tribute-section h2::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin-bottom: 1.15rem;
  background: var(--accent-text);
}

.tribute-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tribute-section p {
  margin-top: 0.95rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.tribute-section p.opening::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent-text);
  initial-letter: 3;
  margin-right: 0.14em;
}

@supports not (initial-letter: 3) {
  .tribute-section p.opening::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.78;
    padding: 0.06em 0.08em 0 0;
  }
}

.tribute-return {
  margin-top: 3.25rem;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .tribute-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
    padding-top: 1.75rem;
  }
  .portrait { width: min(100%, 26rem); }
  .tribute-identity { width: min(100%, 26rem); }
  .tribute-name { font-size: clamp(2.85rem, 12vw, 4rem); }
}

@media (max-width: 680px) {
  .tribute { width: min(72rem, calc(100% - 1.5rem)); }
  .portrait,
  .tribute-identity { width: 100%; }
  .portrait-mat { padding: 0.55rem; }
  .portrait-plate { font-size: 0.92rem; }
  .tribute-role { margin-top: 0.85rem; }
  .tribute-honours { margin-top: 0.7rem; letter-spacing: 0.03em; }
  .tribute-body { margin-top: 2.75rem; }
  .tribute-section p { font-size: 1.02rem; }
}
