/* Marble and Gold: interior studio, Victoria Island. Ivory, verde and gold. Bodoni Moda + Karla */
:root {
  --ivory: #f5f0e6;
  --ivory-2: #ece4d4;
  --ivory-3: #e2d7c2;
  --verde: #1d3730;
  --verde-2: #284a40;
  --gold: #a9823e;
  --gold-l: #d6b77a;
  --ink: #1c1b17;
  --ink-2: #545046;
  --line: rgba(28, 27, 23, 0.16);
  --line-v: rgba(245, 240, 230, 0.2);
  --serif: 'Bodoni Moda', 'Didot', serif;
  --sans: 'Karla', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --pad: clamp(20px, 4vw, 64px);
  --stage: calc(100svh - 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 56px; z-index: 9999; background: var(--ink); color: var(--ivory); padding: 10px 16px; transform: translateY(-300%); }
.skip:focus { transform: none; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.ph { width: 100%; height: 100%; object-fit: cover; background: var(--ivory-3); }
.verde .ph { background: #2f5348; }
.cap { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.verde { background: var(--verde); color: var(--ivory); }
.verde .cap { color: var(--gold-l); }
.rule { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); border: 0; margin: 0; }

/* header */
.head { position: fixed; top: 48px; left: 0; right: 0; z-index: 500; transition: transform .7s var(--ease), background .4s, color .4s; }
.head-in { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); gap: 24px; }
.head.solid { background: rgba(245, 240, 230, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }
.head.solid::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.head.hide { transform: translateY(-160%); }
.on-slab .head:not(.solid) { color: var(--ivory); }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .04em; position: relative; }
.nav a::before { content: ''; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; transform: rotate(45deg) scale(0); background: var(--gold); transition: transform .4s var(--ease); }
.nav a:hover::before, .nav a[aria-current="page"]::before { transform: rotate(45deg) scale(1); }
.logo { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.logo i { color: var(--gold-l); font-style: italic; }
.solid .logo i { color: var(--gold); }
.head-r { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--ink); color: var(--ivory); text-decoration: none; font: 500 14px/1 var(--sans); letter-spacing: .06em; border: 0; cursor: pointer; position: relative; overflow: hidden; will-change: transform; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn span { position: relative; }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold::before { background: var(--gold-l); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.line::before { background: currentColor; opacity: .08; }
.head .btn { padding: 13px 20px; }
.on-slab .head:not(.solid) .btn { background: var(--ivory); color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 48px 0 0; z-index: 450; background: var(--verde); color: var(--ivory); padding: 140px var(--pad) 40px; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .8s var(--ease-io); }
.menu-open .menu { transform: none; }
.menu-open .head { color: var(--ivory); background: transparent; }
.menu-open .head::after { display: none; }
.menu a { font: italic 400 clamp(42px, 11vw, 74px)/1.12 var(--serif); text-decoration: none; }
.menu p { margin-top: auto; font-size: 15px; opacity: .8; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.live { opacity: 1; }
.cursor-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold); transform: rotate(45deg); transition: transform .5s var(--ease); }
.cursor.hover .cursor-dot { transform: rotate(45deg) scale(3); background: transparent; box-shadow: inset 0 0 0 .5px var(--gold); }
.cursor-label { position: absolute; transform: translate(-50%, -50%) scale(.2); opacity: 0; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: italic 400 17px/1 var(--serif); transition: transform .5s var(--ease), opacity .3s; }
.cursor.has-label .cursor-label { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cursor.has-label .cursor-dot { transform: scale(0); }

/* reveals */
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }
.has-motion [data-split]:not(.in) .ln > span { transform: translate3d(0, 100%, 0); opacity: 0; }
.has-motion [data-split] .ln > span { transition: transform 1.4s var(--ease), opacity 1s; transition-delay: calc(var(--i) * 100ms + var(--d, 0ms)); }
.lw { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.has-motion [data-letters]:not(.in) .ch { opacity: 0; transform: translate3d(0, 0.5em, 0) rotate(8deg); }
.has-motion [data-letters] .ch { transition: opacity 1s, transform 1.2s var(--ease); transition-delay: calc(var(--i) * 50ms + var(--d, 0ms)); }
.has-motion [data-reveal]:not(.in) { opacity: 0; transform: translate3d(0, 30px, 0); }
.has-motion [data-reveal] { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.mask { overflow: hidden; }
.has-motion .mask:not(.in) > * { clip-path: inset(0 50% 0 50%); transform: scale(1.1); }
.has-motion .mask > * { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-io), transform 2s var(--ease); transition-delay: var(--d, 0ms); }

/* preloader: monogram */
.loader { display: none; }
.has-motion .loader { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; }
.loader::before, .loader::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ivory); transition: transform 1.1s var(--ease-io); }
.loader::before { left: 0; box-shadow: inset -1px 0 0 var(--gold); }
.loader::after { right: 0; }
.is-loaded .loader::before { transform: translateX(-101%); }
.is-loaded .loader::after { transform: translateX(101%); }
.is-loaded .loader { pointer-events: none; }
.loader-in { position: relative; z-index: 2; text-align: center; transition: opacity .4s; }
.is-loaded .loader-in { opacity: 0; }
.loader svg { width: 140px; height: 140px; overflow: visible; }
.loader svg path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 600; stroke-dashoffset: calc(600 - var(--k, 0) * 600); }
.loader-n { margin-top: 18px; font: italic 400 22px/1 var(--serif); color: var(--ink-2); }

/* page transition: stone doors */
.pt { position: fixed; inset: 0; z-index: 7000; pointer-events: none; visibility: hidden; }
.pt::before, .pt::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--verde); transition: transform .85s var(--ease-io); }
.pt::before { left: 0; transform: translateX(-101%); box-shadow: inset -2px 0 0 var(--gold-l); }
.pt::after { right: 0; transform: translateX(101%); }
.pt-label { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font: italic 400 clamp(36px, 6vw, 84px)/1 var(--serif); color: var(--ivory); opacity: 0; transition: opacity .3s .45s; }
.pt-leave .pt, .pt-arrive .pt { visibility: visible; }
.pt-leave .pt::before, .pt-leave .pt::after, .pt-arrive .pt::before, .pt-arrive .pt::after { transform: none; }
.pt-arrive .pt::before, .pt-arrive .pt::after { transition: none; }
.pt-leave .pt-label { opacity: 1; }
.pt-arrive-go .pt::before { transform: translateX(-101%); transition: transform 1.1s var(--ease-io); }
.pt-arrive-go .pt::after { transform: translateX(101%); transition: transform 1.1s var(--ease-io); }

