/* Célestine Morel · herbarium palette: aubergine ink, oxidised moss, chalky bone, rose-quartz paper, a pinch of saffron. */
:root {
  --ink: #1d1722; --ink-2: #2a2130; --ink-3: #3a2f41;
  --moss: #2b3528; --moss-2: #3b4835;
  --bone: #efe7da; --bone-2: #e3d8c5; --bone-3: #d4c6ae;
  --quartz: #ecd5ce; --quartz-2: #ddb9b0;
  --saffron: #d99a2b; --lichen: #b3bd9c;
  --t-dark: #1d1722; --t-dark-2: #574b5c; --t-light: #efe7da; --t-light-2: #bfb3c2;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gut: clamp(1rem, 4vw, 3.5rem);
  --max: 1440px;
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--t-light); font: 400 clamp(1rem, .95rem + .2vw, 1.0625rem)/1.6 var(--display);
  font-variation-settings: 'opsz' 14; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1; letter-spacing: -.035em; margin: 0; font-variation-settings: 'opsz' 96; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono, .kicker { font: 500 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--saffron); color: var(--ink); padding: .7rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.center { text-align: center; margin-top: clamp(2rem, 5vw, 4rem); }
[hidden] { display: none !important; }

/* paper grain over everything, fixed so it never scrolls */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { background-position: 0 0; } 25% { background-position: -37px 23px; } 50% { background-position: 41px -29px; } 75% { background-position: -13px -47px; } }

/* ------------------------------------------------------------ buttons */
.btn { --b: var(--bone); --c: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .8rem 1.5rem;
  background: var(--b); color: var(--c); border: 1px solid var(--b); border-radius: 999px; font-weight: 500; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .4s var(--ease), border-color .4s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--saffron); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); border-color: var(--saffron); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.btn--line { --b: transparent; --c: var(--bone); border-color: rgba(239, 231, 218, .4); }
.btn--ink { --b: var(--ink); --c: var(--bone); }
.btn--ghost { --b: transparent; --c: currentColor; border-color: currentColor; }
.btn--line-dark { --b: transparent; --c: var(--ink); border-color: rgba(29, 23, 34, .35); }
.btn--full { width: 100%; }
.btn--big { min-height: 58px; font-size: 1.05rem; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; cursor: pointer; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; border-radius: 50%; cursor: pointer; transition: background .3s; }
.icon-btn:hover { background: rgba(239, 231, 218, .08); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--saffron); color: var(--ink); font: 500 .68rem/18px var(--mono); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* -------------------------------------------------------------- header */
.announce { background: var(--saffron); color: var(--ink); text-align: center; font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; padding: .55rem var(--gut); }
.announce p { margin: 0; }
.nav { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem var(--gut);
  color: var(--bone); transition: background .5s var(--ease), backdrop-filter .5s, padding .4s var(--ease); }
.nav.is-solid { background: rgba(29, 23, 34, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-block: .45rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font: 500 1.45rem/1 var(--display); letter-spacing: -.04em; }
.brand__name em { font-size: 1.12em; }
.brand__tag { font: 400 .6rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: .35rem; }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); align-items: center; }
.nav__links > a, .nav__more { position: relative; padding: .6rem 0; text-decoration: none; background: none; border: 0; cursor: pointer; font-size: .95rem; }
.nav__links > a::after, .nav__more::after { content: ''; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links > a:hover::after, .nav__links > a[aria-current]::after, .nav__more:hover::after, .nav__more[aria-expanded="true"]::after { transform: none; transform-origin: left; }
.nav__drawer { position: relative; }
.nav__cats { position: absolute; top: calc(100% + .6rem); left: 50%; width: min(420px, 80vw); translate: -50% 0; padding: .8rem; background: var(--bone); color: var(--ink);
  display: grid; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .35s var(--ease); }
.nav__drawer.is-open .nav__cats, .nav__drawer:focus-within .nav__cats { opacity: 1; visibility: visible; transform: none; }
.nav__cats a { display: flex; gap: 1rem; align-items: baseline; padding: .55rem .7rem; text-decoration: none; border-bottom: 1px solid rgba(29, 23, 34, .1); transition: background .25s, padding .3s var(--ease); }
.nav__cats a:hover { background: var(--quartz); padding-left: 1.1rem; }
.nav__cats .mono { color: var(--t-dark-2); }
.nav__tools { display: flex; justify-content: flex-end; gap: .2rem; }
.burger { display: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.4px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { transform: translateY(-4px); } .burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); } .burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 6.5rem var(--gut) 2rem; overflow: auto; animation: fadeUp .5s var(--ease); }
.mmenu nav { display: grid; }
.mmenu a { padding: .7rem 0; font-size: 1.6rem; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid rgba(239, 231, 218, .15); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .burger { display: inline-grid; }
  .brand__name { font-size: 1.25rem; }
}

