:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --text-hero: clamp(2.6rem, 1.4rem + 4.4vw, 5.25rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;

  --cream: #fbf6f0;
  --paper: #f5ede3;
  --sand: #ece1d2;
  --sage: #2f5640;
  --sage-deep: #23402f;
  --sage-soft: #e3ebe2;
  --coral: #c7664b;
  --coral-ink: #a84e36;
  --gold: #c9a45c;
  --ink: #2a2b26;
  --muted: #5f6157;
  --line: #e2d6c5;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(var(--space-16), 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-4); }
.wrap { width: min(1180px, 100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sage); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-ink); font-weight: 600; margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl);
  color: var(--sage); line-height: 1.1; margin-bottom: var(--space-6);
}
.fine { font-size: var(--text-xs); color: var(--muted); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: var(--sage); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 600 var(--text-sm)/1 var(--font-body); padding: 1rem 1.6rem; border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--small { padding: 0.65rem 1.15rem; }
.link-arrow {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 600 var(--text-sm)/1.2 var(--font-body); color: var(--sage);
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--coral-ink); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 246 240 / 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgb(47 86 64 / 0.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand img { width: 62px; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--sage); letter-spacing: 0.01em; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-8); }
nav a:not(.btn) { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--ink); }
nav a:not(.btn):hover { color: var(--coral-ink); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding-block: clamp(var(--space-8), 5vw, var(--space-16)) var(--section-pad); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(var(--space-8), 5vw, 5rem); align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-hero);
  line-height: 1.02; color: var(--sage); letter-spacing: -0.01em; margin-bottom: var(--space-6);
}
.hero h1 em { font-style: italic; color: var(--coral-ink); }
.lede { font-size: var(--text-lg); line-height: 1.55; color: var(--muted); max-width: 34ch; margin-bottom: var(--space-8); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.hero__art { margin: 0; position: relative; }
.hero__art img {
  border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgb(47 86 64 / 0.35);
  aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%;
}
.hero__art::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold);
  border-radius: 50% 50% calc(var(--radius) + 10px) calc(var(--radius) + 10px) / 34% 34% calc(var(--radius) + 10px) calc(var(--radius) + 10px);
  pointer-events: none; opacity: 0.7;
}

/* Pillars */
.pillars { border-block: 1px solid var(--line); background: var(--paper); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars__grid > div { padding: var(--space-12) var(--space-8); display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); align-items: start; }
.pillars__grid > div + div { border-left: 1px solid var(--line); }
.pillars h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--sage); line-height: 1.2; }
.pillars p { grid-column: 2; margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--text-sm); }
.tile {
  grid-row: span 2; width: 46px; height: 60px; display: grid; place-items: center;
  background: #fffdf9; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 4px 0 var(--sage-soft), 0 5px 0 var(--line);
  font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.6rem; color: var(--coral);
}
.tile--green { color: var(--sage); }

/* Shop */
.shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, 6rem); align-items: center; }
.shop__media { margin: 0; }
.shop__media img { border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgb(42 43 38 / 0.4); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--space-6); }
.price span { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--coral-ink); line-height: 1; }
.checks { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); display: grid; gap: var(--space-3); }
.checks li { position: relative; padding-left: 1.9rem; font-size: var(--text-sm); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f5640' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.shop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); margin-bottom: var(--space-6); }

dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(860px, 94vw); background: var(--cream); }
dialog::backdrop { background: rgb(35 64 47 / 0.6); }
.dialog__close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--sage); color: #fff; font-size: 1.4rem; cursor: pointer;
}

/* Bleed */
.bleed { position: relative; }
.bleed img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; object-position: center 40%; }
.bleed blockquote {
  position: absolute; left: 0; right: 0; bottom: clamp(var(--space-6), 4vw, var(--space-12)); margin-inline: auto;
}
.bleed blockquote p {
  display: inline-block; max-width: 30ch; background: rgb(251 246 240 / 0.92); padding: var(--space-6) var(--space-8);
  border-radius: var(--radius); border-left: 3px solid var(--gold); margin: 0;
  font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); line-height: 1.35; color: var(--sage);
}

