/* =====================================================================
   Styles — mobile first. Breakpoints: 560px (small tablet), 900px (desktop)
   The accent color is set from config.js (ACCENT_COLOR).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --accent: #E4007C;          /* rosa mexicano: CTA hover, swatch ring, success */
  /* Shirt palette (sampled from the Drop 001 print) */
  --rosa: #C4547A;
  --vino: #5E1A35;
  --crema: #FBEFE3;
  --crema-soft: #FAF2EC;
  --black: #0a0a0a;
  --bar: var(--vino);
  --white: #ffffff;
  --card: #f7f7f7;
  --gray-50: #f4f4f4;
  --gray-100: #ebebeb;
  --gray-300: #cdcdcd;
  --gray-500: #737373;
  --gray-700: #3d3d3d;
  --dark: #160a10;
  --dark-line: #34202a;
  --dark-text: #a3a3a3;
  --error: #c4001d;

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-wordmark: "Instrument Serif", "Times New Roman", Georgia, serif;

  --bar-h: 40px;
  --header-h: 60px;
  --gutter: 16px;
  --section-y: 64px;
  --max: 1600px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) {
  :root { --bar-h: 46px; --header-h: 84px; --gutter: 32px; --section-y: 104px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
section[id] { scroll-margin-top: var(--header-h); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--black); color: #fff; padding: 10px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* Shared display type: tight grotesk, all caps, negative tracking */
.display, .hero-title, .section-title, .story-title, .modal-title, .success-title, .drawer-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.045em;
}
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 32px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-hero { background: #fff; color: var(--black); }
.btn-hero:hover { background: var(--accent); color: #fff; }
.btn-solid { background: var(--black); color: #fff; }
.btn-solid:hover { background: var(--accent); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-solid:focus-visible { outline-color: var(--black); }

/* ---------- 1. Announcement bar ---------- */
.announcement {
  background: var(--bar); color: var(--crema);
  min-height: var(--bar-h); display: flex; align-items: center; justify-content: center;
  padding: 8px var(--gutter); text-align: center;
}
.announcement p {
  font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4;
}
@media (min-width: 560px) { .announcement p { font-size: 13px; } }
@media (min-width: 900px) { .announcement p { font-size: 14px; letter-spacing: .04em; } }

/* ---------- 2. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: #fff; background: transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid { background: #fff; color: var(--black); box-shadow: 0 1px 0 var(--gray-100); }
.header-inner {
  height: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 6px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
}
.menu-toggle { justify-self: start; }
.wordmark {
  grid-column: 2;
  font-family: var(--font-wordmark); font-style: italic; font-weight: 400;
  font-size: 25px; line-height: 1; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap;
}
.main-nav { display: none; }
.header-icons { grid-column: 3; justify-self: end; display: flex; align-items: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  color: inherit; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.hide-mobile { display: none; }

@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 0; padding: 0 calc(var(--gutter) - 10px) 0 var(--gutter); }
  .menu-toggle { display: none; }
  .wordmark { grid-column: 1; justify-self: start; font-size: 36px; }
  .main-nav { display: block; grid-column: 2; margin-left: 64px; }
  .main-nav ul { display: flex; flex-wrap: wrap; gap: 8px 36px; }
  .main-nav a {
    font-size: 15px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; padding: 6px 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .25s var(--ease);
  }
  .main-nav a:hover { background-size: 100% 1px; }
  .hide-mobile { display: inline-flex; }
  .header-icons { gap: 4px; }
  .icon-btn svg { width: 24px; height: 24px; }
}

/* Pages without a hero (privacy.html) */
.no-hero .site-header { background: #fff; color: var(--black); box-shadow: 0 1px 0 var(--gray-100); }

/* ---------- 3. Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  display: grid; place-items: center;
  color: #fff; background: var(--rosa); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Dims the print so the headline reads: a wine tint, darker at top and bottom */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 6, 16, .45) 0%, rgba(30, 6, 16, 0) 30%, rgba(30, 6, 16, 0) 65%, rgba(30, 6, 16, .45) 100%),
    rgba(58, 12, 32, .58);
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--header-h) + 32px) var(--gutter) 64px;
}
.hero-title {
  font-size: 12.6vw;
  line-height: .93;
  letter-spacing: -.055em;
  max-width: 100%;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
}
.hero-sub {
  margin-top: 26px; max-width: 34ch;
  font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.45;
}
.hero .btn { margin-top: 22px; }
@media (min-width: 900px) {
  .hero-title { font-size: min(7.4vw, 8.5rem); max-width: 13em; }
  .hero-sub { margin-top: 40px; font-size: 17px; max-width: none; }
  .hero .btn { margin-top: 28px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; margin-bottom: 28px;
}
.section-title { font-size: clamp(2.5rem, 10vw, 4.5rem); line-height: .92; }
@media (min-width: 900px) { .section-head { margin-bottom: 40px; } }
.noscript { color: var(--gray-500); }

/* ---------- Papel picado (the one Mexican flourish; edit images/papel-picado*.svg) ---------- */
.papel {
  height: 48px; width: 100%;
  background: url("../images/papel-picado.svg") center top / auto 48px repeat-x;
}
.papel--dark { background-image: url("../images/papel-picado-dark.svg"); }
@media (min-width: 900px) { .papel { height: 60px; background-size: auto 60px; } }

/* ---------- 4. Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 10px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; } }

.product-media { position: relative; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.03); }
.quick-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 52px;
  border: 0; background: #fff; color: var(--black);
  font-size: 14px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase;
  transform: translateY(101%);
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.product-media:hover .quick-bar, .quick-bar:focus-visible { transform: translateY(0); }
.quick-bar:hover { background: var(--black); color: #fff; }
.quick-bar:focus-visible { outline: 2px solid var(--black); outline-offset: -4px; }
/* Touch screens have no hover, so the bar is always visible (smaller) */
@media (hover: none) {
  .quick-bar { transform: none; left: 6px; right: 6px; bottom: 6px; height: 36px; font-size: 11px; font-weight: 500; }
}

.product-info { padding-top: 14px; }
.product-name { font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35; }
.product-price { margin-top: 4px; font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-500); }
.product-price.is-live { color: var(--gray-500); }
@media (min-width: 900px) {
  .product-info { padding-top: 22px; }
  .product-name, .product-price { font-size: 16px; }
  .product-price { margin-top: 6px; }
}

.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; margin-left: -4px; }
.swatch {
  position: relative; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; display: grid; place-items: center;
  transition: box-shadow .2s;
}
.swatch::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.swatch::after { content: ""; position: absolute; inset: -5px; } /* bigger tap target */
.swatch:hover { box-shadow: 0 0 0 1px var(--gray-300); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--accent); }
.swatch:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
@media (min-width: 900px) { .swatches { margin-top: 14px; gap: 8px; } }

