@import url('./assets/fonts/fonts.css');

:root {
  color-scheme: dark;
  --navy: #050b14;
  --navy-raised: #081525;
  --ivory: #f1ede5;
  --champagne: #d9bd8e;
  --muted: #8c9aa9;
  --line: #b9c6d51f;
  --sans: 'Manrope', Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --header: 100px;
  --viewer-header: 60px;
  --stage-scale: 1.08;
}
* { box-sizing: border-box; }
html { background: var(--navy); scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; color: var(--ivory); font: 400 13px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--champagne); outline-offset: 6px; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
svg { display: block; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 5.5vw; transition: opacity .3s; }
.brand-logo { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; text-align: left; min-height: 48px; }
.brand-symbol { display: block; width: 46px; height: 46px; flex: none; }
.brand-symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name { font: 500 10px/1.7 var(--sans); letter-spacing: 2.5px; color: #e8e6df; }
.brand-name span { display: block; font-size: 10px; letter-spacing: 4.3px; color: #929ea9; }
.nav-link { min-height: 44px; min-width: 44px; display: flex; align-items: center; gap: 17px; border: 0; padding: 0; background: none; font-size: 12px; letter-spacing: .1px; color: #d2d9df; }
.nav-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #c4d0dd31; border-radius: 50%; transition: background .25s, border-color .25s, transform .25s; }
.nav-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.nav-link:hover .nav-arrow { background: var(--champagne); border-color: var(--champagne); color: #08121f; transform: rotate(45deg); }
.eyebrow { display: block; font-size: 10px; font-weight: 500; letter-spacing: 1.7px; color: var(--champagne); }

/* Entrance composition; dimensional door geometry is defined in door-3d.css. */
.entrance { position: relative; isolation: isolate; overflow: hidden; height: 100svh; min-height: 720px; background: radial-gradient(ellipse 51% 67% at 50% 49%,#132333 0%,#091321 48%,#050b14 82%); }
.entrance-atmosphere { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 45% 27% at 50% 84%,#18314940,transparent 80%),linear-gradient(0deg,#03070e 0,transparent 30%); }
.entrance-atmosphere:after { content: ''; position: absolute; inset: 0; opacity: .13; background-image: repeating-linear-gradient(0deg,#fff1 0,transparent 1px,transparent 3px); background-size: 3px 3px; mix-blend-mode: soft-light; }
.entrance-copy { position: absolute; z-index: 5; left: 4%; right: 4%; top: 88px; text-align: center; pointer-events: none; transition: opacity .4s, transform .8s; }
.entrance-copy .eyebrow { font-size: 10px; letter-spacing: 1.6px; }
.entrance-copy h1 { font: 400 52px/1 var(--serif); letter-spacing: -.025em; margin: 7px 0 8px; white-space: nowrap; }
.entrance-copy h1 br { display: none; }
.entrance-copy h1 em { font-weight: 400; color: #d3dce3; }
.entrance-copy p { font-size: 12px; line-height: 1.6; color: #95a3b0; margin: 0; letter-spacing: .05px; }
.entrance-copy p br { display: none; }
.copy-rule,.entrance-index { display: none; }
.portal-stage { position: absolute; z-index: 2; left: 50%; top: 53%; width: 620px; height: 700px; transform: translate(-50%,-50%) scale(var(--stage-scale)); transform-origin: 50% 51%; }
.door-scene { width: 100%; height: 100%; position: relative; }
.light-fixture { position: absolute; width: 74px; height: 80px; top: 45px; z-index: 7; }
.fixture-left { left: 106px; --fixture-aim: -16deg; }
.fixture-right { right: 106px; --fixture-aim: 16deg; }
/* The flat wall plate stays upright. Its stem overlaps both the plate and the
   head pivot, so the angled spotlight has a visible physical attachment. */
.fixture-mount { position: absolute; top: -8px; left: 23px; width: 28px; height: 20px; border: 1px solid #68757b80; border-radius: 5px; background: radial-gradient(circle at 17% 50%,#0a1218 0 1px,#83908e 1.2px 1.7px,transparent 2px),radial-gradient(circle at 83% 50%,#0a1218 0 1px,#83908e 1.2px 1.7px,transparent 2px),linear-gradient(105deg,#14212a,#405056 45%,#1b2b34); box-shadow: 1px 2px 3px #000c,inset 0 1px 1px #b2bfba38; }
.fixture-mount:after { content: ''; display: block; position: absolute; left: 9px; top: 17px; width: 8px; height: 19px; border-radius: 2px; background: linear-gradient(90deg,#101519,#65736f 42%,#293b43 70%,#0c1116); box-shadow: 2px 1px 2px #0009; }
.fixture-body { position: absolute; top: 20px; left: 6px; width: 62px; height: 49px; border: 1px solid #7c837242; border-radius: 11px 11px 17px 17px; background: linear-gradient(90deg,#070c11 0,#26333c 16%,#465259 36%,#1d2b33 65%,#071016 96%); box-shadow: 5px 6px 8px #0009,inset 0 2px 2px #c2c9bc22; transform: rotate(var(--fixture-aim)); transform-origin: 31px -3px; }
.fixture-body:before { content: ''; position: absolute; inset: 7px 7px auto; height: 8px; border-top: 1px solid #a6b4af22; border-bottom: 1px solid #050a10aa; border-radius: 50%; }
.fixture-lens { position: absolute; top: 60px; left: 8px; width: 58px; height: 17px; border: 4px solid #0e171b; border-radius: 50%; background: radial-gradient(ellipse,#fff7d6 0,#f5daa2 45%,#a68043 85%); box-shadow: 0 0 7px #f4d9a099,0 5px 20px #ebce9b55,inset 0 1px 4px #fff2bb; transform: rotate(var(--fixture-aim)); transform-origin: 29px -43px; }
.light-beam { position: absolute; top: 114px; z-index: 4; width: 330px; height: 535px; transform-origin: 50% 0; clip-path: polygon(43% 0,57% 0,95% 100%,5% 100%); pointer-events: none; background: linear-gradient(180deg,#ffe9b93d 0,#f4d8a728 15%,#e5c99a10 55%,#dfc09103 100%); filter: blur(7px); opacity: .7; }
.beam-left { left: -17px; transform: rotate(-12deg); }
.beam-right { right: -17px; transform: rotate(12deg); }
.floor-horizon { position: absolute; width: 1320px; height: 1px; left: 50%; top: 643px; transform: translateX(-50%); background: linear-gradient(90deg,transparent,#afc4d10c 30%,#d6e5dd15 50%,#afc4d10c 70%,transparent); }
.floor-light { position: absolute; width: 670px; height: 100px; left: 50%; top: 611px; transform: translateX(-50%); background: radial-gradient(ellipse at 35% 50%,#ebd9b327 0,transparent 52%),radial-gradient(ellipse at 65% 50%,#dfc2931e 0,transparent 54%); filter: blur(10px); }
.door-shadow { position: absolute; left: 50%; top: 631px; width: 410px; height: 42px; transform: translateX(-50%) skewX(-23deg); background: radial-gradient(ellipse,#000b 0,#0008 25%,transparent 73%); filter: blur(4px); }
.door-frame { position: absolute; left: 169px; top: 100px; width: 282px; height: 546px; padding: 12px 12px 5px; background: linear-gradient(100deg,#8b928f 0,#d4d5c9 3%,#f3ebd7 6%,#c7c9bc 7%,#dbdbc9 93%,#a1aa9e 95%,#e5e0ca 98%,#737e75); border: 1px solid #d3d6c550; border-radius: 2px 2px 0 0; perspective: 1200px; box-shadow: -7px 2px 3px #01050a95,-18px 10px 35px #0009,18px 8px 36px #000b,inset 0 2px 1px #fff2cf70; }
.door-frame:before { content: ''; position: absolute; inset: 10px 10px 0; background: #030910; box-shadow: inset 2px 2px 3px #000; }
.door-frame:after { content: ''; position: absolute; z-index: 8; bottom: -3px; left: -4px; right: -4px; height: 7px; background: linear-gradient(#a8b0a3,#b8bead 30%,#4c5b58 55%,#172326); box-shadow: 0 4px 5px #0009; pointer-events: none; }
.door { display: block; position: relative; width: 100%; height: 100%; margin: 0; border: 0; padding: 0; border-radius: 0; appearance: none; background-color: #d8d8cc; background-image: radial-gradient(ellipse 90% 67% at 13% 0,#ffe8b42e,transparent 74%),radial-gradient(ellipse 90% 67% at 92% 3%,#f5dfad24,transparent 70%),linear-gradient(180deg,transparent 50%,#07182924),url('./assets/door-realistic.png'); background-size: 100% 100%; background-position: center; transform-origin: 0 50%; transition: transform 1.25s cubic-bezier(.55,.03,.26,1); box-shadow: 1px 1px 2px #000d,inset 1px 0 1px #fff6,inset -1px -1px 2px #17231b8c; touch-action: pan-y; }
.door:focus-visible { outline-offset: 8px; }
.door-caption { position: absolute; z-index: 5; top: 676px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #b8c3cc; font-size: calc(12px / var(--stage-scale)); letter-spacing: .1px; transition: opacity .3s; }
.caption-mark { width: 5px; height: 5px; background: #d7bd8c; border-radius: 50%; box-shadow: 0 0 9px #d7bd8c6e; }
.door-caption svg { width: 15px; height: 15px; fill: none; stroke: var(--champagne); stroke-width: 1; margin-left: 5px; }
.entrance-footer { position: absolute; bottom: max(21px,env(safe-area-inset-bottom)); left: 5.5vw; right: 5.5vw; display: flex; justify-content: space-between; align-items: center; color: #637789; font-size: 10px; letter-spacing: .7px; transition: opacity .3s; }
.entrance-footer i { font-style: normal; margin-left: 12px; color: #bfa985; font-size: 14px; }

/* The 3D scene stays opaque. A separate veil covers the view change. */
.door-scene.opening .door-caption { opacity: 0; }
body.portal-transition { overflow: hidden; }
body.portal-transition .site-header { opacity: 0; pointer-events: none; }
body.portal-transition .portfolio { position: relative; z-index: 0; }
.entrance.entering { pointer-events: none; }
.entrance.entering .entrance-copy { opacity: 0; transform: translateY(-15px); }
.entrance.entering .entrance-footer { opacity: 0; }
/* Near trim and the distant room use different camera depths. The leaf is
   fully at rest before the flat foreground rig advances. */
.camera-rig { position:absolute; inset:0; z-index:2; transform:scale(1); transform-origin:50% 50%; will-change:transform; }
.interior-viewport { position:absolute; inset:0; z-index:1; overflow:hidden; pointer-events:none; }
.interior-viewport svg { display:block; width:100%; height:100%; }
.entrance.advancing .light-beam,.entrance.advancing .floor-light,.entrance.advancing .door-shadow { opacity:0; transition:opacity .24s; }
.transition-veil { position:fixed; z-index:60; inset:0; background:var(--navy); opacity:0; pointer-events:none; transition:opacity .32s ease; }
.transition-veil.is-covered { opacity:1; transition-duration:.28s; }
.portal-stage,.door-frame .door { will-change:transform; }

/* Compact project gallery; images are renders of the actual scene geometry. */
.portfolio { position: relative; min-height: 100svh; max-width: 1600px; margin: 0 auto; padding: calc(var(--header) + 38px) 5.5vw 30px; background: radial-gradient(ellipse 80% 30% at 50% 0,#10203770,transparent 90%); }
.portfolio-heading { display: flex; justify-content: space-between; gap: 35px; align-items: flex-end; margin-bottom: 35px; }
.portfolio-heading h1 { font: 400 60px/.93 var(--serif); letter-spacing: -.025em; margin: 16px 0 0; }
.portfolio-heading h1 em { font-weight: 400; color: #c3d1dc; }
.portfolio-heading h1:focus { outline: none; }
.portfolio-intro { padding-bottom: 4px; }
.collection-count { display: flex; gap: 11px; align-items: center; color: var(--champagne); font-size: 10px; letter-spacing: 1.2px; }
.collection-count i { width: 27px; height: 1px; background: #d9bd8e52; }
.portfolio-intro p { color: #8f9eac; font-size: 12px; line-height: 1.8; margin: 15px 0 0; }
.collection-divider { display: flex; justify-content: space-between; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: #8b9bad; font-size: 10px; letter-spacing: 1.2px; }
.collection-divider>span:last-child { font-size: 18px; line-height: 1; color: #bfa884; }
.project-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 25px; row-gap: 27px; padding-top: 23px; }
.project-item { min-width: 0; position: relative; padding-bottom: 18px; border-bottom: 1px solid #aebed120; }
.project-row { display: grid; grid-template-columns: minmax(0,1fr) 44px; column-gap: 10px; row-gap: 15px; width: 100%; padding: 0; border: 0; background: none; text-align: left; text-decoration: none; color: inherit; }
.project-thumb { position: relative; display: block; grid-column: 1/-1; width: 100%; height: 165px; overflow: hidden; background: linear-gradient(135deg,#14283b,#081523); border: 1px solid #c2cfda26; isolation: isolate; transition: border-color .4s; }
.project-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.project-thumb:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#03132312 5%,transparent 42%,#03132355 100%); box-shadow: inset 0 0 28px #06132425; }
.thumb-label { position: absolute; z-index: 2; top: 12px; left: 12px; font: 500 9px/1 var(--sans); letter-spacing: 1.4px; color: #edf1f5; text-shadow: 0 1px 4px #000; }
.project-copy { display: block; min-width: 0; }
.project-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; }
.project-number { font-size: 10px; color: var(--champagne); font-weight: 500; letter-spacing: .5px; }
.project-category { font-size: 10px; color: #8fa0b2; letter-spacing: .1px; }
.project-title { display: block; font: 500 30px/1.05 var(--serif); letter-spacing: -.01em; color: #e9eef1; transition: color .3s; }
.project-desc { display: block; font: 400 12px/1.7 var(--sans); color: #899bad; margin-top: 9px; }
.project-arrow { display: grid; place-items: center; align-self: center; justify-self: end; position: relative; width: 44px; height: 44px; color: #c0aa87; }
.project-arrow:before { content: ''; position: absolute; inset: 4px; border: 1px solid #b6c4d439; border-radius: 50%; transition: background .3s,border-color .3s; }
.project-arrow svg { position: relative; width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.3; fill: none; transition: transform .35s,color .3s; }
.project-row:hover .project-thumb { border-color: #bfa98277; }
.project-row:hover .project-image { transform: scale(1.035); }
.project-row:hover .project-arrow:before { background: var(--champagne); border-color: var(--champagne); }
.project-row:hover .project-arrow svg { color: #071422; transform: rotate(45deg); }
.project-row:hover .project-title { color: #f0d8b3; }
.project-row:focus-visible { outline-offset: 7px; }
.project-review { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 0 0; margin: 1px 0 -7px; background: transparent; border: 0; color: #bba683; font-size: 11px; letter-spacing: .1px; text-decoration: none; }
.project-review:hover { color: #efd5ae; }
.review-arrow { display: inline-flex; align-items: center; flex: none; }
.review-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.portfolio-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 36px; padding-top: 21px; border-top: 1px solid #b9c6d51c; }
.portfolio-footer>span { font-size: 10px; letter-spacing: 1.4px; color: #c4cbd0; }
.portfolio-footer>span>span { display: block; color: #697f94; font-size: 10px; letter-spacing: .1px; margin-top: 7px; }
.text-link { border: 0; padding: 12px 0; background: none; color: #bfa986; font-size: 12px; }
.text-link span { display: inline-block; margin-left: 12px; font-size: 16px; transition: transform .3s; }
.text-link:hover span { transform: translate(3px,-3px); }

/* The selected demo is isolated beneath a stable header. */
.viewer { position: fixed; z-index: 50; inset: 0; height: 100svh; overflow: hidden; background: #050c17; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: calc(var(--viewer-header) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 22px 0; background: #081322; border-bottom: 1px solid #b7c3d521; }
.back-button,.fullscreen-button { display: flex; align-items: center; gap: 12px; border: 0; min-height: 44px; padding: 10px 0; background: none; font-size: 12px; color: #d4dce4; }
.back-button>span:first-child { font-size: 20px; color: var(--champagne); }
.fullscreen-button { padding: 10px; flex: none; }
.frame-host { width: 100%; height: calc(100% - var(--viewer-header) - env(safe-area-inset-top)); }
.frame-host iframe { display: block; border: 0; width: 100%; height: 100%; background: #081323; }
.loading { position: absolute; z-index: 2; inset: calc(var(--viewer-header) + env(safe-area-inset-top)) 0 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 25px; background: radial-gradient(ellipse at 50% 42%,#142b41,#070f1d 65%); }
.loading p { font: 400 27px/1.25 var(--serif); max-width: 440px; margin: 18px 0 0; text-align: center; color: #e0e8ec; }
.loading .eyebrow { font-size: 10px; }
.loading-door { width: 43px; height: 65px; border: 1px solid #d1b78962; margin-bottom: 30px; perspective: 100px; padding: 3px 3px 0; background: #13283a; }
.loading-door i { display: block; width: 100%; height: 100%; background: #d9cfb6; transform-origin: left; animation: loading-door 2s ease-in-out infinite; }
.retry-button { border: 1px solid #c0a47566; background: #142a3e; color: #e8deca; padding: 13px 18px; margin-top: 29px; font-size: 12px; }
.retry-button span { margin-left: 20px; }
.loading.failed .loading-door i { animation: none; transform: rotateY(-35deg); }
.sr-only { position: absolute; top:0; left:0; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { position: fixed; z-index: 100; inset: auto 20px 20px; padding: 20px; background: #eee5d4; color: #071423; }
@keyframes loading-door { 0%,100% { transform: rotateY(0); opacity: .6; } 50% { transform: rotateY(-65deg); opacity: 1; } }

@media (max-width: 1099px) {
  .project-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
  .project-thumb { height: 175px; }
}
@media (max-height: 850px) and (min-width: 700px) {
  :root { --stage-scale: .96; }
  .entrance { min-height: 700px; }
  .entrance-copy { top: 78px; }
  .entrance-copy h1 { font-size: 48px; }
}
@media (max-height: 770px) and (min-width: 700px) {
  :root { --stage-scale: .86; }
  .portal-stage { top: 55%; }
  .entrance-copy h1 { font-size: 44px; }
  .entrance-copy .eyebrow { font-size: 9px; }
}
@media (max-width: 699px) {
  :root { --header: 88px; --stage-scale: .86; }
  .site-header { padding: 17px 22px; gap: 12px; }
  .brand-symbol { width: 38px; height: 38px; }
  .brand-logo { gap: 8px; min-height: 44px; }
  .brand-name { font-size: 10px; letter-spacing: 1.5px; }
  .brand-name span { font-size: 10px; letter-spacing: 3.15px; }
  .nav-link>span:first-child { display: none; }
  .nav-arrow { width: 38px; height: 38px; }
  .entrance { min-height: 700px; }
  .entrance-copy { top: 95px; left: 15px; right: 15px; }
  .entrance-copy .eyebrow { font-size: 9px; letter-spacing: 1.25px; }
  .entrance-copy h1 { font-size: 38px; line-height: 1.1; margin: 8px 0 10px; }
  .entrance-copy p { font-size: 12px; letter-spacing: 0; }
  .portal-stage { top: 56%; }
  .fixture-left { left: 115px; }
  .fixture-right { right: 115px; }
  .beam-left { left: -8px; }
  .beam-right { right: -8px; }
  .entrance-footer { justify-content: center; bottom: max(18px,env(safe-area-inset-bottom)); left: 15px; right: 15px; font-size: 9px; letter-spacing: .65px; }
  .entrance-footer>span:last-child { display: none; }
  .portfolio { padding: calc(var(--header) + 20px) 22px 25px; }
  .portfolio-heading { display: block; margin-bottom: 24px; }
  .portfolio-heading .eyebrow { font-size: 10px; letter-spacing: 1.2px; }
  .portfolio-heading h1 { font-size: 44px; line-height: .95; margin-top: 13px; }
  .portfolio-intro { margin-top: 18px; }
  .collection-count { font-size: 10px; letter-spacing: 1px; }
  .portfolio-intro p { font-size: 12px; line-height: 1.7; margin-top: 11px; max-width: 350px; }
  .portfolio-intro p br { display: none; }
  .collection-divider { font-size: 10px; letter-spacing: 1px; padding-bottom: 10px; }
  .project-list { grid-template-columns: minmax(0,1fr); gap: 22px; padding-top: 18px; }
  .project-item { padding-bottom: 16px; }
  .project-thumb { height: 155px; }
  .project-row { gap: 13px 10px; }
  .project-title { font-size: 25px; line-height: 1.08; }
  .project-kicker { gap: 6px 10px; margin-bottom: 7px; }
  .project-category,.project-number { font-size: 10px; }
  .project-desc { font-size: 12px; line-height: 1.65; margin-top: 7px; }
  .project-review { min-height: 44px; margin-top: 0; font-size: 11px; }
  .thumb-label { font-size: 9px; top: 11px; left: 12px; }
  .portfolio-footer { margin-top: 28px; align-items: flex-end; gap: 16px; padding-top: 18px; }
  .portfolio-footer>span { font-size: 9px; letter-spacing: 1px; }
  .portfolio-footer>span>span { font-size: 10px; letter-spacing: 0; max-width: 175px; }
  .text-link { font-size: 11px; white-space: nowrap; }
  .text-link span { margin-left: 8px; }
  .viewer-header { padding-left: 14px; padding-right: 9px; gap: 12px; }
  .back-button { font-size: 11px; gap: 8px; }
  .loading p { font-size: 25px; }
}
@media (max-width: 699px) and (max-height: 790px) {
  :root { --stage-scale: .75; }
  .entrance-copy { top: 89px; }
  .entrance-copy h1 { font-size: 36px; margin-bottom: 8px; }
  .portal-stage { top: 56%; }
}
@media (max-width: 699px) and (max-height: 700px) {
  :root { --stage-scale: .66; }
  .entrance { min-height: 620px; }
  .entrance-copy { top: 81px; }
  .entrance-copy .eyebrow { font-size: 8px; letter-spacing: .9px; }
  .entrance-copy h1 { font-size: 32px; margin-top: 6px; margin-bottom: 7px; }
  .entrance-copy p { font-size: 11px; }
  .entrance-footer { display: none; }
}
@media (max-width: 360px) {
  .site-header { padding-left: 17px; padding-right: 17px; }
  .entrance-copy h1 { font-size: 34px; }
  .entrance-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .entrance-copy p { font-size: 11px; }
  .portfolio { padding-left: 18px; padding-right: 18px; }
}
@media (max-height: 550px) and (orientation: landscape) {
  :root { --header: 62px; --stage-scale: .43; }
  .site-header { height: 62px; padding: 10px 5vw; }
  .brand-symbol { width: 32px; height: 32px; }
  .brand-logo { min-height: 40px; }
  .brand-name { font-size: 9px; }
  .brand-name span { font-size: 9px; }
  .entrance { height: 100svh; min-height: 375px; }
  .entrance-copy { top: 66px; left: 10%; right: 10%; }
  .entrance-copy .eyebrow,.entrance-copy p { display: none; }
  .entrance-copy h1 { font-size: 29px; margin: 0; }
  .portal-stage { left: 50%; top: 53%; }
  .entrance-footer { display: none; }
  .portfolio { padding-top: 82px; }
  .portfolio-heading h1 { font-size: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*:before,*:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  }

/* The entrance is the door: no navigation bar or reserved header space.
   portal-camera.js fits lamps, frame and caption as one responsive assembly. */
.entrance { height: 100svh; height: 100dvh; min-height: 0; }
.entrance-copy { top: max(25px, env(safe-area-inset-top, 0px)); }
.entrance-copy h1 { font-size: clamp(34px, 5.2vw, 56px); }
.entrance-index { display: none; }
@media (max-width: 699px) {
  .entrance-copy { top: max(22px, env(safe-area-inset-top, 0px)); }
  .entrance-copy h1 { font-size: clamp(34px, 9.6vw, 46px); margin: 8px 0; }
}
@media (max-height: 550px) and (orientation: landscape) {
  .entrance-copy { top: max(14px, env(safe-area-inset-top, 0px)); }
  .entrance-copy h1 { font-size: 29px; margin: 0; }
}
@media (max-height: 350px) and (orientation: landscape) {
  .door-caption { font-size: calc(10px / var(--stage-scale)); gap: 6px; }
}
