:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;
  --cream: #fbf6ed;
  --paper: #fffdf9;
  --ink: #2a2423;
  --muted: #776d68;
  --line: #e8ded4;
  --rose: #b7354d;
  --rose-dark: #8d243b;
  --rose-soft: #f3dbe0;
  --leaf: #456b4b;
  --leaf-soft: #dce9dc;
  --sun: #f0ba45;
  --measure: 78rem;
  --shadow: 0 1rem 3rem rgba(68, 43, 33, .09);
  color-scheme: light;
}

html[data-theme="dark"], html.dark {
  --cream: #211c1b;
  --paper: #2b2523;
  --ink: #f8eee4;
  --muted: #c6b8ae;
  --line: #4a3c37;
  --rose: #ed8291;
  --rose-dark: #ffacb7;
  --rose-soft: #55333d;
  --leaf: #a9d0a7;
  --leaf-soft: #314531;
  --sun: #f4cb6b;
  --shadow: 0 1rem 3rem rgba(0, 0, 0, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: relative;
  z-index: 10;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--measure));
  min-height: 5.6rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--rose-dark);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 2.7rem; height: 3.1rem; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.04em;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--muted); font-weight: 600; text-decoration: none; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rose-dark); }
.header-actions { display: flex; align-items: center; gap: .55rem; }
[data-theme-toggle], .menu-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: .45rem .65rem;
  border-radius: 99px;
  cursor: pointer;
}
[data-theme-toggle] { font-size: 1rem; }
.menu-toggle { display: none; font-size: 1.2rem; }

