:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --cream: #f5f3ee;
  --gray-50: #f8f8f6;
  --gray-100: #efefed;
  --gray-200: #e0deda;
  --gray-400: #736d68;
  --gray-600: #545049;
  --gray-800: #2d2a27;
  --accent-warm: #d4a574;
  --accent-pink: #e8b4b8;
  --accent-gold: #c9b896;
  --accent-terracotta: #a35c3a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --nav-h: 72px;
  --arch: 999px 999px 6px 6px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--black);
  color: var(--black);
  font: 300 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ol, ul { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent-terracotta); outline-offset: 3px; }
[data-tone="dark"] :focus-visible, .piece :focus-visible { outline-color: var(--accent-warm); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1.4rem;
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent-warm); flex: none; }
.eyebrow--gold { color: var(--accent-gold); }
.numeral { font: italic 400 1.15rem/1 var(--serif); letter-spacing: 0.04em; text-transform: none; color: var(--accent-warm); }

.display {
  font: 300 clamp(2.5rem, 5.4vw, 4.8rem)/1.02 var(--serif);
  letter-spacing: -0.025em;
  margin-top: 1.4rem;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--accent-terracotta); }
[data-tone="dark"] .display em, .autoral .display em { color: var(--accent-warm); }
.display--xl { font-size: clamp(2.8rem, 7.2vw, 6.6rem); line-height: 0.98; }
.display--sm { font-size: clamp(2.1rem, 4vw, 3.4rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0 1.7rem;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo), background-color 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.5s;
}
.btn:hover { transform: translateY(-3px); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--accent-warm); box-shadow: 0 18px 40px -16px rgba(212, 165, 116, 0.7); }
.btn--ghost { border-color: rgba(250, 250, 248, 0.28); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent-warm); background: rgba(212, 165, 116, 0.12); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--accent-terracotta); box-shadow: 0 18px 40px -18px rgba(163, 92, 58, 0.8); }
.btn--outline { border-color: var(--gray-400); color: var(--black); }
.btn--outline:hover { border-color: var(--black); }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.orb--warm { width: 540px; height: 540px; background: var(--accent-warm); opacity: 0.13; top: -160px; right: 6%; }
.orb--pink { width: 440px; height: 440px; background: var(--accent-pink); opacity: 0.09; bottom: -180px; left: -140px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  color: var(--white);
  transition: background-color 0.5s, color 0.5s, height 0.5s var(--ease-out-expo), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { height: 62px; background: rgba(10, 10, 10, 0.74); backdrop-filter: blur(14px) saturate(1.2); border-color: rgba(201, 184, 150, 0.14); }
.nav[data-tone="light"] { color: var(--black); }
.nav[data-tone="light"].is-scrolled { background: rgba(250, 250, 248, 0.82); border-color: var(--gray-200); }
.nav__brand { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; text-decoration: none; font: 400 1.32rem/1 var(--serif); letter-spacing: 0.01em; }
.nav__brand img { width: 34px; height: 34px; filter: invert(1); transition: filter 0.5s; }
.nav[data-tone="light"] .nav__brand img { filter: none; }
.nav__links { display: flex; margin-left: auto; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.3s;
}
.nav__links a::after { content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 10px; height: 1px; background: var(--accent-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out-expo); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.nav__cta:hover { background: var(--accent-warm); border-color: var(--accent-warm); color: var(--black); }
.nav__menu { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav__menu-bars, .nav__menu-bars::before { display: block; width: 22px; height: 1px; margin: 0 auto; background: currentColor; transition: transform 0.4s var(--ease-out-expo); }
.nav__menu-bars { position: relative; transform: translateY(-4px); }
.nav__menu-bars::before { content: ''; position: absolute; top: 8px; }
.nav.is-open .nav__menu-bars { transform: rotate(45deg); }
.nav.is-open .nav__menu-bars::before { transform: translateY(-8px) rotate(-90deg); }
.nav__progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--accent-warm); transform-origin: 0 50%; transform: scaleX(var(--page, 0)); }

/* The hero is a pinned run: .hero__pin sticks for the height of .hero__run while --p goes 0..1.
   The centre arch grows into the frame, everything else fades, then the closing line appears.
   On narrow screens only the stage sticks and the copy slides under it first; motion.js writes
   --cut, the share of the run that takes, so the zoom starts once the copy is gone. */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
  overflow: clip;
  --q: clamp(0, calc((var(--p, 0) - var(--cut, 0)) / (1 - var(--cut, 0))), 1);
  --zoom: clamp(0, calc(var(--q) * 1.6), 1);
  --fade: clamp(0, calc((var(--q) - 0.06) * 2.2), 1);
  --end: clamp(0, calc((var(--q) - 0.62) * 3.4), 1);
}
.hero__pin {
  position: sticky;
  top: var(--pin-top, 0px);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 5rem;
}
.hero__run { height: 90svh; }
.hero.is-zoomed :is(.hero__copy, .arch--left, .arch--right, .hero__scroll) { visibility: hidden; }
.hero__glow {
  position: absolute;
  top: -12%;
  right: -10vw;
  width: 72vw;
  height: 120%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(212, 165, 116, 0.2), rgba(201, 184, 150, 0.07) 48%, transparent 76%);
  opacity: calc(1 - var(--fade));
  animation: glowOn 2.6s var(--ease-out-expo) 0.6s both;
}
.hero .orb { z-index: -1; }
.hero__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}
.hero__copy { position: relative; z-index: 3; translate: 0 calc(var(--fade) * -14vh); opacity: calc(1 - var(--fade) * 1.5); }
.hero__title { font: 300 clamp(3.3rem, 7.4vw, 7.6rem)/0.9 var(--serif); letter-spacing: -0.035em; margin: 1.5rem 0 1.8rem; }
.hero__title .line { display: block; overflow: hidden; padding: 0 0.14em 0.1em 0; margin-bottom: -0.1em; }
.hero__title .line > span { display: inline-block; animation: rise 1.3s var(--ease-out-expo) both; animation-delay: calc(0.15s + var(--i) * 0.11s); }
.hero__title em { font-style: italic; color: var(--accent-warm); }
.hero__lede { max-width: 31rem; color: rgba(250, 250, 248, 0.72); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; animation: fadeUp 1.2s var(--ease-out-expo) 0.55s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; animation: fadeUp 1.2s var(--ease-out-expo) 0.7s both; }
.hero__stats { display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); max-width: 31rem; margin-top: 2.8rem; padding-top: 1.3rem; border-top: 1px solid rgba(201, 184, 150, 0.22); animation: fadeUp 1.2s var(--ease-out-expo) 0.85s both; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dd { font: 300 2.5rem/1 var(--serif); color: var(--accent-gold); font-variant-numeric: lining-nums; }
.hero__stats dt { margin-top: 0.45rem; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250, 250, 248, 0.55); }

