/* ============================================================
   Cheyenne Farm — v2 design system
   Modern editorial: Fraunces display serif + Inter UI sans,
   generous whitespace, full-bleed photography, hairline rules,
   scroll-reveal motion (respects prefers-reduced-motion).
   ============================================================ */

:root {
  --paper: #F7F4ED;
  --paper-deep: #EFEAE0;
  --ink: #181611;
  --ink-soft: #6A6354;
  --line: rgba(24, 22, 17, 0.14);
  --line-soft: rgba(24, 22, 17, 0.08);
  --clay: #A8512C;
  --clay-deep: #8B3E1F;
  --moss: #55624A;
  --citrus: #C9920F;
  --night: #14120D;
  --night-text: #B9B2A2;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(24px, 5vw, 72px);
  --max: 1380px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
::selection { background: var(--citrus); color: var(--ink); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--clay); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 36px; height: 1px; background: var(--clay); }

.display {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 340; color: var(--clay); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.solid {
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  padding: 14px var(--pad);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav .wordmark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
  position: relative;
  flex: 0 0 auto;
  z-index: 102; /* stays visible above the mobile menu overlay */
}
.nav .wordmark em { font-style: italic; font-weight: 400; }
.nav.solid .wordmark, .nav.on-paper .wordmark { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav.solid .nav-links a, .nav.on-paper .nav-links a { color: var(--ink-soft); }
.nav.solid .nav-links a.active, .nav.on-paper .nav-links a.active,
.nav.solid .nav-links a:hover, .nav.on-paper .nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-size: 11px !important;
  padding: 12px 22px !important;
  background: var(--clay);
  color: #fff !important;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #8B3E1F; transform: translateY(-1px); }

/* Compact "Book the cabin" CTA shown in the bar on mobile only —
   the hero is the first thing visitors see, so the conversion path
   stays one tap away without opening the menu. */
.nav-cta-mobile {
  display: none;
  align-items: center;
  margin-left: auto;
  margin-right: 18px;
  padding: 10px 18px;
  background: var(--clay);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  z-index: 102; /* stays tappable above the open menu overlay */
  transition: background 0.25s;
}
.nav-cta-mobile:hover { background: #8B3E1F; }

/* Mobile menu */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  z-index: 102;
}
.nav-burger span {
  width: 26px; height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.nav.solid .nav-burger span, .nav.on-paper .nav-burger span, .nav.open .nav-burger span { background: var(--ink); }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   Hero — full-bleed
   ============================================================ */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero.short { min-height: 68svh; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,13,0.35) 0%, rgba(20,18,13,0.05) 38%, rgba(20,18,13,0.62) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  /* top padding keeps content clear of the fixed nav on short viewports */
  padding: 110px var(--pad) clamp(48px, 7vh, 88px);
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.hero-content .eyebrow { color: #fff; margin-bottom: 22px; }
.hero-content .eyebrow::before { background: #fff; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 370;
  font-variation-settings: "opsz" 144;
  font-size: clamp(52px, 8.5vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; font-weight: 330; }
.hero .hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.86);
}
.hero-meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 40px var(--pad) 0;
  padding: 18px 0 26px;
  display: flex;
  gap: clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
  max-width: calc(var(--max) - 2 * var(--pad));
  margin-left: auto; margin-right: auto;
  width: calc(100% - 2 * var(--pad));
}
.hero-meta div {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero-meta div strong { display: block; color: #fff; font-weight: 600; margin-top: 2px; letter-spacing: 0.14em; }

/* Page hero (no photo) */
.page-hero {
  padding: clamp(150px, 22vh, 220px) var(--pad) clamp(48px, 7vh, 80px);
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; font-weight: 340; color: var(--clay); }
.page-hero .lede {
  margin-top: 28px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
}
.page-hero .lede a { color: var(--clay); }

/* ============================================================
   Marquee strip
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee span::after { content: "✺"; font-style: normal; color: var(--citrus); font-size: 13px; }

/* ============================================================
   Sections & layout primitives
   ============================================================ */
.section { padding: clamp(72px, 11vw, 150px) var(--pad); }
.section.tight { padding-top: clamp(20px, 3vw, 40px); }
.section.flush-bottom { padding-bottom: 0; }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }
.wrap-mid { max-width: 980px; margin: 0 auto; }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 110;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; font-weight: 340; color: var(--clay); }
.section-head .sub { margin-top: 22px; font-size: 17px; color: var(--ink-soft); max-width: 580px; }
.section-head.centered .sub { margin-left: auto; margin-right: auto; }
.section-head .sub a { color: var(--clay); }

/* Intro statement */
.statement {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 110;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 920px;
}
.statement em { font-style: italic; color: var(--clay); }
.statement-sub { margin-top: 28px; font-size: 17px; color: var(--ink-soft); max-width: 560px; }
.statement-sub a { color: var(--clay); }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 36px 28px 36px 0; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat .num {
  font-family: var(--serif);
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .num sup { font-size: 0.45em; color: var(--clay); font-style: italic; }
.stat .lbl {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================================
   Editorial split (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.split + .split { margin-top: clamp(80px, 12vw, 160px); }
.split.flip .split-media { order: 2; }

.split-media { position: relative; }
.split-media .frame {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
}
.split-media .frame.landscape { aspect-ratio: 4 / 3; }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-media:hover img { transform: scale(1.04); }
.split-media .index {
  position: absolute;
  top: -28px; left: -8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--clay);
  letter-spacing: 0.08em;
}
.split.flip .split-media .index { left: auto; right: -8px; }

.split-text .eyebrow { margin-bottom: 20px; }
.split-text h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 110;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 16ch;
}
.split-text h3 em { font-style: italic; font-weight: 340; color: var(--clay); }
.split-text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 480px; }
.split-text p strong { color: var(--ink); font-weight: 600; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- Links & buttons ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.arrow-link .arr { transition: transform 0.3s var(--ease); color: var(--clay); }
.arrow-link:hover .arr { transform: translateX(6px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }
.btn.clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn.clay:hover { background: #8B3E1F; border-color: #8B3E1F; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.on-dark { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn.on-dark:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn.ghost-dark { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn.ghost-dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-note { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); margin-top: 18px; }
.btn-note a { color: var(--clay); }
.btn .sub { display: block; font-size: 10px; opacity: 0.7; letter-spacing: 0.08em; text-transform: none; font-weight: 400; }
.btn.stacked { flex-direction: column; gap: 3px; padding: 14px 32px; }

/* ============================================================
   Card grids
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px);
  transition: background 0.35s;
}
.card:hover { background: var(--paper-deep); }
.card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--clay);
  margin-bottom: 18px;
  display: block;
}
.card h4 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.card p { font-size: 14.5px; color: var(--ink-soft); }
.card p a { color: var(--clay); }
.card .meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.card .meta .a { color: var(--moss); }
.card .meta .b { color: var(--clay); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}
.gallery .g-item { overflow: hidden; border-radius: 2px; }
.gallery .g-item.tall { grid-row: span 2; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.gallery .g-item:hover img { transform: scale(1.05); }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}
.photo-strip .g-item { overflow: hidden; border-radius: 2px; aspect-ratio: 4/3; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.photo-strip .g-item:hover img { transform: scale(1.05); }

/* ============================================================
   Quotes / reviews
   ============================================================ */
.quote-band { background: var(--paper-deep); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.quote { border-top: 1px solid var(--line); padding-top: 28px; }
.quote .stars { color: var(--citrus); letter-spacing: 5px; font-size: 13px; margin-bottom: 18px; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.quote cite {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
}
.pull-quote::before { content: "“"; color: var(--clay); }
.pull-quote::after { content: "”"; color: var(--clay); }
.pull-quote.plain::before, .pull-quote.plain::after { content: none; }

/* ============================================================
   List rows (events / markets / calendar)
   ============================================================ */
.row-list { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.35s var(--ease);
}
.row:hover { padding-left: 12px; }
.row .when {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}
.row .what h4 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.row .what .where { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.row .dist {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  white-space: nowrap;
}

/* ============================================================
   Story / prose
   ============================================================ */
.prose { font-size: 17.5px; line-height: 1.85; color: var(--ink); }
.prose p { margin-bottom: 26px; }
.prose p a { color: var(--clay); text-underline-offset: 3px; }
.prose .lead {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.prose h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 56px 0 20px;
}
.prose h3 em { font-style: italic; color: var(--clay); }

.drop-rule { width: 64px; height: 1px; background: var(--clay); margin: 48px 0; }

/* ============================================================
   Journal
   ============================================================ */
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.post-meta .date { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); }
.post-meta .cat { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.post h2 {
  font-family: var(--serif);
  font-weight: 390;
  font-variation-settings: "opsz" 110;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.post-img { border-radius: 2px; margin: 34px 0; width: 100%; }
.post-footer {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 16px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-byline { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-soft); }
.up-next { border: 1px solid var(--line); border-radius: 2px; padding: 36px 38px; margin-top: 72px; background: var(--paper-deep); }
.up-next .eyebrow { margin-bottom: 14px; }
.up-next h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; margin-bottom: 8px; }
.up-next p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   Recipes
   ============================================================ */
.recipe-group { margin-bottom: clamp(48px, 6vw, 80px); }
.recipe-group .group-label {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 28px;
}
.recipe-group .group-label h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
  color: var(--clay);
}
.recipe-group .group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.recipe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.recipe {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--paper);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.recipe:hover { border-color: var(--clay); transform: translateY(-3px); }
.recipe .tag-line { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss); margin-bottom: 12px; }
.recipe h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.015em; margin-bottom: 20px; }
.recipe ul { list-style: none; margin-bottom: 20px; }
.recipe li {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding: 8px 0;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line-soft);
  align-items: baseline;
}
.recipe li:last-child { border-bottom: 0; }
.recipe li .amt { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--clay); text-transform: uppercase; }
.recipe .method { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); line-height: 1.65; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-group { margin-bottom: clamp(40px, 5vw, 64px); }
.faq-group-label {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-style: italic; font-weight: 360;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--clay);
  margin-bottom: 10px;
}
.faq-group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.01em;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--clay);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--clay); }
.faq-answer { padding: 0 0 26px; max-width: 680px; }
.faq-answer p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--clay); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 20px;
  margin: 36px 0 10px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
