/*
VOICE   quiet, assured, European studio — few words, much air
IDEA    a bound architectural monograph: full-bleed plates, captioned like a portfolio
PICTURE large interior plates (illustrated placeholders until photography arrives)
COLOUR  matte black + soft beige fields, champagne gold as the single accent, stone tones
TYPE    Marcellus (wordmark) · Cormorant Garamond (display) · Jost (text)
LAYOUT  full-bleed bands, 1240px content, asymmetric two-column compositions
*/
:root {
  color-scheme: light;
  --black: #000000; --char: #000000; --char2: #000000;
  --gold: #c4a574; --gold-d: #9c7f52; --gold-l: #dcc6a0;
  --beige: #efe8de; --sand: #e4dacc; --stone: #cfc5b7; --paper: #f7f3ed;
  --ink: #1b1a18; --muted: #5f584e; --line: rgba(27, 26, 24, .14); --line-d: rgba(239, 232, 222, .16);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mark: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: max(5vw, 18px);
}
:root[data-theme=light], :root[data-theme=dark] { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; }
.band { padding: clamp(64px, 9vw, 140px) var(--pad); }
.band.tight { padding-block: clamp(44px, 6vw, 84px); }
.dark { background: var(--black); color: var(--beige); }
.dark .muted, .dark p { color: #bdb4a7; }
.char { background: var(--char); color: var(--beige); }
.dark + .char, .char + .dark, .dark + .dark { border-top: 1px solid var(--line-d); }
.beige { background: var(--beige); }
.sand { background: var(--sand); }
.muted { color: var(--muted); }
.kicker { font: 500 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.dark .kicker, .char .kicker { color: var(--gold); }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.h1 { font-size: clamp(40px, 6vw, 76px); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); }
.lead { font: 400 clamp(21px, 2.1vw, 27px)/1.45 var(--serif); color: var(--ink); max-width: 34em; }
.dark .lead, .char .lead { color: var(--beige); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row p { max-width: 30em; margin: 0; }

/* ---------- visuals ---------- */
.ph { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.ph > svg, .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.sq { aspect-ratio: 1; }
.hov:hover .ph > svg, .hov:hover .ph > img, .hov:focus-visible .ph > svg { transform: scale(1.045); }
.tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(0, 0, 0, .72); color: var(--beige); font: 500 11.5px/1 var(--sans); letter-spacing: .08em; padding: 7px 10px; backdrop-filter: blur(6px); }
.note { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dark .note { color: #9f978b; }
.note svg { width: 16px; height: 16px; flex: none; color: var(--gold-d); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font: 500 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .35s, color .35s, border-color .35s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn.gold:hover { background: transparent; color: var(--gold); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.dark .btn.line, .char .btn.line, .hero .btn.line { color: var(--beige); border-color: rgba(239, 232, 222, .55); }
.dark .btn.line:hover, .char .btn.line:hover, .hero .btn.line:hover { background: var(--beige); color: var(--black); }
.btn svg { width: 18px; height: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--gold); }
.link::after { content: '→'; transition: transform .3s; }
.link:hover::after { transform: translateX(5px); }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--pad); color: var(--beige); transition: background .4s, padding .4s, box-shadow .4s; }
.hd.solid { background: rgba(0, 0, 0, .94); padding-block: 12px; backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-d); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand svg { width: 40px; height: 40px; color: var(--gold); flex: none; }
.brand b { display: block; font: 400 21px/1 var(--mark); letter-spacing: .16em; }
.brand small { display: block; font: 400 10px/1 var(--mark); letter-spacing: .44em; margin-top: 6px; color: var(--gold-l); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a { text-decoration: none; font: 400 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current=page]::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 12.5px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid rgba(239, 232, 222, .4); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 20px; height: 1px; background: currentColor; box-shadow: 0 6px currentColor, 0 -6px currentColor; }
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--beige); display: flex; flex-direction: column; padding: 22px var(--pad) 40px; transform: translateY(-100%); transition: transform .55s var(--ease); visibility: hidden; }
.mnav.open { transform: none; visibility: visible; }
.mnav .top { display: flex; justify-content: space-between; align-items: center; }
.mnav nav { display: flex; flex-direction: column; margin: auto 0; }
.mnav nav a { font: 400 clamp(30px, 8vw, 44px)/1.3 var(--serif); text-decoration: none; padding: 4px 0; }
.mnav nav a[aria-current=page] { color: var(--gold); }
.x { width: 46px; height: 46px; border: 1px solid rgba(239, 232, 222, .4); background: transparent; color: inherit; font-size: 24px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--beige); overflow: hidden; background: var(--black); }
.hero .bg { position: absolute; inset: 0; }
.hero .bg { overflow: hidden; }
.slides { display: flex; height: 100%; transition: transform 1.4s var(--ease); will-change: transform; }
.slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.slide > svg, .slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide.on > svg, .slide.on > img { animation: drift 7s ease-out both; }
.hero .tl i { font-style: normal; color: var(--gold); margin: 0 .5em; }
.hero .lockup .btns { justify-content: center; }
.hero .tl.solo { margin-top: 0; }
.btn.glass { background: rgba(196, 165, 116, .22); border-color: rgba(220, 198, 160, .6); color: #f6efe4; -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.btn.glass:hover { background: rgba(196, 165, 116, .45); color: #fff; border-color: var(--gold-l); }
.hero .lockup .btn { min-height: 42px; padding: 0 22px; font-size: 12px; width: auto; flex: none; }
.dots { display: flex; gap: 10px; }
.dots button { width: 34px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(239, 232, 222, .35); transition: background .4s; }
.dots button[aria-current]::after { background: var(--gold); }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .08) 30%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .9) 100%); }
.hero .in { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(44px, 7vh, 84px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero .name { font: 400 clamp(46px, 9.4vw, 136px)/.95 var(--mark); letter-spacing: .1em; margin: 0; }
.hero .name span { display: block; font-size: .3em; letter-spacing: .72em; margin-top: .55em; color: var(--gold-l); }
.hero .lockup { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92%, 1000px); text-align: center; }
.hero .tl { font: 400 clamp(17px, 2.1vw, 28px)/1.4 var(--mark); letter-spacing: .26em; text-transform: uppercase; margin: 0 0 34px; color: #f6efe4; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 12%, 100% { opacity: 0; } 30%, 80% { opacity: 1; } }
.hero .side { max-width: 330px; font-size: 15.5px; color: #d9d0c3; }
.hero .side p { margin-bottom: 24px; }
.hero.proj::after { background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .92) 100%); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { opacity: .2; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

.phero { position: relative; color: var(--beige); background: var(--black); padding: clamp(150px, 20vw, 230px) var(--pad) clamp(54px, 7vw, 96px); overflow: hidden; }
.phero .bg { position: absolute; inset: 0; opacity: .5; }
.phero .bg svg { width: 100%; height: 100%; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .92)); }
.phero .wrap { position: relative; z-index: 2; }
.phero .lead { color: #e5dccf; margin-top: 22px; }
.crumbs { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--beige); }

/* ---------- home pieces ---------- */
.intro-imgs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: end; }
.intro-imgs .ph:last-child { margin-bottom: -60px; }
.svc-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--char); color: var(--beige); margin-bottom: clamp(24px, 3vw, 40px); }
.svc-feature .ph { aspect-ratio: auto; min-height: 420px; }
.svc-feature .txt { padding: clamp(30px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.svc-feature ul, .svc-row ul { list-style: none; padding: 0; margin: 6px 0 30px; display: grid; gap: 10px; }
.svc-feature li, .svc-row li { padding-left: 26px; position: relative; }
.svc-feature li::before, .svc-row li::before { content: ''; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }
.svc-card { text-decoration: none; display: block; }
.svc-card h3 { font-size: 26px; margin: 20px 0 10px; display: flex; justify-content: space-between; gap: 12px; }
.svc-card h3::after { content: '→'; font-family: var(--sans); font-size: 18px; color: var(--gold-d); transition: transform .35s; }
.svc-card:hover h3::after { transform: translateX(6px); }
.svc-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 40%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctl { display: flex; gap: 10px; }
.rail-ctl button { width: 52px; height: 52px; border: 1px solid var(--line-d); background: transparent; color: var(--beige); font-size: 20px; cursor: pointer; transition: background .3s, color .3s; }
.rail-ctl button:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.pcard { text-decoration: none; display: block; position: relative; }
.pcard .meta { margin: 18px 0 6px; }
.pcard h3 { font-size: clamp(24px, 2.2vw, 30px); }
.pcard .cat { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); white-space: nowrap; }
.dark .pcard .cat, .char .pcard .cat { color: var(--gold); }
.pcard .loc { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.dark .pcard .loc { color: #9f978b; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.pillar { padding: 34px 30px 38px 0; border-bottom: 1px solid var(--line-d); }
.pillar:not(:nth-child(3n)) { border-right: 1px solid var(--line-d); }
.pillar:not(:nth-child(3n+1)) { padding-left: 30px; }
.pillar svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 20px; }
.pillar h3 { font-size: 27px; margin-bottom: 10px; }
.pillar p { margin: 0; font-size: 15.5px; }

.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); }
.why div { padding: 26px 0; border-top: 1px solid var(--line); }
.why h3 { font-size: 24px; margin-bottom: 8px; }
.why p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps-mini li { list-style: none; padding: 24px 22px 24px 0; border-bottom: 1px solid var(--line); font: 400 21px/1.25 var(--serif); counter-increment: s; }
.steps-mini li::before { content: 'Stage ' counter(s); display: block; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 12px; }
.steps-mini { padding: 0; margin: 0 0 40px; }

