/* ========= TOKENS ========= */
:root {
  /* Light, warm "central-Maine farmhouse" palette */
  --bg-deep: #EFE7D2;      /* oatmeal */
  --bg-surface: #E5DBC1;   /* kraft */
  --bg-elevated: #DACEB0;  /* darker kraft */

  --sage: #3F5E48;         /* deep forest */
  --sage-deep: #2A4231;
  --sage-muted: #6B8472;

  --maple: #A8623A;        /* maple bark */
  --maple-deep: #7D4626;
  --birch: #C9B997;

  --cream: #2A2419;        /* primary text — dark espresso (legible on oatmeal) */
  --warm: #3D3527;         /* secondary text */
  --stone: #5C5240;        /* tertiary */
  --muted: #8A7F66;        /* muted/labels */
  --dim: #B0A48A;          /* very muted */
  --light: #F8F1DD;        /* inverse — sits on dark sage/maple */

  --border-subtle: #D2C6A9;
  --border-warm: #BFAF8D;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ========= ANIMATED BACKGROUND PATHS ========= */
.bg-paths {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-paths-layer {
  position: absolute; inset: 0;
  color: var(--border-warm);
}
/* per-path keyframes are generated by bg-paths.js */
@media (prefers-reduced-motion: reduce) {
  .bg-paths { display: none; }
}

/* ========= RESET ========= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: transparent; color: inherit; font: inherit; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 900;
  opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========= TYPE ========= */
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--cream);
}
.display em { font-style: italic; font-weight: 400; color: var(--warm); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 1.4rem; height: 1px;
  background: var(--sage);
}
.body { color: var(--stone); max-width: 60ch; }
.body p + p { margin-top: 1.1rem; }
.body strong { color: var(--cream); font-weight: 500; }

/* ========= LAYOUT ========= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
section { padding: clamp(72px, 11vh, 140px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 800px;
}
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--sage); color: var(--light); }
.btn-primary:hover { background: var(--sage-deep); color: var(--light); }
.btn-ghost { border-color: var(--border-warm); color: var(--cream); }
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--sage); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ========= NAV ========= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid {
  background: rgba(239, 231, 210, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
  height: 60px;
}
.nav-inner {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 56px);
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.brand .dot { color: var(--sage); }
.nav-links { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--sage);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--stone); transition: transform 0.25s, opacity 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: flex; }
}

.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg-deep);
  padding: calc(var(--nav-h) + 32px) clamp(20px, 5vw, 56px) 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer .btn { margin-top: auto; justify-content: center; }

/* ========= PAGE HEADER (shared, for inner pages) ========= */
.page-header {
  padding: calc(var(--nav-h) + 80px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}
.page-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-top: 1.25rem;
}
.page-header h1 em { font-style: italic; font-weight: 400; color: var(--warm); }
.page-header .body { font-size: 1.05rem; }
.crumbs {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 0.6rem; align-items: center;
}
.crumbs a:hover { color: var(--cream); }
.crumbs .sep { color: var(--dim); }
@media (max-width: 880px) {
  .page-header-grid { grid-template-columns: 1fr; align-items: start; }
  .page-header { padding-top: calc(var(--nav-h) + 48px); }
}

/* ========= HERO (home) ========= */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 48px;
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-tag {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.hero-tag::before { content: ''; width: 2rem; height: 1px; background: var(--sage); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 1.75rem;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--warm); }
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-meta {
  display: grid; grid-template-columns: auto 1px auto 1px auto;
  gap: 1.5rem; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.hero-meta .div { width: 1px; height: 28px; background: var(--border-subtle); }
.meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.meta-label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.meta-val { font-size: 0.95rem; color: var(--cream); font-weight: 400; }
.meta-val .open-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); margin-right: 0.45rem;
  box-shadow: 0 0 0 0 rgba(63, 94, 72, 0.55);
  animation: pulse 2.4s infinite var(--ease);
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 94, 72, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(63, 94, 72, 0); }
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-surface);
  border: 1px solid var(--border-warm);
  overflow: hidden;
}
.hero-photo .img-placeholder { width: 100%; height: 100%; }
.hero-caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: var(--serif); font-style: italic;
  font-size: 0.85rem;
  color: var(--warm);
  opacity: 0.78;
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; max-height: 50vh; order: -1; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-meta .div { display: none; }
}

