:root {
  color-scheme: dark;
  --charcoal: #171714;
  --plaster: #e9e5da;
  --oxide: #a86149;
  --champagne: #c7b9a0;
  --ink: #23221e;
  --ease-out: cubic-bezier(.18,.74,.2,1);
  --ease-inout: cubic-bezier(.76,0,.24,1);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --surface: var(--charcoal);
  --text: #f1eee6;
  --soft-text: #c9c0af;
  --line: rgba(241,238,230,.34);
  --header-bg: rgba(23,23,20,.94);
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--surface);
  color: var(--text);
  transition: background-color .7s var(--ease-inout), color .45s ease;
}
body[data-theme="plaster"] {
  --surface: var(--plaster);
  --text: var(--ink);
  --soft-text: #58564e;
  --line: rgba(35,34,30,.28);
  --header-bg: rgba(233,229,218,.94);
  color-scheme: light;
}
body[data-theme="oxide"] {
  --surface: var(--oxide);
  --text: #fff5e9;
  --soft-text: #f6dfcd;
  --line: rgba(255,245,233,.35);
  --header-bg: rgba(168,97,73,.94);
}
body[data-theme="room"] {
  --surface: #251f1b;
  --text: #fbf5eb;
  --soft-text: #ead9c4;
  --line: rgba(251,245,235,.42);
  --header-bg: rgba(30,25,21,.94);
}
::selection { background: #c7b9a0; color: #171714; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 24px; padding: 14px 18px; background: #fff; color: #161616; }
.skip-link:focus { top: 20px; }

.page-backdrop, .room-backdrop, .room-tone, .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.page-backdrop { z-index: 0; overflow: hidden; }
.room-backdrop {
  background: #241b17 url("assets/atrium.webp") center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.07) translate3d(0,1.5%,0);
  transition: opacity .75s ease, transform 1.4s var(--ease-out);
  will-change: opacity, transform;
}
.room-tone { background: rgba(22,17,14,.35); opacity: 0; transition: opacity .55s ease, background-color .55s ease; }
body[data-theme="room"] .room-backdrop { opacity: 1; transform: scale(1) translate3d(0,0,0); }
body[data-theme="room"] .room-tone { opacity: 1; }
body[data-theme="room"][data-mode="focus"] .room-tone { background: rgba(25,28,29,.19); }
body[data-theme="room"][data-mode="evening"] .room-tone { background: rgba(40,18,12,.56); }
.grain {
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='2' seed='8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.product-stage {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: min(40vw, 54vh);
  aspect-ratio: 2 / 3;
  pointer-events: none;
  transform: translate3d(var(--stage-x, 68vw),var(--stage-y, 52vh),0) translate(-50%,-50%) rotate(var(--stage-rotation, -8deg)) scale(var(--stage-scale, 1));
  transform-origin: 50% 53%;
  opacity: var(--stage-opacity, 1);
  will-change: transform;
}
.stage-lamp {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  transition: filter .55s ease;
}
.stage-aura {
  position: absolute;
  z-index: 1;
  left: 18%;
  top: 20%;
  width: 80%;
  height: 66%;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(226,182,112,.22) 0%,rgba(226,182,112,.05) 52%,transparent 72%);
  transform: scale(1);
  opacity: .54;
  transition: background .55s ease, opacity .55s ease, transform .55s ease;
}
body[data-theme="plaster"] .stage-aura { opacity: .16; }
body[data-theme="oxide"] .stage-aura { opacity: .33; }
body[data-theme="room"] .stage-aura { opacity: .8; transform: scale(1.2); }
body[data-theme="room"][data-mode="focus"] .stage-lamp { filter: saturate(.8) brightness(1.16); }
body[data-theme="room"][data-mode="focus"] .stage-aura { background: radial-gradient(ellipse,rgba(244,235,208,.32),rgba(244,235,208,.05) 56%,transparent 74%); }
body[data-theme="room"][data-mode="evening"] .stage-lamp { filter: sepia(.16) brightness(.83); }
body[data-theme="room"][data-mode="evening"] .stage-aura { background: radial-gradient(ellipse,rgba(232,134,77,.3),rgba(232,134,77,.05) 54%,transparent 74%); }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 25px clamp(24px,5.4vw,112px);
  background: var(--header-bg);
  color: var(--text);
  transition: color .45s ease, background-color .55s ease;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .17em;
  text-decoration: none;
}
.wordmark-symbol { width: 20px; height: 25px; border: 2px solid currentColor; border-radius: 50%; transform: rotate(-20deg); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px,2.5vw,46px); }
.primary-nav a, .header-contact { font-size: 11px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; }
.primary-nav a { opacity: .72; transition: opacity .25s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="true"] { opacity: 1; }
.header-contact { justify-self: end; padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.header-contact span { display: inline-block; margin-left: 15px; transition: transform .3s var(--ease-out); }
.header-contact:hover span { transform: translate(3px,-3px); }
.scene-index {
  position: fixed;
  z-index: 25;
  right: clamp(24px,5.4vw,112px);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: color .45s ease;
}
.scene-index-rule { width: 1px; height: 65px; background: var(--line); }
.scroll-progress { position: fixed; z-index: 40; left: 0; bottom: 0; width: 100%; height: 2px; background: rgba(135,124,110,.14); }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--champagne); transform: scaleX(0); transform-origin: left center; will-change: transform; }