.quote-empty { border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: center; background: var(--paper); }
.quote-empty svg { width: 58px; height: 58px; color: var(--gold); }
.quote-empty h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.quote-empty p { margin: 0; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.quotes figure { margin: 0; padding: 36px; background: var(--paper); border-top: 2px solid var(--gold); }
.quotes blockquote { margin: 0 0 20px; font: italic 400 23px/1.4 var(--serif); }
.quotes figcaption { font-size: 14px; color: var(--muted); }

.cta { position: relative; overflow: hidden; text-align: center; }
.cta .bg { position: absolute; inset: 0; opacity: .35; }
.cta .bg svg { width: 100%; height: 100%; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), rgba(0, 0, 0, .92)); z-index: 1; }
.cta .wrap { position: relative; z-index: 2; max-width: 820px; }
.cta svg.m { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 28px; display: block; }
.cta .btns { justify-content: center; margin-top: 34px; }

/* ---------- services page ---------- */
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-index a { text-decoration: none; border: 1px solid var(--line); padding: 10px 16px; font-size: 14px; transition: border-color .3s, background .3s; }
.svc-index a:hover { border-color: var(--gold); background: var(--beige); }
.svc-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(44px, 6vw, 84px) 0; border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .ph { order: 2; }
.svc-row .badge { display: inline-block; background: var(--gold); color: var(--black); font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; margin-bottom: 18px; }
.svc-row h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.svc-row .lead { font-size: clamp(19px, 1.8vw, 23px); margin-bottom: 18px; }
.svc-row p { color: var(--muted); }

