/* ============================================================
   JINGŪ — shared site styles
   Used by index.html, shop.html, journal.html, story.html
   ============================================================ */

/* ---------- brand tokens ---------- */
:root{
  --berry: #5c0f1e;
  --forest: #232d1d;
  --navy:  #011830;
  --cocoa: #2d1a05;

  --pink:  #f4d3db;
  --sky:   #b1d3dd;
  --yellow:#f4dc76;

  --linen: #f5f0e8;
  --tender:#f8f6f2;
  --ink:   #1a1a1a;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 72px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body{
  margin:0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.005em;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font: inherit; cursor:pointer; }

/* ---------- typography utilities ---------- */
.serif{ font-family: var(--serif); font-weight: 400; letter-spacing: 0.02em; }
.label{
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.short{
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.small{ font-size: 13px; line-height: 1.6; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAV — Jacquemus / JMM layout
   Left: logo + [Shop ▾ · Maison]  |  Right: JP¥ · Search · Account · Bowl
   Mobile (<=880px): logo + hamburger left, links collapse into slide-in panel
   ============================================================ */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,232,0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,26,26,0.07);
  height: var(--nav-h);
}
.nav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter);
  height: 100%;
  width: 100%;
}
.nav__leading{
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.6vw, 56px);
}
.nav__right{
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}

/* Desktop nav links — SHOP (hover dropdown) · MAISON — hidden; hamburger is the only nav trigger now */
.nav__links{
  display: none;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}
.nav__link-item{
  position: relative;
  padding-bottom: 16px;
  margin-bottom: -16px;
}
.nav__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s ease;
}
.nav__link:hover{ color: var(--berry); }
.nav__link-caret{
  font-size: 9px;
  opacity: .5;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__link-item:hover .nav__link-caret{ transform: translateY(1px); opacity: .8; }

.nav__dropdown{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--linen);
  border: 1px solid rgba(26,26,26,0.08);
  box-shadow: 0 14px 40px -24px rgba(26,26,26,0.25);
  padding: 10px 0;
  min-width: 200px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 60;
}
.nav__link-item:hover .nav__dropdown,
.nav__link-item:focus-within .nav__dropdown{
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a{
  padding: 9px 22px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); opacity: .65;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s ease, color .2s ease, padding-left .2s ease;
}
.nav__dropdown a:hover{ opacity: 1; color: var(--berry); padding-left: 26px; }

/* Hamburger — always the nav trigger, sits right of the logo */
.nav__menu-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.nav__menu-btn:hover{ color: var(--berry); }

.nav__hamburger{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 11px;
  flex-shrink: 0;
}
.nav__hamburger span{
  display: block;
  height: 1px;
  background: currentColor;
  transition: background .25s ease;
}

@media (max-width: 880px){
  .nav__leading{ gap: clamp(16px, 2.4vw, 30px); }
}

/* Currency selector — opens the currency-overlay modal */
.nav__currency{
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .7;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity .2s ease, color .2s ease;
}
.nav__currency:hover{ opacity: 1; color: var(--berry); }

/* Search icon button */
.nav__search-text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  transition: color .25s ease, transform .2s ease;
}
.nav__search-text:hover{ color: var(--berry); transform: translateY(-1px); }
.nav__search-text svg{ width: 100%; height: 100%; display: block; }

/* Wordmark (logo) */
.wordmark{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--berry);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.wordmark__mark{
  height: 28px; width: auto; display: inline-block;
  transform: translateY(-1px);
}
.footer__brand .wordmark__mark{ height: 48px; }

/* Right side icons */
.nav__icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  color: var(--ink);
  background: none; border: none; padding: 0;
  transition: color .25s ease, transform .2s ease;
}
.nav__icon:hover{ color: var(--berry); transform: translateY(-1px); }
.nav__icon svg{ width: 100%; height: 100%; display: block; }

.nav__bowl{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease;
  margin-left: 4px;
}
.nav__bowl:hover{ color: var(--berry); }
.nav__bowl-icon{
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  transform-origin: 50% 65%;
}
.nav__bowl-icon svg{ width: 100%; height: 100%; display: block; }
.nav__bowl-count{
  font-size: 10px;
  margin-left: 2px;
  opacity: .6;
  display: inline-block;
  font-feature-settings: "tnum";
}

/* ============================================================
   MENU PANEL — full-height slide-in from left
   ============================================================ */
