/* ACE Dezign — public site
   Palette and type set by brief: warm white, deep charcoal, muted bronze, near black; Manrope.
   Signature device: structural drafting line-work (gridlines, gridline bubbles, dimension strings). */
:root {
  --paper: #F8F7F4;
  --white: #FFFFFF;
  --ink: #202326;
  --slate: #666B70;
  --bronze: #A58A68;
  --bronze-deep: #7d6648; /* AA contrast on paper for small text/links */
  --night: #181B1D;
  --line: rgba(32, 35, 38, .14);
  --line-light: rgba(255, 255, 255, .16);
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --sec: clamp(72px, 10vw, 148px);
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }
.narrow { max-width: 62ch; }

/* ---------- type ---------- */
.display { font-size: clamp(2.5rem, 5.6vw, 5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; max-width: 16ch; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.03em; line-height: 1.08; max-width: 20ch; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.02em; margin-bottom: .7em; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 56ch; }
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--bronze-deep); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--bronze); }
.prose p, .prose li { max-width: 68ch; }
.facts-h { font-size: .95rem; font-weight: 700; margin: 0 0 .9rem; color: var(--ink); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 28px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--radius); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--bronze); border-color: var(--bronze); color: var(--night); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 3px; transition: gap .25s var(--ease), color .25s; }
.link-arrow::after { content: ''; width: 14px; height: 1px; background: currentColor; box-shadow: 4px -3px 0 -0.5px transparent; position: relative; }
a:hover .link-arrow, .link-arrow:hover { gap: .9em; color: var(--bronze-deep); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .35s var(--ease), color .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; color: #fff; }
.site-header.is-solid, .site-header.is-scrolled { background: rgba(248, 247, 244, .94); color: var(--ink); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 70px; }
.brand { text-decoration: none; color: inherit; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font-size: 1.05rem; letter-spacing: .18em; font-weight: 500; }
.logo-word b { font-weight: 800; }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-menu a { text-decoration: none; font-weight: 500; font-size: .97rem; position: relative; padding: 6px 0; }
.nav-menu a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--bronze); transition: right .3s var(--ease); }
.nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current]:not(.btn)::after { right: 0; }
.btn-nav { min-height: 42px; padding: 0 20px; background: transparent; color: inherit; border-color: currentColor; }
.btn-nav:hover, .btn-nav[aria-current] { background: var(--bronze); border-color: var(--bronze); color: var(--night); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.bars { display: grid; gap: 7px; width: 26px; margin: auto; }
.bars i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-menu { position: fixed; inset: 0; background: var(--night); color: #fff; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  .nav-menu a { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; }
  .nav-menu .btn-nav { margin-top: 20px; font-size: 1.05rem; min-height: 52px; padding: 0 26px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: #fff; background: transparent; border-color: transparent; backdrop-filter: none; }
}

/* ---------- structural line-art ---------- */
.art { width: 100%; height: 100%; }
.art line, .art path, .art rect, .art circle { fill: none; vector-effect: non-scaling-stroke; }
.art-hero { color: #fff; }
.art-hero .a-grid { stroke: rgba(255,255,255,.045); stroke-width: 1; }
.art-hero .a-main { stroke: rgba(255,255,255,.62); stroke-width: 1.6; }
.art-hero .a-heavy { stroke: rgba(255,255,255,.7); stroke-width: 2.2; }
.art-hero .a-acc { stroke: var(--bronze); stroke-width: 1.4; }
.art-hero .a-thin { stroke: rgba(255,255,255,.3); stroke-width: 1; }
.art-hero .a-faint { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.art-hero .a-dim { stroke: rgba(165,138,104,.75); stroke-width: 1; }
.art-hero .a-bub { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.art-hero text { fill: rgba(255,255,255,.75); font: 600 18px var(--font); text-anchor: middle; }
.art-hero .a-small { fill: rgba(165,138,104,.95); font-size: 14px; font-weight: 500; }
.art-icon path, .art-icon rect, .art-icon circle, .art-icon line { stroke: currentColor; stroke-width: 1.6; }
.art-icon .acc { stroke: var(--bronze); }
.art-icon .dim { stroke: var(--bronze); stroke-width: 1; }
.art-panel .a-grid { stroke: currentColor; stroke-opacity: .07; stroke-width: 1; }
.art-panel path, .art-panel rect, .art-panel circle { stroke: currentColor; stroke-opacity: .7; stroke-width: 1.4; }
.art-panel .acc, .art-panel .dim { stroke: var(--bronze); stroke-opacity: 1; }

/* ---------- hero (the one orchestrated moment: drawing + headline) ---------- */
.hero { position: relative; min-height: max(640px, 100svh); background: var(--night); color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .art-hero { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,27,29,.55) 0%, rgba(24,27,29,.15) 35%, rgba(24,27,29,.85) 100%); }
.hero:not(.has-photo) .hero-shade { background: linear-gradient(90deg, rgba(24,27,29,.92) 0%, rgba(24,27,29,.55) 55%, rgba(24,27,29,.15) 100%), linear-gradient(0deg, rgba(24,27,29,.9), transparent 45%); }
.hero-inner { padding-top: 160px; padding-bottom: clamp(72px, 11vh, 120px); }
.hero-title { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-weight: 700; letter-spacing: -.045em; line-height: .98; max-width: 13ch; margin-bottom: 28px; }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 50ch; color: rgba(255,255,255,.78); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 72px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bronze); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { to { top: 110%; } }
.hero-anim { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: .35s; }
.hero-anim[data-d="1"] { animation-delay: .47s; } .hero-anim[data-d="2"] { animation-delay: .59s; } .hero-anim[data-d="3"] { animation-delay: .71s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.art-hero .a-main, .art-hero .a-acc, .art-hero .a-heavy { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.6s var(--ease) .1s forwards; }
.art-hero .a-acc { animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- sections ---------- */
.section { padding: var(--sec) 0; }
.section.dark { background: var(--night); color: #fff; }
.section.dark .lead, .section.dark p { color: rgba(255,255,255,.72); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.split p { font-size: 1.15rem; color: var(--slate); }
.intro { border-bottom: 1px solid var(--line); }

/* reveal: quiet fade only, no slide (motion budget spent on hero) */
.js .reveal { opacity: 0; transition: opacity .8s var(--ease); }
.js .reveal.is-in { opacity: 1; }

/* ---------- project cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.pcard-link { display: block; text-decoration: none; color: inherit; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6df; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard-link:hover .pcard-media img, .pcard-link:focus-visible .pcard-media img { transform: scale(1.045); }
.pcard-art { display: grid; place-items: center; height: 100%; color: var(--slate); padding: 18%; }
.pcard-body { padding-top: 18px; }
.pcard-body .eyebrow { margin-bottom: .5rem; font-size: .85rem; }
.pcard-body .eyebrow::before { display: none; }
.pcard-title { font-size: 1.32rem; margin-bottom: .5rem; }
.pcard-sum { color: var(--slate); font-size: .98rem; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .link-arrow { font-size: .92rem; }
.demo-badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; padding: 4px 10px; border: 1px solid var(--bronze); }
h1 .demo-badge { position: static; vertical-align: middle; font-size: .9rem; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.feature-grid .pcard { grid-column: span 2; }
.feature-grid .pcard.is-lead { grid-column: span 4; grid-row: span 2; }
.feature-grid .pcard.is-lead .pcard-media { aspect-ratio: auto; height: calc(100% - 150px); min-height: 360px; }
.feature-grid .pcard.is-lead .pcard-title { font-size: 1.8rem; }
.feature-grid.count-1 .pcard.is-lead { grid-column: 1 / -1; }
.feature-grid.count-2 .pcard { grid-column: span 3; grid-row: auto; }
.feature-grid.count-2 .pcard.is-lead .pcard-media { height: auto; aspect-ratio: 4/3; min-height: 0; }

/* ---------- services preview ---------- */
.services-preview { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .35s var(--ease); min-height: 380px; }
.svc-card:hover { background: var(--paper); }
.svc-art { width: 84px; height: 84px; color: var(--ink); margin-bottom: auto; padding-bottom: 28px; box-sizing: content-box; }
.svc-art img { width: 84px; height: 84px; object-fit: cover; }
.svc-card h3 { font-size: 1.3rem; margin: 32px 0 .6rem; }
.svc-card p { color: var(--slate); font-size: .98rem; }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: .92rem; }
.svc-card .art-icon { transition: transform .6s var(--ease); }
.svc-card:hover .art-icon { transform: translateY(-4px); }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
.why-rule { display: block; width: 100%; height: 1px; background: var(--line-light); margin-bottom: 28px; position: relative; }
.why-rule::before { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border: 1px solid var(--bronze); border-radius: 50%; background: var(--night); }
.why-item h3 { font-size: 1.25rem; margin-bottom: .7rem; color: #fff; }
.why-item p { font-size: .98rem; }

/* ---------- process timeline (a real sequence → numbered) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); counter-reset: s; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.timeline li { position: relative; padding-right: clamp(16px, 3vw, 48px); }
.tl-num { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); font-weight: 700; font-size: .9rem; margin-bottom: 28px; }
.timeline li:first-child .tl-num { background: var(--ink); color: #fff; }
.timeline h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.timeline p { color: var(--slate); font-size: .98rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.quote blockquote { margin: 0 0 20px; font-size: 1.3rem; line-height: 1.5; letter-spacing: -.01em; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--slate); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: #fff; padding: clamp(72px, 9vw, 128px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; position: relative; }
.cta-band .lead { color: rgba(255,255,255,.72); margin: 20px 0 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: clamp(150px, 18vw, 230px) 0 clamp(64px, 8vw, 110px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero.is-dark { background: var(--night); color: #fff; border-bottom: 0; }
.page-hero.is-dark .lead { color: rgba(255,255,255,.72); }
.page-hero-art { position: absolute; top: 0; bottom: 0; right: -4%; width: min(62%, 860px); color: #fff; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 45%); }
.page-hero-inner { position: relative; }
.page-hero .lead { margin-top: 24px; }

/* ---------- projects page ---------- */
.filter-bar { position: sticky; top: 70px; z-index: 20; background: rgba(248,247,244,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: all .25s var(--ease); background: transparent; }
.chip span { font-weight: 500; color: var(--slate); font-size: .82rem; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { color: rgba(255,255,255,.7); }
.chip.is-empty { color: rgba(102,107,112,.6); cursor: default; }
.cat-section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
.cat-section:last-of-type { padding-bottom: var(--sec); }
.cat-banner { position: relative; height: clamp(260px, 34vw, 460px); background: var(--night); color: #fff; overflow: hidden; }
.cat-banner-media { position: absolute; inset: 0; color: #fff; }
.cat-banner-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.cat-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,27,29,.85), rgba(24,27,29,0) 60%); }
.cat-banner-text { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 48px); z-index: 1; }
.cat-banner .h2 { color: #fff; max-width: none; }
.cat-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 36px 0 44px; align-items: start; }
.cat-intro p { color: var(--slate); max-width: 62ch; margin: 0; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sub-chip { padding: 7px 14px; border: 1px solid var(--line); background: none; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.sub-chip[aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); color: var(--night); }
.pcard.is-hidden { display: none; }
.empty-portfolio { max-width: 640px; text-align: left; }
.empty-art { width: 96px; height: 96px; color: var(--ink); margin-bottom: 24px; }
.empty-portfolio p { color: var(--slate); }
.cat-overview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.cat-mini { padding: 28px 20px 0 0; }
.cat-mini-art { width: 56px; height: 56px; margin-bottom: 18px; }
.cat-mini h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.cat-mini p { font-size: .9rem; color: var(--slate); }

/* ---------- project detail ---------- */
.proj-hero { position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end; background: var(--night); color: #fff; overflow: hidden; }
.proj-hero-media { position: absolute; inset: 0; color: #fff; }
.proj-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.proj-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,27,29,.9) 0%, rgba(24,27,29,.1) 55%, rgba(24,27,29,.45) 100%); }
.proj-hero-inner { position: relative; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 88px); }
.proj-hero .lead { color: rgba(255,255,255,.8); margin-top: 20px; }
.crumbs { font-size: .9rem; margin-bottom: 20px; color: rgba(255,255,255,.75); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; text-decoration: underline; }
.proj-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.proj-facts { position: sticky; top: 100px; border-top: 2px solid var(--ink); padding-top: 8px; }
.proj-facts dl { margin: 0 0 28px; }
.proj-facts dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.proj-facts dt { color: var(--slate); }
.proj-facts dd { margin: 0; font-weight: 600; }
.proj-scope { margin-bottom: 28px; }
.proj-scope li, .ticks li, .dashes li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.proj-scope li::before, .ticks li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px; border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg); }
.dashes li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 12px; height: 1.5px; background: var(--bronze); }
.proj-text > div { margin-bottom: 56px; }
.proj-text p { font-size: 1.1rem; color: #3a3e42; max-width: 66ch; }
.gallery-section { background: var(--white); }
.gallery-section .h3 .muted { font-weight: 500; font-size: 1rem; margin-left: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { margin: 0; }
.g-item.is-wide { grid-column: span 2; grid-row: span 2; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #e9e6df; cursor: zoom-in; overflow: hidden; }
.g-open img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 1s var(--ease); }
.g-item.is-wide .g-open img { aspect-ratio: auto; }
.g-open:hover img { transform: scale(1.03); }
.g-item figcaption { font-size: .88rem; color: var(--slate); padding-top: 8px; }
.preview-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--bronze); color: var(--night); padding: 12px var(--gutter); font-weight: 600; text-align: center; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(15,17,18,.97); color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: .92rem; color: rgba(255,255,255,.7); }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 70px; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 190px); object-fit: contain; transition: transform .35s var(--ease); cursor: zoom-in; }
.lb-stage.is-zoomed img { transform: scale(2); cursor: zoom-out; }
.lb-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-bottom { padding: 10px 20px 18px; }
.lb-caption { text-align: center; min-height: 1.5em; color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 10px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; }
.lb-thumbs button { flex: none; width: 72px; height: 50px; padding: 0; border: 2px solid transparent; background: none; opacity: .5; cursor: pointer; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--bronze); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.related { border-top: 1px solid var(--line); }

/* ---------- services page ---------- */
.svc-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.svc-nav { position: sticky; top: 110px; }
.svc-nav a { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--slate); transition: color .2s; }
.svc-nav a span { font-weight: 500; color: var(--bronze-deep); font-size: .85rem; padding-top: 2px; }
.svc-nav a:hover, .svc-nav a.is-current { color: var(--ink); }
.svc-nav a.is-current { box-shadow: inset 2px 0 0 var(--bronze); padding-left: 12px; }
.svc-block { padding-bottom: clamp(72px, 9vw, 120px); margin-bottom: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-block-media { aspect-ratio: 16 / 7; background: var(--night); color: #fff; margin-bottom: 40px; overflow: hidden; }
.svc-block-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-block .h2 { margin-bottom: 24px; }
.svc-desc p { font-size: 1.12rem; color: #3a3e42; max-width: 66ch; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 40px 0; }
.svc-related { margin-bottom: 36px; }
.mini-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-p { text-decoration: none; font-weight: 600; font-size: .92rem; }
.mini-p img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }

/* ---------- about ---------- */
.phil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-light); }
.phil { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line-light); }
.phil-n { display: none; }
.phil h3 { font-size: 1.2rem; color: #fff; margin-bottom: .6rem; }
.phil p { font-size: .97rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 52px); margin-top: clamp(48px, 6vw, 72px); }
.member-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #e6e3dc; margin-bottom: 24px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.25) contrast(1.02); transition: filter .6s var(--ease), transform 1.1s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.03); }
.member h3 { font-size: 1.4rem; }
.cred { font-weight: 500; color: var(--slate); }
.member-title { color: var(--bronze-deep); font-weight: 600; margin: 6px 0 16px; }
.member-bio p { color: var(--slate); font-size: .98rem; }