/* ---------- projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14.5px; transition: all .3s; }
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters button span { color: var(--gold-d); margin-left: 6px; font-size: 12.5px; }
.filters button[aria-pressed=true] span { color: var(--gold-l); }
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.pgrid > * { grid-column: span 4; animation: fadeUp .7s var(--ease) both; }
.pgrid > *:nth-child(5n+1) { grid-column: span 7; }
.pgrid > *:nth-child(5n+2) { grid-column: span 5; }
.pgrid > *:nth-child(5n+1) .ph { aspect-ratio: 16 / 10.4; }
.pgrid > *:nth-child(5n+2) .ph { aspect-ratio: 4 / 3.6; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin-top: 44px; }
.facts div { padding: 20px 20px 20px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line-d); }
.facts dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 8px; }
.facts dd { margin: 0; font: 400 21px/1.3 var(--serif); color: var(--beige); }
.mats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.mats li { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 21px/1.3 var(--serif); display: flex; gap: 14px; align-items: center; }
.mats li::before { content: ''; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }
.gal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gal button { border: 0; padding: 0; background: none; cursor: zoom-in; grid-column: span 2; text-align: left; }
.gal button:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gal button:nth-child(1) .ph { aspect-ratio: auto; height: 100%; min-height: 300px; }
.gal button:only-child { grid-column: 1 / -1; grid-row: auto; }
.gal button:only-child .ph { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.gal .w6 { grid-column: span 6; }
.gal .w6 .ph { aspect-ratio: 21 / 8; }
.gal .w3 { grid-column: span 3; }
.lb .ph { background: transparent; }
.lb .ph > img { object-fit: contain; }
.gal .cap { font-size: 13.5px; color: var(--muted); margin-top: 8px; display: block; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share a, .share button { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: transparent; cursor: pointer; font-size: 14px; transition: border-color .3s, background .3s; }
.share a:hover, .share button:hover { border-color: var(--gold); background: var(--beige); }
.share svg { width: 17px; height: 17px; }
.next-proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; text-decoration: none; }

/* before / after */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; background: var(--sand); --p: 50%; }
.ba .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.ba .after { clip-path: inset(0 0 0 var(--p)); }
.ba .bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: var(--beige); transform: translateX(-1px); pointer-events: none; z-index: 3; }
.ba .bar::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: var(--black); color: var(--gold); display: grid; place-items: center; font-size: 20px; letter-spacing: .1em; border: 1px solid var(--gold); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba input:focus-visible + .bar::after { outline: 2px solid var(--gold); outline-offset: 4px; }
.ba .lbl { position: absolute; z-index: 2; top: 16px; background: rgba(0, 0, 0, .75); color: var(--beige); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; }
.ba .lbl.l { left: 16px; } .ba .lbl.r { right: 16px; }