.hero__stage { position: relative; z-index: 4; height: min(76svh, 700px); container-type: inline-size; }
.halo {
  position: absolute;
  left: 50%;
  top: 24cqw;
  width: 122cqw;
  height: 122cqw;
  translate: -50% -50%;
  rotate: calc(var(--fade) * 40deg);
  scale: calc(1 + var(--fade) * 0.25);
  opacity: calc(1 - var(--fade));
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.halo__spin { animation: spin 180s linear infinite; }
.halo__ring { fill: none; stroke: var(--accent-gold); stroke-width: 1.2; opacity: 0.45; }
.halo__ring--thin { stroke-width: 0.6; opacity: 0.3; }
.halo__dots { fill: none; stroke: var(--accent-gold); stroke-width: 1.4; stroke-dasharray: 0.5 11; stroke-linecap: round; opacity: 0.45; }
.halo__ray {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.62;
  stroke-dasharray: 1 1;
  animation: draw 1.8s var(--ease-out-expo) both;
  animation-delay: calc(0.35s + var(--d) * 1.2s);
}
.halo__ray--short { stroke-width: 0.9; opacity: 0.38; }

.arch { position: absolute; display: block; text-decoration: none; color: inherit; z-index: 1; }
.arch__img { position: absolute; inset: 0; overflow: hidden; border-radius: var(--arch); background: #141210; animation: archIn 1.6s var(--ease-out-expo) both; }
.arch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out-expo); }
.arch__img--lamp::after { content: ''; position: absolute; inset: 0; background: #050505; opacity: 0; animation: lampOn 2.4s ease-out 1s both; }
.arch::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(201, 184, 150, 0.4);
  border-radius: 999px 999px 10px 10px;
  pointer-events: none;
  transition: inset 0.7s var(--ease-out-expo), border-color 0.5s;
  animation: fadeIn 1.4s ease 0.9s both;
}
.arch:hover::before, .arch:focus-visible::before { inset: -18px; border-color: var(--accent-warm); }
.arch:hover img { transform: scale(1.05); }
.arch:focus-visible { outline: none; }
.arch__cap { position: absolute; left: 0; right: 0; top: calc(100% + 1.2rem); text-align: center; font: italic 400 1.02rem/1.2 var(--serif); color: rgba(250, 250, 248, 0.7); animation: fadeIn 1.2s ease 1.3s both; }
/* motion.js measures the centre arch's resting box inside the pinned frame (--fx --fy px, --fw px,
   --sx --sy growth ratios); the box is scaled unevenly to the frame and the photo scaled back evenly. */
.arch--center {
  left: 24%;
  width: 52%;
  top: 0;
  height: 80%;
  z-index: 2;
  --gx: calc(1 + (var(--sx, 1) - 1) * var(--zoom));
  --gy: calc(1 + (var(--sy, 1) - 1) * var(--zoom));
  transform-origin: 0 0;
  translate: calc(var(--fx, 0) * -1px * var(--zoom)) calc(var(--fy, 0) * -1px * var(--zoom));
  scale: var(--gx) var(--gy);
}
.arch--center .arch__img { border-radius: calc(var(--fw, 1998) * 0.5px * (1 - var(--zoom))) calc(var(--fw, 1998) * 0.5px * (1 - var(--zoom))) calc(6px * (1 - var(--zoom))) calc(6px * (1 - var(--zoom))); }
.arch--center .arch__img img { scale: calc(max(var(--gx), var(--gy)) / var(--gx)) calc(max(var(--gx), var(--gy)) / var(--gy)); }
.arch--center::before, .arch--center .arch__cap { opacity: calc(1 - var(--zoom) * 4); }
.arch--center::after { content: ''; position: absolute; left: -45%; right: -45%; top: -6%; height: 72%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 214, 160, 0.3), transparent); pointer-events: none; opacity: calc(1 - var(--zoom) * 4); animation: glowOn 2.6s ease-out 1.1s both; }
.arch--left { left: 0; top: 36%; width: 24%; height: 47%; translate: calc(var(--fade) * -5vw) calc(var(--fade) * 20vh); rotate: calc(var(--fade) * -5deg); opacity: calc(1 - var(--fade)); }
.arch--right { right: 0; top: 28%; width: 24%; height: 47%; translate: calc(var(--fade) * 5vw) calc(var(--fade) * 28vh); rotate: calc(var(--fade) * 5deg); opacity: calc(1 - var(--fade)); }
.arch--left .arch__img { animation-delay: 0.35s; }
.arch--right .arch__img { animation-delay: 0.5s; }
.arch--center .arch__img { animation-delay: 0.12s; }
.arch--left .arch__img img { object-position: 50% 60%; }
.arch--right .arch__img img { object-position: 45% 70%; }

.arch--center .arch__cap { display: grid; justify-items: center; gap: 0.4rem; left: 8%; right: 8%; top: 14%; z-index: 3; color: #503522; font: 400 clamp(1.1rem, 4.7cqw, 2rem)/1.1 var(--serif); pointer-events: none; }
.hero__new { display: inline-block; padding: 0.15rem 0.6rem; border: 1px solid currentColor; border-radius: 999px; color: #503522; font: 500 0.65rem/1.4 var(--sans); letter-spacing: 0.08em; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(250, 250, 248, 0.45);
  opacity: calc(1 - var(--p, 0) * 4);
}
.hero__scroll i { position: relative; width: 1px; height: 42px; overflow: hidden; background: rgba(250, 250, 248, 0.16); }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--accent-warm); animation: scrollCue 2.2s ease-in-out 2s infinite; transform: translateY(-100%); }
/* The closing line lives in the stage, the element that stays pinned on every width, and is placed at
   the viewport's bottom-left from the stage's measured offsets (--stx, --vb). */