/* ---------- Featured product ---------- */
.feature { display: grid; gap: 28px; }
.feature-main { background: #f3f1f0; aspect-ratio: 1 / 1; overflow: hidden; }
.feature-main img { width: 100%; height: 100%; object-fit: cover; }
.feature-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumb {
  width: 72px; height: 72px; padding: 0; border: 1px solid transparent; background: #f3f1f0;
  opacity: .7; transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--black); }
.feature-info .eyebrow { color: var(--rosa); }
.feature-name {
  margin-top: 0; font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: -.04em; font-size: clamp(2rem, 8.5vw, 3.5rem); line-height: .95;
}
.feature-price { margin-top: 10px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); }
.feature-quote {
  margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
  font-family: var(--font-wordmark); font-size: clamp(1.6rem, 6.4vw, 2.25rem); line-height: 1.15; color: var(--vino);
}
.swash {
  font-family: "Pinyon Script", var(--font-wordmark); font-size: 1.45em; line-height: 0;
  margin-right: -.06em; color: var(--rosa);
}
.feature-desc { margin-top: 18px; color: var(--gray-700); max-width: 52ch; }
.feature-row { margin-top: 22px; }
.feature-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.feature-label span { font-weight: 400; color: var(--gray-700); }
.feature-row .swatches { margin-top: 8px; }
.size-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.size-preview li {
  min-width: 44px; padding: 8px 10px; text-align: center; border: 1px solid var(--gray-100);
  font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--gray-700);
}
.feature-cta { margin-top: 28px; min-height: 56px; font-size: 14px; }
.feature-note { margin-top: 10px; font-size: 13px; color: var(--gray-500); text-align: center; }
.feature-details { margin-top: 24px; border-top: 1px solid var(--gray-100); }
.feature-details li {
  padding: 12px 0 12px 22px; border-bottom: 1px solid var(--gray-100); position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.feature-details li::before {
  content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  background: var(--rosa); transform: rotate(45deg);
}
#product-grid:not([hidden]) { margin-top: 64px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .feature-info { position: sticky; top: calc(var(--header-h) + 24px); }
  .feature-thumbs { gap: 12px; margin-top: 12px; }
  .thumb { width: 96px; height: 96px; }
}

