/* Danae Wellness */
:root {
  --paper: #FBFAF2;
  --ink: #1B1D1A;
  --pine: #1F4A44;
  --night: #12302C;
  --sage: #8FA899;
  --clay: #C9805C;
  --gold: #C9A24B;
  --mist: #ECEBDF;
  --line: rgba(27, 29, 26, .14);
  --muted: rgba(27, 29, 26, .62);
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --gut: clamp(16px, 2.3vw, 34px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
i, em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--pine); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .01em; color: var(--muted); margin-bottom: 18px; }
.h1 { font-size: clamp(2.9rem, 7vw, 6.6rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4.1rem); }
.h1 i, .h2 i { font-size: 1.1em; line-height: .9; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.42; max-width: 34em; color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; font-weight: 500; color: var(--muted); }
.wrap { padding-inline: var(--gut); }

/* rolling link label */
.roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: bottom; }
.roll__track { display: flex; flex-direction: column; transition: transform .5s var(--ease); }
a:hover .roll__track, button:hover .roll__track, a:focus-visible .roll__track { transform: translateY(-50%); }

.link { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  padding: 16px 30px; font-weight: 500; font-size: 15px;
  transition: background .35s, transform .35s var(--ease);
}
.btn:hover { background: var(--pine); }
.btn:active { transform: scale(.98); }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Reveal motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 34ms + var(--delay, 0ms)); }
[data-split].in .w > span { transform: none; }

.curtain { position: fixed; inset: 0; z-index: 200; background: var(--paper); pointer-events: none; opacity: 1; transition: opacity .6s var(--ease-io); }
.is-loaded .curtain { opacity: 0; }
.is-leaving .curtain { opacity: 1; transition-duration: .4s; }

/* ---------- Ink canvas ---------- */
.ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.ink--fallback {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(31, 74, 68, .9), transparent 62%),
    radial-gradient(50% 60% at 10% 95%, rgba(22, 51, 47, .85), transparent 60%),
    var(--paper);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--gut); color: #FBFAF2; mix-blend-mode: difference;
  font-size: 15px; font-weight: 500;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gut); top: 60px; background: #fff; color: #000; padding: 8px 12px; }