.hero__end {
  position: absolute;
  z-index: 5;
  left: calc(var(--gutter) - var(--stx, 0) * 1px);
  top: calc(var(--vb, 0) * 1px - clamp(2.5rem, 9vh, 6rem));
  width: calc(100vw - var(--gutter) * 2);
  max-width: 30rem;
  margin: 0;
  font: italic 300 clamp(1.9rem, 3.4vw, 3.3rem)/1.15 var(--serif);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.75), 0 0 6px rgba(0, 0, 0, 0.4);
  opacity: var(--end);
  translate: 0 calc(-100% + (1 - var(--end)) * 40px);
  pointer-events: none;
}
.hero__end::before { content: ''; position: absolute; z-index: -1; left: calc(var(--stx, 0) * -1px); bottom: calc(clamp(2.5rem, 9vh, 6rem) * -1); width: 100vw; height: 60svh; background: linear-gradient(transparent, rgba(5, 5, 5, 0.6)); }
.hero__end em { color: var(--accent-warm); }

/* Light sheets slide over the dark section before them */
.sheet {
  position: relative;
  z-index: 1;
  clip-path: inset(0 calc((1 - var(--e, 1)) * 4vw) round calc((1 - var(--e, 1)) * 56px) calc((1 - var(--e, 1)) * 56px) 0 0);
}

.atelie { --story-bg: var(--white); background: var(--white); color: var(--black); padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem); }
.atelie__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.atelie__intro .eyebrow { grid-column: 1 / -1; }
.atelie__intro .display { margin-top: 0; }
.atelie__cols p { color: var(--gray-600); font-size: 1.04rem; line-height: 1.85; }
.atelie__cols p + p { margin-top: 1.1rem; }

.story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 clamp(2rem, 5vw, 5rem);
  width: min(100% - 2 * var(--gutter), 1240px);
  margin: clamp(2rem, 6vw, 5rem) auto 0;
}
.story__graphic { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.story__frame { position: relative; height: min(80svh, 760px); max-width: 100%; aspect-ratio: 600 / 760; margin: 0; }
.story__steps { grid-column: 1; grid-row: 1; }
.step { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; max-width: 27rem; opacity: 0.26; transition: opacity 0.7s var(--ease-out-expo); }
.story[data-active="0"] .step:nth-child(1),
.story[data-active="1"] .step:nth-child(2),
.story[data-active="2"] .step:nth-child(3),
.story[data-active="3"] .step:nth-child(4),
.story[data-active="4"] .step:nth-child(5) { opacity: 1; }
.step__n { font: italic 300 3.4rem/1 var(--serif); color: var(--accent-warm); }
.step h3 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--serif); margin: 0.6rem 0 0.9rem; letter-spacing: -0.01em; }
.step p { color: var(--gray-600); font-size: 1.02rem; line-height: 1.8; }
.formula { margin-top: 1.2rem; padding: 0.9rem 1.1rem; border-left: 1px solid var(--accent-warm); background: var(--cream); font: italic 400 1.3rem/1.3 var(--serif) !important; color: var(--gray-800) !important; }

.build::before { content: ''; position: absolute; inset: 0; border-radius: var(--arch); background: var(--cream); }
.build::after { content: ''; position: absolute; inset: -12px; border: 1px solid rgba(163, 92, 58, 0.28); border-radius: 999px 999px 10px 10px; pointer-events: none; }
.build__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(0 0 calc(var(--print, 0) * 100%) 0); }
.build__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); clip-path: inset(calc((1 - var(--print, 0)) * 100%) 0 0 0); }
.build__scan { position: absolute; inset: 0; pointer-events: none; transform: translateY(calc((1 - var(--print, 0)) * 100%)); opacity: clamp(0, calc(min(var(--print, 0), 1 - var(--print, 0)) * 30), 1); }
.build__scan i { position: absolute; left: -5%; right: -5%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-warm) 18%, #fff2dc 50%, var(--accent-warm) 82%, transparent); box-shadow: 0 0 22px 5px rgba(212, 165, 116, 0.55); }
.build__caption { position: absolute; left: 0; right: 0; top: calc(100% + 1.5rem); text-align: center; font: italic 400 1.15rem/1.3 var(--serif); color: var(--gray-800); opacity: clamp(0, calc((var(--print, 0) - 0.75) * 4), 1); }
.build__caption span { display: block; font: 500 0.62rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-terracotta); margin-bottom: 0.45rem; }

.b-axis { stroke: var(--gray-400); stroke-width: 1; stroke-dasharray: 3 7; opacity: 0.7; }
.b-tick { stroke: var(--gray-400); stroke-width: 1; opacity: 0.6; }
.b-readout { font: 500 13px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; fill: var(--gray-600); }
.b-curve path { fill: none; stroke: var(--accent-terracotta); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 1; }
.b-curve .back { stroke-width: 1; opacity: 0.35; }
.b-dim line, .b-dim path { fill: none; stroke: var(--gray-800); stroke-width: 1; }
.b-dim text { font: italic 400 24px var(--serif); fill: var(--gray-800); }
.b-rings path { fill: none; stroke: var(--gray-800); stroke-width: 0.9; opacity: 0.55; }
.b-rings .back { opacity: 0.16; }
.b-meridians path { fill: none; stroke: var(--accent-terracotta); stroke-width: 1.1; stroke-dasharray: 1 1; opacity: 0.85; }
.b-meridians .back { opacity: 0.2; }
.b-layers path { fill: none; stroke: var(--accent-warm); stroke-width: 1.7; }
.b-layers .back { stroke-width: 1; opacity: 0.32; }
.b-nozzle__body { fill: var(--gray-800); }
.b-nozzle__dot { fill: var(--accent-terracotta); }
.b-nozzle__glow { fill: rgba(212, 165, 116, 0.4); }

