/* beautiqué — elemental beauty
   Palette drawn from limestone, travertine, sand and agate. */

:root {
  --bone: #ECE9E4;
  --limestone: #DFDBD4;
  --travertine: #CBC5BB;
  --sandstone: #A1998D;
  --umber: #6E665C;
  --agate: #4E4741;
  --basalt: #2A2826;
  --shadow: #1B1A18;

  --ink: var(--basalt);
  --ink-soft: #5A554F;
  --rule: rgba(42, 40, 38, .14);

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

  --gutter: clamp(16px, 3.2vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* nothing may push the page sideways: decorative layers deliberately run past the edges */
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
main { overflow-x: clip; width: 100%; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-weight: 500; }
::selection { background: var(--travertine); color: var(--basalt); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--umber); outline-offset: 3px; }

/* The logo is a pale wordmark on transparency; tint it with filters. */
.logo-img { width: 100%; height: auto; user-select: none; pointer-events: none; }
.logo-ink { filter: brightness(.17) sepia(.12); }

/* Film grain over everything, like sand on a lens */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .15  0 0 0 0 .1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, 1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--umber); margin: 0 0 22px;
}
.eyebrow--light { color: var(--travertine); }
.display {
  font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.02em;
  font-size: clamp(44px, 6.4vw, 104px); margin: 0;
}
.display em { color: var(--umber); }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 38ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 100px; overflow: hidden; isolation: isolate;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--light { background: var(--bone); color: var(--basalt); }
.btn--light::before { background: var(--basalt); }
.btn--light:hover { color: var(--bone); }
.btn--ghost-light { border: 1px solid rgba(236, 233, 228, .55); color: var(--bone); }
.btn--ghost-light::before { background: var(--bone); }
.btn--ghost-light:hover { color: var(--basalt); }
.btn--ink { background: var(--basalt); color: var(--bone); }
.btn--ink::before { background: var(--umber); }
.btn--block { width: 100%; }
.link-btn {
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bone);
  display: grid; place-items: center;
}
.loader-mark { position: relative; width: min(56vw, 560px); }
.loader-veil { position: absolute; inset: -4% -2%; background: var(--bone); transform-origin: right; }
.loader-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--umber);
}
.loader-count { font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); color: var(--basalt);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.nav.is-scrolled { background: rgba(236, 233, 228, .82); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav--light { color: var(--bone); }
.nav--light.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav--light .logo-ink { filter: none; }
.nav--light .nav-chapter { color: var(--travertine); }
.nav--light .nav-bag-count { background: var(--bone); color: var(--basalt); }
.nav--light .nav-icon:hover { background: rgba(236, 233, 228, .14); }
.nav-logo { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.nav-logo.is-on { opacity: 1; visibility: visible; }
.nav-logo .logo-img { transition: filter .5s var(--ease); }
.nav-left { display: flex; gap: 30px; }
.nav-left a, .nav-bag, .nav-chapter {
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.nav-left a { position: relative; }
.nav-left a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-left a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-logo { width: 148px; display: block; }
.nav-right { display: flex; gap: 22px; align-items: center; justify-content: flex-end; }
.nav-chapter { color: var(--umber); overflow: hidden; height: 1.6em; display: inline-block; }
.nav-chapter span { display: inline-block; }
.nav-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background .4s; }
.nav-icon:hover { background: var(--limestone); }
.nav-bag { display: inline-flex; align-items: center; gap: 8px; }
.nav-bag-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 20px;
  background: var(--basalt); color: var(--bone); font-size: 10px; letter-spacing: 0;
}
.nav-burger { display: none; width: 36px; height: 36px; position: relative; }
.nav-burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: currentColor; }
.nav-burger span:first-child { top: 14px; } .nav-burger span:last-child { top: 21px; }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--bone);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu a { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.1; }
.menu-close { position: absolute; top: 24px; right: var(--gutter); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Ambient light + sand canvas ---------- */
main { position: relative; z-index: 1; }
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(90% 70% at 70% 20%, #F4F2EF 0%, rgba(244, 242, 239, 0) 60%), linear-gradient(120deg, #E5E1DB 0%, #EEEBE7 45%, #D9D3CA 100%);
}
.ambient i {
  position: absolute; top: -60vh; width: 16vw; height: 220vh; transform: rotate(34deg);
  background: linear-gradient(90deg, rgba(252, 251, 249, 0), rgba(252, 251, 249, .75) 45%, rgba(252, 251, 249, .75) 55%, rgba(252, 251, 249, 0));
  filter: blur(26px); animation: shaft 22s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { left: 18vw; }
.ambient i:nth-child(2) { left: 42vw; width: 9vw; opacity: .7; animation-duration: 28s; }
.ambient i:nth-child(3) { left: 66vw; width: 22vw; opacity: .55; animation-duration: 34s; }
@keyframes shaft { from { translate: -4vw 0; } to { translate: 6vw 0; } }
.sand-canvas { position: fixed; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.no-sand .sand-canvas { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: clip; }
.hero-arch {
  position: absolute; left: 50%; translate: -50% 0; top: calc(var(--nav-h) + 1vh); z-index: 0;
  width: min(27vw, 52vh); height: calc(100% - var(--nav-h) - 14vh);
  clip-path: inset(0% 0% 0% 0% round 999px 999px 0px 0px); overflow: hidden; background: var(--travertine);
}
.hero-arch img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 78%; filter: saturate(.55) brightness(1.03); }
.hero-logo { position: absolute; left: 50%; top: 46%; translate: -50% -50%; z-index: 2; width: min(66vw, 952px, 128vh); aspect-ratio: 1200 / 380; }
.hero-floats { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; will-change: transform; }
.float img { width: 100%; height: auto; filter: drop-shadow(0 28px 26px rgba(42, 40, 38, .16)); animation: bob 9s ease-in-out infinite alternate; }
.f-gel { left: 8vw; top: 25vh; width: 11.5vw; z-index: 1; rotate: -16deg; }
.f-swatch { right: 6vw; top: 12vh; width: 5vw; z-index: 1; rotate: 28deg; filter: blur(1.6px); opacity: .85; }
.f-drop { right: 8vw; top: 50vh; width: 10vw; z-index: 3; }
.f-cream { left: 32vw; bottom: 15vh; width: 7.5vw; z-index: 3; rotate: 14deg; filter: blur(.5px); }
.f-swatch img { animation-duration: 12s; animation-delay: -4s; }
.f-drop img { animation-duration: 10s; animation-delay: -2s; }
.f-cream img { animation-duration: 8s; animation-delay: -6s; }
@keyframes bob { from { transform: translateY(-9px) rotate(-2deg); } to { transform: translateY(11px) rotate(2deg); } }
.hero-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4.5vh; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-tag { margin: 0; max-width: 34ch; font-family: var(--serif); font-size: clamp(19px, 1.45vw, 23px); line-height: 1.3; color: var(--ink-soft); }
.hero-tag em { color: var(--umber); }
.hero-hint { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-hint span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.hero-hint i { width: 1px; height: 44px; margin-right: 4px; background: linear-gradient(var(--umber), transparent); transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Texture ---------- */
.texture { position: relative; background: var(--bone); }
.texture-stage {
  height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr auto; gap: 5vw; align-items: center;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 4vh;
}
.texture-copy { position: relative; height: min(76vh, 720px); display: flex; flex-direction: column; }
.texture-count { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--umber); font-variant-numeric: lining-nums; }
.texture-items { position: relative; flex: 1; }
.tx-item { position: absolute; left: 0; right: 0; bottom: 0; }
.tx-mimg { display: none; }
.tx-word { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(96px, 13vw, 230px); line-height: .8; letter-spacing: -.045em; }
.tx-word em { color: var(--umber); font-style: normal; }
.tx-line { margin: 30px 0 34px; max-width: 28ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.25; color: var(--ink-soft); }
.tx-product { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; max-width: 480px; padding-top: 18px; border-top: 1px solid var(--rule); }
.tx-thumb { width: 64px; aspect-ratio: 4 / 5; background: var(--limestone); border-radius: 2px; overflow: hidden; }
.tx-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.tx-name { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.tx-add { height: 44px; padding: 0 20px; }
.texture-progress { position: relative; width: 160px; height: 1px; margin: 4px 0 18px; background: var(--rule); }
.texture-progress i { position: absolute; inset: 0; background: var(--basalt); transform-origin: left; transform: scaleX(0); }
.texture-frame { position: relative; justify-self: end; height: min(84vh, 860px); aspect-ratio: 3 / 4; max-width: 100%; }
.tx-img { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 3px; background: var(--limestone); }
.tx-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); }
.tx-prod { position: absolute; left: -18%; bottom: 6%; width: 46%; height: 46%; object-fit: contain; object-position: 0% 100%; z-index: 5; filter: var(--cast); }
.tx-prod:not(:first-of-type) { opacity: 0; }

/* ---------- Arch: from sand to stone ---------- */
.arch-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.arch-eyebrow { position: absolute; top: calc(var(--nav-h) + 3vh); left: var(--gutter); margin: 0; }
.arch-frame {
  position: absolute; left: 30vw; bottom: 0; width: 40vw; height: 86vh; overflow: hidden;
  clip-path: inset(0% 0% 0% 0% round 20vw 20vw 0vw 0vw); background: var(--travertine);
}
.arch-media { position: absolute; inset: 0; transform-origin: 50% 33%; }
.arch-media img { width: 100%; height: 100%; object-fit: cover; }
.arch-anchor { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; }
.arch-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6.6vw, 116px); line-height: .95; letter-spacing: -.025em; }
.arch-left, .arch-right { position: absolute; top: 50%; display: flex; flex-direction: column; transform: translateY(-50%); }
.arch-left { left: var(--gutter); }
.arch-right { right: var(--gutter); text-align: right; }
.arch-title em { color: var(--umber); }
.arch-ctas { position: absolute; right: var(--gutter); bottom: 6vh; display: flex; align-items: center; gap: 24px; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(100px, 16vh, 180px); max-width: 1500px; margin: 0 auto; }
.manifesto-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6vw; align-items: stretch; }
.manifesto-side { position: relative; }
.manifesto-sphere { position: sticky; top: 24vh; width: 100%; max-width: 440px; aspect-ratio: 1; margin-left: auto; }
.manifesto-text {
  font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 70px); line-height: 1.12; letter-spacing: -.015em; margin: 0;
}
.manifesto-text .w { opacity: .14; }
.pill {
  display: inline-block; width: 2.3em; height: .9em; border-radius: 1em; vertical-align: -.02em;
  background: var(--img) center / cover no-repeat, var(--travertine); margin: 0 .08em;
}
.manifesto-foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  margin-top: clamp(80px, 12vh, 140px); padding-top: 32px; border-top: 1px solid var(--rule);
}
.stat { display: flex; align-items: flex-end; gap: 18px; }
.stat strong { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 7vw, 112px); line-height: .8; color: var(--umber); }
.stat span { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Houses (horizontal) ---------- */
.houses { background: var(--limestone); position: relative; }
.houses-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.houses-track { display: flex; align-items: stretch; height: 100%; padding: calc(var(--nav-h) + 4vh) 0 6vh; will-change: transform; }
.house-intro {
  flex: 0 0 auto; width: min(44vw, 640px); padding: 0 5vw 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.house-intro .lede { margin: 30px 0 48px; }
.houses-progress { width: 180px; height: 1px; background: var(--rule); position: relative; }
.houses-progress i { position: absolute; inset: 0; background: var(--basalt); transform: scaleX(0); transform-origin: left; }

.house {
  flex: 0 0 auto; width: min(74vw, 1120px); margin-right: 12vw; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; align-items: stretch;
}
.house-text { display: flex; flex-direction: column; justify-content: space-between; padding: 2vh 0; }
.house-idx { font-family: var(--serif); font-size: 18px; color: var(--umber); }
.house-name {
  font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 7.4vw, 124px); line-height: .9; letter-spacing: -.03em; margin: 0;
}
.house-origin { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); margin: 18px 0 0; }
.house-line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.25; margin: 0 0 20px; max-width: 22ch; }
.house-body { color: var(--ink-soft); max-width: 40ch; margin: 0 0 28px; }
.house-foot { display: flex; align-items: center; gap: 24px; }
.house-media {
  position: relative; overflow: hidden; border-radius: 50vh 50vh 4px 4px; background: var(--travertine);
}
.house-media .house-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); opacity: .5; mix-blend-mode: multiply; }
.house-media .house-prod {
  position: absolute; left: 19%; bottom: 8%; width: 62%; height: 72%;
  object-fit: contain; mix-blend-mode: multiply; filter: var(--cast);
}
.house-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--basalt); background: rgba(236, 233, 228, .8); padding: 7px 12px; border-radius: 20px; }