.menu-panel{
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--linen);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .48s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid rgba(26,26,26,0.07);
}
.menu-panel.is-open{
  transform: translateX(0);
}

.menu-panel__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 1px solid rgba(26,26,26,0.07);
  height: var(--nav-h);
  flex-shrink: 0;
}
.menu-panel__head .wordmark{ font-size: 22px; gap: 10px; }
.menu-panel__head .wordmark__mark{ height: 22px; }

.menu-panel__close{
  background: none; border: none;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  opacity: .45;
  cursor: pointer;
  transition: opacity .2s ease, color .2s ease;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0;
}
.menu-panel__close:hover{ opacity: 1; color: var(--berry); }

.menu-panel__nav{
  flex: 1;
  padding: clamp(28px, 4vh, 48px) 36px clamp(20px, 3vh, 36px);
}
.menu-panel__nav > ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}

.menu-panel__item{
  border-bottom: 1px solid rgba(26,26,26,0.07);
}
.menu-panel__item:first-child{ border-top: 1px solid rgba(26,26,26,0.07); }

.menu-panel__link,
.menu-panel__trigger{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vh, 18px) 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  background: none; border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}
.menu-panel__link:hover,
.menu-panel__trigger:hover{ color: var(--berry); }

.menu-panel__arrow{
  font-size: 14px;
  opacity: .35;
  transition: transform .28s ease, opacity .28s ease;
  display: inline-block;
  flex-shrink: 0;
}
.menu-panel__trigger[aria-expanded="true"] .menu-panel__arrow{
  transform: rotate(90deg);
  opacity: .75;
  color: var(--berry);
}

.menu-panel__sub{
  list-style: none; margin: 0; padding: 0 0 20px 0;
  display: none;
}
.menu-panel__sub.is-open{ display: block; }
.menu-panel__sub li{ margin-bottom: 2px; }
.menu-panel__sub a{
  display: block;
  padding: 9px 0 9px 2px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .45;
  transition: opacity .2s ease, color .2s ease, padding-left .2s ease;
}
.menu-panel__sub a:hover{ opacity: 1; color: var(--berry); padding-left: 8px; }

.menu-panel__footer{
  padding: 28px 36px 40px;
  border-top: 1px solid rgba(26,26,26,0.07);
  flex-shrink: 0;
}
.menu-panel__footer-label{
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .35;
  margin-bottom: 14px;
}
.menu-panel__social{
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .55;
  transition: opacity .2s ease, color .2s ease;
  display: inline-block;
}
.menu-panel__social:hover{ opacity: 1; color: var(--berry); }

/* Semi-transparent overlay behind menu panel */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.38);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.menu-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--linen);
  border-bottom: 1px solid rgba(26,26,26,0.08);
  padding: 22px var(--gutter);
  z-index: 110;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 14px 40px -24px rgba(26,26,26,0.25);
}
.search-overlay.is-open{ transform: translateY(0); }
.search-overlay__inner{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.search-overlay__form{
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
.search-overlay__form svg{ width: 18px; height: 18px; color: var(--ink); opacity: .5; flex-shrink: 0; }
.search-overlay__form input{
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--ink);
  padding: 4px 0;
}
.search-overlay__form input::placeholder{ color: rgba(26,26,26,0.35); }
.search-overlay__close{
  background: none; border: none;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); opacity: .5;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s ease, opacity .2s ease;
}
.search-overlay__close:hover{ color: var(--berry); opacity: 1; }
.search-overlay__suggestions{
  max-width: var(--maxw); margin: 14px auto 0;
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); opacity: .45;
}
.search-overlay__suggestions a{ transition: opacity .2s ease; padding: 4px 10px; border: 1px solid rgba(26,26,26,0.15); border-radius: 999px; }
.search-overlay__suggestions a:hover{ opacity: 1; color: var(--berry); border-color: var(--berry); }