.pillars { margin-top: clamp(4rem, 10vw, 8rem); padding-top: clamp(3rem, 6vw, 4rem); border-top: 1px solid var(--gray-200); }
.pillars .display { margin: 0; }
.pillars__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.pillars__list li { position: relative; padding-top: 1.6rem; }
.pillars__list li::before { content: ''; position: absolute; top: 0; left: 0; width: 32px; height: 2px; background: var(--accent-warm); transition: width 0.6s var(--ease-out-expo); }
.pillars__list li:hover::before { width: 72px; }
.pillars__n { font: 300 2.8rem/1 var(--serif); color: var(--gray-200); transition: color 0.4s; }
.pillars__list li:hover .pillars__n { color: var(--accent-warm); }
.pillars__list h3 { font: 400 1.55rem/1.2 var(--serif); margin: 1rem 0 0.6rem; }
.pillars__list p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.75; }

.collection__head { position: relative; }
.collection__badge { display: inline-flex; align-items: center; padding: 0.4rem 0.85rem; margin-bottom: 1rem; border: 1px solid var(--accent-terracotta); border-radius: 999px; background: var(--cream); color: var(--accent-terracotta); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1.4; }
.collection__n { display: block; font: italic 300 4.4rem/1 var(--serif); color: var(--accent-warm); margin-bottom: 0.6rem; }
.collection__kicker { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-400); }
.collection__name { font: 400 clamp(2.1rem, 3.6vw, 3.2rem)/1.05 var(--serif); letter-spacing: -0.015em; margin: 0.8rem 0 0.7rem; text-wrap: balance; }
.collection__tagline { font: italic 400 1.3rem/1.35 var(--serif); color: var(--accent-terracotta); }
.collection__desc { margin-top: 1rem; color: var(--gray-600); font-size: 0.96rem; line-height: 1.8; max-width: 34rem; }
.credit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--gray-200); }
.credit__label { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray-400); }
.credit__name { font: italic 400 1.35rem/1.2 var(--serif); }
.credit__handle { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.82rem; color: var(--accent-terracotta); text-decoration: none; }
.credit__handle:hover { text-decoration: underline; text-underline-offset: 3px; }
.credit__blurb { margin-top: 0.2rem; font-size: 0.86rem; line-height: 1.7; color: var(--gray-400); max-width: 30rem; }

.card { position: relative; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--gray-100); cursor: pointer; }
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease-out-expo); }
.card:hover .card__media > img, .card:focus-within .card__media > img { transform: scale(1.045); }
.card__body { padding-top: 1.05rem; }
.card__kicker { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); }
.card__name { font: 400 clamp(1.4rem, 1.9vw, 1.7rem)/1.12 var(--serif); margin-top: 0.15rem; }
.card__open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: linear-gradient(currentColor, currentColor) 0 82% / 0 1px no-repeat;
  text-align: left;
  cursor: pointer;
  transition: background-size 0.6s var(--ease-out-expo), color 0.3s;
}
.card:hover .card__open, .card__open:focus-visible, .niche:hover .card__open { background-size: 100% 1px; color: var(--accent-terracotta); }
.card__tag { color: var(--gray-600); font-size: 0.92rem; line-height: 1.6; }
.card__desc { margin-top: 0.9rem; color: var(--gray-600); font-size: 0.95rem; line-height: 1.78; }
.card__meta { margin-top: 0.55rem; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gray-400); }
.card__actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.2rem; }
.card__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-terracotta);
}
.card__wa::after { content: '→'; font-size: 0.95rem; letter-spacing: 0; transition: transform 0.45s var(--ease-out-expo); }
.card__wa:hover::after, .card__wa:focus-visible::after { transform: translateX(5px); }

.loop { position: absolute; right: 7%; bottom: 7%; width: 40%; aspect-ratio: var(--ar); overflow: hidden; border: 1px solid rgba(250, 250, 248, 0.7); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55); background: #111; }
.loop video, .loop img { width: 100%; height: 100%; object-fit: cover; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.chips li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.32rem 0.75rem; border: 1px solid var(--gray-200); border-radius: 999px; font-size: 0.74rem; color: var(--gray-600); }
.swatch { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); flex: none; }