main { position: relative; }
.scene {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: 160px clamp(24px,8.8vw,170px) 120px;
  isolation: auto;
}
.scene-rail {
  position: absolute;
  z-index: 8;
  top: 125px;
  left: clamp(24px,5.4vw,112px);
  right: clamp(24px,5.4vw,112px);
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--soft-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .45s ease,border-color .45s ease;
}
.eyebrow {
  margin: 0 0 31px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
}
.line-mask { display: block; overflow: hidden; padding-bottom: .13em; margin-bottom: -.13em; }
.reveal-line, .type-word { display: block; transform: translate3d(0,115%,0); transition: transform 1.15s var(--ease-out); }
.is-visible .reveal-line, .is-visible .type-word { transform: translate3d(0,0,0); }
.line-mask:nth-child(2) .reveal-line, .line-mask:nth-child(2) .type-word { transition-delay: .14s; }
.reveal-item { opacity: 0; transform: translate3d(0,24px,0); transition: opacity .75s ease,transform .9s var(--ease-out); }
.is-visible .reveal-item { opacity: 1; transform: translate3d(0,0,0); }
.reveal-item:nth-child(2) { transition-delay: .12s; }
.reveal-item:nth-child(3) { transition-delay: .25s; }
.reveal-item:nth-child(4) { transition-delay: .38s; }
.italic { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; letter-spacing: -.065em; }
.display-title, .section-title, .final-title { margin: 0; font-weight: 500; letter-spacing: -.088em; line-height: .93; }
.display-title { font-size: clamp(80px,9.2vw,180px); }
.section-title { font-size: clamp(70px,7.4vw,145px); }
.section-copy { max-width: 380px; margin: 32px 0 0; color: var(--soft-text); font-size: clamp(15px,1.25vw,18px); line-height: 1.65; }
.text-link { display: inline-flex; gap: 26px; align-items: center; margin-top: 44px; padding-bottom: 12px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translate(4px,-4px); }