/* ---------- CURRENCY / COUNTRY SELECTOR ---------- */
.currency-overlay{
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.45);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.currency-overlay.is-open{ opacity: 1; visibility: visible; }
.currency-overlay__panel{
  position: relative;
  background: var(--linen);
  max-width: 440px;
  width: 100%;
  padding: 48px 40px 40px;
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.currency-overlay.is-open .currency-overlay__panel{ transform: translateY(0) scale(1); }
.currency-overlay__close{
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink); opacity: .5;
  transition: opacity .2s ease, color .2s ease;
}
.currency-overlay__close:hover{ opacity: 1; color: var(--berry); }
.currency-overlay__eyebrow{
  display: block;
  color: var(--berry);
  margin-bottom: 14px;
}
.currency-overlay__sub{
  font-size: 14px;
  color: var(--forest);
  opacity: .75;
  margin: 0 0 28px;
  line-height: 1.6;
}
.currency-overlay__list{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid rgba(26,26,26,0.1);
}
.currency-option{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26,26,26,0.1);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.currency-option span{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .5;
}
.currency-option:hover{ color: var(--berry); }
.currency-option.is-selected{ color: var(--berry); font-weight: 500; }
.currency-option.is-selected span{ opacity: .8; }
.currency-overlay__continue{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--berry);
  color: var(--linen);
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
}
.currency-overlay__continue:hover{ background: var(--forest); transform: translateY(-1px); }

/* "Add to bowl" — flying matcha drop */
.fly-drop{
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4a6741;
  box-shadow: 0 2px 8px rgba(74, 103, 65, 0.55);
  pointer-events: none;
  z-index: 1000;
  will-change: transform, opacity;
}
.nav__bowl-icon.is-pulse{ animation: bowl-pulse 460ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
@keyframes bowl-pulse{
  0%   { transform: scale(1); color: var(--ink); }
  40%  { transform: scale(1.2); color: var(--berry); }
  100% { transform: scale(1); color: var(--ink); }
}
.nav__bowl-count.is-bump{
  animation: bowl-bump 460ms cubic-bezier(.22, .8, .25, 1);
  color: var(--berry); opacity: 1;
}
@keyframes bowl-bump{
  0%   { transform: translateY(0)   scale(1);    opacity: .6; }
  35%  { transform: translateY(-4px) scale(1.18); opacity: 1;  }
  100% { transform: translateY(0)   scale(1);    opacity: 1;  }
}

/* ============================================================
   HERO (homepage) — linen background, dark text
   ============================================================ */
.hero{
  background: var(--linen);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}
.hero__copy{
  padding: clamp(48px, 8vh, 96px) clamp(24px, 4vw, 72px) clamp(48px, 8vh, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2.6vh, 32px);
  align-items: flex-start;
}
.hero__eyebrow{
  display:flex; gap: 14px; align-items:center;
  color: var(--ink); opacity: .50;
}
.hero__eyebrow .dot{
  width: 5px; height: 5px; border-radius:50%;
  background: #4a6741;
  display:inline-block;
}
.hero__mark{
  width: clamp(56px, 5.5vw, 80px);
  height: auto;
  display: block;
}
.hero__mark img{ width: 100%; height: auto; display: block; }
.hero__manifesto{
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.30;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  max-width: 520px;
  opacity: .86;
}
.hero__manifesto em{
  color: var(--berry);
  font-style: italic;
  font-weight: 300;
  opacity: 1;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap: 12px;
  background: var(--berry);
  color: var(--linen);
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover{ background: var(--forest); color: var(--linen); transform: translateY(-1px); }
.btn .arrow{ transition: transform .25s ease; }
.btn:hover .arrow{ transform: translateX(4px); }

/* Light btn variant — for use on dark sections */
.btn--light{
  background: var(--linen);
  color: var(--berry);
}
.btn--light:hover{
  background: rgba(245,240,232,0.88);
  color: var(--forest);
  transform: translateY(-1px);
}

/* Hero image — full-bleed right panel */
.hero__media{
  position: relative;
  overflow: hidden;
  background: var(--cocoa);
}
.hero__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.10);
  opacity: 0;
  animation: heroIn 1.8s .2s cubic-bezier(.2,.6,.2,1) forwards;
  will-change: transform;
}
@keyframes heroIn{ to { transform: scale(1.03); opacity: 1; } }
.hero__caption{
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: var(--linen);
  display:flex; justify-content: space-between; gap: 12px;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: .65;
}
@media (max-width: 880px){
  .hero{ grid-template-columns: 1fr; }
  .hero__media{
    order: -1;
    height: 45vh;
    min-height: 260px;
  }
  .hero__copy{ padding: 28px var(--gutter) clamp(40px, 6vh, 60px); }
}

/* ============================================================
   INSTRUMENTS TEASER — homepage section (dark)
   ============================================================ */
