/* ============================================================
   BASKET OF COLORS — design system
   Base: warm milk + deep cacao ink.
   Accents: food-derived palette (beet, turmeric, pistachio, blueberry).
   Signature: the woven "basket strip" + arched display-case imagery.
   ============================================================ */

:root {
  /* palette */
  --milk: #fffaf1;
  --oat: #f6ecdc;
  --oat-deep: #eddfc8;
  --ink: #35242e;
  --ink-soft: #6d5a64;
  --beet: #b4436c;
  --beet-soft: #f3d9e2;
  --turmeric: #d98e21;
  --turmeric-soft: #f9e7c8;
  --pistachio: #6e9458;
  --pistachio-soft: #e2ecd8;
  --blueberry: #4d5ca6;
  --blueberry-soft: #dde1f1;
  --cacao: #7a4a33;
  --cacao-soft: #ecdcd2;

  /* type */
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --max: 1160px;
  --pad: clamp(20px, 4vw, 44px);
  --section: clamp(64px, 10vw, 128px);
  --r-card: 18px;
  --r-arch: 46% 46% 18px 18px;
}

* { 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; }
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: calc(var(--section) / 2) 0; }
.section-lg { padding: var(--section) 0; }

.lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 34em; }

:focus-visible { outline: 3px solid var(--blueberry); outline-offset: 3px; border-radius: 4px; }

/* ---------- basket strip (signature motif) ---------- */
.basket-strip { display: flex; height: 8px; border-radius: 99px; overflow: hidden; width: 132px; }
.basket-strip span { flex: 1; }
.basket-strip .c1 { background: var(--beet); }
.basket-strip .c2 { background: var(--turmeric); }
.basket-strip .c3 { background: var(--pistachio); }
.basket-strip .c4 { background: var(--blueberry); }
.basket-strip .c5 { background: var(--cacao); }
.basket-strip.lg { width: 220px; height: 10px; }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: var(--milk);
  text-align: center; font-size: 0.92rem;
  padding: 9px var(--pad);
}
.announce a { color: var(--milk); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--milk) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--oat-deep);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px var(--pad); max-width: var(--max); margin: 0 auto;
}
.logo { text-decoration: none; display: flex; flex-direction: column; gap: 5px; }
.logo strong { font-family: var(--display); font-size: 1.28rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.98rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--milk) !important; text-decoration: none;
  padding: 10px 20px; border-radius: 99px; font-weight: 600; font-size: 0.95rem;
}
.nav-cta:hover { background: var(--beet); }
.menu-btn {
  display: none; background: none; border: 1.5px solid var(--ink); border-radius: 99px;
  padding: 8px 16px; font: 600 0.9rem var(--body); color: var(--ink); cursor: pointer;
}
@media (max-width: 820px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--milk); border-bottom: 1px solid var(--oat-deep);
    flex-direction: column; align-items: flex-start; padding: 18px var(--pad) 24px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 1rem var(--body); border-radius: 99px; padding: 14px 30px;
  border: 1.5px solid var(--ink); transition: transform 0.15s ease, background 0.15s ease;
}
.btn-solid { background: var(--ink); color: var(--milk); }
.btn-solid:hover { background: var(--beet); border-color: var(--beet); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--oat); }
.btn:active { transform: scale(0.98); }

/* ---------- placeholder media (honest, no fake photos) ---------- */
.ph-media {
  position: relative; overflow: hidden; display: grid; place-items: center;
  border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent);
}
.ph-media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 15%, color-mix(in srgb, var(--ph, var(--oat)) 55%, var(--milk)) 0%, transparent 60%),
    radial-gradient(110% 100% at 85% 90%, var(--ph, var(--oat)) 0%, transparent 65%),
    var(--milk);
}
.ph-media .ph-label {
  position: relative; z-index: 1; text-align: center; padding: 14px;
  font-size: 0.82rem; color: var(--ink-soft); max-width: 22em; line-height: 1.45;
}
.ph-media .ph-label strong { display: block; color: var(--ink); font-size: 0.86rem; margin-bottom: 2px; }