/* ========= MARQUEE ========= */
.marquee {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-surface);
}
.marquee-track {
  display: flex; gap: 4rem; width: max-content;
  animation: scroll 50s linear infinite;
  align-items: center;
}
.marquee-track span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--warm); white-space: nowrap;
}
.marquee-track span.dim { color: var(--dim); font-style: normal; font-family: var(--sans); font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========= INTENTION GRID ========= */
.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.intent-card {
  background: var(--bg-deep);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  min-height: 380px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.intent-card:hover { background: var(--bg-surface); }
.intent-num {
  font-family: var(--serif); font-size: 0.95rem; font-style: italic;
  color: var(--sage); margin-bottom: 1.5rem;
}
.intent-card h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1;
  color: var(--cream); margin-bottom: 0.9rem;
}
.intent-card .summary {
  font-size: 0.92rem; color: var(--stone); line-height: 1.6;
  margin-bottom: 2rem; flex: 1;
}
.intent-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.pill {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone); border: 1px solid var(--border-warm);
  padding: 4px 10px;
}
.intent-link {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.intent-link .arrow { transition: transform 0.25s var(--ease); }
.intent-card:hover .intent-link .arrow { transform: translateX(4px); }
@media (max-width: 980px) { .intent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .intent-grid { grid-template-columns: 1fr; } .intent-card { min-height: 280px; } }

/* ========= FEATURED ========= */
.featured { background: var(--bg-surface); }
.feat-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.feat-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 14ch; }
.feat-head p { color: var(--stone); max-width: 38ch; font-size: 0.95rem; }
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.feat-card { display: flex; flex-direction: column; gap: 1rem; }
.feat-img {
  aspect-ratio: 4 / 5; background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
  position: relative; overflow: hidden;
}
.feat-img .img-placeholder { width: 100%; height: 100%; }
.feat-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--light); background: var(--sage);
  padding: 4px 8px; z-index: 2;
}
.feat-meta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.feat-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.45rem; line-height: 1.2; color: var(--cream);
}
.feat-grow { font-size: 0.85rem; color: var(--stone); font-style: italic; font-family: var(--serif); }
.feat-price { font-size: 0.85rem; color: var(--warm); font-weight: 500; margin-top: 0.25rem; }
.feat-price .thc { color: var(--muted); font-weight: 400; margin-left: 0.6rem; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ========= MENU PAGE — category sections ========= */
.menu-jump {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  padding: 24px 0; border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: var(--nav-h); background: var(--bg-deep); z-index: 50;
}
.menu-jump a {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone);
  padding: 8px 14px; border: 1px solid var(--border-subtle);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.menu-jump a:hover { background: var(--bg-surface); color: var(--cream); border-color: var(--border-warm); }

.cat-block { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--border-subtle); }
.cat-block:last-of-type { border-bottom: 0; }
.cat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem; align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.cat-head .num {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--sage); line-height: 1;
}
.cat-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em; color: var(--cream);
}
.cat-head .count {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.cat-block p.lede { font-size: 1.05rem; color: var(--stone); max-width: 50ch; margin-bottom: 2.5rem; }

.prod-table {
  display: grid; gap: 0;
  border-top: 1px solid var(--border-subtle);
}
.prod-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 110px 80px;
  gap: 1.5rem; align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s var(--ease);
}
.prod-row:hover { background: var(--bg-surface); }
.prod-thumb {
  aspect-ratio: 1 / 1; background: var(--bg-elevated);
  border: 1px solid var(--border-warm); overflow: hidden;
}
.prod-thumb .img-placeholder { width: 100%; height: 100%; }
.prod-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--cream); line-height: 1.2; }
.prod-name small { display: block; font-size: 0.72rem; font-family: var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.prod-notes { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--stone); }
.prod-thc { font-size: 0.78rem; color: var(--warm); letter-spacing: 0.06em; }
.prod-price { font-size: 1rem; color: var(--cream); font-weight: 500; text-align: right; }
@media (max-width: 780px) {
  .prod-row {
    grid-template-columns: 80px 1fr;
    grid-template-areas: "thumb name" "thumb notes" "thumb meta";
    row-gap: 0.45rem;
  }
  .prod-thumb { grid-area: thumb; align-self: start; }
  .prod-name { grid-area: name; }
  .prod-notes { grid-area: notes; }
  .prod-thc, .prod-price { grid-area: meta; text-align: left; display: inline; }
  .prod-price::before { content: '·'; margin: 0 0.5rem; color: var(--muted); }
}

