/* Team Elysian — 01 Lights On (v3: the house at night)
   Near-black, champagne gold, Manrope throughout. Lit windows hold the work. */

@font-face { font-family: Manrope; src: url("assets/fonts/manrope-latin.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --night: #06070e;
  --ink: #f3eee5;
  --text: #d5d1db;
  --muted: #9e9bad;
  --gold: #d8bc85;
  --gold-dim: rgba(216, 188, 133, .42);
  --gold-faint: rgba(216, 188, 133, .16);
  --hair: rgba(243, 238, 229, .1);
  --hair-2: rgba(243, 238, 229, .22);
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .72, .16, 1);
  --slow: cubic-bezier(.33, .1, .2, 1);
  --gutter: clamp(20px, 4.6vw, 80px);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html.room-open, html.menu-open { overflow: hidden; }
body { margin: 0; min-height: 100vh; background: var(--night); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; font-weight: inherit; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 5px; border-radius: 6px; }
::selection { background: rgba(216, 188, 133, .32); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--night); font-weight: 700; transform: translateY(-180%); }
.skip:focus { transform: none; }

/* engraved labels: few, short, spaced */
.eyebrow, .work-label { font: 600 .78rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* ── Header ─────────────────────────────────────────── */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: calc(92px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); }
.brand svg { width: 22px; height: 22px; color: var(--gold); }
.brand > span { font: 700 1.06rem/1 var(--sans); letter-spacing: -.055em; }
.brand > span > span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: clamp(28px, 3vw, 48px); font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--text); transition: color .3s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 12px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { padding: 0 22px 0 24px; border: 1px solid var(--gold-dim); border-radius: 999px; color: var(--ink); transition: background-color .4s, color .4s, border-color .4s; }
.nav .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.menu-button { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.menu-button i, .menu-close i, .room-close i { position: relative; width: 18px; height: 18px; }
.menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 1px; right: 1px; height: 1px; background: currentColor; }
.menu-button i::before { top: 6px; } .menu-button i::after { top: 11px; }