.brand { font-size: 24px; letter-spacing: -.03em; line-height: 1; justify-self: start; }
.brand i { font-size: 1.22em; }
.site-nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.site-nav a { position: relative; }
.site-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; }
.site-header__right { justify-self: end; display: flex; gap: 22px; }
.menu-btn { display: none; }
.bag-btn, .menu-btn { font-weight: 500; }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gut) 32px; visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0); transition: clip-path .8s var(--ease-io); }
.menu nav { display: flex; flex-direction: column; }
.menu a { font-size: clamp(2.6rem, 12vw, 4.5rem); letter-spacing: -.03em; line-height: 1.12; overflow: hidden; }
.menu a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
.menu-open .menu a span { transform: none; }
.menu__foot { font-size: 14px; opacity: .7; }
.menu-open, .bag-open { overflow: hidden; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Bag ---------- */
.bag { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .6s; }
.bag-open .bag { visibility: visible; transition: none; }
.bag__scrim { position: absolute; inset: 0; background: rgba(18, 48, 44, .45); opacity: 0; transition: opacity .5s; }
.bag-open .bag__scrim { opacity: 1; }
.bag__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .7s var(--ease);
}
.bag-open .bag__panel { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-size: 1.7rem; }
.bag__close { font-weight: 500; border-bottom: 1px solid; }
.bag__items { flex: 1; overflow: auto; padding: 4px 26px; }
.bag__empty { padding: 60px 0; display: grid; gap: 16px; justify-items: start; color: var(--muted); }
.bag__empty .link { color: var(--ink); }
.bag__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag__thumb { background: var(--mist); border-radius: 8px; overflow: hidden; }
.bag__name { font-size: 1.15rem; display: block; }
.bag__kind { font-size: 13px; color: var(--muted); display: block; margin-bottom: 10px; }
.bag__price { font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 32px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; }
.bag__foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); }
.bag__row { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 500; }
.bag__small { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.bag__note { margin-top: 14px; font-size: 14px; padding: 12px 14px; background: var(--mist); border-radius: 8px; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--paper); }
.hero > * { position: absolute; }
.hero .blend { mix-blend-mode: difference; color: #FBFAF2; }
.hero__halo {
  left: 50%; top: 46%; width: min(64vh, 70vw); aspect-ratio: 1; margin: calc(min(64vh, 70vw) / -2) 0 0 calc(min(64vh, 70vw) / -2);
  border-radius: 50%; border: 1px solid var(--gold); opacity: 0; transform: scale(.86);
  transition: opacity 1.6s var(--ease) .9s, transform 2.4s var(--ease) .9s; z-index: 1;
}
.is-loaded .hero__halo { opacity: .9; transform: none; }
.hero__halo::after { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid var(--gold); opacity: .45; }
.hero__rain { inset: 0; z-index: 1; pointer-events: none; }
.hero__rain span {
  position: absolute; top: -12%; width: 1px; height: var(--h); background: linear-gradient(transparent, var(--gold));
  opacity: var(--o); animation: rain var(--t) linear var(--dl) infinite;
}
@keyframes rain { to { transform: translateY(125vh); } }
.hero__figure {
  left: 50%; bottom: 0; height: min(92%, 112vw); aspect-ratio: 1060 / 1290; z-index: 2;
  translate: -50% 0; opacity: 0; transition: opacity .6s var(--ease) .2s;
}
.is-loaded .hero__figure { opacity: 1; }
.hero__figure svg { width: 100%; height: 100%; overflow: visible; }
/* traced figure: the outline draws itself, then the silhouette, hair and shadow settle in */
.hero__outline { fill: none; stroke: currentColor; stroke-width: 2.500; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease-io) .3s; }
.is-loaded .hero__outline { stroke-dashoffset: 0; }
.hero__fill { opacity: 0; transition: opacity 1.6s var(--ease) 1.9s; }
.is-loaded .hero__fill { opacity: 1; }
.hero__hair path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) 1.6s; }
.is-loaded .hero__hair path { stroke-dashoffset: 0; }
.hero__shadow { opacity: 0; transition: opacity 2.2s var(--ease) 2.2s; }
.is-loaded .hero__shadow { opacity: 1; }
.hero__title {
  left: var(--gut); top: clamp(138px, 19vh, 190px); z-index: 4;
  font-size: clamp(3rem, 5.6vw, 6rem); letter-spacing: -.035em; line-height: 1; white-space: nowrap;
}
.hero__title i { font-size: 1.14em; line-height: .8; }
.hero__title .m { display: inline-block; overflow: hidden; padding: .1em .06em .16em; margin: -.1em -.06em -.16em; vertical-align: top; }
.hero__title .m > span { display: inline-block; transform: translateY(115%); transition: transform 1.5s var(--ease) calc(.35s + var(--i) * .12s); }
.is-loaded .hero__title .m > span { transform: none; }
.hero__intro { left: var(--gut); top: calc(clamp(138px, 19vh, 190px) + clamp(3rem, 5.6vw, 6rem) + 34px); z-index: 4; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; line-height: 1.32; max-width: 19em; display: grid; gap: 18px; }
.hero__origin { left: var(--gut); bottom: 28px; z-index: 4; font-size: 14px; }
.hero__origin i { font-size: 1.25em; }
.hero__links { right: var(--gut); bottom: 28px; z-index: 5; display: grid; justify-items: end; gap: 6px; font-size: 14px; font-weight: 500; }
.hero__links a { border-bottom: 1px solid currentColor; }
.hero__scroll { left: 27%; bottom: 26px; translate: -50% 0; z-index: 5; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; display: grid; justify-items: center; gap: 8px; }
.hero__scroll::after { content: ''; width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease) var(--dl, 1s), transform 1.4s var(--ease) var(--dl, 1s); }
.is-loaded .fade-up { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .hero__title { font-size: clamp(2.7rem, 13.5vw, 4.4rem); top: 124px; white-space: normal; line-height: .96; }
  .hero__title .m { display: block; }
  .hero__intro { top: calc(124px + clamp(2.7rem, 13.5vw, 4.4rem) * 2 + 22px); max-width: 16em; }
  .hero__intro p:last-child { display: none; }
  .hero__figure { height: min(56%, 118vw); }
  .hero__halo { top: 66%; }
  .hero__origin, .hero__scroll { display: none; }
  .hero__links { grid-auto-flow: column; gap: 12px; right: auto; left: var(--gut); font-size: 13px; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 17vw, 240px) var(--gut) clamp(80px, 11vw, 160px); display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.statement__text { font-size: clamp(1.9rem, 4.3vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 17em; }
.statement__text i { font-size: 1.1em; }
.statement__text .sw { opacity: .14; transition: opacity .5s; }
.statement__text .sw.on { opacity: 1; }
@media (max-width: 820px) { .statement { grid-template-columns: 1fr; } }

/* ---------- Day story (pinned, layered) ---------- */
.day { position: relative; height: 420vh; }
.day__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); color: var(--ink); transition: color .8s; }
.day__stage.is-night { color: var(--paper); }
.day__stage > * { position: absolute; }
.day__sky { inset: 0; }
.day__stars { inset: 0; opacity: 0; }
.day__stars span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--paper); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.day__sun { left: 0; top: 0; width: clamp(110px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); margin: calc(clamp(110px, 17vw, 250px) / -2); will-change: transform; }
.day__sun::after { content: ''; position: absolute; inset: -22%; border-radius: 50%; border: 1px solid var(--gold); opacity: .5; }
.day__moon { right: 16%; top: 16%; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); opacity: 0; box-shadow: 0 0 80px rgba(251, 250, 242, .35); }
.day__moon::after { content: ''; position: absolute; inset: -6% -6% 14% 22%; border-radius: 50%; background: var(--night); }
.day__layer { left: -4%; right: -4%; bottom: -2px; width: 108%; will-change: transform; }
.day__layer svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.day__layer .stem { stroke: currentColor; }
.day__layer--far { color: #C3D2C6; } .day__layer--mid { color: #8FA899; } .day__layer--near { color: #1F4A44; }
.day__layer::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 100vh; background: currentColor; }
.day__layer--far { bottom: 16%; }
.day__layer--mid { bottom: 4%; }
.day__copy { left: var(--gut); top: 0; bottom: 0; width: min(560px, calc(100% - var(--gut) * 2)); z-index: 5; }
.day__chapter { position: absolute; left: 0; top: 22%; width: 100%; pointer-events: none; }
.day__chapter.on { pointer-events: auto; }
.day__chapter > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.day__chapter.on > * { opacity: 1; transform: none; transition-delay: calc(var(--n) * 90ms + 150ms); }
.day__chapter .eyebrow { color: inherit; opacity: 0; }
.day__chapter.on .eyebrow { opacity: .7; }
.day__chapter h2 { font-size: clamp(2.6rem, 6.2vw, 6rem); margin-bottom: 22px; }
.day__chapter h2 i { font-size: 1.1em; }
.day__chapter p { font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 26em; margin-bottom: 26px; }
.day__progress { right: var(--gut); top: 50%; translate: 0 -50%; z-index: 6; display: grid; gap: 14px; font-size: 12px; font-weight: 500; text-align: right; }
.day__progress span { opacity: .35; transition: opacity .5s; }
.day__progress span.on { opacity: 1; }
.day__time { right: var(--gut); bottom: 28px; z-index: 6; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
  .day__chapter { top: 16%; }
  .day__progress { display: none; }
  .day__layer { left: -40%; right: -40%; width: 180%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 170px) var(--gut); position: relative; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: var(--paper); }