.autoral { position: relative; background: var(--black); color: var(--white); padding: clamp(7rem, 13vw, 11rem) 0 clamp(5rem, 9vw, 8rem); overflow: clip; }
.orb--autoral { top: 2%; left: 50%; right: auto; translate: -50% 0; width: 820px; height: 620px; opacity: 0.12; }
.autoral__intro { position: relative; text-align: center; max-width: 1060px; }
.autoral__intro .eyebrow { justify-content: center; }
.autoral__intro .eyebrow::after { content: ''; width: 32px; height: 1px; background: var(--accent-warm); }
.autoral__lede { max-width: 38rem; margin: 1.8rem auto 0; color: rgba(250, 250, 248, 0.7); font-size: 1.06rem; line-height: 1.85; }
.autoral .collection { position: relative; padding-top: clamp(5rem, 11vw, 9rem); }
.autoral .collection__kicker, .autoral .card__kicker, .montagem .collection__kicker { color: var(--accent-gold); }
.autoral .collection__tagline { color: var(--accent-warm); }
.autoral .collection__desc, .autoral .card__tag, .autoral .card__desc { color: rgba(250, 250, 248, 0.68); }
.autoral .card__meta { color: rgba(250, 250, 248, 0.5); }
.autoral .card__media { background: #151311; }
.autoral .card:hover .card__open, .autoral .card__open:focus-visible, .autoral .niche:hover .card__open { color: var(--accent-warm); }
.autoral .card__wa { color: var(--accent-warm); }

.altar__top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.altar__media { position: relative; aspect-ratio: 5 / 6; cursor: pointer; }
.altar__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; border-radius: var(--arch); transition: filter 1s; }
.altar__media::before { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(201, 184, 150, 0.4); border-radius: 999px 999px 12px 12px; transition: inset 0.7s var(--ease-out-expo), border-color 0.5s; }
.altar__media::after { content: ''; position: absolute; inset: 20% -20% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(212, 165, 116, 0.22), transparent); }
.altar__media:hover::before { inset: -20px; border-color: var(--accent-warm); }
.altar__text .card { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(201, 184, 150, 0.22); }
.card--altar .card__name { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.altar__label { margin: clamp(4.5rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; font: italic 300 clamp(1.5rem, 2.6vw, 2.2rem)/1.2 var(--serif); color: var(--accent-gold); }
.altar__niches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto auto auto auto; gap: 0 clamp(0.8rem, 2vw, 1.8rem); align-items: end; }
.niche {
  --rise: clamp(0, calc(var(--e, 1) * 1.7 - var(--i) * 0.17), 1);
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  text-align: center;
  translate: 0 calc((1 - var(--rise)) * 110px);
  opacity: calc(0.12 + var(--rise) * 0.88);
}
.niche__arch { position: relative; align-self: end; aspect-ratio: 3 / calc(4.4 - var(--d) * 0.4); margin-bottom: 1.3rem; cursor: pointer; }
.niche__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); transition: transform 1.2s var(--ease-out-expo), filter 0.8s; filter: saturate(0.92); }
.niche__arch::before { content: ''; position: absolute; inset: -8px; border: 1px solid rgba(201, 184, 150, 0.32); border-radius: var(--arch); transition: inset 0.6s var(--ease-out-expo), border-color 0.5s; }
.niche__arch::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -16px; height: 30px; background: radial-gradient(closest-side, rgba(212, 165, 116, 0.5), transparent); opacity: 0; transition: opacity 0.6s; }
.niche:hover .niche__arch::before { inset: -13px; border-color: var(--accent-warm); }
.niche:hover .niche__arch::after { opacity: 1; }
.niche:hover .niche__arch img { filter: saturate(1.05) brightness(1.04); }
.niche__name { font: 400 clamp(1.25rem, 1.7vw, 1.55rem)/1.15 var(--serif); }
.niche__name .card__open { text-align: center; justify-content: center; }
.niche__tag { font: italic 400 1.02rem/1.35 var(--serif); color: rgba(250, 250, 248, 0.68); padding: 0 0.3rem; }
.niche__meta { margin-top: 0.5rem; font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(250, 250, 248, 0.48); }
.niche .card__wa { justify-self: center; }

.facets .collection__head { text-align: center; max-width: 46rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); }
.facets .collection__desc { margin-inline: auto; }
.facets__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.6rem); align-items: center; }
.card--facet {
  --cut: calc(11% + (1 - clamp(0, calc(var(--e, 1) * 1.5 - var(--i) * 0.2), 1)) * 20%);
}
.card--facet .card__media { aspect-ratio: 4 / 5; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.card--facet:nth-child(2) .card__media { aspect-ratio: 3 / 4.3; }
.card--facet .card__body { text-align: center; }
.card--facet .card__actions { justify-content: center; }
.card--facet .loop { right: 10%; bottom: 10%; width: 44%; }

.collection--grooves { padding-bottom: 1rem; }
.grooves { position: absolute; inset: 6% 0 0; width: 100%; height: 94%; z-index: 0; pointer-events: none; }
.grooves path { fill: none; stroke: var(--accent-gold); stroke-width: 1; opacity: 0.17; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, calc(var(--e, 1) * 1.6 - var(--i) * 0.035), 1)); }
.grooves__grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.grooves__grid .collection__head { position: sticky; top: 120px; }
.grooves__pair { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(1rem, 2.6vw, 2.2rem); align-items: start; }
.card--groove-a { translate: 0 calc((var(--v, 0.5) - 0.5) * -70px); }
.card--groove-b { margin-top: 22%; translate: 0 calc((var(--v, 0.5) - 0.5) * 90px); }
.card--groove .card__media { aspect-ratio: 1; }
.card--groove-b .card__media { aspect-ratio: 4 / 3.6; }

.montagem { --story-bg: var(--black); position: relative; background: var(--black); color: var(--white); padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; border-top: 1px solid rgba(201, 184, 150, 0.12); }
.montagem__intro { max-width: 1240px; }
.montagem__lede { max-width: 36rem; margin-top: 1.5rem; color: rgba(250, 250, 248, 0.7); font-size: 1.04rem; line-height: 1.85; }
.story--lamp .story__graphic::before { content: ''; position: absolute; left: 50%; top: 56%; width: 150%; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(212, 165, 116, 0.2), rgba(163, 92, 58, 0.07) 55%, transparent); opacity: var(--lit, 0); pointer-events: none; }
.story--lamp .story__frame { aspect-ratio: 600 / 900; }
.montagem .step p { color: rgba(250, 250, 248, 0.68); }
.montagem .step h3 { color: var(--white); }

