:root {
  --bg: #0d0d0a;
  --bg-soft: #151510;
  --surface: rgba(252, 248, 239, 0.06);
  --surface-strong: rgba(252, 248, 239, 0.11);
  --text: #f5efe5;
  --muted: #c9bda9;
  --line: rgba(245, 239, 229, 0.12);
  --accent: #d5834b;
  --accent-soft: #8c9a63;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --display: "Baskerville Old Face", "Iowan Old Style", "Palatino Linotype",
    "Book Antiqua", serif;
  --body: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  --container: min(1160px, calc(100vw - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213, 131, 75, 0.16), transparent 36%),
    radial-gradient(circle at right 20%, rgba(140, 154, 99, 0.14), transparent 28%),
    linear-gradient(180deg, #11110d 0%, #0d0d0a 100%);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  opacity: 0.22;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-shell {
  position: relative;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(9, 9, 8, 0.82), rgba(9, 9, 8, 0.24));
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled,
.topbar-solid {
  border-bottom-color: var(--line);
  background: rgba(12, 12, 10, 0.88);
}

.brand {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle,
.nav-close,
.nav-scrim {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.14rem;
  min-height: 2.9rem;
  min-width: 2.9rem;
  padding: 0.65rem;
  border: 1px solid rgba(245, 239, 229, 0.2);
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 0.72rem;
  height: 1px;
  background: currentColor;
}

.nav-close {
  display: none;
}

.nav-scrim {
  display: none;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(245, 239, 229, 0.2);
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.06);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
}

.topnav a:hover,
.topnav a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 239, 229, 0.4);
  background: rgba(245, 239, 229, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.58);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 7, 6, 0.52), rgba(7, 7, 6, 0.78)),
    radial-gradient(circle at center, transparent 10%, rgba(7, 7, 6, 0.36) 100%);
}

.hero-grid,
.page-hero-grid,
.split-layout,
.feature-grid,
.direction-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: 8rem 0 5rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.7fr);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
  max-width: 10ch;
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.hero-text,
.section-copy p,
.timeline-content p,
.spotlight-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #12120e;
}

.sound-toggle.is-active {
  background: rgba(245, 239, 229, 0.12);
  color: var(--text);
  border-color: rgba(245, 239, 229, 0.2);
}

.button-secondary {
  border-color: rgba(245, 239, 229, 0.2);
  background: rgba(245, 239, 229, 0.06);
}

.hero-actions .button {
  border-color: rgba(245, 239, 229, 0.2);
  background: rgba(245, 239, 229, 0.06);
  color: var(--text);
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
  background: rgba(245, 239, 229, 0.18);
  border-color: rgba(245, 239, 229, 0.4);
  color: #ffffff;
}

.hero-panel,
.quote-card,
.story-card,
.contact-card,
.storylink-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.5rem;
  border-radius: 1.8rem;
  align-self: end;
}

.panel-label {
  margin-bottom: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.stat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.stat-list span,
.contact-item span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-list strong,
.contact-item strong,
.contact-item a {
  font-size: 1.02rem;
  font-weight: 500;
}

.contact-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  margin-top: 0.35rem;
  border: 1px solid rgba(245, 239, 229, 0.2);
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.06);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-item a::after {
  content: "";
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(245, 239, 229, 0.4);
  background: rgba(245, 239, 229, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section,
.page-hero {
  padding: 6rem 0;
}

.section-intro {
  padding-top: 7rem;
}

.split-layout,
.direction-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.quote-card {
  padding: 2rem;
  border-radius: 1.6rem;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 2rem;
}

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

.story-card {
  min-height: 260px;
  padding: 1.75rem;
  border-radius: 1.6rem;
}

.story-card p {
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.feature-section,
.section-direction,
.contact-section {
  position: relative;
}

.feature-section::before,
.section-direction::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

.feature-visual img,
.gallery-card img,
.page-hero-image img,
.mosaic img,
.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual {
  height: clamp(360px, 54vw, 720px);
  margin: 0;
  overflow: hidden;
  border-radius: 2rem;
}

.inline-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: minmax(280px, 520px) minmax(240px, 360px);
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: 2;
}

.ingredient-panel {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.9rem;
  padding-top: 0.5rem;
}

.ingredient-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.storylink-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.8rem;
  overflow: hidden;
}

.storylink-card .button {
  flex: 0 1 100%;
  max-width: 100%;
  border-color: rgba(245, 239, 229, 0.2);
  background: rgba(245, 239, 229, 0.06);
  color: var(--text);
  white-space: normal;
  text-align: center;
}

.storylink-card .button:hover,
.storylink-card .button:focus-visible {
  background: rgba(245, 239, 229, 0.18);
  border-color: rgba(245, 239, 229, 0.4);
  color: #ffffff;
}

.contact-card {
  padding: 2rem;
  border-radius: 1.8rem;
  display: grid;
  gap: 1.4rem;
}

.page-hero {
  padding-top: 9rem;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  align-items: center;
}

.page-hero-copy {
  max-width: 700px;
}

.page-hero-image {
  margin: 0;
  height: clamp(360px, 44vw, 560px);
  overflow: hidden;
  border-radius: 2rem;
}

.timeline {
  display: grid;
  gap: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.timeline-meta {
  color: var(--accent);
  font-family: var(--display);
  font-size: 2rem;
}

.timeline-content {
  max-width: 760px;
}

.mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(220px, 300px));
}