.instr-teaser{
  position: relative;
  background: #1c1208;
  color: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: clamp(440px, 58vh, 640px);
}
.instr-teaser__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.instr-teaser__bg img{
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.20;
  transform: scale(1.04);
  transition: transform 12s ease;
}
.instr-teaser:hover .instr-teaser__bg img{ transform: scale(1); }
.instr-teaser__content{
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vh, 88px) var(--gutter);
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.4vh, 26px);
}
.instr-teaser .label{ color: var(--linen); opacity: .45; }
.instr-teaser__title{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--linen);
  margin: 0;
}
.instr-teaser__title em{ font-style: italic; color: var(--pink); }
.instr-teaser__body{
  font-size: 15px;
  line-height: 1.72;
  color: var(--linen);
  opacity: .62;
  max-width: 500px;
  margin: 0;
}

/* ---------- SUB-PAGE HERO (shop / journal / story) ---------- */
.page-hero{
  background: var(--linen);
  padding: clamp(64px, 10vh, 120px) var(--gutter) clamp(48px, 6vh, 80px);
  border-bottom: 1px solid rgba(26,26,26,0.07);
}
.page-hero__inner{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 880px){ .page-hero__inner{ grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.page-hero .label{ color: var(--berry); margin-bottom: 18px; display: block; }
.page-hero__title{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--forest);
  margin: 0;
}
.page-hero__title em{ font-style: italic; color: var(--berry); }
.page-hero__intro{
  font-size: 15px;
  line-height: 1.65;
  color: var(--forest);
  opacity: .8;
  max-width: 480px;
  margin: 0;
}

/* ---------- shop categories ---------- */
.shop-cats{
  background: var(--linen);
  padding: clamp(40px, 6vh, 72px) var(--gutter) clamp(44px, 6vh, 80px);
}
.shop-cats__head{
  max-width: var(--maxw);
  margin: 0 auto clamp(28px, 4vh, 44px);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.shop-cats__head .label{ color: var(--ink); opacity: .40; }
.shop-cats__head .meta{
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: .40;
}
.shop-cats__grid{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 28px);
}
@media (max-width: 720px){
  .shop-cats__grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.shop-cat{
  display: flex; flex-direction: column;
  color: var(--ink); text-decoration: none;
}
.shop-cat__media{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tender);
  margin-bottom: 16px;
  position: relative;
}
.shop-cat__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .5s ease;
}
.shop-cat:hover .shop-cat__media img{ transform: scale(1.05); filter: brightness(0.97); }
.shop-cat__row{
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; padding-top: 4px;
}
.shop-cat__label{
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}
.shop-cat__arrow{
  font-size: 13px; color: var(--ink); opacity: .40;
  transition: transform .25s ease, opacity .25s ease;
}
.shop-cat:hover .shop-cat__arrow{ transform: translateX(4px); opacity: 1; color: var(--berry); }

/* ---------- product grid ---------- */
.products{
  padding: clamp(56px, 8vh, 96px) var(--gutter) clamp(80px, 12vh, 140px);
  background: var(--tender);
  border-top: 1px solid rgba(26,26,26,0.07);
  border-bottom: 1px solid rgba(26,26,26,0.07);
}
.products--linen{ background: var(--linen); border: none; }
.section-head{
  max-width: var(--maxw); margin: 0 auto;
  display:flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.section-head__title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin: 0;
}
.section-head__title em{ font-style: italic; color: var(--berry); }
.section-head__meta{
  display:flex; flex-direction: column; gap: 8px;
  text-align: right;
}
.section-head__meta .label{ color: var(--ink); opacity:.45; }
.section-head__meta .meta-line{
  font-size: 13px; color: var(--forest); opacity: .7;
  max-width: 320px; line-height: 1.55;
}

.product-grid{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 880px){ .product-grid{ grid-template-columns: 1fr; gap: 56px; } }

.product{ display:flex; flex-direction: column; }
.product__media{
  aspect-ratio: 4 / 5;
  background: var(--tender);
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.product__media img{
  width:100%; height:100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .6s ease;
}
.product:hover .product__media img{ transform: scale(1.04); filter: brightness(0.95); }
.product__tag{
  position: absolute;
  top: 16px; left: 16px;
  background: var(--linen);
  color: var(--ink);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.product__tag--berry{ background: var(--berry); color: var(--linen); }
.product__tag--sky{ background: var(--sky); color: var(--navy); }

.product__row{
  display:flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid rgba(26,26,26,0.12);
  padding-top: 18px;
}
.product__name{
  font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1;
  color: var(--forest); margin: 0;
}
.product__name em{ font-style: italic; color: var(--berry); }
.product__price{
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--forest); opacity: .8;
}
.product__desc{
  margin: 10px 0 0; font-size: 13px; line-height: 1.6;
  color: var(--forest); opacity: .72; max-width: 320px;
}
.product__cta{
  margin-top: 18px;
  display:inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--berry); align-self: flex-start;
  transition: gap .25s ease;
}
.product__cta::after{ content: "→"; transition: transform .25s ease; }
.product:hover .product__cta::after{ transform: translateX(4px); }