.lamp__svg { width: 100%; height: 100%; overflow: visible; }
.l-table { stroke: rgba(201, 184, 150, 0.35); stroke-width: 1; }
.l-light { opacity: 0; }
.l-part { --hl: 0; }
.story[data-active="0"] [data-step="0"],
.story[data-active="1"] [data-step="1"],
.story[data-active="2"] [data-step="2"],
.story[data-active="3"] [data-step="3"] { --hl: 1; }
.l-part .fill { fill: rgba(250, 250, 248, 0.04); }
.l-part--base .fill { fill: rgba(45, 42, 39, 0.9); }
.l-part .rim, .l-part .edge, .l-part .ribs { fill: none; stroke: color-mix(in srgb, var(--accent-warm) calc(var(--hl) * 100%), var(--accent-gold)); stroke-width: calc(1.1px + var(--hl) * 0.6px); transition: stroke-width 0.4s; }
.l-part .ribs { stroke-width: 0.8; opacity: 0.75; }
.l-part .fill-solid { fill: #2d2a27; stroke: var(--accent-gold); stroke-width: 1; }
.l-part .thread { stroke: var(--accent-gold); stroke-width: 1; opacity: 0.7; }
.l-part .glass { fill: rgba(250, 250, 248, 0.06); stroke: var(--accent-gold); stroke-width: 1.2; }
.l-part .glass-lit { fill: #fff3dc; opacity: 0; }
.l-part .filament { fill: none; stroke: var(--accent-warm); stroke-width: 1.4; }
.l-shade-lit { opacity: 0; }
.l-shade-lit .rim, .l-shade-lit .edge { display: none; }
.l-shade-lit .fill { fill-opacity: 1; }
.l-label circle { fill: var(--accent-warm); }
.l-label line { stroke: rgba(201, 184, 150, 0.55); stroke-width: 1; stroke-dasharray: 2 4; }
.l-label text { font: 500 19px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; fill: rgba(250, 250, 248, calc(0.55 + var(--hl) * 0.45)); }
.l-label__n { fill: var(--accent-warm); }

.curadoria { background: var(--white); color: var(--black); padding: clamp(7rem, 13vw, 11rem) 0 clamp(3rem, 6vw, 5rem); }
.curadoria__intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.curadoria__intro .eyebrow { grid-column: 1 / -1; }
.curadoria__intro .display { margin: 0; }
.curadoria__lede { color: var(--gray-600); font-size: 1.04rem; line-height: 1.85; }
.marquee { overflow: hidden; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 1.4rem 0; border-block: 1px solid var(--gray-200); }
.marquee__track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.8rem); width: max-content; white-space: nowrap; translate: calc(var(--v, 0.5) * -38%) 0; font: italic 300 clamp(2.6rem, 6.2vw, 5.8rem)/1 var(--serif); color: var(--gray-800); }
.marquee__track i { width: 11px; height: 11px; background: var(--accent-warm); rotate: 45deg; flex: none; }

.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4.5vw, 5rem); padding: clamp(4rem, 8vw, 6.5rem) 0; border-bottom: 1px solid var(--gray-200); }
.chapter .collection__head { position: sticky; top: calc(var(--nav-h) + 2.5rem); align-self: start; }
.card--feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); align-items: end; }
.card--feature .card__name { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.card--feature .card__media::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(250, 250, 248, 0.5); pointer-events: none; }
.chapter:nth-child(even) .card--feature .card__media { order: 2; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center; padding-top: clamp(2rem, 3.5vw, 3rem); border-top: 1px solid var(--gray-200); }
.card--wide .card__media { aspect-ratio: 5 / 4; }
.card--wide .card__name { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }

.personalize { position: relative; background: var(--black); color: var(--white); padding: clamp(7rem, 13vw, 11rem) 0 clamp(5rem, 9vw, 8rem); overflow: clip; }
.orb--personalize { top: 18%; left: -6%; bottom: auto; opacity: 0.08; }
.personalize__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.personalize__copy .display { margin-top: 1.2rem; }
.personalize__lede { margin-top: 1.4rem; max-width: 34rem; color: rgba(250, 250, 248, 0.7); font-size: 1.04rem; line-height: 1.85; }
.finish { position: relative; }
.finish::before { content: ''; position: absolute; inset: -14px; border: 1px solid rgba(201, 184, 150, 0.4); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.finish__stage { position: relative; aspect-ratio: 1440 / 1799; overflow: hidden; border-radius: var(--arch); background: #1a1714; }
.finish__img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease-out-expo); }
.finish__img.is-on { opacity: 1; }
.finish__img img { width: 100%; height: 100%; object-fit: cover; }
.finish__set { border: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }
.finish__set legend { float: left; width: 100%; margin-bottom: 0.9rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-gold); }
.finish__piece { min-height: 44px; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(212, 165, 116, 0.6); cursor: pointer; }
.finish__piece:hover { color: var(--accent-warm); }
.finish__opt { position: relative; display: inline-flex; align-items: center; gap: 0.65rem; min-height: 50px; padding: 0 1.15rem 0 0.7rem; border: 1px solid rgba(250, 250, 248, 0.18); border-radius: 999px; font-size: 0.86rem; cursor: pointer; transition: border-color 0.35s, background-color 0.35s, transform 0.5s var(--ease-out-expo); }
.finish__opt:hover { border-color: rgba(212, 165, 116, 0.7); transform: translateY(-2px); }
.finish__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.finish__opt .swatch { width: 1.7rem; height: 1.7rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 0 var(--accent-warm); transition: box-shadow 0.4s; }
.finish__opt:has(input:checked) { border-color: var(--accent-warm); background: rgba(212, 165, 116, 0.12); }
.finish__opt:has(input:checked) .swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 0 3px rgba(212, 165, 116, 0.35); }
.finish__opt:has(input:focus-visible) { outline: 2px solid var(--accent-warm); outline-offset: 3px; }
.finish__note { margin: 1.1rem 0 1.8rem; font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(250, 250, 248, 0.55); }

.options { margin-top: clamp(5rem, 10vw, 8rem); }
.options__title { font: 300 clamp(2rem, 3.6vw, 3rem)/1.1 var(--serif); margin-bottom: 1.8rem; }
.options__list { border-top: 1px solid rgba(250, 250, 248, 0.12); }
.options__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0.6rem 2rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(250, 250, 248, 0.12); transition: background-color 0.4s; }
.options__row:hover { background: rgba(212, 165, 116, 0.05); }
.options__name { display: flex; flex-direction: column; align-items: flex-start; min-height: 44px; justify-content: center; border: 0; background: none; text-align: left; font: 400 1.45rem/1.15 var(--serif); color: var(--white); cursor: pointer; transition: color 0.3s; }
.options__name:hover { color: var(--accent-warm); }
.options__name small { margin-top: 0.3rem; font: 500 0.6rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-gold); }
.options__row .chips { margin-top: 0; }
.chips--dark li { border-color: rgba(250, 250, 248, 0.16); color: rgba(250, 250, 248, 0.8); }
.chips--dark .swatch, .autoral .swatch { box-shadow: inset 0 0 0 1px rgba(250, 250, 248, 0.4); }

