:root {
  --ink: #1a1714;
  --ink-soft: #3a342e;
  --cream: #f4eee6;
  --cream-2: #ebe3d6;
  --paper: #fffaf3;
  --forest: #1f3d32;
  --forest-2: #2c5646;
  --sage: #6f8a7a;
  --clay: #c45c3e;
  --clay-2: #a84b32;
  --gold: #e0b56a;
  --line: rgba(26, 23, 20, 0.12);
  --shadow: 0 16px 40px rgba(26, 23, 20, 0.12);
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --header: 4rem;
  --radius: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); }
a:hover { color: var(--clay); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(244, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
body.home:not(.is-scrolled) .site-header {
  background: linear-gradient(to bottom, rgba(26, 23, 20, 0.45), transparent);
  border-bottom-color: transparent;
  color: #fff;
}
body.home:not(.is-scrolled) .logo,
body.home:not(.is-scrolled) .logo span,
body.home:not(.is-scrolled) .nav-toggle,
body.home:not(.is-scrolled) .primary-nav a {
  color: #fff;
}
body.home:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.5);
}

.header-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--clay); font-style: italic; }
body.home:not(.is-scrolled) .logo span { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  justify-content: flex-end;
}
.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.15rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    color: var(--ink) !important;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  body.home:not(.is-scrolled) .primary-nav {
    background: var(--paper);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - 0px);
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  margin-top: calc(var(--header) * -1);
  overflow: hidden;
  isolation: isolate;
}
.hero picture,
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 14, 10, 0.78) 0%, rgba(18, 14, 10, 0.35) 48%, rgba(18, 14, 10, 0.2) 100%);
}
.hero-copy {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.35rem, 7vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  max-width: 14ch;
}
.hero .subhead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 32rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--clay);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.btn:hover { background: var(--clay-2); border-color: var(--clay-2); color: #fff; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.solid-ink {
  background: var(--forest);
  border-color: var(--forest);
}
.btn.solid-ink:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }

/* —— Sections —— */
.section {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 1rem;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0;
}
.section-head h2,
.page-hero h1,
.guide-banner-copy h1,
.coming-soon h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lede { margin: 0; color: var(--ink-soft); max-width: 38rem; }

/* Occasion tiles */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .tile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
  .tile-grid .tile:first-child {
    grid-column: 1 / -1;
    min-height: 420px;
  }
}
.tile {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.6s ease;
}
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.78) 0%, rgba(18, 14, 10, 0.1) 60%);
}
.tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.4rem 1.25rem;
}
.tile-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
  color: #fff;
}
.tile-copy p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 1rem; }

/* Carousel / products */
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 0.25rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.carousel .product {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
}
@media (min-width: 900px) {
  .carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0.5rem;
  }
  .carousel .product { flex: none; width: auto; }
}

.product {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product .photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--cream-2);
}
.product .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .photo img { transform: scale(1.04); }
.product .body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.product h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.product .price {
  font-weight: 700;
  color: var(--forest);
  font-size: 0.95rem;
}
.product .meta { font-size: 0.78rem; color: var(--ink-soft); }
.product .card-line { margin: 0.15rem 0 0.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.product .price-note { font-size: 0.75rem; color: var(--sage); margin: 0 0 0.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.actions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--forest);
  color: #fff;
  background: var(--forest);
}
.actions a:hover { background: var(--forest-2); color: #fff; }
.actions a.secondary {
  background: transparent;
  color: var(--forest);
}

/* Coming soon */
.coming-soon {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  color: #fff;
  isolation: isolate;
  margin: 3rem auto 1rem;
  width: min(1200px, calc(100% - 2rem));
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.coming-soon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.9) 0%, rgba(18, 14, 10, 0.55) 55%, rgba(18, 14, 10, 0.2) 100%);
}
.coming-soon .copy { padding: 2rem 1.5rem; max-width: 36rem; }
.coming-soon .kicker { color: var(--gold); }
.coming-soon h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.2rem 0 0.5rem; color: #fff; }
.coming-soon p { margin: 0 0 0.4rem; color: rgba(255, 255, 255, 0.9); }
.coming-soon .tiny { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

/* Guide banner */
.guide-banner {
  position: relative;
  min-height: 46vh;
  min-height: 46svh;
  margin-top: calc(var(--header) * -1);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.guide-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.guide-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(18, 14, 10, 0.8), rgba(18, 14, 10, 0.2));
}
.guide-banner-copy {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.25rem;
}
.guide-banner h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.4rem;
  color: #fff;
  max-width: 18ch;
}
.guide-banner p { margin: 0; max-width: 34rem; color: rgba(255, 255, 255, 0.9); }

.page-main { padding-bottom: 2rem; }
.prose {
  width: min(42rem, calc(100% - 2rem));
  margin: 2.5rem auto;
}
.prose h1, .prose h2 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.tiny { font-size: 0.82rem; color: var(--ink-soft); }
.credit-list { padding-left: 1.1rem; }
.credit-list li { margin: 0.35rem 0; font-size: 0.92rem; }

/* Footer */
footer {
  margin-top: 3rem;
  background: var(--forest);
  color: rgba(255, 250, 243, 0.86);
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; margin-bottom: 1rem; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.foot-links a:hover { color: var(--gold); }
footer p { font-size: 0.85rem; max-width: 44rem; margin: 0 0 0.6rem; }
footer a { color: var(--gold); }

/* Disclosure note on home */
.home-note {
  width: min(1200px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .hero-copy { padding-bottom: 3.25rem; }
  .tile { min-height: 260px; }
  .section { padding-top: 3rem; }
}