/* ---------- Story band (rosa, like the shirt) ---------- */
.story { text-align: center; background: var(--rosa); color: var(--crema); }
.story .papel { background-color: transparent; }
.story-inner {
  padding: 32px var(--gutter) var(--section-y);
  display: flex; flex-direction: column; align-items: center;
}
.story-art { width: min(100%, 520px); height: auto; margin-bottom: 28px; }
.story .eyebrow { color: var(--crema); opacity: .85; }
.story-title { margin-top: 14px; font-size: clamp(2.6rem, 11vw, 6.5rem); line-height: .92; max-width: 12ch; text-wrap: balance; }
.story-copy { margin-top: 24px; max-width: 46ch; color: var(--crema); font-size: 15px; }
@media (min-width: 900px) { .story-inner { padding-top: 48px; } .story-copy { font-size: 17px; } }

/* ---------- Waitlist section ---------- */
.waitlist-band { background: var(--crema-soft); }
.waitlist-intro .eyebrow { color: var(--rosa); }
.waitlist-section { display: grid; gap: 36px; }
.waitlist-intro .section-title { margin-top: 12px; }
.waitlist-copy { margin-top: 20px; color: var(--gray-700); }
.perks { margin-top: 16px; display: grid; gap: 10px; }
.perks li {
  position: relative; padding-left: 26px;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.perks li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 8px; height: 8px; background: var(--rosa); transform: rotate(45deg); }
.waitlist-card { background: #fff; padding: 24px 16px; margin: 0 calc(-1 * var(--gutter)); }
@media (min-width: 560px) { .waitlist-card { margin: 0; padding: 32px; } }
@media (min-width: 900px) {
  .waitlist-section { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .waitlist-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .waitlist-card { padding: 44px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 1000px; }
.faq .section-title { margin-top: 10px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--gray-100); }
.faq details { border-bottom: 1px solid var(--gray-100); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 60ch; color: var(--gray-700); }

/* ---------- 5. Trust strip ---------- */
.faq .eyebrow { color: var(--rosa); }
.trust { background: var(--vino); color: rgba(251, 239, 227, .82); }
.trust ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--max); margin: 0 auto; }
.trust li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 22px 10px; font-size: 10px; font-weight: 500; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase;
}
.trust li + li { border-left: 1px solid rgba(251, 239, 227, .2); }
@media (min-width: 900px) { .trust li { padding: 30px 24px; font-size: 12px; letter-spacing: .14em; } }