/* ---------- story page ---------- */
.story-body{
  background: var(--linen);
  padding: clamp(56px, 8vh, 100px) var(--gutter) clamp(80px, 12vh, 140px);
}
.story-body__grid{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px){ .story-body__grid{ grid-template-columns: 1fr; gap: 40px; } }
.story-body__lede{
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.32;
  color: var(--berry);
  margin: 0 0 32px;
}
.story-body__copy h3{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--forest);
  margin: 40px 0 16px;
  letter-spacing: -0.005em;
}
.story-body__copy h3:first-child{ margin-top: 0; }
.story-body__copy p{
  font-size: 15px; line-height: 1.75;
  color: var(--forest); opacity: .85;
  margin: 0 0 18px;
}
.story-body__copy p:last-child{ margin: 0; }

.story-pillars{
  background: var(--tender);
  padding: clamp(72px, 10vh, 120px) var(--gutter);
  border-top: 1px solid rgba(26,26,26,0.07);
}
.story-pillars__grid{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
@media (max-width: 720px){ .story-pillars__grid{ grid-template-columns: repeat(2, 1fr); } }
.pillar{ border-top: 1px solid rgba(26,26,26,0.12); padding-top: 22px; }
.pillar h4{
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  margin: 0 0 4px;
  color: var(--berry);
}
.pillar .label{ color: var(--ink); opacity: .45; display: block; margin-bottom: 18px; }
.pillar p{
  font-size: 13px; line-height: 1.65;
  color: var(--forest); opacity: .75;
  margin: 0;
}

/* ---------- journal ---------- */
.journal{
  padding: clamp(72px, 10vh, 140px) var(--gutter);
  background: var(--linen);
}
.journal__grid{
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px);
}
@media (max-width: 880px){ .journal__grid{ grid-template-columns: 1fr; gap: 56px; } }

.article{ display:flex; flex-direction: column; }
.article__media{
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--tender);
}
.article__media img{
  width:100%; height:100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
}
.article:hover .article__media img{ transform: scale(1.04); }
.article__meta{
  display:flex; gap: 18px; align-items: center;
  margin-bottom: 14px;
  color: var(--ink); opacity: .5;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.article__meta .dot{ width: 3px; height: 3px; border-radius: 50%; background: var(--ink); opacity: .5; }
.article__title{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.2;
  color: var(--forest); margin: 0 0 12px;
}
.article__title em{ font-style: italic; color: var(--berry); }
.article__excerpt{
  font-size: 14px; line-height: 1.6; color: var(--forest); opacity: .72;
  max-width: 340px;
}

/* ============================================================
   MAISON — full-bleed image hero with overlaid headline
   Used on jingu.html
   ============================================================ */
.maison-hero{
  position: relative;
  height: 78vh;
  min-height: 460px;
  overflow: hidden;
  background: var(--cocoa);
}
.maison-hero img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  opacity: 0;
  animation: heroIn 1.8s .2s cubic-bezier(.2,.6,.2,1) forwards;
  will-change: transform;
}
.maison-hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.46), rgba(26,26,26,0) 58%);
  pointer-events: none;
}
.maison-hero__copy{
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(36px, 6vh, 64px);
  color: var(--linen);
}
.maison-hero__label{
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--linen); opacity: .75; margin-bottom: 16px;
}
.maison-hero__title{
  font-family: var(--serif);
  font-weight: 300; font-style: italic;
  font-size: clamp(30px, 5vw, 66px);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--linen);
  margin: 0; max-width: 820px;
}

/* ============================================================
   TIMELINE — alternating image / text milestone blocks
   Used on jingu.html
   ============================================================ */
