/* ===== Tokens ===== */
:root {
  --cream: #f5efe4;
  --cream-2: #ebe2d1;
  --paper: #fbf7f0;
  --ink: #2a1a10;
  --ink-2: #5a4536;
  --muted: #8a7766;
  --line: #d9cdb8;
  --burgundy: #6e1f2a;
  --burgundy-2: #872735;
  --gold: #b88a3a;
  --shadow: 0 1px 2px rgba(42, 26, 16, 0.04), 0 8px 30px rgba(42, 26, 16, 0.08);

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 8px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--burgundy-2); }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-weight: 600;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.012em;
}
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38ch; }
.section-lede { max-width: 56ch; margin-left: auto; margin-right: auto; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.centered { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--burgundy);
  margin: 0 0 1rem;
}
.eyebrow.centered { display: block; }

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 240, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.brand-sub {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--burgundy); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(251, 247, 240, 0.96) 0%, rgba(251, 247, 240, 0.78) 45%, rgba(251, 247, 240, 0.35) 100%),
    url("https://images.unsplash.com/photo-1722542586882-741c4573eaf6?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat,
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(184, 138, 58, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 5% 95%, rgba(110, 31, 42, 0.10), transparent 60%);
}
.hero-inner { max-width: 760px; }
.hero h1 {
  margin-top: .25em;
  margin-bottom: .35em;
}
.hero h1 br { display: block; }
.hero .lede { max-width: 52ch; font-size: 1.2rem; }
.hero-meta {
  margin-top: 36px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: inline-block;
  padding-right: 24px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--burgundy-2); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ===== Two-column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.two-col.reverse .col-image { order: -1; }

/* ===== Story / timeline ===== */
.timeline {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .98rem;
}
.timeline li .year {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.timeline li .event { color: var(--ink-2); }
.timeline li .event em {
  font-style: italic;
  color: var(--ink);
}

/* ===== Placeholder images ===== */
.placeholder-img {
  position: relative;
  background:
    linear-gradient(135deg, var(--cream-2) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.placeholder-img::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(42, 26, 16, 0.05) 0 1px, transparent 1px 12px);
  opacity: .8;
}
.placeholder-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(42, 26, 16, 0.85);
  color: var(--cream);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Products ===== */
.section-products { background: var(--cream); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-img {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-card h3 {
  margin: 20px 24px 8px;
}
.product-card p {
  margin: 0 24px 22px;
  font-size: .95rem;
  color: var(--ink-2);
}

/* ===== Heritage ===== */
.section-heritage { background: var(--paper); }

/* ===== Contact ===== */
.section-contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 40px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-card h3 {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.contact-card p { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; }
.contact-card a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-card a:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }

.hours { margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .98rem;
  color: var(--ink-2);
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { font-weight: 500; color: var(--ink); }

.link-arrow {
  display: inline-block;
  margin-top: 6px;
  font-size: .92rem;
  font-weight: 500;
  border-bottom: none !important;
  color: var(--burgundy) !important;
}

.map-frame {
  position: relative;
  aspect-ratio: 21 / 9;
  width: 100%;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-2);
  box-shadow: var(--shadow);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9) contrast(0.95);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream-2);
  padding: 48px 0 36px;
}
.site-footer p { color: var(--cream-2); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.footer-links a {
  color: var(--cream-2);
  font-size: .95rem;
}
.footer-links a:hover { color: var(--cream); }
.footer-meta { text-align: right; }
.footer-meta p { color: var(--muted); margin: 0 0 4px; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav a:last-child { border-bottom: none; }

  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-image { order: 0; }
  .image-frame { aspect-ratio: 4 / 3; }

  .products-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