/* ── Scene ──────────────────────────────────────────── */
.scene { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; padding: calc(136px + env(safe-area-inset-top)) var(--gutter) clamp(72px, 10vh, 120px); overflow: hidden; overflow: clip visible; }
.sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(56% 30% at 50% 74%, rgba(216, 170, 120, .09), transparent 70%),
  radial-gradient(70% 50% at 50% 0%, rgba(70, 80, 160, .12), transparent 70%),
  linear-gradient(180deg, #05060c 0%, #080a18 30%, #0d1028 58%, #10122c 70%, #0a0b1a 86%, var(--night) 100%); }
.sky::after { content: ""; position: absolute; inset: 0; opacity: .045; -webkit-mask-image: linear-gradient(#000 55%, transparent 96%); mask-image: linear-gradient(#000 55%, transparent 96%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.intro { text-align: center; }
.intro h1 { margin-top: 22px; font: 200 clamp(3.2rem, .8rem + 7.6vw, 8.6rem)/.95 var(--sans); letter-spacing: -.06em; color: var(--ink); text-shadow: 0 0 60px rgba(216, 188, 133, .14); }
.sub { max-width: 32ch; margin: 26px auto 0; font-size: clamp(1.0625rem, .98rem + .35vw, 1.3rem); line-height: 1.5; font-weight: 400; color: var(--text); text-wrap: balance; }
.work-label { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: clamp(52px, 8vh, 92px); }
.work-label::before, .work-label::after { content: ""; width: clamp(28px, 4vw, 64px); height: 1px; background: var(--gold-dim); }

/* ── Windows ────────────────────────────────────────── */
.windows { --mx: 0; --my: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 64px clamp(32px, 6vw, 112px); margin-top: clamp(40px, 6vh, 64px); }
.world { --w: clamp(200px, min(34vw, calc((100svh - 560px) * .72)), 320px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.world-petgu { --glow: rgba(111, 225, 196, .42); --spill: rgba(111, 225, 196, .12); --pane: #6fe1c4; }
.world-zoo { --glow: rgba(226, 232, 170, .36); --spill: rgba(226, 232, 170, .1); --pane: #cddcb8; }
.world-coco-isles { --glow: rgba(88, 208, 226, .42); --spill: rgba(88, 208, 226, .12); --pane: #3abdc8; }
.casement { position: relative; width: var(--w); }
.window { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.36; border-radius: 999px 999px 2px 2px; }
.window::before { content: ""; position: absolute; z-index: -1; inset: -22% -34%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: .32; transition: opacity .9s var(--slow); pointer-events: none; }
.frame { position: absolute; inset: -14px -14px -1px; border: 1px solid var(--gold-dim); border-bottom: 0; border-radius: 999px 999px 0 0; transition: border-color .8s var(--slow); pointer-events: none; }
.frame::before { content: ""; position: absolute; inset: 5px 5px 0; border: 1px solid var(--gold-faint); border-bottom: 0; border-radius: inherit; }
.pane { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--pane); isolation: isolate; }
.pane::before { content: ""; position: absolute; z-index: 2; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
.pane::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 32%), linear-gradient(0deg, rgba(6, 7, 14, .2), transparent 28%); pointer-events: none; }
.pane img { position: absolute; left: -7%; top: -5%; width: 114%; height: 110%; max-width: none; object-fit: cover; transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px), 0); transition: transform 1.4s var(--ease); }
.world-petgu .pane img { object-position: 50% 30%; }
.world-coco-isles .pane img { object-position: 50% 50%; }
.world-zoo .pane { background: radial-gradient(90% 70% at 50% 35%, #eef3df, #cfdcb9 62%, #b8ca9f); }
.world-zoo .pane img { left: 0; top: auto; bottom: -3%; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -5px), 0); }
/* The source otter's tail ends in a hard crop; let it trail off instead. */
.world-zoo .pane img, .room-zoo .room-art img { -webkit-mask-image: linear-gradient(90deg, #000 83%, transparent 93.5%); mask-image: linear-gradient(90deg, #000 83%, transparent 93.5%); }
.window:hover .pane img { transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px), 0) scale(1.03); }
.world-zoo .window:hover .pane img { transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -5px), 0) scale(1.035); }
.window:hover::before, .window:focus-visible::before, .world:focus-within .window::before { opacity: .6; }
.window:hover .frame, .window:focus-visible .frame { border-color: rgba(216, 188, 133, .8); }
.window:focus-visible { outline-offset: 22px; border-radius: 999px 999px 6px 6px; }
.sill { position: relative; display: block; height: 1px; margin: 0 -44px; background: linear-gradient(90deg, transparent, rgba(216, 188, 133, .75) 22%, rgba(216, 188, 133, .75) 78%, transparent); }
.sill::after { content: ""; position: absolute; left: -20%; right: -20%; top: 100%; height: 170px; background: radial-gradient(50% 100% at 50% 0, var(--spill), transparent 75%); pointer-events: none; }

.label { display: grid; justify-items: center; margin-top: 34px; max-width: 32ch; }
.kind { font: 600 .74rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kind .num { margin-right: 14px; color: var(--gold); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.name { margin-top: 14px; font: 200 clamp(2.8rem, 1.7rem + 2vw, 4.1rem)/1 var(--sans); letter-spacing: -.055em; color: var(--ink); }
.line { margin-top: 14px; font-size: 1.0625rem; line-height: 1.5; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; margin-top: 26px; }
.play { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 22px 0 26px; border-radius: 999px; background: var(--ink); color: var(--night); font: 600 .875rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap; transition: background-color .45s var(--slow); }
.play svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.play:hover { background: var(--gold); }
.play:hover svg { transform: translate(2px, -2px); }
.inside { display: inline-flex; align-items: center; min-height: 44px; font: 600 .875rem/1 var(--sans); color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold-dim); text-underline-offset: 8px; transition: color .3s, text-decoration-color .3s; white-space: nowrap; }
.inside:hover { color: var(--ink); text-decoration-color: var(--gold); }

/* warm-up choreography: slow, quiet */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dark { 0% { opacity: .94; } 40% { opacity: .3; } 52% { opacity: .46; } 100% { opacity: 0; } }
@keyframes glow { 0% { opacity: 0; } 40% { opacity: .22; } 52% { opacity: .12; } 100% { opacity: .32; } }
@keyframes spill { from { opacity: 0; } }
.rise { animation: rise 1.4s var(--ease) both; }
.r1 { animation-delay: .1s; } .r2 { animation-delay: .22s; } .r3 { animation-delay: .4s; }
.pane::before { animation: dark 2.2s .6s var(--slow) both; }
.window::before { animation: glow 2.2s .6s var(--slow) both; }
.sill::after { animation: spill 2.2s .6s ease both; }
.world:nth-child(2) .pane::before, .world:nth-child(2) .window::before, .world:nth-child(2) .sill::after { animation-delay: .95s; }
.world:nth-child(n+3) .pane::before, .world:nth-child(n+3) .window::before, .world:nth-child(n+3) .sill::after { animation-delay: 1.25s; }
.label { animation: rise 1.2s 1s var(--ease) both; }
.world:nth-child(2) .label { animation-delay: 1.15s; }
.world:nth-child(n+3) .label { animation-delay: 1.3s; }

/* ── What we believe ────────────────────────────────── */
.studio { padding: clamp(140px, 22vh, 240px) var(--gutter) clamp(120px, 18vh, 200px); text-align: center; }
.statement { max-width: 24ch; margin: 34px auto 0; font: 200 clamp(2.4rem, 1.1rem + 4vw, 5.6rem)/1.06 var(--sans); letter-spacing: -.055em; color: var(--ink); }
.statement > span { display: block; text-wrap: balance; }
.statement .soft { color: var(--muted); }
.rule { display: block; width: 56px; height: 1px; margin: clamp(40px, 6vh, 64px) auto; background: var(--gold); }
.studio-text { max-width: 38rem; margin: 0 auto; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.75; color: var(--text); }

/* ── Enquiries ──────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 8vw, 140px); align-items: end; margin: 0 var(--gutter); padding: clamp(80px, 13vh, 140px) 0 clamp(72px, 11vh, 120px); border-top: 1px solid var(--hair); }
.hello { display: inline-block; margin-top: 26px; padding-bottom: 8px; font: 200 clamp(2.1rem, 1rem + 3.2vw, 4.2rem)/1.08 var(--sans); letter-spacing: -.05em; color: var(--ink); overflow-wrap: anywhere; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .9s var(--ease), color .4s; }
.hello:hover { color: var(--gold); background-size: 100% 1px; }
.contact-note { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.company > div { padding: 20px 0; border-bottom: 1px solid var(--hair); min-width: 0; }
.company dt { font: 600 .7rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.company dd { margin-top: 6px; font-size: 1.0625rem; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.company dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; text-decoration: underline; text-decoration-color: var(--gold-dim); text-underline-offset: 6px; }
.company dd a:hover { text-decoration-color: var(--gold); }
.company .nowrap { white-space: nowrap; overflow-wrap: normal; }

/* ── Footer ─────────────────────────────────────────── */
.foot { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 40px; margin: 0 var(--gutter); padding: 28px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); color: var(--muted); font-size: .9375rem; }
.foot-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: -11px; color: var(--gold); }
.foot-mark svg { width: 20px; height: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 30px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); transition: color .3s; }
.foot nav a:hover { color: var(--gold); }
.foot small { font-size: .8125rem; letter-spacing: .08em; }