.timeline{
  background: var(--linen);
  padding: clamp(72px, 10vh, 120px) var(--gutter);
  border-top: 1px solid rgba(26,26,26,0.07);
}
.timeline__inner{
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(64px, 9vh, 100px);
}
.timeline__block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.timeline__block--reverse .timeline__media{ order: 2; }
.timeline__block--reverse .timeline__copy{ order: 1; }
@media (max-width: 880px){
  .timeline__block{ grid-template-columns: 1fr; gap: 24px; }
  .timeline__block--reverse .timeline__media,
  .timeline__block--reverse .timeline__copy{ order: initial; }
}
.timeline__media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tender);
}
.timeline__media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
}
.timeline__block:hover .timeline__media img{ transform: scale(1.04); }
.timeline__copy .label{ color: var(--berry); display: block; margin-bottom: 14px; }
.timeline__year{
  font-family: var(--serif);
  font-weight: 300; font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--forest);
  margin: 0 0 14px;
}
.timeline__copy p{
  font-size: 15px; line-height: 1.75;
  color: var(--forest); opacity: .85;
  margin: 0; max-width: 420px;
}

/* ============================================================
   NEWSLETTER — dark forest, linen text
   ============================================================ */
.newsletter{
  background: var(--forest);
  color: var(--linen);
  padding: clamp(56px, 8vh, 88px) var(--gutter);
  text-align: center;
}
.newsletter__inner{ max-width: 560px; margin: 0 auto; }
.newsletter .label{ color: var(--linen); opacity: .5; }
.newsletter__sub{
  margin-top: 20px;
  font-size: 14px; line-height: 1.7;
  color: var(--linen); opacity: .65;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
  margin-bottom: 28px;
}
.newsletter__form{
  display:flex; gap: 0;
  border-bottom: 1px solid rgba(245,240,232,0.28);
  max-width: 460px; margin: 0 auto;
  transition: border-color .25s ease;
}
.newsletter__form:focus-within{ border-color: rgba(244,211,219,0.55); }
.newsletter__form input{
  flex: 1;
  background: transparent; border: none;
  color: var(--linen);
  padding: 14px 4px;
  font-family: var(--sans);
  font-size: 14px; letter-spacing: 0.04em;
  outline: none;
}
.newsletter__form input::placeholder{ color: rgba(245,240,232,0.38); }
.newsletter__form button{
  background: transparent; border: none;
  color: var(--linen);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 14px 4px 14px 22px;
  transition: color .25s ease;
}
.newsletter__form button:hover{ color: var(--pink); }
.newsletter__legal{
  margin-top: 20px;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--linen); opacity: .35;
}

/* ============================================================
   FOOTER — dark ink, not berry
   ============================================================ */
.footer{
  background: #1c1410;
  color: var(--linen);
  padding: clamp(72px, 10vh, 120px) var(--gutter) 32px;
}
.footer__top{
  max-width: var(--maxw); margin: 0 auto;
  display:grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: flex-start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,240,232,0.12);
}
@media (max-width: 880px){ .footer__top{ grid-template-columns: 1fr 1fr; } }
.footer__brand .wordmark{
  color: var(--linen);
  font-size: 36px;
  margin-bottom: 24px;
  display: inline-flex; gap: 18px; align-items: center;
}
.footer__brand .wordmark__mark{ filter: brightness(0) invert(1); opacity: .75; }
.footer__brand p{
  font-size: 13px; line-height: 1.65;
  color: var(--linen); opacity: .55;
  max-width: 280px; margin: 0 0 18px;
}
.footer__contact{
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--linen);
  opacity: .75;
}
.footer__contact a{
  border-bottom: 1px solid rgba(245,240,232,0.25);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.footer__contact a:hover{ color: var(--pink); border-color: var(--pink); }
.footer__col h4{
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--linen); opacity: .40;
  margin: 0 0 20px;
}
.footer__col ul{
  list-style: none; padding: 0; margin: 0;
  display:flex; flex-direction: column; gap: 12px;
}
.footer__col a{
  font-size: 13px;
  color: var(--linen); opacity: .75;
  transition: opacity .2s ease, color .2s ease;
}
.footer__col a:hover{ opacity: 1; color: var(--pink); }

.footer__bottom{
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 28px;
  display:flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--linen); opacity: .35;
}
.footer__bottom .right{ display:flex; gap: 28px; }
.footer__bottom .right a:hover{ color: var(--pink); opacity: 1; }

/* ============================================================
   INSTRUMENT section (shop-teaware page) — keeps dark berry bg
   ============================================================ */