/* ---------- Rituals ---------- */
.rituals { background: var(--bone); padding: clamp(120px, 18vh, 200px) var(--gutter); }
.section-head { display: flex; flex-direction: column; margin-bottom: clamp(48px, 8vh, 90px); max-width: 1100px; }
.ritual-row { display: flex; gap: 10px; height: min(78vh, 760px); }
.ritual {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 4px; color: var(--bone);
  transition: flex-grow .9s var(--ease); background: var(--travertine); text-align: left;
}
.ritual-row:hover .ritual { flex-grow: .7; }
.ritual-row .ritual:hover { flex-grow: 3.2; }
.ritual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.ritual:hover img { transform: scale(1.02); }
.ritual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 26, 24, .05) 30%, rgba(27, 26, 24, .7)); }
.ritual-label {
  position: absolute; z-index: 2; left: 26px; bottom: 26px; right: 26px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.ritual-label h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4vw, 68px); line-height: .9; margin: 0; }
.ritual-detail { max-width: 30ch; font-size: 14px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ritual:hover .ritual-detail { opacity: 1; transform: none; transition-delay: .25s; }
.ritual-detail span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.ritual-num { position: absolute; z-index: 2; top: 22px; left: 26px; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* ---------- Plinth ---------- */
.plinth { background: rgba(203, 197, 187, .55); }
.plinth-inner {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 6vw;
  padding: clamp(110px, 14vh, 160px) var(--gutter);
}
.plinth-stage { position: relative; aspect-ratio: 736 / 1000; height: min(84vh, 880px); width: auto; max-width: 100%; justify-self: center; overflow: hidden; border-radius: 4px; }
.plinth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.plinth-product {
  position: absolute; left: 39%; bottom: 25.5%; width: 22%; height: 34%; object-fit: contain; object-position: 50% 100%;
  z-index: 2; filter: drop-shadow(-16px 4px 9px rgba(40, 36, 32, .3)) drop-shadow(0 2px 2px rgba(40, 36, 32, .35));
}
.plinth-shadow {
  position: absolute; left: 35.5%; bottom: 24.2%; width: 29%; height: 3.2%; z-index: 1;
  background: radial-gradient(closest-side, rgba(40, 36, 32, .45), transparent); filter: blur(4px);
}
.plinth-anchor { position: absolute; left: 39%; bottom: 25.5%; width: 22%; height: 34%; }
.plinth-copy { max-width: 520px; }
.plinth-house { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 14px; }
.plinth-name { font-size: clamp(44px, 5vw, 84px); }
.plinth-desc { color: var(--ink-soft); margin: 28px 0 36px; max-width: 46ch; }
.plinth-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.plinth-price { font-family: var(--serif); font-size: 34px; }

/* ---------- Shop ---------- */
.shop { background: var(--bone); padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(100px, 14vh, 160px); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.shop-count { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); margin: 0; white-space: nowrap; }
.shop-bar {
  position: sticky; top: var(--nav-h); z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 14px 0; margin-bottom: 36px; background: var(--bone); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.chips, .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  height: 34px; padding: 0 14px; border-radius: 30px; border: 1px solid var(--rule); font-size: 12px; white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s;
}
.chip:hover { border-color: var(--basalt); }
.chip.is-active { background: var(--basalt); color: var(--bone); border-color: var(--basalt); }
.tab { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 6px; color: var(--ink-soft); position: relative; }
.tab.is-active { color: var(--basalt); }
.tab.is-active::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 1px; background: currentColor; }
.shop-bar-right { display: flex; align-items: center; gap: 20px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.sort select {
  font: inherit; letter-spacing: .04em; text-transform: none; font-size: 13px; color: var(--basalt);
  border: 0; border-bottom: 1px solid var(--rule); background: transparent; padding: 4px 18px 4px 0; border-radius: 0; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--basalt) 50%), linear-gradient(135deg, var(--basalt) 50%, transparent 50%);
  background-position: right 5px center, right 1px center; background-size: 4px 4px; background-repeat: no-repeat; cursor: pointer;
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 18px; }
.card { position: relative; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--limestone); border-radius: 3px; cursor: pointer; display: block; width: 100%;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%;
  mix-blend-mode: multiply; transition: opacity .7s var(--ease), transform 1.1s var(--ease);
}
.card-media .alt { opacity: 0; transform: scale(1.06); }
.card:hover .card-media .main { transform: scale(1.05); }
.card:hover .card-media .alt.has-alt { opacity: 1; transform: scale(1); }
.card:hover .card-media .alt.has-alt ~ .main, .card:hover .card-media .main.under { opacity: 0; }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: var(--bone); padding: 6px 10px; border-radius: 20px; }
.card-wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--basalt); transition: transform .4s var(--ease);
}
.card-wish:hover { transform: scale(1.12); }
.card-wish svg { width: 17px; height: 17px; }
.card-wish.is-on path { fill: var(--umber); stroke: var(--umber); }
.card-add {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; height: 44px; border-radius: 40px;
  background: var(--basalt); color: var(--bone); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(calc(100% + 16px)); transition: transform .55s var(--ease), background .35s;
}
.card:hover .card-add, .card-add:focus-visible { transform: translateY(0); }
.card-add:hover { background: var(--umber); }
.card-info { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding-top: 16px; }
.card-house { grid-column: 1 / -1; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--umber); margin: 0 0 4px; }
.card-name { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; margin: 0; }
.card-price { font-size: 14px; font-variant-numeric: tabular-nums; align-self: start; padding-top: 3px; }
.card-meta { grid-column: 1 / -1; font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; }
.grid-empty { text-align: center; padding: 80px 0; font-family: var(--serif); font-size: 26px; color: var(--ink-soft); }