.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(4rem, 8vw, 6.5rem); counter-reset: none; }
.howto li { padding-top: 1.4rem; border-top: 1px solid rgba(201, 184, 150, 0.3); }
.howto span { font: italic 300 3.2rem/1 var(--serif); color: var(--accent-warm); }
.howto h3 { font: 400 1.5rem/1.2 var(--serif); margin: 0.8rem 0 0.5rem; }
.howto p { color: rgba(250, 250, 248, 0.66); font-size: 0.95rem; line-height: 1.75; }

.contato { position: relative; background: var(--cream); color: var(--black); padding: clamp(8rem, 15vw, 13rem) 0 clamp(6rem, 11vw, 9rem); text-align: center; overflow: clip; }
.halo--contato { left: 50%; top: 46%; width: min(1180px, 150vw); height: min(1180px, 150vw); rotate: calc(var(--v, 0.5) * 70deg); scale: 1; opacity: 0.4; }
.halo--contato .halo__ray, .halo--contato .halo__ring, .halo--contato .halo__dots { stroke: var(--accent-warm); }
.contato__inner { position: relative; }
.contato .eyebrow { justify-content: center; }
.contato .eyebrow::after { content: ''; width: 32px; height: 1px; background: var(--accent-warm); }
.contato .display { max-width: 15ch; margin-inline: auto; }
.contato__lede { max-width: 34rem; margin: 1.8rem auto 0; color: var(--gray-600); font-size: 1.08rem; line-height: 1.85; }
.contato__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.6rem; }
.contato__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem clamp(2rem, 6vw, 5rem); margin-top: clamp(3.5rem, 7vw, 5rem); }
.contato__facts dt { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray-400); }
.contato__facts dd { margin-top: 0.2rem; font: 400 1.35rem/1.3 var(--serif); }
.contato__facts a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; background: linear-gradient(var(--accent-terracotta), var(--accent-terracotta)) 0 78% / 0 1px no-repeat; transition: background-size 0.6s var(--ease-out-expo), color 0.3s; }
.contato__facts a:hover { background-size: 100% 1px; color: var(--accent-terracotta); }

.footer { background: var(--black); color: rgba(250, 250, 248, 0.6); padding: clamp(4rem, 8vw, 6rem) 0 3rem; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 0.8rem; }
.footer__logo { width: 56px; height: 56px; filter: invert(1); opacity: 0.9; margin-bottom: 0.6rem; }
.footer__line { font: italic 400 1.5rem/1.3 var(--serif); color: var(--accent-gold); }
.footer__meta { font-size: 0.78rem; letter-spacing: 0.06em; }
/* The links are atomic inline boxes (inline-flex), so a no-break space cannot keep "· WhatsApp" on the line. */
.footer__links { white-space: nowrap; }
.footer__meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(250, 250, 248, 0.85); }
.footer__meta a:hover { color: var(--accent-warm); }

.noscript { padding: 2rem var(--gutter); background: var(--cream); text-align: center; }

