/* Brentwood Lofts — design system
   Heritage serif + clean sans, ivory / charcoal / restrained sky blue. */

:root {
  --ivory: #f7f5f1;
  --paper: #fffdfa;
  --ink: #191b1d;
  --ink-2: #3b3f42;
  --muted: #62676b;
  --stone: #d7cec2;
  --mist: #eceae6;
  --line: rgba(25, 27, 29, 0.14);
  --blue: #139bd7;       /* logo blue — accents, on-dark use */
  --blue-deep: #0c76a8;  /* AA-safe for text + buttons on ivory */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-final :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .cta-final .eyebrow { color: var(--blue); }
.h-xl { font-size: clamp(3rem, 7.2vw, 6.4rem); }
.h-lg { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.h-md { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 54ch; }
em.accent, .h-xl em, .h-lg em { font-style: italic; color: var(--blue-deep); font-weight: 500; }
.on-dark em.accent, .on-dark .h-lg em, .cta-final em { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue-deep); --fg: #fff; --bd: var(--blue-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { --bg: var(--ink); --bd: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--blue); --bd: var(--blue); --fg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.65); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.75rem; }
.link-arrow {
  display: inline-flex; gap: 10px; align-items: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding-bottom: 6px; background: linear-gradient(var(--blue-deep), var(--blue-deep)) 0 100%/100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 0% 1px; color: var(--blue-deep); }
.link-arrow .arr { transition: transform .35s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 245, 241, 0); border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.site-header.is-solid, .site-header.is-open {
  --header-h: 68px; height: 68px;
  background: rgba(255, 253, 250, 0.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(25,27,29,.35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 56px; width: auto; transition: height .4s var(--ease); }
.is-solid .brand img { height: 42px; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); align-items: center; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 0; color: var(--ink);
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--blue-deep); transition: right .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--blue-deep); }
.header-cta { display: flex; align-items: center; gap: 22px; }
.tel { text-decoration: none; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; }
.tel:hover { color: var(--blue-deep); }
.tel svg { width: 16px; height: 16px; color: var(--blue-deep); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 30px; }
.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ivory); padding: 104px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu nav a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3rem); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.1; }
.mobile-menu nav a[aria-current="page"] { color: var(--blue-deep); font-style: italic; }
.mobile-menu .mm-foot { display: grid; gap: 14px; margin-top: 36px; }
.mobile-menu .mm-foot small { color: var(--muted); font-size: .85rem; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header-h) + 12px); min-height: min(100svh, 980px); display: grid; align-items: stretch; position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: stretch; width: 100%; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(24px, 4vw, 56px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero h1 { margin-bottom: 28px; font-size: clamp(2.9rem, 5.5vw, 5.3rem); }
.hero h1 .l2 { display: block; }
.hero .lede { margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero__phone { font-size: .95rem; color: var(--muted); margin: 18px 0 0; }
.hero__phone a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--blue-deep); }
.hero__media { position: relative; min-height: 520px; }
.hero__media .main { position: absolute; inset: 0 0 0 0; overflow: hidden; background: var(--mist); }
.hero__media .main img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__inset {
  position: absolute; left: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); width: clamp(170px, 20vw, 280px); aspect-ratio: 4/5;
  border: 8px solid var(--ivory); background: var(--mist); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(25,27,29,.45);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; right: var(--gutter); top: 36px; background: rgba(247,245,241,.92); backdrop-filter: blur(8px);
  padding: 14px 20px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 12px; align-items: center;
}
.hero__badge i { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.trust-strip { border-block: 1px solid var(--line); background: var(--paper); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip li {
  padding: 22px 20px; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
  border-left: 1px solid var(--line);
}
.trust-strip li:first-child { border-left: 0; }

/* ---------- heritage intro ---------- */
.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ---------- projects showcase ---------- */
.showcase__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); }
.showcase__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.pcard { position: relative; display: block; text-decoration: none; color: inherit; }
.pcard__img { position: relative; overflow: hidden; background: var(--mist); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25,27,29,.7), rgba(25,27,29,0) 55%); opacity: 0; transition: opacity .6s var(--ease); }
.pcard__more { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.pcard:hover .pcard__img img, .pcard:focus-visible .pcard__img img { transform: scale(1.045); }
.pcard:hover .pcard__img::after, .pcard:focus-visible .pcard__img::after { opacity: 1; }
.pcard:hover .pcard__more, .pcard:focus-visible .pcard__more { opacity: 1; transform: none; }
.pcard__cap { display: flex; gap: 18px; align-items: baseline; padding-top: 18px; }
.pcard__no { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--blue-deep); }
.pcard h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.pcard p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.pc-a { grid-column: 1 / span 7; } .pc-a .pcard__img { aspect-ratio: 4 / 3.3; }
.pc-b { grid-column: 9 / span 4; margin-top: clamp(60px, 9vw, 140px); } .pc-b .pcard__img { aspect-ratio: 4 / 5; }
.pc-c { grid-column: 2 / span 8; margin-top: clamp(24px, 3vw, 48px); } .pc-c .pcard__img { aspect-ratio: 16 / 8; }
.showcase__foot { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 32px; }
.showcase__foot p { margin: 0; color: var(--ink-2); max-width: 46ch; }

