/* ==========================================================
   Design Nest Studio — design system
   One blue (logo), black, white, one grey ground. One typeface.
   ========================================================== */

/* Licensed font drops in here when bought:
@font-face { font-family: "PP Neue Montreal"; src: url(assets/fonts/PPNeueMontreal-Book.woff2) format("woff2"); font-weight: 400; }
@font-face { font-family: "PP Neue Montreal"; src: url(assets/fonts/PPNeueMontreal-Medium.woff2) format("woff2"); font-weight: 500; }
*/

:root {
  /* colour */
  --blue: #1D40C4;
  --blue-deep: #142FA0;
  --ink: #0A0A0B;
  --ink-2: #4A4B52;
  --ink-3: #6B6C73;
  --white: #FFFFFF;
  --mist: #F2F2EF;
  --rule: rgba(10, 10, 11, .12);

  /* type — one family, six sizes */
  --font: "PP Neue Montreal", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --t-display: clamp(60px, 11vw, 200px);
  --t-h1: clamp(46px, 6.4vw, 112px);
  --t-h2: clamp(32px, 4.2vw, 68px);
  --t-h3: clamp(22px, 1.7vw, 28px);
  --t-lead: clamp(20px, 1.45vw, 24px);
  --t-body: 18px;
  --t-small: 15px;

  /* space */
  --gutter: clamp(20px, 3vw, 44px);
  --sec: clamp(96px, 10vw, 168px);
  --gap: clamp(24px, 3vw, 48px);
  --hdr: 84px;

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

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--t-body)/1.55 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 400; left: 16px; top: -60px; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.section--mist { background: var(--mist); }
.section--blue { background: var(--blue); color: #fff; }
.section--ink { background: var(--ink); color: #fff; }

/* ---------- type ---------- */
.display { font-size: var(--t-display); line-height: .86; letter-spacing: -.05em; }
.h1 { font-size: var(--t-h1); line-height: .92; letter-spacing: -.045em; }
.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.035em; }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: var(--t-lead); line-height: 1.45; letter-spacing: -.015em; color: var(--ink-2); }
.small { font-size: var(--t-small); line-height: 1.45; }
.section--blue .lead, .section--ink .lead { color: rgba(255,255,255,.85); }
.h1 sup { font-size: .3em; letter-spacing: -.01em; vertical-align: top; position: relative; top: .3em; color: var(--blue); }

/* section opener: number + name, same everywhere */
.eyebrow { display: flex; gap: 12px; align-items: baseline; font-size: var(--t-small); font-weight: 500; color: var(--blue); margin-bottom: 22px; }