.page-wrap { width: min(calc(100% - 3rem), var(--measure)); margin: 0 auto; }
.rail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: 2.5rem; align-items: start; }
.rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-side-links][hidden] { display: none; }
.side-links { position: sticky; top: 7rem; border-left: 2px solid var(--rose); padding: .3rem 0 .3rem 1.1rem; color: var(--muted); }
.side-links h2 { margin: 0 0 .65rem; font: 600 .9rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.side-links ol { display: grid; gap: .55rem; margin: 0; padding-left: 1.1rem; font-size: .92rem; }
.side-links a { text-decoration: none; }
.side-links a:hover { color: var(--rose-dark); }

main { min-width: 0; }
.eyebrow { color: var(--rose-dark); font: 700 .78rem var(--font-body); letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); margin: .55rem 0 1.1rem; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); margin: 0 0 .8rem; }
h3 { font-size: 1.6rem; margin: 0 0 .45rem; }
p { margin: 0 0 1rem; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 38rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3.05rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 99px;
  background: var(--rose);
  color: #fffaf4;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--rose-dark); }
.button.secondary { background: transparent; border-color: var(--rose); color: var(--rose-dark); }
.button.secondary:hover { background: var(--rose-soft); }
.button.small { min-height: 2.5rem; padding: .45rem .9rem; font-size: .95rem; }

.hero {
  position: relative;
  min-height: 42rem;
  margin: 0 calc((100vw - min(100vw - 3rem, var(--measure))) / -2) 5rem;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 23, 20, .72) 0%, rgba(31, 23, 20, .2) 63%, rgba(31, 23, 20, .05)); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-copy { width: min(calc(100% - 3rem), var(--measure)); margin: 0 auto; padding: 5rem 0 5.5rem; color: #fffaf5; }
.hero-copy .eyebrow { color: #ffd9d4; }
.hero-copy h1 { max-width: 10ch; }
.hero-copy .lede { color: #fff3ea; }
.hero-copy .button.secondary { border-color: #ffe0d5; color: #fffaf5; }

.section { padding: 5.5rem 0; }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p { max-width: 30rem; color: var(--muted); }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(15rem, .9fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.intro p { color: var(--muted); font-size: 1.25rem; }
.signature { color: var(--rose-dark); font-family: var(--font-display); font-size: 1.5rem; }
.product-grid, .feature-grid, .story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.4rem; align-items: start; }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden; box-shadow: 0 .5rem 1.5rem rgba(60, 40, 30, .03); }
.product-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rose-soft); }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover figure img { transform: scale(1.04); }
.product-info { padding: 1.2rem; }
.product-info h3 { font-size: 1.5rem; }
.product-info p { color: var(--muted); font-size: .98rem; min-height: 3.1em; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1rem; }
.price { font-weight: 700; color: var(--rose-dark); }
.category-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pill { border-radius: 99px; background: var(--rose-soft); color: var(--rose-dark); padding: .45rem .8rem; font-weight: 600; font-size: .9rem; }

.band { border-radius: 1.25rem; background: var(--leaf-soft); padding: clamp(1.5rem, 4vw, 3.5rem); }
.band.rose { background: var(--rose-soft); }
.split-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; }
.split-band figure { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: .8rem; }
.split-band figure img { width: 100%; height: 100%; object-fit: cover; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.info-card { padding: 1.35rem 0; border-top: 2px solid var(--rose); }
.info-card strong { display: block; margin-bottom: .35rem; font-family: var(--font-display); font-size: 1.45rem; }
.info-card p { color: var(--muted); }
.testimonial { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.testimonial blockquote { margin: 0; font: 600 clamp(1.7rem, 3vw, 2.6rem)/1.2 var(--font-display); max-width: 37rem; }
.testimonial cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; }

.page-intro { padding: 5rem 0 3rem; max-width: 47rem; }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.content-section { padding: 2rem 0 5rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); }
.filter-bar label { display: grid; gap: .25rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.filter-bar select, .filter-bar input, .form-field input, .form-field select, .form-field textarea { min-height: 2.8rem; border: 1px solid var(--line); border-radius: .45rem; padding: .55rem .7rem; background: var(--cream); color: var(--ink); }
.filter-bar .filter-submit { align-self: end; }
.filter-note { color: var(--muted); font-size: .9rem; margin: .5rem 0 1.5rem; }

.delivery-check { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.delivery-check input { flex: 1 1 12rem; min-height: 3rem; border: 1px solid var(--line); border-radius: .45rem; padding: .65rem .8rem; background: var(--paper); color: var(--ink); }
.check-result { flex-basis: 100%; min-height: 1.6em; color: var(--leaf); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; }
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-status { color: var(--leaf); font-weight: 600; }

.news-grid, .archive-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.4rem; align-items: start; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.story-image { display: block; position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--rose-soft); }
.story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-card > :not(.story-image) { margin-left: 1rem; margin-right: 1rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.category-label { color: var(--rose-dark); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.story-card h2, .story-card h3 { font-size: 1.55rem; margin-top: .5rem; }
.story-card h2 a, .story-card h3 a { text-decoration: none; }
.story-card p { color: var(--muted); }
.empty-state { grid-column: 1 / -1; padding: 2rem; border: 1px dashed var(--line); border-radius: .7rem; color: var(--muted); }
.archive-search { display: flex; gap: .65rem; margin-bottom: 1.4rem; }
.archive-search input { flex: 1; min-height: 3rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); padding: .7rem 1rem; color: var(--ink); }
.filter-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.7rem; }
.filter-list a { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; }

.article-shell { max-width: 57rem; }
.byline { display: flex; align-items: center; gap: .8rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--rose-soft); }
.byline p { margin: 0; color: var(--muted); font-size: .9rem; }
.article-header h1 { max-width: 22ch; }
.article-deck { color: var(--muted); font-size: 1.25rem; }
.article-cover { margin: 2rem 0; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 1rem; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 47rem; font-family: var(--font-body); }
.prose p, .prose li { font-size: 1.18rem; line-height: 1.75; }
.prose h2 { margin-top: 2.5rem; font-size: 2.2rem; }
.prose h3 { margin-top: 2rem; }
.prose a { color: var(--rose-dark); text-decoration-thickness: .12em; text-underline-offset: .16em; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--rose); font-family: var(--font-display); font-size: 1.7rem; }

.site-footer { margin-top: 5rem; padding: 3rem 0 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.4rem; }
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--rose-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

@media (max-width: 850px) {
  .header-inner { width: min(calc(100% - 2rem), var(--measure)); gap: 1rem; }
  .page-wrap { width: min(calc(100% - 2rem), var(--measure)); }
  .site-nav { position: absolute; top: 100%; left: 1rem; right: 1rem; display: none; padding: .8rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .7rem; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .hero { min-height: 38rem; margin-right: -1rem; margin-left: -1rem; }
  .hero-copy { width: min(calc(100% - 2rem), var(--measure)); }
  .rail-layout { grid-template-columns: minmax(0, 1fr); }
  .side-links { position: static; order: 2; }
  .side-links:not([hidden]) { margin-top: 1rem; }
}
@media (max-width: 650px) {
  body { font-size: 1rem; }
  .header-inner { min-height: 4.8rem; }
  .brand-mark { width: 2.35rem; height: 2.7rem; }
  .brand-name { font-size: 1.45rem; }
  .header-actions { margin-left: auto; }
  .section { padding: 4rem 0; }
  .section-head, .intro, .split-band, .footer-grid { grid-template-columns: 1fr; display: grid; gap: 1rem; }
  .info-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .page-intro { padding: 3.5rem 0 2rem; }
  .page-intro h1 { font-size: 3.1rem; }
  .hero-copy { padding: 4rem 0; }
  .hero-copy h1 { font-size: 3.65rem; }
  .footer-bottom { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