.section--night .eyebrow, .section--night .meta { color: rgba(251, 250, 242, .65); }

.grid { display: grid; gap: clamp(28px, 3vw, 48px) clamp(14px, 1.6vw, 26px); grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid--3 { grid-template-columns: 1fr; } }

/* product card */
.pcard { display: flex; flex-direction: column; }
.pcard__art { display: block; background: var(--mist); border-radius: 10px; overflow: hidden; aspect-ratio: 400 / 480; }
.section--mist .pcard__art { background: var(--paper); }
.art { width: 100%; height: 100%; overflow: visible; }
.art g, .cover g { transition: transform .9s var(--ease); }
.pcard__art .art { transition: transform 1.2s var(--ease); }
.pcard__art:hover .art { transform: scale(1.04); }
.pcard__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.pcard__meta h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.pcard__meta p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.pcard__price { font-weight: 500; }
.pcard__add { align-self: flex-start; margin-top: 12px; font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; }

/* resources teaser (fanned paper) */
.fan { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.fan__stack { position: relative; aspect-ratio: 1 / 1; max-width: 620px; width: 100%; justify-self: center; }
.fan__sheet { position: absolute; left: 27%; top: 10%; width: 46%; aspect-ratio: 210 / 297; background: var(--paper); border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); overflow: hidden; color: var(--ink); }
.fan__sheet .cover { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.fan__sheet b { position: relative; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 2rem); line-height: 1; max-width: 6em; }
.fan__sheet small { position: relative; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.fan__sheet { padding: 5%; display: flex; flex-direction: column; justify-content: space-between; transform-origin: 50% 130%; will-change: transform; }
.hero { --px: 0; --py: 0; --sy: 0; }
.hero .ink { transform: translateY(calc(var(--sy) * .35px)); }
.hero__figure { transform: translate(calc(var(--px) * -16px), calc(var(--py) * -8px + var(--sy) * .18px)); }
.hero__halo { translate: calc(var(--px) * 26px) calc(var(--py) * 18px + var(--sy) * .3px); }
.hero__title { transform: translate(calc(var(--px) * 9px), calc(var(--py) * 6px + var(--sy) * -.12px)); }
.hero__intro { transform: translate(calc(var(--px) * 5px), calc(var(--py) * 4px + var(--sy) * -.06px)); }
.fan__copy .lede { margin: 24px 0 34px; color: inherit; opacity: .85; }
@media (max-width: 820px) { .fan { grid-template-columns: 1fr; } .fan__stack { order: 2; } }

/* post card */
.post-card__art { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--mist); margin-bottom: 16px; }
.cover { width: 100%; height: 100%; }
.post-card h3 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); margin: 10px 0 10px; line-height: 1.08; }
.post-card__ex { color: var(--muted); font-size: 15px; max-width: 30em; }
.post-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.post-card h3 a:hover { background-size: 100% 1px; }

