:root {
  --paper:#f6eee1;
  --copper:#f4b28f;
  --ink:#211e1d;
  --display:Georgia,"Times New Roman",serif;
  --hairline:rgb(244 230 210 / 29%);
}
body {background:var(--ink);color:var(--paper)}
.site-header {height:82px;padding-inline:4vw;background:linear-gradient(180deg,#15120fbb,transparent)}
.brand>img {width:57px}
.brand>span {font-size:17px}
.brand>span>span {font-size:7px}
.header-note {display:none}
.header-actions a,.header-proof a {font-size:11px;letter-spacing:.015em}
.header-actions .contact-link,.header-actions .static-link {border-radius:0}
.header-actions .contact-link {background:var(--paper);color:#272018;border:0}
.site-header .static-link,.header-proof .iso-proof {background:#211c1842;border-color:var(--hairline)}
.site-header .static-link span {color:var(--copper)}
h1,h2,footer h2 {font-family:var(--display);font-weight:400;letter-spacing:-.068em;line-height:.94}
h1 em,h2 em {font-weight:400;color:#f1c9ac}
.eyebrow {font-size:10px;letter-spacing:.17em;color:#f1b38f}
.room-body p {color:#f1e7d9}
.has-scene .room-body .eyebrow:before,footer .eyebrow:before {
 content:"";display:inline-block;height:1px;width:28px;margin-right:12px;vertical-align:middle;background:currentColor
}
.scene-vignette {background:linear-gradient(90deg,#1c1615d1, #21161021 50%,transparent 72%),linear-gradient(0deg,#15110ce0,transparent 37%)}
.has-scene:has(#work.is-active) .scene-vignette {background:linear-gradient(90deg,#160f0ee8,#181211b0 22%, transparent 57%),linear-gradient(0deg,#16110a80,transparent 22%)}
.has-scene #arrival h1,.has-scene #clients h2,.has-scene .delivery-body h2 {font-size:clamp(55px,6.9vw,110px);font-weight:400}
.entry-actions .enter-link,.text-button,.delivery-body .quiet-link {border-color:#e4b99a9e}
.entry-actions .enter-link {gap:30px;color:#fff6ea}
.entry-actions .enter-link span {color:var(--copper)}
.has-scene .project-entry h3 {font-family:var(--display);font-size:clamp(29px,2.8vw,50px);line-height:1.02;letter-spacing:-.05em}
.has-scene .project-choices button {border-color:#d4ba973d}
.has-scene .project-travel {border-color:var(--hairline)}
.has-scene .project-travel button {border-radius:0}
#next-project:not(:disabled) {background:var(--paper);color:var(--ink)}
.dialog-head h2,.render-dialog .dialog-head h2 {font-family:var(--display);font-size:clamp(33px,4vw,60px);letter-spacing:-.045em}
dialog {background:#f4ecde;color:#251e19}
.dialog-roster li {background:#fffaf2}
.dialog-note,.render-intro,.render-dialog figcaption {color:#58483e}
footer {background:radial-gradient(ellipse at 78% 115%,#69412d,transparent 67%),#201d1a;border-top:1px solid var(--hairline)}
footer h2 {font-size:clamp(54px,7.6vw,120px)}
.experience-status {color:#efe1d2}
@media (min-width:701px) {
 .has-scene .project-body {width:100%}
}
@media (min-width:901px) {
 .has-scene .room-body {left:5vw;bottom:19vh;max-width:min(49vw,690px)}
 .has-scene #clients .room-body {max-width:46vw}
 .has-scene .project-body {bottom:14vh;max-width:min(32vw,450px)}
 .has-scene .work-title {font-size:clamp(32px,3.5vw,57px);line-height:1}
 .project-choices {margin-top:15px}
 .has-scene .room-nav,.is-still .room-nav {
  top:auto;bottom:54px;left:5vw;right:5vw;gap:0;transform:none;
  padding:0!important;border:0;border-radius:0;backdrop-filter:none;background:none!important
 }
 .room-nav button {
  flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;
  border-top:1px solid #e8daca66;text-align:left;padding:10px 0 0;opacity:1;color:#e7dac9;
  background:linear-gradient(180deg,#17111039,transparent);font-size:11px;letter-spacing:.035em
 }
 .room-nav button span,.room-nav button[aria-pressed=true] span {
  width:auto;height:auto;border:0;background:none;color:#e0c8b2;font-size:9px;line-height:1.4
 }
 .room-nav button[aria-pressed=true] {border-top:2px solid #eaa67b;color:#fff6e7}
 .room-nav button[aria-pressed=true] span {color:#f5ac7d}
}
@media(max-width:900px) {
 .site-header {height:62px}
 .room-nav {background:#211e1df2!important}
 .has-scene .project-body {bottom:152px}
}
@media(max-width:700px) {
 .header-actions a,.header-proof a {font-size:10px}
 .brand>img {width:37px}
 .brand>span {font-size:13px}
 .brand>span>span {font-size:5px}
 .has-scene .room-body,.has-scene .project-body {background:#211e1df5;bottom:calc(81px + env(safe-area-inset-bottom));border-color:var(--hairline)}
 .has-scene #arrival h1,.has-scene #clients h2,.has-scene .delivery-body h2 {font-size:clamp(31px,10vw,49px);line-height:.98}
 .has-scene .project-entry h3 {font-size:clamp(21px,6vw,29px)}
 .has-scene .scene-vignette,.has-scene:has(#work.is-active) .scene-vignette {background:linear-gradient(0deg,#211e1d,transparent 17%)}
 .room-nav button[aria-pressed=true] span {background:#eecbab;color:#251e19}
}
@media(max-height:720px) and (min-width:901px) {
 .has-scene .project-body {bottom:106px}
 .has-scene .project-body .work-title {display:none}
 .has-scene .project-body .project-travel {margin-top:10px}
}
footer#contact {
 background-color:#201b18;
 background-image:linear-gradient(90deg,#191613 2%,#1d1714f5 24%,#211711ad 55%,#2117113b),
  url("assets/office-render-interior.webp");
 background-size:cover;background-position:center,right 46%;
}
footer#contact .email,footer#contact .phone {color:#fae8d5}
@media(max-width:700px) {
 footer#contact {
  background-image:linear-gradient(0deg,#1d1714fa 4%,#1d1714e8 56%,#1d17149c),
   url("assets/office-render-interior.webp")
 }
}
.study-model {display:inline-block;margin:0 0 0 16px;padding:5px 0;font-size:11px;border-bottom:1px solid #d7bfa16e;color:#f2c6a7}
.study-model span {margin-left:4px}
#model-study {width:min(980px,94vw);padding:0;border:1px solid #e6d2b366;color:#f6eddb;background:#201c1a;max-height:95svh;overflow:auto}
#model-study::backdrop {background:#13100ee8;backdrop-filter:blur(6px)}
.study-top,.study-bottom {display:flex;align-items:center;justify-content:space-between;padding:22px 4%;gap:20px}
.study-top .eyebrow {margin:0 0 8px;font-size:10px}
.study-top h2 {font-family:var(--display);font-size:clamp(25px,4vw,48px);line-height:1;letter-spacing:-.05em}
.study-close {font-size:26px;width:44px;height:44px;border:1px solid var(--hairline)}
.study-stage {position:relative;height:min(58svh,540px);background:radial-gradient(ellipse at 50% 67%,#65574a 0,#4e4238 29%,#382f2b 54%,#272320 88%);overflow:hidden}
.study-stage:before {content:"";position:absolute;inset:62% 21% 14%;background:#191411aa;filter:blur(22px);border-radius:50%}
.study-fallback,.study-mount,.study-mount canvas {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.study-mount canvas {touch-action:none;cursor:grab}
.study-mount canvas:active {cursor:grabbing}
.study-bottom {border-top:1px solid var(--hairline);font-size:12px}
.study-controls {display:flex;gap:5px}
.study-controls button {min-width:44px;min-height:44px;border:1px solid var(--hairline);padding:8px 12px}
@media(max-width:700px){.study-model{margin-left:12px}.study-top,.study-bottom{padding:12px 4%}.study-stage{height:43svh}}

@media(max-width:700px){
 .header-actions .static-link,.header-actions .contact-link {display:inline-flex;align-items:center;min-height:44px}
 .study-close,.study-controls button {min-height:44px}
 .has-scene .project-travel button {touch-action:manipulation}
}

@media (orientation:landscape) and (max-height:500px) and (max-width:1024px) {
 .site-header {height:50px;padding-inline:3vw;background:#211e1d}
 .header-proof {position:static;margin-left:auto;margin-right:14px}
 .header-actions {margin:0}
 .header-actions a {min-height:40px}
 .has-scene .spatial-stage {inset:50px 0 72px 39%;width:auto;height:auto}
 .has-scene .scene-vignette,.has-scene:has(#work.is-active) .scene-vignette {background:none}
 .has-scene .room-body,.has-scene .project-body,.has-scene #clients .room-body {
   inset:56px auto 72px 0;width:39%;max-width:none;max-height:none;margin:0;padding:5px 14px;
   box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;background:#211e1d;border:0
 }
 .has-scene #arrival h1,.has-scene #clients h2,.has-scene .delivery-body h2 {font-size:clamp(24px,3.9vw,35px);margin:4px 0}
 .has-scene .project-body .work-title,.has-scene .project-body>.eyebrow,.has-scene .project-choices,.has-scene .project-entry .eyebrow {display:none}
 .has-scene .project-entry h3 {font-size:clamp(20px,3vw,27px);margin:0;line-height:1.03}
 .has-scene .project-entry p,.has-scene .room-body>p {font-size:12px;line-height:1.35;margin:6px 0}
 .has-scene .project-body .project-travel {margin-top:7px;padding-top:5px}
 .has-scene .project-travel button {min-height:40px;padding:5px;font-size:10px}
 .has-scene .skip-delivery,.has-scene .project-body .quiet-link {display:inline-block;margin:4px 6px 0 0;padding:3px 0}
 .has-scene .room-nav,.is-still .room-nav {inset:auto 2vw 25px;flex-direction:row;padding:2px 8px!important}
 .room-nav button {min-height:39px;flex-direction:row;align-items:center;gap:7px}
 .experience-status {bottom:3px}
}
@media (prefers-reduced-motion: no-preference) {
  .has-scene .room-body { transition: opacity .14s ease-out, transform .14s ease-out; }
}
.project-travel[aria-busy="true"] button:not(:disabled) { opacity: 1; }
@media (max-width: 350px) {
  .site-header .brand { gap: 4px; }
  .site-header .brand > img { width: 28px; }
  .header-actions .static-link { padding-inline: 7px; }
}
@media (max-width: 350px) {
  .site-header { gap: 6px; }
  .header-actions .contact-link { white-space: nowrap; padding-inline: 6px; }
  .header-actions .contact-link span { display: none; }
}

/* The arriving visitor sees the actual entrance camera, in the canvas's final
   rectangle. Keep the pre-render beneath WebGL until the first draw succeeds. */
.entrance-frame { display: none; }
.has-scene .entrance-frame {
  display: block; position: absolute; inset: 0; overflow: hidden;
}
.entrance-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.has-scene .spatial-stage canvas { opacity: 0; }
html[data-scene-ready="true"] .has-scene .spatial-stage canvas { opacity: 1; }
html[data-scene-ready="true"] .entrance-frame { visibility: hidden; transition: visibility 0s linear .16s; }
@media (prefers-reduced-motion: no-preference) {
  .has-scene .spatial-stage canvas { transition: opacity .16s ease-out; }
}
body:not(.has-scene) .spatial-stage {
  background: center / cover no-repeat url("assets/office-render-entrance.webp");
}
@media (max-width: 700px) {
  body:not(.has-scene) .spatial-stage { background-image: url("assets/office-entry-phone.webp"); }
}
/* A deep link should show the chosen room while its geometry is streaming. */
html[data-entering]:not([data-room="0"]) .entrance-frame { display: none; }
html[data-entering]:not([data-room="0"]) .room-block.is-active .room-still {
  display: block; position: fixed; inset: 0; z-index: 0; opacity: .5;
}

.site-header .header-actions .static-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px 14px; background: #f7f0e2; border: 1px solid #f7f0e2;
  color: #2b251d; font-size: 14px; font-weight: 700; text-decoration: none;
}
.site-header .header-actions .static-link span { margin: 0; color: #884d2d; }
.site-header .header-actions .static-link:hover { background: #fffaf2; }
.site-header .header-actions .contact-link { color: #fff8eb; background: #28241ff2; border: 1px solid #c7bca9; }
.arrival-reasons { margin-top: 20px; padding: 8px 14px 10px; border-left: 2px solid #da9d75; color: #fff5e5; background: #231f1bcf; width: fit-content; max-width: 100%; }
#arrival .arrival-reasons h2 { font: 600 13px/1.4 Manrope,Arial,sans-serif; letter-spacing: .015em; margin: 0 0 4px; }
.arrival-reasons ul { list-style: none; margin: 0; padding: 0; }
.arrival-reasons li { margin: 0; line-height: 1.4; }
.arrival-reasons a { display: inline-block; font-size: 13px; padding-block: 2px; color: #fff2e1; }
.arrival-reasons a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .site-header .header-actions .static-link { padding-inline: 8px; gap: 4px; font-size: 13px; }
  .arrival-reasons { margin-top: 11px; padding-block: 4px; }
  .arrival-reasons a { font-size: 12px; }
}

@media (max-width:350px) {
  .site-header .header-actions .static-link { font-size: 12px; }
  .site-header .header-actions .static-link span { display: none; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .has-scene #arrival .room-body { bottom: 98px; max-height: calc(100svh - 194px); overflow-y: auto; }
  .has-scene #arrival .room-body > .eyebrow { margin-bottom: 9px; }
  .has-scene #arrival h1 { font-size: clamp(40px,8.5svh,62px); }
  .has-scene #arrival .room-body > p { margin-top: 10px; }
  .has-scene #arrival .entry-actions :is(a,button) { margin-top: 9px; }
  .has-scene #arrival .arrival-reasons { margin-top: 9px; }
}