/* ========= STORY ========= */
.story { background: var(--bg-surface); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 96px); align-items: start;
}
.owner-portrait {
  aspect-ratio: 4 / 5; background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
  position: relative; overflow: hidden;
}
.owner-portrait .img-placeholder { width: 100%; height: 100%; }
.owner-portrait .cap {
  position: absolute; bottom: 14px; left: 14px;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warm); font-weight: 500;
  background: rgba(26, 23, 18, 0.75);
  padding: 6px 10px; backdrop-filter: blur(6px);
}
.story-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 1.5rem; }
.story-text .body p { font-size: 1.02rem; }
.signature {
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; color: var(--warm);
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.signature span { display: block; font-size: 0.72rem; font-style: normal; font-family: var(--sans); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }

/* ========= EXPERIENCE ========= */
.experience { background: var(--bg-deep); }
.exp-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 7vw, 96px); align-items: center;
}
.exp-text h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.75rem; }
.exp-text .body { font-size: 1rem; }
.exp-points {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.exp-point { padding: 1.25rem 0; border-top: 1px solid var(--border-subtle); }
.exp-point .label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.45rem;
}
.exp-point .text {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; line-height: 1.4; color: var(--cream);
}
.exp-photos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 40px); gap: 12px;
}
.exp-photo { background: var(--bg-surface); border: 1px solid var(--border-warm); overflow: hidden; position: relative; }
.exp-photo .img-placeholder { width: 100%; height: 100%; }
.exp-photo.a { grid-column: 1 / 5; grid-row: 1 / 5; }
.exp-photo.b { grid-column: 5 / 7; grid-row: 1 / 4; }
.exp-photo.c { grid-column: 5 / 7; grid-row: 4 / 7; }
.exp-photo.d { grid-column: 1 / 5; grid-row: 5 / 7; }
@media (max-width: 880px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-points { grid-template-columns: 1fr; }
  .exp-photos { grid-template-rows: repeat(6, 32px); }
}

/* ========= REVIEWS ========= */
.reviews { background: var(--bg-deep); }
.reviews-head {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.reviews-head h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.review-rating {
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.stars { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--sage); letter-spacing: 0.1em; }
.rating-line { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rating-line strong { color: var(--cream); font-weight: 500; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.review {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 1rem;
}
.review .quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.45; color: var(--cream); text-wrap: pretty;
}
.review .meta {
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}
.review .name { color: var(--warm); font-weight: 500; }
.review .src { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 880px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-head { grid-template-columns: 1fr; }
  .review-rating { align-items: flex-start; text-align: left; }
}

/* ========= VISIT ========= */
.visit { background: var(--bg-surface); }
.visit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-warm);
}
.visit-info {
  padding: clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 2rem;
}
.visit-info h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05;
  color: var(--cream); letter-spacing: -0.02em;
}
.visit-rows { display: grid; gap: 1.5rem; }
.visit-row {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 1.5rem; align-items: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}
.visit-row:first-of-type { padding-top: 0; border-top: 0; }
.visit-row .key {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding-top: 4px;
}
.visit-row .val {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400; line-height: 1.5; color: var(--cream);
}
.visit-row .val small { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--stone); font-weight: 400; margin-top: 0.25rem; }
.visit-row a:hover { color: var(--sage); }
.visit-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.visit-map {
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-warm);
  position: relative; min-height: 460px; overflow: hidden;
}
.map-bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(195, 184, 164, 0.045) 36px 37px),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(195, 184, 164, 0.045) 36px 37px);
}
.map-route { position: absolute; inset: 0; }
.map-pin {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  z-index: 2;
}
.pin-marker {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--maple);
  box-shadow: 0 0 0 6px rgba(168, 98, 58, 0.22), 0 0 0 14px rgba(168, 98, 58, 0.1);
}
.pin-label {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--cream); text-align: center;
}
.pin-label small {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.25rem;
}
@media (max-width: 880px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { min-height: 260px; border-left: 0; border-top: 1px solid var(--border-warm); }
  .visit-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ========= INNER CIRCLE / FORM ========= */
.circle { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); }
.circle-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px); align-items: center;
}
.circle h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.5rem; }
.circle .body { font-size: 1rem; margin-bottom: 2rem; }
.form {
  display: flex; align-items: stretch;
  border: 1px solid var(--border-warm);
  background: var(--bg-surface);
  max-width: 460px;
}
.form input {
  flex: 1; background: transparent; border: 0;
  color: var(--cream); font-family: var(--sans);
  font-size: 0.95rem; padding: 16px 18px; outline: none;
}
.form input::placeholder { color: var(--muted); }
.form button {
  background: var(--sage); color: var(--light);
  font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 28px;
  transition: background 0.25s var(--ease);
}
.form button:hover { background: var(--sage-deep); color: var(--light); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.85rem; }
.perks { display: grid; gap: 1.25rem; }
.perk {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: grid; grid-template-columns: 32px 1fr;
  gap: 1rem; align-items: start;
}
.perk .num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.4rem; color: var(--sage); line-height: 1; padding-top: 4px;
}
.perk h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.2rem; color: var(--cream); margin-bottom: 0.2rem;
}
.perk p { font-size: 0.9rem; color: var(--stone); line-height: 1.5; }
@media (max-width: 880px) { .circle-inner { grid-template-columns: 1fr; } }