/* journal rows on home */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: baseline; padding: clamp(20px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .6s var(--ease); }
.row:hover { padding-left: 18px; }
.row h3 { font-size: clamp(1.5rem, 3vw, 2.9rem); }
.row .meta { flex-direction: column; gap: 2px; }
.row__arrow { font-size: 1.4rem; transition: transform .6s var(--ease); }
.row:hover .row__arrow { transform: translateX(8px); }
.row__peek { position: absolute; right: 12%; top: 50%; width: 260px; aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(-50%) scale(.9) rotate(-3deg); transition: opacity .5s, transform .7s var(--ease); z-index: 2; }
.row:hover .row__peek { opacity: 1; transform: translateY(-50%) rotate(2deg); }
@media (max-width: 820px) { .row { grid-template-columns: 1fr auto; } .row .meta { grid-column: 1 / -1; flex-direction: row; } .row__peek { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; overflow: hidden; padding: 150px var(--gut) clamp(34px, 5vw, 64px); background: var(--paper); }
.page-hero__copy { position: relative; z-index: 2; mix-blend-mode: difference; color: #FBFAF2; display: grid; gap: 22px; }
.page-hero__copy .eyebrow { color: inherit; margin: 0; }
.page-hero__copy .lede { color: inherit; }
.page-hero--short { min-height: 0; padding-top: 170px; }

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(30px, 4vw, 56px); }
.chip { padding: 9px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.count { font-size: 14px; color: var(--muted); margin-left: auto; align-self: center; }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 90px); padding: 110px var(--gut) clamp(70px, 9vw, 130px); align-items: start; }
.product__art { position: sticky; top: 90px; background: var(--mist); border-radius: 14px; overflow: hidden; aspect-ratio: 400 / 480; max-height: calc(100svh - 120px); width: 100%; }
.product__art .art { width: 100%; height: 100%; }
.product__info { padding-top: clamp(10px, 5vw, 70px); max-width: 560px; }
.crumbs { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.product__info h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
.product__kind { font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-top: 8px; }
.product__price { display: flex; gap: 16px; align-items: baseline; font-size: 1.4rem; font-weight: 500; margin: 26px 0 18px; }
.product__price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.product__desc { font-size: 1.1rem; line-height: 1.5; margin-bottom: 30px; }
.product__buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.product__buy .qty button { width: 44px; height: 100%; min-height: 52px; }
.product__buy .btn { flex: 1; }
.product__small { font-size: 13px; color: var(--muted); }
.acc { margin-top: 38px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.2rem; line-height: 1; transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 22px; color: var(--muted); max-width: 34em; }
.acc__body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; padding-top: 86px; } .product__art { position: relative; top: 0; } }