/* ── Rooms ──────────────────────────────────────────── */
.room { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; color: var(--room-ink); background: var(--room-bg); }
.room[open] { display: grid; grid-template-rows: auto 1fr; }
.room::backdrop { background: transparent; }
.room-petgu { --room-ink: #072a20; --room-soft: #1a4a3d; --room-bg: linear-gradient(180deg, #6fe1c4 0, #6fe1c4 62%, #8ef6d6 100%); }
.room-zoo { --room-ink: #1a2e18; --room-soft: #3a5034; --room-bg: radial-gradient(110% 80% at 72% 42%, #f1f5e3, #d3dfbf 52%, #bccda3); }
.room-coco-isles { --room-ink: #073c42; --room-soft: #23545a; --room-bg: radial-gradient(100% 90% at 82% 48%, #c2f0ec, #a0dedf 58%, #8fcfd7); }
.room-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.room-petgu .room-art img { position: absolute; right: -2vw; bottom: 0; height: min(100%, 1000px); width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%); }
.room-zoo .room-art::before { content: ""; position: absolute; right: calc(9vw + 40px); bottom: 12vh; width: min(44vw, 520px); height: 46px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 60, 30, .24), transparent); }
.room-zoo .room-art img { position: absolute; right: 9vw; bottom: 12vh; width: min(46vw, 600px, 68vh); height: auto; }
.room-coco-isles .room-art { display: flex; align-items: center; justify-content: flex-end; padding: 110px var(--gutter) 64px 50%; }
.room-coco-isles .room-art img { width: 100%; height: auto; object-fit: contain; border-radius: 24px; box-shadow: 0 28px 70px -34px rgba(7, 60, 66, .5); }
.room-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 92px; padding: env(safe-area-inset-top) var(--gutter) 0; }
.room-count { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; color: var(--room-soft); font-variant-numeric: tabular-nums; }
.room-count i { font-style: normal; margin: 0 6px; opacity: .5; }
.room-close, .menu-close { display: inline-flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 20px 0 24px; border: 1px solid currentColor; border-radius: 999px; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: background-color .4s, color .4s; }
.room-close:hover { background: var(--room-ink); color: #f6f3e8; }
.room-close i::before, .room-close i::after, .menu-close i::before, .menu-close i::after { content: ""; position: absolute; top: 8.5px; left: 2px; right: 2px; height: 1px; background: currentColor; transform: rotate(45deg); }
.room-close i::after, .menu-close i::after { transform: rotate(-45deg); }
.room-copy { position: relative; z-index: 2; align-self: center; width: min(100%, 42rem); padding: 32px var(--gutter) calc(56px + env(safe-area-inset-bottom)); }
.room-coco-isles .room-copy { width: min(50%, 42rem); }
.room-type { font: 600 .78rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--room-soft); }
.room-name { margin: 20px 0 0 -.05em; font: 200 clamp(4.4rem, 2.2rem + 8vw, 11rem)/.9 var(--sans); letter-spacing: -.065em; }
.room-coco-isles .room-name { font-size: clamp(4rem, 7vw, 7.5rem); white-space: nowrap; }
.room-name:focus { outline: none; }
.room-line { margin-top: 30px; font: 500 clamp(1.35rem, 1.1rem + .9vw, 1.9rem)/1.25 var(--sans); letter-spacing: -.03em; }
.room-meta { margin-top: 12px; font-size: 1.125rem; color: var(--room-soft); }
.room-platforms { max-width: 34ch; margin-top: 24px; font-size: .9375rem; line-height: 1.6; color: var(--room-soft); }
.room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 30px; border-radius: 999px; background: var(--room-ink); color: #f7f4ea; font: 600 .9375rem/1 var(--sans); letter-spacing: .01em; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45); }
.btn svg { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.room-next { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.room-next svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.room-next:hover svg { transform: translateX(4px); }
.room-more { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 20px; font-size: 1rem; font-weight: 500; }
.room-more a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: rgba(26, 46, 24, .35); text-underline-offset: 6px; }
.room-more a:hover { text-decoration-color: currentColor; }
.room :focus-visible { outline-color: var(--room-ink); }
.room[open] .in { animation: rise 1s var(--ease) both; }
.room[open] .i1 { animation-delay: .36s; } .room[open] .i2 { animation-delay: .44s; } .room[open] .i3 { animation-delay: .54s; }
.room[open] .i4 { animation-delay: .6s; } .room[open] .i5 { animation-delay: .68s; } .room[open] .i6 { animation-delay: .76s; }
@keyframes settle { from { transform: scale(1.06); } }
.room[open] .room-art { animation: settle 1.8s var(--ease) both; }

/* ── Menu ───────────────────────────────────────────── */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: calc(22px + env(safe-area-inset-top)) var(--gutter) calc(36px + env(safe-area-inset-bottom)); border: 0; background: linear-gradient(180deg, #05060c, #0d1028); color: var(--ink); }
.menu[open] { display: flex; flex-direction: column; animation: fade .45s ease both; }
.menu::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }
.menu-close { align-self: flex-end; }
.menu nav { display: grid; gap: 4px; margin-top: auto; }
.menu nav a { font: 200 clamp(2.8rem, 12vw, 4rem)/1.2 var(--sans); letter-spacing: -.05em; }
.menu nav a:hover { color: var(--gold); }
.menu-small { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair); font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.menu-small a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* ── Wide: with two projects, captions sit beside the windows ── */
@media (min-width: 1180px) {
  .sub { max-width: none; }
  .world { --w: clamp(240px, min(22vw, calc((100svh - 520px) * .72)), 340px); }
  .windows:not(:has(> .world:nth-child(3))) { flex-wrap: nowrap; gap: clamp(56px, 5vw, 96px); }
  .windows:not(:has(> .world:nth-child(3))) > .world { flex-direction: row; align-items: flex-end; gap: clamp(44px, 3.8vw, 72px); text-align: left; }
  .windows:not(:has(> .world:nth-child(3))) > .world:first-child { flex-direction: row-reverse; text-align: right; }
  .windows:not(:has(> .world:nth-child(3))) .label { width: clamp(230px, 17vw, 270px); margin: 0 0 2px; justify-items: start; }
  .windows:not(:has(> .world:nth-child(3))) > .world:first-child .label { justify-items: end; }
  .windows:not(:has(> .world:nth-child(3))) .line span { display: block; }
  .windows:not(:has(> .world:nth-child(3))) .actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .windows:not(:has(> .world:nth-child(3))) > .world:first-child .actions { align-items: flex-end; }
}

/* Three projects share a row, with matching captions and breathing room. */
@media (min-width: 760px) {
  .windows:has(> .world:nth-child(3)) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(28px, 4vw, 72px); max-width: 1240px; margin-left: auto; margin-right: auto; }
  .windows:has(> .world:nth-child(3)) > .world { --w: min(100%, 300px); min-width: 0; padding: 0 14px; }
  .windows:has(> .world:nth-child(3)) .casement { max-width: 100%; }
  .windows:has(> .world:nth-child(3)) .label { flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: none; }
  .windows:has(> .world:nth-child(3)) .kind { font-size: .68rem; letter-spacing: .14em; }
  .windows:has(> .world:nth-child(3)) .kind .num { display: block; margin: 0 0 4px; }
  .windows:has(> .world:nth-child(3)) .name { font-size: clamp(2.2rem, 3.6vw, 3.6rem); white-space: nowrap; }
  .windows:has(> .world:nth-child(3)) .line span { display: block; }
  .windows:has(> .world:nth-child(3)) .actions { flex-direction: column; gap: 4px; margin-top: auto; padding-top: 24px; }
}