/* ---------- 6. Footer ---------- */
.site-footer { background: var(--dark); color: #fff; padding: 0 var(--gutter) 24px; }
.site-footer > .papel { margin: 0 calc(-1 * var(--gutter)); width: auto; }
.footer-grid { max-width: var(--max); margin: 36px auto 0; display: grid; gap: 44px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 72px; margin-top: 48px; } }
.footer-heading { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col > p { color: var(--dark-text); font-size: 14px; max-width: 44ch; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: var(--dark-text); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-form { margin-top: 18px; }
.footer-form-row { display: flex; }
.footer-input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px;
  background: transparent; border: 1px solid #4a4a4a; border-right: 0; border-radius: 0;
  color: #fff; font-family: inherit; font-size: 16px;
}
.footer-input::placeholder { color: #8a8a8a; }
.footer-input:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.footer-input[aria-invalid="true"] { border-color: #ff6b81; }
.site-footer .btn-light:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-footer .field-error, .site-footer .form-status { color: #ff8a9b; margin-top: 8px; }
.consent-note { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #8a8a8a; }
.consent-note a { color: #bdbdbd; }
.footer-bottom {
  max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid var(--dark-line);
  display: grid; gap: 8px; justify-items: center;
}
.footer-bottom > span { display: none; }
.copyright { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-text); }
.socials { display: flex; gap: 4px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.socials a:hover { color: var(--dark-text); }
.socials svg { width: 20px; height: 20px; }
.socials a:focus-visible { outline-offset: -4px; }
@media (min-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer-bottom > span { display: block; }
  .footer-bottom .socials { justify-self: end; }
}
/* room for the floating box on phones */
@media (max-width: 559px) { .site-footer { padding-bottom: 96px; } }

/* ---------- 7. Floating early-access box ---------- */
.promo-pill {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: stretch;
  background: var(--black); color: #fff; border: 2px solid #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.promo-pill[hidden] { display: none; }
.promo-pill button {
  background: none; border: 0; color: inherit;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase;
}
.promo-pill-main { padding: 14px 6px 14px 20px; }
.promo-pill-main:hover { text-decoration: underline; text-underline-offset: 4px; }
.promo-pill-close { padding: 0 18px 0 12px; font-size: 16px; }
.promo-pill button:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
@media (min-width: 900px) {
  .promo-pill { left: 24px; bottom: 24px; }
  .promo-pill button { font-size: 21px; }
  .promo-pill-main { padding: 18px 8px 18px 26px; }
  .promo-pill-close { padding: 0 22px 0 14px; font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .promo-pill:not([hidden]) { animation: pill-in .5s var(--ease) both .6s; }
}
@keyframes pill-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Dialogs (modal + drawer) ---------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--black); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10,10,10,.55); }

.modal { width: 100%; height: 100%; margin: 0; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.modal-panel { position: relative; background: #fff; padding: 56px 20px 40px; }
.modal-close { position: absolute; top: 6px; right: 6px; }
.modal-title { margin-top: 10px; font-size: clamp(2.25rem, 10vw, 3.25rem); line-height: .92; outline: none; }
.modal-copy { margin-top: 12px; color: var(--gray-700); font-size: 14px; }
.modal-picked {
  margin-top: 16px; padding: 10px 12px; background: var(--crema-soft); color: var(--vino);
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.modal [data-waitlist-mount] { margin-top: 24px; }
@media (min-width: 700px) {
  .modal { width: min(600px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - 48px); margin: auto; }
  .modal-panel { padding: 48px 44px 40px; }
}

.drawer { margin: 0; width: min(86vw, 380px); height: 100%; max-height: 100%; background: #fff; overflow-y: auto; }
.drawer-panel { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) 32px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); margin-right: -10px; }
.wordmark--dark { color: var(--black); }
.drawer-nav { margin: 16px 0 28px; border-top: 1px solid var(--gray-100); }
.drawer-nav li { border-bottom: 1px solid var(--gray-100); }
.drawer-nav a { display: block; padding: 14px 0; font-size: 34px; line-height: 1; text-decoration: none; }
.drawer-socials { margin-top: auto; padding-top: 32px; display: flex; gap: 24px; }
.drawer-socials a { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in .35s var(--ease); }
  .drawer[open] { animation: drawer-in .35s var(--ease); }
  dialog[open]::backdrop { animation: fade-in .3s ease; }
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Waitlist form ---------- */
.wl-form { display: grid; gap: 22px; }
.field-grid { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field { display: block; }
fieldset.field .field-label { margin-bottom: 10px; padding: 0; }
.field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.optional { color: var(--gray-500); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 12px; }
.req { color: var(--gray-500); }
.input {
  width: 100%; height: 52px; padding: 0 14px;
  border: 1px solid var(--gray-300); border-radius: 0; background: #fff;
  font-family: inherit; font-size: 16px; color: inherit;
  transition: border-color .15s;
}
.input:hover { border-color: var(--gray-500); }
.input:focus-visible { outline: 2px solid var(--black); outline-offset: 0; border-color: var(--black); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 12.5px; font-weight: 500; color: var(--error); }
.field-error::before { content: "! "; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--gray-300); background: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip--product span { font-size: 12px; padding: 8px 12px; text-align: left; }
.chip:hover span { border-color: var(--black); }
.chip input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }

.checkbox {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: 12.5px; line-height: 1.5; color: var(--gray-700); cursor: pointer;
}
.checkbox input { width: 20px; height: 20px; margin: 0; accent-color: var(--black); cursor: pointer; }
.checkbox a { color: inherit; }
.form-status { font-size: 13px; font-weight: 500; color: var(--error); }

/* Honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Success state ---------- */
.success { text-align: center; padding: 16px 0 8px; outline: none; }
.success-badge {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff;
}
.success-badge svg { width: 26px; height: 26px; }
.success-art { width: min(260px, 70%); height: auto; margin: 0 auto 22px; }
.success-title { font-size: clamp(2.1rem, 9.5vw, 3.25rem); line-height: .94; }
.success-title .accent { color: var(--accent); display: block; }
.success-copy { margin: 16px auto 24px; max-width: 36ch; color: var(--gray-700); font-size: 14px; }
.success .btn { min-width: 200px; }
.success .btn.is-copied { background: var(--accent); }
.site-footer .success { text-align: left; padding: 8px 0 0; }
.site-footer .success-badge { margin: 0 0 16px; width: 44px; height: 44px; }
.site-footer .success-title { font-size: 2.25rem; }
.site-footer .success-copy { margin: 12px 0 20px; color: var(--dark-text); }
.site-footer .success .btn-solid { background: #fff; color: var(--black); }
.site-footer .success .btn-solid:hover, .site-footer .success .btn.is-copied { background: var(--accent); color: #fff; }

/* ---------- Simple pages (privacy.html) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.page h1 { font-size: clamp(2.5rem, 10vw, 4.5rem); line-height: .92; margin-top: 8px; }
.page h2 { margin-top: 36px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.page p, .page li { margin-top: 12px; color: var(--gray-700); }
.page ul { list-style: disc; padding-left: 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