/* ---------- Promise (stacking cards) ---------- */
.promise { padding: clamp(120px, 18vh, 200px) var(--gutter) 10vh; background: var(--bone); }
.stack { position: relative; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 4vh); height: min(72vh, 640px); margin-bottom: 6vh;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 4px; background: var(--limestone);
  transform-origin: 50% 0; box-shadow: 0 -20px 60px -30px rgba(42, 40, 38, .25);
}
.stack-card:nth-child(2) { background: var(--travertine); }
.stack-card:nth-child(3) { background: #BDB6AB; }
.stack-card:nth-child(4) { background: var(--basalt); color: var(--bone); }
.stack-card:nth-child(4) p { color: rgba(236, 233, 228, .7); }
.stack-text { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; }
.stack-idx { font-family: var(--serif); font-style: italic; font-size: 26px; margin-bottom: auto; }
.stack-text h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 72px); line-height: .98; letter-spacing: -.02em; margin: 0 0 22px; max-width: 12ch; }
.stack-text p { max-width: 40ch; color: var(--ink-soft); margin: 0; }
.stack-img { position: relative; overflow: hidden; }
.stack-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sand / footer ---------- */
.sand { position: relative; background: var(--shadow); color: var(--bone); overflow: hidden; }
.sand-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.35) brightness(.6) contrast(1.1); }
.sand-rings { width: min(76vw, 900px); aspect-ratio: 2.4; margin: -6vh 0 4vh; }
.sand-inner { position: relative; padding: clamp(140px, 22vh, 240px) var(--gutter) clamp(100px, 14vh, 160px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.sand .display { font-size: clamp(56px, 9vw, 150px); }
.sand .display em { color: var(--travertine); }
.sand .lede { color: rgba(236, 233, 228, .72); margin: 28px auto 44px; }
.signup { display: flex; gap: 8px; width: min(520px, 100%); padding: 6px; border: 1px solid rgba(236, 233, 228, .3); border-radius: 60px; }
.signup input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--bone); font: inherit; font-size: 15px; padding: 0 18px; outline: none; }
.signup input::placeholder { color: rgba(236, 233, 228, .5); }
.signup-done { font-family: var(--serif); font-style: italic; font-size: 24px; }