/* ========= CTA STRIP ========= */
.cta-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-strip-inner {
  padding: clamp(48px, 7vw, 80px) 0;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
}
.cta-strip h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cream); letter-spacing: -0.015em;
  line-height: 1.15; max-width: 22ch;
}
.cta-strip h3 em { font-style: italic; color: var(--warm); }
.cta-strip-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-strip-inner { grid-template-columns: 1fr; }
}

/* ========= FOOTER ========= */
footer {
  background: var(--bg-deep);
  padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.footer-brand .brand { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--stone); max-width: 32ch; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: var(--warm); transition: color 0.2s; }
.footer-col a:hover { color: var(--sage); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; gap: 1.5rem;
  font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--cream); }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ========= AGE GATE ========= */
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  transition: opacity 0.5s var(--ease);
}
.gate.gone { opacity: 0; pointer-events: none; }
.gate-inner { max-width: 440px; text-align: center; }
.gate-mark {
  font-family: var(--serif); font-size: 2rem; font-weight: 500;
  color: var(--cream); margin-bottom: 0.5rem;
}
.gate-mark .dot { color: var(--sage); }
.gate-loc {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 2.5rem;
}
.gate h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2; color: var(--cream); margin-bottom: 0.75rem;
}
.gate p { font-size: 0.92rem; color: var(--stone); margin-bottom: 2rem; }
.gate-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ========= GRANOLA / TRAIL ADDITIONS ========= */
/* Topo contour — disabled in favor of animated bg-paths */
.topo { position: relative; isolation: isolate; }

/* Field stamp — circular hand-stamped label */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px dashed var(--maple);
  font-family: var(--serif); font-style: italic;
  font-size: 0.78rem; line-height: 1.15; text-align: center;
  color: var(--maple); padding: 0.5rem;
  transform: rotate(-6deg);
}
.stamp strong { display: block; font-weight: 500; font-style: normal; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* Trail Report strip — central-Maine outdoor data */
.trail-report {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trail-report-inner {
  display: grid;
  grid-template-columns: auto repeat(4, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 3vw, 32px) 0;
  align-items: center;
}
.trail-report .lbl {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--maple);
  display: flex; align-items: center; gap: 0.7rem;
}
.trail-report .lbl::before {
  content: ''; width: 22px; height: 1px; background: var(--maple);
}
.trail-report .cell { display: flex; flex-direction: column; gap: 0.2rem; }
.trail-report .k { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.trail-report .v { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); line-height: 1.1; }
.trail-report .v small { font-family: var(--sans); font-size: 0.7rem; color: var(--stone); letter-spacing: 0.04em; }
.trail-report .stamp { justify-self: end; }
@media (max-width: 880px) {
  .trail-report-inner { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .trail-report .lbl { grid-column: 1 / -1; }
  .trail-report .stamp { grid-column: 1 / -1; justify-self: start; }
}

/* Mountain silhouette — sits behind hero, low contrast */
.mtn {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: 38%; min-height: 220px; max-height: 360px;
  pointer-events: none;
}
.mtn svg { width: 100%; height: 100%; display: block; }
.hero { position: relative; z-index: 1; }
.hero > .container { position: relative; z-index: 2; }

/* Field note — hand-margin caption */
.field-note {
  font-family: var(--serif); font-style: italic;
  font-size: 0.92rem; color: var(--maple);
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 1.25rem;
}
.field-note::before {
  content: '↳'; color: var(--maple); font-style: normal; font-family: var(--sans); padding-top: 1px;
}

/* Trailheads list — for "we serve" mountains/towns */
.trailheads {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 2.5rem;
}
.trailhead {
  background: var(--bg-deep); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.trailhead .name { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }
.trailhead .meta { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.trailhead .meta b { color: var(--maple); font-weight: 500; }
@media (max-width: 720px) { .trailheads { grid-template-columns: 1fr 1fr; } }

/* ========= REVEAL ========= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ========= IMAGE PLACEHOLDERS ========= */
.img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.img-placeholder::after {
  content: attr(data-label);
}
.hero-photo .img-placeholder,
.feat-img .img-placeholder,
.prod-thumb .img-placeholder,
.owner-portrait .img-placeholder,
.exp-photo .img-placeholder { position: absolute; inset: 0; }