/* ---------- process ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline .fill { position: absolute; left: 27px; top: 0; width: 1px; background: var(--gold); height: 0; transition: height .2s linear; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: 0 0 clamp(44px, 6vw, 72px); }
.tl-step .dot { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); background: var(--paper); display: grid; place-items: center; font: 500 22px/1 var(--serif); color: var(--gold-d); position: relative; z-index: 1; transition: background .5s, color .5s; }
.tl-step.on .dot { background: var(--black); color: var(--gold); }
.tl-step h3 { font-size: clamp(26px, 2.8vw, 36px); margin: 10px 0 0; }
.tl-step p { margin: 10px 0 10px; color: var(--muted); }
.tl-step .out { font-size: 15px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.tl-step .out b { font-weight: 500; color: var(--gold-d); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* ---------- craftsmanship ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.mosaic article { grid-column: span 4; }
.mosaic article:nth-child(1) { grid-column: span 8; }
.mosaic article:nth-child(1) .ph { aspect-ratio: 16 / 8.6; }
.mosaic article .ph { aspect-ratio: 4 / 4.3; }
.mosaic h3 { font-size: 26px; margin: 18px 0 6px; }
.mosaic p { color: #bdb4a7; margin: 0; font-size: 15.5px; }
.statement { font: italic 400 clamp(30px, 4.2vw, 58px)/1.18 var(--serif); max-width: 20em; margin: 0 auto; text-align: center; }

/* ---------- about ---------- */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 96px); align-items: center; padding: clamp(40px, 5vw, 70px) 0; }
.chapter:nth-child(even) > .ph { order: 2; }
.chapter h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 18px; }
.chapter p { color: var(--muted); }
.logo-plate { background: #d9ccbc; display: grid; place-items: center; padding: 30px; }
.logo-plate img { max-height: 520px; width: auto; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.f { display: flex; flex-direction: column; margin-bottom: 22px; }
.f label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.f label i { color: var(--gold-d); font-style: normal; white-space: nowrap; }
.f input, .f select, .f textarea { min-height: 52px; font-size: 16px; border: 0; border-bottom: 1px solid rgba(27, 26, 24, .3); background: transparent; padding: 12px 2px; border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239c7f52' fill='none'/%3E%3C/svg%3E") no-repeat right 6px center; padding-right: 28px; }
.f textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.f .err { color: #9b2c1f; font-size: 13.5px; margin-top: 6px; min-height: 0; }
.f.bad input, .f.bad select, .f.bad textarea { border-bottom-color: #9b2c1f; }
.size-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }
.check { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--beige); margin: 4px 0 22px; cursor: pointer; font-size: 15.5px; }
.check input { width: 22px; height: 22px; accent-color: var(--black); flex: none; }
.consult { border-left: 2px solid var(--gold); padding-left: 22px; margin-bottom: 18px; }
.consult[hidden] { display: none; }
.form-foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 30em; }
.done { background: var(--char); color: var(--beige); padding: clamp(28px, 4vw, 48px); }
.done h3 { font-size: 34px; margin-bottom: 12px; }
.done p { color: #cfc6b9; }
.done .btns { margin-top: 24px; }
.done .btn.line { color: var(--beige); border-color: rgba(239, 232, 222, .5); }
.done .btn.line:hover { background: var(--beige); color: var(--black); }
.done pre { white-space: pre-wrap; font: 14px/1.6 var(--sans); background: rgba(239, 232, 222, .06); padding: 18px; color: #d9d0c3; max-height: 260px; overflow: auto; margin: 18px 0 0; }
.aside-card { background: var(--black); color: var(--beige); padding: 34px; margin-bottom: 18px; }
.aside-card h3 { font-size: 28px; margin-bottom: 10px; }
.aside-card p { color: #bdb4a7; font-size: 15.5px; }
.aside-card.light { background: var(--beige); color: var(--ink); }
.aside-card.light p { color: var(--muted); }
.aside-card dl { margin: 0; }
.aside-card dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-top: 16px; }
.aside-card dd { margin: 4px 0 0; font: 400 20px/1.35 var(--serif); }

/* ---------- footer ---------- */
.ft { background: var(--black); color: #bdb4a7; padding: clamp(60px, 8vw, 110px) var(--pad) 30px; }
.ft .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-d); }
.ft .brand { color: var(--beige); margin-bottom: 22px; }
.ft .brand svg { width: 52px; height: 52px; }
.ft h4 { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ft a { text-decoration: none; transition: color .3s; }
.ft a:hover { color: var(--beige); }
.ft .tl { font: italic 400 22px/1.35 var(--serif); color: var(--beige); max-width: 16em; }
.ft .bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: 13.5px; }
.soc { display: flex; gap: 10px; flex-wrap: wrap; }
.soc a { width: 44px; height: 44px; border: 1px solid var(--line-d); display: grid; place-items: center; }
.soc svg { width: 18px; height: 18px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #000; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s, background .3s, color .3s; }
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--black); }
.wa-float svg { width: 27px; height: 27px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 16px; color: var(--beige); }
.lb[hidden] { display: none; }
.lb .bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lb figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 14px 0; }
.lb .ph { width: min(100%, calc((100svh - 170px) * 1.6)); aspect-ratio: 16 / 10; }
.lb .nav2 { display: flex; justify-content: center; gap: 12px; }
.lb .nav2 button { width: 54px; height: 54px; border: 1px solid var(--line-d); background: transparent; color: var(--beige); font-size: 22px; cursor: pointer; }
.lb .nav2 button:hover { border-color: var(--gold); color: var(--gold); }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .slide.on > svg, .slide.on > img, .scroll-cue, .pgrid > *, .hero .tl { animation: none; }
  .slides { transition: none; }
  .ph > svg, .ph > img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: grid; color: inherit; }
  .ft .top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .split.rev, .svc-feature, .svc-row, .chapter, .contact, .next-proj, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .ph, .chapter:nth-child(even) > .ph { order: 0; }
  .grid3, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar, .pillar:not(:nth-child(3n+1)) { padding: 28px 22px 30px 0; border-right: 0 !important; }
  .pillars .pillar:nth-child(odd) { border-right: 1px solid var(--line-d) !important; }
  .pillars .pillar:nth-child(even) { padding-left: 22px; }
  .pgrid > *, .pgrid > *:nth-child(5n+1), .pgrid > *:nth-child(5n+2) { grid-column: span 6; }
  .pgrid > * .ph, .pgrid > *:nth-child(n) .ph { aspect-ratio: 4 / 3; }
  .mosaic article, .mosaic article:nth-child(1), .mosaic article:nth-child(6) { grid-column: span 6; }
  .mosaic article .ph, .mosaic article:nth-child(n) .ph { aspect-ratio: 4 / 3.4; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .hero .in { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: minmax(280px, 72%); }
  .quote-empty { grid-template-columns: minmax(0, 1fr); }
  .intro-imgs .ph:last-child { margin-bottom: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid3, .pillars, .why, .steps-mini, form .row, .ft .top { grid-template-columns: minmax(0, 1fr); }
  .pillars .pillar:nth-child(n) { border-right: 0 !important; padding: 26px 0; }
  .pgrid > *, .pgrid > *:nth-child(5n+1), .pgrid > *:nth-child(5n+2), .mosaic article, .mosaic article:nth-child(1), .mosaic article:nth-child(6) { grid-column: 1 / -1; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal button, .gal button:nth-child(n), .gal .w3, .gal .w6 { grid-column: span 1; grid-row: auto; }
  .gal button:nth-child(1) { grid-column: 1 / -1; }
  .gal button:nth-child(1) .ph, .gal .w6 .ph { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .brand b { font-size: 17px; } .brand small { font-size: 9px; } .brand svg { width: 34px; height: 34px; }
  .nav .btn { display: none; }
  .rail { grid-auto-columns: 86%; }
  .svc-feature .ph { min-height: 260px; }
  .ba { aspect-ratio: 4 / 3; }
  .facts dd { font-size: 18px; }
  .btn { width: 100%; }
  .btns .btn { width: auto; flex: 1 1 200px; }
  .hero .name span { letter-spacing: .5em; }
  .size-wrap { grid-template-columns: minmax(0, 1fr) 96px; }
  .scroll-cue { display: none; }
  .hero .tl { font-size: 15px; letter-spacing: .16em; }
  .hero .tl i { margin: 0 .25em; }
  .hero .lockup { top: 44%; }
}
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 3.4vw, 48px) clamp(18px, 2vw, 28px); margin-top: clamp(48px, 5vw, 72px); }
.grid4 .ph.tall { aspect-ratio: 4 / 4.6; }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