.section--blue .eyebrow, .section--ink .eyebrow { color: #fff; }
.sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px 48px; margin-bottom: clamp(48px, 6vw, 96px); }
.sechead .lead { max-width: 34ch; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--light:hover { background: #fff; color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue); border-color: #fff; color: #fff; }
.link { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--blue-deep); }

/* ---------- tag ---------- */
.tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; }
.tag--blue { background: var(--blue); color: #fff; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { min-height: 48px; padding: 0 20px; border: 1.5px solid var(--rule); border-radius: 999px; background: transparent; font-size: 17px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 760px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .tab { flex-shrink: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--out), transform .9s var(--out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   HEADER — always visible, readable links, one CTA
   ========================================================== */
.hdr { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--hdr); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--rule); transition: background .35s, color .35s, box-shadow .35s; }
body[data-header="over"] .hdr:not(.is-solid) { background: transparent; color: #fff; box-shadow: none; }
.hdr__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hdr__logo svg { width: 25px; height: 41px; --win: var(--blue); }
body[data-header="over"] .hdr:not(.is-solid) .hdr__logo svg, .menu-open .hdr__logo svg { --win: #fff; }
.hdr__word { font-size: 18px; font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
.hdr__word span { display: block; font-weight: 400; }
.hdr__nav { display: flex; gap: 2px; margin-left: auto; }
.hdr__nav a { position: relative; padding: 12px 16px; font-size: 17px; font-weight: 500; border-radius: 999px; transition: background .2s; }
.hdr__nav a:hover { background: var(--mist); }
body[data-header="over"] .hdr:not(.is-solid) .hdr__nav a:hover { background: rgba(255,255,255,.16); }
.hdr__nav a[aria-current]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: currentColor; }
.hdr__menu { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; font-size: 17px; font-weight: 500; cursor: pointer; }
.hdr__menu i { display: grid; gap: 5px; width: 18px; }
.hdr__menu i::before, .hdr__menu i::after { content: ""; height: 2px; background: currentColor; transition: transform .3s; }
.menu-open .hdr__menu i::before { transform: translateY(3.5px) rotate(45deg); }
.menu-open .hdr__menu i::after { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .hdr { background: transparent !important; color: #fff !important; box-shadow: none !important; }
@media (max-width: 1060px) { .hdr__nav, .hdr__cta { display: none; } .hdr__menu { display: inline-flex; } }
@media (max-width: 640px) { :root { --hdr: 72px; } }

.sheet { position: fixed; z-index: 99; inset: 0; background: var(--blue); color: #fff; padding: calc(var(--hdr) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; }
.sheet nav a { font-size: clamp(40px, 8vw, 72px); line-height: 1.1; letter-spacing: -.04em; padding: 4px 0; }
.sheet__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 16px; }
.sheet__foot .btns .btn { flex: 1; }

/* ==========================================================
   FOOTER — blue, the logo building lights up
   ========================================================== */
.ftr { background: var(--blue); color: #fff; padding: var(--sec) 0 28px; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); align-items: center; }
.ftr__top .h1 { max-width: 12ch; }
.ftr__top .btns { margin-top: 36px; }
.ftr__bldg { justify-self: center; display: grid; justify-items: center; gap: 18px; }
.bldg { width: clamp(150px, 15vw, 220px); overflow: visible; cursor: pointer; }
.bldg__line { fill: none; stroke: #fff; stroke-width: 8; stroke-linejoin: miter; stroke-dasharray: 3200; stroke-dashoffset: 3200; }
.bldg__fill { fill: #fff; opacity: 0; }
.bldg__win { fill: #fff; opacity: 0; transform: translateY(40px); transform-box: fill-box; }
.ftr.is-in .bldg__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.ftr.is-in .bldg__line:nth-of-type(3) { transition-delay: .25s; }
.ftr.is-in .bldg__line:nth-of-type(4) { transition-delay: .5s; }
.ftr.is-lit .bldg__fill { opacity: 1; transition: opacity .6s; }
.ftr.is-lit .bldg__line { opacity: 0; transition: opacity .6s .3s; }
.ftr.is-lit .bldg__win { opacity: 1; transform: none; transition: opacity .45s, transform .6s var(--out); }
.ftr.is-lit .bldg__win:nth-of-type(6) { transition-delay: .35s; }
.ftr.is-lit .bldg__win:nth-of-type(7) { transition-delay: .7s; }
.ftr__lights { opacity: 0; transform: translateY(8px); }
.ftr.is-lit .ftr__lights { opacity: 1; transform: none; transition: opacity .6s 1s, transform .6s 1s var(--out); }
.ftr__lights { font-size: var(--t-small); color: rgba(255,255,255,.8); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(72px, 9vw, 140px); }
.ftr__col { display: grid; align-content: start; gap: 8px; }
.ftr__col h3 { font-size: var(--t-small); font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.ftr__col a, .ftr__col p { font-size: 18px; }
.ftr__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(64px, 8vw, 120px); font-size: var(--t-small); color: rgba(255,255,255,.75); }
.ftr__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr; } .ftr__bldg { justify-self: start; } .ftr__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; } }

/* "leave your number" box */
.callback { display: flex; height: 60px; border: 1.5px solid currentColor; border-radius: 999px; padding-left: 22px; max-width: 460px; }
.callback input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; }
.callback input::placeholder { color: inherit; opacity: .75; }
.callback input:focus { outline: none; }
.callback button { width: 60px; border: 0; background: none; font-size: 22px; cursor: pointer; }

/* ==========================================================
   INTRO ('kin) — home only
   ========================================================== */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--white); }
.intro__window { position: absolute; inset: 0; clip-path: inset(34% 36% 34% 36%); transition: clip-path 1.25s var(--ease); background: var(--ink); }
.intro__window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.intro__window img.on { opacity: 1; }
.intro__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; display: flex; justify-content: space-between; font-size: var(--t-small); font-weight: 500; color: var(--blue); transition: opacity .4s; }
.intro.is-open .intro__window { clip-path: inset(0 0 0 0); }
.intro.is-open .intro__meta { opacity: 0; }
.intro.is-done { opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; }
@media (max-width: 760px) { .intro__window { clip-path: inset(36% 12% 36% 12%); } .intro__meta span:last-child { display: none; } }

/* ==========================================================
   HOME — hero
   ========================================================== */
.hero { position: relative; height: 100svh; min-height: 660px; color: #fff; background: var(--ink); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 55%; transform: scale(1.08); transition: transform 2.6s var(--out); }
.is-ready .hero__media img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 26%), linear-gradient(0deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,0) 55%); }
.hero__lines i { position: absolute; top: var(--hdr); width: 1px; height: 52%; background: rgba(255,255,255,.75); transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease) .3s; }
.hero__lines i:first-child { left: 50%; }
.hero__lines i:last-child { left: 75%; height: 36%; transition-delay: .45s; }
.is-ready .hero__lines i { transform: scaleY(1); }
.hero__feature { position: absolute; z-index: 2; left: calc(75% + 18px); top: calc(var(--hdr) + 36%); display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.hero__feature .tag { position: static; }
.hero__feature:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: 32px; align-items: end; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--out); }
.hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line > span { transform: none; }
.hero__side .lead { color: #fff; margin-bottom: 24px; }
.hero__side, .hero__feature { opacity: 0; transition: opacity .8s .5s; }
.is-ready .hero__side, .is-ready .hero__feature { opacity: 1; }
@media (max-width: 900px) { .hero__content { grid-template-columns: 1fr; } .hero__lines, .hero__feature { display: none; } }

/* ---------- about (blue): statement with photos set into the words ---------- */
.about__statement { max-width: 19ch; }
.pill { display: inline-block; width: 0; height: .74em; margin: 0; border-radius: 999px; overflow: hidden; vertical-align: -.06em; transition: width 1s var(--out), margin 1s var(--out); }
.pill img { width: 1.7em; height: 100%; object-fit: cover; }
.about__statement.is-in .pill { width: 1.7em; margin: 0 -.06em; }
.about__statement.is-in .pill:nth-of-type(2) { transition-delay: .15s; }
.about__statement.is-in .pill:nth-of-type(3) { transition-delay: .3s; }
.about__foot { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); margin-top: clamp(72px, 9vw, 140px); }
.about__foot .lead { max-width: 30ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.pillars li { display: grid; gap: 12px; align-content: start; }
.pillars .win { margin-bottom: 8px; }
.pillars p { color: rgba(255,255,255,.85); max-width: 30ch; }
.pillars__no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: var(--t-small); font-weight: 500; margin-bottom: 8px; }
@media (max-width: 900px) { .about__foot, .pillars { grid-template-columns: 1fr; } }

