/* =========================================================
   GS Associates — homepage
   White canvas, big type, images first.
   ========================================================= */

:root {
  --ink: #111214;
  --ink-2: #2b2d31;
  --muted: #5d6067;
  --faint: #c9cbcf;
  --line: #e7e7ea;
  --bg: #ffffff;
  --soft: #f5f4f1;
  --brand: #f7a512;        /* logo amber */
  --brand-deep: #a33c03;   /* logo rust — safe for text */

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Urbanist", "Instrument Sans", system-ui, sans-serif;   /* headings */
  --mark: "Montserrat", "Instrument Sans", sans-serif;

  --fs-body: clamp(1.125rem, 0.9rem + 0.5vw, 1.3125rem);   /* 18 → 21px */
  --fs-lead: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  --fs-h2: clamp(2.5rem, 1.4rem + 4.2vw, 5.5rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1440px;
  --radius: 0px;      /* images have sharp corners */
  --radius-lg: 0px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3, .h2, .hero__title, .statement__text, .svc__title, .proj__title, .cta__title,
.stat__num, .step h3, .strength h3, .mobile-menu nav > a, .lightbox__title { font-family: var(--display); }
.h2 em, .cta__title em { white-space: nowrap; }   /* keep the italic accent phrase on one line */
h1, h2, h3, p { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* section label: a ticked dimension line that draws in + spaced capitals */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem;
  font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  line-height: 1.2;
}
.eyebrow__line { position: relative; flex: none; width: 3.25rem; height: 1px; background: var(--ink); transform-origin: left center; }
.eyebrow__line::before, .eyebrow__line::after {
  content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--ink);
}
.eyebrow__line::before { left: 0; }
.eyebrow__line::after { right: 0; }
.eyebrow__text { position: relative; }

/* draw-in on first view (JS adds .is-in); without JS everything simply shows */
.js .eyebrow__line { transform: scaleX(0); transition: transform 1.1s var(--ease-out) .15s; }
.js .eyebrow__text { opacity: 0; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.js .eyebrow__text { transform: translateX(-12px); transition-delay: .35s; }
.js .eyebrow.is-in .eyebrow__line { transform: none; }
.js .eyebrow.is-in .eyebrow__text { opacity: 1; transform: none; }

.h2 {
  font-size: var(--fs-h2); line-height: 1.02; font-weight: 700; letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 em { letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .h2 { max-width: 16ch; }
.section-head:not(.section-head--split) > .lead { margin-top: 1.25rem; }
.section-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.section-head--split .h2 { max-width: 14ch; }
.section-head--center { text-align: center; }
.section-head--center .h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin: 1.5rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.25rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 1.6rem; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .3s;
}
.btn::after { /* sweep fill */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--brand); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 2.75rem; padding: 0 1.15rem; font-size: 1rem; }
.btn--lg { --h: 3.75rem; padding: 0 2rem; font-size: 1.125rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.link-arrow { display: inline-flex; gap: .4rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1.5px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid, .site-header.is-mega {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: .75rem; height: 5rem; }

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__word {
  display: inline-flex; flex-direction: column; align-items: center; font-family: "Limelight", var(--serif); font-weight: 400;
  color: var(--ink); line-height: 1; transition: transform .5s var(--ease-out), color .3s;
}
.brand__gs { font-size: 2.9rem; letter-spacing: .02em; }
.brand__sub { margin-top: .12rem; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); transition: color .3s; }
.brand:hover .brand__word { transform: scale(1.04); }

.nav { display: flex; gap: 2.25rem; }
.nav > a, .nav__trigger {
  position: relative; text-decoration: none; font-weight: 500; font-size: 1.0625rem; padding: .5rem 0;
}
.nav > a::after, .nav__trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav > a:hover::after, .nav__trigger:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Services mega menu (desktop) ---------- */
.site-header.is-mega { background: #fff; }
.nav__item { display: flex; align-items: center; }
.nav__trigger { display: inline-flex; align-items: center; gap: .3rem; }
.nav__chev { transition: transform .45s var(--ease-out); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: -1;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(17, 18, 20, .35);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .35s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s;
}
.mega::after { /* dims and softly blurs the page underneath */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; pointer-events: none;
  background: rgba(17, 18, 20, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.nav__item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
.mega__inner {
  display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 3fr); gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2rem, 3vw, 2.75rem); padding-bottom: clamp(2rem, 3vw, 2.75rem); border-top: 1px solid var(--line);
}
.mega__intro { display: flex; flex-direction: column; align-items: flex-start; }
.mega__label { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.mega__title { margin-top: .9rem; font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.mega__text { margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; max-width: 30ch; }
.mega__all { margin-top: 1.5rem; }
.mega__call { margin-top: auto; padding-top: 1.5rem; font-size: 1rem; color: var(--muted); }
.mega__call a { display: block; margin-top: .2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.mega__call a:hover { text-decoration: underline; text-underline-offset: .2em; }

.mega__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.mega__cards li, .mega__list li, .mega__feature { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease-out), transform .8s var(--ease-out); }
.nav__item.is-open :is(.mega__cards li, .mega__list li, .mega__feature) { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .05s); }
.mega__card { display: block; text-decoration: none; color: var(--ink); transition: opacity .4s; }
.mega__cards:has(.mega__card:hover) .mega__card:not(:hover) { opacity: .5; }
.mega__img { position: relative; display: block; aspect-ratio: 4 / 5; max-height: 46vh; width: 100%; overflow: hidden; background: var(--soft); clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); }
.nav__item.is-open .mega__img { clip-path: inset(0); transition-delay: calc(.12s + var(--i) * .06s); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease-out); }
.nav__item.is-open .mega__img img { transform: scale(1); }
.nav__item.is-open .mega__card:hover .mega__img img { transform: scale(1.07); transition-duration: 1s; }
.mega__name {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: -.025em;
}
.mega__name svg { transition: transform .45s var(--ease-out); }
.mega__card:hover .mega__name svg { transform: translateX(4px); color: var(--brand-deep); }
.mega__tag { display: block; margin-top: .55rem; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.mega__card[aria-current="page"] .mega__name::after {
  content: "You are here"; margin-left: auto; padding: .2rem .6rem; border-radius: 999px; background: var(--brand);
  font-family: var(--font); font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.mega__card[aria-current="page"] .mega__name svg { display: none; }

/* projects panel: intro, residential list, commercial list, featured project */
.mega__inner--projects { grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, .95fr); }
.mega__col { min-width: 0; }
.mega__colhead {
  display: flex; align-items: baseline; gap: .6rem; padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--ink);
  text-decoration: none; color: var(--ink);
}
.mega__colhead span { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: -.025em; }
.mega__colhead small { color: var(--muted); font-size: .9375rem; }
.mega__colhead svg { margin-left: auto; align-self: center; transition: transform .45s var(--ease-out); }
.mega__colhead:hover svg { transform: translateX(4px); color: var(--brand-deep); }
.mega__list { display: grid; }
.mega__row {
  display: flex; align-items: center; gap: .9rem; padding: .55rem; margin: 0 -.55rem; border-radius: .5rem;
  text-decoration: none; color: var(--ink); transition: background-color .3s;
}
.mega__row:hover, .mega__row[aria-current="page"] { background: var(--soft); }
.mega__row img { flex: none; width: 4rem; height: 3.25rem; object-fit: cover; border-radius: .3rem; transition: transform .6s var(--ease-out); }
.mega__row:hover img { transform: scale(1.06); }
.mega__row span { display: grid; min-width: 0; }
.mega__row b { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.25; }
.mega__row small { color: var(--muted); font-size: .9375rem; }
.mega__feature { display: block; text-decoration: none; color: var(--ink); }
.mega__feature .mega__img { aspect-ratio: 4 / 5; max-height: 40vh; }
.mega__feature .mega__tag { margin-top: .9rem; font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.mega__feature .mega__name { margin-top: .25rem; border-bottom: 0; padding-bottom: 0; font-size: 1.25rem; }
.mega__feature:hover .mega__name svg { transform: translateX(4px); color: var(--brand-deep); }
.nav__item.is-open .mega__feature:hover .mega__img img { transform: scale(1.07); transition-duration: 1s; }

/* blog panel: topics on the left, three featured articles */
.mega__cards--blog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__post { display: block; text-decoration: none; color: var(--ink); transition: opacity .4s; }
.mega__cards:has(.mega__post:hover) .mega__post:not(:hover) { opacity: .5; }
.mega__post .mega__img { aspect-ratio: 4 / 3; max-height: 34vh; }
.nav__item.is-open .mega__post:hover .mega__img img { transform: scale(1.07); transition-duration: 1s; }
.mega__meta { display: block; margin-top: .9rem; font-size: .875rem; color: var(--muted); }
.mega__meta b { font-weight: 700; color: var(--brand-deep); }
.mega__posttitle {
  display: block; margin-top: .35rem; font-family: var(--display); font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; transition: color .3s;
}
.mega__post:hover .mega__posttitle { color: var(--brand-deep); }
.mega__post[aria-current="page"] .mega__meta::after { content: " · You are reading"; color: var(--ink); font-weight: 700; }
.mega__topics { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.mega__topics a {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 .9rem; border-radius: 999px; text-decoration: none;
  font-size: .9375rem; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s, color .3s, box-shadow .3s;
}
.mega__topics a:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* phones and tablets: Projects and Services open as dropdowns inside the full-screen menu (main.js) */
.mm-group { opacity: 0; transform: translateY(20px); animation: menuIn .7s var(--ease-out) forwards; }
.mm-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .25rem 0; margin: 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--display); font-size: clamp(2.5rem, 11vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.6;
}
.mm-chev { flex: none; transition: transform .45s var(--ease-out); }
.mm-group.is-open .mm-chev { transform: rotate(180deg); color: var(--brand-deep); }
.mm-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility 0s linear .5s; }
.mm-group.is-open .mm-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease-out), visibility 0s; }
.mm-panel__inner { min-height: 0; overflow: hidden; }
.mm-panel__inner > :first-child { margin-top: .9rem; }
.mm-panel__inner > :last-child { margin-bottom: 1.25rem; }
.mobile-menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mobile-menu__services a, .mm-list a {
  display: flex; align-items: center; gap: .65rem; padding: .4rem; border-radius: .5rem; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.2; background: var(--soft);
}
.mobile-menu__services img, .mm-list img { flex: none; width: 2.75rem; height: 2.75rem; object-fit: cover; border-radius: .35rem; }
.mm-list { display: grid; gap: .35rem; margin-top: .5rem; }
.mm-list a { background: none; }
.mm-list span { display: grid; }
.mm-list small { font-family: var(--font); font-weight: 500; font-size: .875rem; color: var(--muted); }
:is(.mobile-menu__services, .mm-list) a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--brand); background: #fff; }
.mm-all { margin-top: .9rem; font-size: 1.0625rem; }
.mobile-menu { overflow-y: auto; }

/* Instagram, next to the Call and Menu buttons */
.header-ig {
  display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 28%; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  transition: transform .3s var(--ease-out);
}
.header-ig svg { width: 1.75rem; height: 1.75rem; }
.header-ig:hover { transform: scale(1.06); }