/* -------------------------------------------------------------- stems */
.stem { color: inherit; }
.stem path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.stem--draw path, .stem--small path, .stem--corner path { stroke-dashoffset: var(--draw, 1); }
.is-ready .stem--small path, .is-ready .stem--corner path, .is-ready .stem--draw path { animation: draw 2.6s var(--ease) forwards; }
.is-ready .stem--small path:nth-child(2), .is-ready .stem--corner path:nth-child(2), .is-ready .stem--draw path:nth-child(2) { animation-delay: .5s; }
.is-ready .stem--small path:nth-child(3), .is-ready .stem--corner path:nth-child(3), .is-ready .stem--draw path:nth-child(3) { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* reveal: everything eases in, nothing snaps */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero */
.is-home .announce { position: fixed; top: 0; left: 0; right: 0; z-index: 51; }
.is-home .nav { position: fixed; left: 0; right: 0; top: var(--ah, 0px); }
.announce p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: radial-gradient(120% 90% at 70% 30%, #3a2a3e 0%, var(--ink) 55%, #15111a 100%); }
.hero__stage { position: relative; height: 100%; overflow: hidden; display: grid; align-items: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; color: var(--quartz-2); opacity: .5; transition: opacity 1s; }
.hero.is-3d .hero__fallback { opacity: 0; }
.stem--hero { position: absolute; bottom: -4%; height: 92%; width: auto; }
.stem--hero.a { right: 10%; } .stem--hero.b { right: 26%; height: 70%; transform: scaleX(-1) rotate(-6deg); color: var(--lichen); } .stem--hero.c { right: 2%; height: 60%; transform: rotate(8deg); color: var(--saffron); opacity: .6; }
.stem--hero path { stroke-dashoffset: 1; animation: draw 3.5s var(--ease) .3s forwards; }
.hero__copy { position: relative; z-index: 2; padding: 0 var(--gut); max-width: 62rem; transition: opacity .2s linear, transform .2s linear; will-change: opacity, transform; }
.kicker { color: var(--lichen); margin-bottom: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.kicker::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
.hero__title { font-size: clamp(3.1rem, 9.4vw, 9.5rem); font-weight: 400; line-height: .9; letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 2px 40px rgba(29, 23, 34, .6); }
.hero__title em { color: var(--quartz); display: inline-block; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(6px); animation: word 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.hero__sub { max-width: 34rem; margin: 2rem 0 2.2rem; color: var(--t-light-2); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); text-shadow: 0 1px 20px rgba(29, 23, 34, .8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__beats { position: absolute; z-index: 2; right: var(--gut); bottom: 18vh; margin: 0; padding: 0; list-style: none; width: min(26rem, 80vw); }
.hero__beats li { position: absolute; right: 0; bottom: 0; width: 100%; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1.05 var(--serif); font-style: italic; color: var(--bone);
  opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); text-shadow: 0 2px 30px rgba(29, 23, 34, .9); }
.hero__beats li .mono { display: block; font-style: normal; color: var(--saffron); margin-bottom: .8rem; }
.hero__beats li.is-on { opacity: 1; transform: none; filter: none; }
.hero__scroll { position: absolute; z-index: 2; left: var(--gut); bottom: 2rem; display: flex; align-items: center; gap: .8rem; color: var(--t-light-2); transition: opacity .5s; }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--bone), transparent); animation: drip 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .hero__stage { align-items: end; padding-bottom: 22vh; }
  .hero__beats { left: var(--gut); right: var(--gut); bottom: 7vh; width: auto; }
  .hero__beats li { font-size: 1.5rem; }
  .hero__scroll { display: none; }
  .hero.is-3d .hero__canvas { opacity: .5; }
  .announce { font-size: .62rem; letter-spacing: .04em; }
}

/* --------------------------------------------- category drawers (moss) */
.drawerlist { position: relative; background: var(--ink-2); padding: clamp(4rem, 10vw, 9rem) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); }
.drawerlist__intro { position: sticky; top: 7rem; align-self: start; }
.drawerlist__intro .mono { color: var(--lichen); margin-bottom: 1.2rem; }
.drawerlist__intro h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.drawerlist__intro em { color: var(--saffron); }
.drawerlist__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(239, 231, 218, .2); }
.drawerlist__rows a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: .3rem 1rem; padding: 1.4rem .4rem; text-decoration: none; border-bottom: 1px solid rgba(239, 231, 218, .2);
  transition: padding .5s var(--ease), background .5s var(--ease), color .4s; }