.contact-info a { color: var(--clay); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form .field label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 9px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--clay); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button { align-self: flex-start; }

.map-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  filter: saturate(0.85);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   Big CTA band (dark)
   ============================================================ */
.cta-band {
  background: var(--night);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band .wrap { position: relative; z-index: 2; text-align: center; }
.cta-band .eyebrow { color: var(--citrus); justify-content: center; margin-bottom: 26px; }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--citrus); }
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.cta-band h2 em { font-style: italic; font-weight: 320; color: var(--citrus); }
.cta-band p { margin: 24px auto 0; max-width: 520px; color: var(--night-text); font-size: 16.5px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-note { color: var(--night-text); }
.cta-band .btn-note a { color: var(--citrus); }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--night);
  color: var(--night-text);
  padding: clamp(64px, 9vw, 110px) var(--pad) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .wordmark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 450;
  color: #fff;
  text-decoration: none;
}
.footer-brand .wordmark em { font-style: italic; font-weight: 380; }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 18px; max-width: 320px; }
.footer-col h5 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--night-text);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col p a { display: inline; padding: 0; }
.footer-ack {
  max-width: var(--max);
  margin: 36px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  max-width: 640px;
}
.footer-base {
  max-width: var(--max);
  margin: 36px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.footer-base a { color: inherit; text-decoration: none; }
.footer-base a:hover { color: #fff; }

/* ============================================================
   Cross-page transitions (View Transitions API)
   Soft cross-fade between pages in supporting browsers;
   normal navigation everywhere else.
   ============================================================ */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation-duration: 0.3s; }
  ::view-transition-new(root) { animation-duration: 0.45s; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============================================================
   Scroll-driven parallax (CSS scroll-timeline)
   Images drift slightly against the scroll inside their frame.
   Supporting browsers only; others keep the hover zoom.
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split-media .frame img,
    .gallery .g-item img,
    .photo-strip .g-item img {
      animation: parallax-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .hero-media img {
      animation: heroIn 2.4s var(--ease) both, hero-drift linear both;
      animation-timeline: auto, view();
      animation-range: normal, exit 0% exit 100%;
    }
  }
}
@keyframes parallax-drift {
  from { transform: translateY(4.5%) scale(1.12); }
  to { transform: translateY(-4.5%) scale(1.12); }
}
@keyframes hero-drift {
  from { transform: translateY(0); }
  to { transform: translateY(9%); }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox .lb-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.gallery .g-item img, .photo-strip .g-item img { cursor: zoom-in; }
@media (max-width: 760px) {
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 64px; transform: none; }
  .lightbox .lb-prev { left: 22px; }
  .lightbox .lb-next { right: 22px; }
  .lightbox .lb-caption { bottom: 124px; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .marquee-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .nav-burger { display: flex; }
  .nav-cta-mobile { display: inline-flex; }
  .nav .wordmark { font-size: 17px; white-space: nowrap; }
  .nav-cta-mobile { margin-right: 14px; padding: 9px 15px; font-size: 10.5px; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--pad);
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 101;
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links a {
    font-family: var(--serif);
    font-size: clamp(30px, 7vw, 44px) !important;
    font-weight: 380;
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--ink) !important;
    padding: 6px 0;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--clay) !important; }
  .nav-links a.nav-cta {
    margin-top: 22px;
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
    padding: 16px 30px !important;
    color: #fff !important;
  }
  .nav.open .wordmark { color: var(--ink); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { border-top: 1px solid var(--line-soft); padding-left: 0; }
  .stat:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .nav { padding-left: 16px; padding-right: 16px; }
  .nav .wordmark { font-size: 16px; }
  .nav-cta-mobile { margin-right: 10px; padding: 8px 12px; font-size: 10px; letter-spacing: 0.08em; }
}

@media (max-width: 420px) {
  .nav-cta-mobile { display: none; }
}

@media (max-width: 760px) {
  .hero { min-height: 86svh; }
  .hero-meta { gap: 18px 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-media { order: 0; }
  .split-media .frame { aspect-ratio: 4 / 3; }
  .card-grid, .card-grid.two, .recipe-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .photo-strip { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row .dist { justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn-row .btn { width: 100%; }
}