.piece { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); }
.piece[open] { display: grid; place-items: center; }
.piece::backdrop { background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(8px); }
.piece__panel { position: relative; width: min(1180px, calc(100% - 2rem)); height: min(780px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #0f0e0d; border: 1px solid rgba(201, 184, 150, 0.22); overflow: hidden; animation: pieceIn 0.7s var(--ease-out-expo) both; }
.piece__gallery { position: relative; min-height: 0; background: #070707; }
.piece__track { display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.piece__track::-webkit-scrollbar { display: none; }
.piece__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.piece__slide img { width: 100%; height: 100%; object-fit: contain; }
.piece__nav { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; display: flex; align-items: center; gap: 0.4rem; padding: 0.2rem; border-radius: 999px; background: rgba(10, 10, 10, 0.66); backdrop-filter: blur(8px); font-size: 0.78rem; letter-spacing: 0.12em; }
.piece__nav button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color 0.3s; }
.piece__nav button:hover { background: rgba(212, 165, 116, 0.25); }
.piece.is-single .piece__nav { display: none; }
.piece__info { overflow-y: auto; padding: clamp(2rem, 4vw, 3.4rem); padding-top: clamp(3.4rem, 5vw, 4rem); }
.piece__kicker { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-gold); }
.piece__name { font: 300 clamp(2.2rem, 3.6vw, 3.3rem)/1.02 var(--serif); letter-spacing: -0.015em; margin: 0.7rem 0 0.5rem; }
.piece__collection { font-size: 0.86rem; color: rgba(250, 250, 248, 0.6); }
.piece__collection a { color: var(--accent-warm); }
.piece__tag { margin-top: 1.4rem; font: italic 400 1.35rem/1.35 var(--serif); color: var(--accent-warm); }
.piece__desc { margin-top: 0.9rem; color: rgba(250, 250, 248, 0.75); line-height: 1.8; font-size: 0.97rem; }
.specs { margin-top: 1.6rem; border-top: 1px solid rgba(250, 250, 248, 0.12); }
.specs > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(250, 250, 248, 0.12); }
.specs dt { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-gold); padding-top: 0.2rem; }
.specs dd { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; color: rgba(250, 250, 248, 0.82); }
.specs dd span { display: inline-flex; align-items: center; gap: 0.5rem; }
.piece__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.piece__close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 48px; height: 48px; border: 1px solid rgba(250, 250, 248, 0.25); border-radius: 50%; background: rgba(10, 10, 10, 0.6); cursor: pointer; transition: border-color 0.3s, rotate 0.5s var(--ease-out-expo); }
.piece__close:hover { border-color: var(--accent-warm); rotate: 90deg; }
.piece__close span, .piece__close span::before { position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: currentColor; translate: -50% -50%; rotate: 45deg; }
.piece__close span::before { content: ''; rotate: 90deg; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { transform: translateY(110%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes lampOn { from { opacity: 0.86; } }
@keyframes glowOn { from { opacity: 0; transform: scale(0.6); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes pieceIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }

@media (max-width: 1100px) {
  .nav__links a { padding: 0 0.55rem; letter-spacing: 0.12em; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.6rem var(--gutter) 1.4rem;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(14px);
    color: var(--white);
    border-bottom: 1px solid rgba(201, 184, 150, 0.2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s, transform 0.5s var(--ease-out-expo), visibility 0s 0.5s;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity 0.35s, transform 0.5s var(--ease-out-expo); }
  .nav__links a { font-size: 0.8rem; padding: 0.4rem 0; min-height: 48px; border-bottom: 1px solid rgba(250, 250, 248, 0.08); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__menu { display: block; }
  .nav.is-open { background: rgba(10, 10, 10, 0.94); color: var(--white); }
  .nav.is-open .nav__brand img { filter: invert(1); }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .hero__pin { position: static; align-items: flex-start; padding-top: calc(var(--nav-h) + 1.4rem); padding-bottom: 4.5rem; }
  /* The run moves inside the grid: a sticky stage only holds within its parent. */
  .hero__run { display: none; }
  .hero__inner::after { content: ''; height: 110svh; }
  .hero__end { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .hero__stage { position: sticky; top: var(--nav-h); order: -1; width: min(100%, 440px); height: min(50svh, 470px); margin: 1.2rem auto 0; }
  .hero__stage::before, .hero__stage::after { content: ''; position: absolute; z-index: -1; left: calc(50% - 50vw); right: calc(50% - 50vw); pointer-events: none; }
  .hero__stage::before { top: calc(-1.2rem - var(--nav-h)); bottom: 0; background: radial-gradient(36vw 88svh at 74vw 67svh, rgba(212, 165, 116, 0.2), rgba(201, 184, 150, 0.07) 48%, transparent 76%) var(--black); }
  .hero__stage::after { top: 100%; height: 64px; background: linear-gradient(var(--black), transparent); }
  .arch__cap { display: none; }
  .arch--center { height: 75%; }
  .hero__title { font-size: clamp(3.1rem, 14vw, 4.6rem); margin: 1rem 0 1.2rem; }
  .hero__stats dd { font-size: 2.1rem; }
  .hero__scroll { display: none; }

  .atelie__intro, .curadoria__intro { grid-template-columns: minmax(0, 1fr); }

  .story { grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
  .story__graphic { grid-column: 1; top: var(--nav-h); height: 50svh; z-index: 2; background: var(--story-bg); align-items: center; }
  .story__graphic::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 48px; background: linear-gradient(var(--story-bg), transparent); pointer-events: none; }
  .story__frame { height: 44svh; }
  .story--lamp .story__graphic::before { inset: 0; width: auto; aspect-ratio: auto; translate: none; }
  .build__caption { top: auto; bottom: -0.2rem; font-size: 0.95rem; background: color-mix(in srgb, var(--cream) 85%, transparent); padding: 0.3rem; }
  .build__caption span { display: none; }
  /* Each step's text rises to the band under the drawing and holds there while its step scrolls.
     The list's negative margin ends the drawing's sticky run where the last text's hold ends, so
     both leave together instead of the text sliding under the drawing. */
  .story { --band: calc(var(--nav-h) + 50svh + 48px + 0.6rem); margin-bottom: calc(var(--last-text, 0px) + 48px + 0.6rem); }
  .story__steps { grid-column: 1; grid-row: 2; padding-top: calc(48px + 0.6rem); margin-bottom: calc((var(--last-text, 0px) + 48px + 0.6rem) * -1); }
  .step { min-height: 78svh; justify-content: flex-start; padding: 0; max-width: none; }
  .step__text { position: sticky; top: var(--band); }
  .step__n { font-size: 2.6rem; }
  .l-label__word { display: none; }
  .l-label text { font-size: 30px; }

  .pillars__list, .howto { grid-template-columns: minmax(0, 1fr); }

  .altar__top { grid-template-columns: minmax(0, 1fr); }
  .altar__media { width: min(100%, 420px); margin-inline: auto; }
  .altar__niches {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 1rem 19% 1.5rem;
    scrollbar-width: none;
  }
  .altar__niches::-webkit-scrollbar { display: none; }
  .niche { scroll-snap-align: center; }

  .facets__row { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .card--facet:nth-child(2) { order: -1; }
  .grooves__grid { grid-template-columns: minmax(0, 1fr); }
  .grooves__grid .collection__head { position: static; }
  .grooves__pair { grid-template-columns: minmax(0, 1fr); }
  .card--groove-a, .card--groove-b { translate: none; }
  .card--groove-b { margin-top: 0; width: 82%; justify-self: end; }

  .chapter { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 3.5rem 0; }
  .chapter .collection__head { position: static; }
  .collection__n { font-size: 3.2rem; }
  .card--feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chapter:nth-child(even) .card--feature .card__media { order: 0; }
  .card--wide { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; border-top: 0; }
  .card--wide .card__desc { display: none; }
  .grid { gap: 2rem 0.9rem; margin-top: 2.4rem; }
  .grid .card__name { font-size: 1.3rem; }
  .grid .card__tag { font-size: 0.84rem; }
  .grid .card__kicker { font-size: 0.56rem; letter-spacing: 0.14em; }

  .personalize__grid { grid-template-columns: minmax(0, 1fr); }
  .finish { width: min(100%, 420px); margin: 0 auto; }
  .options__row { grid-template-columns: minmax(0, 1fr); }

  .piece__panel { width: 100%; height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: 52svh auto; overflow-y: auto; border: 0; }
  .piece__info { overflow: visible; padding: 1.6rem 1.25rem 2.5rem; }
}

@media (max-width: 420px) {
  .nav__brand span { font-size: 1.15rem; }
  .nav__cta { padding: 0 0.9rem; letter-spacing: 0.12em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 1.1rem; }
  .hero__stats dt { letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__pin, .hero__stage { position: static; }
  .hero__run, .hero__end { display: none; }
  .story.is-static { display: block; }
  .story.is-static .story__graphic { display: none; }
  .story.is-static .story__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2.5rem 2rem; }
  .story.is-static .step { min-height: 0; opacity: 1; justify-content: flex-start; padding: 0; }
  .story.is-static .step__text { position: static; }
  .story__still { width: 100%; height: auto; margin-bottom: 1.6rem; }
  .build.story__still .build__caption { position: static; margin-top: 0.8rem; }
}