.drawerlist__rows a:hover { padding-left: 1.4rem; background: rgba(239, 231, 218, .05); color: var(--quartz); }
.drawerlist__rows .mono { color: var(--lichen); }
.drawerlist__name { font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.drawerlist__intro-txt { grid-column: 2; color: var(--t-light-2); font-size: .95rem; max-width: 34rem; }
.drawerlist__n { grid-row: 1; grid-column: 3; }
.drawerlist__thumb { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 260px; aspect-ratio: 4/3; object-fit: cover; pointer-events: none; opacity: 0; border: 6px solid var(--bone); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (hover: none), (max-width: 820px) {
  .drawerlist { grid-template-columns: 1fr; }
  .drawerlist__intro { position: static; }
  .drawerlist__rows a { grid-template-columns: 2.2rem 1fr 76px; }
  .drawerlist__thumb { display: block; grid-row: 1 / span 2; grid-column: 3; width: 76px; height: 57px; object-fit: cover; align-self: center; }
  .drawerlist__n { display: none; }
  .peek { display: none; }
}

/* ------------------------------------------- herbarium specimen cards */
.herbier, .results, .related { background: var(--bone); color: var(--t-dark); padding: clamp(4rem, 9vw, 8rem) var(--gut);
  background-image: radial-gradient(rgba(29, 23, 34, .05) 1px, transparent 1px); background-size: 22px 22px; }
.herbier__head { max-width: 46rem; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.herbier__head .mono { color: var(--t-dark-2); }
.herbier__head h2, .related h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); margin: .8rem 0 1.4rem; }
.herbier__head h2 em, .related h2 em { color: #8c4d5a; }
.herbier__head p { color: var(--t-dark-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1.6rem, 3vw, 3rem) clamp(1rem, 2.4vw, 2.4rem); max-width: var(--max); margin: 0 auto; }
.grid--herbier { grid-template-columns: repeat(4, 1fr); }
.grid--herbier .spec:nth-child(4n+2), .grid--herbier .spec:nth-child(4n+4) { margin-top: 3rem; }
@media (max-width: 1100px) { .grid--herbier { grid-template-columns: repeat(3, 1fr); } .grid--herbier .spec { margin-top: 0 !important; } }
@media (max-width: 760px) { .grid--herbier, .grid--shop, .grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; } }

.spec { position: relative; min-width: 0; }
.spec__sheet { position: relative; display: block; padding: .9rem .9rem 0; background: #f6f0e5; text-decoration: none; color: var(--t-dark);
  transform: rotate(var(--r, 0deg)); box-shadow: 0 1px 0 rgba(29, 23, 34, .08), 0 18px 30px -22px rgba(29, 23, 34, .45);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease); transform-style: preserve-3d; }
.spec__sheet::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .0) 40%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s var(--ease); mix-blend-mode: soft-light; }
.spec:hover .spec__sheet { transform: rotate(0deg) translateY(-6px); box-shadow: 0 1px 0 rgba(29, 23, 34, .08), 0 34px 50px -26px rgba(29, 23, 34, .55); }
.spec:hover .spec__sheet::after { background-position: -20% 0; }
.tape { position: absolute; top: -9px; width: 64px; height: 22px; background: rgba(217, 189, 160, .55); backdrop-filter: blur(1px); z-index: 2;
  clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 94%); }
.tape--l { left: -12px; transform: rotate(-32deg); } .tape--r { right: -12px; transform: rotate(28deg); top: auto; bottom: 34%; background: rgba(221, 185, 176, .6); }
.spec__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ebe4d8; }
.spec__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.92) contrast(1.04); transition: transform 1.2s var(--ease); }
.spec:hover .spec__img img { transform: scale(1.06); }
.spec__label { padding: .9rem .1rem 1rem; border-top: 1px dashed rgba(29, 23, 34, .2); margin-top: .9rem; }
.spec__no { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .5rem; font: 400 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-dark-2); }
.spec__no span:last-child { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 1.4vw, 1.4rem); letter-spacing: -.01em; line-height: 1.1; min-height: 2.2em; }
.spec__meta { display: flex; justify-content: space-between; align-items: baseline; margin: .7rem 0 0; font-size: .85rem; color: var(--t-dark-2); }
.spec__price { color: var(--t-dark); font-weight: 600; font-size: 1rem; }
.tag { position: absolute; top: 1.4rem; left: 1.4rem; z-index: 2; background: var(--ink); color: var(--bone); font: 500 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .45rem .55rem; }
.tag--out { background: var(--bone-3); color: var(--ink); }
.spec__add { position: absolute; right: .5rem; top: calc(.9rem + (100% - 7rem) * 0); margin-top: .5rem; z-index: 3; display: inline-flex; align-items: center; gap: .3rem;
  min-height: 44px; min-width: 44px; padding: 0 .9rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--bone); cursor: pointer;
  font-size: .82rem; transform: translateY(6px) scale(.9); opacity: 0; transition: .45s var(--ease); }
.spec__add svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.spec:hover .spec__add, .spec__add:focus-visible { opacity: 1; transform: none; }
.spec__add:hover { background: var(--saffron); color: var(--ink); }
.spec__add:disabled { display: none; }
@media (hover: none) { .spec__add { opacity: 1; transform: none; padding: 0; width: 44px; justify-content: center; } .spec__add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ------------------------------------------------ process (rose quartz) */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); background: var(--quartz); color: var(--t-dark); padding: clamp(4rem, 10vw, 9rem) var(--gut); }
.process__art { position: relative; height: 70vh; align-self: center; color: #6d3f4a; display: grid; place-items: center; }
.process__art .stem { height: 100%; width: auto; }
.process__text .mono { color: var(--t-dark-2); }
.process__text h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin: 1rem 0 3rem; }
.process__text h2 em { color: #6d3f4a; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 12vh, 9rem); padding-bottom: 10vh; }
.process__steps li { border-top: 1px solid rgba(29, 23, 34, .25); padding-top: 1.4rem; max-width: 32rem; }
.process__steps h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: .8rem 0 .9rem; }
.process__steps p { color: var(--t-dark-2); }
@media (max-width: 820px) { .process { grid-template-columns: 1fr; } .process__art { position: relative; top: 0; height: 46vh; } }