.instrument{
  background: var(--berry);
  color: var(--linen);
  padding: clamp(64px, 9vh, 100px) 0 0;
  overflow: hidden;
}
.instrument__head{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vh, 72px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
}
@media (max-width: 880px){
  .instrument__head{ grid-template-columns: 1fr; gap: 32px; }
}
.instrument__head .label{ color: var(--linen); opacity: .45; }
.instrument__title{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--linen);
  margin: 0;
  max-width: 880px;
}
.instrument__title em{ font-style: italic; color: var(--pink); }
.instrument__media{
  position: relative;
  width: 100%;
  aspect-ratio: 2400 / 920;
  overflow: hidden;
  background: var(--cocoa);
}
.instrument__media img{
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.instrument__meta{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 4.5vh, 48px) var(--gutter) clamp(48px, 6vh, 72px);
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--linen);
  opacity: .55;
}
.instrument__meta span{ display:flex; flex-direction: column; gap: 8px; }
.instrument__meta b{
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 18px; letter-spacing: 0; text-transform: none;
  color: var(--linen); opacity: .9;
}

.instruments-grid{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 4vh, 48px) var(--gutter) clamp(72px, 10vh, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 880px){ .instruments-grid{ grid-template-columns: 1fr; gap: 56px; } }
.instruments-grid__divider{
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245,240,232,0.14);
  padding-top: clamp(28px, 4vh, 44px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(20px, 3vh, 32px);
}
@media (max-width: 880px){ .instruments-grid__divider{ grid-template-columns: 1fr; gap: 20px; } }
.instruments-grid__divider .label{ color: var(--linen); opacity: .45; display: block; margin-bottom: 18px; }
.instruments-grid__title{
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--linen); margin: 0; max-width: 520px;
}
.instruments-grid__title em{ font-style: italic; color: var(--pink); }
.instruments-grid__divider p{
  margin: 0; font-size: 13.5px; line-height: 1.7;
  color: var(--linen); opacity: .65; max-width: 440px;
}
.tool{ display:flex; flex-direction: column; }
.tool__media{
  aspect-ratio: 4 / 5;
  background: var(--cocoa);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
}
.tool__media img{
  width:100%; height:100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .6s ease;
}
.tool:hover .tool__media img{ transform: scale(1.04); filter: brightness(0.97); }
.tool__row{
  display:flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid rgba(245,240,232,0.14);
  padding-top: 16px;
}
.tool__name{
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.15;
  color: var(--linen); margin: 0;
}
.tool__name em{ font-style: italic; color: var(--pink); }
.tool__price{
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--linen); opacity: .65;
}
.tool__desc{
  margin: 10px 0 0; font-size: 13px; line-height: 1.65;
  color: var(--linen); opacity: .65; max-width: 320px;
}
.tool__cta{
  margin-top: 16px;
  display:inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink); align-self: flex-start;
}
.tool__cta::after{ content:"→"; transition: transform .25s ease; }
.tool:hover .tool__cta::after{ transform: translateX(4px); }

/* ---------- reveal animations ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity 1.1s cubic-bezier(.2,.6,.2,1), transform 1.1s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in{ opacity: 1; transform: none; }

.img-reveal{ overflow: hidden; }
.img-reveal img{
  transform: scale(1.08);
  opacity: .6;
  transition: transform 1.6s cubic-bezier(.2,.6,.2,1), opacity 1.2s ease;
  will-change: transform;
}
.img-reveal.is-in img{ transform: scale(1); opacity: 1; }

.rise{ display: inline-block; overflow: hidden; vertical-align: bottom; }
.rise > span{
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.rise.is-in > span{ transform: translateY(0); }
.rise.d1 > span{ transition-delay: .08s; }
.rise.d2 > span{ transition-delay: .18s; }
.rise.d3 > span{ transition-delay: .28s; }

/* ---------- scroll progress rail ---------- */
.scroll-track{
  position: fixed;
  top: 96px; bottom: 32px;
  right: clamp(14px, 2vw, 28px);
  width: 1px;
  background: rgba(26,26,26,0.12);
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}
.scroll-track.is-ready{ opacity: 1; }
.scroll-track__progress{
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%;
  background: var(--berry);
  transition: background .5s ease;
}
.scroll-track__mark{
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: auto;
  transition: color .5s ease;
  pointer-events: none;
  color: var(--berry);
}
.scroll-track__mark svg{ width: 100%; height: auto; display: block; transform-origin: 50% 75%; }
.scroll-track.on-dark{ background: rgba(245,240,232,0.15); }
.scroll-track.on-dark .scroll-track__progress{ background: var(--linen); }
.scroll-track.on-dark .scroll-track__mark{ color: var(--linen); }
.scroll-track__pct{
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink); opacity: .40;
  font-feature-settings: "tnum";
  transition: color .4s ease;
}
.scroll-track.on-dark .scroll-track__pct{ color: var(--linen); }