.arch { border-radius: var(--r-arch); aspect-ratio: 4 / 5; }
.square { border-radius: var(--r-card); aspect-ratio: 1; }
.wide { border-radius: var(--r-card); aspect-ratio: 16 / 9; }
img.arch, img.square, img.wide { object-fit: cover; width: 100%; height: auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(36px, 6vw, 72px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.hero-copy .basket-strip { margin-bottom: 26px; }
.hero-copy .lede { margin: 18px 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { display: grid; grid-template-columns: 1fr 0.72fr; gap: 16px; align-items: end; }
.hero-media .arch:nth-child(2) { aspect-ratio: 4 / 5.6; --ph: var(--turmeric-soft); }
.hero-media .arch:first-child { --ph: var(--beet-soft); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
}

/* ---------- philosophy ---------- */
.philosophy { background: var(--oat); border-radius: 28px; padding: clamp(36px, 6vw, 72px); }
.philosophy h2 { max-width: 17em; }
.philosophy p { max-width: 40em; }

/* ---------- product cards ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.product-card {
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
}
.product-card .arch { transition: transform 0.25s ease; }
.product-card:hover .arch { transform: translateY(-4px); }
.product-card h3 { margin: 0; font-size: 1.15rem; }
.product-card .desc { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; }
.price.tbd { color: var(--ink-soft); font-weight: 500; font-size: 0.9rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 4px 10px; border-radius: 99px; background: var(--oat); color: var(--ink);
}
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 99px;
  background: var(--milk); border: 1px solid var(--oat-deep);
}

/* ---------- ingredients ---------- */
.ing-card {
  background: var(--milk); border: 1px solid var(--oat-deep); border-radius: var(--r-card);
  padding: 22px; cursor: pointer; text-align: left; width: 100%;
  font: inherit; color: inherit; transition: border-color 0.15s ease;
}
.ing-card:hover { border-color: var(--ink-soft); }
.ing-dot { width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px; }
.ing-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ing-card .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.ing-detail {
  border: 1px solid var(--oat-deep); border-radius: var(--r-card);
  padding: clamp(22px, 4vw, 40px); margin-top: 22px; background: var(--oat);
}
.ing-detail dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; margin: 14px 0 0; }
.ing-detail dt { font-weight: 700; font-size: 0.86rem; margin-bottom: 4px; }
.ing-detail dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 640px) { .ing-detail dl { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-grid .arch { --ph: var(--blueberry-soft); max-width: 380px; }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---------- instagram ---------- */
.ig-card { text-decoration: none; display: block; position: relative; }
.ig-card .square { --ph: var(--pistachio-soft); }
.ig-card:nth-child(2n) .square { --ph: var(--beet-soft); }
.ig-card:nth-child(3n) .square { --ph: var(--turmeric-soft); }
.ig-card:nth-child(4n) .square { --ph: var(--blueberry-soft); }
.ig-card .cap { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.ig-type {
  position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 0.7rem; font-weight: 700;
  background: var(--milk); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--oat-deep);
}

/* ---------- journal ---------- */
.article-card {
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--oat-deep); border-radius: var(--r-card); padding: 24px;
  background: var(--milk); transition: border-color 0.15s ease;
}
.article-card:hover { border-color: var(--ink-soft); }
.article-card .cat { font-size: 0.78rem; font-weight: 700; color: var(--beet); }
.article-card h3 { margin: 0; }
.article-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid var(--oat-deep); }
.faq-item summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); font-size: 1.3rem; color: var(--beet); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 0 20px; color: var(--ink-soft); max-width: 46em; }

/* ---------- product page ---------- */
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .pdp-grid { grid-template-columns: 1fr; } }
.pdp-info h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.pdp-price { font-size: 1.4rem; font-weight: 700; margin: 10px 0 4px; }
.avail { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 22px; }
.pdp-section { border-top: 1px solid var(--oat-deep); padding: 22px 0; }
.pdp-section h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pdp-section p, .pdp-section li { color: var(--ink-soft); font-size: 0.97rem; }
.data-pending {
  background: var(--oat); border-radius: 12px; padding: 14px 18px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.nutri-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.nutri-table td { padding: 8px 0; border-bottom: 1px dashed var(--oat-deep); font-size: 0.95rem; }
.nutri-table td:last-child { text-align: right; font-weight: 600; }

/* ---------- two-column layout (collapses on mobile) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- pin checker ---------- */
.pin-check { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pin-check input {
  border: 1.5px solid var(--oat-deep); border-radius: 99px; padding: 12px 18px;
  font: inherit; background: var(--milk); width: 180px; max-width: 100%; min-width: 0;
}
.pin-msg { font-size: 0.9rem; margin-top: 10px; color: var(--ink-soft); }

/* ---------- shop filters ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.filter-chip {
  border: 1.5px solid var(--oat-deep); background: var(--milk); border-radius: 99px;
  padding: 8px 18px; font: 600 0.9rem var(--body); color: var(--ink-soft); cursor: pointer;
}
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.coming-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- empty states ---------- */
.empty-state {
  border: 1.5px dashed var(--oat-deep); border-radius: var(--r-card);
  padding: 48px 28px; text-align: center; color: var(--ink-soft);
}
.empty-state strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--milk); margin-top: var(--section); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding: clamp(44px, 7vw, 80px) 0 40px;
}
.site-footer h4 { font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: color-mix(in srgb, var(--milk) 75%, transparent); text-decoration: none; font-size: 0.93rem; }
.site-footer a:hover { color: var(--milk); }
.footer-note { border-top: 1px solid color-mix(in srgb, var(--milk) 18%, transparent); padding: 20px 0 30px; font-size: 0.82rem; color: color-mix(in srgb, var(--milk) 60%, transparent); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(44px, 7vw, 84px) 0 10px; }
.page-hero .basket-strip { margin-bottom: 22px; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--milk);
  padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
