/* MOONSTONE · Architecture & Construction — concept site by AKCA Studio */
:root {
  --bg: #0d0c0a; --bg2: #11100d; --ink: #F5F1E8; --ink2: #c4bcaf; --muted: #958d81;
  --champ: #CBB38C; --line: rgba(203,179,140,.3); --hair: rgba(255,255,255,.1);
  --g-ivory: linear-gradient(180deg, #FFFDF8 0%, #F2ECE0 50%, #D3C6AF 100%);
  --g-silk: linear-gradient(100deg, #C9B490 0%, #EAE0CB 38%, #CDB792 64%, #DFD0B3 100%);
  --g-lit: linear-gradient(180deg, #F7F1E6 0%, #EEDDBC 52%, #D6A464 100%);
  --g-brass: linear-gradient(135deg, #E4D1AC, #B39970 40%, #D6C19A 65%, #8E7651);
  --pad: clamp(20px, 5vw, 72px);
  --serif: "Marcellus", Georgia, serif; --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--champ); outline-offset: 3px; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035; transform: translateZ(0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; padding: clamp(72px, 8.5vw, 116px) 0; }
.gt { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.iv { background-image: var(--g-ivory); } .sk { background-image: var(--g-silk); } .lt { background-image: var(--g-lit); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #D9C8A6; }
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: linear-gradient(90deg, #9A8057, #E9D6AF); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { margin-top: 20px; font-size: clamp(38px, 5vw, 62px); }
h1 span, h2 span { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding-bottom: .04em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--ink2); font-weight: 300; }
.lab { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.head2 { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 24px 60px; align-items: end; }

/* ---------- material: dark travertine + brass inlay frame ---------- */
.stone { position: relative; isolation: isolate; background: linear-gradient(180deg, rgba(8,7,5,.12), rgba(5,4,3,.4)), url(img/optimized/stone-dark.webp) center / 760px auto;
  box-shadow: inset 0 1px 0 rgba(255,240,215,.08), inset 0 -1px 0 rgba(0,0,0,.4), 0 24px 48px rgba(0,0,0,.45); }
.fr { position: relative; --d: 9px; }
.fr::after { content: ""; position: absolute; inset: var(--d); pointer-events: none; z-index: 4;
  border: 1.15px solid transparent; border-image: var(--g-brass) 1; opacity: .9;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.28); }
.fr.L { --d: 11px; } .fr.S { --d: 5px; } .fr.XS { --d: 3px; }
.fr.S::after, .fr.XS::after { border-width: .9px; }
.fr.on::after { opacity: 1; filter: brightness(1.12); }
.fr.on::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(120% 90% at 30% 0%, rgba(214,192,150,.16), transparent 65%); }
.win { position: relative; overflow: hidden; }
.win > img, .win > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; min-width: 0; min-height: 48px; padding: 16px 26px 16px 22px; color: #F3EBDC; font-size: 12px; font-weight: 600; line-height: 1.6; text-align: center; letter-spacing: .2em; text-transform: uppercase; white-space: normal; overflow-wrap: anywhere;
  border: 1px solid rgba(203,179,140,.36);
  background:
    linear-gradient(#DCC7A0,#DCC7A0) left top / 10px 1px no-repeat, linear-gradient(#DCC7A0,#DCC7A0) left top / 1px 10px no-repeat,
    linear-gradient(#DCC7A0,#DCC7A0) right bottom / 10px 1px no-repeat, linear-gradient(#DCC7A0,#DCC7A0) right bottom / 1px 10px no-repeat,
    radial-gradient(120% 160% at 0% 0%, rgba(214,192,150,.22), transparent 58%), linear-gradient(180deg, #3a3329 0%, #221e18 46%, #15120e 100%);
  box-shadow: inset 0 1px 0 rgba(255,240,215,.16), inset 0 -1px 0 rgba(0,0,0,.55), 0 16px 34px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn::before { content: ""; width: 6px; height: 6px; flex: none; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #A88A5C); box-shadow: 0 0 10px rgba(233,214,175,.45); }
.btn:hover { transform: translateY(-2px); border-color: rgba(220,199,160,.6); box-shadow: inset 0 1px 0 rgba(255,240,215,.2), 0 20px 40px rgba(0,0,0,.55), 0 0 24px rgba(214,192,150,.12); }
.btn.sm { padding: 11px 16px 11px 14px; font-size: 11px; }
.ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid rgba(203,179,140,.5); color: #E2D3B5; transition: gap .2s; }
.ghost:hover { gap: 12px; }
.arr { width: 12px; height: 12px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.top.scrolled { background: rgba(13,12,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(203,179,140,.15); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; }
.brand b { display: block; font-weight: 500; font-size: 18px; letter-spacing: .3em; line-height: 1.05; }
.brand small { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .32em; color: #a59d90; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; color: var(--ink2); }
.nav a:not(.btn) { position: relative; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--champ); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .sep { width: 1px; height: 22px; background: rgba(255,255,255,.2); }
.nav .mail { font-size: 13.5px; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger i { display: block; width: 22px; height: 10px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transition: transform .3s; }
.mnav { position: fixed; inset: 0; z-index: 49; background: rgba(13,12,10,.97); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mnav a:not(.btn) { font-family: var(--serif); font-size: 34px; }
.mnav .btn { margin-top: 18px; align-self: flex-start; }
body.menu .mnav { opacity: 1; visibility: visible; } body.menu .burger i { transform: scaleY(.2); }

/* ---------- hero ---------- */
.hero { padding: 150px 0 80px; min-height: 100vh; overflow: hidden; }
.hero .light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 55% at 76% 38%, rgba(203,170,120,.15), transparent 70%), radial-gradient(40% 35% at 0% 100%, rgba(120,96,60,.16), transparent 70%); }
.hero .hgrid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { margin-top: 26px; font-size: clamp(46px, 6.4vw, 92px); line-height: 1.04; }
.hero h1 span:nth-child(2) { background-image: linear-gradient(100deg, #C9B490 0%, #EAE0CB 38%, #CDB792 64%, #DFD0B3 100%); }
.hero .lead { margin-top: 26px; max-width: 540px; }
.ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 560px; }
.steps div { position: relative; padding-top: 16px; padding-right: 10px; font-size: 14px; color: #cfc7bb; }
.steps div::before { content: ""; position: absolute; left: 0; right: 10px; top: 0; height: 2px; background: rgba(255,255,255,.14); }
.steps div.on::before { background: linear-gradient(90deg, #A88A5C, #EADFC9); }
.steps b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #D9C8A6; margin-bottom: 3px; }
.art { position: relative; height: 640px; }
.art .photo { position: absolute; inset: -60px -120px -40px -20px; background: url(img/optimized/kule-sicak.webp) 50% 35% / cover; filter: saturate(.85) contrast(1.06);
  -webkit-mask-image: radial-gradient(60% 58% at 58% 46%, #000 38%, rgba(0,0,0,.55) 60%, transparent 80%); mask-image: radial-gradient(60% 58% at 58% 46%, #000 38%, rgba(0,0,0,.55) 60%, transparent 80%); }
.art .outline { position: absolute; right: 10%; top: 12%; width: 52%; height: 70%; border: 1px solid var(--line); }
.art .inset { position: absolute; left: 6%; top: 34%; width: 38%; aspect-ratio: 3 / 4; }
.art .inset .cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; }
.art .inset .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,5,.9), transparent 55%); }
.cap i { display: block; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #D9C8A6; }
.cap b { display: block; margin-top: 5px; font-family: var(--serif); font-weight: 400; font-size: 18px; }
.cap small { display: block; font-size: 12px; color: rgba(255,250,240,.78); }
.glass { position: absolute; z-index: 5; padding: 18px 22px; }
.glass b { display: block; font-family: var(--serif); font-weight: 400; font-size: 23px; }
.glass span { display: block; margin-top: 2px; font-size: 13px; color: #cdc5b8; }
.glass .bar { margin-top: 10px; width: 170px; height: 4px; background: rgba(255,255,255,.14); }
.glass .bar i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, #A88A5C, #EADFC9); }
.art .g1 { right: 0; top: 10%; } .art .g2 { right: 6%; bottom: 10%; }
.cats { margin-top: 72px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat { height: 150px; overflow: hidden; display: block; }
.cat .win { position: absolute; inset: 5px; }
.cat .win img { transition: transform .8s ease; filter: saturate(.9) contrast(1.05); }
.cat:hover .win img { transform: scale(1.06); }
.cat .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,5,4,.92), rgba(6,5,4,.25) 75%); }
.cat .meta { position: absolute; z-index: 5; left: 22px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; }
.cat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.cat small { font-size: 13px; color: rgba(255,250,240,.88); }
.tag { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: #E6D7B8; padding: 6px 11px; border: 1px solid rgba(203,179,140,.55); background: rgba(12,10,8,.6); }

/* ---------- services ---------- */
.sv { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 56px; }
.sv-l .lead { margin-top: 24px; }
.facts { list-style: none; margin-top: 32px; border-top: 1px solid var(--hair); }
.facts li { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; color: var(--ink2); }
.facts li b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: #EFE8DA; }
.sv-l .btn { margin-top: 36px; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.sv-g { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.svc { padding: 16px 16px 28px; display: flex; flex-direction: column; transition: transform .35s ease; }
.svc:hover { transform: translateY(-4px); }
.svc .split { height: 220px; }
.svc .split .ph { background-size: cover; background-position: center 60%; }
.svc .split .sk2 { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); transition: clip-path .9s ease; }
.svc:hover .split .sk2 { clip-path: polygon(78% 0, 100% 0, 100% 100%, 62% 100%); }
.svc .seam { position: absolute; z-index: 2; top: -10px; bottom: -10px; left: 50%; width: 1.5px; background: linear-gradient(180deg, transparent, #E9D6AF 20%, #E9D6AF 80%, transparent); transform: rotate(9.6deg); box-shadow: 0 0 12px rgba(233,214,175,.6); transition: left .9s ease; }
.svc:hover .seam { left: 70%; }
.svc .tgl { position: absolute; z-index: 3; top: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; padding: 5px 8px; background: rgba(12,10,8,.66); border: 1px solid rgba(203,179,140,.35); color: #E6D7B8; }
.svc .tgl.l { left: 12px; } .svc .tgl.r { right: 12px; }
.svc .num { display: none; margin: -30px 0 0 10px; position: relative; z-index: 6; font-family: var(--serif); font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(220,199,160,.6); }
.svc .body { padding: 22px 12px 0; flex: 1; }
.svc h3 { font-size: 26px; }
.svc p { margin-top: 8px; font-size: 14px; color: var(--ink2); }
.svc .ft { margin: 22px 12px 0; padding-top: 14px; border-top: 1px solid rgba(203,179,140,.2); display: flex; justify-content: space-between; align-items: flex-end; }
.svc .ft small { display: block; } .svc .ft b { display: block; margin-top: 2px; font-family: var(--serif); font-weight: 400; font-size: 18px; color: #EFE8DA; }
.svc .ft .two { display: flex; gap: 28px; }
.dbtn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(203,179,140,.45); color: #E6D7B8; transform: rotate(45deg); transition: background .3s, color .3s; }
.dbtn svg { transform: rotate(-45deg); }
.svc:hover .dbtn { background: linear-gradient(135deg, #E9D6AF, #A88A5C); color: #17130d; border-color: transparent; }

/* ---------- projects ---------- */
.work .bp { position: absolute; inset: 0; background: url(img/optimized/plan.webp) center / cover; filter: invert(1) grayscale(1) contrast(1.4); opacity: .05; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 50% at 50% 35%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 50% at 50% 35%, #000 30%, transparent 80%); }
.stats { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.stats div { padding-top: 16px; } .stats div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.08); }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.filters { margin-top: 48px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; font-size: 13.5px; font-weight: 500; color: #cfc7ba; transition: color .2s; }
.chip em { font-style: normal; font-size: 11px; color: var(--muted); }
.chip.on { color: #F3EBDC; } .chip.on em { color: #D9C8A6; }
.chip.on::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #A88A5C); }
.grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 36px 30px; }
.card { padding: 22px 22px 26px; transition: transform .4s ease, opacity .4s ease; }
.card:hover { transform: translateY(-6px); }
.card.hide { display: none; }
.card .win { aspect-ratio: 1 / 1.02; }
.card .win img { transition: transform 1s ease; filter: saturate(.9) contrast(1.05); }
.card:hover .win img { transform: scale(1.05); }
.card .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,5,.5), transparent 40%); }
.live { position: absolute; z-index: 5; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; font-size: 10px; font-weight: 600; letter-spacing: .18em; color: #F3EBDC; background: rgba(12,10,8,.72); border: 1px solid rgba(203,179,140,.42); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #E9C98E; box-shadow: 0 0 0 4px rgba(233,201,142,.18), 0 0 12px rgba(233,201,142,.8); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(233,201,142,.05), 0 0 16px rgba(233,201,142,.9); } }
.dim { position: relative; margin: 10px 2px 0; height: 14px; }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: .7px solid rgba(220,199,160,.6); }
.dim::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 10px; border-left: .7px solid rgba(220,199,160,.6); border-right: .7px solid rgba(220,199,160,.6); }
.dim span { position: absolute; left: 50%; top: -1px; transform: translateX(-50%); padding: 0 8px; font-size: 9px; font-weight: 600; letter-spacing: .14em; color: #C9B690; background: #0e0d0b; }
.plq { padding: 10px 6px 0; }
.plq .r1 { display: flex; justify-content: space-between; align-items: center; }
.plq .cat2 { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: #D9C8A6; }
.plq .no { font-family: var(--serif); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.plq h3 { margin-top: 8px; font-size: 25px; }
.loc { margin-top: 5px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: #bdb5a8; }
.spec { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(203,179,140,.22); }
.spec div { padding-top: 10px; } .spec div + div { padding-left: 14px; border-left: 1px solid rgba(203,179,140,.16); }
.spec small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.spec b { display: block; margin-top: 3px; font-family: var(--serif); font-weight: 400; font-size: 17px; color: #EFE8DA; }
.prog { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(203,179,140,.22); }
.prog .t { display: flex; justify-content: space-between; align-items: baseline; }
.prog .t b { font-family: var(--serif); font-weight: 400; font-size: 21px; } .prog .t small { font-size: 12px; color: var(--ink2); }
.segs { margin-top: 8px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.segs i { height: 6px; background: rgba(255,255,255,.08); } .segs i.on { background: linear-gradient(180deg, #EADFC9, #BFA57E); }
.more { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.more small { font-size: 13px; color: var(--muted); } .more u { color: #D9C8A6; text-decoration: none; border-bottom: 1px solid rgba(203,179,140,.4); }

/* ---------- process ---------- */
.process .bgp { position: absolute; inset: 0; background: url(img/optimized/beton.webp) center 30% / cover; opacity: .14; filter: grayscale(.4) sepia(.25); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.stair { position: relative; margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: end; }
.stair svg.line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.step { padding: 34px 26px 26px; }
.step:nth-child(2) { margin-bottom: 0; } .step:nth-child(3) { margin-bottom: 110px; } .step:nth-child(4) { margin-bottom: 220px; } .step:nth-child(5) { margin-bottom: 330px; }
.step .wk { display: flex; justify-content: space-between; align-items: center; }
.step .wk span { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: #D9C8A6; }
.step .wk em { display: none; font-style: normal; font-family: var(--serif); font-size: 40px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(220,199,160,.5); }
.step h3 { margin-top: 10px; font-size: 24px; }
.step p { margin-top: 8px; font-size: 13.5px; color: var(--ink2); }
.step ul { list-style: none; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(203,179,140,.18); display: grid; gap: 9px; }
.step li { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #E9E2D4; }
.chk { width: 15px; height: 15px; flex: none; display: grid; place-items: center; border: 1px solid rgba(203,179,140,.5); transform: rotate(45deg); }
.chk::after { content: ""; width: 5px; height: 5px; background: linear-gradient(135deg, #F6EAD0, #A88A5C); }
.you { margin-top: 14px; }
.badge { position: absolute; z-index: 6; right: 0; top: -32px; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: #17130d; padding: 6px 9px; background: linear-gradient(135deg, #F1E3C4, #C9AE80); }
.ruler { position: relative; margin-top: 18px; height: 34px; border-top: 1px solid rgba(203,179,140,.35); display: grid; grid-template-columns: repeat(4, 1fr); }
.ruler span { padding-top: 12px; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.ruler span:last-child { text-align: right; }

/* ---------- portal ---------- */
.po { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 60px; align-items: start; }
.feat { margin-top: 38px; border-top: 1px solid var(--hair); }
.feat > div { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.itile { width: 48px; height: 48px; display: grid; place-items: center; }
.ico { display: block; filter: drop-shadow(0 0 6px rgba(233,214,175,.22)); }
.ico .fc { fill: url(#dg); stroke: none; }
.feat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: #EFE8DA; }
.feat span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink2); }
.dash { position: relative; display: grid; grid-template-columns: 70px 1fr; }
.dash .side { border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 0; }
.dash .side img { width: 28px; margin-bottom: 12px; }
.dash .side i { width: 40px; height: 40px; display: grid; place-items: center; opacity: .55; } .dash .side i.on { opacity: 1; }
.dash .main { padding: 28px 30px 30px; }
.mtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mtop h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; } .mtop small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #17130d; background: linear-gradient(135deg, #F1E3C4, #B99D70); }
.r1 { margin-top: 22px; display: grid; grid-template-columns: 240px 1fr; gap: 16px; }
.r2 { margin-top: 16px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.tile { padding: 22px 24px; }
.ring { display: grid; place-items: center; min-height: 220px; } .ring .v { position: absolute; text-align: center; }
.ring .v b { display: block; font-family: var(--serif); font-weight: 400; font-size: 44px; } .ring .v small { font-size: 10px; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.ring circle.p { transition: stroke-dasharray 1.6s ease; }
.shot { min-height: 220px; padding: 0; }
.shot .win { position: absolute; inset: 4px; } .shot .win::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,5,.9), transparent 55%); }
.shot .stamp { position: absolute; z-index: 5; left: 16px; top: 16px; display: flex; gap: 8px; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .18em; padding: 6px 9px; background: rgba(12,10,8,.65); border: 1px solid rgba(203,179,140,.4); }
.shot .stamp i { width: 6px; height: 6px; border-radius: 50%; background: #E9C98E; box-shadow: 0 0 10px #E9C98E; }
.shot .cap { position: absolute; z-index: 5; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.thumbs { display: flex; gap: 6px; } .thumbs img { width: 44px; height: 32px; object-fit: cover; border: 1px solid rgba(255,255,255,.2); }
.gantt .r { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin-top: 11px; font-size: 12.5px; color: var(--ink2); }
.gantt .tr { position: relative; height: 10px; background: rgba(255,255,255,.05); }
.gantt .tr i { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #BFA57E, #EADFC9); }
.gantt .tr i.p { background: repeating-linear-gradient(135deg, rgba(203,179,140,.5) 0 4px, rgba(203,179,140,.15) 4px 8px); }
.gantt .now { position: absolute; top: -6px; bottom: -6px; width: 1px; background: #F1E3C4; box-shadow: 0 0 8px #F1E3C4; }
.budget .big { margin-top: 10px; font-family: var(--serif); font-size: 32px; } .budget .big small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.bb { margin-top: 14px; height: 12px; background: rgba(255,255,255,.06); position: relative; } .bb i { position: absolute; left: 0; top: 0; bottom: 0; width: 71%; background: linear-gradient(90deg, #BFA57E, #EADFC9); }
.ok { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: #D9E6C8; } .ok i { width: 7px; height: 7px; border-radius: 50%; background: #A9C98E; box-shadow: 0 0 8px #A9C98E; }
.msg { margin-top: 16px; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 18px 22px; font-size: 14px; color: #E9E2D4; }
.msg small { display: block; font-size: 12px; color: var(--muted); }
.notif { position: absolute; z-index: 7; right: -24px; bottom: -34px; width: 300px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 16px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.notif img { width: 30px; } .notif b { display: block; font-size: 13px; font-weight: 600; } .notif small { font-size: 12px; color: var(--ink2); }

/* ---------- trust ---------- */
.trust .mb { position: absolute; inset: 0; background: url(img/optimized/marble.webp) center / cover; opacity: .5; pointer-events: none; }
.trust .sh { position: absolute; inset: 0; background: radial-gradient(60% 60% at 35% 45%, transparent 0%, rgba(13,12,10,.75) 70%), linear-gradient(90deg, rgba(13,12,10,.2), rgba(13,12,10,.85) 70%); pointer-events: none; }
.tr-g { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 70px; align-items: center; }
.plaque { margin-top: 44px; padding: clamp(36px, 5vw, 60px) clamp(28px, 5vw, 64px); }
.plaque .qm { position: absolute; left: 40px; top: 14px; font-family: var(--serif); font-size: 120px; line-height: 1; opacity: .18; color: #E9D6AF; }
.quotes { position: relative; min-height: 180px; }
.quotes q { display: block; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 33px); line-height: 1.34; quotes: none; position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s; }
.quotes q.on { position: relative; opacity: 1; transform: none; }
.who { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(220,199,160,.2); display: flex; align-items: center; gap: 16px; }
.who strong { display: block; font-size: 16px; font-weight: 600; } .who small { font-size: 13px; color: var(--ink2); }
.stars { margin-left: auto; text-align: right; color: #E6D3AD; letter-spacing: 3px; } .stars small { display: block; letter-spacing: 0; color: var(--muted); font-size: 12px; }
.dots { margin-top: 22px; display: flex; gap: 10px; }
.dots button { width: 22px; height: 12px; position: relative; } .dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(255,255,255,.2); }
.dots button.on { width: 46px; } .dots button.on::after { background: linear-gradient(90deg, #E9D6AF, #A88A5C); }
.seals { display: grid; gap: 26px; }
.seal { display: grid; grid-template-columns: 128px 1fr; gap: 26px; align-items: center; }
.seal svg { width: 128px; height: 128px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.55)); }
.seal svg .rot { transform-origin: 66px 66px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: #EFE8DA; } .seal span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink2); }

/* ---------- estimate ---------- */
.estimate .bp { position: absolute; inset: 0; background: url(img/optimized/plan.webp) center / cover; filter: invert(1) grayscale(1) contrast(1.5); opacity: .05; mix-blend-mode: screen; pointer-events: none; }
.es { margin-top: 50px; display: grid; grid-template-columns: 1fr minmax(0, 410px); gap: 36px; align-items: start; }
.sheet { padding: clamp(28px, 4vw, 44px); }
.sheet::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(203,179,140,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(203,179,140,.04) 1px, transparent 1px); background-size: 24px 24px; }
.q { position: relative; z-index: 1; margin-top: 28px; } .q:first-child { margin-top: 0; }
.q > .lab { display: flex; justify-content: space-between; } .q > .lab em { font-style: normal; color: #D9C8A6; }
.opts { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opt { height: 96px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; transition: transform .2s; }
.opt:hover { transform: translateY(-2px); }
.opt b { font-size: 14px; font-weight: 500; color: #DCD4C6; } .opt.on b { color: #F5EEDC; }
.opt .ico { opacity: .65; } .opt.on .ico { opacity: 1; }
.opt.on > .tick { position: absolute; right: 14px; top: 14px; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #A88A5C); z-index: 5; }
.range { position: relative; margin-top: 44px; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; position: relative; z-index: 2; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, #A88A5C, #EADFC9) 0 / var(--p, 38%) 100% no-repeat, rgba(255,255,255,.08); }
.range input::-moz-range-track { height: 4px; background: rgba(255,255,255,.08); } .range input::-moz-range-progress { height: 4px; background: linear-gradient(90deg, #A88A5C, #EADFC9); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #B39566); box-shadow: 0 0 0 5px rgba(233,214,175,.12), 0 4px 10px rgba(0,0,0,.5); border: 0; }
.range input::-moz-range-thumb { width: 18px; height: 18px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #B39566); border: 0; border-radius: 0; }
.range .bub { position: absolute; top: -34px; left: var(--p, 38%); transform: translateX(-50%); font-family: var(--serif); font-size: 15px; color: #17130d; padding: 3px 9px; background: linear-gradient(135deg, #F1E3C4, #C9AE80); white-space: nowrap; }
.range .tk { height: 8px; margin-top: 4px; background-image: linear-gradient(90deg, rgba(203,179,140,.35) 1px, transparent 1px); background-size: 2.5% 6px; background-repeat: repeat-x; }
.range .nums { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inp { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.inp input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; color: #E9E2D4; position: relative; z-index: 5; }
.inp input::placeholder { color: #8f877b; }
.seg { margin-top: 10px; padding: 4px; display: grid; grid-template-columns: repeat(3, 1fr); }
.seg button { position: relative; z-index: 5; padding: 12px 6px; font-size: 13px; color: var(--ink2); transition: background .25s, color .25s; }
.seg button.on { color: #17130d; font-weight: 600; background: linear-gradient(180deg, #F1E3C4, #CDB487); }
.tb { position: relative; z-index: 1; margin-top: 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.tb > div { position: relative; z-index: 5; padding: 11px 14px; } .tb > div + div { border-left: 1px solid rgba(203,179,140,.22); }
.tb small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .18em; color: var(--muted); } .tb b { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: #DCD4C6; }
.res { padding: 40px 34px 40px; }
.res .big { margin-top: 12px; font-family: var(--serif); font-size: clamp(32px, 3.2vw, 42px); line-height: 1.05; transition: opacity .25s; }
.res .big small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink2); margin-top: 8px; }
.brk { margin-top: 24px; display: grid; gap: 12px; }
.brk > div { display: grid; grid-template-columns: 1fr auto; font-size: 13.5px; color: var(--ink2); }
.brk b { font-weight: 500; color: #EFE8DA; }
.brk i { grid-column: 1 / -1; height: 4px; margin-top: 6px; background: rgba(255,255,255,.06); position: relative; }
.brk u { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #A88A5C, #EADFC9); transition: width .6s ease; }
.res .tl { margin-top: 20px; text-align: center; }
.res .btn { margin-top: 26px; width: 100%; }
.res .alt { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink2); } .res .alt a { color: #E2D3B5; border-bottom: 1px solid rgba(203,179,140,.4); }
.contact { margin-top: 18px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 20px 22px; }
.contact .av { width: 54px; height: 54px; font-size: 15px; position: relative; }
.contact .av::after { content: ""; position: absolute; right: 1px; bottom: 2px; width: 11px; height: 11px; border-radius: 50%; background: #A9C98E; border: 2px solid #15120e; }
.contact strong { display: block; font-size: 15px; font-weight: 600; } .contact > div > span { display: block; font-size: 13px; color: var(--ink2); }

/* ---------- footer ---------- */
footer { position: relative; padding: 100px 0 40px; overflow: hidden; }
footer .glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(203,170,120,.14), transparent 70%); pointer-events: none; }
.ft-top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--hair); }
.ft-top > div > img { width: 46px; }
.ft-top .tg { margin-top: 20px; font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.ft-top h5 { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: #D9C8A6; }
.ft-top ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink2); }
.ft-top ul a:hover { color: var(--ink); }
.nl { margin-top: 22px; display: flex; }
.nl input { flex: 1; min-width: 0; padding: 14px 16px; background: none; border: 0; outline: 0; font-size: 14px; position: relative; z-index: 5; }
.nl button { position: relative; z-index: 5; padding: 0 18px; margin: 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #17130d; background: linear-gradient(180deg, #F1E3C4, #CDB487); }
.giant { margin-top: 40px; font-family: var(--serif); font-size: clamp(52px, 13.5vw, 196px); line-height: .95; letter-spacing: .05em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,244,222,.42), rgba(214,192,150,.12) 55%, rgba(255,255,255,.02)), url(img/optimized/marble.webp) center / 120%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.legal { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.legal b { color: #D9C8A6; font-weight: 500; }
.totop { position: absolute; right: var(--pad); top: 100px; width: 48px; height: 48px; transform: rotate(45deg); border: 1px solid rgba(203,179,140,.5); display: grid; place-items: center; color: #E6D7B8; transition: background .3s, color .3s; }
.totop svg { transform: rotate(-45deg); } .totop:hover { background: linear-gradient(135deg, #E9D6AF, #A88A5C); color: #17130d; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav .mail, .nav .sep { display: none; }
  .po, .tr-g { grid-template-columns: 1fr; }
  .notif { right: 10px; }
  .seals { grid-template-columns: repeat(3, 1fr); } .seal { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; }
}
@media (max-width: 980px) {
  .nav { display: none; } .burger { display: grid; }
  .hero .hgrid { grid-template-columns: 1fr; }
  .art { height: 520px; margin-top: 10px; }
  .head2, .sv, .es { grid-template-columns: 1fr; }
  .stair { grid-template-columns: 1fr 1fr; align-items: start; }
  .stair .step { margin-bottom: 0 !important; } .stair svg.line, .ruler { display: none; }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .top .wrap { height: 70px; } .brand img { width: 28px; } .brand b { font-size: 14.5px; } .brand small { font-size: 7.5px; }
  .hero { padding-top: 112px; }
  .art { height: 430px; } .art .photo { inset: -30px -80px -20px -40px; }
  .art .inset { width: 46%; left: 0; top: 30%; } .art .g1 { top: 4%; right: 0; } .art .g2 { right: 0; bottom: 4%; }
  .glass { padding: 13px 15px; } .glass b { font-size: 17px; } .glass span { font-size: 11.5px; } .glass .bar { width: 120px; }
  .steps { font-size: 12px; } .steps div { font-size: 12px; }
  .cats { grid-template-columns: 1fr; } .cat { height: 130px; }
  .sv-g { grid-template-columns: 1fr; }
  .stats b { font-size: 26px; } .stats .lab { font-size: 9px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .filters .chip { flex: none; }
  .stair { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; } .dash .side { display: none; } .dash .main { padding: 22px 18px; }
  .r1, .r2 { grid-template-columns: 1fr; } .msg { grid-template-columns: 36px 1fr; } .msg .ghost { display: none; }
  .notif { position: relative; right: auto; bottom: auto; width: auto; margin-top: 14px; }
  .seals { grid-template-columns: 1fr; } .seal { grid-template-columns: 96px 1fr; text-align: left; justify-items: start; } .seal svg { width: 96px; height: 96px; }
  .opts { grid-template-columns: 1fr 1fr; } .two { grid-template-columns: 1fr; }
  .tb { grid-template-columns: 1fr 1fr; } .tb > div:nth-child(3) { border-left: 0; } .tb > div:nth-child(n+3) { border-top: 1px solid rgba(203,179,140,.22); }
  .ft-top { grid-template-columns: 1fr; gap: 34px; }
  .totop { top: 40px; }
}

/* fixes */
.chip.on::before { position: static; inset: auto; z-index: auto; width: 5px; height: 5px; flex: none; background: linear-gradient(135deg, #F6EAD0, #A88A5C); }
.chip { position: relative; z-index: 1; }
.stats .lab { display: block; margin-top: 2px; }
section > .wrap, footer > .wrap { position: relative; z-index: 1; }
.giant { font-size: clamp(46px, 11.4vw, 166px); }
.two { margin-top: 28px; }
.contact .av span, .contact > div > span { display: block; }
.contact > span.av { display: grid; font-size: 15px; color: #17130d; }
@media (max-width: 720px) {
  .art .inset .cap { left: 12px; right: 10px; bottom: 12px; }
  .art .inset .cap i { font-size: 8.5px; } .art .inset .cap b { font-size: 14px; } .art .inset .cap small { display: none; }
}
.showall { display: none; }
@media (max-width: 720px) {
  .grid:not(.all) .card:nth-child(n+5 of :not(.hide)) { display: none; }
  .showall { display: inline-flex; margin: 28px auto 0; }
  .badge { top: 12px; right: 14px; }
  .step.on .wk { padding-right: 140px; }
}

/* ================= v2 · multi-page, project modal, refinements ================= */

/* thinner display type: erode Marcellus strokes slightly with the page colour */
.hero h1, .phero h1 { -webkit-text-stroke: 1.5px #0d0c0a; letter-spacing: .004em; }
@media (max-width: 720px) { .hero h1, .phero h1 { -webkit-text-stroke: .9px #0d0c0a; } }

/* nav: current page */
.nav a.cur { color: var(--ink); }
.nav a.cur::after { transform: scaleX(1); }
.mnav a:not(.btn) { display: flex; align-items: baseline; gap: 16px; }
.mnav a em { font-style: normal; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.mnav a.cur { color: #E9D6AF; }
@media (max-width: 980px) { .top.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13,12,10,.96); } }
html.lock, html.lock body { overflow: hidden; }

/* page hero */
.phero { padding: 170px 0 90px; overflow: hidden; }
.phero .light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 78% 40%, rgba(203,170,120,.14), transparent 70%); }
.phero .pimg { position: absolute; right: -6%; top: 0; bottom: 0; width: 58%; background-size: cover; filter: saturate(.85) contrast(1.05) brightness(.8);
  -webkit-mask-image: radial-gradient(70% 70% at 62% 50%, #000 25%, rgba(0,0,0,.4) 55%, transparent 78%); mask-image: radial-gradient(70% 70% at 62% 50%, #000 25%, rgba(0,0,0,.4) 55%, transparent 78%); }
.phero h1 { margin-top: 22px; font-size: clamp(44px, 6vw, 84px); }
.phero .lead { margin-top: 24px; max-width: 560px; }
.crumb { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--ink); } .crumb span:last-child { color: #D9C8A6; }
.nohead > .wrap > .head2:first-child, .nohead .sv-l > .eyebrow, .nohead .sv-l > h2 { display: none; }
.nohead { padding-top: 40px; }
.nohead .filters { margin-top: 0; }
.nohead .stair { margin-top: 30px; }
.nohead .es { margin-top: 10px; }

/* CTA band */
.ctab { padding-top: 40px; }
.ctab-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; align-items: end; padding: clamp(36px, 5vw, 64px); }
.ctab-in::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 90% at 90% 100%, rgba(214,192,150,.14), transparent 70%); }
.ctab-in > * { position: relative; z-index: 2; }
.ctab-in .lead { margin-top: 18px; max-width: 520px; }
.ctab-a { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* project card: open affordance + settle */
.card { cursor: pointer; }
.card .open { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #F3EBDC;
  background: rgba(12,10,8,.78); border: 1px solid rgba(203,179,140,.5); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.card:hover .open, .card:focus-visible .open { opacity: 1; transform: none; }
.card.src { opacity: 0; transition: none; }
.card.settle { animation: settle 1.2s ease; }
.card.settle::after { animation: glint 1.2s ease; }
@keyframes settle { 0% { transform: translateY(-4px); } 35% { transform: translateY(2px); } 100% { transform: none; } }
@keyframes glint { 0%, 100% { opacity: .9; filter: none; } 30% { opacity: 1; filter: brightness(1.6) drop-shadow(0 0 8px rgba(233,214,175,.6)); } }

/* project modal */
.pm { position: fixed; inset: 0; z-index: 80; display: none; }
.pm.open { display: block; }
.pm-bg { position: absolute; inset: 0; background: rgba(6,5,4,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pm-panel { position: absolute; left: 50%; top: 50%; width: min(1180px, calc(100vw - 48px)); height: min(860px, calc(100vh - 48px)); margin: 0; translate: -50% -50%;
  transform-origin: 0 0; box-shadow: 0 40px 120px rgba(0,0,0,.7); outline: 0; will-change: transform; }
.pm-panel.fr::after { z-index: 6; }
.pm-scroll { position: absolute; inset: 11px; overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 4vw, 52px); scrollbar-width: thin; scrollbar-color: rgba(203,179,140,.4) transparent; z-index: 2; }
.pm-x { position: absolute; z-index: 9; right: -23px; top: -23px; width: 46px; height: 46px; transform: rotate(45deg); border: 1px solid rgba(203,179,140,.55); background: rgba(12,10,8,.75); display: grid; place-items: center; transition: background .3s; }
.pm-x span { position: absolute; width: 16px; height: 1.4px; background: #E9D6AF; } .pm-x span:last-child { transform: rotate(90deg); }
.pm-x:hover { background: linear-gradient(135deg, #E9D6AF, #A88A5C); } .pm-x:hover span { background: #17130d; }
.pm-scroll > * + * { margin-top: 44px; }
.pm-hero { display: grid; grid-template-columns: 1fr 96px; gap: 14px; }
.pm-main { aspect-ratio: 16 / 9; }
.pm-main img { transition: transform 6s ease; } .pm-main:hover img { transform: scale(1.04); }
.pm-thumbs { display: grid; gap: 10px; align-content: start; }
.pm-th { aspect-ratio: 1; padding: 3px; opacity: .55; transition: opacity .25s; } .pm-th img { width: 100%; height: 100%; object-fit: cover; }
.pm-th.on, .pm-th:hover { opacity: 1; }
.pm-info { display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 10px 50px; align-items: end; }
.pm-k { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; }
.pm-k .cat2 { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: #D9C8A6; } .pm-k .no { font-family: var(--serif); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.pm-info h2 { margin-top: 4px; font-size: clamp(34px, 4vw, 54px); }
.pm-info .loc { font-size: 14px; }
.pm-intro { grid-column: 1; font-size: 18px; line-height: 1.6; color: var(--ink2); font-weight: 300; margin-top: 10px; }
.pm-spec { grid-column: 2; grid-row: 2 / span 3; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 8px; }
.pm-spec div { position: relative; z-index: 5; padding: 14px 16px; }
.pm-spec div:nth-child(n+4) { border-top: 1px solid rgba(203,179,140,.18); }
.pm-spec div:not(:nth-child(3n+1)) { border-left: 1px solid rgba(203,179,140,.14); }
.pm-spec small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--muted); } .pm-spec b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 20px; color: #EFE8DA; }
.pm-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 36px; border-top: 1px solid rgba(203,179,140,.18); }
.pm-story p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--ink2); }
.pm-two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.pm-scope ul { list-style: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.pm-scope li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #E9E2D4; }
.pm-tl ol { list-style: none; margin-top: 18px; position: relative; display: grid; gap: 0; }
.pm-tl ol::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, #E9D6AF, rgba(168,141,99,.25)); }
.pm-tl li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 10px 30px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.pm-tl li i { position: absolute; left: 1px; top: 15px; width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid #E9D6AF; background: #15120e; }
.pm-tl li:last-child i { background: linear-gradient(135deg, #F1E3C4, #B99D70); }
.pm-tl b { font-weight: 500; color: #EFE8DA; } .pm-tl span { color: var(--muted); font-size: 13px; }
.pm-q { padding: 40px 48px 34px; }
.pm-q .qm { position: absolute; left: 26px; top: 6px; font-family: var(--serif); font-size: 100px; opacity: .18; color: #E9D6AF; z-index: 5; }
.pm-q p { position: relative; z-index: 5; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.4; }
.pm-q cite { position: relative; z-index: 5; display: block; margin-top: 16px; font-style: normal; font-size: 13px; color: var(--ink2); }
.pm-foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding-top: 30px; border-top: 1px solid rgba(203,179,140,.18); }
.pm-nav { display: inline-flex; align-items: center; gap: 14px; text-align: left; color: #E2D3B5; font-family: var(--serif); font-size: 17px; justify-self: start; }
.pm-nav.r { justify-self: end; text-align: right; } .pm-nav small { display: block; font-family: var(--sans); }
.pm-nav svg { flex: none; transition: transform .25s; } .pm-nav:hover svg { transform: translateX(-4px); } .pm-nav.r:hover svg { transform: translateX(4px); }

/* studio page */
.st-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.vals { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.val { padding: 34px 32px; }
.val h3 { margin-top: 22px; font-size: 25px; } .val p { margin-top: 10px; font-size: 14.5px; color: var(--ink2); }
.band { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 20px; }
.band > div { position: relative; z-index: 5; padding: 0 26px; } .band > div + div { border-left: 1px solid rgba(203,179,140,.2); }
.band b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 54px); line-height: 1; }
.band .lab { display: block; margin-top: 8px; }
.team { margin-top: 120px; }
.people { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person { padding: 34px 32px 36px; }
.mono { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-family: var(--serif); font-size: 28px; color: #17130d; background: radial-gradient(circle at 35% 30%, #F6EAD0, #B99D70 70%); box-shadow: 0 0 0 6px rgba(203,179,140,.08), 0 12px 30px rgba(0,0,0,.45); }
.person h3 { margin-top: 24px; font-size: 26px; } .person .lab { display: block; margin-top: 6px; color: #D9C8A6; } .person p { margin-top: 12px; font-size: 14.5px; color: var(--ink2); }

/* services page extras */
.inc-g { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.inc { padding: 28px 28px 30px; display: grid; grid-template-columns: 50px 1fr; gap: 6px 18px; align-items: center; }
.inc .itile { grid-row: span 2; } .inc b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: #EFE8DA; } .inc span:last-child { font-size: 14px; color: var(--ink2); }
.qa { margin-top: 40px; display: grid; gap: 14px; max-width: 920px; }
.qq { position: relative; z-index: 5; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; text-align: left; font-family: var(--serif); font-size: 21px; }
.qq i { position: relative; width: 14px; height: 14px; flex: none; } .qq i::before, .qq i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.4px; background: #E9D6AF; transition: transform .3s; }
.qq i::after { transform: rotate(90deg); } .qi.op .qq i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; position: relative; z-index: 5; }
.qa-a p { overflow: hidden; padding: 0 28px; font-size: 15px; line-height: 1.7; color: var(--ink2); }
.qi.op .qa-a { grid-template-rows: 1fr; } .qi.op .qa-a p { padding-bottom: 26px; }

/* contact page extras */
.cm-g { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.cform { padding: clamp(32px, 4.5vw, 54px); display: grid; gap: 16px; }
.cform > * { position: relative; z-index: 5; }
.cform h2 { margin: 6px 0 14px; font-size: clamp(32px, 3.6vw, 46px); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: block; padding: 14px 18px 12px; }
.fld > * { position: relative; z-index: 5; }
.fld input, .fld select, .fld textarea { display: block; width: 100%; margin-top: 6px; background: none; border: 0; outline: 0; font: inherit; font-size: 15px; color: #EFE8DA; resize: vertical; }
.fld select option { background: #15120e; }
.fld.err::after { border-image: linear-gradient(135deg, #E9A08A, #A85C4F) 1; }
.fld:focus-within::after { filter: brightness(1.3); }
.cform .btn { justify-self: start; margin-top: 8px; }
.sent { color: #D9E6C8; font-size: 14.5px; }
.visit { display: grid; gap: 22px; }
.vcard { padding: 34px 32px; } .vcard > * { position: relative; z-index: 5; }
.vcard h3 { margin-top: 16px; font-size: 28px; } .vcard p { margin-top: 8px; color: var(--ink2); font-size: 15px; }
.vrows { margin-top: 22px; display: grid; border-top: 1px solid rgba(203,179,140,.2); }
.vrows a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14.5px; color: #E9E2D4; }
.vrows a:hover { color: #F6EAD0; }
.map { position: relative; height: 210px; background: linear-gradient(rgba(203,179,140,.06) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(203,179,140,.06) 1px, transparent 1px) 0 0 / 26px 26px, radial-gradient(60% 60% at 50% 50%, rgba(203,170,120,.12), transparent 70%); overflow: hidden; }
.map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 55%; height: 22px; background: rgba(203,179,140,.08); transform: rotate(-12deg); }
.map::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 14px; background: rgba(203,179,140,.07); transform: rotate(18deg); }
.map .pin { position: absolute; left: 50%; top: 46%; width: 16px; height: 16px; margin: -8px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #A88A5C); box-shadow: 0 0 0 8px rgba(233,214,175,.12), 0 0 22px rgba(233,214,175,.5); z-index: 2; }
.map .pl { position: absolute; left: 50%; top: 46%; transform: translate(20px, -50%); font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #E9D6AF; z-index: 2; }
.vmap .lab { display: block; margin-top: 16px; }

/* responsive */
@media (max-width: 980px) {
  .phero { padding: 130px 0 60px; } .phero .pimg { width: 100%; right: 0; opacity: .45; }
  .ctab-in, .st-story, .cm-g, .pm-info, .pm-story, .pm-two { grid-template-columns: 1fr; }
  .pm-spec { grid-column: 1; grid-row: auto; }
  .vals, .people, .inc-g { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr 1fr; gap: 26px 0; } .band > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .vals, .people, .inc-g, .f2 { grid-template-columns: 1fr; }
  .pm-panel { width: 100vw; height: 100dvh; } .pm-scroll { inset: 6px; padding: 70px 18px 30px; } .pm-x { right: 18px; top: 16px; width: 40px; height: 40px; }
  .pm-hero { grid-template-columns: 1fr; } .pm-thumbs { grid-template-columns: repeat(4, 1fr); } .pm-main { aspect-ratio: 4 / 3; }
  .pm-spec { grid-template-columns: 1fr 1fr; } .pm-spec div:nth-child(n+3) { border-top: 1px solid rgba(203,179,140,.18); } .pm-spec div:nth-child(odd) { border-left: 0; } .pm-spec div:nth-child(even) { border-left: 1px solid rgba(203,179,140,.14); }
  .pm-scope ul { grid-template-columns: 1fr; }
  .pm-foot { grid-template-columns: 1fr 1fr; } .pm-foot .btn { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; }
  .pm-q { padding: 34px 24px 28px; }
  .qq { font-size: 18px; padding: 20px 20px; } .qa-a p { padding: 0 20px; }
}

/* WhatsApp button (AKCA Studio) */
.wafab { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 15px; color: #F3EBDC; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(203,179,140,.45); background: radial-gradient(120% 160% at 0% 0%, rgba(214,192,150,.22), transparent 58%), linear-gradient(180deg, #3a3329, #15120e);
  box-shadow: inset 0 1px 0 rgba(255,240,215,.16), 0 14px 34px rgba(0,0,0,.55); transition: transform .25s, border-color .25s; }
.wafab svg { color: #E9D6AF; } .wafab:hover { transform: translateY(-2px); border-color: rgba(233,214,175,.75); }
html.lock .wafab { display: none; }
@media (max-width: 720px) { .wafab { right: 14px; bottom: 14px; padding: 13px; } .wafab span { display: none; } }

/* lit logo (png carries its own glow padding) */
.brand img { width: 36px; margin: 0 -2px 0 -3px; }
.ft-top > div > img { width: 50px; margin-left: -3px; }
.dash .side img { width: 28px; } .notif img { width: 32px; }
@media (max-width: 720px) { .brand img { width: 30px; } }

/* ================= motion · heavy, slow, settles like stone =================
   only opacity / transform / clip-path move, so phones stay smooth */
:root { --e-out: cubic-bezier(.16, 1, .3, 1); --e-io: cubic-bezier(.65, 0, .35, 1); --e-in: cubic-bezier(.5, 0, .75, 0); }

/* reveal: a softer, longer rise */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--e-out), transform 1.1s var(--e-out); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* headings: every line rises out of a cut, like lettering carved into stone */
h1.rv, h2.rv { opacity: 1; transform: none; }
h1.rv > span, h2.rv > span { clip-path: inset(-20% -6% 100% -6%); transform: translateY(60%); transition: clip-path 1.2s var(--e-out), transform 1.2s var(--e-out); }
h1.rv.in > span, h2.rv.in > span { clip-path: inset(-20% -6% -45% -6%); transform: none; }
h1.rv > span:nth-child(2), h2.rv > span:nth-child(2) { transition-delay: .12s; }
h1.rv > span:nth-child(3) { transition-delay: .24s; }

/* eyebrow rule draws itself */
.eyebrow.rv::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--e-io) .2s; }
.eyebrow.rv.in::before { transform: none; }

/* brass inlay draws in from the top-left corner */
:where(.rv) .fr::after, .fr:where(.rv)::after { clip-path: inset(0 100% 100% 0); transition: clip-path 1.5s var(--e-io) .25s, opacity .3s, filter .3s; }
:where(.rv.in) .fr::after, .fr:where(.rv.in)::after { clip-path: inset(0); }

/* photographs open like a curtain inside their window */
:where(.rv) .win > img { clip-path: inset(100% 0 0 0); transform: scale(1.14); }
:where(.rv.in) .win > img { clip-path: inset(0); transform: none; }
.win > img, .card .win img, .cat .win img { transition: clip-path 1.3s var(--e-io) .15s, transform 1.9s var(--e-out) .15s; }
:where(.rv) .split { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--e-io) .15s; }
:where(.rv.in) .split { clip-path: inset(0); }

/* cards lift, their brass catches the light */
.card:hover, .card:focus-visible { transform: translateY(-6px); transition: transform .7s var(--e-out), opacity 1s; }
.svc:hover { transform: translateY(-5px); transition: transform .7s var(--e-out), opacity 1s; }
.card:hover::after, .svc:hover::after, .val:hover::after, .person:hover::after, .inc:hover::after { filter: brightness(1.3) drop-shadow(0 0 5px rgba(233,214,175,.3)); }

/* buttons: a slow sheen passes over the metal */
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,240,215,.18) 50%, transparent 62%); transform: translateX(-130%); }
.btn:hover::after { transform: translateX(130%); transition: transform 1.1s var(--e-out); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .1s; }

/* process line draws itself as you arrive */
#stairPath { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--e-io) .4s; }
.stair.in #stairPath { stroke-dashoffset: 0; }

/* home hero: the building slowly comes into focus */
.art .photo { animation: heroPhoto 2.8s var(--e-out) .1s both; }
.art .outline { animation: heroFade 1.6s var(--e-out) .7s both; }
@keyframes heroPhoto { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
body.intro-on .art .photo { animation-delay: 1.2s; } body.intro-on .art .outline { animation-delay: 1.8s; }

/* sub-page hero image slides open */
.phero .pimg { animation: pImg 2.2s var(--e-out) .1s both; }
@keyframes pImg { from { clip-path: inset(0 0 0 100%); transform: scale(1.06); } to { clip-path: inset(0); transform: none; } }

/* first visit to the home page: the mark lights up, then the stone lifts */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0d0c0a url(img/optimized/stone-dark.webp) center / 760px auto;
  animation: introUp 1.05s var(--e-io) 1.2s forwards; pointer-events: none; }
.intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(34% 34% at 50% 48%, rgba(214,164,100,.16), transparent 70%); }
.intro img { position: relative; width: 78px; animation: introMark 1.1s var(--e-out) both; }
.intro i { position: absolute; left: 50%; top: calc(50% + 62px); width: 132px; height: 1px; margin-left: -66px; background: linear-gradient(90deg, transparent, #E9D6AF, transparent); transform: scaleX(0); animation: introLine 1s var(--e-io) .25s forwards; }
.intro.fast { animation-delay: .25s; animation-duration: .75s; }
.intro.fast img, .intro.fast i { animation-duration: .3s; animation-delay: 0s; }
@keyframes introMark { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes introLine { to { transform: none; } }
@keyframes introUp { to { transform: translateY(-100%); visibility: hidden; } }

/* page to page: the old page sinks away, the new one rises (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }
.top { view-transition-name: hdr; }
::view-transition-old(root) { animation: vtOut .3s var(--e-in) both; }
::view-transition-new(root) { animation: vtIn .65s var(--e-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* reading progress hairline */
.rprog { position: fixed; left: 0; right: 0; top: 0; height: 1.5px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8E7651, #E9D6AF); pointer-events: none; }

/* mobile menu: burger turns into an X, the stone panel drops, links arrive one by one */
.burger i { position: relative; width: 22px; height: 12px; border: 0; transition: none; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .5s var(--e-out), top .5s var(--e-out); }
.burger i::before { top: 0; } .burger i::after { top: 10.5px; }
body.menu .burger i { transform: none; }
body.menu .burger i::before { top: 5.25px; transform: rotate(45deg); } body.menu .burger i::after { top: 5.25px; transform: rotate(-45deg); }
.mnav { background: #0d0c0a url(img/optimized/stone-dark.webp) center / 760px auto; opacity: 1; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--e-io), visibility 0s .6s; }
body.menu .mnav { clip-path: inset(0); visibility: visible; transition: clip-path .75s var(--e-io), visibility 0s; }
.mnav > a { opacity: 0; transform: translateY(28px); transition: opacity .25s, transform .25s; }
body.menu .mnav > a { opacity: 1; transform: none; transition: opacity .8s var(--e-out), transform .9s var(--e-out); }
body.menu .mnav > a:nth-child(1) { transition-delay: .22s; } body.menu .mnav > a:nth-child(2) { transition-delay: .28s; } body.menu .mnav > a:nth-child(3) { transition-delay: .34s; }
body.menu .mnav > a:nth-child(4) { transition-delay: .4s; } body.menu .mnav > a:nth-child(5) { transition-delay: .46s; } body.menu .mnav > a:nth-child(6) { transition-delay: .52s; } body.menu .mnav > a:nth-child(7) { transition-delay: .58s; }

/* project modal: the stone window is cut out of the card (clip-path, see main.js) */
.pm .pm-x { transition: opacity .45s var(--e-out), background .3s; }
.pm.moving .pm-x { opacity: 0; }
.pm.moving .pm-scroll { overflow: hidden; }
@media (max-width: 980px) { .pm-bg { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,5,4,.9); } }

/* testimonials crossfade */
.quotes q { transition: opacity .9s var(--e-out), transform 1s var(--e-out); }

/* project filter: cards step out, the rest settle in */
.card.out { opacity: 0 !important; transform: translateY(12px) scale(.98) !important; transition: opacity .28s var(--e-in), transform .28s var(--e-in) !important; }

/* "design story" chip */
.storychip { position: fixed; z-index: 60; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #E9DCC2;
  border: 1px solid rgba(203,179,140,.35); background: rgba(13,12,10,.86); box-shadow: 0 14px 34px rgba(0,0,0,.5); transition: border-color .3s, transform .5s var(--e-out), opacity .5s;
  animation: chipIn 1s var(--e-out) 2.6s both; }
.storychip::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: linear-gradient(135deg, #F6EAD0, #A88A5C); }
.storychip:hover { border-color: rgba(233,214,175,.75); transform: translateY(-2px); }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px); } }
html.lock .storychip, body.menu .storychip { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .storychip { left: 14px; bottom: 16px; padding: 12px 13px; font-size: 10px; letter-spacing: .12em; } }

/* reduced motion: everything visible, nothing travels */
@media (prefers-reduced-motion: reduce) {
  .rv, h1.rv > span, h2.rv > span, .win > img, .split, .fr::after, .eyebrow.rv::before { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .intro { display: none; } #stairPath { stroke-dashoffset: 0; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ================= design story page ================= */
.story { padding-top: 40px; }
.chap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 30px 80px; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid rgba(203,179,140,.14); }
.chap:first-child { border-top: 0; padding-top: 10px; }
.ch-h { align-self: start; position: sticky; top: 110px; }
.ch-h h2 { font-size: clamp(34px, 3.8vw, 52px); }
.ch-b { display: grid; gap: 30px; align-content: start; max-width: 720px; }
.ch-b .lead em { font-style: normal; color: #E9DCC2; } .ch-b .lead b { font-weight: 600; color: #EFE6D3; letter-spacing: .04em; }
.ch-b .stone > * { position: relative; z-index: 5; }

.pull { padding: clamp(30px, 4vw, 48px); }
.pull p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.32; }
.pull cite { display: block; margin-top: 18px; font-style: normal; }

.name-spec { padding: clamp(34px, 5vw, 60px) 24px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.name-spec b { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6.4vw, 78px); letter-spacing: .1em; line-height: 1; }

.mark-g { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.mark-g figure { position: relative; margin: 0; aspect-ratio: 4 / 3.4; }
.mark-g figure.win > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.05); }
.mark-g figure.win::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, rgba(8,7,5,.85), transparent 50%); }
.ch-b .mark-g figcaption { position: absolute; z-index: 6; left: 20px; right: 20px; bottom: 18px; color: #E2D5BC; }
.mark { display: grid; place-items: center; }
.mark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(46% 46% at 50% 44%, rgba(214,164,100,.2), transparent 70%); }
.mark img { position: relative; z-index: 5; width: 38%; margin-bottom: 26px; }

.type-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.type-g > div { padding: 30px 28px 28px; display: grid; gap: 10px; align-content: start; }
.type-g b { font-weight: 400; font-size: 92px; line-height: .9; background: var(--g-silk); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type-g .tA { font-family: var(--serif); } .type-g .tB { font-family: var(--sans); font-weight: 300; }
.type-g p { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }

.sw-g { display: grid; gap: 2px; }
.sw { display: grid; grid-template-columns: 64px 180px 1fr; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sw i { display: block; height: 44px; border: 1px solid rgba(203,179,140,.3); }
.sw b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: #EFE8DA; } .sw span { font-size: 14px; color: var(--muted); }

.mat-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.slab { padding: 34px 30px; display: grid; gap: 14px; align-content: center; min-height: 230px; }
.slab b { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.rej { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; padding: 24px; border: 1px dashed rgba(203,179,140,.22); }
.rej .lab { width: 100%; margin-bottom: 4px; }
.rej s { font-size: 13.5px; color: #8f877b; padding: 7px 11px; border: 1px solid rgba(255,255,255,.08); text-decoration-color: rgba(214,164,100,.7); }

.btn-spec { padding: clamp(30px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 26px 40px; align-items: center; }
.btn-spec ul { list-style: none; display: grid; gap: 14px; }
.btn-spec li { font-size: 14px; color: var(--ink2); line-height: 1.5; } .btn-spec li b { display: block; font-weight: 600; color: #EFE6D3; font-size: 13px; letter-spacing: .08em; }

.ux { display: grid; gap: 10px; }
.ux a { display: grid; grid-template-columns: minmax(0, 250px) 1fr; gap: 6px 26px; align-items: center; padding: 20px 24px; transition: transform .6s var(--e-out); }
.ux a:hover { transform: translateX(6px); } .ux a:hover::after { filter: brightness(1.3); }
.ux span { font-family: var(--serif); font-size: 20px; color: #E9DCC2; } .ux b { font-weight: 400; font-size: 14.5px; color: var(--ink2); }

.demo { padding: clamp(30px, 4vw, 50px); display: grid; gap: 26px; justify-items: start; }
.demo h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); }

.chk-l { list-style: none; display: grid; gap: 18px; }
.chk-l li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.6; color: var(--ink2); } .chk-l .chk { margin-top: 7px; flex: none; }

/* story entry points */
.legal .story-l { color: #E2D3B5; border-bottom: 1px solid rgba(203,179,140,.4); }

@media (max-width: 980px) {
  .chap { grid-template-columns: 1fr; gap: 26px; }
  .ch-h { position: static; }
}
@media (max-width: 720px) {
  .mark-g, .type-g, .mat-g, .btn-spec { grid-template-columns: 1fr; }
  .type-g b { font-size: 72px; }
  .sw { grid-template-columns: 52px 1fr; gap: 4px 16px; } .sw i { grid-row: span 2; } .sw span { font-size: 13px; }
  .ux a { grid-template-columns: 1fr; padding: 18px 20px; }
  .slab { min-height: 180px; }
}
/* Content must fit before it is clipped, including browser-translated text. */
:where(.hgrid, .head2, .sv, .sv-g, .grid, .ctab-in, .ctab-a, .ft-top,
  .tr-g, .seal, .po, .dash, .r1, .r2, .msg, .es, .opts, .two, .tb,
  .stair, .st-story, .cm-g, .vals, .people, .inc-g, .f2, .pm-hero,
  .pm-info, .pm-spec, .pm-story, .pm-two, .pm-foot, .chap, .mark-g,
  .type-g, .mat-g, .btn-spec, .ux a) > * { min-width: 0; }
.eyebrow, .lab, .ft-top, .pm-info, .pm-foot { overflow-wrap: anywhere; }
.eyebrow::before { flex: none; }
.ghost { max-width: 100%; min-height: 44px; overflow-wrap: anywhere; }
.ghost svg, .arr { flex: none; }
.phero .pimg, .svc .split .ph { background-image: var(--image); }
.seal svg .rot { animation-play-state: paused; }
.seals.motion-visible .rot { animation-play-state: running; }
.mnav { overflow-y: auto; overscroll-behavior: contain; padding-top: max(100px, env(safe-area-inset-top)); padding-bottom: max(80px, env(safe-area-inset-bottom)); }
html.menu-lock, html.menu-lock body { overflow: hidden; }
.pm-panel { will-change: auto; }
.ch-b { grid-template-columns: minmax(0, 1fr); }
.name-spec b { max-width: 100%; font-size: clamp(24px, 5vw, 58px); }

@media (max-width: 980px) {
  .hero .hgrid, .head2, .sv, .es, .ctab-in, .st-story, .cm-g,
  .pm-info, .pm-story, .pm-two, .chap { grid-template-columns: minmax(0, 1fr); }
  .mnav { justify-content: flex-start; }
  .mnav a:not(.btn) { font-size: clamp(26px, 5vw, 34px); }
  .ctab-a { align-items: stretch; }
  .ctab-a .ghost { align-self: flex-start; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(38px, 10.5vw, 46px); }
  .phero h1 { font-size: clamp(36px, 10vw, 44px); }
  .btn { padding: 14px 16px; font-size: 11px; letter-spacing: .12em; }
  .ctas { align-items: stretch; }
  .ctas .btn { width: 100%; }
  .ctas .ghost { align-self: flex-start; }
  .ctab-in { padding: 30px 26px; gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }
  .cats, .sv-g, .stair, .ft-top, .vals, .people, .inc-g, .f2,
  .mark-g, .type-g, .mat-g, .btn-spec { grid-template-columns: minmax(0, 1fr); }
  .cat .meta { gap: 12px; }
  .cat .tag { flex: none; max-width: 45%; text-align: center; overflow-wrap: anywhere; }
  .svc .ft { gap: 12px; }
  .svc .ft .two { flex-wrap: wrap; gap: 10px 18px; }
  .svc .ft .dbtn { flex: none; }
  .seal { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .seal svg { width: 76px; height: 76px; }
  .who { flex-wrap: wrap; gap: 12px; }
  .badge { position: static; display: inline-block; max-width: 100%; margin: 16px 20px 0; }
  .step.on .wk { padding-right: 0; }
  .opt { height: auto; min-height: 96px; gap: 12px; }
  .seg button { overflow-wrap: anywhere; }
  .fld input, .fld select, .fld textarea, .inp input, .nl input { font-size: 16px; }
  footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .giant { font-size: clamp(30px, 10.5vw, 76px); }
  .name-spec b { font-size: clamp(22px, 6.5vw, 42px); }
  .nl { flex-wrap: wrap; padding: 8px; gap: 4px; }
  .nl input { flex-basis: 100%; width: 100%; }
  .nl button { min-height: 44px; flex: 1; margin: 0; }
  .storychip { max-width: calc(100vw - 98px); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wafab { bottom: calc(14px + env(safe-area-inset-bottom)); min-width: 48px; min-height: 48px; justify-content: center; }
  .pm-scroll { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .pm-k { flex-wrap: wrap; }
  .pm-x { width: 44px; height: 44px; }
  .dots button { min-width: 44px; min-height: 44px; }
  .dots button::after { top: 21px; }
  .phero .pimg, .svc .split .ph { background-image: var(--image-mobile); }
  .art .photo { background-image: url(img/optimized/kule-sicak-mobile.webp); }
  .work .bp, .estimate .bp { background-image: url(img/optimized/plan-mobile.webp); }
  .process .bgp { background-image: url(img/optimized/beton-mobile.webp); }
}

/* Mobile keeps the material and imagery, with a smaller compositing cost. */
@media (max-width: 980px), (pointer: coarse) {
  body::after { content: none; }
  .seal svg .rot { animation: none; }
  .rv { transform: translateY(10px); transition: opacity .35s ease, transform .4s var(--e-out); transition-delay: 0s; }
  h1.rv > span, h2.rv > span, .win > img, .split, .fr::after,
  :where(.rv) .win > img, :where(.rv) .split, :where(.rv) .fr::after,
  .fr:where(.rv)::after { clip-path: none; transform: none; transition: none; }
  .art .photo, body.intro-on .art .photo { animation: heroFade .5s ease both; }
  .art .outline, .phero .pimg { animation: none; }
  .card:hover, .svc:hover { transform: none; }
  .card:hover::after, .svc:hover::after, .val:hover::after,
  .person:hover::after, .inc:hover::after { filter: none; }
  .intro { animation-duration: .4s; animation-delay: .35s; }
  .intro img { animation-duration: .35s; animation-delay: 0s; }
  .storychip { animation-duration: .4s; animation-delay: .8s; }
  .mnav { opacity: 0; clip-path: none; transition: opacity .2s, visibility .2s; }
  body.menu .mnav { opacity: 1; clip-path: none; transition: opacity .2s, visibility 0s; }
  body.menu .mnav > a { transition-duration: .25s; transition-delay: 0s; }
  .brk u { transition: none; }
  .stone { box-shadow: inset 0 1px 0 rgba(255,240,215,.08), 0 10px 24px rgba(0,0,0,.3); }
}

@media (max-height: 600px) and (max-width: 980px) {
  .mnav { gap: 14px; padding-top: 84px; padding-bottom: 32px; }
  .mnav a:not(.btn) { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, h1.rv > span, h2.rv > span { opacity: 1; transform: none; clip-path: none; }
}