/* hero slab */
.slab { position: relative; height: 230vh; background: var(--verde); color: var(--ivory); }
.slab-stage { position: sticky; top: 48px; height: var(--stage); overflow: hidden; }
.slab-gl, .slab-fb { position: absolute; inset: 0; }
.slab-gl canvas { display: block; width: 100% !important; height: 100% !important; }
.slab-fb { background: radial-gradient(120% 80% at 30% 20%, #3b6356, #1d3730 60%), #1d3730; }
.slab-fb::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(245, 240, 230, .08) 81px 82px, transparent 83px 190px), repeating-linear-gradient(35deg, transparent 0 140px, rgba(214, 183, 122, .25) 141px 142px, transparent 143px 330px); }
.gl-on .slab-fb { display: none; }
.slab-ui { position: absolute; inset: 0; padding: 150px var(--pad) 48px; display: grid; grid-template-rows: 1fr auto; pointer-events: none; }
.slab-ui > * { pointer-events: auto; }
.slab h1 { font-size: clamp(64px, 11vw, 196px); line-height: .9; letter-spacing: -0.035em; align-self: center; text-shadow: 0 2px 40px rgba(10, 25, 20, .35); }
.slab h1 em { color: var(--gold-l); }
.slab-bot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; }
.slab-bot p { max-width: 360px; margin: 0; font-size: 16px; opacity: .92; }
.slab-meter { justify-self: center; text-align: center; }
.slab-meter b { display: block; font: italic 400 34px/1 var(--serif); color: var(--gold-l); font-variant-numeric: tabular-nums; }
.slab-meter span { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.slab-bot .btn { justify-self: end; }
.slab-hint { position: absolute; right: var(--pad); top: 150px; text-align: right; font: italic 400 16px/1.4 var(--serif); opacity: .85; }

/* sections */
section { position: relative; }
.pad { padding: clamp(100px, 13vw, 190px) 0; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 110px); }
.intro h2 { font-size: clamp(44px, 5.6vw, 92px); }
.intro h2 em { color: var(--gold); }
.intro .body { columns: 2 260px; column-gap: 44px; color: var(--ink-2); }
.intro .body p:first-child::first-letter { float: left; font: 400 5.2em/.8 var(--serif); color: var(--gold); margin: .05em .08em 0 0; }