/* the Menu button opens the full-screen menu at every screen size */
.menu-toggle {
  display: inline-flex; align-items: center; gap: .65rem; background: var(--ink); color: #fff; border: 0;
  height: 2.9rem; padding: 0 1.1rem; border-radius: 999px; font-weight: 600; cursor: pointer;
}
.menu-toggle__icon { display: grid; gap: 5px; width: 18px; }
.menu-toggle__icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: #fff; padding: 7rem var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: .25rem; align-content: start; }
.mobile-menu nav > a {
  font-size: clamp(2.5rem, 11vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none;
  padding: .25rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); animation: menuIn .7s var(--ease-out) forwards;
}
.mobile-menu nav > :nth-child(2) { animation-delay: .05s; }
.mobile-menu nav > :nth-child(3) { animation-delay: .1s; }
.mobile-menu nav > :nth-child(4) { animation-delay: .15s; }
.mobile-menu nav > :nth-child(5) { animation-delay: .2s; }
.mobile-menu nav > a[aria-current="page"] { color: var(--brand-deep); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-menu__contact { display: grid; gap: 1rem; }
.mobile-menu__mail { font-size: 1.125rem; text-align: center; }
/* desktop: the same menu, lined up with the page and capped in width; Call and email sit in one row at the foot */
@media (min-width: 1081px) {
  .mobile-menu { padding: 8rem max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 3rem; }
  .mobile-menu nav { width: min(100%, 52rem); }
  .mobile-menu .mm-list { grid-template-columns: 1fr 1fr; }
  .mobile-menu .mobile-menu__services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-menu__contact { grid-auto-flow: column; justify-content: start; align-items: center; gap: 2rem; margin-top: 3rem; }
}

/* =========================================================
   HERO — scroll story, sized like findrealestate.com
   --u is one "design pixel": 1/192 of the viewport width on desktop (1920px artboard),
   1/37.5 on phones (375px artboard).
   ========================================================= */
.hero { --u: calc(100vw / 192); position: relative; height: 325vh; overflow-x: clip; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: #c9dcef; }
.hero__back { position: absolute; inset: 0; }
.hero__back img { width: 100%; height: 100%; object-fit: cover; }

.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.hero__outline, .hero__composite { opacity: 0; }
.hero__word { font-family: var(--mark); font-weight: 900; }
.hero__word--sub { font-weight: 800; }
.hero__outline .hero__word { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

.hero__clouds { position: absolute; inset: 0; z-index: 2; }
.hero__cloud { position: absolute; will-change: transform; }
.hero__cloud img { width: 100%; height: 100%; object-fit: cover; }
.hero__cloud--l { top: 25%; left: calc(var(--u) * -33.72); width: calc(var(--u) * 112.4); height: calc(var(--u) * 47.7); }
.hero__cloud--r { top: 20%; right: calc(var(--u) * -33.72); width: calc(var(--u) * 93.6); height: calc(var(--u) * 39.7); }

.hero__smoke { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--u) * 62); z-index: 3; transform: translateY(70%); }
.hero__smoke img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.hero__smoke--rise { transform: none; }

.hero__content {
  position: relative; z-index: 4; display: grid; align-items: center; height: 100%;
  padding-bottom: calc(var(--u) * 22.8); text-align: center; will-change: transform, opacity;
}
.hero__title {
  font-size: max(2.75rem, calc(var(--u) * 11)); line-height: 1; font-weight: 700; letter-spacing: -.03em;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: .25em; color: #151717;
  /* the edge fade only paints inside the heading's box, so give it room for the tails of g (layout unchanged) */
  padding: .12em 0 .34em; margin: -.12em 0 -.34em;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5), #000 22%, #000 78%, rgba(0,0,0,.5));
          mask-image: linear-gradient(90deg, rgba(0,0,0,.5), #000 22%, #000 78%, rgba(0,0,0,.5));
}
@media (min-width: 900px) { .hero__title { flex-wrap: nowrap; white-space: nowrap; } }
/* the heading grows with the screen, so its box must too (the 1440px page width cut it on wide screens) */
.hero__content .container { max-width: none; }
/* each line is a window the words slide up into; the extra room below keeps g's tail inside it */
.hero__title .line { display: inline-block; overflow: hidden; padding: .08em .02em .32em; margin: -.08em 0 -.32em; }
.hero__title .line > span { display: inline-block; transform: translateY(140%); }
.hero__sub {
  margin-top: calc(var(--u) * 2); font-size: max(1.125rem, calc(var(--u) * 3.2)); line-height: 1.3;
  font-weight: 500; letter-spacing: -.01em; color: #151717; text-wrap: balance;
}
.hero__sub .em { display: block; color: rgba(21, 23, 23, .55); }
.hero__actions { margin-top: calc(var(--u) * 4); display: flex; justify-content: center; }

[data-intro] { opacity: 0; transform: translateY(18px); }
.is-loaded [data-intro] { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.is-loaded .hero__sub { transition-delay: .65s; }
.is-loaded .hero__actions { transition-delay: .85s; }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.5s var(--ease-out); }
.is-loaded .hero__title .line:nth-child(1) > span { transition-delay: .15s; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .27s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .39s; }

/* the rising clouds sit in the page flow and slide up over the pinned scene */
.hero__overlap { position: absolute; z-index: 5; top: 0; left: 0; right: 0; bottom: 100vh; bottom: 100svh; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 100vh; height: 100svh; background: #fff; }
.hero__overlay {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: calc(var(--u) * 30.9);
  background: linear-gradient(rgba(255,255,255,0), #fff);
}

@media (max-width: 767px) {
  .hero { --u: calc(100vw / 37.5); height: 325vh; }
  .hero__cloud--l { top: calc(var(--u) * 33.7); left: calc(var(--u) * -57.2); width: calc(var(--u) * 70.2); height: calc(var(--u) * 29.8); }
  .hero__cloud--r { top: calc(var(--u) * 37.12); right: calc(var(--u) * -41.2); width: calc(var(--u) * 55.7); height: calc(var(--u) * 23.6); }
  .hero__smoke { height: calc(var(--u) * 45); }
  .hero__overlay { height: calc(var(--u) * 10); }
  .hero__content { padding-bottom: calc(var(--u) * 15); }
  .hero__title { font-size: calc(var(--u) * 4.6); flex-direction: column; align-items: center; }
  .hero__sub { font-size: 1.125rem; margin-top: 1rem; }
  .hero__actions { margin-top: 1.75rem; }
  .hero__outline .hero__word { stroke-width: 3; }
}

/* =========================================================
   STATEMENT + STATS
   ========================================================= */
.statement {
  position: relative; z-index: 7; margin-top: -100vh; margin-top: -100svh; background: #fff;
  padding: 12vh 0 clamp(5rem, 9vw, 8rem);
}

/* words and button centred, three tall videos in a row below */
.about { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.about__main { display: flex; flex-direction: column; align-items: center; text-align: center; }
.statement__text {
  font-size: clamp(1.875rem, 1rem + 2.15vw, 3rem); line-height: 1.18; font-weight: 600; letter-spacing: -.03em;
  text-wrap: balance; max-width: 30ch;
}
.about__main .statement__text { max-width: 38ch; }   /* home page "Why GS": three lines on laptops and desktops */
.statement__text .w { color: var(--faint); transition: color .35s; }
.statement__text .w.is-on { color: var(--ink); }
.about__cta { margin-top: 2.5rem; }
.about__clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.5rem); }
.about__clip { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #e9e7e2; }
.about__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__toggle {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 1; width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .4s var(--ease-out), background-color .3s;
}
.about__toggle:hover { transform: scale(1.06); background: #fff; }
.about__toggle .i-play { display: none; }
.about__toggle.is-paused .i-play { display: block; }
.about__toggle.is-paused .i-pause { display: none; }

/* four figures in centred columns with hairline dividers */
.stats { margin-top: clamp(5rem, 10vw, 8.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; justify-items: center; align-content: start; gap: .75rem; padding: 1.75rem 1.5rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(3rem, 2rem + 3.5vw, 5.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__in { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .55em; margin: 0 .12em; color: var(--brand-deep); letter-spacing: 0; }
.stat__label { color: var(--muted); font-size: 1.0625rem; max-width: 20ch; line-height: 1.4; }

/* =========================================================
   SERVICES — one row per service: words on one side, pictures on the other
   ========================================================= */
.services { padding: clamp(5rem, 9vw, 8rem) 0 clamp(6rem, 11vw, 10rem); }
.services__head {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.services__head .h2 { max-width: 13ch; }
.services__intro .lead { max-width: 30ch; }
.services__jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.services__jump a {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.3rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 1.0625rem; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .3s, background-color .3s, color .3s;
}
.services__jump a:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* dimension-line divider: ticks at both ends, label in the middle, drawn by an orange pen-dot as you scroll */
.rule { --p: 0; position: relative; height: 2.75rem; margin-bottom: clamp(5rem, 10vw, 8.5rem); }
.rule__track, .rule__draw { position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.rule__track { background: var(--line); }
.rule__draw { background: var(--ink); transform-origin: left center; transform: scaleX(var(--p)); }
.rule__tick { position: absolute; top: calc(50% - 8px); width: 1.5px; height: 16px; background: var(--ink); }
.rule__tick--l { left: 0; }
.rule__tick--r { right: 0; opacity: 0; transform: scaleY(.3); transition: opacity .4s, transform .5s var(--ease-out); }
.rule.is-done .rule__tick--r { opacity: 1; transform: none; }
.rule__dot {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(247, 165, 18, .18);
  transition: opacity .4s;
}
.rule.is-done .rule__dot { opacity: 0; }
.rule__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 1.25rem; background: #fff;
  font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.rule__label i { font-style: normal; color: var(--brand); margin: 0 .35em; }

.svc {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(3.5rem, 8vw, 8rem);
  align-items: center; scroll-margin-top: 7rem;
}
.svc + .svc { margin-top: clamp(6rem, 11vw, 9.5rem); }
.svc__media { grid-column: 1; grid-row: 1; position: relative; display: block; isolation: isolate; }
/* a warm shade block behind the photo and an amber half-border on the far corner, mirrored on flipped rows */
.svc__media::before {
  content: ""; position: absolute; z-index: -1; left: -1.75rem; bottom: -1.75rem; width: 72%; height: 78%;
  background: var(--brand);
}
.svc__media::after {
  content: ""; position: absolute; z-index: -1; right: -1.25rem; top: -1.25rem; width: 42%; height: 46%;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); pointer-events: none;
}
.svc--flip .svc__media::before { left: auto; right: -1.75rem; }
.svc--flip .svc__media::after { right: auto; left: -1.25rem; border-right: 0; border-left: 2px solid var(--brand); }
.svc__body { grid-column: 2; grid-row: 1; }
.svc--flip { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
.svc--flip .svc__media { grid-column: 2; }
.svc--flip .svc__body { grid-column: 1; }

.svc__frame { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); }
.svc__frame img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transition: scale 1.4s var(--ease-out); will-change: transform;
}
.svc__media:hover .svc__frame img { scale: 1.04; }
.svc__inset {
  position: absolute; z-index: 1; right: -5%; bottom: -7%; width: 30%; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius); border: 8px solid #fff; background: #fff;
  box-shadow: 0 30px 60px -28px rgba(17, 18, 20, .35); will-change: transform;
}
.svc--flip .svc__inset { right: auto; left: -5%; }
.svc__inset img { width: 100%; height: 100%; object-fit: cover; }

.svc__title { font-size: clamp(2.5rem, 1.3rem + 3.2vw, 4.75rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.svc__tagline { margin-top: .6rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); line-height: 1.15; color: var(--ink-2); }
.svc__text { margin-top: 1.5rem; color: var(--ink-2); line-height: 1.6; max-width: 42ch; }
.svc__list[hidden] { display: none; }
.svc__list { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.svc__list li { display: flex; align-items: flex-start; gap: .85rem; font-weight: 500; line-height: 1.4; }
.svc__list li::before {
  content: ""; flex: none; width: 1.6rem; height: 1.6rem; margin-top: -.05rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .95rem no-repeat;
}
.svc__actions { margin-top: 2.5rem; }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line); }

/* Each project is a sheet in a drawing set. On larger screens the sheets stick and stack as you scroll:
   the one underneath shrinks a touch and fades, but its title strip stays visible like a tab. */
.stack { --top: 4.5rem; --bar: 3rem; --n: 4; --h: min(46rem, calc(100vh - var(--top) - var(--n) * var(--bar) - 1rem)); }
.proj { position: relative; background: #fff; border-top: 1px solid var(--ink); }
.proj + .proj { margin-top: 4.5rem; }
.proj__bar {
  display: flex; align-items: center; gap: 1.5rem; min-height: var(--bar);
  font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.proj__cat { margin-left: auto; color: var(--muted); }
.proj__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); padding: .75rem 0 1.25rem; }
.proj__media {
  all: unset; box-sizing: border-box; position: relative; display: block; overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--soft);
}
.proj__media:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.proj__media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover;
  transition: scale 1.2s var(--ease-out); will-change: transform;
}
.proj__media:hover img { scale: 1.04; }
.proj__info { display: flex; flex-direction: column; justify-content: flex-end; justify-content: safe flex-end; min-height: 0; }
.proj__title { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
.proj__desc { margin-top: 1rem; color: var(--ink-2); line-height: 1.55; max-width: 34ch; }
.proj__thumbs { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; max-width: 19rem; }
.proj__thumb { all: unset; box-sizing: border-box; position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: var(--soft); }
.proj__thumb:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.proj__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.proj__thumb:hover img { transform: scale(1.08); }
.proj__more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(17, 18, 20, .55); color: #fff; font-weight: 700; font-size: 1.375rem;
}
.proj__cta { margin-top: 1.75rem; align-self: flex-start; }
.proj__page { margin-top: 1rem; font-size: 1.0625rem; }
/* heading on one line, with the "View all projects" button on the right */
.projects__head .projects__title { max-width: none; white-space: nowrap; }
.projects__lead { margin-top: 1.25rem; }
@media (max-width: 640px) { .projects__head .projects__title { font-size: 9.6vw; } }

/* Projects slider: one big photo per project, starting at the container edge and running off the right of the
   screen so the next one peeks in. Scroll-snaps; drag with the mouse, swipe, or use the arrows (main.js). */
.pslider { --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.pslider__track {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding-inline: var(--edge);
  scrollbar-width: none; cursor: grab;
}
.pslider__track::-webkit-scrollbar { display: none; }
.pslider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pslider__track.is-dragging .pslide__link { pointer-events: none; }
.pslide { flex: none; width: min(84vw, 450px); scroll-snap-align: start; }
.pslide__link { display: block; text-decoration: none; color: var(--ink); -webkit-user-drag: none; user-select: none; }
.pslide__link:focus-visible { outline: none; }
.pslide__link:focus-visible .pslide__media { outline: 3px solid var(--brand); outline-offset: 4px; }
.pslide__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pslide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pslide__link:hover .pslide__media img { transform: scale(1.04); }
.pslide__cap { display: grid; gap: .35rem; padding-top: 1.1rem; }
.pslide__cat { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pslide__name {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 1rem + .6vw, 1.625rem); line-height: 1.15; letter-spacing: -.02em;
}
.pslide__name svg { flex: none; transition: transform .45s var(--ease-out); }
.pslide__link:hover .pslide__name svg { transform: translateX(.35rem); }
.pslider__bar { display: flex; align-items: center; gap: 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.pslider__progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.pslider__progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.pslider__arrows { display: flex; gap: .6rem; }
.pslider__btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .3s, color .3s, opacity .3s;
}
.pslider__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pslider__btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) {
  .pslide__media { aspect-ratio: 4 / 5; }
  .pslider__btn { width: 2.9rem; height: 2.9rem; }
}

@media (min-width: 861px) and (min-height: 680px) {
  .proj {
    position: sticky; top: calc(var(--top) + var(--i) * var(--bar));
    transform-origin: 50% 0; transform: scale(calc(1 - var(--cover, 0) * .04));
  }
  .proj + .proj { margin-top: 14vh; }
  .proj__body { height: var(--h); opacity: calc(1 - var(--cover, 0) * .6); }
  .proj__media { aspect-ratio: auto; height: 100%; }
}
/* short laptop screens (e.g. Windows at 125-150% scaling): keep the text column inside its card */
@media (min-width: 861px) and (min-height: 680px) and (max-height: 860px) {
  .proj__title { font-size: clamp(1.75rem, 1rem + 3.4vh, 2.6rem); }
  .proj__desc { margin-top: .6rem; font-size: 1rem; line-height: 1.5; }
  .proj__thumbs { margin-top: 1rem; max-width: 14rem; }
  .proj__cta { margin-top: 1.1rem; }
  .proj__page { margin-top: .6rem; }
}
@media (min-width: 861px) and (min-height: 680px) and (max-height: 760px) {
  .proj__thumbs { display: none; }
}

/* clip reveal on enter */
.compare, .strengths__frame { clip-path: inset(0 0 0 0 round var(--radius)); }
[data-scrub] { will-change: clip-path; }

/* =========================================================
   IDEA TO CREATION — a drawing sheet where the Curve House is planned, framed, modelled
   and finally photographed as you scroll (js/idea3d.js)
   ========================================================= */
.idea { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.idea > .container > .section-head { margin-bottom: clamp(1rem, 3vw, 2rem); }
.idea__track { position: relative; }
.js .idea__track { height: 520vh; }
.idea__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: 5.25rem 0 1.25rem;
}
.idea__grid {
  display: grid; grid-template-columns: minmax(14rem, 21rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
}

/* the four steps, threaded on a dimension line that fills as you scroll */
.idea__steps { --p: 0; position: relative; display: grid; gap: clamp(1.1rem, 2.6vh, 2rem); padding-left: 2.25rem; }
.idea__steps::before, .idea__steps::after {
  content: ""; position: absolute; left: .45rem; top: .95rem; bottom: .95rem; width: 1px; background: var(--line);
}
.idea__steps::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--p)); }
.idea__step { position: relative; }
.idea__step::before { /* tick on the line */
  content: ""; position: absolute; left: calc(-2.25rem + .45rem - 6px); top: .95rem; width: 13px; height: 1.5px; margin-top: -.75px;
  background: var(--ink); z-index: 1; transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.idea__step.is-active::before {
  width: 11px; height: 11px; margin: -5.5px 0 0 1px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 5px rgba(247, 165, 18, .2);
}
.idea__step button {
  all: unset; box-sizing: border-box; display: flex; align-items: baseline; gap: .8rem; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.25rem); line-height: 1.1; letter-spacing: -.035em;
  color: var(--faint); transition: color .45s;
}
.idea__step button:hover { color: var(--muted); }
.idea__step button:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.idea__step p { margin-top: .5rem; font-size: 1.0625rem; line-height: 1.5; color: var(--muted); opacity: .45; transition: opacity .45s; max-width: 30ch; }
.idea__step p strong { color: var(--ink); font-weight: 600; }
.idea__step.is-active button { color: var(--ink); }
.idea__step.is-active p { opacity: 1; }
.idea__caption { display: none; }

/* the drawing sheet: outer frame, drawing area on fine grid paper, title block */
.sheet {
  --wipe: 1; margin: 0; justify-self: end; width: min(100%, calc((100vh - 10.5rem) * 1.7778)); width: min(100%, calc((100svh - 10.5rem) * 1.7778));
  padding: 0; border: 0; background: transparent;
}
.js .sheet { --wipe: 0; }
.sheet__view {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #fff;
}
.sheet__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the model can be turned: drag with the mouse, swipe sideways on touch (vertical swipes still scroll) */
.sheet__view { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.sheet__view:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 0; }
.sheet.can-look .sheet__view { cursor: grab; }
.sheet.is-grabbing .sheet__view { cursor: grabbing; }
.sheet__hint, .sheet__reset {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: 0 1rem 0 .8rem;
  border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .9375rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -10px rgba(17, 18, 20, .35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .4s, transform .5s var(--ease-out), visibility 0s .5s;
}
.sheet__hint { left: 1rem; bottom: 1rem; pointer-events: none; }
.sheet__hint svg { color: var(--brand-deep); animation: hintSway 2.2s var(--ease-io) infinite; }
@keyframes hintSway { 0%, 100% { transform: translateX(-2px) rotate(-8deg); } 50% { transform: translateX(2px) rotate(8deg); } }
.sheet__reset { right: 1rem; top: 1rem; border: 0; cursor: pointer; font-family: inherit; }
.sheet__reset:hover { background: var(--ink); color: #fff; }
.sheet.show-hint .sheet__hint, .sheet.show-reset .sheet__reset {
  opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .5s var(--ease-out);
}
.sheet__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* the real ground floor drawing: drawn in left to right (--plan-draw), then fades (--plan-a) as the frame rises */
.sheet__plan { position: absolute; inset: 0; z-index: 1; background: #fff; opacity: var(--plan-a, 0); pointer-events: none; }
.sheet__plan img {
  box-sizing: border-box; width: 100%; height: 100%; padding: 2.5%; object-fit: contain;
  clip-path: inset(0 calc((1 - var(--plan-draw, 1)) * 100%) 0 0);
}
.sheet__tag {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; will-change: transform, opacity;
  margin: -.7em 0 0 0; translate: -50% 0;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.sheet__tag--dim { padding: .1em .4em; background: #fff; letter-spacing: .04em; text-transform: none; font-variant-numeric: tabular-nums; }
.sheet__tag--n { font-size: .8125rem; letter-spacing: 0; }
.sheet__note { position: absolute; left: 0; top: 0; opacity: 0; color: var(--brand-deep); will-change: transform, opacity; }
.sheet__note-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(247, 165, 18, .25); }
.sheet__note-line { position: absolute; left: 0; top: 0; height: 1px; background: currentColor; transform-origin: 0 0; }
.sheet__note-text {
  position: absolute; white-space: nowrap; translate: 0 -55%; padding: 0 .5rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.0625rem, .9rem + .6vw, 1.5rem); line-height: 1;
  text-shadow: 0 0 10px #fff, 0 0 4px #fff, 0 0 1px #fff;
}
.sheet__note-text[data-side="l"] { translate: -100% -55%; }

.sheet__photo { position: absolute; inset: 0; z-index: 3; clip-path: inset(0 calc((1 - var(--wipe)) * 100%) 0 0); }
.sheet__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.84) contrast(1.06); }
.sheet__scan {
  position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--wipe) * 100%); width: 2px; margin-left: -1px;
  background: var(--brand); box-shadow: 0 0 0 5px rgba(247, 165, 18, .18), 0 0 24px rgba(247, 165, 18, .6); opacity: 0; transition: opacity .3s;
}
.sheet.is-wiping .sheet__scan { opacity: 1; }
.sheet__cta { position: absolute; z-index: 5; right: 1rem; bottom: 1rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.js .sheet__cta { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-out), visibility 0s .6s; }
.js .sheet.is-real .sheet__cta { opacity: 1; visibility: visible; transform: none; transition: opacity .5s, transform .6s var(--ease-out); }

.sheet__block {
  display: grid; grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1fr); margin-top: .6rem;
  font-size: .9375rem; line-height: 1.25;
}
.sheet__block > * { padding: .5rem .9rem; min-width: 0; }
.sheet__block > * + * { border-left: 1px solid var(--line); }
.sheet__brand {
  display: flex; align-items: center; gap: .55rem; font-family: var(--mark); font-weight: 900; font-size: .8125rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.sheet__brand img { width: 1.6rem; height: auto; }
.sheet__cell { display: grid; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__cell small { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet__cell b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* no WebGL, or reduced motion: no pinning, the photo is shown */
.idea--static .idea__track, .idea--still .idea__track { height: auto; }
.idea--static .idea__sticky, .idea--still .idea__sticky { position: relative; height: auto; padding: 1rem 0 0; }
.idea--static .sheet { --wipe: 1; }
.idea--static .idea__step button { color: var(--ink); cursor: default; }
.idea--static .idea__step p { opacity: 1; }
.idea--static .idea__steps::after { transform: none; }
.idea--static .sheet__cta { opacity: 1; visibility: visible; transform: none; }

/* =========================================================
   INSIDE, ROOM BY ROOM — sketch → finished rooms
   ========================================================= */
.inside { padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); }
.inside__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.inside .lead { margin-top: 1rem; }
.compare-tabs {
  scrollbar-width: none;
  display: flex; justify-content: center; gap: .5rem; margin: 0 auto 2rem; padding: .4rem; width: max-content; max-width: 100%;
  background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); overflow-x: auto;
}
.compare-tabs button {
  border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: 1.0625rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; transition: background-color .3s, color .3s; white-space: nowrap;
}
.compare-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 1453 / 1081; max-height: 82vh; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; user-select: none; touch-action: pan-y; background: #ddd; width: min(100%, calc(82vh * 1453 / 1081));
}
.compare--single { touch-action: auto; user-select: auto; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .5s; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute; top: 1.25rem; z-index: 2; font-weight: 700; font-size: 1rem; padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(8px);
}
.compare__tag--l { left: 1.25rem; }
.compare__tag--r { right: 1.25rem; background: var(--ink); color: #fff; }
.compare__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 4.25rem; height: 4.25rem; margin: -2.125rem 0 0 -2.125rem;
  display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .4s var(--ease-out);
}
.compare.is-dragging .compare__knob, .compare:hover .compare__knob { transform: scale(1.08); }
.compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__range:focus-visible + * { outline: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--brand); outline-offset: 4px; }