/* ------------------------------------------------------ moods (ink) */
.moods { position: relative; padding: clamp(4rem, 10vw, 8rem) var(--gut); background: var(--ink); transition: background 1.2s var(--ease); overflow: hidden; }
.moods[data-active="blanchi"] { background: #2d2730; } .moods[data-active="naturel"] { background: #2a2a20; } .moods[data-active="teinte"] { background: #2f1d2c; }
.moods__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.moods__head .mono { color: var(--lichen); margin-bottom: 1rem; }
.moods__head h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.moods__head h2 em { color: var(--quartz); }
.moods__switch { display: inline-flex; padding: 4px; border: 1px solid rgba(239, 231, 218, .25); border-radius: 999px; position: relative; }
.moods__switch button { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: none; cursor: pointer; transition: background .5s var(--ease), color .4s; }
.moods__switch button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.moods__line { font: italic 400 clamp(1.3rem, 2.4vw, 2rem)/1.2 var(--serif); max-width: 40rem; color: var(--t-light-2); }
.moods__panel { animation: fadeUp .8s var(--ease); }
.moods__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0 1.5rem; scrollbar-width: thin; }
.moods__item { scroll-snap-align: start; text-decoration: none; display: grid; gap: .4rem; }
.moods__item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: 120px 120px 2px 2px; filter: saturate(.9); transition: border-radius .8s var(--ease), filter .6s; }
.moods__item:hover img { border-radius: 2px; filter: none; }
.moods__item span:not(.mono) { font-size: .95rem; }
.moods__item .mono { color: var(--lichen); }

/* ----------------------------------------------------- facts (bone) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bone); color: var(--t-dark); border-top: 1px solid var(--bone-3); }
.fact { padding: clamp(2.5rem, 6vw, 5rem) var(--gut); border-right: 1px solid var(--bone-3); }
.fact:last-child { border-right: 0; }
.fact__n { font: 300 clamp(4rem, 9vw, 8.5rem)/.85 var(--display); letter-spacing: -.06em; margin: 0 0 1rem; color: var(--moss); }
.fact__n small { font-size: .35em; letter-spacing: 0; margin-left: .1em; }
.fact__l { color: var(--t-dark-2); margin: 0; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--bone-3); } }

/* ------------------------------------------------- atelier (moss) */
.atelier { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; background: var(--ink-2); padding: clamp(4rem, 10vw, 9rem) var(--gut); }
.atelier .mono { color: var(--lichen); }
.atelier h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 1rem 0 2rem; }
.atelier p { color: var(--t-light-2); max-width: 34rem; font-size: 1.1rem; }
.atelier__fig { margin: 0; background: var(--bone); padding: 1rem 1rem 0; transform: rotate(1.4deg); }
.atelier__fig img { mix-blend-mode: multiply; }
.atelier__fig figcaption { color: var(--t-dark-2); padding: .9rem 0; }
@media (max-width: 820px) { .atelier { grid-template-columns: 1fr; } }