@media (max-width: 720px){ .scroll-track{ display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .reveal, .img-reveal img, .rise > span{ transition: none !important; transform: none !important; opacity: 1 !important; }
  .scroll-track{ display: none; }
  .hero__media img{ transform: none !important; animation: none !important; opacity: 1 !important; }
  .fly-drop{ display: none; }
  .nav__bowl-icon.is-pulse, .nav__bowl-count.is-bump{ animation: none !important; }
}

::selection{ background: var(--berry); color: var(--linen); }

/* ============================================================
   MOBILE RESPONSIVENESS — additive-only overrides
   Desktop rules above are untouched. Everything below only
   applies at <=768px (tablet) or <=430px (iPhone) and layers
   on top via normal CSS cascade / source order.
   ============================================================ */

/* ---------- global: no horizontal scroll, readable text ---------- */
@media (max-width: 768px){
  html, body{ overflow-x: hidden; }

  /* iOS Safari auto-zooms on focus if an input's font-size is under
     16px — bump these two to prevent that (visual size unaffected
     otherwise, they already sit in generously padded pill fields). */
  .newsletter__form input,
  .account-stub input{
    font-size: 16px;
  }
}

/* ---------- touch targets: invisible 44x44 hit-area on icon-only controls ---------- */
@media (max-width: 768px){
  .nav__search-text,
  .nav__icon,
  .nav__menu-btn,
  .menu-panel__close,
  .search-overlay__close,
  .currency-overlay__close{
    position: relative;
  }
  .nav__search-text::before,
  .nav__icon::before,
  .nav__menu-btn::before,
  .menu-panel__close::before,
  .search-overlay__close::before,
  .currency-overlay__close::before{
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 44px; height: 44px;
    transform: translate(-50%, -50%);
  }
  .currency-option, .currency-overlay__continue{ min-height: 44px; }
  .product__cta, .tool__cta,
  .newsletter__form button,
  .footer__col a{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ---------- nav: full-width slide-in panel on iPhone ---------- */
@media (max-width: 430px){
  .menu-panel{ width: 100vw; }
}

/* ---------- nav: relieve crowding on the right-hand icon row on iPhone ---------- */
@media (max-width: 430px){
  .nav__right{ gap: clamp(8px, 2.6vw, 14px); }
  .nav__currency{ font-size: 10px; letter-spacing: 0.1em; }
  .nav__bowl{ gap: 4px; margin-left: 0; }
  .nav__bowl-icon + span{ display: none; }
}

/* ---------- hero: smaller headline, full-width CTA ---------- */
@media (max-width: 430px){
  .hero .btn{ width: 100%; justify-content: center; }
  .page-hero__title{ font-size: clamp(38px, 11vw, 52px); }
  .maison-hero__title{ font-size: clamp(26px, 8vw, 34px); }
  .instr-teaser__title{ font-size: clamp(30px, 8vw, 44px); }
  .section-head__title{ font-size: clamp(28px, 8vw, 40px); }
}

/* ---------- shop pages: product/tool grids 3 -> 2 (tablet) -> 1 (iPhone) ---------- */
@media (max-width: 768px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .instruments-grid{ grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 430px){
  .product-grid{ grid-template-columns: 1fr; gap: 40px; }
  .instruments-grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- maison page: brand pillars single column on iPhone ---------- */
@media (max-width: 430px){
  .story-pillars__grid{ grid-template-columns: 1fr; }
}

/* ---------- newsletter: stacked full-width input + button on iPhone ---------- */
@media (max-width: 430px){
  .newsletter__form{
    flex-direction: column;
    gap: 12px;
    border-bottom: none;
  }
  .newsletter__form input{
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(245,240,232,0.28);
  }
  .newsletter__form button{
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(245,240,232,0.4);
    border-radius: 999px;
    padding: 14px;
  }
}

/* ---------- footer: single column, Brand -> Shop -> Brand -> Care -> Follow ---------- */
@media (max-width: 430px){
  .footer__top{ grid-template-columns: 1fr; }
}
