@font-face {
  font-family: Outfit;
  src: url("assets/outfit-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #192f40;
  --muted: #476172;
  --ivory: #fbf7ef;
  --line: #6a859344;
  --pad: clamp(22px, 6vw, 100px);
  --space: clamp(66px, 8vw, 135px);
}
*, *::before, *::after { box-sizing: border-box; }
/* Paint the iOS safe area with the page instead of an inferred sky-colored inset. */
html { scroll-behavior: smooth; scroll-padding-top: 20px; background-color:#101e2b; }
body { margin: 0; background: #101e2b; color: var(--ink); font: 400 17px/1.52 Outfit, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.3vw, 72px); letter-spacing: -.045em; line-height: 1.04; }
h3 { font-size: clamp(25px, 2.1vw, 36px); letter-spacing: -.035em; line-height: 1.16; }
p { line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible,button:focus-visible { outline: 3px solid #82c4ff; outline-offset: 4px; }
.shell { width: min(calc(100% - 2 * var(--pad)), 1380px); margin-inline: auto; }
header,nav,.actions,footer { display: flex; align-items: center; }
header,footer { justify-content: space-between; }
nav { gap: 30px; }
.wordmark { font-size: 32px; line-height: 1; letter-spacing: -.065em; font-weight: 550; }
.nav-contact { border: 1px solid; }
.button { border: 1px solid transparent; border-radius: 100px; font-size: 15px; font-weight: 500; padding: 12px 25px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: #1b3143; background: var(--ivory); }
.primary:hover { background: white; }
.secondary { background: #12283b44; border-color: #ffffff78; color: white; }
.secondary:hover { background: #12283b88; }

.capture-band { background: linear-gradient(155deg,#101d29 10%,#20394e 95%); color: var(--ivory); }
.how,.method-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px,8vw,138px); align-items: center; padding-block: var(--space); }
.input-copy h2 { max-width: 12ch; }
.input-copy p,.method-inner p { margin-top: 20px; max-width: 37ch; font-size: clamp(16px,1.35vw,21px); font-weight: 350; }
.input-copy p { color: #d4dfe6; }
.slot { position: relative; overflow: hidden; isolation: isolate; border-radius: 6px; }
.slot figcaption { position: absolute; bottom: 15px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 8px; color: #e4ebf0; font-size: 13px; }
.slot small { font: inherit; }
.input-frame { aspect-ratio: 1.87; background: radial-gradient(ellipse at 66% 100%,#748fa4 0%,#39556d 50%,#203346 100%); border: 1px solid #b3c4d346; }
.phone { position: absolute; height: 72%; aspect-ratio: 9/17; top: 10%; left: 50%; transform: translateX(-50%) rotate(7deg); border: 3px solid #8a9da9; border-radius: 15px; background: linear-gradient(158deg,#203951 15%,#7997af 70%,#dfc4ac); box-shadow: inset 0 0 0 3px #233848, 8px 12px 24px #0e253844; }
.phone i { display: block; height: 4px; width: 28%; background: #1a2c38; border-radius: 4px; margin: 8px auto; }
.media-band { background: #eff2f1; }
.outputs { padding-block: var(--space); }
.outputs > h2 { padding-bottom: clamp(24px,3vw,45px); border-bottom: 1px solid var(--line); }
.photos > div:first-child { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 30px; margin: 32px 0 24px; }
.deliverable p { color: var(--muted); max-width: 43ch; }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(8px,1vw,16px); }
.pic { aspect-ratio: 4/3; background: linear-gradient(156deg,#374e68 0%,#8da6b7 64%,#c5c0b2 100%); }
.pic:nth-child(2) { background: linear-gradient(158deg,#687e96,#b4c7ca 72%,#e1cdbb); }
.pic:nth-child(3) { background: linear-gradient(148deg,#354f65,#8296a6 60%,#b4ada4); }
.pic:nth-child(4) { background: linear-gradient(160deg,#8291a1,#b6c0c5 65%,#dbc8b2); }
.pic::after { content: ""; position: absolute; inset: 12%; border: 1px solid #f5f3ea66; }
.duo { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,3vw,48px); padding-top: clamp(38px,5vw,80px); }
.duo figure { aspect-ratio: 2; display: grid; place-items: center; margin-bottom: 20px; }
.duo p { margin-top: 9px; }
.tour { background: radial-gradient(ellipse at 70% 80%,#7190a6,#3d566d 65%,#2d4257); }
.plan { width: 37%; height: 32%; transform: skewY(-13deg) rotate(4deg); border: 1px solid #e7f0edaa; background: linear-gradient(90deg,transparent 58%,#dfe6e6ab 58% 59%,transparent 59%),linear-gradient(0deg,transparent 37%,#dfe6e6ab 37% 39%,transparent 39%); box-shadow: 2px 4px #6c8898,3px 5px #dbe4e6; }
.social { background: linear-gradient(145deg,#2a4058,#536779 65%,#9b8e81); }
.filmstrip { display: flex; width: 45%; height: 45%; gap: 7px; transform: rotate(-6deg); }
.filmstrip i { flex: 1; border: 1px solid #d6e3e699; border-radius: 4px; background: linear-gradient(165deg,#ced3ca0a,#cbdadb33); }
.filmstrip i:nth-child(2) { transform: translateY(-9%); }
#method { background: #dce5e9; }
.method-inner { grid-template-columns: 1.1fr .9fr; }
.method-inner p { color: #3c5362; }
.scan { aspect-ratio: 1.8; background: radial-gradient(ellipse at 50% 85%,#35566b,#152c3c 80%); }
.scan div { position: absolute; inset: 16% 19% 22%; transform: skewY(-11deg); background-image: radial-gradient(#c8dbde 1px,transparent 1.2px); background-size: 6px 6px; mask-image: linear-gradient(130deg,transparent,#000 27% 70%,transparent); }
.closing-band { background: radial-gradient(ellipse at 75% 110%,#647f92 0%,#324e66 48%,#1c3247 95%); color: var(--ivory); }
.contact { padding-block: var(--space); text-align: center; }
.actions { justify-content: center; gap: 10px; margin-top: 28px; }
#notice { min-height: 1.6em; font-size: 14px; padding-top: 10px; color: #e8eef3; }
footer { padding-block: 23px; padding-bottom:max(23px,env(safe-area-inset-bottom)); font-size: 14px; color: var(--ivory); }
footer a:hover { color: #cedde8; }
@media(max-width:760px) {
  .how,.method-inner,.duo,.photos > div:first-child { grid-template-columns: 1fr; }
  .photos > div:first-child { gap: 10px; }
  .how,.method-inner { gap: 26px; }
  .method-inner > div { grid-row: 1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .duo { gap: 34px; }
  .input-frame { aspect-ratio: 1.6; }
}
@media(max-width:500px) { header nav a:first-child { display:none; } }
.sunset { position:relative; height:220svh; background:#092131; }
.hero-viewport { height:100svh; position:sticky; top:0; overflow:hidden; isolation:isolate; color:white; background:linear-gradient(var(--day-zenith),var(--day-sky) 38%); }
.hero-viewport {
  --day-zenith:#247acc;
  --day-sky:#79a5d0;
  --sky-top:color-mix(in srgb,#658ca9,#091a36 var(--night-sky,0%));
  --sky-edge:color-mix(in srgb,#91b2cb,#102c51 var(--night-sky,0%));
}
.hero-viewport::before { content:""; position:absolute; inset:0; background:linear-gradient(var(--sky-top),var(--sky-edge)); opacity:var(--sunset-progress,0); }
.scenery { position:absolute; inset:auto 0 0; height:min(79%,65vw); mask-image:linear-gradient(transparent,#000 14%); }
.scene-frames { position:absolute; inset:0; }
.scenery img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:78% 70%; }
.departing { opacity:var(--sunset-progress,0); }
.handshake { opacity:var(--handshake,0); }
.nightfall { opacity:var(--night,0); }
.sky-shade { position:absolute; inset:0; background:linear-gradient(180deg,#03131f75,#05172648 35%,transparent 61%,#0410191c); pointer-events:none; }
.floating-nav { position:absolute; top:clamp(12px,2.5svh,25px); left:50%; transform:translateX(-50%); width:min(760px,calc(100% - 36px)); min-height:0; padding:7px 9px 7px 22px; border:1px solid #e0ecec57; border-radius:100px; background:#081b2875; backdrop-filter:blur(12px); }
.floating-nav .wordmark { font-size:30px; font-weight:500; letter-spacing:-.07em; }
.floating-nav nav { font-size:13px; gap:clamp(16px,3vw,36px); }
.floating-nav nav a:hover { color:#e8d7be; }
.floating-nav .nav-contact { border-color:#ffffff4a; padding:6px 14px; border-radius:99px; }
.sky-copy { position:absolute; top:clamp(83px,13svh,160px); width:100%; text-align:center; padding:0 20px; text-shadow:0 2px 16px #071b2940; }
.sky-copy h1 { font:400 clamp(48px,min(5.8vw,8.7svh),100px)/.99 Outfit,Arial,sans-serif; letter-spacing:-.05em; }

.sky-copy p { font-size:clamp(14px,1.14vw,19px); line-height:1.42; color:#fff; max-width:49ch; margin:clamp(12px,2svh,22px) auto 0; text-wrap:balance; }
.hero-cta { display:inline-flex; align-items:center; gap:15px; margin-top:clamp(12px,2svh,22px); border:1px solid transparent; border-radius:99px; color:#1b3143; background:var(--ivory); padding:9px 18px; font-size:13px; font-weight:600; }
.hero-cta:hover { background:white; }
@media (min-width:960px) and (min-aspect-ratio:4/5) {
  .sky-copy { top:clamp(80px,10svh,135px); }
  .sky-copy h1 { font-size:clamp(44px,min(5.3vw,8.5svh),92px); }
  .sky-copy h1 br { display:none; }
}
@media (min-width:960px) and (min-height:650px) {
  .hero-viewport {
    --sky-edge:color-mix(in srgb,#8eabc4,#112e54 var(--night-sky,0%));
    background:linear-gradient(var(--day-zenith),var(--day-sky) 34%);
  }
  .hero-viewport::before {
    background:linear-gradient(var(--sky-top),transparent 34%),
      linear-gradient(90deg,color-mix(in srgb,#a0b5c6,#0d2848 var(--night-sky,0%)),var(--sky-edge) 70%);
  }
  .scenery { height:69svh; mask-image:linear-gradient(transparent,#000 5%); }
  .scenery img { object-position:center 80%; }
}
@media (max-aspect-ratio:4/5) {
  .scenery { height:min(57svh,69vw); mask-image:linear-gradient(transparent,#000 16%); }
  .sky-copy { top:clamp(86px,14svh,180px); }
  .sky-copy h1 { font-size:clamp(35px,8.9vw,70px); }
  .sky-copy p { max-width:36ch; }
}
@media (min-aspect-ratio:2/1) {
  .scenery { height:90%; }
  .scenery img { object-position:78% 82%; }
}
@media (max-height:520px) and (min-aspect-ratio:4/5) {
  .scenery img { object-position:78% 82%; }
  .sky-copy { top:65px; }
  .sky-copy h1 { font-size:clamp(28px,7.8svh,41px); }
  .sky-copy h1 br { display:none; }
  .sky-copy p { margin-top:7px; font-size:12px; }
  .hero-cta { margin-top:7px; padding:5px 12px; }
}
@media (max-width:640px) and (orientation:portrait) {
  .sunset { height:210svh; }
  .hero-viewport {
    display:grid;
    height:100dvh;
    grid-template-rows:auto minmax(0,1fr) min(56.25vw,40dvh);
    padding-top:max(14px,env(safe-area-inset-top));
    --day-sky:#70a1cd;
    --sky-edge:color-mix(in srgb,#7ba1ca,#113057 var(--night-sky,0%));
    background:linear-gradient(var(--day-zenith),var(--day-sky) 72%);
  }
  .hero-viewport::before {
    background:linear-gradient(var(--sky-top),var(--sky-edge) 72%);
  }
  .floating-nav {
    position:relative;
    inset:auto;
    transform:none;
    grid-row:1;
    margin-inline:auto;
  }
  .sky-copy {
    position:relative;
    top:auto;
    grid-row:2;
    align-self:center;
    margin:0;
  }
  .scenery {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    overflow:hidden;
    mask-image:none;
    background:none;
  }
  .scenery::before {
    content:none;
  }
  /* Keep the lawn at the viewport edge; blend only the sky of the combined frames. */
  .scene-frames {
    width:100%;
    height:min(56.25vw,40dvh);
    top:auto;
    bottom:-1px;
    left:50%;
    translate:-50% 0;
    mask-image:linear-gradient(transparent,#000 25%);
  }
  .scenery img { object-fit:cover; object-position:center bottom; }
}
@media(prefers-reduced-motion:reduce) {
  .sunset { height:auto; }
  .hero-viewport { position:relative; --night-sky:100% !important; }
  .nightfall,.hero-viewport::before { opacity:1; }
  .scenery::before { opacity:1; }
  html { scroll-behavior:auto; }
  .button { transition:none; }
}

/* Kelvin's room: the original input and its actual reconstructed result. */
.eyebrow { font-size:13px!important; font-weight:500!important; letter-spacing:.08em; text-transform:uppercase; margin:0 0 20px!important; }
.room-input { grid-template-columns:1fr 1fr; padding-block:clamp(72px,9vw,140px); }
.room-input .input-copy { max-width:480px; }
.room-input .input-copy h2 { max-width:12ch; }
.recording-example { text-align:center; }
.recording-phone { position:relative; width:min(100%,270px); aspect-ratio:9/18.6; margin:0 auto; padding:7px; border:1px solid #91a5b066; border-radius:39px; background:#0a1118; box-shadow:0 25px 70px #020d2359,inset 0 0 0 3px #24313a; overflow:hidden; }
.recording-phone video { width:100%; height:100%; object-fit:contain; border-radius:32px; background:#070d12; }
.phone-camera { position:absolute; z-index:2; top:16px; left:50%; translate:-50% 0; width:72px; height:19px; border-radius:99px; background:#070b0e; pointer-events:none; }
.recording-phone.landscape-phone { width:100%; max-width:610px; aspect-ratio:18.6/9; border-radius:clamp(20px,3vw,34px); }
.landscape-phone video { display:block; border-radius:clamp(14px,2.5vw,27px); }
.landscape-phone .phone-camera { top:50%; left:15px; translate:0 -50%; width:13px; height:50px; }
.recording-example figcaption { margin-top:22px; font-size:13px; color:#c3d1da; }
.room-results { padding-block:var(--space); }
.result-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; }
.result-heading > p { max-width:30ch; font-size:18px; color:var(--muted); }
.room-model-wrap { margin-top:45px; border-radius:10px; overflow:hidden; background:radial-gradient(ellipse at 50% 65%,#fffdf7,#e5e9e7); }
model-viewer { display:block; position:relative; width:100%; height:clamp(340px,48vw,650px); --poster-color:transparent; --progress-bar-color:#436e85; }
.model-poster { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; }
.model-poster img { width:100%; height:100%; object-fit:contain; }
.model-poster span { position:absolute; bottom:24px; left:50%; translate:-50% 0; white-space:nowrap; border-radius:100px; padding:12px 24px; font-size:14px; color:var(--ivory); background:#19364b; box-shadow:0 4px 18px #18314626; }
.model-caption { display:flex; justify-content:space-between; gap:16px; margin-top:19px; font-size:13px; color:var(--muted); }
#model-status { font-size:14px; margin-top:8px; }
.room-method { gap:clamp(30px,6vw,90px); }
.room-scan { background:#152c3c; border-radius:10px; overflow:hidden; }
.room-scan img { display:block; width:100%; height:auto; }
.room-scan figcaption { padding:0 24px 22px; font-size:13px; color:#d4dfe6; }
@media(max-width:760px) {
  .room-input { grid-template-columns:1fr; gap:40px; }
  .result-heading { display:block; }
  .result-heading > p { margin-top:22px; max-width:35ch; font-size:16px; }
  .room-model-wrap { margin-top:30px; }
  .model-caption { flex-direction:column; gap:4px; }
  .recording-phone { width:min(75vw,255px); }
  .room-method > div { grid-row:1; }
}




/* Continuous night-sky palette with translucent glass surfaces. */
:root { --ink:#f1f5fa; --muted:#c0cee0; --pad:clamp(18px,5vw,76px); }
html,body { background-color:#0d2342; }
body { background-image:radial-gradient(ellipse at 90% 45%,#244c7133,transparent 36%),radial-gradient(ellipse at 3% 70%,#345b7e22,transparent 35%); }
.capture-band,.media-band,#method,.closing-band { background:transparent; color:var(--ivory); }
.capture-band { padding-top:clamp(30px,5vw,80px); }
.glass-card { position:relative; isolation:isolate; border:1px solid #c6e0ff2b; border-radius:clamp(24px,3vw,42px); background:linear-gradient(135deg,#d8eaff12,#bad5f207 46%,#7693bd12); box-shadow:inset 0 1px 1px #ffffff24,inset 0 -1px 1px #94bfff0c,0 20px 70px #020d1b20; backdrop-filter:blur(22px) saturate(135%); -webkit-backdrop-filter:blur(22px) saturate(135%); margin-block:clamp(24px,3.5vw,56px); padding:clamp(25px,4.5vw,72px); }
.glass-card::before { content:''; position:absolute; z-index:-1; inset:0; border-radius:inherit; pointer-events:none; background:radial-gradient(ellipse at 12% 0%,#e0f3ff0d,transparent 52%); }
.room-input { grid-template-columns:.9fr 1.1fr; gap:clamp(35px,6vw,90px); }
.room-input .input-copy h2 { font-size:clamp(36px,4.1vw,65px); max-width:13ch; }
.input-copy p,.method-inner p { color:var(--muted); font-size:clamp(16px,1.25vw,19px); }
.recording-panel { aspect-ratio:16/9; overflow:hidden; border:1px solid #d6eaff33; padding:8px; border-radius:24px; background:#cce5ff08; box-shadow:inset 0 1px #ffffff20,0 16px 35px #020a1825; }
.recording-panel video { display:block; width:100%; height:100%; object-fit:contain; border-radius:17px; background:#101820; pointer-events:none; }
.recording-panel video::-webkit-media-controls { display:none!important; }
.room-results { padding-bottom:clamp(24px,3vw,48px); }
.result-heading h2 { font-size:clamp(36px,4.5vw,70px); }
.room-model-wrap { position:relative; background:transparent; overflow:hidden; margin-top:18px; border-radius:20px; }
model-viewer { height:clamp(430px,48vw,700px); --poster-color:transparent; --progress-bar-color:#c0dcf5; transition:opacity .4s,filter .6s,transform .7s cubic-bezier(.2,.7,.15,1); }
model-viewer:not(:defined) { background:url('assets/kelvin-detailed-v02/room.png') center/contain no-repeat; }
model-viewer:not(:defined) .room-hotspot { display:none; }
.room-hotspot { position:relative; width:9px; height:9px; min-width:9px; padding:0; border:1px solid #e2f0fa; border-radius:50%; background:#a1c8ec; box-shadow:0 0 10px #b9d9ff66; opacity:0; transition:opacity .3s; }
.model-ready .room-hotspot { opacity:1; }
.room-hotspot::before { content:''; position:absolute; width:1px; height:45px; bottom:8px; left:3px; background:linear-gradient(#edf7ffb3,#edf7ff50); pointer-events:none; }
.room-hotspot span { position:absolute; bottom:52px; left:50%; transform:translateX(-50%); padding:8px 13px; color:#edf5ff; background:#102b4bcc; border:1px solid #d1eaff33; border-radius:100px; backdrop-filter:blur(12px); font-size:13px; letter-spacing:.01em; white-space:nowrap; box-shadow:inset 0 1px #ffffff17; }
.room-hotspot:hover span,.room-hotspot:focus-visible span { background:#315275; border-color:#d9eeff88; }
.entry-hotspot::before { bottom:auto; top:8px; height:35px; }
.entry-hotspot span { bottom:auto; top:42px; }
.room-model-wrap.transitioning model-viewer { transform:scale(1.04); filter:blur(5px); opacity:.2; pointer-events:none; }
.room-model-wrap.gallery-open model-viewer { opacity:0; pointer-events:none; }
.room-gallery { position:absolute; inset:0; display:flex; flex-direction:column; gap:18px; opacity:0; transform:translateY(20px) scale(.98); transition:opacity .45s,transform .6s cubic-bezier(.2,.7,.15,1); }
.room-gallery[hidden] { display:none; }
.gallery-open .room-gallery { opacity:1; transform:none; }
.gallery-toolbar { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:2px; }
.gallery-toolbar h3 { font-size:24px; }
.glass-button { border:1px solid #d5eaff40; border-radius:100px; background:#aecff010; color:#f2f6ff; padding:10px 17px; font-size:14px; }
.glass-button:hover { background:#aecff02b; }
.gallery-picture { position:relative; flex:1; min-height:0; display:grid; place-items:center; overflow:hidden; border:1px solid #d5eaff20; border-radius:24px; background:#071c3333; }
.gallery-picture img { width:100%; height:100%; object-fit:contain; }
.gallery-picture img[hidden] { display:none; }
#gallery-empty { color:#b6c7db; font-size:17px; }
.gallery-controls { display:flex; gap:20px; align-items:center; justify-content:center; }
.gallery-controls[hidden] { display:none; }
.room-scan { background:transparent; border-radius:0; }
.room-method { grid-template-columns:1.15fr .85fr; }
.contact { padding-block:clamp(55px,7vw,110px); }
#model-status:empty { display:none; }
@media(min-width:960px) and (min-height:650px) {
  .sky-copy { top:11svh; }
  .sky-copy h1 { font-size:clamp(44px,min(4.25vw,7svh),68px); }
  .sky-copy p { margin-top:14px; font-size:16px; max-width:65ch; }
  .hero-cta { margin-top:14px; padding:8px 18px; }
  .scenery { height:69svh; }
}
@media(max-width:760px) {
  .glass-card { width:calc(100% - 28px); padding:28px 20px; border-radius:28px; }
  .room-input,.room-method { grid-template-columns:1fr; gap:30px; }
  .recording-panel { padding:5px; border-radius:19px; }
  .recording-panel video { border-radius:14px; }
  .room-model-wrap { margin-inline:-12px; }
  model-viewer { height:440px; }
  .room-hotspot span { padding:7px 9px; font-size:11px; }
  .room-hotspot::before { height:32px; }
  .room-hotspot span { bottom:39px; }
  .entry-hotspot span { bottom:auto; top:42px; }
  .gallery-toolbar { gap:10px; }
  .gallery-toolbar h3 { font-size:21px; }
  .glass-button { padding:9px 13px; font-size:12px; }
  .gallery-picture { border-radius:19px; }
  .contact { padding-block:55px; }
}
@media(prefers-reduced-motion:reduce) {
  model-viewer,.room-gallery { transition:none; }
}
@media(min-width:960px) and (min-height:650px) {
  .sky-copy p { max-width:900px; text-wrap:normal; }
}

/* Desktop uses the wider sequence; the complete frame stays inside one screen. */
@media(min-width:960px) {
  .sunset { height:220svh; }
  .hero-viewport {
    display:block;
    height:100svh;
    min-height:0;
    top:0;
    padding-top:0;
    background:linear-gradient(var(--day-zenith),#719cc0 48%,#6084a2 70%,#555b59);
  }
  .floating-nav {
    position:absolute;
    top:clamp(12px,2.5svh,25px);
    left:50%;
    transform:translateX(-50%);
  }
  .sky-copy {
    position:absolute;
    top:clamp(80px,11svh,125px);
    margin:0;
  }
  .scenery {
    position:absolute;
    inset:auto 0 0;
    width:100%;
    height:100%;
    min-height:0;
    mask-image:none;
  }
  .scene-frames {
    inset:auto 0 0;
    width:100%;
    height:min(100svh,42.857143vw);
    mask-image:linear-gradient(transparent,#000 14%);
  }
  .scenery img { object-fit:cover; object-position:center; }
  .hero-viewport::before { background:linear-gradient(var(--sky-top),var(--sky-edge) 55%,#101924); }
  .sky-copy h1 { font-size:clamp(36px,min(4.25vw,7svh),68px); }
  .sky-copy p { margin-top:12px; font-size:clamp(12px,1.5svh,16px); max-width:900px; }
  .hero-cta { margin-top:12px; padding:7px 18px; }
}
@media(min-width:960px) and (max-height:600px) {
  .sky-copy { top:74px; }
  .sky-copy h1 { font-size:30px; }
  .sky-copy p { margin-top:8px; }
  .hero-cta { margin-top:8px; padding:5px 14px; }
}
@media(min-width:960px) and (prefers-reduced-motion:reduce) {
  .sunset { height:auto; }
  .hero-viewport { top:0; }
}

/* One recording branches into three tangible results. */
.recording-panel { cursor:pointer; }
.recording-panel:focus-visible { outline:2px solid #b8dfff; outline-offset:6px; }
.recording-panel video { filter:grayscale(1); transition:filter .65s ease; }
.recording-panel.is-playing video { filter:grayscale(0); }
.room-input.glass-card { margin-bottom:0; }
.output-connections { display:block; width:100%; height:76px; overflow:visible; }
.output-connections path { fill:none; stroke:#9dc6eb65; stroke-width:1; vector-effect:non-scaling-stroke; }
.output-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.output-card.glass-card { margin:0; padding:28px 22px 22px; border-radius:28px; min-width:0; }
.output-card h3 { font-size:clamp(24px,2.1vw,31px); letter-spacing:-.035em; margin-bottom:24px; }
.output-card .room-model-wrap { margin:0 -12px; border-radius:16px; }
.output-card model-viewer { height:330px; }
.output-card .room-hotspot span { padding:6px 8px; font-size:10px; bottom:33px; }
.output-card .room-hotspot::before { height:26px; }
.output-card .room-gallery { gap:10px; padding:0 10px; }
.output-card .gallery-toolbar { gap:8px; }
.output-card .gallery-toolbar h3 { font-size:19px; margin:0; }
.output-card .glass-button { font-size:12px; padding:7px 12px; }
.photo-open { display:block; width:100%; height:330px; border:1px solid #d3e7ff22; border-radius:18px; padding:0; overflow:hidden; background:#0c2039; cursor:zoom-in; }
.photo-open img { width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.photo-open:hover img { transform:scale(1.035); }
.photo-navigation { display:flex; justify-content:center; align-items:center; gap:20px; margin-top:16px; color:#bdcfe3; font-size:13px; }
.photo-navigation .glass-button { min-width:38px; }
.video-preview { height:330px; display:grid; place-items:center; overflow:hidden; border-radius:18px; background:radial-gradient(ellipse at 50% 100%,#6a8dbd27,transparent 80%); }
.video-still { position:relative; height:94%; aspect-ratio:9/16; overflow:hidden; border-radius:18px; border:1px solid #e5f3ff55; transform:rotate(4deg); box-shadow:0 20px 35px #030f2566; }
.video-still img { width:100%; height:100%; object-fit:cover; opacity:.6; }
.video-still::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent 50%,#091b35dd); }
.video-still span { position:absolute; z-index:1; left:12px; right:12px; bottom:20px; text-align:center; color:#e2edfa; font-size:13px; }
.outputs-section { padding-bottom:clamp(25px,3vw,50px); }
#photo-lightbox { width:min(1200px,94vw); max-height:94dvh; padding:18px; border:1px solid #bfddff40; border-radius:24px; background:#0c2037; color:white; }
#photo-lightbox::backdrop { background:#020d20da; backdrop-filter:blur(9px); }
#photo-close { display:block; margin:0 0 12px auto; }
#photo-large { display:block; width:100%; max-height:73dvh; object-fit:contain; border-radius:10px; }
body:has(#photo-lightbox[open]) { overflow:hidden; }
@media(min-width:960px) {
  .sky-copy { top:85px; }
  .sky-copy h1 { font-size:clamp(36px,4vw,54px); }
  .scene-frames { overflow:hidden; }
  .scene-frames img { transform-origin:0 0; }
}
@media(min-width:960px) and (min-aspect-ratio:13/5) {
  .sky-copy { top:50%; transform:translateY(-50%); width:30%; padding:0 24px; }
  .sky-copy h1 { font-size:clamp(26px,2.5vw,44px); line-height:1.05; }
  .sky-copy p { max-width:30ch; font-size:14px; }
  .scene-frames { left:30%; width:70%; height:min(100svh,30vw); mask-image:linear-gradient(90deg,transparent,#000 5%),linear-gradient(transparent,#000 12%); mask-composite:intersect; }
  .scenery img { object-fit:contain; }
}
@media(max-width:1000px) and (min-width:761px) {
  .output-grid { gap:12px; }
  .output-card.glass-card { padding:24px 14px; }
  .output-card h3 { font-size:23px; }
  .output-card model-viewer,.photo-open,.video-preview { height:270px; }
}
@media(max-width:760px) {
  .outputs-section { width:calc(100% - 28px); }
  .output-connections { height:38px; }
  .output-connections path { d:path('M500 0V76'); }
  .output-grid { grid-template-columns:1fr; gap:18px; }
  .output-card.glass-card { width:100%; padding:28px 20px; }
  .output-card h3 { font-size:29px; }
  .output-card model-viewer,.photo-open,.video-preview { height:320px; }
  .output-card .room-model-wrap { margin-inline:-10px; }
}
@media(prefers-reduced-motion:reduce) {
  .recording-panel video,.photo-open img { transition:none; }
}

/* One shared surface, with fine divisions for the three deliverables. */
:root { --pad:clamp(14px,3vw,56px); }
.shell { max-width:1800px; width:calc(100% - 2 * var(--pad)); }
.media-suite.glass-card { padding:clamp(24px,3.4vw,60px); }
.media-suite .room-input { padding:0; gap:clamp(28px,5vw,90px); }
.media-suite .input-copy { max-width:560px; }
.media-suite .recording-panel { max-width:700px; justify-self:end; width:100%; }
.media-suite .outputs-section { width:100%; padding:0; }
.media-suite .output-connections { height:68px; }
.media-suite .output-connections path { stroke:#b6d6f34d; stroke-linecap:round; stroke-linejoin:round; }
.output-grid { gap:20px; }
.output-card { min-width:0; padding:26px 22px 22px; border:1px solid #b9d8f43d; border-radius:22px; background:#081c3214; }
.output-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:24px; }
.output-heading h3 { margin:0; }
.move-cue { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; color:#c9dced; }
.move-cue svg { width:23px; height:23px; }
.output-card model-viewer { cursor:grab; }
.output-card model-viewer:active { cursor:grabbing; }
.photo-stack { height:330px; position:relative; perspective:850px; overflow:hidden; touch-action:pan-y; border-radius:16px; }
.photo-stack:focus-visible { outline:1px solid #c9e5ff; outline-offset:4px; }
.photo-stack .photo-open { position:absolute; left:14%; top:12%; width:72%; height:78%; border-radius:14px; border:1px solid #e8f2ff50; background:#132c49; transform:translateX(calc(var(--offset) * 55%)) translateZ(calc(var(--depth) * -100px)) rotateY(calc(var(--offset) * -40deg)); transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .45s,box-shadow .45s; box-shadow:0 14px 28px #030b1b70; opacity:1; cursor:pointer; }
.photo-stack .photo-open img { object-fit:cover; transition:filter .45s; transform:none; filter:brightness(calc(1 - var(--depth) * .12)); }
.photo-stack .photo-open.is-current { cursor:zoom-in; }
.photo-stack .photo-open.is-hidden { opacity:0; pointer-events:none; }
.photo-stack:hover .photo-open.is-current { transform:translateY(-7px) translateZ(18px); box-shadow:0 24px 35px #030b1b80; }
.photo-stack:hover .photo-open:not(.is-current) { transform:translateX(calc(var(--offset) * 61%)) translateZ(calc(var(--depth) * -100px)) rotateY(calc(var(--offset) * -40deg)); }
.photo-dots { display:flex; gap:7px; align-items:center; }
.photo-dots button { border:0; padding:0; width:7px; height:7px; border-radius:20px; background:#c7ddf24d; transition:width .3s,background .3s; }
.photo-dots button[aria-current="true"] { width:20px; background:#e5f1ff; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:1100px) and (min-width:761px) {
 .output-card { padding:22px 12px; }
 .output-grid { gap:12px; }
 .output-card h3 { font-size:22px; }
 .photo-stack,.output-card model-viewer,.video-preview { height:270px; }
}
@media(max-width:760px) {
 .media-suite.glass-card { padding:28px 16px; }
 .media-suite .recording-panel { justify-self:stretch; }
 .media-suite .output-connections { height:36px; }
 .output-card { padding:24px 16px; }
 .photo-stack { height:310px; }
 .output-grid { gap:16px; }
 .output-card h3 { font-size:27px; }
}
@media(prefers-reduced-motion:reduce) {
 .photo-stack .photo-open,.photo-stack .photo-open img,.photo-dots button { transition:none; }
}

/* Keep the curb at the viewport edge and centre the copy in the open sky. */
.registered-departing { display:none; }
@media(min-width:960px) {
 .scene-frames { left:0; width:100%; height:42.857143vw; bottom:-6vw; mask-image:linear-gradient(transparent,#000 17%); }
 .scenery img { object-fit:cover; }
 .sky-copy { width:100%; padding:0 28px; transform-origin:center; }
 .sky-copy h1 { font-size:clamp(36px,4.2vw,64px); line-height:1.05; }
 .sky-copy p { max-width:65ch; font-size:clamp(14px,1.2vw,18px); margin-top:18px; }
 .hero-cta { margin-top:20px; padding:10px 22px; font-size:14px; }
 .registered-departing { position:absolute; inset:0; width:100%; height:100%; opacity:var(--sunset-progress,0); pointer-events:none; }
 .mesh-ready .registered-departing { display:block; }
 .mesh-ready img.departing { visibility:hidden; }
}
@media(min-width:960px) and (max-height:720px) and (min-aspect-ratio:13/5) {
 .floating-nav { top:12px; padding-block:4px; }
 .floating-nav .wordmark { font-size:26px; }
 .floating-nav .nav-contact { padding-block:4px; }
 .sky-copy h1 { font-size:28px; }
 .sky-copy p { display:inline-block; max-width:none; font-size:12px; margin:6px 0 0; }
 .hero-cta { margin:6px 0 0 14px; padding:4px 12px; font-size:11px; }
}

/* A clear input row, then three consistent, lightly outlined result panels. */
.media-suite.glass-card { padding:clamp(24px,3.2vw,56px); background:linear-gradient(125deg,#adcff50a,#adcff504); box-shadow:inset 0 1px #fff0; }
.media-suite.glass-card::before { display:none; }
.media-suite .room-input { grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,80px); padding-bottom:12px; }
.media-suite .input-copy h2 { font-size:clamp(34px,3.3vw,54px); max-width:14ch; }
.media-suite .input-copy p { font-size:clamp(16px,1.1vw,18px); max-width:39ch; }
.media-suite .recording-panel { max-width:620px; justify-self:center; padding:0; border-radius:18px; box-shadow:none; }
.media-suite .recording-panel video { border-radius:17px; }
.media-suite .output-connections { height:64px; margin-bottom:0; }
.media-suite .output-connections path { stroke:#b6d6f32b; }
.output-grid { gap:clamp(16px,1.6vw,28px); }
.output-card { padding:26px 22px 22px; border-radius:18px; background:#05162b20; border-color:#b9d8f42b; }
.output-card h3,.output-heading { margin-bottom:0; }
.output-card h3 { font-size:clamp(23px,1.8vw,30px); }
.output-card > h3 { min-height:34px; display:flex; align-items:center; }
.output-summary { color:#b5c7dd; font-size:15px; line-height:1.45; margin:10px 0 24px; min-height:22px; }
.output-card .room-model-wrap { margin:0; }
.output-card model-viewer,.output-card .video-preview { height:350px; }
.photo-stack { height:310px; }
.photo-stack .photo-open { top:7%; height:86%; }
.photo-navigation { margin-top:12px; min-height:30px; }
.video-still { height:88%; transform:rotate(0); border-radius:14px; }
@media(max-width:1100px) and (min-width:761px) {
 .output-card { padding:22px 14px; }
 .output-card h3 { font-size:22px; }
 .output-summary { font-size:14px; min-height:41px; margin-bottom:18px; }
 .photo-stack { height:250px; }
 .output-card model-viewer,.output-card .video-preview { height:290px; }
}
@media(max-width:760px) {
 .media-suite.glass-card { padding:28px 16px; }
 .media-suite .room-input { grid-template-columns:1fr; gap:26px; padding-bottom:0; }
 .media-suite .input-copy h2 { font-size:36px; }
 .media-suite .output-connections { height:42px; }
 .output-card { padding:24px 16px; }
 .output-card h3 { font-size:27px; }
 .output-summary { font-size:15px; margin-bottom:18px; }
 .output-card model-viewer,.output-card .video-preview { height:300px; }
 .photo-stack { height:270px; }
}

/* Three distinct pages: photos, walkthrough, social video. */
.media-suite .outputs-section { margin-top:clamp(48px,6vw,88px); padding-top:clamp(36px,4vw,58px); border-top:1px solid #bed6f024; }
.results-header { display:flex; justify-content:space-between; align-items:flex-end; gap:32px; margin-bottom:30px; }
.results-header h2 { max-width:19ch; font-size:clamp(34px,3.1vw,50px); line-height:1.08; }
.result-tabs { display:flex; gap:5px; padding:5px; border:1px solid #bbd8f52b; border-radius:100px; flex-shrink:0; }
.result-tabs button { padding:9px 18px; border:0; border-radius:100px; background:transparent; color:#afc3da; font-size:14px; white-space:nowrap; transition:color .25s,background .25s; }
.result-tabs button[aria-selected="true"] { background:#dceeff; color:#112b48; }
.result-tabs button:hover { color:white; }
.result-tabs button[aria-selected="true"]:hover { color:#112b48; }
.output-grid { position:relative; display:flex; gap:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; border:1px solid #c6dff030; border-radius:22px; }
.output-grid::-webkit-scrollbar { display:none; }
.result-slide.output-card { flex:0 0 100%; width:100%; min-width:0; display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:clamp(30px,4vw,70px); padding:clamp(24px,3.4vw,56px); border:0; border-radius:0; scroll-snap-align:start; scroll-snap-stop:always; background:#071a3024; }
.result-copy { min-width:0; }
.result-copy h3 { font-size:clamp(32px,3.1vw,50px); letter-spacing:-.04em; line-height:1.08; }
.result-copy .output-summary { margin:18px 0 0; font-size:clamp(16px,1.35vw,21px); max-width:30ch; }
.result-copy .output-heading { align-items:flex-start; gap:18px; }
.result-copy .move-cue { margin-top:6px; }
.result-media { min-width:0; min-height:0; width:100%; }
.result-media .photo-stack { height:clamp(330px,30vw,480px); touch-action:pan-x pan-y; }
.result-media .photo-open { width:70%; left:15%; top:7%; height:86%; }
.result-media .photo-navigation { height:38px; margin-top:8px; }
.result-media .photo-dots { width:90px; flex:0 0 90px; justify-content:center; }
.result-media .room-model-wrap { width:100%; margin:0; }
.result-media model-viewer { width:100%; height:clamp(376px,34vw,526px); }
.result-media model-viewer.model-ready { --progress-bar-height:0px; }
.result-media .video-preview { height:clamp(376px,34vw,526px); background:radial-gradient(ellipse,#547fa21a,transparent 70%); }
.result-media .video-still { height:92%; }
.result-pagination { display:flex; justify-content:center; align-items:center; gap:22px; margin-top:20px; font-size:14px; color:#b7cce2; }
.result-pagination .glass-button { min-width:42px; }
.result-pagination button:disabled { opacity:.3; cursor:default; }
@media(max-width:1050px) {
 .results-header { flex-direction:column; align-items:flex-start; gap:24px; }
 .result-slide.output-card { grid-template-columns:.75fr 1.25fr; gap:20px; padding:30px 24px; }
 .result-copy h3 { font-size:34px; }
 .result-copy .output-summary { font-size:17px; }
}
@media(max-width:760px) {
 .media-suite .outputs-section { margin-top:40px; padding-top:34px; }
 .results-header { gap:24px; margin-bottom:22px; }
 .results-header h2 { font-size:35px; max-width:18ch; }
 .result-tabs { width:100%; justify-content:space-between; border-radius:15px; gap:2px; }
 .result-tabs button { flex:1; padding:10px 5px; font-size:12px; border-radius:10px; }
 .output-grid { border-radius:18px; }
 .result-slide.output-card { display:flex; flex-direction:column; align-items:stretch; gap:20px; padding:26px 14px 18px; }
 .result-copy { min-height:100px; padding-inline:6px; }
 .result-copy h3 { font-size:29px; }
 .result-copy .output-summary { margin-top:12px; font-size:16px; }
 .result-copy .move-cue { margin-top:0; }
 .result-media .photo-stack { height:280px; }
 .result-media model-viewer,.result-media .video-preview { height:326px; }
 .result-media .room-hotspot span { padding:5px 6px; font-size:9px; }
 .result-pagination { margin-top:18px; }
}
@media(prefers-reduced-motion:reduce) { .output-grid { scroll-behavior:auto; } }
.steady-surroundings { display:none; }
@media(min-width:960px) {
 .steady-surroundings { display:block; pointer-events:none; mask-image:url('assets/steady-surroundings.svg'); mask-size:100% 100%; mask-repeat:no-repeat; filter:url('#steady-shadow-filter'); }
}