/* ── Tablet portrait and below ──────────────────────── */
@media (max-width: 900px) {
  .room[open] { grid-template-rows: auto auto 1fr; }
  .room-bar { order: -1; }
  .room-art { position: relative; inset: auto; overflow: visible; }
  .room-petgu .room-art img { position: relative; right: auto; bottom: auto; width: min(100%, 620px, 76vh); height: auto; margin: -6px auto 0; -webkit-mask-image: linear-gradient(#000 72%, transparent 99%); mask-image: linear-gradient(#000 72%, transparent 99%); }
  .room-zoo .room-art img { position: relative; right: auto; bottom: auto; width: min(74vw, 400px, 44vh); height: auto; margin: 8px auto 0; }
  .room-zoo .room-art::before { display: none; }
  .room-coco-isles .room-art { justify-content: center; padding: 8px var(--gutter) 24px; }
  .room-coco-isles .room-art img { width: min(100%, 640px); border-radius: 16px; }
  .room-coco-isles .room-copy { width: min(100%, 46rem); }
  .room-coco-isles .room-name { font-size: clamp(3.6rem, 13vw, 6rem); }
  .room-copy { align-self: start; padding-top: 8px; }
  .contact { grid-template-columns: 1fr; }
  .foot { grid-template-columns: auto 1fr; }
  .foot nav, .foot small { grid-column: 1 / -1; }
}

@media (max-width: 759px) {
  .top { height: calc(78px + env(safe-area-inset-top)); }
  .nav { display: none; }
  .menu-button { display: inline-flex; }
  .scene { min-height: 0; padding-top: calc(94px + env(safe-area-inset-top)); padding-bottom: 56px; }
  .eyebrow, .work-label { font-size: .72rem; letter-spacing: .24em; }
  .intro h1 { margin-top: 12px; font-size: clamp(3rem, 15.4vw, 4.6rem); }
  .sub { max-width: 28ch; margin-top: 16px; font-size: 1.0625rem; }
  .world:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .windows:has(> .world:nth-child(3)) > .world:last-child:nth-child(odd) { --w: min(52vw, 210px); }
  .windows:has(> .world:nth-child(3)) > .world:last-child:nth-child(odd) .label { max-width: 24rem; }
  .windows:has(> .world:nth-child(3)) > .world:last-child:nth-child(odd) .actions { width: min(100%, 240px); }
  .work-label { margin-top: 28px; }
  .windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 52px 14px; margin-top: 28px; }
  .world .label { flex: 1; display: flex; flex-direction: column; align-items: center; }
  .world .actions { margin-top: auto; padding-top: 18px; }
  .world { --w: min(calc((100vw - 2 * var(--gutter) - 14px) / 2 - 26px), 210px); min-width: 0; }
  .window::before { inset: -16% -26%; }
  .frame { inset: -9px -9px -1px; }
  .frame::before { inset: 4px 4px 0; }
  .sill { margin: 0 -20px; }
  .label { width: 100%; margin-top: 26px; }
  .kind { font-size: .66rem; letter-spacing: .16em; line-height: 1.7; }
  .kind .num { display: block; margin: 0 0 2px; }
  .name { margin-top: 10px; font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .line { margin-top: 10px; font-size: .9375rem; line-height: 1.45; }
  .line span { display: block; }
  .actions { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .play { min-height: 46px; padding: 0 12px; gap: 8px; font-size: .8125rem; }
  .play svg { width: 13px; height: 13px; }
  .inside { justify-content: center; font-size: .8125rem; }
  .studio { padding-top: 120px; padding-bottom: 104px; }
  .statement { margin-top: 26px; }
  .company dl, .company { gap: 0 24px; }
  .company > div:last-child { grid-column: 1 / -1; }
  .room-name { font-size: clamp(4rem, 20vw, 5.6rem); }
  .room-copy { padding-top: 0; }
  .btn { min-height: 54px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .world { --w: calc((100vw - 2 * var(--gutter) - 12px) / 2 - 18px); }
  .windows { column-gap: 12px; }
  .sill { margin: 0 -14px; }
  .frame { inset: -7px -7px -1px; }
  .play { font-size: .75rem; padding: 0 8px; }
  .company { grid-template-columns: 1fr; }
}

/* short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .scene { min-height: auto; padding-top: calc(92px + env(safe-area-inset-top)); }
  .intro h1 { font-size: 3.4rem; }
  .sub { margin-top: 10px; }
  .work-label { margin-top: 32px; }
  .world { --w: 150px; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .pane img, .window:hover .pane img, .world-zoo .window:hover .pane img { transform: none !important; }
}