/* before / after tiles */
.flip { height: 420vh; background: var(--ivory-2); }
.flip-stage { position: sticky; top: 48px; height: var(--stage); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 4vw, 64px); padding: 120px var(--pad) 48px; align-items: center; }
.flip-txt h2 { font-size: clamp(40px, 4.6vw, 76px); margin: 18px 0 22px; }
.flip-txt p { color: var(--ink-2); }
.flip-count { font: italic 400 clamp(56px, 6vw, 96px)/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; margin-top: 18px; }
.flip-count small { font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-left: 10px; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; perspective: 1400px; width: 100%; max-height: 100%; aspect-ratio: 3 / 2; }
.tile { position: relative; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
.tile.on { transform: rotateY(180deg); }
.tile i { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-size: 600% 400%; background-repeat: no-repeat; }
.tile .b { background-color: #b9b2a4; background-image: var(--before); }
.tile .a { background-color: #2c5245; background-image: var(--after); transform: rotateY(180deg); }
.tile .b::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .04) 0 2px, transparent 2px 9px); }
.flip-toggle { margin-top: 24px; display: inline-flex; border: 1px solid var(--ink); }
.flip-toggle button { background: none; border: 0; padding: 12px 20px; cursor: pointer; font-size: 13px; letter-spacing: .08em; }
.flip-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }

/* project index */
.pidx { border-top: 1px solid var(--line); }
.prow { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 60px; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.prow .n { font: italic 400 22px/1 var(--serif); color: var(--gold); }
.prow h3 { font-size: clamp(32px, 3.8vw, 60px); position: relative; z-index: 2; transition: transform .8s var(--ease); }
.prow span { color: var(--ink-2); font-size: 15px; position: relative; z-index: 2; }
.prow .ar { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s; position: relative; z-index: 2; }
.prow .ar svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.prow:hover .ar { background: var(--gold); border-color: var(--gold); }
.prow:hover .ar svg { transform: rotate(-45deg); }
.prow:hover h3 { transform: translateX(16px); }
.prow figure { position: absolute; right: 18%; top: 50%; width: 220px; aspect-ratio: 4 / 5; margin: -138px 0 0; z-index: 1; clip-path: inset(50% 0 50% 0); transition: clip-path .7s var(--ease-io); pointer-events: none; }
.prow:hover figure { clip-path: inset(0 0 0 0); }
.prow figure img { height: 100%; }

/* materials */
.mats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.mat { text-align: center; }
.mat i { display: block; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 50px -30px rgba(0, 0, 0, .6); transition: transform .8s var(--ease); }
.mat:hover i { transform: translateY(-10px) rotate(8deg); }
.mat b { display: block; margin-top: 18px; font: italic 400 21px/1.2 var(--serif); }
.mat span { font-size: 13px; opacity: .75; }
.m1 { background: radial-gradient(circle at 30% 30%, #4d7a69, #1d3730 70%), #1d3730; background-blend-mode: normal; }
.m1, .m2, .m3, .m4 { position: relative; overflow: hidden; }
.m1::after, .m2::after, .m3::after, .m4::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(120deg, transparent 0 18px, rgba(255, 255, 255, .22) 19px 20px, transparent 21px 47px); mix-blend-mode: overlay; }
.m2 { background: radial-gradient(circle at 30% 30%, #3a3a3a, #0f0f0f 70%); }
.m3 { background: radial-gradient(circle at 30% 30%, #fffdf8, #e6dfd0 70%); }
.m3::after { background: repeating-linear-gradient(60deg, transparent 0 22px, rgba(169, 130, 62, .5) 23px 24px, transparent 25px 60px); mix-blend-mode: multiply; }
.m4 { background: radial-gradient(circle at 30% 30%, #e9d8bd, #c4a77c 70%); }
.m5 { background: radial-gradient(circle at 30% 30%, #f4d98f, #a9823e 55%, #6b4e1f); }
.m6 { background: repeating-linear-gradient(90deg, #5a3a22 0 6px, #6b4529 6px 9px, #4c311c 9px 14px); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps div { padding: 30px 28px 0 0; }
.steps b { font: italic 400 46px/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 28px; margin: 18px 0 12px; }
.steps p { font-size: 15.5px; color: var(--ink-2); }

.marq { overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marq-t { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marq-t span { font: italic 400 clamp(46px, 7vw, 110px)/1 var(--serif); white-space: nowrap; padding-right: .6em; }
.marq-t span b { font-weight: 400; font-style: normal; color: var(--gold); padding: 0 .3em; }
@keyframes marq { to { transform: translateX(-50%); } }
.velo-wrap { overflow: hidden; padding: 30px 0 0; }
.velo { font: 400 clamp(110px, 20vw, 340px)/.85 var(--serif); letter-spacing: -0.05em; white-space: nowrap; will-change: transform; }
.velo em { color: var(--gold); }

.quote { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.quote blockquote { margin: 0; font: italic 400 clamp(30px, 3.4vw, 54px)/1.18 var(--serif); }
.quote cite { display: block; margin-top: 30px; font: 500 13px/1.5 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.quote figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }

.cta { text-align: center; }
.cta h2 { font-size: clamp(64px, 12vw, 210px); letter-spacing: -0.04em; }
.cta h2 em { color: var(--gold); }
.cta p { max-width: 480px; margin: 26px auto 40px; color: var(--ink-2); }
.verde .cta p, .cta.verde p { color: rgba(245, 240, 230, .85); }

/* footer */
.foot { background: var(--ink); color: var(--ivory); padding: 100px 0 34px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.foot h2 { font-size: clamp(34px, 3.4vw, 52px); font-style: italic; margin-bottom: 16px; }
.foot h4 { margin: 0 0 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.foot p, .foot li { font-size: 15px; color: rgba(245, 240, 230, .8); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-l); }
.news { display: flex; max-width: 440px; margin-top: 22px; border-bottom: 1px solid rgba(245, 240, 230, .35); }
.news .field { flex: 1; min-width: 0; }
.news .field input { background: none; border: 0; padding: 14px 0; color: var(--ivory); }
.news .field input::placeholder { color: rgba(245, 240, 230, .55); }
.news .err { color: #f0b49f; position: absolute; top: 100%; margin-top: 6px; }
.news button { background: none; border: 0; cursor: pointer; color: var(--gold-l); font: italic 400 18px var(--serif); }
.foot .form-ok { color: var(--gold-l); margin-top: 16px; }
.foot-mark { margin: 80px 0 26px; font: 400 clamp(70px, 15vw, 250px)/.85 var(--serif); letter-spacing: -0.05em; white-space: nowrap; overflow: hidden; }
.foot-mark i { color: var(--gold); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(245, 240, 230, .16); padding-top: 22px; font-size: 13px; color: rgba(245, 240, 230, .7); }

/* inner pages */
.page-head { padding: 210px 0 80px; }
.page-head h1 { font-size: clamp(66px, 12vw, 200px); letter-spacing: -0.04em; }
.page-head h1 em { color: var(--gold); }
.page-head .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 56px; align-items: end; }
.page-head .row p { color: var(--ink-2); max-width: 520px; font-size: 18px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.filters button { background: none; border: 1px solid var(--line); padding: 11px 20px; font-size: 13.5px; letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; row-gap: 80px; }
.pcard { text-decoration: none; grid-column: span 6; transition: opacity .5s; }
.pcard:nth-child(3n+1) { grid-column: span 7; }
.pcard:nth-child(3n+2) { grid-column: span 5; margin-top: 120px; }
.pcard:nth-child(3n) { grid-column: 3 / span 8; }
.pcard.out { display: none; }
.pcard figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard img { transition: transform 1.4s var(--ease); }
.pcard:hover img { transform: scale(1.05); }
.pcard .row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 18px; }
.pcard h3 { font-size: clamp(28px, 2.6vw, 42px); }
.pcard span { font-size: 14px; color: var(--ink-2); }

.case-hero { height: 90vh; min-height: 460px; overflow: hidden; position: relative; }
.case-hero img { height: 120%; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 20px 26px 0; }
.facts b { display: block; font: italic 400 30px/1.1 var(--serif); }
.facts span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; touch-action: pan-y; background: #b9b2a4; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--ba, 50%)); background: #2c5245; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 2px; margin-left: -1px; background: var(--gold-l); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font: italic 400 15px var(--serif); color: var(--ink); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba-handle span { outline: 2px solid var(--ivory); outline-offset: 3px; }
.ba-lab { position: absolute; top: 20px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: rgba(28, 27, 23, .7); color: var(--ivory); padding: 8px 12px; pointer-events: none; }
.ba-lab.l { left: 20px; } .ba-lab.r { right: 20px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.two figure { margin: 0; overflow: hidden; }
.two h2 { font-size: clamp(40px, 4.6vw, 74px); margin-bottom: 24px; }
.two p { color: var(--ink-2); }
.verde .two p { color: rgba(245, 240, 230, .82); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team figure { margin: 0 0 18px; aspect-ratio: 3 / 4; overflow: hidden; }
.team h3 { font-size: 30px; }
.team span { font-size: 14px; color: var(--ink-2); }

.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(28, 27, 23, .35); padding: 12px 0; font: italic 400 22px/1.3 var(--serif); border-radius: 0; }
.field input::placeholder, .field textarea::placeholder { color: rgba(28, 27, 23, .4); }
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 0 center / 6px 6px no-repeat; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field.bad input, .field.bad select, .field.bad textarea { border-bottom-color: #a5321b; }
.err { font-size: 13.5px; color: #9c2f18; min-height: 1em; }
.range-out { font: italic 400 34px/1 var(--serif); color: var(--gold); }
.field input[type="range"] { padding: 0; border: 0; accent-color: var(--gold); height: 30px; }
.field input[type="range"]:focus { box-shadow: none; }
.rooms { display: flex; flex-wrap: wrap; gap: 8px; }
.rooms label { cursor: pointer; }
.rooms input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rooms span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); font: 400 15px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); transition: background .3s, color .3s; }
.rooms input:checked + span { background: var(--verde); color: var(--ivory); border-color: var(--verde); }
.rooms input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { flex-direction: row; gap: 12px; align-items: flex-start; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--verde); margin-top: 3px; }
.check label { font: 400 15px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.check .err { position: absolute; top: 100%; left: 30px; }
form.sent > *:not(.form-ok) { display: none; }
.form-ok { grid-column: 1 / -1; padding: 48px; background: var(--verde); color: var(--ivory); }
.form-ok h3 { font-size: clamp(36px, 4vw, 60px); font-style: italic; margin-bottom: 14px; }
.form-ok p { margin: 0; opacity: .88; }
.side-card { position: sticky; top: 150px; }
.side-card figure { margin: 0 0 28px; aspect-ratio: 4 / 5; overflow: hidden; }
.side-card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.side-card dt { font: italic 400 17px var(--serif); color: var(--gold); }
.side-card dd { margin: 0; color: var(--ink-2); }

@media (max-width: 960px) {
  .nav, .head .btn { display: none; }
  .menu-btn { display: block; }
  .head-in { grid-template-columns: 1fr auto; }
  .slab-bot { grid-template-columns: minmax(0, 1fr); }
  .slab-meter { justify-self: start; text-align: left; }
  .slab-bot .btn { justify-self: start; }
  .slab-hint { display: none; }
  .intro, .quote, .two, .consult, .page-head .row { grid-template-columns: minmax(0, 1fr); }
  .flip-stage { grid-template-columns: minmax(0, 1fr); padding-top: 110px; gap: 20px; align-content: center; }
  .flip-txt p { display: none; }
  .flip-txt h2 { font-size: 34px; margin: 10px 0 0; }
  .flip-count { font-size: 44px; margin-top: 8px; }
  .tiles { gap: 3px; }
  .prow { grid-template-columns: 50px minmax(0, 1fr) 44px; }
  .prow .hide-m { display: none; }
  .prow figure { display: none; }
  .mats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-top > :first-child { grid-column: 1 / -1; }
  .pgrid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .pcard:nth-child(n) { grid-column: 1; margin-top: 0; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .side-card { position: relative; top: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .head-in { height: 66px; }
  .logo { font-size: 22px; }
  .slab-ui { padding-top: 120px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .steps, .foot-top, .team { grid-template-columns: minmax(0, 1fr); }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-ok { padding: 30px 22px; }
  .ba { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
.slab-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 20, 16, .45), transparent 60%), linear-gradient(0deg, rgba(8, 20, 16, .5), transparent 40%); }
.slab-ui { z-index: 2; }
