/* The device set stays still while the two screens share a single dissolve. */
:root {
  --plum: #291824;
  --paper: #f3ede4;
  --graphite: #33272d;
  --peach: #f0c3a1;
  --gutter: clamp(20px, 5vw, 88px);
}
body { background: var(--plum); }
.shell { width: min(1500px, calc(100% - 2 * var(--gutter))); }
.bar { min-height: 82px; }
.brand-lockup { width: clamp(144px, 14vw, 194px); }
.footer .brand-lockup { width: clamp(144px, 11.5vw, 164px); }
.eyebrow, .frame-bar {
  font: 600 .7rem/1.5 ui-monospace, monospace;
  letter-spacing: .13em;
}
.top-cta, .button { min-height: 46px; display: inline-flex; align-items: center; }
.hero {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(20px, 3vw, 64px);
  padding-block: clamp(50px, 6.5vw, 110px);
}
.hero h1 {
  font-size: clamp(4.1rem, 7.4vw, 8.5rem);
  line-height: .88;
  letter-spacing: -.055em;
  margin: .24em 0 .27em;
}
.hero h1 em { white-space: nowrap; }
.intro { font-size: clamp(1rem, 1.25vw, 1.24rem); line-height: 1.55; }
.device-feature { box-shadow: 0 24px 60px -24px #0c060bc7; }
.device-stage {
  background: #694654 url("brand/studio/device-set.webp?v=spiral") center / cover no-repeat;
  aspect-ratio: 1.58;
}
.device-stage::before, .device-stage::after { display: none; }
.device-laptop { width: 66%; left: 7.4%; bottom: 14%; }
.device-phone { right: 8%; bottom: 9%; width: 18.5%; }
#concepts {
  width: 100%;
  padding-inline: max(var(--gutter), calc((100vw - 1500px) / 2));
  color: var(--graphite);
  background: var(--paper);
  border-top: 0;
}
#concepts .eyebrow, #concepts .demo-list h3 { color: #795066; }
#concepts > h2, #work-title, #process > h2, #start h2 {
  font-size: clamp(3.65rem, 6.7vw, 8rem);
  line-height: .93;
  letter-spacing: -.047em;
}
#concepts .section-intro, #process .section-intro { max-width: 66ch; }
.featured-choices { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.6rem 0 .8rem; }
.featured-choices[hidden], .sample-control[hidden], .district-image[hidden] { display: none; }
.featured-choices button, .district-buttons button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid #c4b5ad;
  background: transparent;
  color: #402e38;
  min-height: 44px;
  padding: .35rem .85rem .35rem .35rem;
  cursor: pointer;
  font: 600 .85rem/1.2 system-ui, sans-serif;
}
.featured-choices button[aria-pressed=true], .district-buttons button[aria-pressed=true] {
  background: var(--plum); color: var(--paper); border-color: var(--plum);
}
.featured-choices img { width: 34px; height: 34px; object-fit: cover; }
.featured-choices [data-feature=afterlight] img { background: #553a2d; object-fit: contain; }
#concepts button:focus-visible, .sample-control input:focus-visible {
  outline: 2px solid #95602f;
  outline-offset: 2px;
}
.showroom { grid-template-columns: minmax(0, 1.9fr) minmax(265px, 1fr); gap: clamp(22px, 3.2vw, 62px); }
.screen { border: 1px solid #ac9b94; background: #f9f5ed; color: var(--graphite); scroll-margin-top: 12px; }
.frame-bar { color: #624556; border-bottom: 1px solid #cbbfb4; text-transform: uppercase; }
.lights { color: #875e6e; }
.demo-screen { aspect-ratio: 1.8; position: relative; }
.sample { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.sample-caption { position: absolute; z-index: 2; left: 6%; bottom: 8%; pointer-events: none; }
.sample-caption span { font: 600 clamp(.56rem,.8vw,.77rem)/1.3 ui-monospace,monospace; text-transform: uppercase; letter-spacing: .13em; }
.sample-caption h3 { color: inherit; font: 400 clamp(3.1rem,5.9vw,8.1rem)/1 var(--serif); letter-spacing: -.045em; margin-top: .07em; }
.sample-pendant { color: #ffe8d3; background: #392824; }
.sample-pendant::before {
  content: ''; position: absolute; inset: 0;
  opacity: calc(.22 + var(--lamp) * .78);
  background: radial-gradient(ellipse at 71% 54%, #ab6b46, #6a3c2e 41%, #392624 85%);
}
.sample-glass { position: absolute; left: 43%; top: 0; width: 53%; height: 93%; }
.sample-glass img { position: absolute; inset: 0; object-fit: contain; object-position: center top; }
.sample-glass .lit-glass { opacity: var(--lamp); }
.sample-meadow, .sample-district { color: white; background: #26382f; }
.sample-meadow .landscape, .district-image { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.print-layer { clip-path: inset(0 0 0 var(--print-edge)); }
.sample-meadow::after, .sample-district::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, #111b18a6, transparent 60%);
  pointer-events: none;
}
.sample-control { min-height: 60px; display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; border-bottom: 1px solid #d9ccc2; }
.control-name { font-weight: 600; font-size: .86rem; }
.sample-control input { flex: 1; max-width: 380px; min-width: 55px; min-height: 40px; accent-color: #75475a; cursor: ew-resize; }
.sample-control output { min-width: 4ch; font: .75rem ui-monospace, monospace; }
.district-buttons { display: flex; gap: .4rem; flex-wrap: wrap; }
.district-buttons button { padding-inline: .75rem; border: 0; }
.screen-footer { min-height: 60px; padding: .55rem 1rem; }
.screen-footer .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.quiet-button { font-size: .8rem; min-height: 40px; }
.demo-list { max-height: clamp(420px, 42vw, 640px); }
.demo-list h3 { font: 600 .69rem/1.5 ui-monospace, monospace; letter-spacing: .11em; }
.demo-choice { border-color: #c9b8af; }
.demo-choice small { color: #63575e; }
.demo-choice:is(:hover,[aria-current=true]) { background: #e2d2c7; }
.demo-choice[aria-current=true] { box-shadow: inset 3px 0 #73415a; }
.work-section { background: #392433; color: var(--paper); }
.work-section .eyebrow, .work-section .project-text p:not(.eyebrow) { color: #e2c5cd; }
.work-section .project-text h3 { font: 400 clamp(2.3rem,3.8vw,4.5rem)/1 var(--serif); }
#process { border-top: 0; }
.steps {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(18px,3vw,52px); counter-reset: step; margin-top: clamp(36px,5vw,80px);
}
.steps li { counter-increment: step; border-top: 1px solid #977383; padding-top: 16px; }
.steps li::before {
  display: block; content: counter(step, decimal-leading-zero);
  font: .72rem/1.2 ui-monospace,monospace; color: var(--peach); margin-bottom: 1.75rem;
}
.steps h3 { font: 400 clamp(1.85rem,2.6vw,3.25rem)/1.05 var(--serif); }
.steps p { max-width: 29ch; }
.steps::after { display: none; }
@media(max-width:900px) { .steps { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) {
  .steps { grid-template-columns:1fr; gap:0; }
  .steps li { padding:18px 0 20px 42px; position:relative; }
  .steps li::before { position:absolute; left:0; top:25px; }
}
#pricing { background: #f1ebe2; color: #33242c; }
.price-card.featured { background: #e8d7c8; }
#start { position: relative; isolation: isolate; background: #38212e; }
#start::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,#31202cee 4%,#31202cda 49%,#31202c42 95%),url("brand/studio/foil-detail.webp?v=spiral") right 47% / cover;
}
#start h2 { max-width: 16ch; }
@media (prefers-reduced-motion: no-preference) {
  .sample-caption { animation: sample-caption-in .38s ease-out both; }
  @keyframes sample-caption-in { from { opacity: .5; transform: translateY(12px); } }
  .steps li.scroll-in { animation: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .hero h1 { font-size: clamp(3.45rem,7.1vw,5rem); }
  .showroom { gap: 16px; }
}
@media (max-width: 760px) {
  .bar { min-height: 0; padding-block: 10px; }
  .bar nav { justify-content: space-between; gap: .65rem; }
  .bar nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.45rem 0 1.85rem; }
  .hero h1 { font-size: clamp(3.6rem,13.85vw,6.7rem); }
  .device-stage { aspect-ratio: 1.76; }
  .showroom { grid-template-columns: 1fr; gap: 1.65rem; }
  .featured-choices { gap: .3rem; flex-wrap: nowrap; }
  .featured-choices button { justify-content: center; flex: 1; padding-inline: .2rem; font-size: .78rem; gap: .3rem; }
  .featured-choices img { width: clamp(19px,5vw,30px); height: 27px; }
  .demo-list { max-height: 24rem; }
  .demo-screen { aspect-ratio: 1.42; }
  .sample-caption h3 { font-size: clamp(2.65rem,10vw,4.8rem); }
  .sample-control { gap: .5rem; padding-inline: .7rem; }
  .control-name { font-size: .76rem; }
  #concepts > h2, #work-title, #process > h2, #start h2 { font-size: clamp(3.05rem,10.9vw,5.5rem); }
  #start::before { background-position: 64% center; }
}

@media (max-width: 350px) {
  .bar .brand-lockup { width: 132px; }
}