/* HQ */
.hq__head { max-width: 640px; margin-bottom: var(--space-12); }
.hq__head p:last-child { color: var(--muted); }
.hq__grid { list-style: none; padding: 0; margin: 0 0 var(--space-16); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.hq__grid li { border-top: 2px solid var(--sage); padding-top: var(--space-6); }
.num { font-size: var(--text-xs); font-weight: 600; color: var(--coral-ink); letter-spacing: 0.1em; }
.hq__grid h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--sage); margin: var(--space-2) 0 var(--space-3); }
.hq__grid p { font-size: var(--text-sm); color: var(--muted); margin: 0; }

.waitlist {
  display: grid; grid-template-columns: 0.8fr 1fr; background: var(--sage); color: #f3efe6;
  border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
.waitlist img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.waitlist form { padding: clamp(var(--space-8), 5vw, var(--space-16)); display: flex; flex-direction: column; }
.waitlist h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: var(--space-3); }
.waitlist form > p { color: #d7e0d4; }
.waitlist label:not(.chip) { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: var(--space-4) 0 var(--space-2); color: #e9e2d2; }
.waitlist input[type="text"], .waitlist input[type="email"] {
  font: inherit; font-size: var(--text-base); padding: 0.85rem 1rem; border-radius: 10px;
  border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.08); color: #fff;
}
.waitlist input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: var(--space-6) 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
legend { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); color: #e9e2d2; }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; font-size: var(--text-sm);
  padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.3);
}
.chip:has(input:checked) { background: var(--cream); color: var(--sage); border-color: var(--cream); }
.chip input { accent-color: var(--coral); }
.waitlist .btn { background: var(--coral); align-self: flex-start; }
.waitlist .btn:hover { background: var(--coral-ink); }
.form-msg { margin: var(--space-4) 0 0; font-size: var(--text-sm); min-height: 1.5em; }
.form-msg.error { color: #ffd1c4; }
.form-msg.ok { color: #fff; }

/* About */
.about { background: var(--paper); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-12); }
.about__grid > div { max-width: 62ch; }
.about__lead { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--sage); font-weight: 500; }

/* Footer */
.footer { background: var(--sage-deep); color: #e3e7dc; padding-top: var(--space-16); }
.footer__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--space-12); padding-bottom: var(--space-12); }
.footer__logo { width: 200px; background: var(--cream); border-radius: var(--radius); padding: var(--space-3); }
.footer h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: #fff; margin-bottom: var(--space-3); }
.footer p { font-size: var(--text-sm); color: #c9d2c4; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.footer a { color: #fff; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.email-link { font-weight: 600; font-size: var(--text-base); }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
  border-top: 1px solid rgb(255 255 255 / 0.14); padding-block: var(--space-6); font-size: var(--text-xs);
}
.footer__base p { margin: 0; color: #b4bfae; font-size: var(--text-xs); }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid, .shop__grid, .waitlist, .about__grid, .footer__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin-inline: auto; width: calc(100% - 28px); }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__grid > div { padding: var(--space-8) 0; }
  .pillars__grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hq__grid { grid-template-columns: 1fr 1fr; }
  .waitlist img { max-height: 280px; min-height: 0; object-position: center 30%; }
  .about__grid { gap: 0; }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex; font: 600 var(--text-sm)/1 var(--font-body); color: var(--sage);
    background: transparent; border: 1px solid var(--sage); border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer;
  }
  nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: var(--space-2) clamp(1.25rem, 4vw, 3rem) var(--space-6);
  }
  nav ul.open { display: flex; }
  nav li a:not(.btn) { display: block; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
  nav li .btn { margin-top: var(--space-4); width: 100%; }
  .brand img { width: 52px; }
  .brand span { font-size: 1.2rem; }
  .bleed blockquote p { padding: var(--space-4) var(--space-6); }
}
@media (max-width: 520px) {
  .hq__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