.footer { position: relative; padding: 0 var(--gutter) 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 56px 0; border-top: 1px solid rgba(236, 233, 228, .14); }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--travertine); margin: 0 0 18px; }
.footer a, .footer p { display: block; font-size: 14px; color: rgba(236, 233, 228, .72); margin: 0 0 8px; transition: color .3s; }
.footer a:hover { color: var(--bone); }
.footer-word { padding: 2vw 0 3vw; opacity: .95; }
.footer-word img { width: 85%; margin: 0 auto; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .08em; color: rgba(236, 233, 228, .5); }
.footer-base a { display: inline; font-size: 11px; margin: 0; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(27, 26, 24, .42); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.scrim.is-on { opacity: 1; visibility: visible; }

.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(460px, 100vw); background: var(--bone);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .8s var(--ease-io);
}
.bag.is-open { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--rule); }
.bag-head h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; }
.bag-head h3 span { font-family: var(--sans); font-size: 12px; vertical-align: super; color: var(--umber); }
.bag-ship { padding: 18px 28px; border-bottom: 1px solid var(--rule); }
.bag-ship p { margin: 0 0 10px; font-size: 13px; }
.bag-ship-bar { height: 2px; background: var(--limestone); position: relative; overflow: hidden; }
.bag-ship-bar i { position: absolute; inset: 0; background: var(--umber); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.bag-empty { padding: 60px 0; text-align: center; }
.bag-empty p { font-family: var(--serif); font-size: 26px; margin: 0 0 22px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.line-item:last-child { border-bottom: 0; }
.line-img { aspect-ratio: 4 / 5; background: var(--limestone); border-radius: 2px; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.line-house { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--umber); margin: 0 0 2px; }
.line-name { font-family: var(--serif); font-size: 19px; line-height: 1.15; margin: 0 0 12px; }
.line-right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line-price { font-size: 14px; font-variant-numeric: tabular-nums; }
.line-remove { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.line-remove:hover { color: var(--basalt); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 30px; height: 34px; }
.qty button { width: 32px; height: 100%; font-size: 15px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.bag-suggest { padding: 16px 28px; border-top: 1px solid var(--rule); }
.bag-suggest:empty { display: none; }
.suggest-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--umber); margin: 0 0 10px; }
.suggest { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.suggest .line-img { aspect-ratio: 1; }
.suggest-name { font-family: var(--serif); font-size: 17px; line-height: 1.15; margin: 0; }
.suggest-price { font-size: 12px; color: var(--ink-soft); }
.suggest-add { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); font-size: 18px; transition: background .3s, color .3s; }
.suggest-add:hover { background: var(--basalt); color: var(--bone); }
.bag-foot { padding: 20px 28px 26px; border-top: 1px solid var(--rule); background: var(--limestone); }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; }
.bag-total span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.bag-total strong { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.bag-note { font-size: 12px; color: var(--ink-soft); margin: 4px 0 16px; }

.qv { position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 3vh var(--gutter); visibility: hidden; pointer-events: none; }
.qv.is-open { visibility: visible; pointer-events: auto; }
.qv-panel {
  position: relative; width: min(1180px, 100%); max-height: 92vh; overflow: auto; background: var(--bone); border-radius: 4px;
  display: grid; grid-template-columns: 1.1fr 1fr; opacity: 0; transform: translateY(40px) scale(.98);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.qv.is-open .qv-panel { opacity: 1; transform: none; }
.qv-close { position: absolute; top: 22px; right: 24px; z-index: 2; }
.qv-media { background: var(--limestone); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.qv-main { flex: 1; aspect-ratio: 4 / 5; position: relative; }
.qv-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.qv-thumbs { display: flex; gap: 8px; }
.qv-thumbs button { width: 64px; aspect-ratio: 1; border: 1px solid transparent; border-radius: 2px; background: var(--bone); overflow: hidden; }
.qv-thumbs button.is-active { border-color: var(--basalt); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.qv-info { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; }
.qv-house { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); margin: 0 0 12px; }
.qv-name { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: -.015em; margin: 0 0 12px; }
.qv-meta { font-size: 13px; color: var(--ink-soft); margin: 0 0 22px; }
.qv-price { font-family: var(--serif); font-size: 30px; margin: 0 0 22px; }
.qv-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.7; border-top: 1px solid var(--rule); padding-top: 22px; max-height: 220px; overflow: auto; }
.qv-desc p { margin: 0 0 12px; }
.qv-buy { display: flex; gap: 12px; align-items: center; margin: 28px 0 22px; }
.qv-buy .qty { height: 52px; }
.qv-buy .btn { flex: 1; }
.qv-perks { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.qv-perks li::before { content: "—"; margin-right: 10px; color: var(--sandstone); }

.search { position: fixed; inset: 0 0 auto 0; z-index: 62; background: var(--bone); max-height: 88vh; overflow: auto; transform: translateY(-101%); transition: transform .8s var(--ease-io); }
.search.is-open { transform: none; }
.search-inner { padding: 28px var(--gutter) 40px; }
.search-row { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--basalt); padding-bottom: 12px; }
.search-row input { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 72px); border: 0; background: transparent; color: var(--basalt); outline: none; padding: 0; }
.search-row input::placeholder { color: var(--sandstone); }
.search-hint { font-size: 13px; color: var(--ink-soft); margin: 18px 0; }
.search-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.search-results .result { text-align: left; }
.search-results .line-img { margin-bottom: 10px; }
.search-results .suggest-name { font-size: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, calc(100% + 60px));
  background: var(--basalt); color: var(--bone); padding: 14px 22px; border-radius: 40px; font-size: 13px;
  transition: transform .6s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { transform: translate(-50%, 0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 85; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: var(--basalt); color: var(--bone); display: grid; place-items: center; pointer-events: none;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; transform: scale(0); opacity: 0;
}

/* Cut-out product shots sit on the stone tones as solid objects. */
img[src*="/cut/"] { mix-blend-mode: normal !important; }
.card-media img.main[src*="/cut/"] { padding: 12% 16%; filter: var(--cast); }
/* Studio light from the left, as in Nécessaire's own photography: a crisp cast shadow to the right plus a soft
   ambient one below. Nécessaire's cutouts already carry their photographed shadow, so they only take the soft part. */
:root {
  --cast: drop-shadow(7px 5px 3px rgba(40, 36, 32, .17)) drop-shadow(0 20px 24px rgba(40, 36, 32, .1));
  --cast-soft: drop-shadow(0 20px 24px rgba(40, 36, 32, .08));
}
.tx-prod[src*="necessaire-"], .house-prod[src*="necessaire-"], .card-media img.main[src*="necessaire-"] { filter: var(--cast-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .shop-bar { flex-direction: column; align-items: stretch; }
  .shop-bar-right { justify-content: space-between; }
  .search-results { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .nav-left, .nav-chapter { display: none; }
  .nav-burger { display: block; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-logo { width: 116px; justify-self: center; }
  .nav-right { gap: 8px; }
  .hero-arch { width: 62vw; height: 48vh; top: calc(var(--nav-h) + 6vh); }
  .hero-logo { width: 76vw; top: 42%; }
  .f-gel { left: 1vw; top: 17vh; width: 24vw; } .f-swatch { right: 5vw; top: 12vh; width: 11vw; }
  .f-drop { right: 1vw; top: 48vh; width: 21vw; } .f-cream { left: 6vw; top: 50vh; bottom: auto; width: 15vw; }
  .hero-foot { flex-direction: column; align-items: center; text-align: center; }
  .hero-tag { max-width: 28ch; }
  .hero-hint { display: none; }
  .texture-stage { height: auto; grid-template-columns: 1fr; padding: 110px var(--gutter) 60px; }
  .texture-copy { height: auto; }
  .texture-items { display: grid; gap: 64px; margin-top: 30px; }
  .tx-item { position: static; }
  .tx-mimg { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin-bottom: 22px; }
  .tx-word { font-size: 88px; }
  .texture-frame, .texture-progress, .texture-count { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-side { order: -1; }
  .manifesto-sphere { position: relative; top: 0; width: 62vw; margin: 0 auto 40px; }
  .arch-frame { left: 12vw; width: 76vw; height: 60vh; clip-path: inset(0% 0% 0% 0% round 38vw 38vw 0vw 0vw); }
  .arch-left, .arch-right { top: calc(var(--nav-h) + 8vh); transform: none; flex-direction: row; gap: .25em; }
  .arch-left { left: var(--gutter); } .arch-right { left: var(--gutter); right: auto; top: calc(var(--nav-h) + 8vh + 1em); text-align: left; }
  .arch-title { font-size: 46px; }
  .arch-ctas { left: var(--gutter); right: var(--gutter); bottom: 3vh; justify-content: center; z-index: 2; }
  .manifesto-foot { grid-template-columns: 1fr; gap: 28px; }

  .houses-pin { height: auto; display: block; }
  .houses-track { flex-direction: column; height: auto; padding: 100px 0 60px; }
  .house-intro { width: auto; padding: 0 var(--gutter) 40px; }
  .house { width: auto; margin: 0 var(--gutter) 64px; grid-template-columns: 1fr; gap: 24px; }
  .house-media { order: -1; aspect-ratio: 4 / 5; }
  .house-text { gap: 18px; }

  .ritual-row { flex-direction: column; height: auto; }
  .ritual { flex: none; height: 300px; }
  .ritual-row:hover .ritual, .ritual-row .ritual:hover { flex-grow: 0; }
  .ritual-detail { opacity: 1; transform: none; }

  .plinth-inner { grid-template-columns: 1fr; }
  .plinth-stage { height: auto; width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .card-add { transform: none; position: static; margin-top: 10px; width: 100%; height: 40px; }
  .card-media .card-add { display: none; }
  .card-name { font-size: 19px; }
  .shop-head { flex-direction: column; align-items: flex-start; }
  .shop-bar { position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }

  .stack-card { grid-template-columns: 1fr; grid-template-rows: 1fr 40%; height: 76vh; }
  .stack-img { order: -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .qv-panel { grid-template-columns: 1fr; }
  .qv-media { padding: 16px; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
  .cursor { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas .btn { height: 48px; padding: 0 22px; }
  .bag-head, .bag-ship, .bag-items, .bag-suggest, .bag-foot { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* Mood photography leans warm; pull it towards grey limestone so it sits with the palette. */
.plinth-bg, .arch-media img, .ritual img, .stack-img img, .pill { filter: saturate(.62) brightness(1.02); }
.ritual img[src*="texture"], .pill[style*="texture"] { filter: saturate(.85); }
.ritual img[src*="scent"] { filter: sepia(.18) saturate(.7) brightness(.98); }
.house-media .house-bg { filter: saturate(.4); }