/* ---------- Resources ---------- */
.rcard__paper { position: relative; aspect-ratio: 4 / 3.5; background: var(--mist); border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
.rcard__sheet { position: absolute; left: 26%; top: 10%; width: 48%; aspect-ratio: 210 / 297; background: var(--paper); border-radius: 3px; box-shadow: 0 24px 40px -24px rgba(27, 29, 26, .55); overflow: hidden; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; transition: transform .9s var(--ease); rotate: -3deg; }
.rcard__sheet--back { rotate: 6deg; left: 31%; background: #fff; }
.rcard__sheet .cover { position: absolute; inset: 0; opacity: .85; }
.rcard__title { position: relative; font-size: clamp(1.1rem, 1.7vw, 1.6rem); line-height: 1; }
.rcard__brand { position: relative; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.rcard h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.rcard__desc { color: var(--muted); font-size: 15px; margin-bottom: 16px; max-width: 30em; }
.rcard:hover .rcard__sheet { transform: translateY(-8px); }

/* ---------- Journal ---------- */
.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(22px, 4vw, 70px); align-items: center; margin-bottom: clamp(60px, 8vw, 120px); }
.feature__art { aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; display: block; background: var(--mist); }
.feature h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); margin: 16px 0 18px; }
.feature p.ex { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; max-width: 28em; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

.article { padding: 150px var(--gut) clamp(60px, 8vw, 110px); }
.article__head { max-width: 1000px; margin: 0 auto clamp(34px, 5vw, 64px); text-align: center; display: grid; gap: 22px; justify-items: center; }
.article__head h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); }
.article__cover { max-width: 1200px; margin: 0 auto clamp(40px, 6vw, 80px); aspect-ratio: 5 / 2; border-radius: 14px; overflow: hidden; background: var(--mist); }
.prose { max-width: 660px; margin: 0 auto; font-size: 1.17rem; line-height: 1.62; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child::first-letter { font-family: var(--serif); font-style: italic; font-size: 3.9em; float: left; line-height: .74; padding: .1em .1em 0 0; }
.prose h2 { font-size: 1.9rem; margin-top: 1.9em; letter-spacing: -.02em; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin: 1.5em 0; padding-left: 24px; border-left: 1px solid var(--gold); }
.article__next { max-width: 660px; margin: clamp(50px, 7vw, 90px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.article__next a { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.08; }

/* ---------- Values strip ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 34px; }
.values h3 { font-size: 1.7rem; margin-bottom: 10px; }
.values p { color: var(--muted); max-width: 24em; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--night); color: var(--paper); overflow: hidden; }
.site-footer .ink { opacity: .9; }
.site-footer__inner { position: relative; padding: clamp(70px, 9vw, 130px) var(--gut) 22px; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.site-footer .eyebrow { color: rgba(251, 250, 242, .65); }
.news { display: flex; gap: 10px; margin-top: 28px; max-width: 460px; border-bottom: 1px solid rgba(251, 250, 242, .5); }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: inherit; font: inherit; padding: 12px 0; }
.news input::placeholder { color: rgba(251, 250, 242, .5); }
.news input:focus { outline: none; }
.news:focus-within { border-color: var(--gold); }
.news button { font-weight: 500; }
.news__msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: rgba(251, 250, 242, .8); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; justify-self: end; width: min(100%, 380px); }
.site-footer__cols a { display: block; padding: 3px 0; }
.site-footer__cols a:hover { color: var(--gold); }
.site-footer__mark { font-size: clamp(6rem, 29vw, 30rem); line-height: .8; letter-spacing: -.05em; margin: clamp(40px, 7vw, 100px) 0 clamp(14px, 3vw, 40px) -.04em; white-space: nowrap; user-select: none; }
.site-footer__mark i { font-size: 1.12em; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(251, 250, 242, .65); }
@media (max-width: 820px) { .site-footer__top { grid-template-columns: 1fr; } .site-footer__cols { justify-self: start; } }

.empty { padding: 180px var(--gut) 120px; text-align: center; display: grid; gap: 22px; justify-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-split] .w > span, .fade-up, .hero__title .m > span { opacity: 1 !important; transform: none !important; }
}