/* =========================================================
   STRENGTHS — sticky image swap
   ========================================================= */
.strengths { padding: clamp(5rem, 10vw, 9rem) 0; }
.strengths__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.strengths__visual { position: sticky; top: 7rem; }
.strengths__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); max-height: calc(100vh - 9rem); width: 100%; }
.strengths__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-out);
}
.strengths__frame img.is-active { opacity: 1; transform: scale(1); }
.strength-items { margin-top: clamp(2.5rem, 5vw, 4rem); }
.strength {
  padding: clamp(3rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line);
  opacity: .35; transition: opacity .6s var(--ease-out);
}
.strength:last-child { border-bottom: 1px solid var(--line); }
.strength.is-active { opacity: 1; }
.strength h3 { font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.15; margin-bottom: .6rem; }
.strength p { color: var(--muted); max-width: 40ch; }

/* the same component, used for "How we work" on the home page: numbered steps */
.strengths--process .strength { display: grid; grid-template-columns: clamp(4rem, 6vw, 6rem) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.strength__num {
  font-family: var(--display); font-size: clamp(2.5rem, 1.8rem + 2.2vw, 4.25rem); font-weight: 500; line-height: .9; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; color: var(--faint); transition: color .7s var(--ease-out);
}
.strength.is-active .strength__num { color: var(--brand-deep); }
.strengths__lead { margin-top: 1.5rem; }
.strengths__link { margin-top: 2.25rem; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: clamp(6rem, 13vw, 12rem) 0; border-top: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.process__head { position: sticky; top: 8rem; }
.process__head .h2 { max-width: 11ch; }
.process__head .lead { margin-top: 1.75rem; max-width: 26ch; }
.process__link { margin-top: 2.25rem; }

.steps { border-bottom: 1px solid var(--line); }
.step {
  position: relative; display: grid; grid-template-columns: clamp(4.5rem, 7vw, 7rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}
.step::before, .step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.step::before { background: var(--line); }
.step::after { background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform 1.3s var(--ease-out); }
.step.is-seen::after { transform: none; }
.step__num {
  font-size: clamp(2.5rem, 1.8rem + 2.2vw, 4.25rem); font-weight: 500; line-height: .9; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; color: var(--faint); transition: color .7s var(--ease-out);
}
.step.is-seen .step__num { color: var(--ink); }
.step.is-active .step__num { color: var(--brand-deep); }
.step h3 { font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.step p { margin-top: .85rem; color: var(--muted); line-height: 1.6; max-width: 34ch; }

/* =========================================================
   INSTAGRAM MARQUEE
   ========================================================= */
.insta { padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; border-top: 1px solid var(--line); }
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.marquee { position: relative; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee a { display: block; width: clamp(15rem, 22vw, 21rem); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; flex: none; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.marquee a:hover img { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

/* =========================================================
   CTA — a big photo with the invitation on the left and a white brief card on the right
   that hangs over the photo's lower edge (js/brief.js writes the WhatsApp message)
   ========================================================= */
.cta { --overhang: clamp(3rem, 7vw, 6rem); --pad: clamp(4.5rem, 8vw, 7rem); background: #fff; padding-top: var(--overhang); }
.cta__stage { position: relative; isolation: isolate; padding: var(--pad) 0; }
.cta__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.cta__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 35% 55%; will-change: transform; }
.cta__media::after { /* keeps the white words readable; the right side stays bright */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, .8) 0%, rgba(17, 18, 20, .55) 40%, rgba(17, 18, 20, .1) 85%),
    linear-gradient(0deg, rgba(17, 18, 20, .35), transparent 45%);
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }

.cta__copy { color: #fff; text-shadow: 0 1px 20px rgba(0, 0, 0, .25); }
.cta .eyebrow { color: rgba(255, 255, 255, .88); }
.cta .eyebrow__line, .cta .eyebrow__line::before, .cta .eyebrow__line::after { background: #fff; }
.cta__title { margin-top: 1.5rem; font-size: clamp(2.75rem, 1.3rem + 3.8vw, 5.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.cta__title em { color: var(--brand); }
.cta__text { margin-top: 1.5rem; font-size: var(--fs-lead); line-height: 1.45; max-width: 30ch; color: rgba(255, 255, 255, .9); }
.cta__contact { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; font-size: 1.125rem; }
.cta__contact li { display: flex; align-items: flex-start; gap: .85rem; line-height: 1.45; }
.cta__contact svg { flex: none; margin-top: .2rem; color: var(--brand); }
.cta__contact a { color: #fff; font-weight: 600; text-decoration: none; }
.cta__contact a:hover, .cta__contact span a { text-decoration: underline; text-underline-offset: .2em; }

/* the brief: a white card with four big, easy questions */
.brief {
  position: relative; display: grid; gap: 1.75rem; align-content: start;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 90px -35px rgba(17, 18, 20, .5);
  align-self: start; margin-top: calc(-1 * (var(--pad) + var(--overhang)));   /* rises above the photo's top edge */
}
.brief__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.brief__head { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.brief__title { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.brief__sub { margin-top: .45rem; font-size: 1rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 601px) {
  .brief { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .brief > * { grid-column: 1 / -1; }
  .brief > .brief__q--half { grid-column: auto; }
}
.brief__q legend, .brief__name > span {
  display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: .55rem;
  font-family: var(--display); font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px;
  font-weight: 600; font-size: .975rem; color: var(--ink-2); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--faint);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-out);
}
.chip--check span::before { /* tick box */
  content: ""; width: 1.15rem; height: 1.15rem; border-radius: .3rem; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .7;
  background: center / .8rem no-repeat;
}
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip--check input:checked + span::before {
  opacity: 1; box-shadow: none; background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }
.brief__name { display: block; }
.brief__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.brief__contact legend { margin-bottom: .55rem; }
.brief__contact .brief__name > span { font-family: var(--font); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-bottom: .3rem; }
@media (max-width: 600px) { .brief__contact { grid-template-columns: minmax(0, 1fr); } }
.brief__name small { font-family: var(--font); font-size: .9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.brief__name input {
  width: 100%; min-height: 2.85rem; padding: 0 1.1rem; border: 0; border-radius: 999px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--faint); transition: box-shadow .3s;
}
.brief__name input::placeholder { color: var(--muted); }
.brief__name input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.brief__send { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.25rem; padding-top: clamp(.9rem, 1.6vw, 1.2rem); border-top: 1px solid var(--line); }
.brief__alt { color: var(--muted); }
.brief__alt a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }
.btn--brand { background: var(--brand); color: var(--ink); }
.btn--brand::after { background: var(--ink); }
.btn--brand:hover { color: #fff; }

/* =========================================================
   FOOTER — soft warm ground, the wordmark fading into it, and a credit line
   ========================================================= */
.footer { background: var(--soft); padding: clamp(4.5rem, 8vw, 7rem) 0 1.75rem; overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(2.5rem, 4vw, 4rem);
}
.footer__logo { display: inline-block; }
.footer__logo { text-decoration: none; }
.footer__word .brand__gs { font-size: 4rem; }
.footer__word .brand__sub { margin-top: .2rem; font-size: 1.15rem; }
.footer__logo:hover .brand__word { transform: scale(1.04); }
.footer__brand p { margin-top: 1.5rem; color: var(--muted); max-width: 25rem; line-height: 1.6; font-size: 14px; }
.footer__social { display: flex; gap: .65rem; margin-top: 1.75rem; }
.footer__social a {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.footer__social a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.footer__col { display: grid; align-content: start; gap: .75rem; font-size: 1.125rem; }
.footer__col h3, .footer__visit h3 {
  font-family: var(--font); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: .6rem;
}
.footer__col a { text-decoration: none; width: max-content; max-width: 100%; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer__col address { font-style: normal; line-height: 1.6; }
.footer__col .link-arrow { margin-top: .35rem; font-size: 1.0625rem; text-decoration: underline; }
.footer__reach { display: grid; gap: .7rem; }
.footer__reach li { display: flex; align-items: center; gap: .75rem; }
.footer__reach svg { flex: none; color: var(--brand-deep); }
.footer__reach a { font-weight: 600; }

/* wide map strip under the columns, the address on a white card */
.footer__map {
  position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); height: clamp(16rem, 24vw, 21rem);
  overflow: hidden; background: #e9e7e2; box-shadow: inset 0 0 0 1px var(--line);
}
.footer__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.footer__visit { /* full-height panel on the left; it also hides Google's own corner buttons */
  position: absolute; left: 0; top: 0; bottom: 0; width: min(23rem, 42%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 1.5rem clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; box-shadow: 1px 0 0 var(--line), 12px 0 30px -18px rgba(17, 18, 20, .3);
}
.footer__visit address { font-style: normal; line-height: 1.6; font-size: 1.0625rem; }
.footer__visit .btn { margin-top: 1.1rem; }
.footer__big { font-family: var(--display); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.625rem); font-weight: 700; letter-spacing: -.01em; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--faint); color: var(--muted); font-size: 1rem;
}
.footer__credit { color: var(--muted); text-decoration: none; transition: color .3s; }
.footer__credit strong { color: var(--ink); font-weight: 700; }
.footer__credit [role="img"] { display: inline-block; margin: 0 .2em; }
.footer__credit:hover { color: var(--ink); }
.footer__credit:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.to-top { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.to-top svg {
  box-sizing: content-box; padding: .55rem; border-radius: 50%; background: var(--ink); color: #fff;
  transition: transform .4s var(--ease-out);
}
.to-top:hover svg { transform: translateY(-3px); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: #fff; display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__bar { display: flex; align-items: center; gap: 1.5rem; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.lightbox__title { font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; margin-right: auto; }
.lightbox__count { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__close {
  display: inline-flex; align-items: center; gap: .5rem; border: 0; background: var(--ink); color: #fff;
  min-height: 3rem; padding: 0 1.25rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.lightbox__stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1.5rem var(--gutter); min-height: 0; }
.lightbox__figure { margin: 0; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .35s, transform .6s var(--ease-out); }
.lightbox__figure img.is-swapping { opacity: 0; transform: scale(.98); }
.lightbox__nav {
  width: 4rem; height: 4rem; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--soft); color: var(--ink); transition: background-color .3s, transform .4s var(--ease-out);
}
.lightbox__nav:hover { background: var(--brand); transform: scale(1.06); }
.lightbox__thumbs { display: flex; gap: .6rem; padding: 0 var(--gutter) 1.25rem; overflow-x: auto; justify-content: center; }
.lightbox__thumbs button { flex: none; width: 5.5rem; height: 4.25rem; border: 0; padding: 0; overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .3s; outline-offset: 2px; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--ink); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   CUSTOM CURSOR (desktop, on project cards)
   ========================================================= */
.cursor {
  position: fixed; z-index: 80; left: 0; top: 0; width: 6.5rem; height: 6.5rem; margin: -3.25rem 0 0 -3.25rem;
  border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 1.0625rem; pointer-events: none; scale: 0; transition: scale .45s var(--ease-out);
}
.cursor.is-on { scale: 1; }

/* =========================================================
   REVEALS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.nav > a[aria-current="page"]::after, .nav__trigger[aria-current="page"]::after { transform: scaleX(1); }

/* page hero: a full-screen photo with the heading, intro and key figures set on its lower edge */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh; padding: 8rem 0 clamp(1.75rem, 3.5vw, 3rem); color: #fff; background: var(--ink);
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__media img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 62%;
  transform: scale(1.14); will-change: transform;
}
.is-loaded .page-hero__media img { transform: translate3d(0, var(--drift, 0px), 0) scale(1); transition: transform 2.6s var(--ease-out); }
.page-hero.is-settled .page-hero__media img { transition: none; }
.page-hero__media::after { /* dark at the top for the menu, darker at the bottom for the words */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 18, 20, .5) 0%, rgba(17, 18, 20, .05) 20%, rgba(17, 18, 20, .2) 34%, rgba(17, 18, 20, .62) 60%, rgba(17, 18, 20, .9) 100%),
    linear-gradient(90deg, rgba(17, 18, 20, .5), rgba(17, 18, 20, 0) 65%);
}
.page-hero__inner { text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.page-hero .eyebrow { color: rgba(255, 255, 255, .9); }
.page-hero .eyebrow__line, .page-hero .eyebrow__line::before, .page-hero .eyebrow__line::after { background: #fff; }
.page-hero__title {
  font-size: clamp(3.25rem, 1.2rem + 7vw, 9rem); line-height: .98; font-weight: 700; letter-spacing: -.045em;
  display: flex; flex-wrap: wrap; column-gap: .22em;
}
.page-hero__title em { letter-spacing: -.01em; color: var(--brand); }
.page-hero__title .line { display: inline-block; overflow: hidden; padding: .06em .02em .2em; margin: -.06em 0 -.2em; }
.page-hero__title .line > span { display: inline-block; transform: translateY(140%); }
.is-loaded .page-hero__title .line > span { transform: none; transition: transform 1.5s var(--ease-out); }
.is-loaded .page-hero__title .line:nth-child(1) > span { transition-delay: .2s; }
.is-loaded .page-hero__title .line:nth-child(2) > span { transition-delay: .32s; }
.is-loaded .page-hero__title .line:nth-child(3) > span { transition-delay: .44s; }
.page-hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.is-loaded .page-hero__foot { transition-delay: .8s; }
.page-hero__lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 40ch; color: rgba(255, 255, 255, .9); text-wrap: pretty; }
.page-hero__down {
  display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem;
}
.page-hero__down svg {
  box-sizing: content-box; padding: .8rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out); animation: heroNudge 2.4s var(--ease-io) 2.5s infinite;
}
.page-hero__down:hover svg { background: #fff; color: var(--ink); }
@keyframes heroNudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(5px); } }
.page-hero__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.is-loaded .page-hero__facts { transition-delay: 1s; }
.page-hero__facts li { display: grid; align-content: start; gap: .3rem; padding: 1.25rem 1.5rem 0 0; }
.page-hero__facts li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.page-hero__facts b {
  font-family: var(--display); font-size: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); font-weight: 700; letter-spacing: -.045em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.page-hero__facts i { font-family: var(--serif); font-weight: 400; font-size: .6em; margin: 0 .12em; color: var(--brand); letter-spacing: 0; }
.page-hero__facts li > span { color: rgba(255, 255, 255, .78); font-size: 1rem; line-height: 1.35; }

/* the menu sits on the photo until the page scrolls past it */
.has-photo-hero .site-header:not(.is-solid):not(.is-mega) :is(.nav > a, .nav__trigger) { color: #fff; }
.has-photo-hero .site-header:not(.is-solid):not(.is-mega) .header-cta { background: #fff; color: var(--ink); }
.has-photo-hero .site-header:not(.is-solid):not(.is-mega) :is(.brand__word, .brand__sub) { color: #fff; }

/* who we are: the statement lights up word by word, the longer story sits beside it */
.story { padding: clamp(5rem, 10vw, 9rem) 0 clamp(5rem, 9vw, 8rem); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.story__text { display: grid; gap: 1.25rem; color: var(--ink-2); max-width: 44ch; }

/* leadership: two principals and the wider team */
.leaders { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.leaders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 60rem; margin-inline: auto; }
.leader__portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  background: var(--soft) url("../assets/img/brand/gs-mark.webp") right 1.25rem bottom 1.25rem / 2.5rem auto no-repeat;
}
.leader__portrait span {
  font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 3rem + 6vw, 9rem); line-height: 1; color: var(--ink);
  transition: transform 1.2s var(--ease-out);
}
.leader:hover .leader__portrait span { transform: scale(1.05); }
.leader__portrait--photo { background: var(--soft); }
.leader__portrait--photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.leader__name { margin-top: 1.5rem; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.leader__role { margin-top: .4rem; color: var(--muted); }
.leader__link { margin-top: .9rem; font-size: 1.0625rem; }
.leader__portrait--photo img[src*="/team/"] { top: 0; height: 100%; transition: scale 1.2s var(--ease-out); }
.leader:hover .leader__portrait--photo img[src*="/team/"] { scale: 1.04; }

/* meet the team: photo cards, four across, name and role set on a dark fade at the bottom */
.team { padding: 0 0 clamp(5rem, 9vw, 8rem); }
/* a wrapping row, so a short last row sits in the middle */
.team__grid { --cols: 4; --gap: clamp(1rem, 2.4vw, 2.25rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.team__grid > .member { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
/* desktop: four cards on the first row, then rows of three, each shifted half a card so it sits centred */
@media (min-width: 1101px) {
  .team__grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); }
  .team__grid > .member { grid-column: span 6; }
  .team__grid > .member:nth-child(3n + 5) { grid-column: 4 / span 6; }
}
.member { position: relative; aspect-ratio: 20 / 21; overflow: hidden; background: var(--soft); isolation: isolate; }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 100%; transition: scale 1.2s var(--ease-out); }
.member:hover img { scale: 1.05; }
.member::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(14, 14, 16, 0) 48%, rgba(14, 14, 16, .04) 55%, rgba(14, 14, 16, .14) 62%, rgba(14, 14, 16, .34) 70%, rgba(14, 14, 16, .62) 80%, rgba(14, 14, 16, .88));
}
.member__info { position: absolute; z-index: 2; left: clamp(1.25rem, 2.4vw, 2.25rem); right: 1rem; bottom: clamp(1rem, 2vw, 1.9rem); color: #fff; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 1.1vw, 2.35rem); line-height: 1.05; letter-spacing: -.005em; }
.member__role { margin-top: .5rem; font-size: clamp(.8rem, .7rem + .3vw, 1rem); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .88); line-height: 1.4; }
/* on devices with a mouse the role stays hidden until the card is hovered or focused */
@media (hover: hover) {
  .member__role { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
    transition: max-height .5s var(--ease-out), margin-top .5s var(--ease-out), opacity .4s, transform .5s var(--ease-out); }
  .member:hover .member__role, .member:focus-within .member__role { max-height: 4rem; margin-top: .5rem; opacity: 1; transform: none; }
}
/* a team member whose photo hasn't arrived yet: their initial on the plain card */
.member__initial {
  position: absolute; inset: 0 0 22% 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(5rem, 3rem + 5vw, 8rem); line-height: 1; color: var(--faint);
}
/* the two principals use the same card, taller */
.member--leader { aspect-ratio: 4 / 5; }
.member__role a { color: inherit; text-decoration: none; }
.member__role a:hover { color: #fff; }
@media (max-width: 1100px) { .team__grid { --cols: 3; } }
@media (max-width: 600px) { .leaders__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .team__grid { --cols: 1; } }

/* four services as photo tiles */
.roof { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.roof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.tile { display: block; text-decoration: none; }
.tile__frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.tile__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile__frame img { transform: scale(1.06); }
.tile__title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
}
.tile__title span { transition: transform .5s var(--ease-out); }
.tile:hover .tile__title span { transform: translateX(4px); color: var(--brand-deep); }
.tile__text { display: block; margin-top: .75rem; color: var(--muted); line-height: 1.45; }

/* press logos */
.press { padding: clamp(4rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); text-align: center; }
.press__title {
  font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.press__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem clamp(1rem, 4vw, 4rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.press__logos img { width: 100%; max-width: 15rem; height: auto; margin: 0 auto; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.press__logos li:hover img { filter: none; opacity: 1; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass::after { background: #fff; }
.btn--glass:hover { color: var(--ink); }
.page-hero__reach {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.1fr); margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.is-loaded .page-hero__reach { transition-delay: 1s; }
.page-hero__reach li { display: grid; align-content: start; gap: .2rem; padding: 1.25rem 1.5rem 0 0; min-width: 0; }
.page-hero__reach li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.page-hero__label { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .3rem; }
.page-hero__reach a {
  color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere;
}
.page-hero__reach a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* brief: the copy and three steps on the left, the white question card on the right */
.brief-page { padding: clamp(5rem, 10vw, 9rem) 0; scroll-margin-top: 3rem; }
.brief-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.brief-page__copy { position: sticky; top: 7rem; }
.brief-page__copy .h2 { max-width: 12ch; }
.brief-page__copy .lead { margin-top: 1.5rem; }
.brief-page__how { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.brief-page__how li { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.brief-page__how li > span {
  flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brand); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.125rem;
}
.brief-page__how p { color: var(--muted); line-height: 1.5; padding-top: .3rem; }
.brief-page__how strong { color: var(--ink); font-weight: 600; }
.brief-page .brief { margin: 0; box-shadow: 0 40px 90px -45px rgba(17, 18, 20, .45), inset 0 0 0 1px var(--line); }

/* visit: a big map with the address on a white card */
.visit { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.visit__map { position: relative; height: clamp(30rem, 70vh, 44rem); overflow: hidden; background: #e9e7e2; box-shadow: inset 0 0 0 1px var(--line); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__card {
  position: absolute; left: clamp(1rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); width: min(26rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; box-shadow: 0 30px 70px -30px rgba(17, 18, 20, .45);
}
.visit__card img { width: 3rem; height: auto; }
.visit__card h3 { margin-top: 1.25rem; font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.1; }
.visit__card address { margin-top: .9rem; font-style: normal; line-height: 1.6; font-size: 1.125rem; }
.visit__tip { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; line-height: 1.5; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.page-contact .footer__map { display: none; }   /* this page already has the big map */

/* questions */
.faq { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.faq__grid .h2 { max-width: 9ch; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--brand); box-shadow: none; }
.faq__item summary:hover::after { box-shadow: inset 0 0 0 1.5px var(--ink); }
.faq__item p { padding: 0 3.5rem 1.75rem 0; color: var(--muted); line-height: 1.6; max-width: 52ch; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.page-hero__jump a { display: grid; gap: .1rem; font-family: var(--font); font-weight: 500; }
.page-hero__jump .page-hero__label { margin-bottom: .2rem; transition: color .3s; }
.page-hero__jumptext { font-family: var(--serif); font-style: italic; font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); line-height: 1.2; color: #fff; }
.page-hero__jump a:hover { text-decoration: none; }
.page-hero__jump a:hover .page-hero__label { color: #fff; }

/* one row per service: a square photo with the words beside it, sides swapping row to row */
.chapters { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center;
  scroll-margin-top: 2rem;
}
.chapter + .chapter { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.chapter--flip .chapter__body { grid-column: 2; grid-row: 1; }
.chapter--flip .chapter__media { grid-column: 1; grid-row: 1; }
.chapter__title { font-size: clamp(2.75rem, 1.3rem + 4vw, 5.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.chapter__text { margin-top: 1.25rem; color: var(--ink-2); line-height: 1.6; max-width: 46ch; }
.chapter .svc__tagline + .chapter__text { margin-top: 1.75rem; }
.chapter__sub { margin-top: 2.25rem; font-family: var(--font); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.chapter .svc__list { margin-top: 1.75rem; }
.chapter__cta { margin-top: 2rem; }
.chapter__big { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.chapter__big img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* projects of every size */
.sizes { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.sizes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.sizes__grid li { padding: 1.75rem 1.5rem 0 0; }
.sizes__grid li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.sizes__grid h3 { font-size: var(--fs-h3); letter-spacing: -.03em; line-height: 1.1; }
.sizes__grid p { margin-top: .75rem; color: var(--muted); line-height: 1.55; }

/* =========================================================
   SINGLE SERVICE PAGES (architecture, construction, interiors, consultancy)
   ========================================================= */
.chapter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

.crumbs { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.5rem; font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .25em; }
.crumbs span[aria-hidden] { color: rgba(255, 255, 255, .5); }

/* the four things included, ticked, along the bottom of the hero */
.page-hero__checks {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.is-loaded .page-hero__checks { transition-delay: 1s; }
.page-hero__checks li {
  display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.25rem 0 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.0625rem, .95rem + .4vw, 1.3125rem); line-height: 1.25; letter-spacing: -.01em;
}
.page-hero__checks li + li { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.page-hero__checks li::before {
  content: ""; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .95rem no-repeat;
}

/* what we do: four cards on the soft ground */
.scope { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--soft); }
.scope__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.scope__item { padding: clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.scope__item:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(17, 18, 20, .35); }
.scope__item::before {
  content: ""; display: block; width: 2.75rem; height: 2.75rem; margin-bottom: 1.5rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 1.25rem no-repeat;
}
.scope__item h3 { font-size: clamp(1.375rem, 1.15rem + .6vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; }
.scope__item p { margin-top: .75rem; color: var(--muted); line-height: 1.55; }

/* selected work: a bento of six photos */
.gallery { padding: clamp(5rem, 9vw, 8rem) 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 17vw, 16rem); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.gallery__item { margin: 0; overflow: hidden; background: var(--soft); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(2), .gallery__item:nth-child(5), .gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
/* upright site photos: six equal portrait frames, three to a row */
.gallery__grid.gallery__grid--tall { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.gallery__grid--tall .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .gallery__grid.gallery__grid--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* five photos: one large, two wide stacked beside it, two wide below */
.gallery__grid--5 .gallery__item:nth-child(n) { grid-column: span 2; grid-row: auto; }
.gallery__grid--5 .gallery__item:nth-child(1) { grid-row: span 2; }
/* four photos: one large, one tall, two stacked */
.gallery__grid--4 .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
.gallery__grid--4 .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__grid--4 .gallery__item:nth-child(2) { grid-row: span 2; }
.page-consultancy .inside { border-top: 0; }
.page-service .process { background: #fff; }
.roof__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roof__grid--3 .tile__frame { aspect-ratio: 4 / 3; }
.roof__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roof__grid--2 .tile__frame { aspect-ratio: 16 / 10; }
.page-hero__reach--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* =========================================================
   PROJECTS: listing pages (residential, commercial) and the project page template
   ========================================================= */
.crumbs > span:first-child:not([aria-hidden]) { color: var(--brand); }

/* facts along the bottom of a project hero */
.page-hero__facts--dl { margin-bottom: 0; }
.page-hero__facts--dl > div { display: grid; align-content: start; gap: .25rem; padding: 1.25rem 1.5rem 0 0; min-width: 0; }
.page-hero__facts--dl > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .28); }
.page-hero__facts--dl dt { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.page-hero__facts--dl dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .45vw, 1.4375rem); line-height: 1.25; letter-spacing: -.01em; }

/* overview: the project's facts as a small table under the text */
.pj-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 1rem 0 0; border-top: 1px solid var(--ink); }
.pj-facts > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.pj-facts > div:nth-child(odd) { padding-right: 1rem; }
.pj-facts dt { font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pj-facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--ink); }

/* photo story: wide photos run full width, tall ones in pairs */
.pj-gallery { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.pj-row + .pj-row { margin-top: clamp(.75rem, 1.5vw, 1.25rem); }
.pj-row--pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.pj-shot { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; overflow: hidden; cursor: pointer; background: var(--soft); }
.pj-shot:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.pj-shot--full { aspect-ratio: 16 / 9; }
.pj-shot--half { aspect-ratio: 4 / 5; }
.pj-shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.pj-shot--full img { position: absolute; left: 0; top: -8%; height: 116%; will-change: transform; }
.pj-shot:hover img { scale: 1.04; }

/* highlights and the services used */
.pj-highlights { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--soft); }
.pj-highlights__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.pj-highlights .svc__list { margin-top: 2rem; border-top-color: var(--faint); }
.pj-highlights .chapter__sub { margin: 0 0 1rem; }
.pj-svcs { display: grid; gap: .75rem; }
.pj-svc {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: #fff;
  text-decoration: none; color: var(--ink); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pj-svc:hover { transform: translateY(-3px); box-shadow: 0 25px 50px -30px rgba(17, 18, 20, .35); }
.pj-svc span { display: grid; gap: .15rem; }
.pj-svc b { font-family: var(--display); font-size: 1.375rem; letter-spacing: -.02em; }
.pj-svc small { color: var(--muted); font-size: 1rem; }
.pj-svc svg { flex: none; transition: transform .45s var(--ease-out); }
.pj-svc:hover svg { transform: translateX(4px); color: var(--brand-deep); }

/* next project: a full-width photo band */
.pj-next + .cta { margin-top: clamp(3rem, 6vw, 5rem); }
.pj-next__link { position: relative; display: flex; align-items: flex-end; min-height: clamp(24rem, 62vh, 40rem); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.pj-next__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.pj-next__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transition: scale 1.4s var(--ease-out); will-change: transform; }
.pj-next__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 18, 20, .1) 30%, rgba(17, 18, 20, .78)); }
.pj-next__link:hover .pj-next__media img { scale: 1.05; }
.pj-next__text { display: grid; gap: .5rem; padding-top: 3rem; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.pj-next__label { font-size: .9375rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pj-next__name {
  display: flex; align-items: center; gap: .3em; font-family: var(--display); font-size: clamp(2.5rem, 1.2rem + 4.5vw, 6rem);
  font-weight: 700; line-height: 1; letter-spacing: -.045em;
}
.pj-next__name svg { flex: none; width: .7em; height: .7em; transition: transform .6s var(--ease-out); }
.pj-next__link:hover .pj-next__name svg { transform: translateX(.15em); }

/* listing: a staggered two-column grid of large project cards */
.plist-intro { padding-bottom: clamp(2rem, 4vw, 3rem); }
.plist-intro .statement__text { max-width: 30ch; }
.plist { padding: clamp(2rem, 4vw, 3rem) 0 clamp(5rem, 10vw, 9rem); }
.plist__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem); }
.plist__item:nth-child(even) { margin-top: clamp(4rem, 10vw, 9rem); }
.plist__card { display: grid; text-decoration: none; color: var(--ink); }
.plist__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.plist__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.plist__card:hover .plist__media img { transform: scale(1.05); }
.plist__meta { margin-top: 1.4rem; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.plist__name {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--ink);
  font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em;
}
.plist__name svg { flex: none; transition: transform .5s var(--ease-out); }
.plist__card:hover .plist__name svg { transform: translateX(5px); color: var(--brand-deep); }
.plist__desc { margin-top: 1rem; color: var(--muted); line-height: 1.55; max-width: 44ch; }
.plist__count { margin-top: .75rem; font-weight: 600; font-size: 1rem; }
.plist__note {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1rem; height: 100%; min-height: 24rem;
  padding: clamp(2rem, 4vw, 3.5rem); background: var(--soft);
}
.plist__notetitle { font-family: var(--display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.plist__note p:not([class]) { color: var(--muted); max-width: 34ch; }

/* =========================================================
   BLOG: listing (blog.html) and the article template
   ========================================================= */
.page-hero--blog .page-hero__title { font-size: clamp(2.5rem, 1rem + 5vw, 6.5rem); max-width: 18ch; }
.page-blog-list .page-hero__title { font-size: clamp(3.25rem, 1.2rem + 7vw, 9rem); max-width: none; }

/* cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.blog-card[hidden], .blog-grid:not(.is-filtered) .blog-card--feat { display: none; }
.blog-card a { display: grid; text-decoration: none; color: var(--ink); }
.blog-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.blog-card a:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__meta { margin-top: 1.1rem; font-size: .9375rem; color: var(--muted); }
.blog-card__meta b { font-weight: 700; color: var(--brand-deep); }
.blog-card__title {
  margin-top: .5rem; font-family: var(--display); font-size: clamp(1.375rem, 1.1rem + .7vw, 1.75rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -.025em; text-wrap: balance;
}
.blog-card__excerpt { margin-top: .7rem; color: var(--muted); line-height: 1.55; }
.blog-card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 600; }
.blog-card__more svg { transition: transform .45s var(--ease-out); }
.blog-card a:hover .blog-card__more svg { transform: translateX(4px); color: var(--brand-deep); }

/* featured (latest) article */
.blog-feature { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.blog-feature[hidden] { display: none; }
.blog-feature__card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; text-decoration: none; color: var(--ink); }
.blog-feature__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.blog-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.blog-feature__card:hover .blog-feature__media img { transform: scale(1.04); }
.blog-feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.blog-feature__label { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.blog-feature__body .blog-card__meta { margin-top: .9rem; }
.blog-feature__title { margin-top: .6rem; font-family: var(--display); font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.blog-feature__body .blog-card__excerpt { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; }
.blog-feature__body .btn { margin-top: 1.75rem; }

/* list + topic filters */
.blog-list { padding: clamp(5rem, 9vw, 8rem) 0; }
.blog-list__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-filters button {
  min-height: 3rem; padding: 0 1.25rem; border: 0; border-radius: 999px; cursor: pointer; background: #fff;
  font-weight: 600; font-size: 1.0625rem; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .3s, color .3s, box-shadow .3s;
}
.blog-filters button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.blog-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.blog-empty { margin-top: 1rem; color: var(--muted); }
.blog-more { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }

/* the article: a comfortable reading column */
.post { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.post__body, .post__share { max-width: 46rem; margin: 0 auto; }
.post__body { font-size: clamp(1.125rem, 1.05rem + .25vw, 1.25rem); line-height: 1.75; color: var(--ink-2); }
.post__body > * + * { margin-top: 1.25em; }
.post__body > p:first-child { font-size: 1.2em; line-height: 1.6; color: var(--ink); }
.post__body h2 { margin-top: 2.2em; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.post__body h2 + p { margin-top: .75em; }
.post__body a { color: var(--ink); font-weight: 600; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.post__body a:hover { color: var(--brand-deep); }
.post__body strong { color: var(--ink); }
.post__body ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.post__body li { position: relative; padding-left: 2.1rem; }
.post__body li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .8rem no-repeat;
}
.post__body blockquote {
  margin: 2em 0; padding: .25em 0 .25em 1.5rem; border-left: 3px solid var(--brand);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.2; color: var(--ink);
}
.post__body figure { margin: 2.25em 0; }
@media (min-width: 1081px) { .post__body figure { margin-left: -6rem; margin-right: -6rem; } }
.post__body figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.post__body figcaption { margin-top: .75rem; font-size: 1rem; color: var(--muted); }
/* table of contents: a progress timeline. Numbered sections sit on a line that fills in amber as you read; the current
   section is marked. Large screens: a sticky sidebar. Smaller screens: a slim bar that sticks under the menu (current
   section, time left, progress) and opens to the full timeline. main.js drives --fill, the dots and the counter. */
.post__layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.post__body h2 { scroll-margin-top: 6.5rem; }
.toc { --dot: 1rem; --rail: calc(var(--dot) / 2 - 1px); position: relative; }
.toc__bar { display: flex; align-items: center; gap: .75rem; list-style: none; }
.toc__bar::-webkit-details-marker { display: none; }
.toc__label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); white-space: nowrap; }
.toc__left { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.toc__left.is-done { color: var(--brand-deep); }
.toc__current { display: none; }
.toc__progress { display: none; }

.toc__list { position: relative; display: grid; gap: .15rem; margin-top: 1.25rem; }
.toc__list::before, .toc__list::after { /* the rail, and its amber fill */
  content: ""; position: absolute; left: var(--rail); top: calc(var(--dot) / 2 + .55rem); width: 2px; border-radius: 2px;
}
.toc__list::before { bottom: calc(var(--dot) / 2 + .55rem); background: var(--line); }
.toc__list::after { height: var(--fill, 0px); background: var(--brand); transition: height .35s var(--ease-out); }
.toc__item a {
  position: relative; display: grid; grid-template-columns: var(--dot) auto minmax(0, 1fr); align-items: start; gap: 0 .85rem;
  padding: .55rem .5rem .55rem 0; text-decoration: none; color: var(--muted); line-height: 1.35; transition: color .3s;
}
.toc__item a::before { /* the dot */
  content: ""; position: relative; z-index: 1; width: var(--dot); height: var(--dot); margin-top: .1rem; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--faint); transition: background-color .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.toc__num { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--faint); padding-top: .12rem; transition: color .3s; }
.toc__text { font-size: 1rem; }
.toc__item a:hover { color: var(--ink); }
.toc__item a:hover::before { box-shadow: inset 0 0 0 2px var(--ink); }
.toc__item.is-done a::before { background: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.toc__item.is-done .toc__num { color: var(--brand-deep); }
.toc__item.is-active a { color: var(--ink); }
.toc__item.is-active a::before { background: var(--brand); box-shadow: 0 0 0 5px rgba(247, 165, 18, .22), inset 0 0 0 2px var(--brand); transform: scale(1.1); }
.toc__item.is-active .toc__num { color: var(--brand-deep); }
.toc__item.is-active .toc__text { font-weight: 700; }

/* large screens: the timeline sits beside the text and stays in view */
@media (min-width: 1200px) {
  .post__layout { grid-template-columns: minmax(13rem, 16rem) minmax(0, 46rem); justify-content: center; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .toc { position: sticky; top: 7rem; }
  .toc__bar { padding-bottom: .9rem; border-bottom: 1px solid var(--line); cursor: default; pointer-events: none; }
  .post__body figure { margin-left: 0; margin-right: 0; }   /* the sidebar takes the room the photos used to spread into */
}

/* smaller screens: a slim bar that sticks under the menu and opens to the full timeline */
@media (max-width: 1199px) {
  .toc {
    position: sticky; z-index: 20; top: calc(5rem + .5rem); width: 100%; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3rem);
    background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(17, 18, 20, .35); transition: top .6s var(--ease-out);
  }
  body:has(.site-header.is-hidden) .toc { top: .5rem; }
  .post__body h2 { scroll-margin-top: 10.5rem; }   /* clear of the menu and the sticky contents bar */
  .toc__bar { position: relative; flex-wrap: wrap; gap: .1rem .75rem; padding: .8rem 1rem .95rem; cursor: pointer; }
  .toc__bar::after {
    content: ""; flex: none; width: 1.1rem; height: 1.1rem; transition: transform .4s var(--ease-out);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111214' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .toc[open] .toc__bar::after { transform: rotate(180deg); }
  .toc__current {
    display: block; order: 3; flex: 1 0 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; color: var(--ink);
  }
  .toc[open] .toc__current { display: none; }
  .toc__progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
  .toc__progress i { display: block; height: 100%; width: calc(var(--read, 0) * 100%); background: var(--brand); transition: width .25s linear; }
  .toc__list { margin: 0; padding: .6rem 1rem 1rem; max-height: min(26rem, 60vh); overflow-y: auto; border-top: 1px solid var(--line); }
  .toc__list::before, .toc__list::after { left: calc(1rem + var(--rail)); top: calc(.6rem + var(--dot) / 2 + .55rem); }
  .toc__list::before { bottom: calc(1rem + var(--dot) / 2 + .55rem); }
}
@media (max-width: 640px) {
  .toc { top: calc(4.25rem + .5rem); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); width: auto; }
}
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.post__body .figure-pair img { aspect-ratio: 4 / 5; }
.figure-pair figcaption { grid-column: 1 / -1; }

.post__share { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: clamp(3rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post__share > span { margin-right: .5rem; font-weight: 600; }
.post__share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 3rem; height: 3rem; padding: 0 .9rem;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--soft); color: var(--ink); text-decoration: none; font: inherit; font-weight: 600; font-size: 1rem;
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.post__share-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page-hero__facts--dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__facts--dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero__facts--dl > div:nth-child(n+3) { padding-top: 1rem; }
  .page-hero__facts--dl > div:nth-child(-n+2) { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .28); }
  .roof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__checks li:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero__checks li:nth-child(n+3) { padding-top: 1rem; }
  .page-hero__checks li:nth-child(-n+2) { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .28); }
  .scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sizes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sizes__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sizes__grid li:nth-child(n+3) { padding-top: 2rem; }
  .sizes__grid li:nth-child(-n+2) { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .page-hero__reach li:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero__reach li:nth-child(n+3) { padding-top: 1rem; }
  .page-hero__reach li:nth-child(-n+2) { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .28); }
}

@media (max-width: 860px) {
  .about { gap: 3rem; }
  .services__head { grid-template-columns: 1fr; }
  .svc, .svc--flip { grid-template-columns: minmax(0, 1fr); gap: 3.75rem; }
  .svc + .svc { margin-top: 6.5rem; }
  .svc__media, .svc--flip .svc__media { grid-column: 1; grid-row: 1; margin-right: 6%; }
  .svc--flip .svc__media { margin: 0 0 0 6%; }
  .svc__body, .svc--flip .svc__body { grid-column: 1; grid-row: 2; }
  .svc__frame { aspect-ratio: 5 / 4; }
  .svc__inset { width: 34%; right: -4%; bottom: -6%; border-width: 6px; }
  .svc__media::before { left: -.75rem; bottom: -.75rem; }
  .svc--flip .svc__media::before { left: auto; right: -.75rem; }
  .svc__media::after { right: -.6rem; top: -.6rem; }
  .svc--flip .svc__media::after { right: auto; left: -.6rem; }
  .svc--flip .svc__inset { left: -4%; }
  /* phones: the photo sits behind the words only, and the card overlaps its lower edge */
  .cta { --overhang: 0px; padding-top: 0; padding-bottom: clamp(3.5rem, 9vw, 5rem); }
  .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cta__stage { padding: 0; }
  .cta__copy { position: relative; padding: clamp(4.5rem, 14vw, 6rem) 0 6rem; }
  .cta__media { inset: 0 calc(-1 * var(--gutter)); }
  .cta__media img { object-position: 62% 50%; }
  .cta__media::after { background: linear-gradient(180deg, rgba(17, 18, 20, .6) 0%, rgba(17, 18, 20, .72) 100%); }
  .brief { margin-top: -3rem; }
  .proj__body { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .proj__cat { display: none; }
  .proj__bar { gap: .9rem; font-size: .875rem; letter-spacing: .1em; padding: .6rem 0; }
  .proj__thumbs { max-width: none; }
  .strengths__grid { grid-template-columns: 1fr; }
  .strengths__visual { position: relative; top: auto; }
  .strengths__frame { aspect-ratio: 4 / 3; max-height: none; }
  .strength { opacity: 1; }
  .process__grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .process__head { position: static; }
  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero__facts li:nth-child(n+3) { padding-top: 1rem; }
  .page-hero__facts li:nth-child(-n+2) { padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .28); }
  .page-hero__media img { object-position: 50% 55%; }
  .brief-page__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .brief-page__copy { position: static; }
  .pj-highlights__grid { grid-template-columns: minmax(0, 1fr); }
  .plist__grid { grid-template-columns: minmax(0, 1fr); }
  .plist__item:nth-child(even) { margin-top: 0; }
  .plist__media { aspect-ratio: 4 / 3; }
  .plist__note { min-height: 0; }
  .chapter, .chapter--flip { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .chapter__body, .chapter--flip .chapter__body { grid-column: 1; grid-row: 2; }
  .chapter__media, .chapter--flip .chapter__media { grid-column: 1; grid-row: 1; }
  .chapter__big { aspect-ratio: 4 / 3; }
  .blog-feature__card { grid-template-columns: minmax(0, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 30vw, 14rem); }
  .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 2; }
  .gallery__item:nth-child(1) { grid-row: span 2; }
  .roof__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .roof__grid--3 .tile__frame { aspect-ratio: 16 / 9; }
  .visit__map { height: auto; display: flex; flex-direction: column; }
  .visit__map iframe { position: relative; height: 18rem; }
  .visit__card { position: static; transform: none; width: auto; box-shadow: none; }
  .page-hero__media::after { background: linear-gradient(180deg, rgba(17, 18, 20, .55) 0%, rgba(17, 18, 20, .6) 30%, rgba(17, 18, 20, .82) 70%, rgba(17, 18, 20, .92) 100%); }
  .press__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .idea__track { height: 440vh; }
  .idea__sticky { align-items: stretch; padding: 4.75rem 0 1rem; }
  .idea__grid { display: flex; flex-direction: column; gap: .85rem; height: 100%; }
  .idea__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; padding: 1rem 0 0; }
  .idea__steps::before, .idea__steps::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .idea__steps::after { transform-origin: left; transform: scaleX(var(--p)); }
  .idea__step::before { left: 0; top: calc(-1rem - 5px); width: 1.5px; height: 11px; margin: 0; }
  .idea__step.is-active::before { top: calc(-1rem - 5.5px); margin: 0; }
  .idea__step button { flex-direction: column; gap: .1rem; font-size: .9375rem; letter-spacing: -.02em; white-space: nowrap; }
  .idea__step p { display: none; }
  .sheet { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; }
  .sheet__view { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
  .sheet__block { grid-template-columns: auto minmax(0, 1fr); font-size: .875rem; }
  .sheet__block > :nth-child(2), .sheet__brand span { display: none; }
  .sheet__block > * { padding: .4rem .7rem; }
  .sheet__cta { right: .75rem; bottom: .75rem; }
  .idea__caption { display: block; min-height: 4.4em; font-size: 1.0625rem; line-height: 1.45; color: var(--muted); }
  .idea__caption strong { color: var(--ink); font-weight: 600; }
  .idea--static .idea__grid, .idea--still .idea__grid { height: auto; }
  .idea--static .sheet__view, .idea--still .sheet__view { flex: none; aspect-ratio: 16 / 9; }
  .compare-tabs { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; border-radius: 1.6rem; overflow: visible; }
  .compare-tabs button { padding: 0 .5rem; font-size: 1rem; min-height: 2.9rem; }
  .compare__knob { width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; }
  .lightbox__stage { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .lightbox__nav { position: absolute; bottom: 1.5rem; z-index: 2; width: 3.5rem; height: 3.5rem; box-shadow: 0 6px 20px rgba(0,0,0,.15); background: #fff; }
  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }
}

@media (max-width: 640px) {
  .site-header__inner { height: 4.25rem; }
  /* phones: the three videos scroll sideways, each most of the screen wide */
  .about__clips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); }
  .about__clips::-webkit-scrollbar { display: none; }
  .about__clip { flex: none; width: 72vw; scroll-snap-align: start; }
  .page-hero__reach:not(.page-hero__jump) { display: none; }   /* phones: the Call button is enough here; every detail is repeated further down */
  .page-hero__jump .page-hero__label { font-size: .8125rem; letter-spacing: .06em; }
  .page-hero__checks { display: none; }
  .page-hero__facts--dl { display: none; }
  .crumbs { flex-wrap: wrap; gap: .3rem .5rem; font-size: .8125rem; letter-spacing: .08em; }   /* phones: the same facts are listed under the overview */
  .pj-shot--full { aspect-ratio: 4 / 3; }
  .pj-row--pair { grid-template-columns: minmax(0, 1fr); }
  .pj-shot--half { aspect-ratio: 4 / 3; }
  .pj-facts { grid-template-columns: minmax(0, 1fr); }   /* phones: the four cards just below say the same */
  .scope__grid { grid-template-columns: minmax(0, 1fr); }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__jumptext { font-size: 1.0625rem; }
  .sizes__grid { grid-template-columns: minmax(0, 1fr); }
  .sizes__grid li, .sizes__grid li + li, .sizes__grid li:nth-child(n) { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .brand__gs { font-size: 2.4rem; }
  .brand__sub { font-size: .7rem; }
  .stat { padding: 1.5rem .75rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }   /* quick links and services sit side by side */
  .footer__map { height: auto; display: flex; flex-direction: column; }
  .footer__map iframe { position: relative; height: 15rem; }
  .footer__visit { position: static; width: auto; box-shadow: none; }
  .footer__bottom { flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
  .to-top { display: none; }
  .brief__send .btn { width: 100%; justify-content: center; }
  .chip span { padding: 0 .85rem; font-size: .9375rem; }
  .brief__contact { gap: .6rem; }
  .lightbox__close span { display: none; }
  .lightbox__close { width: 3rem; padding: 0; justify-content: center; }
}

/* the narrowest phones (around 350px): two photo tiles per row only fit with a smaller name */
@media (max-width: 420px) {
  .tile__title { font-size: 1.1875rem; gap: .5rem; }
  .page-hero__jump .page-hero__label { font-size: .75rem; letter-spacing: .03em; }
}

/* calmer experience for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: 100vh; height: 100svh; }
  .hero__overlap { display: none; }
  .statement { margin-top: 0; padding-top: clamp(5rem, 10vw, 9rem); }
  [data-reveal], [data-intro], .js .eyebrow__line, .js .eyebrow__text { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__title .line > span, .page-hero__title .line > span { transform: none !important; }
  .page-hero__media img { transform: none !important; transition: none !important; }
  .page-hero__down svg { animation: none !important; }
  [data-scrub] { clip-path: none !important; }
  .proj { transform: none !important; }
  .proj__body { opacity: 1 !important; }
  .step::after { transform: none !important; }
  .rule { --p: 1 !important; }
  .marquee__track { animation: none !important; }
  .sheet__hint svg { animation: none !important; }
  .marquee { overflow-x: auto; }
}

/* Instagram: the brand icon on its own */
.insta__icon { display: inline-flex; border-radius: 22%; transition: transform .4s var(--ease-out), box-shadow .4s; }
.insta__icon svg { display: block; width: clamp(3.5rem, 5vw, 4.5rem); height: auto; }
.insta__icon:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -16px rgba(214, 36, 159, .55); }

/* About: our framework. Words on the left (they stay in view), the years on a vertical line that
   fills as you scroll, each dot lighting up as the line reaches it */
.framework { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.framework__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.framework__copy { position: sticky; top: 7.5rem; }
.framework__lead { margin-top: 1.25rem; max-width: 34ch; }
.framework__note { display: flex; align-items: center; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--line); }
.framework__icon { flex: none; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #3a2418; color: #f4e8d2; }
.framework__note p { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.framework__list { --fill: 0; position: relative; display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); padding: .4rem 0 .4rem 3rem; }
.framework__list::before, .framework__list::after { content: ""; position: absolute; left: 7px; top: .9rem; bottom: .9rem; width: 2px; background: var(--line); }
.framework__list::after { background: var(--brand); transform-origin: top; transform: scaleY(var(--fill)); }
.framework__item { position: relative; opacity: .38; transition: opacity .5s; }
.framework__item.is-on { opacity: 1; }
.framework__item::before { /* the dot on the line */
  content: ""; position: absolute; left: calc(-3rem); top: .55rem; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--brand-deep); transition: background-color .4s, box-shadow .4s;
}
.framework__item.is-on::before { background: var(--brand); box-shadow: 0 0 0 6px rgba(247, 165, 18, .2); }
.framework__year { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.framework__item p { margin-top: .75rem; color: var(--ink-2); line-height: 1.55; font-size: var(--fs-body); max-width: 38ch; }
@media (max-width: 900px) {
  .framework__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .framework__copy { position: static; }
  .framework__list { padding-left: 2.5rem; gap: 2.25rem; }
  .framework__item::before { left: -2.5rem; top: .35rem; }
  .framework__icon { width: 3.25rem; height: 3.25rem; }
}

/* Home: our experts */
.experts { padding: clamp(5rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); }
.experts__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.experts__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.experts__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.experts__badge {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.6rem;
  background: #fff; color: var(--ink);
}
.experts__badge b { font-family: var(--display); font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); line-height: .9; letter-spacing: -.04em; }
.experts__badge i { font-style: normal; color: var(--brand); }
.experts__badge span { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.experts__lead { margin-top: 1.25rem; max-width: 40ch; }
.experts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.experts__list li { display: grid; gap: .35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.experts__num { font-family: var(--display); font-weight: 700; font-size: .9375rem; color: var(--brand-deep); letter-spacing: .04em; }
.experts__list b { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.experts__list li > span:last-child { color: var(--muted); line-height: 1.5; font-size: 1rem; }
.experts__claim {
  margin-top: clamp(2rem, 4vw, 2.75rem); padding: 1.35rem 1.6rem; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); letter-spacing: -.02em; line-height: 1.25;
}
.experts__claim em { font-family: var(--serif); font-weight: 400; color: var(--brand); }
@media (max-width: 900px) {
  .experts__grid { grid-template-columns: minmax(0, 1fr); }
  .experts__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) { .experts__list { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

/* Services: design process & philosophy cards with line drawings */
.proc { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--soft); }
.proc .section-head .lead { max-width: 44ch; }
.proc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.proc__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proc__card { display: grid; align-content: start; gap: .5rem; padding: clamp(1.25rem, 2vw, 1.75rem); background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s; }
.proc__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(17, 18, 20, .35); }
.proc__art { width: 100%; height: auto; aspect-ratio: 160 / 110; color: var(--ink-2); margin-bottom: .75rem; }
.proc__art .a { stroke: var(--brand); }
.proc__num { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: var(--brand-deep); }
.proc__title { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.proc__card p { color: var(--muted); line-height: 1.55; font-size: 1rem; }
.proc__head2 { margin-top: clamp(4rem, 8vw, 6rem); }
@media (max-width: 1100px) { .proc__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .proc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proc__grid, .proc__grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* Construction: conventional vs GS comparison */
.versus { padding: clamp(5rem, 9vw, 8rem) 0; }
.versus .section-head .lead { max-width: 46ch; }
.compare-t { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
.compare-t__row { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.compare-t__row--head { padding: .9rem 0; font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compare-t__row--head > :last-child { color: var(--brand-deep); }
.compare-t__topic { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.compare-t__bad, .compare-t__good { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.compare-t__bad { color: var(--muted); }
.compare-t__bad svg { flex: none; margin-top: .15rem; color: #b8442c; }
.compare-t__good { color: var(--ink); font-weight: 500; }
.compare-t__good svg { flex: none; margin-top: .1rem; padding: 2px; border-radius: 50%; background: var(--brand); color: var(--ink); width: 22px; height: 22px; }
@media (max-width: 760px) {
  .compare-t__row { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1.25rem 0; }
  .compare-t__row--head { display: none; }
}

/* Construction: home models */
.models { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--soft); }
.models .section-head .lead { max-width: 40ch; }
.models__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.model { padding: clamp(1.25rem, 2vw, 1.75rem); background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s; }
.model:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(17, 18, 20, .35); }
.model__art { display: block; width: 100%; height: auto; aspect-ratio: 300 / 240; margin-bottom: 1rem; }
.model__art polygon { stroke: #3d342d; stroke-width: 1; stroke-linejoin: round; }
.model__art .m-top { fill: #f4efe6; }
.model__art .m-l { fill: #e6ddcf; }
.model__art .m-r { fill: #d6cab8; }
.model__art .m-g { fill: #f7a512; fill-opacity: .55; stroke: #8c5a12; }
.model__art .m-site { fill: #eef0ea; stroke: #c9cbcf; stroke-dasharray: 3 3; }
.model__art .m-pool { fill: #8fc3e0; stroke: #4c88ab; }
.model__art .m-tree { fill: #7d9a5e; stroke: #4f6a39; stroke-width: 1; }
.model__art .m-trunk { stroke: #5e3b26; stroke-width: 1.5; }
.model__tag { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.model__name { margin-top: .35rem; font-family: var(--display); font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; }
.model__facts { margin-top: 1rem; display: grid; }
.model__facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.model__facts dt { color: var(--muted); }
.model__facts dd { font-weight: 600; text-align: right; }
.models__note { margin-top: 2rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline; }
@media (max-width: 900px) { .models__grid { grid-template-columns: minmax(0, 1fr); } .model__art { max-width: 26rem; margin-inline: auto; } }

/* WhatsApp chat: floating button and chat panel, bottom right on every page */
.wa { position: fixed; right: clamp(1rem, 2.4vw, 1.75rem); bottom: clamp(1rem, 2.4vw, 1.75rem); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .85rem; }
.menu-open .wa { display: none; }
.wa__btn {
  display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border: 0; border-radius: 50%; cursor: pointer;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(18, 140, 70, .55);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.wa__btn:hover { transform: scale(1.07); box-shadow: 0 16px 36px -8px rgba(18, 140, 70, .65); }
.wa__btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.wa:not(.is-open) .wa__btn::after { /* soft pulse ring */
  content: ""; position: absolute; width: 3.75rem; height: 3.75rem; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: waPulse 2.6s ease-out 3s infinite; pointer-events: none;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa__teaser {
  position: absolute; right: 4.6rem; bottom: .85rem; padding: .55rem .9rem; border-radius: 999px; white-space: nowrap;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9375rem; box-shadow: 0 10px 30px -12px rgba(17, 18, 20, .35);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out);
}
.wa.show-teaser .wa__teaser { opacity: 1; transform: none; }
.wa__panel {
  width: min(22.5rem, calc(100vw - 2rem)); overflow: hidden; border-radius: 1.1rem; background: #efe7dc;
  box-shadow: 0 30px 70px -20px rgba(17, 18, 20, .45); transform-origin: bottom right; animation: waIn .35s var(--ease-out);
}
@keyframes waIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.wa__head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: #075e54; color: #fff; }
.wa__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--ink); font-family: "Limelight", var(--serif); font-size: 1.05rem; }
.wa__who { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.wa__who b { font-size: 1.0625rem; }
.wa__who small { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; opacity: .85; }
.wa__who i { width: .5rem; height: .5rem; border-radius: 50%; background: #25d366; }
.wa__close { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.wa__close:hover { background: rgba(255, 255, 255, .15); }
.wa__body { display: grid; gap: .75rem; padding: 1.1rem 1rem; min-height: 9rem; align-content: start; }
.wa__msg {
  justify-self: start; max-width: 88%; padding: .7rem .9rem; border-radius: 0 .9rem .9rem .9rem; background: #fff; color: var(--ink);
  font-size: .9875rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.wa__quick { display: flex; flex-wrap: wrap; gap: .45rem; }
.wa__quick button {
  padding: .5rem .8rem; border: 1px solid #b9dfc9; border-radius: 999px; background: #fff; color: #075e54; cursor: pointer;
  font: inherit; font-size: .875rem; font-weight: 600; transition: background-color .25s, color .25s;
}
.wa__quick button:hover { background: #075e54; color: #fff; }
.wa__typing { justify-self: start; display: inline-flex; gap: .3rem; padding: .7rem .9rem; border-radius: 0 .9rem .9rem .9rem; background: #fff; }
.wa__typing span { width: .45rem; height: .45rem; border-radius: 50%; background: #9aa0a6; animation: waDot 1.1s infinite; }
.wa__typing span:nth-child(2) { animation-delay: .15s; }
.wa__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.wa:not(.is-greeted) :is(.wa__msg, .wa__quick) { display: none; }
.wa.is-greeted .wa__typing { display: none; }
.wa.is-greeted .wa__msg, .wa.is-greeted .wa__quick { animation: waIn .35s var(--ease-out) both; }
.wa.is-greeted .wa__quick { animation-delay: .15s; }
.wa__form { display: flex; gap: .5rem; padding: .7rem; background: #f6f1ea; }
.wa__form input { flex: 1; min-width: 0; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.wa__form input:focus { outline: 2px solid #25d366; }
.wa__form button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: #25d366; color: #fff; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .wa__btn::after, .wa__typing span { animation: none !important; } .wa__panel { animation: none; } }
@media print { .wa { display: none; } }