/* ----------------------------------------------- letter (quartz) */
.letter { background: var(--quartz); color: var(--t-dark); text-align: center; padding: clamp(4rem, 10vw, 8rem) var(--gut); }
.letter h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.letter h2 em { color: #6d3f4a; }
.letter > p { max-width: 32rem; margin: 1.2rem auto 2rem; color: var(--t-dark-2); }
.letter__form { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 34rem; margin: 0 auto; }
.letter__form input[type=email] { flex: 1 1 16rem; min-height: 50px; padding: 0 1.3rem; border: 1px solid rgba(29, 23, 34, .3); border-radius: 999px; background: rgba(255, 255, 255, .35); color: var(--ink); }
.letter__form .btn { --b: var(--ink); --c: var(--bone); }
.letter__form .form-msg { flex-basis: 100%; }
.socials { display: flex; gap: .3rem; flex-wrap: wrap; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; opacity: .8; transition: .4s var(--ease); }
.social:hover { opacity: 1; background: var(--saffron); border-color: var(--saffron); color: var(--ink); transform: translateY(-3px) rotate(-6deg); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials--big { justify-content: center; margin-top: 2.5rem; color: var(--ink); }

/* ------------------------------------------------------------ footer */
.foot { background: var(--ink); padding: clamp(3rem, 8vw, 6rem) var(--gut) 2rem; overflow: hidden; }
.foot__big { font: 400 clamp(3.4rem, 15vw, 15rem)/.85 var(--display); letter-spacing: -.065em; color: var(--ink-3); white-space: nowrap; margin-bottom: clamp(2rem, 5vw, 4rem); }
.foot__big em { color: #4b3b52; }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--ink-3); padding-top: 2rem; }
.foot__grid .mono { color: var(--lichen); margin-bottom: 1rem; }
.foot__grid p { color: var(--t-light-2); margin-bottom: .4rem; }
.foot__grid a { text-decoration: none; } .foot__grid a:hover { color: var(--bone); text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; font: .72rem/1.4 var(--mono); color: var(--t-light-2); }
.foot__base p { margin: 0; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------- cart drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__veil { position: absolute; inset: 0; background: rgba(21, 17, 26, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bone); color: var(--t-dark); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .6); outline: none; }
.drawer.is-open .drawer__veil { opacity: 1; } .drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--bone-3); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__ship { padding: 1rem 1.4rem; font-size: .88rem; color: var(--t-dark-2); border-bottom: 1px solid var(--bone-3); }
.drawer__ship .bar { height: 3px; background: var(--bone-3); margin-top: .6rem; border-radius: 3px; overflow: hidden; }
.drawer__ship .bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform .8s var(--ease); }
.drawer__items { list-style: none; margin: 0; padding: .4rem 1.4rem; overflow: auto; flex: 1; }
.drawer__items li { display: grid; grid-template-columns: 76px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px dashed var(--bone-3); animation: fadeUp .5s var(--ease); }
.drawer__items img { width: 76px; height: 57px; object-fit: cover; mix-blend-mode: multiply; }
.drawer__items a { text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.1; }
.drawer__items .mini-qty { display: inline-flex; align-items: center; margin-top: .5rem; border: 1px solid var(--bone-3); border-radius: 999px; }
.mini-qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.mini-qty span { min-width: 1.6rem; text-align: center; font: .85rem var(--mono); }
.drawer__items .rm { display: block; margin-top: .6rem; background: none; border: 0; padding: 0; font: .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-dark-2); cursor: pointer; text-decoration: underline; min-height: 24px; }
.drawer__items .price { font-weight: 600; white-space: nowrap; }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; color: var(--t-dark-2); padding: 2rem; }
.stem--small { height: 140px; width: auto; color: #8c4d5a; }
.drawer__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--bone-3); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 1rem; }
.drawer__foot .btn { --b: var(--ink); --c: var(--bone); }
.fine { font-size: .8rem; color: var(--t-dark-2); margin: .8rem 0 0; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 95; translate: -50% 0; background: var(--ink); color: var(--bone); border: 1px solid var(--ink-3); padding: .9rem 1.3rem; border-radius: 999px;
  font-size: .9rem; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .5s var(--ease); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.toast.is-on { opacity: 1; transform: none; }

/* ------------------------------------------------------------- shop */
.shop-head { position: relative; background: radial-gradient(120% 140% at 80% 0%, #3a2a3e 0%, var(--ink) 60%); padding: clamp(3rem, 8vw, 6rem) var(--gut) clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.shop-head .mono { color: var(--lichen); }
.shop-head h1 { font-size: clamp(3rem, 9vw, 8rem); margin: 1rem 0 1.2rem; }
.shop-head h1 em { color: var(--quartz); }
.shop-head p:last-child { max-width: 36rem; color: var(--t-light-2); margin: 0; }
.stem--corner { position: absolute; right: 4vw; bottom: -10%; height: 130%; width: auto; color: var(--quartz-2); opacity: .45; }
.filters { position: sticky; top: 62px; z-index: 20; background: rgba(239, 231, 218, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--t-dark); padding: .8rem var(--gut); border-bottom: 1px solid var(--bone-3); }
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .6rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 1rem; border: 1px solid rgba(29, 23, 34, .22); border-radius: 999px; font-size: .88rem; white-space: nowrap; transition: .35s var(--ease); }
.chip i { font: normal .68rem var(--mono); opacity: .6; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.filters__row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem; border: 1px solid rgba(29, 23, 34, .22); border-radius: 999px; background: rgba(255, 255, 255, .4); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; min-height: 42px; outline: none; color: var(--ink); }
.select { display: inline-flex; align-items: center; gap: .6rem; }
.select select { min-height: 44px; padding: 0 2.2rem 0 1rem; border: 1px solid rgba(29, 23, 34, .22); border-radius: 999px; background: rgba(255, 255, 255, .4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1722' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 1rem center / 10px; appearance: none; color: var(--ink); cursor: pointer; }
.results { padding-top: 2rem; min-height: 60vh; transition: opacity .4s var(--ease); }
.results[aria-busy="true"] { opacity: .45; }
.results__count { color: var(--t-dark-2); max-width: var(--max); margin: 0 auto 2rem; }
.empty { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 3rem 1rem; color: var(--t-dark-2); }
@media (max-width: 920px) { .filters { top: 60px; } }

/* --------------------------------------------------- product page */
.is-product main, .is-checkout main, .is-thanks main, .is-auth main, .is-account main, .prose-page, .lost { background: var(--bone); color: var(--t-dark); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.5rem var(--gut) 0; color: var(--t-dark-2); font-size: .66rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem) var(--gut) clamp(4rem, 8vw, 6rem); max-width: var(--max); margin: 0 auto; }
.pdp__gallery { position: sticky; top: 90px; align-self: start; }
.pdp__sheet { position: relative; background: #f6f0e5; padding: 1.2rem 1.2rem 0; box-shadow: 0 30px 50px -30px rgba(29, 23, 34, .5); transform: rotate(-.6deg); }
.pdp__main { margin: 0; overflow: hidden; background: #ebe4d8; cursor: zoom-in; aspect-ratio: 4 / 3; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease), opacity .4s; }
.pdp__main.is-zoom img { transform: scale(1.9); }
.pdp__specno { color: var(--t-dark-2); padding: .9rem 0; margin: 0; }
.pdp__thumbs { display: flex; gap: .7rem; margin-top: 1.2rem; }
.pdp__thumbs button { width: 96px; padding: 4px; border: 1px solid transparent; background: #f6f0e5; cursor: pointer; transition: border-color .3s; min-height: 44px; }
.pdp__thumbs button[aria-current] { border-color: var(--ink); }
.pdp__thumbs img { mix-blend-mode: multiply; }
.pdp__info .mono { color: var(--t-dark-2); }
.pdp__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.4rem); letter-spacing: -.02em; line-height: 1; margin: .8rem 0 1.2rem; }
.pdp__price { font-size: 1.9rem; font-weight: 500; letter-spacing: -.02em; margin: 0 0 .5rem; }
.pdp__price small { font: .7rem var(--mono); color: var(--t-dark-2); letter-spacing: .1em; }
.stock { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--t-dark-2); }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: #4f7a45; box-shadow: 0 0 0 4px rgba(79, 122, 69, .18); }
.stock--low i { background: var(--saffron); box-shadow: 0 0 0 4px rgba(217, 154, 43, .2); } .stock--out i { background: #8c4d5a; box-shadow: none; }
.buy { display: flex; gap: .7rem; margin: 1.6rem 0 2rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(29, 23, 34, .3); border-radius: 999px; }
.qty button { width: 46px; height: 52px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 2.6rem; text-align: center; border: 0; background: none; font: 1rem var(--mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn--grow { flex: 1; min-width: 200px; --b: var(--ink); --c: var(--bone); min-height: 54px; }
.pdp__desc { max-width: 36rem; color: var(--t-dark-2); font-size: 1.05rem; }
.label-card { margin: 2rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--ink); background: #f6f0e5; max-width: 30rem; position: relative; }
.label-card::before { content: 'Étiquette d\'herbier'; position: absolute; top: -.6rem; left: 1rem; background: var(--bone); padding: 0 .5rem; font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.label-card div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .45rem 0; border-bottom: 1px dotted rgba(29, 23, 34, .25); }
.label-card div:last-child { border: 0; }
.label-card dt { font: .7rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-dark-2); }
.label-card dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.pdp__promise { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.pdp__promise li::before { content: '✳'; color: #8c4d5a; margin-right: .6rem; }
.related { padding-top: 3rem; }
.related h2 { text-align: center; margin-bottom: 3rem; }
.grid--related { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__gallery { position: static; } .grid--related { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------- forms */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 500; }
.field label i { font-style: normal; color: var(--t-dark-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem 1rem; border: 1px solid rgba(29, 23, 34, .25); border-radius: var(--radius); background: #f8f3ea; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217, 154, 43, .35); }
.field input[aria-invalid="true"] { border-color: #a0394b; }
.hint { font-size: .8rem; color: var(--t-dark-2); margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; } .row3 { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 0 1rem; }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } }
.form-msg { min-height: 1.4em; margin: .8rem 0 0; font-size: .9rem; }
.form-msg.is-err { color: #a0394b; } .form-msg.is-ok { color: #3f6837; }

/* ------------------------------------------------------- checkout */
.co { padding: clamp(2rem, 5vw, 4rem) var(--gut) clamp(4rem, 8vw, 6rem); max-width: var(--max); margin: 0 auto; }
.co__head { margin-bottom: 2.5rem; }
.co__head .mono { color: var(--t-dark-2); }
.co__head h1 { font-size: clamp(2.8rem, 7vw, 6rem); margin: .8rem 0 1rem; }
.co__head h1 em { color: #8c4d5a; }
.co__login { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; padding: 1.2rem; border: 1px dashed rgba(29, 23, 34, .3); margin-top: 1rem; max-width: 52rem; }
.co__login .field { flex: 1 1 200px; margin: 0; } .co__login .form-msg { flex-basis: 100%; margin: 0; }
.co__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.co__form fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.co__form legend { font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 1.2rem; display: flex; gap: .8rem; align-items: baseline; }
.co__form legend .mono { color: #8c4d5a; }
.pay { display: grid; gap: .7rem; }
.pay__opt { display: flex; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid rgba(29, 23, 34, .2); cursor: pointer; transition: border-color .3s, background .3s; background: #f8f3ea; }
.pay__opt:has(input:checked) { border-color: var(--ink); background: #fff9ef; }
.pay__opt input { accent-color: var(--ink); width: 20px; height: 20px; margin-top: .15rem; }
.pay__opt span { display: grid; gap: .2rem; } .pay__opt small { color: var(--t-dark-2); }
.co__form .btn { --b: var(--ink); --c: var(--bone); }
.co__sum { position: sticky; top: 90px; background: #f6f0e5; padding: 1.6rem; box-shadow: 0 30px 50px -35px rgba(29, 23, 34, .5); }
.co__sum h2 { margin-bottom: 1rem; color: var(--t-dark-2); }
.co__sum ul, .thanks__order ul { list-style: none; margin: 0; padding: 0; }
.co__sum li, .thanks__order li { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--bone-3); font-size: .92rem; }
.co__sum li img, .thanks__order li img { width: 64px; height: 48px; object-fit: cover; mix-blend-mode: multiply; }
.co__sum li i, .thanks__order li i { font-style: normal; color: var(--t-dark-2); font-family: var(--mono); font-size: .8rem; }
.co__sum dl, .thanks__order dl { margin: 1rem 0 0; }
.co__sum dl div, .thanks__order dl div { display: flex; justify-content: space-between; padding: .35rem 0; }
.co__sum dd, .thanks__order dd { margin: 0; }
.co__total { border-top: 1px solid var(--ink); margin-top: .5rem; padding-top: .8rem !important; font-size: 1.3rem; font-weight: 600; }
@media (max-width: 900px) { .co__grid { grid-template-columns: 1fr; } .co__sum { position: static; order: -1; } }

/* ------------------------------------------------------------ thanks */
.thanks { position: relative; padding: clamp(3rem, 7vw, 6rem) var(--gut); max-width: 1200px; margin: 0 auto; overflow: hidden; }
.thanks .mono { color: var(--t-dark-2); }
.thanks h1 { font-size: clamp(3rem, 9vw, 8rem); margin: 1rem 0; }
.thanks h1 em { color: #8c4d5a; }
.thanks__lead { font-size: 1.2rem; color: var(--t-dark-2); }
.stem--thanks { position: absolute; right: 2%; top: 0; height: 60%; width: auto; color: #8c4d5a; opacity: .5; }
.thanks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 3rem 0; position: relative; }
.thanks__pay, .thanks__order { background: #f6f0e5; padding: 1.6rem; }
.thanks__pay h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.bank { font: .9rem/1.7 var(--mono); background: var(--bone); padding: 1rem; white-space: pre-wrap; border-left: 3px solid var(--saffron); }
.claim { background: var(--ink); color: var(--bone); padding: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.claim h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.claim p { color: var(--t-light-2); } .claim a { color: var(--bone); }
.claim__row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.claim__row input { flex: 1 1 220px; min-height: 50px; padding: 0 1rem; border: 1px solid rgba(239, 231, 218, .4); background: rgba(239, 231, 218, .08); color: var(--bone); border-radius: var(--radius); }
.claim .btn { --b: var(--bone); --c: var(--ink); }
.claim .fine { color: var(--t-light-2); }
.claim .form-msg.is-err { color: #f2b6c0; } .claim .form-msg.is-ok { color: var(--lichen); }
@media (max-width: 800px) { .thanks__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- auth/account */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.auth__art { background: var(--quartz); padding: clamp(3rem, 7vw, 6rem) var(--gut); position: relative; overflow: hidden; }
.auth__art .stem { position: absolute; right: 6%; bottom: -6%; height: 80%; width: auto; color: #8c4d5a; opacity: .5; }
.auth__art h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin: 1rem 0 1.5rem; position: relative; }
.auth__art h1 em { color: #6d3f4a; }
.auth__art p { max-width: 26rem; color: var(--t-dark-2); position: relative; }
.auth__forms { padding: clamp(3rem, 7vw, 6rem) var(--gut); max-width: 34rem; width: 100%; }
.tabs { display: flex; gap: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--bone-3); }
.tabs button { min-height: 48px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--t-dark-2); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.auth .btn, .acc .btn--ink { --b: var(--ink); --c: var(--bone); }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth__art { min-height: 0; } }
.acc { padding: clamp(2rem, 6vw, 5rem) var(--gut); max-width: var(--max); margin: 0 auto; }
.acc__head { display: grid; gap: .6rem; justify-items: start; margin-bottom: 3rem; }
.acc__head .mono { color: var(--t-dark-2); }
.acc__head h1 { font-size: clamp(2.8rem, 7vw, 6rem); } .acc__head h1 em { color: #8c4d5a; }
.acc__head p { margin: 0; color: var(--t-dark-2); }
.acc__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.acc h2 { font-size: 1.8rem; margin: 0 0 1.4rem; } .acc form + h2 { margin-top: 3rem; }
.orders { list-style: none; padding: 0; margin: 0; }
.orders > li { border-top: 1px solid var(--bone-3); }
.orders summary { display: grid; grid-template-columns: auto 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; cursor: pointer; list-style: none; min-height: 44px; }
.orders summary::-webkit-details-marker { display: none; }
.orders ul { list-style: none; padding: 0 0 1rem; margin: 0; }
.orders ul li { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .4rem 0; font-size: .9rem; }
.orders ul img { mix-blend-mode: multiply; }
.status { font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; background: var(--bone-2); }
.status--expdie, .status--livre { background: #d5e0c8; } .status--annule { background: #ecd0d4; } .status--paye { background: #f1ddb3; }
@media (max-width: 820px) { .acc__grid { grid-template-columns: 1fr; } .orders summary { grid-template-columns: 1fr auto; } }

/* ------------------------------------------------------ text pages */
.prose-page { position: relative; padding: clamp(3rem, 8vw, 7rem) var(--gut); overflow: hidden; }
.prose-page header { max-width: 60rem; margin: 0 auto 3rem; }
.prose-page header .mono { color: var(--t-dark-2); }
.prose-page h1 { font-size: clamp(3rem, 8vw, 7rem); margin-top: 1rem; } .prose-page h1 em { color: #8c4d5a; }
.prose { max-width: 40rem; margin: 0 auto; font-size: 1.12rem; color: #3b3240; position: relative; }
.prose h2 { font-size: 2rem; margin: 3rem 0 1rem; color: var(--ink); }
.prose .btn { --b: var(--ink); --c: var(--bone); margin-top: 1rem; }
.stem--side { position: absolute; left: 3%; top: 20%; height: 70%; width: auto; color: var(--moss-2); opacity: .35; }
.lost { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; padding: 4rem var(--gut); }
.lost .stem { height: 180px; width: auto; color: #8c4d5a; }
.lost h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); } .lost h1 em { color: #8c4d5a; }
.lost .mono { color: var(--t-dark-2); }

/* ------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero { height: auto; } .hero__stage { position: relative; height: auto; min-height: 100svh; }
  .hero__beats { position: relative; right: auto; bottom: auto; width: auto; padding: 0 var(--gut) 3rem; margin-top: 2rem; display: grid; gap: 1rem; }
  .hero__beats li { position: static; opacity: 1; transform: none; filter: none; font-size: 1.4rem; }
  .hero__title .w { opacity: 1; transform: none; filter: none; }
  .stem path { stroke-dashoffset: 0 !important; }
}

/* ------------------------------------------- sign-in buttons + account menu */
.nav__tools { align-items: center; }
.nav__auth { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; margin-left: .3rem; border-radius: 999px; background: var(--bone); color: var(--ink); border: 1px solid var(--bone);
  font-size: .88rem; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.nav__auth:hover { background: var(--saffron); border-color: var(--saffron); }
.nav__auth--line { background: transparent; color: var(--bone); border-color: rgba(239, 231, 218, .4); }
.nav__auth--line:hover { color: var(--ink); }
.nav__auth-icon { display: none; }
.acct { position: relative; }
.acct__menu { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 230px; background: var(--bone); color: var(--ink); padding: .6rem; display: grid; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); animation: fadeUp .3s var(--ease); z-index: 60; }
.acct__menu .mono { color: var(--t-dark-2); padding: .5rem .6rem .7rem; text-transform: none; letter-spacing: 0; font-size: .75rem; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--bone-3); margin: 0 0 .3rem; }
.acct__menu a, .acct__menu button { display: block; text-align: left; padding: .65rem .6rem; min-height: 44px; text-decoration: none; background: none; border: 0; cursor: pointer; font-size: .95rem; }
.acct__menu a:hover, .acct__menu button:hover { background: var(--quartz); }
.mmenu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 1.2rem; }
.mmenu .mmenu__btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1rem; border-radius: 999px; background: var(--bone); color: var(--ink); font-size: 1rem; border: 1px solid var(--bone); text-decoration: none; cursor: pointer; }
.mmenu .mmenu__btn--line { background: transparent; color: var(--bone); border-color: rgba(239, 231, 218, .4); }
@media (max-width: 1100px) { .nav__auth { display: none; } .nav__auth-icon { display: inline-grid; } }

/* ------------------------------------------------------- sign-in modal */
.authmodal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 1rem; }
.authmodal__veil { position: absolute; inset: 0; background: rgba(21, 17, 26, .6); backdrop-filter: blur(4px); animation: fadeIn .4s var(--ease); }
.authmodal__box { position: relative; width: min(440px, 100%); max-height: calc(100svh - 2rem); overflow: auto; background: var(--bone); color: var(--t-dark); padding: clamp(1.6rem, 5vw, 2.4rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); animation: fadeUp .5s var(--ease); outline: none; }
.authmodal__x { position: absolute; top: .6rem; right: .6rem; color: var(--ink); }
.authmodal__x:hover { background: var(--bone-2); }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-width: 560px) { .authmodal { place-items: end stretch; padding: 0; } .authmodal__box { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; } }

/* ------------------------------------------------- e-mail-first steps */
.authflow { color: var(--t-dark); }
.authflow__kicker { color: var(--t-dark-2); margin-bottom: .6rem; }
.authflow__title { font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: .9rem; }
.authflow__lead { color: var(--t-dark-2); margin-bottom: 1.4rem; }
.authflow__step { animation: fadeUp .45s var(--ease); }
.authflow .btn { --b: var(--ink); --c: var(--bone); }
.authflow__who { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 1rem; margin-bottom: 1.2rem; background: #f7f2e9; border: 1px solid var(--bone-3); font-size: .92rem; }
.authflow__who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.authflow__who button { flex: none; min-height: 36px; }
.authflow__alt { display: grid; gap: .5rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--bone-3); }
.authflow__alt .link { justify-self: start; min-height: 32px; font-size: .92rem; }
.authflow__note { font-size: .85rem; color: var(--t-dark-2); background: #f7f2e9; padding: .8rem 1rem; border-left: 3px solid var(--saffron); margin: .6rem 0 0; }
.pw { position: relative; }
.pw input { padding-right: 4.6rem; }
.pw button { position: absolute; right: 4px; top: 50%; translate: 0 -50%; min-height: 42px; padding: 0 .8rem; background: none; border: 0; font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-dark-2); cursor: pointer; }
.code-input { font: 500 1.7rem/1 var(--mono) !important; letter-spacing: .5em; text-align: center; padding-left: .5em !important; }
.authflow .row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; font-size: .88rem; }
.auth__forms .authflow__kicker { display: none; }