.mosaic figure,
.split-spotlight figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1.8rem;
}

.mosaic-main {
  grid-row: span 2;
}

.split-spotlight {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 1rem 0;
}

.split-spotlight.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-spotlight.reverse .spotlight-image {
  order: 2;
}

.split-spotlight.reverse .spotlight-copy {
  order: 1;
}

.spotlight-image {
  height: clamp(320px, 44vw, 540px);
}

.footer {
  padding: 1.4rem 0 2.4rem;
  color: var(--muted);
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 7, 0.84);
  backdrop-filter: blur(12px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(92vh, 920px);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: rgba(16, 16, 13, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}

.modal-close {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 1.5rem;
}

.modal-video {
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  background: #000;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .feature-grid,
  .direction-grid,
  .contact-grid,
  .cards-grid,
  .mosaic,
  .split-spotlight,
  .split-spotlight.reverse,
  .gallery-grid,
  .storylink-card,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: end;
    padding-top: 8.75rem;
  }

  .gallery-wide,
  .gallery-tall,
  .mosaic-main {
    grid-column: auto;
    grid-row: auto;
  }

  .split-spotlight.reverse .spotlight-image,
  .split-spotlight.reverse .spotlight-copy {
    order: initial;
  }

  .storylink-card,
  .footer-row {
    align-items: flex-start;
  }

  .timeline-item {
    gap: 0.5rem;
  }

  .video-modal-header,
  .video-modal-frame {
    padding: 1rem;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 1.4rem, 1160px);
  }

  .topbar {
    z-index: 90;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .topnav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    width: min(82vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(13, 13, 10, 0.96);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform 260ms ease;
  }

  .section,
  .page-hero {
    padding: 4.5rem 0;
  }

  .hero-grid {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

  .section-intro {
    padding-top: 6.5rem;
  }

  .page-hero {
    padding-top: 8rem;
  }

  .hero-panel,
  .quote-card,
  .story-card,
  .contact-card,
  .storylink-card,
  .video-modal-dialog {
    border-radius: 1.3rem;
  }

  h1 {
    max-width: 8ch;
  }

  .contact-item a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .topnav a,
  .nav-close {
    width: 100%;
    justify-content: center;
    min-height: 3rem;
    white-space: normal;
    text-align: center;
  }

  .nav-close {
    display: inline-flex;
    align-self: stretch;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(245, 239, 229, 0.2);
    border-radius: 999px;
    background: rgba(245, 239, 229, 0.06);
    color: var(--text);
    cursor: pointer;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    border: 0;
    background: rgba(6, 6, 5, 0.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .topnav {
    transform: translateX(0);
  }

  body.nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .video-modal {
    padding: 0.75rem;
  }

  .video-modal-header {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-close {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 1rem, 1160px);
  }

  .topbar {
    padding: 1rem 0.75rem;
  }

  .brand {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .topnav {
    width: min(88vw, 320px);
    gap: 0.6rem;
  }

  .nav-toggle {
    padding: 0.7rem 0.9rem;
  }

  .hero-grid {
    padding-top: 8rem;
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .storylink-card .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-panel,
  .quote-card,
  .story-card,
  .contact-card,
  .storylink-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .storylink-card {
    gap: 1.25rem;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .section-intro {
    padding-top: 6.75rem;
  }

  .page-hero {
    padding-top: 8.25rem;
  }

  .ingredient-panel span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .hero-text,
  .section-copy p,
  .timeline-content p,
  .spotlight-copy p {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .topnav a,
  .nav-toggle,
  .nav-scrim {
    transition: none;
  }
}
