:root {
    --vanilla: #F6EFE1;
    --vanilla-soft: #EFE3CE;
    --breeze: #C3D5E6;
    --breeze-deep: #8FAFCB;
    --ganache: #5B3729;
    --ganache-deep: #3E2317;
    --hydrate: #C3D5E6;
    --clarify: #A3B29D;
    --soothe: #CBDAC0;
    --volumize: #E7CE9E;
    --line: rgba(62, 35, 23, 0.16);
    --line-on-dark: rgba(243, 231, 210, 0.24);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--vanilla);
    color: var(--ganache-deep);
    font-family: 'Work Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .serif {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--ganache-deep);
  }

  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; }
  button { font-family: inherit; cursor: pointer; }
  section { scroll-margin-top: 88px; }

  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
  .prose { max-width: 58ch; }

  /* ---------- Nav ---------- */

  header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(246, 239, 225, 0.93);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }

  .nav-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px; max-width: 1120px; margin: 0 auto;
  }

  .brand { display: flex; align-items: center; gap: 9px; }
  .brand svg { width: 24px; height: 24px; color: var(--ganache); }
  .brand span { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; }

  nav.links { display: flex; gap: 30px; font-size: 0.95rem; }
  nav.links a { opacity: 0.82; transition: opacity 0.15s ease; }
  nav.links a:hover { opacity: 1; }

  .nav-right { display: flex; align-items: center; gap: 14px; }

  .cart-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--ganache); color: var(--vanilla);
    border: none; padding: 9px 14px; border-radius: 3px;
    font-size: 0.9rem; font-weight: 600;
  }
  .cart-btn svg { width: 17px; height: 17px; }
  .insta-btn {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid var(--ganache); color: var(--ganache);
  }
  .insta-btn svg { width: 18px; height: 18px; }
  .insta-btn:hover { background: var(--ganache); color: var(--vanilla); }
  .cart-count {
    background: var(--vanilla); color: var(--ganache-deep);
    border-radius: 50%; width: 19px; height: 19px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700;
  }

  .menu-btn { display: none; background: none; border: none; padding: 6px; }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--ganache-deep); margin: 5px 0; }

  /* ---------- Hero ---------- */

  .hero { background: var(--vanilla); position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 160px;
    background-repeat: no-repeat; background-size: 1400px 160px; background-position: bottom center;
    opacity: 0.35; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 160'%3E%3Cpath d='M0,80 C200,140 400,20 700,80 C1000,140 1200,20 1400,80 L1400,160 L0,160 Z' fill='%23C3D5E6'/%3E%3C/svg%3E");
  }
  .hero-grid { position: relative; z-index: 1; }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
    gap: 54px; padding: 70px 32px 92px; max-width: 1120px; margin: 0 auto;
  }
  .hero .kicker {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
    color: var(--ganache); font-size: 1.05rem; margin-bottom: 16px; display: block;
  }
  .hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.08; }
  .hero p.lead { margin-top: 20px; font-size: 1.06rem; max-width: 46ch; color: rgba(62,35,23,0.82); }
  .hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

  .btn-primary {
    background: var(--ganache); color: var(--vanilla);
    padding: 13px 26px; border-radius: 3px; font-weight: 600; font-size: 0.98rem;
    display: inline-block; border: 1px solid var(--ganache);
  }
  .btn-ghost {
    border: 1px solid var(--ganache); color: var(--ganache-deep);
    padding: 12px 24px; border-radius: 3px; font-size: 0.98rem;
  }

  .hero-photo {
    border-radius: 6px; overflow: hidden; border: 1px solid var(--line);
    box-shadow: 0 24px 48px -20px rgba(62,35,23,0.35);
  }
  .hero-photo img { width: 100%; }

  /* ---------- Shop ---------- */

  .shop { padding: 96px 0 100px; background: var(--vanilla-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

  .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
  .section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); max-width: 18ch; }
  .section-head p { max-width: 36ch; font-size: 0.98rem; color: rgba(62,35,23,0.72); }

  .shop-grid {
    margin-top: 52px; display: grid;
    grid-template-columns: repeat(2, 1fr); gap: 30px;
  }

  .product-card {
    background: var(--vanilla); border: 1px solid var(--line); border-radius: 6px;
    padding: 18px; display: flex; flex-direction: column; gap: 14px;
  }

  .box-art { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); position: relative; }
  .box-art img { width: 100%; aspect-ratio: 500 / 512; object-fit: cover; display: block; }

  .carousel { position: relative; }
  .carousel-track { display: flex; transition: transform 0.35s ease; }
  .carousel-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 500 / 512; object-fit: cover; display: block; }
  .car-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.85); color: var(--ganache-deep); font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; line-height: 1;
  }
  .car-btn:hover { background: rgba(255,255,255,1); }
  .car-btn.prev { left: 10px; }
  .car-btn.next { right: 10px; }
  .car-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 7px; }
  .car-dots .dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.65);
    border: 1px solid rgba(62,35,23,0.25); cursor: pointer; padding: 0;
  }
  .car-dots .dot.active { background: var(--ganache); border-color: var(--ganache); }

  .tag {
    align-self: flex-start; font-size: 0.76rem; padding: 4px 10px; border-radius: 20px;
    border: 1px solid var(--line); color: var(--ganache-deep);
  }

  .product-card h3 { font-size: 1.14rem; margin-top: 2px; }
  .product-card .blurb { font-size: 0.9rem; color: rgba(62,35,23,0.76); }
  .product-card .scent { font-size: 0.82rem; color: rgba(62,35,23,0.6); font-style: italic; }

  .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
  .price { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; }
  .price .wt { font-family: 'Work Sans', sans-serif; font-weight: 400; font-size: 0.78rem; color: rgba(62,35,23,0.58); display: block; }

  .qty-row { display: flex; align-items: center; gap: 10px; }
  .stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
  .stepper button {
    background: none; border: none; width: 28px; height: 28px; font-size: 1rem;
    color: var(--ganache-deep);
  }
  .stepper span { width: 22px; text-align: center; font-size: 0.9rem; }

  .add-btn {
    width: 100%; background: var(--ganache); color: var(--vanilla); border: none;
    padding: 11px; border-radius: 4px; font-weight: 600; font-size: 0.92rem;
  }
  .add-btn.added { background: var(--breeze-deep); }

  details.ingredients { font-size: 0.82rem; }
  details.ingredients summary { cursor: pointer; color: var(--ganache); }
  details.ingredients .ing-list { margin-top: 8px; color: rgba(62,35,23,0.72); line-height: 1.55; }

  /* ---------- Why ---------- */

  .why { padding: 92px 0; }
  .why h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); max-width: 20ch; }
  .why-row { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); }
  .why-item { padding: 0 28px; border-left: 1px solid var(--line); }
  .why-item:first-child { border-left: none; padding-left: 0; }
  .why-item .num { font-family: 'Fraunces', serif; font-style: italic; color: var(--ganache); font-size: 1.05rem; }
  .why-item h3 { font-size: 1.05rem; margin-top: 10px; font-weight: 600; }
  .why-item p { margin-top: 10px; font-size: 0.92rem; color: rgba(62,35,23,0.72); }

  /* ---------- Story ---------- */

  .story { padding: 92px 0; background: var(--vanilla-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
  .eyebrow { font-family: 'Fraunces', serif; font-style: italic; color: var(--ganache); font-size: 1.05rem; }
  .story h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 10px; line-height: 1.15; }
  .story .prose p + p { margin-top: 18px; }
  .pull {
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 1.45rem;
    line-height: 1.4; color: var(--ganache-deep); border-left: 2px solid var(--breeze-deep);
    padding-left: 22px; margin-top: 28px;
  }

  /* ---------- Ritual ---------- */

  .ritual { background: var(--ganache-deep); color: var(--vanilla); padding: 96px 0; }
  .ritual h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); max-width: 18ch; color: var(--vanilla); }
  .ritual > .wrap > p { margin-top: 16px; max-width: 46ch; color: rgba(243,231,210,0.78); }
  .steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .step { border-top: 1px solid var(--line-on-dark); padding-top: 18px; }
  .step .n { font-family: 'Fraunces', serif; font-size: 1.9rem; color: var(--breeze); }
  .step h3 { font-size: 1.02rem; font-weight: 600; margin-top: 6px; color: var(--vanilla); }
  .step p { margin-top: 8px; font-size: 0.9rem; color: rgba(243,231,210,0.72); }

  /* ---------- Founder ---------- */

  .founder { padding: 96px 0; }
  .founder-inner { max-width: 62ch; margin: 0 auto; }
  .founder blockquote {
    margin: 24px 0 0; font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
    font-size: 1.5rem; line-height: 1.45; color: var(--ganache-deep);
  }
  .founder .sign { margin-top: 22px; font-size: 0.93rem; color: rgba(62,35,23,0.68); }

  /* ---------- Notify / Contact ---------- */

  .notify { background: var(--vanilla-soft); padding: 96px 0; border-top: 1px solid var(--line); }
  .notify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .notify h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); max-width: 15ch; }
  .notify p { margin-top: 16px; max-width: 40ch; color: rgba(62,35,23,0.74); }
  .contact-card { background: var(--vanilla); border: 1px solid var(--line); border-radius: 4px; padding: 32px; }
  .contact-card a.email {
    display: block; font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--ganache-deep);
    padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
  }
  .contact-row { display: flex; gap: 12px; flex-wrap: wrap; }
  .contact-row a { font-size: 0.92rem; padding: 10px 16px; border: 1px solid var(--line); border-radius: 3px; }

  /* ---------- Footer ---------- */

  footer { padding: 40px 0; border-top: 1px solid var(--line); }
  .foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.88rem; color: rgba(62,35,23,0.62); }
  .foot-row .brand span { font-size: 1.02rem; }
  .foot-row .brand svg { width: 18px; height: 18px; }

  /* ---------- Cart drawer ---------- */

  .cart-overlay {
    position: fixed; inset: 0; background: rgba(30,18,12,0.4);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 80;
  }
  .cart-overlay.open { opacity: 1; pointer-events: auto; }

  .cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw;
    background: var(--vanilla); z-index: 90; transform: translateX(100%);
    transition: transform 0.25s ease; display: flex; flex-direction: column;
    border-left: 1px solid var(--line);
  }
  .cart-drawer.open { transform: translateX(0); }

  .cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
  .cart-head h3 { font-size: 1.2rem; }
  .cart-close { background: none; border: none; font-size: 1.4rem; color: var(--ganache-deep); line-height: 1; padding: 4px; }

  .cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; }
  .cart-empty { color: rgba(62,35,23,0.6); font-size: 0.94rem; padding: 20px 0; }

  .cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .cart-item .ci-name { font-size: 0.94rem; font-weight: 600; }
  .cart-item .ci-price { font-size: 0.84rem; color: rgba(62,35,23,0.6); margin-top: 2px; }
  .cart-item .ci-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
  .ci-remove { font-size: 0.8rem; color: var(--ganache); border: none; background: none; padding: 0; margin-left: auto; align-self: flex-start; }

  .cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
  .cart-subtotal { display: flex; justify-content: space-between; font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 14px; }
  .cart-note { font-size: 0.8rem; color: rgba(62,35,23,0.62); margin-top: 10px; line-height: 1.5; }
  .checkout-btn {
    width: 100%; background: #2E7D5B; color: #fff; border: none; padding: 13px;
    border-radius: 4px; font-weight: 600; font-size: 0.96rem; display: flex;
    align-items: center; justify-content: center; gap: 8px;
  }
  .checkout-btn svg { width: 18px; height: 18px; }

  .order-overlay {
    position: fixed; inset: 0; background: rgba(30,18,12,0.45);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100;
  }
  .order-overlay.open { opacity: 1; pointer-events: auto; }

  .order-modal {
    position: fixed; top: 50%; left: 50%; width: 420px; max-width: 90vw;
    max-height: 88vh; overflow-y: auto;
    background: var(--vanilla); z-index: 110; border-radius: 8px;
    border: 1px solid var(--line);
    transform: translate(-50%, -48%) scale(0.97); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 22px 24px 26px;
  }
  .order-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

  .order-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
  .order-modal-head h3 { font-size: 1.15rem; }
  .order-modal-product { font-size: 0.88rem; color: rgba(62,35,23,0.65); margin-bottom: 16px; }

  .order-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 0.86rem; font-weight: 600; }
  .order-field input, .order-field textarea {
    font-family: 'Work Sans', sans-serif; font-size: 0.92rem; font-weight: 400;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px;
    background: #fff; color: var(--ganache-deep); resize: vertical;
  }
  .order-field input:focus, .order-field textarea:focus { outline: 2px solid var(--breeze); border-color: var(--breeze); }

  /* ---------- Wave dividers ---------- */

  .wave-divider {
    display: block; width: 100%; line-height: 0; margin: 0;
  }
  .wave-divider svg { display: block; width: 100%; height: 70px; }
  @media (max-width: 640px) {
    .wave-divider svg { height: 44px; }
  }

  .wave-accent-thin { display: block; width: 100%; line-height: 0; margin: 0; }
  .wave-accent-thin svg { display: block; width: 100%; height: 14px; }
  @media (max-width: 640px) {
    .wave-accent-thin svg { height: 9px; }
  }

  /* ---------- Video section ---------- */

  .video-section { padding: 92px 0; background: var(--vanilla-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .video-section .section-head { margin-bottom: 40px; }
  .video-wrap {
    position: relative; max-width: 860px; margin: 0 auto; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(62,35,23,0.25);
    background: var(--breeze-deep);
  }
  .video-wrap video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

  /* ---------- Responsive ---------- */

  @media (max-width: 980px) {
    .why-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .why-item:nth-child(3) { border-left: none; padding-left: 0; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  }

  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 56px; }
    .hero-photo { max-width: 340px; }
    .story-grid { grid-template-columns: 1fr; gap: 28px; }
    .notify-grid { grid-template-columns: 1fr; gap: 32px; }
    nav.links { display: none; }
    .menu-btn { display: block; }
    header.open nav.links {
      display: flex; flex-direction: column; gap: 16px; position: absolute; top: 100%;
      left: 0; right: 0; background: var(--vanilla); padding: 22px 32px; border-bottom: 1px solid var(--line);
    }
  }

  @media (max-width: 560px) {
    .wrap { padding: 0 20px; }
    .nav-row { padding: 14px 20px; }
    .hero-grid { padding-left: 20px; padding-right: 20px; }
    .shop-grid { grid-template-columns: 1fr; }
    .why-row { grid-template-columns: 1fr; }
    .why-item { border-left: none !important; padding-left: 0 !important; }
    .steps { grid-template-columns: 1fr; }
    .cart-btn span.subtotal-label { display: none; }
  }