/* ---------- work cards ---------- */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 6vw, 104px) clamp(24px, 5vw, 96px); }
.works--stagger { align-items: start; }
.works__col { display: grid; gap: clamp(56px, 6vw, 104px); }
.works__col:last-child { margin-top: clamp(64px, 10vw, 180px); }
.works--three { grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); }
.work { display: grid; gap: 14px; align-content: start; }
.work__media { position: relative; overflow: hidden; z-index: 1; aspect-ratio: 16 / 11; background: var(--mist); }
.works__col:first-child .work:nth-child(even) .work__media, .works__col:last-child .work:nth-child(odd) .work__media { aspect-ratio: 4 / 5; }
.works--three .work__media { aspect-ratio: 4 / 3.4; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.work:hover .work__media img { transform: scale(1.035); }
.work__arrow { position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 24px; transform: translateY(100%); transition: transform .5s var(--out); }
.work:hover .work__arrow, .work:focus-visible .work__arrow { transform: none; }
.work__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work:hover h3 { color: var(--blue); }
.work__area { font-size: var(--t-h3); letter-spacing: -.02em; white-space: nowrap; }
.work__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-2); font-size: 16px; }
.work__meta span:first-child { color: var(--blue); font-weight: 500; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(64px, 8vw, 120px); }
@media (max-width: 1000px) { .works--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .works, .works--three { grid-template-columns: 1fr; } .works--stagger .work:nth-child(even) { margin-top: 0; } .work__media, .works--stagger .work .work__media { aspect-ratio: 4 / 3 !important; } .work__arrow { transform: none; width: 52px; height: 52px; } }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.svc__photo { position: sticky; top: calc(var(--hdr) + 32px); aspect-ratio: 4 / 3.3; }
.svc__photo > div { height: 100%; overflow: hidden; background: #e4e4e0; }
.svc__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.svc__photo img.is-swap { opacity: 0; }
.acc__item { border-top: 1px solid var(--rule); }
.acc__item:last-child { border-bottom: 1px solid var(--rule); }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.acc__head .h2 { font-size: clamp(28px, 2.6vw, 44px); transition: color .25s; }
.acc__head:hover .h2, .acc__item.is-open .h2 { color: var(--blue); }
.acc__head i { position: relative; flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--blue); }
.acc__head i::before, .acc__head i::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--out); }
.acc__head i::after { transform: rotate(90deg); }
.acc__item.is-open .acc__head i::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { max-width: 46ch; }
.acc__list { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.acc__body .link { display: inline-block; margin: 18px 0 30px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc__photo { position: static; } }

/* ---------- process: drawing sheets that stack as you scroll ---------- */
.proc { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--gap); }
.proc__intro { position: sticky; top: calc(var(--hdr) + 48px); align-self: start; }
.proc__intro .lead { margin-top: 28px; max-width: 30ch; }
.proc__list { margin-top: 44px; display: grid; gap: 4px; }
.proc__list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 19px; color: rgba(255,255,255,.55); transition: color .4s; }
.proc__list .win { width: 14px; height: 19px; opacity: .45; transition: opacity .4s; }
.proc__list li.is-on { color: #fff; }
.proc__list li.is-on .win { opacity: 1; }
.sheets { display: grid; gap: 28vh; padding-bottom: 6vh; }
.sheetcard { position: sticky; top: calc(var(--hdr) + 40px + var(--i) * 18px); background: #fff; color: var(--ink); padding: 16px; transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1)); will-change: transform; box-shadow: 0 -20px 50px -30px rgba(0,0,0,.45); }
.sheetcard__img { aspect-ratio: 16 / 8.5; overflow: hidden; }
.sheetcard__img img { width: 100%; height: 100%; object-fit: cover; }
.sheetcard__body { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 10px 10px; }
.sheetcard__no { font-size: var(--t-h2); line-height: .9; letter-spacing: -.04em; color: var(--blue); }
.sheetcard__body p { margin-top: 8px; color: var(--ink-2); max-width: 44ch; }
.sheetcard__body .sheetcard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sheetcard__meta span { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  .proc { grid-template-columns: 1fr; } .proc__intro { position: static; } .proc__list { display: none; }
  .sheets { gap: 34vh; } .sheetcard { top: calc(var(--hdr) + 16px + var(--i) * 12px); padding: 12px; }
  .sheetcard__body { gap: 16px; padding: 18px 4px 6px; }
}

/* ---------- numbers wheel (Kononenko) ---------- */
.wheel { height: 360vh; background: var(--ink); color: #fff; position: relative; }
.wheel__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.wheel__ring { position: absolute; left: -26vw; top: 50%; width: 0; height: 0; }
.wheel__ring figure { position: absolute; left: 0; top: 0; width: clamp(150px, 15vw, 240px); aspect-ratio: 1; transform: rotate(var(--a)) translateX(var(--R)) translate(-50%, -50%); transform-origin: 0 0; }
.wheel__ring img { width: 100%; height: 100%; object-fit: cover; }
.wheel__copy { position: absolute; left: 52%; right: var(--gutter); top: 0; bottom: 0; }
.wheel__copy::before, .wheel__copy::after { content: ""; position: absolute; left: 0; right: 0; height: 24vh; z-index: 2; pointer-events: none; }
.wheel__copy::before { top: 0; background: linear-gradient(var(--ink) 55%, transparent); }
.wheel__copy::after { bottom: 0; background: linear-gradient(transparent, var(--ink) 70%); }
.wheel__copy .eyebrow { position: absolute; z-index: 3; top: calc(var(--hdr) + 32px); left: 0; }
.wheel__stats { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(var(--shift, 0)); transition: transform .8s var(--out); }
.wheel__stats li { padding: 3vh 0; color: #3A3B41; transition: color .6s; }
.wheel__stats li.is-on { color: #fff; }
.wheel__stats b { display: block; font-weight: 400; font-size: var(--t-h1); letter-spacing: -.045em; line-height: .92; font-variant-numeric: tabular-nums; }
.wheel__stats span { display: block; font-size: var(--t-h2); letter-spacing: -.035em; line-height: 1.02; margin-left: clamp(40px, 6vw, 120px); }
@media (max-width: 900px) {
  .wheel { height: auto; padding-block: var(--sec); }
  .wheel__pin { position: static; height: auto; overflow: visible; }
  .wheel__ring { position: relative; left: 0; top: 0; display: flex; gap: 12px; padding: 0 var(--gutter); overflow-x: auto; width: auto; height: auto; scrollbar-width: none; margin-bottom: 40px; }
  .wheel__ring figure { position: static; flex: 0 0 150px; transform: rotate(var(--tilt)); margin: 10px 0; }
  .wheel__copy { position: static; padding: 0 var(--gutter); }
  .wheel__copy::before, .wheel__copy::after { display: none; }
  .wheel__copy .eyebrow { position: static; }
  .wheel__stats { position: static; transform: none !important; display: grid; gap: 28px; }
  .wheel__stats li { color: #fff; padding: 0; }
  .wheel__stats span { margin-left: 0; color: rgba(255,255,255,.75); }
}

/* ---------- clients: testimonial with the project it came from ---------- */
.testi { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.testi__img { aspect-ratio: 4 / 5; }
.testi__img a { display: block; height: 100%; overflow: hidden; }
.testi__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--out); }
.testi__img a:hover img { transform: scale(1.035); }
.testi .is-swap { opacity: 0; }
.testi blockquote { margin: 0; color: var(--blue); transition: opacity .35s; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.22; letter-spacing: -.025em; }
.quote__who { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.quote__who strong { font-weight: 500; }
.quote__who span { color: var(--ink-3); }
.testi__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; }
.quote__nav { display: flex; gap: 10px; align-items: center; }
.quote__nav button { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; font-size: 20px; cursor: pointer; transition: all .2s; }
.quote__nav button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.quote__count { margin-left: 8px; color: var(--ink-3); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .testi { grid-template-columns: 1fr; } .testi__img { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta { position: relative; min-height: 88vh; display: grid; align-items: end; color: #fff; background: var(--ink); overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,11,.75), rgba(10,10,11,.15) 70%); }
.cta__inner { position: relative; z-index: 2; padding-block: var(--sec) clamp(48px, 6vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: var(--gap); align-items: end; }
.cta .lead { color: rgba(255,255,255,.88); margin-top: 22px; max-width: 34ch; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

/* ==========================================================
   PROJECT DETAIL
   ========================================================== */
.phero { position: relative; height: 88svh; min-height: 560px; color: #fff; background: var(--ink); overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.5), rgba(10,10,11,0) 26%), linear-gradient(0deg, rgba(10,10,11,.7), rgba(10,10,11,0) 55%); }
.phero__inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 4vw, 56px); }
.crumbs { display: flex; gap: 10px; font-size: var(--t-small); font-weight: 500; margin-bottom: 20px; color: rgba(255,255,255,.85); }
.crumbs a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule); }
.fact { padding: 26px 28px 34px; border-bottom: 1px solid var(--rule); }
.fact:not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
.fact:nth-child(3n+1) { padding-left: 0; }
.fact dt span { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 500; color: var(--blue); margin-bottom: 18px; }
.fact strong { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 2.6vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.fact__dot { width: 12px; height: 12px; border-radius: 50%; background: #1F9D55; flex-shrink: 0; }
.fact__dot--ongoing { background: #E8A317; }
.fact__dot--concept { background: var(--blue); }
.story { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); }
.story + .story { margin-top: clamp(56px, 7vw, 112px); }
.story .lead { color: var(--ink); max-width: 44ch; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery > div:first-child { grid-column: 1 / -1; }
.gallery > div:first-child img { aspect-ratio: 16 / 8; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.next { position: relative; display: block; height: clamp(380px, 62vh, 640px); overflow: hidden; color: #fff; background: var(--ink); }
.next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--out); }
.next::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,11,.72), rgba(10,10,11,.1) 65%); transition: background .4s; }
.next:hover > img { transform: scale(1.04); }
.next__inner { position: absolute; z-index: 2; left: clamp(24px, 4vw, 56px); right: 140px; bottom: clamp(24px, 4vw, 56px); }
.next__label { font-size: var(--t-small); font-weight: 500; margin-bottom: 14px; opacity: .85; }
.next__meta { margin-top: 14px; opacity: .85; }
.next__arrow { position: absolute; z-index: 2; right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 28px; transition: background .3s, color .3s, transform .4s var(--out); }
.next:hover .next__arrow { background: var(--blue); color: #fff; transform: translateX(6px); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .fact, .fact:nth-child(3n+1) { padding: 22px 18px 26px; border-left: 1px solid var(--rule); } .fact:nth-child(odd) { padding-left: 0; border-left: 0; } .story { grid-template-columns: 1fr; } .next__inner { right: 24px; bottom: 112px; } .next__arrow { width: 60px; height: 60px; left: 24px; right: auto; bottom: 28px; } .gallery { grid-template-columns: 1fr; } }

/* ==========================================================
   PROJECTS PAGE / PAGE HEAD
   ========================================================== */
.pagehead { padding-top: calc(var(--hdr) + clamp(64px, 9vw, 140px)); }

/* ==========================================================
   CONTACT PAGE — image panel + step-by-step form
   ========================================================== */
.cpage { display: grid; grid-template-columns: 5fr 7fr; min-height: 100vh; }
.cpage__visual { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--ink); color: #fff; }
.cpage__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s, transform 6s linear; }
.cpage__visual img.on { opacity: 1; transform: scale(1); }
.cpage__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.7), rgba(10,10,11,0) 50%); }
.cpage__cap { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); font-weight: 500; }
.cpage__main { padding: calc(var(--hdr) + clamp(48px, 6vw, 96px)) var(--gutter) var(--sec); max-width: 960px; }
.cpage__main .lead { margin-top: 24px; max-width: 40ch; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 40px; }
.quick a { display: grid; gap: 4px; padding: 20px 22px; background: var(--mist); transition: background .25s, color .25s; }
.quick a span { font-size: var(--t-small); color: var(--ink-3); transition: color .25s; }
.quick a strong { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.quick a:hover { background: var(--blue); color: #fff; }
.quick a:hover span { color: rgba(255,255,255,.75); }
.steps { margin-top: clamp(56px, 7vw, 96px); }
.steps__bar { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); font-weight: 500; color: var(--ink-3); }
.steps__track { height: 4px; background: var(--mist); margin: 12px 0 36px; }
.steps__track span { display: block; height: 100%; width: 33.3%; background: var(--blue); transition: width .5s var(--out); }
.step { display: none; }
.step.is-on { display: block; animation: stepIn .5s var(--out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step > .h2 { margin-bottom: 28px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts--wrap { display: flex; flex-wrap: wrap; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 64px; height: 100%; padding: 14px 20px; border: 1.5px solid var(--rule); font-size: 18px; font-weight: 500; transition: all .2s; }
.opt input:hover + span { border-color: var(--ink); }
.opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.fgroup + .fgroup { margin-top: 32px; }
.fgroup > p { font-weight: 500; margin-bottom: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { font-weight: 400; font-size: 19px; padding: 16px 18px; min-height: 60px; border: 1.5px solid var(--rule); background: #fff; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.step__nav { display: flex; gap: 10px; margin-top: 36px; }
.form__err { color: #B3261E; margin-top: 16px; }
.done { padding: clamp(32px, 4vw, 56px); background: var(--blue); color: #fff; }
.done .lead { color: rgba(255,255,255,.88); margin: 18px 0 28px; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(72px, 9vw, 120px); }
.next-steps li { display: grid; gap: 10px; align-content: start; }
.next-steps .pillars__no { background: var(--blue); color: #fff; }
.next-steps p { color: var(--ink-2); }
@media (max-width: 1000px) {
  .cpage { grid-template-columns: 1fr; }
  .cpage__visual { position: relative; height: 46vh; }
  .cpage__main { padding-top: 48px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .quick, .next-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .opts, .fields { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* the logo's window, used as an icon */
.win { width: 22px; height: 30px; flex-shrink: 0; fill: currentColor; }

.view-tabs { margin-top: 32px; }
.view-all { align-self: end; }
@media (max-width: 760px) { .view-all { margin-top: 0; } }

/* ==========================================================
   ABOUT PAGE
   ========================================================== */
.story-intro .h2 { max-width: 26ch; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); margin-left: 25%; }
.about-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: end; }
.about-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photos img:last-child { aspect-ratio: 4 / 5; }
.pillars--four { grid-template-columns: repeat(4, 1fr); }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.svc-cards li { display: grid; gap: 10px; align-content: start; }
.svc-cards img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 8px; }
.svc-cards p { color: var(--ink-2); }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: 32px; }
.stat-row b { display: block; font-weight: 400; font-size: clamp(44px, 4.6vw, 80px); letter-spacing: -.045em; line-height: 1; }
.stat-row span { display: block; margin-top: 12px; color: rgba(255,255,255,.75); }
.more-link { display: inline-block; margin-top: 28px; color: #fff; }
.more-link:hover { color: #fff; opacity: .85; }
@media (max-width: 1000px) { .pillars--four, .svc-cards { grid-template-columns: 1fr 1fr; } .stat-row { grid-template-columns: 1fr 1fr; } .story-cols { grid-template-columns: 1fr; margin-left: 0; } }
@media (max-width: 600px) { .pillars--four, .svc-cards, .about-photos { grid-template-columns: 1fr; } }

/* hero caption: a quiet label, not a link */
.hero__pictured { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: var(--t-small); color: rgba(255,255,255,.85); }
.hero__pictured .win { width: 12px; height: 16px; fill: #fff; }
.hero__pictured strong { font-weight: 500; color: #fff; }

/* numbers: named section, number + one plain sentence */
.wheel__head { position: absolute; z-index: 3; top: calc(var(--hdr) + 28px); left: 0; right: 0; }
.wheel__head .eyebrow { margin-bottom: 10px; }
.wheel__copy .eyebrow { position: static; }
.wheel__stats span { font-size: var(--t-lead); line-height: 1.4; letter-spacing: -.015em; margin: 14px 0 0; max-width: 26ch; }
.stat-row span { max-width: 22ch; line-height: 1.45; }

/* active link in the phone menu */
.sheet nav a { color: #fff; }
.sheet nav a[aria-current] span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; }

@media (max-width: 900px) { .wheel__head { position: static; margin-bottom: 32px; } }
.wheel__head { background: var(--ink); padding-bottom: 18px; }
.wheel__head::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14vh; background: linear-gradient(var(--ink), transparent); pointer-events: none; }
@media (max-width: 900px) { .wheel__head::after { display: none; } }

/* ---------- mobile spacing: tighter sections, no double gap between white sections ---------- */
@media (max-width: 700px) {
  :root { --sec: 72px; }
  #services { padding-top: 24px; }
  .sechead { margin-bottom: 36px; }
}

/* ---------- story timeline (shared): stroke traces each circle, then the line ---------- */
.sl__node, .sl__seg { display: none; }
.story-line { position: relative; }
.story-line:not(.story-line--mobile) { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); --dir: row; margin-top: 40px; }
.story-line:not(.story-line--mobile) .sl__node, .story-line:not(.story-line--mobile) .sl__seg { display: block; }
.sl__node { position: relative; width: 80px; height: 80px; }
.sl__img { position: absolute; inset: 8px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: grayscale(1) brightness(.5); transition: filter .6s; }
.sl__node svg { position: absolute; inset: 0; width: 80px; height: 80px; transform: rotate(-90deg); overflow: visible; }
.is-row .sl__node svg { transform: rotate(180deg); }
.sl__base, .sl__ring { fill: none; stroke-width: 2.5; }
.sl__base { stroke: rgba(255,255,255,.16); }
.sl__ring { stroke: var(--blue); stroke-linecap: round; }
.sl__seg { position: absolute; background: rgba(255,255,255,.16); }
.sl__seg > i { position: absolute; inset: 0; background: var(--blue); transform-origin: 0 0; transform: scaleY(0); }
.is-row .sl__seg > i { transform: scaleX(0); }
.story-line li { opacity: .4; transition: opacity .5s; }
.story-line li.is-on { opacity: 1; }
.story-line li.is-done .sl__img { filter: none; }
.story-line .sl__text { margin-top: 22px; }
.story-line li:last-child.is-done b { background: var(--blue); padding: 0 10px; }
@media (max-width: 900px) {
  .story-line { --dir: column !important; display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; transform: none !important; }
  .story-line .sl__node, .story-line .sl__seg { display: block !important; }
  .story-line li { display: grid !important; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; padding: 16px 0 !important; border: 0 !important; color: #fff !important; }
  .story-line .sl__text { margin-top: 0; }
  .story-line b { font-size: 52px !important; }
  .story-line span { margin: 6px 0 0 !important; font-size: 17px !important; color: rgba(255,255,255,.8) !important; }
  .wheel__ring { display: none; }
}
@media (max-width: 900px) { .stat-row b { font-size: 52px; } }

/* footer: brand statement, no second set of buttons */
.ftr__word { font-size: var(--t-h1); line-height: .92; letter-spacing: -.045em; }
.ftr__tag { color: rgba(255,255,255,.85); margin-top: 24px; max-width: 30ch; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) var(--gap); }
.member__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--mist); overflow: hidden; margin-bottom: 18px; }
.member__photo svg { width: 22%; height: auto; color: #C9CAD0; --win: #C9CAD0; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: 4px; }
.member p { color: var(--ink-2); }
.member__role { color: var(--blue) !important; font-weight: 500; font-size: var(--t-small); margin-bottom: 10px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .member p:not(.member__role) { display: none; } }

.fact__dot--design { background: var(--blue); }

/* ---------- client logos: infinite marquee ---------- */
.logos { margin-top: clamp(72px, 9vw, 130px); }
.logos__label { font-size: var(--t-small); font-weight: 500; color: var(--ink-3); margin-bottom: 28px; }
.logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos 36s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex: 0 0 auto; display: grid; place-items: center; width: clamp(150px, 16vw, 220px); height: 110px; margin-right: clamp(28px, 4vw, 64px); }
.logos__item img { max-width: 100%; max-height: 72px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .6; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; flex-wrap: wrap; width: auto; } }

/* team: four across */
.team--four { grid-template-columns: repeat(4, 1fr); }
.member__photo img { object-position: 50% 20%; }
@media (max-width: 900px) { .team--four { grid-template-columns: 1fr 1fr; } }

/* project status colours */
.fact__dot--in-progress { background: #E8A317; }
.fact__dot--proposed { background: var(--blue); }

/* keep scrolling tab rows inside the screen on phones */
.sechead > * { min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .sechead > div { width: 100%; }
  .view-tabs { width: calc(100% + 2 * var(--gutter)); }
}

/* contact quick links: long email wraps */
.quick a strong { overflow-wrap: anywhere; }