/* ---------- services ---------- */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: 6fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.services__list { margin-top: 44px; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; text-align: left; padding: 24px 0; background: none; border: 0; cursor: pointer; }
.svc__no { font-size: .75rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); transition: color .3s; }
.svc__t { font-size: .84rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.svc__ic { position: relative; width: 14px; height: 14px; justify-self: end; }
.svc__ic::before, .svc__ic::after { content: ""; position: absolute; background: currentColor; transition: transform .4s var(--ease); }
.svc__ic::before { left: 0; right: 0; top: 6.5px; height: 1px; } .svc__ic::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.svc.is-active .svc__ic::after { transform: scaleY(0); }
.svc.is-active .svc__no, .svc.is-active .svc__t { color: var(--blue-deep); }
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svc.is-active .svc__panel { grid-template-rows: 1fr; }
.svc__panel > div { overflow: hidden; }
.svc__panel p { padding: 0 40px 26px 56px; margin: 0; color: var(--ink-2); max-width: 52ch; }
.services__media { position: sticky; top: 110px; aspect-ratio: 5 / 4.6; overflow: hidden; background: var(--mist); }
.services__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.services__media img.is-active { opacity: 1; transform: none; }

/* ---------- process ---------- */
.process { background: var(--mist); }
.process__head { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); counter-reset: s; }
.step { padding: 34px clamp(20px, 2.4vw, 40px) 48px 0; position: relative; }
.step:not(:nth-child(3n+1)) { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.step:nth-child(n+4) { border-top: 1px solid var(--line); }
.step__no { font-family: var(--serif); font-size: 2.1rem; color: var(--blue-deep); line-height: 1; font-style: italic; }
.step h3 { font-family: var(--sans); font-size: .84rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 12px; line-height: 1.4; }
.step p { color: var(--ink-2); margin: 0; max-width: 34ch; font-size: 1rem; }
.process__foot { margin-top: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.process__foot q { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-style: italic; quotes: none; line-height: 1.15; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.why__media { position: relative; }
.why__media .ph { aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--mist); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 52px; border-top: 1px solid var(--line); }
.why__item { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--line); }
.why__item:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.why__item h3 { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }
.why__item h3::before { content: ""; width: 9px; height: 9px; background: var(--blue); flex: none; }
.why__item p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- story ---------- */
.story { background: var(--ink); color: #eceae6; position: relative; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.story__media { position: relative; }
.story__media .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__est { position: absolute; right: -28px; bottom: 48px; background: var(--ivory); color: var(--ink); padding: 22px 28px; text-align: center; }
.story__est b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.story__est span { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.story p { color: #cfd2d4; max-width: 56ch; }
.story .h-lg { color: #fff; margin-bottom: 36px; }

/* ---------- review ---------- */
.review { text-align: center; }
.review__q { max-width: 960px; margin: 0 auto; position: relative; }
.review__q::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 7rem; line-height: .6; color: var(--blue); margin-bottom: 8px; height: 56px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.review figcaption { margin-top: 36px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.review figcaption span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }

/* ---------- areas ---------- */
.areas { background: var(--paper); border-top: 1px solid var(--line); }
.areas__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 7vw, 110px); align-items: stretch; }
.areas__list { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 clamp(20px, 3vw, 48px); margin: 48px 0 32px; justify-content: start; }
.areas__list li { white-space: nowrap; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.areas__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-4px); }
.areas__note { color: var(--muted); font-size: .95rem; }
.areas__media { position: relative; min-height: 440px; overflow: hidden; background: var(--mist); }
.areas__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; }

/* ---------- final cta ---------- */
.cta-final { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; text-align: center; }
.cta-final__bg { position: absolute; inset: 0; z-index: -2; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25,27,29,.78), rgba(25,27,29,.7) 50%, rgba(25,27,29,.88)); }
.cta-final .section { padding-block: clamp(96px, 14vw, 200px); }
.cta-final h2 { max-width: 14ch; margin: 0 auto 28px; font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.cta-final p.lede { color: #dfe1e2; margin: 0 auto 40px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-final small { display: block; margin-top: 36px; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: #c4c8cb; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9cdd0; padding-top: clamp(64px, 8vw, 110px); font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 64px; }
.site-footer .brand img { height: 60px; margin-bottom: 22px; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.footer__tag { max-width: 30ch; margin-bottom: 0; }
.footer__tel { font-family: var(--serif); font-size: 2rem; color: #fff; display: block; margin-bottom: 20px; line-height: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: #9ca1a5; }

/* ---------- sticky mobile bar ---------- */
.mbar { display: none; }

/* ---------- inner page hero ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(36px, 5vw, 72px); }
.page-hero h1 { max-width: 15ch; margin-bottom: 26px; }

/* ---------- projects gallery ---------- */
.gallery { columns: 3; column-gap: clamp(14px, 1.8vw, 26px); }
.gitem { break-inside: avoid; margin: 0 0 clamp(14px, 1.8vw, 26px); position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; overflow: hidden; text-align: left; }
.gitem img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25,27,29,.72), rgba(25,27,29,0) 55%); opacity: 0; transition: opacity .5s var(--ease); }
.gitem span { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all .45s var(--ease); }
.gitem:hover img, .gitem:focus-visible img { transform: scale(1.04); }
.gitem:hover::after, .gitem:focus-visible::after, .gitem:hover span, .gitem:focus-visible span { opacity: 1; transform: none; }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(15,16,17,.96); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lb.is-open { display: flex; animation: lbin .35s var(--ease); }
@keyframes lbin { from { opacity: 0; } }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; }
.lb figcaption { color: #cfd2d4; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; text-align: center; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: background .3s; }
.lb button:hover { background: rgba(255,255,255,.14); }
.lb .x { top: 20px; right: 20px; } .lb .p { left: 20px; top: 50%; margin-top: -26px; } .lb .n { right: 20px; top: 50%; margin-top: -26px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.field label i { color: var(--blue-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); background: var(--paper);
  border: 1px solid rgba(25,27,29,.28); border-radius: 0; padding: 15px 16px; min-height: 54px; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23191b1d' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(19,155,215,.22); }
.field .err { color: #b3261e; font-size: .85rem; min-height: 0; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field.has-error .err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.form__foot small { color: var(--muted); max-width: 40ch; line-height: 1.5; }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; padding: 22px 26px; background: var(--paper); border-left: 3px solid var(--blue-deep); display: none; }
.form-status.is-shown { display: block; }
.form-status h3 { font-size: 1.7rem; margin-bottom: 8px; }
.form-status p { margin: 0; color: var(--ink-2); }
.contact__aside { border-top: 1px solid var(--ink); }
.cdetail { padding: 28px 0; border-bottom: 1px solid var(--line); }
.cdetail small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cdetail a.big { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.1rem); text-decoration: none; line-height: 1; }
.cdetail a.big:hover { color: var(--blue-deep); }
.cdetail p { margin: 0; }
.contact__img { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.contact__img img { width: 100%; height: 100%; object-fit: cover; }
.next-steps { counter-reset: n; margin-top: 8px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; padding: 6px 0; color: var(--ink-2); font-size: .98rem; }
.next-steps li::before { counter-increment: n; content: "0" counter(n); color: var(--blue-deep); font-weight: 700; font-size: .78rem; letter-spacing: .1em; padding-top: 3px; }

/* ---------- reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .mask.is-in { clip-path: inset(0); }
.js .hero .reveal { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal, .js .mask { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .tel span { display: none; }
  .nav a:not(.btn) { letter-spacing: .06em; }
  .gallery { columns: 2; }
}
@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .nav, .header-cta .tel, .header-cta .btn { display: none; }
  .burger { display: block; }
  .brand img { height: 46px; } .is-solid .brand img { height: 38px; }
  .hero { min-height: 0; padding-top: var(--header-h); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 36px var(--gutter) 44px; order: 1; }
  .hero__media { order: 2; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero__inset { left: var(--gutter); bottom: -28px; width: 28vw; max-width: 200px; border-width: 6px; }
  .hero__badge { display: none; }
  .intro__grid, .services__grid, .why__grid, .story__grid, .areas__grid, .contact__grid, .process__head { grid-template-columns: 1fr; }
  .services__media { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
  .why__media .ph { aspect-ratio: 4 / 3; }
  .story__media .ph { aspect-ratio: 4 / 3.2; } .story__est { right: 12px; bottom: -22px; }
  .areas__media { min-height: 320px; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .step:not(:nth-child(3n+1)) { border-left: 0; padding-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 36px); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pc-a { grid-column: 1 / -1; } .pc-b { grid-column: 1 / span 6; margin-top: 0; } .pc-c { grid-column: 7 / -1; margin-top: 0; align-self: end; }
  .pc-b .pcard__img { aspect-ratio: 4 / 5; } .pc-c .pcard__img { aspect-ratio: 4 / 5; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; background: rgba(255,253,250,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(25,27,29,.4);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  body.menu-open .mbar { transform: translateY(110%); }
  .mbar .btn { min-height: 48px; padding: 0 12px; font-size: .74rem; letter-spacing: .1em; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 76px; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .hero__media { aspect-ratio: 4 / 4.2; }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust-strip ul { grid-template-columns: 1fr 1fr; }
  .trust-strip li { border-left: 0; padding: 18px 10px; font-size: .68rem; letter-spacing: .14em; }
  .trust-strip li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro__stats { grid-template-columns: 1fr; margin-top: 40px; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .stat { display: flex; align-items: baseline; gap: 20px; padding: 22px 0 0; } .stat span { margin: 0; }
  .showcase__head { flex-direction: column; align-items: start; }
  .pc-b, .pc-c { grid-column: 1 / -1; } .pc-b .pcard__img, .pc-c .pcard__img { aspect-ratio: 4 / 3.4; }
  .pcard__more { opacity: 1; transform: none; } .pcard__img::after { opacity: .75; }
  .process__steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { border-left: 0; padding-left: 0; } .step:nth-child(n+2) { border-top: 1px solid var(--line); } .step { padding-bottom: 36px; }
  .why__list { grid-template-columns: 1fr; }
  .why__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .svc__btn { grid-template-columns: 44px 1fr 20px; } .svc__panel p { padding: 0 8px 24px 44px; }
  .areas__list { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery { columns: 2; column-gap: 10px; } .gitem { margin-bottom: 10px; }
  .gitem span { display: none; } .gitem::after { display: none; }
  .form { grid-template-columns: 1fr; gap: 22px; }
  .form__foot .btn { width: 100%; }
  .lb { padding: 64px 12px; } .lb .p, .lb .n { top: auto; bottom: 14px; margin: 0; } .lb .p { left: 14px; } .lb .n { right: 14px; }
  .cta-final__actions .btn { flex: 1 1 100%; }
  .story__est { padding: 16px 20px; } .story__est b { font-size: 2rem; }
}
@media (max-width: 420px) { .areas__list { grid-template-columns: 1fr; } .gallery { columns: 1; } }

/* concept banner */
:root { --banner-h: 34px; }
.concept-bar { position: fixed; inset: 0 0 auto 0; z-index: 150; height: var(--banner-h); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 12px; background: var(--ink); color: #eceae6; font-size: .72rem; letter-spacing: .06em; overflow: hidden; white-space: nowrap; }
.concept-bar b { color: #fff; letter-spacing: .08em; }
.concept-bar span { overflow: hidden; text-overflow: ellipsis; }
.site-header { top: var(--banner-h); }
.hero { padding-top: calc(var(--header-h) + var(--banner-h) + 12px); }
.page-hero { padding-top: calc(var(--header-h) + var(--banner-h) + clamp(40px, 7vw, 100px)); }
.mobile-menu { padding-top: calc(104px + var(--banner-h)); }
@media (max-width: 1040px) { .hero { padding-top: calc(var(--header-h) + var(--banner-h)); } }
@media (max-width: 700px) { .concept-bar span { display: none; } }