.scene-intro { min-height: 100svh; overflow: hidden; }
.intro-content { position: relative; z-index: 8; width: min(70vw,900px); margin-top: -2vh; }
.intro-content .display-title { white-space: nowrap; }
.intro-description { max-width: 360px; margin: 40px 0 0; color: var(--soft-text); font-size: 16px; line-height: 1.65; }
.intro-aperture {
  position: absolute;
  z-index: 1;
  width: 62vw;
  height: 80vw;
  max-height: 110vh;
  top: 50%;
  right: -4vw;
  border: 1px solid rgba(217,196,160,.28);
  border-radius: 50%;
  transform: translate(0,-50%) scale(.5);
  opacity: 0;
  transition: transform 1.8s var(--ease-out),opacity 1.1s ease;
}
.scene-intro.is-visible .intro-aperture { opacity: 1; transform: translate(0,-50%) scale(1); }
.intro-side-note { position: absolute; z-index: 8; right: 5.4vw; bottom: 16vh; writing-mode: vertical-rl; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.scroll-invite { position: absolute; z-index: 8; left: clamp(24px,8.8vw,170px); bottom: 8vh; display: flex; gap: 15px; align-items: center; font-size: 11px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.scroll-invite-line { display: block; width: 42px; height: 1px; background: currentColor; }

.scene-form { overflow: hidden; }
.form-content { position: relative; z-index: 8; width: min(49vw,710px); }
.form-coordinate { position: absolute; z-index: 6; left: 8.8vw; bottom: 9vh; display: flex; gap: 42px; color: var(--soft-text); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.form-orbit { position: absolute; z-index: 2; width: 36vw; aspect-ratio: 1; border: 1px solid rgba(67,61,50,.15); border-radius: 50%; right: 5vw; top: 18%; transform: scale(.72); opacity: 0; transition: transform 1.2s var(--ease-out),opacity 1s ease; }
.form-orbit-two { width: 50vw; right: -2vw; top: 8%; transition-delay: .17s; }
.scene-form.is-visible .form-orbit { transform: scale(1); opacity: 1; }

.scene-craft { min-height: 113svh; overflow: hidden; }
.craft-content { position: relative; z-index: 8; width: min(47vw,660px); margin-top: -15vh; }
.craft-content .section-title { font-size: clamp(66px,6.7vw,134px); }
.detail-callout { position: absolute; z-index: 7; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; opacity: 0; transform: translate3d(0,14px,0); transition: opacity .6s ease,transform .7s var(--ease-out); }
.scene-craft.is-visible .detail-callout { opacity: 1; transform: translate3d(0,0,0); }
.detail-callout-top { top: 35%; right: 7%; transition-delay: .45s; }
.detail-callout-bottom { bottom: 21%; right: 10%; transition-delay: .65s; }
.callout-dot { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.callout-rule { width: clamp(35px,5vw,90px); height: 1px; background: currentColor; }
.craft-footer { position: absolute; z-index: 8; left: 8.8vw; right: 8.8vw; bottom: 8vh; display: flex; gap: 24px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--soft-text); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.scene-manifesto { overflow: hidden; align-items: end; }
.manifesto-type { position: absolute; z-index: 4; top: 26%; left: -2.5vw; width: 110vw; font-size: clamp(135px,16vw,360px); font-weight: 700; letter-spacing: -.1em; line-height: .83; white-space: nowrap; color: rgba(255,243,231,.72); pointer-events: none; }
.manifesto-type .line-mask { padding-bottom: .18em; margin-bottom: -.18em; }
.manifesto-type .line-mask:nth-child(2) { padding-left: 25vw; }
.manifesto-note { position: relative; z-index: 8; margin: 0 0 2vh 1vw; }
.manifesto-heading { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(43px,4.8vw,90px); font-weight: 400; font-style: italic; letter-spacing: -.065em; line-height: .99; }
.manifesto-note p:last-child { max-width: 360px; margin-top: 24px; font-size: 15px; line-height: 1.55; }
.manifesto-vertical { position: absolute; z-index: 8; right: 5.4vw; bottom: 9vh; writing-mode: vertical-rl; font-size: 10px; font-weight: 700; letter-spacing: .2em; }

.scene-atmosphere { min-height: 115svh; }
.atmosphere-content { position: relative; z-index: 8; width: min(48vw,680px); margin-top: 2vh; }
.atmosphere-content .section-title { font-size: clamp(68px,6.6vw,130px); }
.atmosphere-content .section-copy { max-width: 370px; color: #eee0cf; }
.light-switcher { display: inline-flex; gap: 5px; margin-top: 42px; padding: 5px; border: 1px solid rgba(255,245,233,.38); background: rgba(28,23,20,.75); }
.mode-button { display: inline-flex; align-items: center; gap: 11px; min-width: 112px; justify-content: center; padding: 13px 16px; border: 0; background: transparent; color: #f2e7d9; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; transition: background-color .3s ease,color .3s ease; }
.mode-button.is-selected { background: #e8e0d1; color: #241f1b; }
.mode-button:hover:not(.is-selected) { background: rgba(255,255,255,.12); }
.mode-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mode-description { min-height: 20px; margin: 15px 0 0; color: #efe3d5; font-size: 12px; }
.room-caption { position: absolute; z-index: 8; right: 5.4vw; bottom: 8vh; display: flex; flex-direction: column; gap: 7px; align-items: flex-end; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.scene-final { min-height: 105svh; }
.final-content { position: relative; z-index: 8; width: min(62vw,860px); margin-top: -3vh; }
.final-title { font-size: clamp(76px,8.2vw,160px); }
.final-copy { max-width: 430px; margin: 32px 0 0; color: var(--soft-text); font-size: 16px; line-height: 1.65; }
.final-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.primary-button { display: inline-flex; justify-content: space-between; gap: 50px; align-items: center; min-width: 225px; padding: 20px 23px; background: var(--plaster); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: background-color .25s ease,transform .25s var(--ease-out); }
.primary-button:hover { background: #fff; transform: translateY(-3px); }
.secondary-link { display: inline-flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.secondary-link:hover { border-color: currentColor; }
.site-footer { position: absolute; z-index: 8; left: 5.4vw; right: 5.4vw; bottom: 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--soft-text); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-footer a { text-decoration: none; }

@media (max-width: 1050px) {
  .scene { padding-left: 7vw; padding-right: 7vw; }
  .intro-content { width: 72vw; }
  .display-title { font-size: clamp(70px,10vw,115px); }
  .section-title { font-size: clamp(64px,8.2vw,105px); }
  .scene-index { right: 22px; }
  .detail-callout { display: none; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; padding: 20px 24px; }
  .wordmark { font-size: 12px; }
  .wordmark-symbol { width: 16px; height: 20px; }
  .primary-nav { display: none; }
  .header-contact { font-size: 10px; }
  .header-contact span { margin-left: 5px; }
  .scene-index { display: none; }
  .scene-index-rule { width: 24px; height: 1px; }
  .product-stage { width: min(78vw,48vh); }
  .scene { min-height: 100svh; align-items: flex-start; padding: 155px 24px 90px; }
  .scene-rail { top: 84px; left: 24px; right: 24px; font-size: 9px; }
  .scene-rail span:last-child { display: none; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .display-title { font-size: clamp(55px,14vw,92px); }
  .section-title { font-size: clamp(54px,12vw,88px); }
  .section-copy { max-width: 330px; margin-top: 20px; font-size: 14px; line-height: 1.52; }
  .intro-content, .form-content, .craft-content, .atmosphere-content, .final-content { width: 100%; max-width: none; margin-top: 0; }
  .scene-intro { min-height: 100svh; }
  .intro-content .display-title { white-space: normal; }
  .intro-description { max-width: 270px; margin-top: 22px; font-size: 14px; }
  .intro-aperture { width: 120vw; height: 140vw; top: 70%; right: -42vw; }
  .intro-side-note { display: none; }
  .scroll-invite { left: 24px; bottom: 30px; font-size: 9px; }
  .scroll-invite-line { width: 24px; }
  .form-coordinate { left: 24px; bottom: 8vh; gap: 13px; font-size: 8px; }
  .form-coordinate span:last-child { display: none; }
  .form-orbit { width: 95vw; top: 43%; right: -23vw; }
  .form-orbit-two { width: 125vw; top: 36%; right: -38vw; }
  .scene-craft { min-height: 110svh; }
  .craft-content .section-title { font-size: clamp(54px,11vw,85px); }
  .craft-footer { left: 24px; right: 24px; bottom: 34px; gap: 10px; font-size: 8px; }
  .scene-manifesto { align-items: flex-start; }
  .manifesto-type { top: 42%; left: -3vw; width: 106vw; font-size: clamp(70px,18vw,145px); }
  .manifesto-type .line-mask:nth-child(2) { padding-left: 10vw; }
  .manifesto-note { margin: 0; }
  .manifesto-heading { font-size: 42px; }
  .manifesto-note p:last-child { max-width: 230px; font-size: 13px; }
  .manifesto-vertical { display: none; }
  .scene-atmosphere { min-height: 112svh; }
  .atmosphere-content .section-title { font-size: clamp(50px,11vw,82px); }
  .atmosphere-content .section-copy { max-width: 265px; }
  .light-switcher { margin-top: 28px; gap: 0; }
  .mode-button { min-width: 0; padding: 12px 10px; font-size: 9px; }
  .mode-dot { width: 5px; height: 5px; }
  .room-caption { left: 24px; right: auto; bottom: 34px; align-items: flex-start; font-size: 8px; }
  .room-caption span:last-child { display: none; }
  .scene-final { min-height: 105svh; }
  .final-title { font-size: clamp(54px,12vw,89px); }
  .final-copy { max-width: 300px; margin-top: 20px; font-size: 14px; }
  .final-actions { gap: 16px; flex-wrap: wrap; margin-top: 25px; }
  .primary-button { min-width: 200px; padding: 17px 18px; }
  .secondary-link { font-size: 10px; }
  .site-footer { left: 24px; right: 24px; bottom: 25px; font-size: 8px; }
  .site-footer span:nth-child(2) { display: none; }
}

@media (max-width: 390px) {
  .wordmark { letter-spacing: .09em; }
  .display-title { font-size: 13.2vw; }
  .section-title { font-size: 11.2vw; }
  .final-title { font-size: 11.4vw; }
}

@media (max-width: 350px) {
  .header-contact { border-bottom: 0; padding-bottom: 0; font-size: 0; }
  .header-contact span { margin-left: 0; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal-line, .type-word, .reveal-item { transform: none !important; opacity: 1 !important; }
  .intro-aperture, .form-orbit { transform: none !important; opacity: 1 !important; }
  .room-backdrop { transform: none !important; }
  .product-stage { will-change: auto; }
}