/* ---------- career / forms ---------- */
.jobs { border-top: 1px solid var(--line); margin-top: 24px; }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.job-row:hover { padding-left: 12px; }
.job-row h3 { font-size: 1.5rem; }
.job-row p { margin: 4px 0 0; }
.job-layout, .contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-layout { grid-template-columns: 1fr 1.6fr; }
.prose .h3 { margin-top: 2em; }
.form-card { background: var(--white); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.req { color: var(--bronze-deep); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s; }
.field input[type=file] { padding: 11px; background: var(--white); border-style: dashed; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(165,138,104,.25); }
.field [aria-invalid="true"] { border-color: #a1362b; }
.field-err { color: #a1362b; font-weight: 600; font-size: .86rem; }
.hint { color: var(--slate); font-size: .85rem; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.notice { padding: 18px 20px; margin-bottom: 24px; border-left: 3px solid; font-size: .98rem; }
.notice.success { background: #f1efe8; border-color: var(--bronze); }
.notice.error { background: #fbeeec; border-color: #a1362b; color: #6d2017; }
.contact-info dl { margin: 28px 0; }
.contact-info dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--slate); font-size: .88rem; }
.contact-info dd { margin: 4px 0 0; font-weight: 600; font-size: 1.12rem; }
.contact-info a { text-decoration: none; } .contact-info a:hover { color: var(--bronze-deep); }
.notfound { padding-top: 220px; min-height: 70vh; }
.notfound .lead { margin: 20px 0 36px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.72); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 1px solid var(--line-light); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 46ch; font-size: .97rem; }
.footer-h { font-size: .95rem; color: #fff; margin-bottom: 18px; }
.footer-col li { padding: 4px 0; font-size: .97rem; }
.footer-col a { text-decoration: none; } .footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: .88rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .cat-overview { grid-template-columns: repeat(3, 1fr); }
  .proj-layout, .svc-layout { grid-template-columns: 1fr; }
  .proj-facts, .svc-nav { position: static; }
  .svc-nav { display: none; }
}
@media (max-width: 900px) {
  .pgrid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid .pcard, .feature-grid .pcard.is-lead, .feature-grid.count-2 .pcard { grid-column: span 1; grid-row: auto; }
  .feature-grid .pcard.is-lead { grid-column: 1 / -1; }
  .feature-grid .pcard.is-lead .pcard-media { height: auto; aspect-ratio: 16/10; min-height: 0; }
  .split, .cta-inner, .cat-intro, .job-layout, .contact-layout, .footer-top { grid-template-columns: 1fr; }
  .cta-actions, .sub-chips { justify-content: flex-start; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 72px; }
  .page-hero-art { width: 100%; opacity: .25; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .pgrid, .svc-grid, .feature-grid, .team-grid, .why-grid, .timeline, .svc-cols, .mini-projects, .cat-overview { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .gallery { grid-template-columns: 1fr; }
  .g-item.is-wide { grid-column: auto; grid-row: auto; }
  .g-item.is-wide .g-open img { aspect-ratio: 4/3; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .hero-scroll { display: none; }
  .proj-facts dl div { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero-anim { opacity: 1; transform: none; }
  .art-hero .a-main, .art-hero .a-acc, .art-hero .a-heavy { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; }
}
