/* ==========================================================================
   Auren Studio — homepage
   Desktop layout, built from the Figma frame (1728px wide, 40px page margin).

   Type    Hanken Grotesk (self-hosted, variable) stands in for Neue Plak.
   Scale   64 / 32 / 24 / 16 / 12, each with one line-height
   Space   8px base: 10 · 20 · 40 · 80 · 120 · 160
   Colour  ink #111 · paper #fff · hairlines are 1px, 18–50% alpha
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #fff;
  --muted: rgba(17, 17, 17, .62);
  --muted-inv: rgba(255, 255, 255, .68);
  --hair: rgba(17, 17, 17, .13);         /* hairline on light (decorative lines and row dividers) */
  --hair-ui: rgba(17, 17, 17, .24);      /* borders of controls: fields, chips, filters */
  --hair-inv: rgba(255, 255, 255, .24);  /* hairline on dark  */

  --m: 40px;                             /* page margin */
  --section: 160px;                      /* vertical rhythm between sections */
  --gap-head: 120px;                     /* heading block -> its content */
  --measure: 720px;                      /* heading line length */
  --hair-dim: rgba(255, 255, 255, .12);  /* hairline on near-black */
  --ease: cubic-bezier(.16, 1, .3, 1);   /* expo-out, for entrances */
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --t-xl: 64px;  --lh-xl: 1.12;
  --t-lg: 32px;  --lh-lg: 1.4;
  --t-md: 24px;  --lh-md: 1.4;
  --t-base: 14px; --lh-base: 1.55;
  --t-sm: 12px;  --lh-sm: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/var(--lh-base) "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
body { overflow-x: clip; background: #fff; }
.page { position: relative; max-width: 1728px; margin: 0 auto; overflow: hidden; background: var(--paper); }
h1, h2, h3, h4, p, ul, ol, address, figure { margin: 0; padding: 0; font-weight: inherit; font-style: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ---------- shared pieces ---------- */
.section { padding: var(--section) var(--m); }
.head { display: grid; gap: 20px; }
.head .h2 { max-width: var(--measure); }
.eyebrow { color: var(--muted); }
.eyebrow::before { content: "— "; }
.h2, .h3, .services h3, .steps h3 { font-weight: 450; letter-spacing: -.012em; text-wrap: pretty; }
.h2 { font-size: var(--t-lg); line-height: var(--lh-lg); }
.h3 { font-size: var(--t-md); line-height: var(--lh-md); }
.n { font-size: var(--t-sm); line-height: var(--lh-sm); opacity: .64; font-variant-numeric: tabular-nums; }

/* [ Bracketed link ] */
.bracket { display: inline-block; white-space: nowrap; }
.bracket::before { content: "[\00a0"; }
.bracket::after { content: "\00a0]"; }
.bracket:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.logo { font-size: var(--t-md); line-height: 1.34; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.logo b { font-weight: 600; }
.logo--xl { font-size: 40px; line-height: 1.4; }

/* small square marking where two lines cross */
.sq { position: absolute; width: 6px; height: 6px; opacity: .8; background: #fff; transform: translate(-50%, -50%); pointer-events: none; }
.sq--grey { background: #888; }
.sq--dim { background: #414141; }
.sq--w { top: 420px; }   /* top edge of .steps: band height 900 - steps height 480 */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  aspect-ratio: 1728 / 1117;
  overflow: hidden;
  color: #fff;
  background: #3a3c40;
}
.hero__img {
  position: absolute; max-width: none;
  left: 0; top: -8%; width: 100%; height: 116%;   /* a little extra height: the parallax slides the photo inside the frame */
  object-fit: cover; object-position: 50% 50%;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.4) 100%),
    radial-gradient(60% 70% at 38% 55%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 100%);
}
.hero__lines {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: auto; aspect-ratio: 1728 / 1117;
  overflow: visible; pointer-events: none;
}
.hero__lines line { stroke: #fff; stroke-width: .75; stroke-dasharray: 1; opacity: .3; }
.hero__lines rect { fill: #fff; opacity: .7; }

.nav {
  position: absolute; z-index: 2; top: var(--m); left: var(--m); right: var(--m);
  display: grid;
  grid-template-columns: calc(50% + 52px - var(--m)) 261px 1fr auto;
  align-items: start;
}
.nav__panel { display: contents; }
.nav__btn { display: none; }
.nav__links { display: grid; gap: 10px; width: max-content; }
.nav__contact { display: grid; width: max-content; }
.nav a:not(.logo):hover { opacity: .65; }
.nav .bracket:hover { opacity: 1; }

.hero__title {
  position: absolute; left: var(--m); bottom: 283px;
  max-width: 880px;
  font-size: var(--t-xl); line-height: var(--lh-xl); font-weight: 450; letter-spacing: -.02em;
}
.hero__intro {
  position: absolute; left: var(--m); bottom: 80px;
  display: flex; gap: 50px; max-width: 810px;
}
.hero__intro p { flex: 1 1 0; }

/* ==========================================================================
   Studio
   ========================================================================== */
.studio .h2 { max-width: 866px; }
.studio__foot {
  margin-top: var(--gap-head);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.studio__frame { position: relative; display: block; width: 174px; height: 208px; overflow: hidden; }
.studio__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* ==========================================================================
   Featured projects
   ========================================================================== */
.featured {
  position: relative; overflow: hidden;
  height: 1203px;
  background: #1b1c1e;
  color: #fff;
}
.featured__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.85);
  transition: opacity .5s ease;
}
.featured__shade { position: absolute; inset: 0; background: rgba(17,17,17,.6); }
.featured .eyebrow { color: var(--muted-inv); }
.featured__head { position: absolute; top: var(--m); left: var(--m); max-width: 509px; }

.featured__stage { position: absolute; left: 0; right: 0; top: 377px; height: 530px; }
.featured__rule { position: absolute; left: 0; right: 0; top: 265px; height: 1px; background: rgba(255,255,255,.2); }
.featured__arc {
  position: absolute; left: 50%; top: 225px; width: 1049px; height: 1049px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
}
.featured .sq { top: 265px; background: #a7a7a7; }
.sq--l { left: calc(50% - 346px); }
.sq--r { left: calc(50% + 346px); }

.arrow { position: absolute; top: 221px; width: 24px; height: 24px; transition: opacity .2s, transform .2s; }
.arrow svg { display: block; width: 100%; height: 100%; }
.arrow--prev { left: var(--m); }
.arrow--next { right: var(--m); }
.arrow:hover { opacity: .6; }
.arrow--prev:hover { transform: translateX(-3px); }
.arrow--next:hover { transform: translateX(3px); }

.featured__note { position: absolute; top: 197px; left: calc(50% + 366px); width: 290px; }

.peek { position: absolute; top: 278px; width: 171px; height: 109px; object-fit: cover; transition: opacity .4s ease; }
.peek--l { left: -2px; }
.peek--r { right: -6px; }

.card {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 692px; height: 530px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(17,17,17,.15);
  border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.card__frame { height: 438px; overflow: hidden; background: rgba(17,17,17,.35); }
.card__frame img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { display: flex; justify-content: space-between; align-items: flex-start; }
.card h3 { font-size: var(--t-base); line-height: var(--lh-base); font-weight: 400; }
.card p, .card .bracket { font-size: var(--t-sm); line-height: var(--lh-sm); }
.card__meta p { opacity: .72; }
.card__r { display: grid; justify-items: end; gap: 10px; }
.card__r p { margin-bottom: -10px; }
.card__r .bracket { opacity: 1; }
.fly { position: absolute; z-index: 5; object-fit: cover; pointer-events: none; transform-origin: 50% 50%; box-shadow: 0 30px 80px rgba(0,0,0,.35); }

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise { position: relative; padding-bottom: 0; }
.expertise__frame { position: absolute; right: var(--m); top: calc(var(--section) + 171px); display: block; width: 179px; height: 105px; overflow: hidden; }
.expertise__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.expertise__body { position: relative; margin: 108px calc(var(--m) * -1) 0; padding: 100px var(--m) var(--section) calc(50% + 52px); }
.rule { position: absolute; left: 0; right: 0; height: 1px; background: var(--hair); }
.rule--h { top: 0; }
.expertise__diag { position: absolute; left: 0; top: 0; width: 50%; height: 647px; overflow: visible; }
.expertise__diag line { stroke: var(--hair); stroke-width: 1; stroke-dasharray: 1; }
.expertise .sq--grey { left: 50%; top: 0; }

.services li {
  display: grid; grid-template-columns: 32px 1fr 382px; align-items: start;
  position: relative; padding: 20px 10px; margin-bottom: 20px;
}
.services li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; }
.services li:last-child { margin-bottom: 0; }
.services .n { padding-top: 7px; }
.services h3, .steps h3 { font-size: var(--t-md); line-height: var(--lh-md); letter-spacing: -.012em; }
.services p { min-height: 48px; }
.services li:hover h3 { transform: translateX(4px); }
.services h3 { transition: transform .25s ease; }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach__band { position: relative; height: 900px; margin-top: 0; overflow: hidden; background: #000; color: #fff; }
.approach__band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.approach__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.66) 100%),
    rgba(0,0,0,.2);
}
.steps {
  position: absolute; left: 0; right: 0; bottom: 0; height: 480px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-inv); transform-origin: 0 50%; }
.steps li {
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; padding: var(--m);
}
.steps li + li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair-inv); transform-origin: 50% 0; }
.steps h3 { margin-bottom: 10px; }
.steps p { max-width: 296px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team__grid {
  display: grid; grid-template-columns: repeat(3, 394px); justify-content: space-between;
  max-width: 1418px; margin: var(--gap-head) auto 0; align-items: start;
}
.person__img { position: relative; display: block; width: 394px; height: 485px; margin-bottom: 10px; overflow: hidden; }
.person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person h3 { font-size: var(--t-base); line-height: var(--lh-base); font-weight: 400; }
.person p { font-size: var(--t-sm); line-height: var(--lh-sm); opacity: .64; }
.person { will-change: transform; }
.person--1 { margin-top: 80px; }
.person--2 { margin-top: 240px; }
.person--3 { margin-top: 0; }
.team { padding-bottom: var(--section); }   /* room for the parallax drift */

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.cta { overflow: hidden; padding-top: 40px; }
.cta__copy {
  width: 562px; margin: 0 auto;
  display: grid; justify-items: center; text-align: center; gap: 20px;
}
.cta__copy .h3 { margin-top: -10px; }
.cta__copy .bracket { margin-top: 0; }
.strip {
  display: flex; align-items: flex-end; gap: 0;
  position: relative; margin: 280px -36px 0;
  height: 392px;   /* tallest resting image: a hovered image grows upward into the spacing, so nothing below moves */
}
.strip__i {
  flex: calc(var(--w)) 1 0; min-width: 0;
  height: calc(var(--h) * 1.3px);
  position: relative; overflow: hidden; transform-origin: 50% 100%;
  filter: grayscale(1);
  transition: flex-grow .9s var(--ease), height .9s var(--ease), filter .6s ease;
}
.strip__i img { width: 100%; height: 100%; object-fit: cover; }
/* hovered image takes more of the row and grows taller; its neighbours give way instead of being covered */
.strip__i:hover, .strip__i.is-hover { flex-grow: calc(var(--w) * 2.4); height: calc(var(--h) * 1.3px + 90px); filter: grayscale(.25); }
.strip:hover .strip__i:not(:hover), .strip.has-hover .strip__i:not(.is-hover) { filter: grayscale(1) brightness(.88); }
.strip__i:nth-child(4) { filter: grayscale(.85) brightness(.95); }
.strip { pointer-events: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative; overflow: hidden;
  height: 814px; background: var(--ink); color: #fff;
}
.footer__h { position: absolute; left: 0; right: 0; top: 404px; height: 1px; background: var(--hair-dim); transform-origin: 0 50%; }
.footer__v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hair-dim); transform-origin: 50% 0; }
.footer__v--l { left: 33.16%; }
.footer__v--r { left: 66.84%; }
.footer__sq { top: 404.5px; }
.footer__sq--l { left: 33.16%; }
.footer__sq--r { left: 66.84%; }
.footer__arc {
  position: absolute; top: -265px; width: 1339px; height: 1339px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
}
.footer__arc--l { left: calc(33.16% - 1339px); }
.footer__arc--r { left: 66.84%; }

.footer__top { position: absolute; top: var(--m); left: var(--m); right: var(--m); display: flex; justify-content: space-between; align-items: flex-start; }
.footer h3 { margin: 0; font-size: var(--t-base); line-height: var(--lh-base); font-weight: 400; color: var(--muted-inv); }
.footer__links { display: grid; grid-template-columns: 142px 142px auto; gap: 32px; }
.footer__links a { white-space: nowrap; }
.footer__links ul { display: grid; gap: 10px; margin-top: 20px; }
.footer a:hover { opacity: .6; }
.footer__touch a {
  display: block; margin-top: 0; font-size: 40px; line-height: 1.5; letter-spacing: -.015em;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.footer__info {
  position: absolute; top: 434px; left: var(--m); right: var(--m);
  display: grid; grid-template-columns: 1fr 1fr 1fr; color: var(--muted-inv);
}
.footer__info address { text-align: center; }
.footer__info .r { text-align: right; }
.footer__base {
  position: absolute; left: var(--m); right: var(--m); bottom: var(--m);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.footer__base .copy { color: var(--muted-inv); }
.footer__img { position: relative; display: block; width: 245px; height: 147px; overflow: hidden; opacity: .85; }
.footer__img img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }

/* ==========================================================================
   Motion
   Quiet and slow: lines draw, squares settle in, content rises a few pixels.
   Start states only exist when JS is running (html.js) and the visitor has not
   asked for reduced motion; every rule below hides first, reveals on `.in`.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* ---- generic rise (headings, CTA copy, service rows) ---- */
  .motion .reveal { transition: opacity 1s ease var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
  .motion .reveal:not(.in) { opacity: 0; translate: 0 24px; }

  /* ---- hero: runs once on load ---- */
  .motion .hero__img { transition: scale 2.8s var(--ease); }
  .motion .hero:not(.is-ready) .hero__img { scale: 1.07; }
  .motion .hero__lines line { transition: stroke-dashoffset 2.2s var(--ease-io); }
  .motion .hero__lines .l0 { transition-duration: 1.8s; transition-delay: .25s; }
  .motion .hero__lines .l1 { transition-delay: .55s; }
  .motion .hero__lines .l2 { transition-delay: .7s; }
  .motion .hero__lines .l3 { transition-delay: .85s; }
  .motion .hero__lines .l4 { transition-delay: 1s; }
  .motion .hero:not(.is-ready) .hero__lines line { stroke-dashoffset: 1; }
  .motion .hero__lines .sqr { transform-box: fill-box; transform-origin: center; transition: scale .9s var(--ease) calc(.4s + var(--x) * .0007s); }
  .motion .hero:not(.is-ready) .hero__lines .sqr { scale: 0; }

  .motion .hero__title.split .w > span { transition: translate 1.3s var(--ease) calc(.3s + var(--l, 0) * .16s); }

  .motion .nav, .motion .hero__intro { transition: opacity 1.2s ease 1s, translate 1.4s var(--ease) 1s; }
  .motion .hero:not(.is-ready) .nav, .motion .hero:not(.is-ready) .hero__intro { opacity: 0; translate: 0 14px; }
  .motion .hero__intro { transition-delay: 1.15s; }

  /* ---- featured ---- */
  .motion .featured__rule { transition: scale 1.8s var(--ease-io); transform-origin: 0 50%; }
  .motion .featured__arc { transition: opacity 1.6s ease .3s, scale 2.2s var(--ease) .3s; }
  .motion .featured .sq { transition: scale .8s var(--ease) 1.1s; }
  .motion .card { transition: opacity 1.1s ease .35s, translate 1.4s var(--ease) .35s; }
  .motion .peek { transition: opacity .5s ease, translate 1.4s var(--ease) 1s; }
  .motion .featured__note, .motion .arrow { transition: opacity 1s ease 1.2s, translate 1.2s var(--ease) 1.2s; }
  .motion .arrow:hover { transition-delay: 0s; }
  .motion .featured__stage:not(.in) .featured__rule { scale: 0 1; }
  .motion .featured__stage:not(.in) .featured__arc { opacity: 0; scale: .95; }
  .motion .featured__stage:not(.in) .sq { scale: 0; }
  .motion .featured__stage:not(.in) .card { opacity: 0; translate: 0 40px; }
  .motion .featured__stage:not(.in) .peek--l { opacity: 0; translate: -70px 0; }
  .motion .featured__stage:not(.in) .peek--r { opacity: 0; translate: 70px 0; }
  .motion .featured__stage:not(.in) .featured__note, .motion .featured__stage:not(.in) .arrow { opacity: 0; translate: 0 10px; }

  /* ---- expertise ---- */
  .motion .expertise__body .rule { transition: scale 1.8s var(--ease-io); transform-origin: 0 50%; }
  .motion .expertise__diag line { transition: stroke-dashoffset 2.4s var(--ease-io) .3s; }
  .motion .expertise__body .sq { transition: scale .8s var(--ease) 1.8s; }
  .motion .expertise__body:not(.in) .rule { scale: 0 1; }
  .motion .expertise__body:not(.in) .expertise__diag line { stroke-dashoffset: 1; }
  .motion .expertise__body:not(.in) .sq { scale: 0; }
  .motion .services li::after { transition: scale 1.5s var(--ease-io) calc(var(--d, 0s) + .25s); }
  .motion .services li:not(.in)::after { scale: 0 1; }

  /* ---- approach ---- */
  .motion .approach__band > img { transition: scale 2.6s var(--ease); }
  .motion .approach__band:not(.in) > img { scale: 1.06; }
  .motion .steps::before { transition: scale 1.8s var(--ease-io) .2s; }
  .motion .steps li + li::before { transition: scale 1.6s var(--ease-io) calc(.5s + var(--i, 0) * .15s); }
  .motion .steps li > * { transition: opacity 1s ease calc(.9s + var(--i, 0) * .15s), translate 1.3s var(--ease) calc(.9s + var(--i, 0) * .15s); }
  .motion .approach__band .sq { transition: scale .8s var(--ease) calc(1.2s + var(--i, 0) * .15s); }
  .motion .approach__band:not(.in) .steps::before { scale: 0 1; }
  .motion .approach__band:not(.in) .steps li + li::before { scale: 1 0; }
  .motion .approach__band:not(.in) .steps li > * { opacity: 0; translate: 0 16px; }
  .motion .approach__band:not(.in) .sq { scale: 0; }

  /* ---- team: portraits rise on scroll, left to right ---- */
  .motion .person { transition: opacity 1.2s ease var(--d, 0s), translate 1.6s var(--ease) var(--d, 0s); }
  .motion .person:not(.in) { opacity: 0; translate: 0 120px; }
  .motion .person__img img { transition: scale 2s var(--ease) var(--d, 0s); }
  .motion .person:not(.in) .person__img img { scale: 1.1; }

  /* ---- contact strip ---- */
  .motion .strip__i { transition: opacity 1s ease calc(var(--i, 0) * .07s), translate 1.4s var(--ease) calc(var(--i, 0) * .07s), flex-grow .9s var(--ease), height .9s var(--ease), filter .6s ease; }
  .motion .strip:not(.in) .strip__i { opacity: 0; translate: 0 70px; }

  /* ---- footer ---- */
  .motion .footer__h { transition: scale 1.8s var(--ease-io); transform-origin: 0 50%; }
  .motion .footer__v { transition: scale 1.8s var(--ease-io) .3s; }
  .motion .footer__arc { transition: opacity 1.6s ease .6s, scale 2.2s var(--ease) .6s; }
  .motion .footer__sq { transition: scale .8s var(--ease) 1.5s; }
  .motion .footer__top, .motion .footer__info, .motion .footer__base { transition: opacity 1.2s ease .8s, translate 1.4s var(--ease) .8s; }
  .motion .footer:not(.in) .footer__h { scale: 0 1; }
  .motion .footer:not(.in) .footer__v { scale: 1 0; }
  .motion .footer:not(.in) .footer__arc { opacity: 0; scale: .96; }
  .motion .footer:not(.in) .footer__sq { scale: 0; }
  .motion .footer:not(.in) .footer__top, .motion .footer:not(.in) .footer__info, .motion .footer:not(.in) .footer__base { opacity: 0; translate: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ==========================================================================
   Project page
   ========================================================================== */

/* hero */
.hero--project .hero__img { left: 0; width: 100%; }
.hero--project .hero__title { bottom: 383px; max-width: 880px; }
.hero__lines circle { fill: none; stroke: #fff; stroke-width: .75; stroke-dasharray: 1; opacity: .3; }
.hero__intro--r { left: auto; right: var(--m); width: 394px; display: block; max-width: none; }

.pcard {
  position: absolute; right: var(--m); bottom: 180px; width: 394px; padding: 20px;
  display: flex; flex-direction: column; gap: 20px; color: #fff;
  background: rgba(17,17,17,.15); border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.pcard__t { font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; }
.pcard__img { height: 155px; overflow: hidden; background: rgba(17,17,17,.35); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.pcard__meta { display: flex; justify-content: space-between; margin-top: -10px; }
.pcard h3 { font-size: var(--t-base); line-height: var(--lh-base); font-weight: 400; }
.pcard__meta p, .pcard .bracket { font-size: var(--t-sm); line-height: var(--lh-sm); }
.pcard__meta > div:first-child p { opacity: .72; }
.pcard__r { display: grid; justify-items: end; gap: 10px; }
.pcard__r p { opacity: .72; margin-bottom: -10px; }
.pcard__bar { position: relative; height: 1px; background: rgba(255,255,255,.16); margin-top: -10px; }
.pcard__bar i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: #fff; transform-origin: 0 50%; scale: 0 1; }
.pcard__bar i.run { animation: pbar var(--dur, 4.5s) linear forwards; }
@keyframes pbar { to { scale: 1 1; } }
.pcard.swap .pcard__img img, .pcard.swap .pcard__meta { opacity: 0; }
.pcard__meta { transition: opacity .4s ease; }

/* perspective statement */
.persp { display: grid; grid-template-columns: 1fr minmax(0, 731px); gap: 40px; align-items: start; }
.persp .h2 { margin-left: auto; }

/* archive */
.archive__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 240px; margin-top: var(--gap-head); }
.work { display: block; }
.work__img { display: block; margin: 0; overflow: hidden; background: #e9e9e9; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.work:hover .work__img img, .study__imgs .work__img:hover img { scale: 1.04; }
.work__meta { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 10px; }
.work h3 { font-size: var(--t-base); line-height: var(--lh-base); font-weight: 400; }
.work__meta p, .work__meta .bracket { font-size: var(--t-sm); line-height: var(--lh-sm); }
.work__meta div:first-child p { opacity: .64; }
.work__r { display: grid; justify-items: end; gap: 10px; }
.work__r p { opacity: .64; margin-bottom: -10px; }
.work--sm { width: 48.52%; }
.work--north { justify-self: end; margin-top: 332px; }
.work--thresh { align-self: start; }
.work--vestige .work__img, .work--civic .work__img { aspect-ratio: 1; }
.work--vestige img { filter: saturate(.52) brightness(.93); }
.work--civic img { filter: saturate(.24) brightness(.95); }
.work--north img { filter: saturate(.12) brightness(.8); }
.work--axis img { filter: grayscale(1) brightness(.8) contrast(.9); }
.work--cant img { filter: brightness(.93); }
.work--thresh img { filter: grayscale(1); }
.study__imgs .work__img img { filter: saturate(.13) contrast(.93); }
.study__imgs figure:first-child img { filter: none; }
.archive__more { text-align: center; margin-top: var(--section); }

/* study */
.study { position: relative; }
.study__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: var(--section); }
.study__lower { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 30px; min-height: 640px; }
.study__rule { position: absolute; left: calc(var(--m) * -1); right: calc(var(--m) * -1); top: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; }
.study__deco { position: absolute; left: calc(var(--m) * -1); top: 0; width: 876px; height: 545px; overflow: visible; pointer-events: none; }
.study__deco line { fill: none; stroke: var(--hair); stroke-width: 1; stroke-dasharray: 1; }
.study__sq { left: 836px; top: 0; }   /* 876 - 40 margin: where the diagonal meets the rule, above the table's column */
.study__spec { grid-column: 2; }
.spec li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 20px 10px; min-height: 76px; }
.spec li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; }
.spec h3, .spec__t { font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; }
.spec p { text-align: right; max-width: 340px; }
.study__go { text-align: right; margin-top: 40px; }

/* motion (project page) */
@media (prefers-reduced-motion: no-preference) {
  .motion .hero__lines circle { transition: stroke-dashoffset 2.8s var(--ease-io) .7s; }
  .motion .hero:not(.is-ready) .hero__lines circle { stroke-dashoffset: 1; }
  .motion .hero__lines .l1 { transition-delay: .5s; } .motion .hero__lines .l2 { transition-delay: .8s; transition-duration: 2.6s; }
  .motion .pcard { transition: opacity 1.2s ease 1.25s, translate 1.4s var(--ease) 1.25s; }
  .motion .hero:not(.is-ready) .pcard { opacity: 0; translate: 0 18px; }

  .motion .work .work__img, .motion .study__imgs .work__img { transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); }
  .motion .work:not(.in) .work__img, .motion .study__imgs:not(.in) .work__img { opacity: 0; }
  .motion .work .work__img img, .motion .study__imgs .work__img img { scale: 1; }
  .motion .work:not(.in) .work__img img, .motion .study__imgs:not(.in) .work__img img { scale: 1.06; }
  .motion .work .work__img img { transition: scale 2.2s var(--ease); }
  .motion .work:hover .work__img img { transition-duration: 1.4s; }
  .motion .work__meta { transition: opacity 1s ease .5s, translate 1.2s var(--ease) .5s; }
  .motion .work:not(.in) .work__meta { opacity: 0; translate: 0 14px; }

  .motion .study__rule { transition: scale 1.8s var(--ease-io); }
  .motion .study__deco line { transition: stroke-dashoffset 2.6s var(--ease-io) .3s; }
  .motion .study__sq { transition: scale .8s var(--ease) 1.9s; }
  .motion .study__lower:not(.in) .study__rule { scale: 0 1; }
  .motion .study__lower:not(.in) .study__deco line { stroke-dashoffset: 1; }
  .motion .study__lower:not(.in) .study__sq { scale: 0; }
  .motion .spec li::after { transition: scale 1.5s var(--ease-io) calc(var(--d, 0s) + .25s); }
  .motion .spec li:not(.in)::after { scale: 0 1; }
}

/* ==========================================================================
   Project detail page (Vestige House)
   ========================================================================== */
.hero--detail { background: #fff; color: var(--ink); aspect-ratio: 1728 / 1117; }
.hero--detail .hero__title { top: 298px; bottom: auto; max-width: none; letter-spacing: -.025em; }
.dhero__p { position: absolute; top: 312px; right: var(--m); width: 580px; }
.dhero__img { position: absolute; left: 0; right: 0; top: 37.96%; bottom: 0; overflow: hidden; background: #3a3c40; }   /* 424 / 1117 */
.dhero__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.dhero__lines { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: auto; aspect-ratio: 1728 / 693; }

/* information */
.info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; padding-top: var(--section); padding-bottom: 0; }
.info .eyebrow { padding-left: 0; }
.info .spec { grid-column: 2; }
.spec--sm li { min-height: 70px; }
.spec--sm h3, .spec--sm .spec__t { font-size: var(--t-base); line-height: var(--lh-base); }

/* two-column section heads */
.dsec { padding-bottom: 0; }
.dsec:last-of-type { padding-bottom: var(--section); }
.dhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.dhead .head { max-width: 640px; }
.dhead__p { width: 436px; margin-top: 64px; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 40px; margin-top: var(--section); }
.work--plan { grid-column: 1 / -1; }
.work__cap { margin-top: 10px; opacity: .64; font-size: var(--t-base); line-height: var(--lh-base); }
.work__cap--c { text-align: center; }
.work--plan .work__img, .work--half .work__img { background: #fff; }
.work--half img, .work--plan img { object-fit: cover; }

/* structural development stepper */
.stage { position: relative; height: 456px; margin-top: 100px; }
.stage__frame { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 65.86%; max-width: 1138px; aspect-ratio: 1138 / 456; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.03; transition: opacity 1s ease, scale 1.6s var(--ease); }
.stage__img.is-on { opacity: 1; scale: 1; }
.stage__txt { position: absolute; left: 0; bottom: 0; width: 328px; }
.stage__txt h3 { font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.01em; margin-bottom: 20px; }
.stage__txt h3, .stage__txt p { transition: opacity .35s ease; }
.stage.swap .stage__txt h3, .stage.swap .stage__txt p { opacity: 0; }
.stage__nav { position: absolute; right: 0; top: 118px; width: 181px; display: grid; justify-items: end; gap: 28px; }
.stage__nav ol { display: grid; gap: 10px; justify-items: end; }
.stage__nav button { white-space: nowrap; font-size: var(--t-sm); line-height: var(--lh-sm); opacity: .62; text-align: right; transition: opacity .4s ease, font-size .4s ease; }
.stage__nav button:hover { opacity: .65; }
.stage__nav button.is-on { font-size: var(--t-base); line-height: 24px; opacity: 1; }
.stage__bar { position: relative; width: 148px; height: 1px; background: rgba(17,17,17,.14); }
.stage__bar i { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--ink); transform-origin: 0 50%; scale: 0 1; }
.stage__bar i.run { animation: pbar var(--dur, 4.5s) linear forwards; }

/* spatial gallery: absolute collage, positions are % of the 1648 content width */
.gallery { position: relative; height: 2096px; margin-top: var(--section); }
.g { position: absolute; margin: 0; }
.g .work__img { width: 100%; }
.g--living { left: 42.3%; top: 0; width: 57.7%; }
.g--reading { left: 0; top: 285px; width: 25.4%; }
.g--bed { left: 0; top: 744px; width: 57.7%; }
.g--dress { left: 74.6%; top: 744px; width: 25.4%; }
.g--bath { left: 33.9%; top: 1488px; width: 32.3%; }
.g--kit { left: 67.7%; top: 1488px; width: 32.3%; }
.g--living img { filter: saturate(.62) brightness(.85); }
.g--reading img { filter: saturate(.7) brightness(.94); }
.g--bed img { filter: saturate(.7) brightness(.9); }
.g--dress img { filter: saturate(.65) brightness(.95); }
.g--kit img { filter: saturate(.61); }

@media (prefers-reduced-motion: no-preference) {
  .motion .dhero__img { transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1) .25s; }
  .motion .dhero__img img { transition: scale 2.8s var(--ease) .25s; }
  .motion .hero:not(.is-ready) .dhero__img { opacity: 0; }
  .motion .hero:not(.is-ready) .dhero__img img { scale: 1.06; }
  .motion .dhero__p { transition: opacity 1.2s ease 1s, translate 1.4s var(--ease) 1s; }
  .motion .hero:not(.is-ready) .dhero__p { opacity: 0; translate: 0 14px; }
  .motion .dhero__lines .l0 { transition-delay: 1.1s; } .motion .dhero__lines .l1 { transition-delay: 1.3s; }
  .motion .dhero__lines circle { transition-delay: 1.5s; }
  .motion .dhero__lines .sqr { transition-delay: 1.2s; }
  .motion .stage__nav, .motion .stage__txt { transition: opacity 1s ease .6s, translate 1.2s var(--ease) .6s; }
  .motion .stage:not(.in) .stage__nav, .motion .stage:not(.in) .stage__txt { opacity: 0; translate: 0 16px; }
  .motion .stage:not(.in) .stage__frame { opacity: 0; }
  .motion .stage__frame { transition: opacity 1.4s ease; }
}

/* ---- text + image entrances (all pages) ---- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .motion .split .w > span { transition: translate 1.2s var(--ease) calc(var(--l, 0) * .13s); }
  .motion .split:not(.in) .w > span { translate: 0 112%; }
  .motion .reveal-img { transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); }
  .motion .reveal-img:not(.in) { opacity: 0; }
}

/* ==========================================================================
   Template layer (added when Auren became a template)
   Fit, smooth scroll, parallax, motion furniture, About and Contact pages.
   ========================================================================== */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: #fff; color: #111; }
.skip:focus { left: 10px; top: 10px; }
.page { transform-origin: 0 0; }
address { font-style: normal; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.lenis { scroll-behavior: auto; }

/* ---------- preloader and page curtain ----------
   Seven ink shutters. First visit of a session: an elevation drawing builds itself line by line while the count follows the real loading,
   the studio name rises letter by letter, then the shutters open, odd ones upward and even ones downward, from the middle outwards.
   Changing page: the shutters close the same way (a hairline sweeps across and drops a square on every joint) with the name of the next page,
   and the next page opens them again. */
.ld { position: fixed; inset: 0; z-index: 200; display: none; color: #fff; pointer-events: none; --p: 0; }
.preload .ld, .arriving .ld, .leaving .ld { display: block; pointer-events: auto; }
.arriving .ld { --p: 1; }
html.preload, html.arriving { overflow: hidden; }
.ld__slats { position: absolute; inset: 0; display: flex; }
.ld__slats i { flex: 1 0 0; margin-right: -1px; background: #111; }
.ld__slats i:last-child { margin-right: 0; }
.leaving .ld__slats i:nth-child(odd) { translate: 0 101%; }
.leaving .ld__slats i:nth-child(even) { translate: 0 -101%; }

.ld__bp { position: absolute; left: var(--m); right: var(--m); top: 9%; height: 56%; translate: calc(var(--mx, 0) * 28px) calc(var(--my, 0) * 18px); transition: translate .7s var(--ease); }
.ld__bp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ld__bp path { fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: .9; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--p, 0) - var(--a, 0)) / (var(--b, 1) - var(--a, 0)), 1)); }
.ld__bp path.k { stroke: rgba(255, 255, 255, .2); }
.ld__bp rect { fill: #fff; transform-box: fill-box; transform-origin: center; scale: clamp(0, (var(--p, 0) - var(--a, 0)) * 30, 1); }
.leaving .ld__bp, .arriving .ld__bp { display: none; }

.ld__line { position: absolute; left: 0; right: 0; top: 78%; height: 1px; background: rgba(255, 255, 255, .14); }
.ld__line::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.ld__sq { position: absolute; top: 78%; left: calc(var(--p, 0) * 100%); width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.ld__sqs { position: absolute; inset: 0; pointer-events: none; }
.ld__sqs i { position: absolute; top: 78%; left: calc(var(--s) * 100%); width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; scale: clamp(0, (var(--p, 0) - var(--s)) * 25, 1); }

.ld__inner { position: absolute; top: 0; bottom: 0; left: var(--m); right: var(--m); }
.ld__row { position: absolute; left: 0; right: 0; bottom: 22%; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 22px; }
.ld__mask { display: block; min-width: 0; overflow: hidden; padding: .06em 0 .18em; margin-bottom: -.18em; }
.ld__name { display: block; font-size: calc(var(--t-xl) * 1.8); line-height: 1.02; font-weight: 450; letter-spacing: -.03em; white-space: nowrap; }
.ld__name .c { display: inline-block; transform: translateY(112%); }
.arriving .ld__name .c { transform: none; }
.ld__count { font-size: var(--t-xl); line-height: var(--lh-xl); font-weight: 450; letter-spacing: -.02em; font-variant-numeric: tabular-nums; opacity: .45; }
.arriving .ld__count, .leaving .ld__count { opacity: 0; }
.ld__tag { position: absolute; top: calc(var(--m) * .9); font-size: var(--t-sm); line-height: var(--lh-sm); letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; opacity: 0; }
.ld__tag--l { left: 0; }
.ld__tag--r { right: 0; }
.arriving .ld__tag { opacity: 1; }
@media (max-width: 599px) { .ld__name { font-size: calc(var(--t-xl) * 1.3); } .ld__bp svg { transform: scale(1.3); transform-origin: 50% 100%; } }

/* ---------- parallax: every photo sits a little taller than its frame (.px, added by the script) and slides inside it ---------- */
.motion .px { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; max-width: none; translate: 0 calc(var(--py, 0) * 1%); will-change: translate; }
.motion .hero__img.px, .motion .featured__bg.px { top: -8%; height: 116%; }
.motion .work__img, .motion .card__frame, .motion .pcard__img { position: relative; overflow: hidden; }
.motion .stage__frame { overflow: hidden; }

/* ---------- compact bar that comes back when scrolling up ---------- */
.dock { position: fixed; z-index: 60; top: 16px; left: 50%; display: none; align-items: center; gap: 32px; padding: 12px 20px; color: #fff; font-size: 12px; line-height: 1.5;
  background: rgba(17,17,17,.62); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  translate: -50% -160%; transition: translate .7s var(--ease); white-space: nowrap; }
.motion .dock { display: flex; }
.dock.is-on { translate: -50% 0; }
.dock .logo { font-size: 14px; line-height: 1.4; }
.dock ul { display: flex; gap: 24px; }
.dock a:not(.logo):hover { opacity: .65; }
.dock .bracket:hover { opacity: 1; }


/* ---------- "View" bubble on project photos ---------- */
.cursor { position: fixed; z-index: 80; left: 0; top: 0; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: none; place-items: center;
  border-radius: 50%; background: #fff; color: #111; font-size: 12px; letter-spacing: .02em; pointer-events: none; scale: .2; opacity: 0; mix-blend-mode: normal;
  transition: scale .45s var(--ease), opacity .25s ease; }
@media (hover: hover) and (pointer: fine) { .motion .cursor { display: grid; } }
.cursor.on { scale: 1; opacity: 1; }

/* ---------- small touches ---------- */
.bracket { transition: opacity .25s ease; }
.motion .bracket { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .3s ease, translate .5s var(--ease); }
.motion .bracket:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   About
   ========================================================================== */
.pcard--facts { gap: 12px; }
.facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0 12px; border-top: 1px solid rgba(255,255,255,.2); }
.facts__v { font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.facts__l { font-size: var(--t-sm); line-height: var(--lh-sm); opacity: .82; text-align: right; }

.story .persp { margin-bottom: var(--gap-head); row-gap: 40px; }
.story__p { grid-column: 2; }
.story__fig { margin: 0; }
.story .work__img { background: #e9e9e9; }

.values .services li { grid-template-columns: 32px 1fr 382px; }
.stats .approach__band { height: 720px; }
.stats .sq--w { top: 240px; }
.stats .steps { height: 480px; }
.stats .steps li { justify-content: flex-end; }
.stat { display: flex; align-items: baseline; gap: 2px; margin-bottom: 14px; font-size: var(--t-xl); line-height: var(--lh-xl); font-weight: 450; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat__s { opacity: .6; }
.stat__l { max-width: 296px; opacity: .8; }

.journey { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
.journey .head { max-width: 560px; position: sticky; top: 40px; }
.journey .spec { grid-column: 2; }
.yr { display: inline-block; margin-right: 0; opacity: .64; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Contact
   ========================================================================== */
.hero--contact .hero__title { top: 228px; }
.spec a:hover { opacity: .6; }
.spec address, .spec p { text-align: right; max-width: 340px; }
.spec li > address { justify-self: end; }

.formsec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; padding-top: var(--section); }
.formsec__note { margin-top: 40px; max-width: 360px; color: var(--muted); }
.cform { grid-column: 2; display: grid; gap: 40px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; padding: 0; margin-bottom: 6px; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--hair-ui); border-radius: 0; background: none; color: inherit;
  font: 400 20px/30px "Hanken Grotesk", system-ui, sans-serif; letter-spacing: -.01em; resize: vertical; transition: border-color .3s ease; }
.field textarea { min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); transition: box-shadow .3s ease, border-color .3s ease; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-bottom-color: #b3261e; }
.err { min-height: 18px; margin-top: 6px; font-size: var(--t-sm); line-height: 18px; color: #b3261e; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--hair-ui); font-size: var(--t-sm); line-height: var(--lh-sm); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 1px solid currentColor; outline-offset: 4px; }
.cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; }
.cform__send { font-size: var(--t-base); line-height: var(--lh-base); }
.cform__ok { max-width: 360px; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); opacity: 0; transition: opacity .6s ease; }
.cform.is-sent .cform__ok { opacity: 1; }

.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
.faq .head { max-width: 560px; position: sticky; top: 40px; }
.faq__list { grid-column: 2; }
.qa { border-top: 1px solid var(--hair); }
.qa:last-child { border-bottom: 1px solid var(--hair); }
.qa summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 24px 10px; list-style: none; cursor: pointer;
  font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; transition: padding-left .4s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { opacity: .7; }
.qa__i { position: relative; flex: none; width: 44px; height: 44px; margin: -6px -14px 0 0; transition: rotate .5s var(--ease); }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 15px; right: 15px; top: 50%; height: 1px; background: currentColor; }
.qa__i::after { rotate: 90deg; }
.qa.is-open .qa__i { rotate: 45deg; }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 10px 28px; max-width: 520px; color: var(--muted); }

/* ---------- motion start states for the new blocks ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .facts li { transition: opacity 1s ease calc(1.3s + var(--d, 0s)), translate 1.2s var(--ease) calc(1.3s + var(--d, 0s)); }
  .motion .hero:not(.is-ready) .facts li { opacity: 0; translate: 0 12px; }
  .motion .pcard--facts { transition: opacity 1.2s ease 1.25s, translate 1.4s var(--ease) 1.25s; }
  .motion .stat__v { display: inline-block; }
  .motion .qa { transition: opacity 1s ease var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
  .motion .qa:not(.in) { opacity: 0; translate: 0 18px; }
  .motion .cform > * { transition: opacity 1s ease var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
  .motion .cform > *:not(.in) { opacity: 0; translate: 0 18px; }
}

/* ==========================================================================
   Portfolio model additions: filter, clients, case-study sections
   ========================================================================== */
.clients { padding-bottom: 0; }
.clients__list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--hair); }
.clients__list li { padding: 36px 10px 36px 0; border-bottom: 1px solid var(--hair); font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; transition: padding-left .5s var(--ease); }
.clients__list li:hover { padding-left: 14px; }

.archive__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.filters button { padding: 8px 14px; border: 1px solid var(--hair-ui); font-size: var(--t-sm); line-height: var(--lh-sm); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* a filtered archive is a plain two-column grid: the staggered layout only makes sense with every project present */
.archive__grid.is-filtered { row-gap: 80px; }
.archive__grid.is-filtered .work { width: 100%; margin: 0; justify-self: stretch; }
.archive__grid.is-filtered .work__img { aspect-ratio: 4 / 3 !important; }
.archive__grid [hidden] { display: none !important; }

.brief__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: var(--gap-head); }
.brief__grid .h2 { max-width: 560px; margin-bottom: 40px; }
.brief__grid p { max-width: 560px; color: var(--muted); }

.results .head { max-width: none; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--gap-head); border-top: 1px solid var(--hair); }
.figures li { padding: 40px 20px 0 0; }
.figures li + li { padding-left: 40px; border-left: 1px solid var(--hair); }
.figures .stat { margin-bottom: 14px; }
.figures .stat__s { font-size: var(--t-md); margin-left: 8px; }
.figures .stat__l { color: var(--muted); opacity: 1; max-width: 240px; }

.credits { padding-top: var(--section); }
.next { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: end; }
.next__txt { display: grid; gap: 20px; justify-items: start; align-self: stretch; align-content: start; }
.next__txt .h2 { max-width: 560px; margin-top: 140px; }
.next__txt .bracket { margin-top: 20px; }
.next__place { color: var(--muted); margin-top: -10px; }
.next__img { background: #e9e9e9; }

.awards { padding-top: var(--section); grid-template-columns: 1fr 1fr; }
.awards .head { max-width: 560px; }
.awards .spec { grid-column: 2; }
@media (prefers-reduced-motion: no-preference) {
  .motion .clients__list li { transition: opacity 1s ease var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s), padding-left .5s var(--ease); }
  .motion .clients__list li:not(.in) { opacity: 0; translate: 0 14px; }
  .motion .figures li { transition: opacity 1s ease var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
  .motion .figures li:not(.in) { opacity: 0; translate: 0 18px; }
}

.strip__track { display: contents; }
.strip__clone { display: none; }

/* ==========================================================================
   Tablet and phone (below 1200 px)
   Their own layout instead of the scaled desktop frame: one column, fixed px tokens per band,
   the same spacing scale everywhere (page margin, section gap, head gap).
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --m: 32px; --section: 96px; --gap-head: 56px; --measure: 640px; --t-xl: 52px; --t-lg: 28px; --t-md: 20px; }
  .dock, .cursor { display: none !important; }
  html.menu-open { overflow: hidden; }

  /* menu: logo and a Menu button; the links open as a full-screen panel */
  .nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 14px var(--m); display: flex; justify-content: space-between; align-items: center; transition: translate .55s var(--ease), background-color .4s ease; }
  .motion .nav { transition: opacity 1.2s ease 1s, translate .55s var(--ease), background-color .4s ease; }
  .nav.is-stuck { background: rgba(17, 17, 17, .9); color: #fff; }
  .nav.is-hidden { translate: 0 -110%; }
  .nav.is-open { background: transparent; }
  .nav .logo { position: relative; z-index: 12; }
  .nav__btn { position: relative; z-index: 12; display: inline-flex; align-items: center; gap: 12px; margin: -12px 0; padding: 12px 0; font-size: var(--t-sm); line-height: var(--lh-sm); letter-spacing: .02em; text-transform: uppercase; }
  .nav__btn i { position: relative; width: 22px; height: 9px; }
  .nav__btn i::before, .nav__btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: top .4s var(--ease), rotate .4s var(--ease); }
  .nav__btn i::before { top: 0; }
  .nav__btn i::after { top: 8px; }
  .nav.is-open .nav__btn i::before { top: 4px; rotate: 20deg; }
  .nav.is-open .nav__btn i::after { top: 4px; rotate: -20deg; }
  .nav.is-open .logo, .nav.is-open .nav__btn { color: #fff; }
  .nav__panel { position: fixed; inset: 0; z-index: 11; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding: 120px var(--m) var(--m); overflow-y: auto;
    background: #111; color: #fff; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
  .nav.is-open .nav__panel { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links { gap: 0; width: auto; }
  .nav__links a { display: block; padding: 8px 0; font-size: 40px; line-height: 1.15; letter-spacing: -.02em; }
  .nav__contact { width: auto; gap: 0; }
  .nav__contact a { padding: 6px 0; }
  .nav__cta { align-self: flex-start; padding: 8px 0; }
  .bracket { padding: 13px 0; }
  .nav .bracket, .footer__touch .bracket { padding: 8px 0; }

  /* heroes: content flows from the bottom of a tall photo */
  /* one vertical rhythm: every section owns the gap above it; the last one in the page owns the gap below */
  .section { padding: var(--section) var(--m) 0; }
  main > :last-child { padding-bottom: var(--section); }
  .studio { padding-bottom: var(--section); }
  .approach > .section { padding-bottom: var(--gap-head); }
  .hero { aspect-ratio: auto; min-height: max(640px, 100vh); min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--m) var(--m); }
  .hero__lines { top: 0; bottom: auto; height: 100%; aspect-ratio: auto; }
  .hero__lines line, .hero__lines circle { stroke-width: 1.4; }
  .hero__title, .hero--project .hero__title, .hero--detail .hero__title, .hero--contact .hero__title { position: relative; z-index: 1; top: auto; left: auto; bottom: auto; max-width: none; }
  .hero__intro { position: relative; z-index: 1; left: auto; bottom: auto; display: grid; gap: 14px; max-width: 560px; margin-top: 28px; }
  .hero--project .hero__intro--r, .hero__intro--r { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: 560px; margin-top: 24px; }
  .pcard { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 32px; }
  .hero--detail { aspect-ratio: auto; min-height: 0; justify-content: flex-start; padding: 120px var(--m) 0; }
  .hero--detail .hero__lines { display: none; }
  .dhero__p { position: relative; right: auto; top: auto; width: auto; max-width: 560px; margin: 24px 0 var(--gap-head); }
  .dhero__img { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 0 calc(var(--m) * -1); aspect-ratio: 4 / 3; }

  /* lists and tables */
  .spec li { gap: 24px; padding: 18px 0; min-height: 0; }
  .spec h3, .spec--sm h3, .spec__t, .spec--sm .spec__t { font-size: 18px; line-height: 1.4; }
  .spec p, .spec address { max-width: none; }
  .info, .journey, .awards, .formsec, .faq, .brief__grid, .next { grid-template-columns: 1fr; }
  .info { row-gap: 24px; padding-top: var(--section); padding-bottom: 0; }
  .info .spec, .journey .spec, .awards .spec, .cform, .faq__list { grid-column: 1; }
  .journey, .awards, .faq, .formsec { row-gap: 32px; }
  .journey .head, .faq .head { position: static; }
  .credits, .awards { padding-top: var(--section); }

  /* home */
  .studio__foot { margin-top: var(--gap-head); }
  .featured { height: auto; display: flex; flex-direction: column; gap: 40px; padding: var(--section) var(--m); }
  .featured__head { position: static; max-width: none; }
  .featured__stage { position: relative; top: auto; left: auto; right: auto; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
  .featured__rule, .featured__arc, .featured .sq, .peek { display: none; }
  .card { position: relative; left: auto; top: auto; transform: none; width: 100%; height: auto; grid-column: 1 / -1; order: 1; padding: 16px; }
  .card__frame { height: auto; aspect-ratio: 4 / 3; }
  .arrow { position: static; width: 44px; height: 44px; padding: 10px; order: 2; }
  .arrow--prev { justify-self: start; }
  .arrow--next { justify-self: end; order: 3; }
  .featured__note { position: static; width: auto; max-width: 420px; grid-column: 1 / -1; order: 4; }
  .expertise { padding-bottom: 0; }
  .expertise__frame { position: relative; right: auto; top: auto; margin-top: 32px; }
  .expertise__body { margin: var(--gap-head) calc(var(--m) * -1) 0; padding: 40px var(--m) var(--section); }
  .expertise.section { padding-bottom: 0; }
  .expertise__diag, .expertise .sq--grey { display: none; }
  .services li, .values .services li { grid-template-columns: 32px 1fr; padding: 20px 0; }
  .services p { grid-column: 2; min-height: 0; margin-top: 8px; }
  .clients__list { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .clients__list li { padding: 24px 12px 24px 0; }
  .approach__band, .stats .approach__band { height: auto; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 260px; }
  .steps, .stats .steps { position: relative; height: auto; grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .steps li { gap: 28px; padding: 24px var(--m) 28px; }
  .steps li::before, .steps li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; background: var(--hair-inv); transform-origin: 0 50%; }
  .approach__band .sq--w { display: none; }
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: none; margin-top: var(--gap-head); }
  .person__img { width: 100%; height: auto; aspect-ratio: 394 / 485; }
  .person--1, .person--2, .person--3 { margin-top: 0; }
  .person--2 { margin-top: 48px; }
  .cta { padding: 0 var(--m); }
  .cta__copy { width: 100%; max-width: 562px; }
  .strip { margin: var(--gap-head) calc(var(--m) * -1) 0; padding: 0 var(--m); height: auto; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip--marquee { overflow: hidden; padding: 0; scroll-snap-type: none; }
  .strip--marquee .strip__track { display: flex; width: max-content; animation: strip-marquee var(--dur, 60s) linear infinite; }
  .strip--marquee .strip__clone { display: block; }
  .strip--marquee .strip__i { margin-right: 10px; }
  @keyframes strip-marquee { to { transform: translateX(-50%); } }
  .strip__i, .strip__i:hover, .strip__i.is-hover { flex: 0 0 30vw; height: calc(30vw * 1.25); scroll-snap-align: start; filter: grayscale(1); }

  /* footer */
  .footer { height: auto; display: flex; flex-direction: column; gap: 48px; padding: var(--section) var(--m) var(--m); }
  .footer__arc, .footer__v, .footer__h, .footer__sq { display: none; }
  .footer__top { position: static; flex-direction: column; gap: 40px; }
  .footer__links { grid-template-columns: repeat(3, auto); gap: 32px; justify-content: start; }
  .footer__links ul { margin-top: 12px; gap: 0; }
  .footer__links > div:nth-child(3) { grid-column: 1 / -1; }
  .footer__links > div:nth-child(3) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer__links a { display: block; padding: 8px 0; }
  .footer__touch a { font-size: 28px; line-height: 1.4; overflow-wrap: anywhere; }
  .footer__info { position: static; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; border-top: 1px solid var(--hair-dim); }
  .footer__info address, .footer__info .r { text-align: left; }
  .footer__info .r { grid-column: 1 / -1; }
  .footer__base { position: static; flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer__img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 5 / 3; }
  .logo--xl { font-size: 32px; }

  /* project */
  .persp { grid-template-columns: 1fr; gap: 24px; }
  .persp .h2 { margin-left: 0; }
  .archive__bar { flex-direction: column; gap: 20px; }
  .filters { justify-content: flex-start; }
  .archive__grid { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 48px; margin-top: 40px; }
  .work--sm { width: 100%; }
  .work--north { margin-top: 0; justify-self: stretch; }
  .archive__grid { align-items: start; }
  .archive__grid .work__img { aspect-ratio: 4 / 3 !important; }
  .archive__grid .work--sm .work__img { aspect-ratio: 4 / 5 !important; }
  .archive__more { margin-top: var(--gap-head); }
  .study__imgs { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .study__lower { grid-template-columns: 1fr; min-height: 0; margin-top: 0; }
  .study__deco, .study__sq { display: none; }
  .study__spec { grid-column: 1; padding-top: 40px; }
  .study__go { text-align: left; margin-top: 24px; }

  /* project detail */
  .dhead { flex-direction: column; gap: 20px; }
  .dhead__p { width: auto; max-width: 560px; margin-top: 0; }
  .dgrid { grid-template-columns: 1fr; row-gap: 28px; margin-top: 48px; }
  .stage { height: auto; margin-top: 48px; display: flex; flex-direction: column; gap: 24px; }
  .stage__frame { position: relative; left: auto; transform: none; width: 100%; max-width: none; aspect-ratio: 3 / 2; overflow: hidden; }
  .stage__txt { position: static; width: auto; }
  .stage__nav { position: static; width: auto; justify-items: start; }
  .stage__nav ol { justify-items: start; gap: 0; }
  .stage__nav button { padding: 13px 0; text-align: left; }
  .stage__bar { width: 100%; }
  .gallery { height: auto; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 20px; margin-top: 48px; }
  .g { position: relative; left: auto; top: auto; width: auto; }
  .g--living, .g--bed { grid-column: 1 / -1; }
  .brief__grid { row-gap: 40px; margin-top: 40px; }
  .brief__grid .h2 { margin-bottom: 20px; }
  .figures { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .figures li, .figures li + li { padding: 28px 16px 28px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .next { row-gap: 32px; }
  .next__txt .h2 { margin-top: 0; }

  /* about */
  .story .persp { margin-bottom: 40px; }
  .story__p { grid-column: 1; max-width: 560px; }
  .story .work__img { aspect-ratio: 4 / 3 !important; }

  /* contact */
  .formsec { padding-top: var(--section); }
  .formsec__note { margin-top: 24px; }
  .cform { gap: 32px; }
  .cform__row { gap: 24px; }
  .cform__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .chip span { padding: 11px 16px; }
  .qa summary { padding: 14px 0 14px 0; font-size: var(--t-md); line-height: var(--lh-md); }
  .qa summary:hover { padding-left: 0; }
  .qa__a p { padding: 0 0 24px; }
}

@media (max-width: 599px) {
  :root { --m: 20px; --section: 72px; --gap-head: 40px; --t-xl: 36px; --t-lg: 22px; --t-md: 18px; }
  .nav { padding: 12px var(--m); }
  .nav__links a { font-size: 32px; }
  .hero { padding-top: 96px; }
  .hero--detail { padding-top: 96px; }
  .pcard { padding: 16px; margin-top: 28px; }
  .card { padding: 12px; }
  .spec li, .spec--sm li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .spec p, .spec address, .spec li > address { text-align: left; justify-self: start; }
  .steps, .stats .steps { grid-template-columns: 1fr; }
  .steps li { gap: 20px; padding: 20px var(--m) 24px; }
  .approach__band, .stats .approach__band { padding-top: 200px; }
  .team { padding-bottom: var(--section); }
  .team__grid { grid-template-columns: 1fr; gap: 32px; margin-left: 0; margin-right: 0; padding: 0; overflow: visible; }
  .person--1, .person--2, .person--3 { margin-top: 0; }
  .strip__i, .strip__i:hover, .strip__i.is-hover { flex-basis: 44vw; height: calc(44vw * 1.25); }
  .footer__links { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer__info { grid-template-columns: 1fr; }
  .footer__touch a { font-size: 22px; }
  .logo--xl { font-size: 28px; }
  .archive__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; gap: 32px; }
  .figures li { padding: 24px 12px 24px 0; }
  .stat { margin-bottom: 10px; }
  .field input[type="text"], .field input[type="email"], .field textarea { font-size: 18px; line-height: 28px; }
}

/* ==========================================================================
   Desktop heroes fill exactly one screen (100vh), whatever the window shape.
   The page is zoomed to the window width, so the height is divided by the zoom (--z, set by site.js).
   ========================================================================== */
@media (min-width: 1200px) {
  .hero { aspect-ratio: auto; height: max(640px, calc(100vh / var(--z, 1))); height: max(640px, calc(100svh / var(--z, 1))); }
  .hero__lines { top: 0; bottom: auto; height: 100%; aspect-ratio: auto; }
  .hero--detail .hero__lines, .dhero__lines { top: auto; bottom: 0; height: calc(100% - max(37.96%, 424px)); }
  .dhero__img { top: max(37.96%, 424px); }
  /* home hero: the two intro paragraphs sit above the horizontal rule (it is 223 px above the bottom edge) */
  .hero > .hero__intro:not(.hero__intro--r) { bottom: 250px; }
  .hero:not(.hero--project):not(.hero--detail) .hero__title { bottom: 350px; }
}

/* visually hidden, still read by assistive technology and by the carousel script */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   QA round (Roundable feedback, 2026-11-05)
   ========================================================================== */
/* Desktop type: the page is scaled to the window, so small text is fixed in screen pixels instead (body 13, small 12) */
@media (min-width: 1200px) { .page { --t-base: calc(12.5px / var(--z, 1)); --t-sm: calc(12px / var(--z, 1)); } }

/* labels and rows */
.spec .spec__t { text-align: left; max-width: none; margin: 0; }
.journey .spec__t, .awards .spec__t { display: grid; grid-template-columns: 3.4em 1fr; column-gap: 10px; }
.journey .spec li, .awards .spec li { align-items: start; }

/* button (the form's send) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 28px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-size: var(--t-base); line-height: 1.2; letter-spacing: .01em; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* form text: the most legible text on the site */
.field label, .field legend { font-size: calc(var(--t-sm) * 1.15); line-height: 1.5; }
.chip span { font-size: calc(var(--t-sm) * 1.15); }
.req { color: var(--ink); text-decoration: none; margin-left: 2px; }
.cform__req { margin: -16px 0 0; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); }
.cform__foot .btn { flex: none; }
.cform__ok { color: var(--muted); }

@media (max-width: 1199px) {
  /* touch targets: 44 px */
  .nav .logo { padding: 10px 0; margin: -10px 0; }
  .nav__btn { padding: 13px 0; margin: -13px 0; min-width: 44px; }
  .footer__links a { padding: 10px 0; }
  .footer__touch a { padding: 7px 0; }
  .spec--sm a { display: inline-block; padding: 12px 0; }
  .chip span { min-height: 44px; display: inline-flex; align-items: center; }
  .filters button { min-height: 44px; padding: 8px 16px; }
  .qa__i { margin-top: -6px; }

  /* calmer small-screen compositions */
  .hero:not(.hero--project):not(.hero--detail) .hero__lines { display: none; }
  .studio__foot { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .studio__frame { width: min(100%, 260px); height: auto; aspect-ratio: 174 / 208; }
  .expertise__frame { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero--about .pcard { margin-top: 36px; background: rgba(17, 17, 17, .42); }
  .approach__band .steps .n { opacity: .72; }
}
@media (max-width: 599px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--m) * -1); padding: 0 var(--m); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .hero--project .hero__lines { display: none; }
  .next__img { display: none; }
}

/* ==========================================================================
   QA round (five fictional studios, 2026-11-16): any name, email and number of projects
   ========================================================================== */
.peek[hidden] { display: none; }
@media (min-width: 1200px) {
  /* menu: a long email wraps inside its column instead of running under the button on the right */
  .nav { grid-template-columns: calc(50% + 52px - var(--m)) 261px minmax(0, 1fr) auto; }
  .nav .logo { white-space: normal; max-width: calc(100% - 48px); overflow-wrap: anywhere; }
  .nav__contact { width: auto; min-width: 0; padding-right: 32px; }
  .nav__contact a { overflow-wrap: anywhere; }
  /* project and contact heroes: the title grows upwards from the photo and stays clear of the lead on the right */
  .hero--detail .hero__title { top: auto; bottom: calc(100% - max(37.96%, 424px) + 49px); max-width: calc(100% - 580px - var(--m) * 3); text-wrap: balance; }
  /* footer: the big email keeps its distance from the link columns; the details keep their columns when some are empty */
  .footer__top { gap: 64px; }
  .footer__touch { min-width: 0; max-width: calc(100% - 600px); }
  .footer__touch a { overflow-wrap: anywhere; }
  .footer__info { column-gap: 40px; }
  .footer__info address { grid-column: 2; }
  .footer__info .r { grid-column: 3; overflow-wrap: anywhere; }
  .footer__base { gap: 48px; }
  .footer__base > div { min-width: 0; }
  .logo--xl { white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
}
@media (max-width: 1199px) {
  /* a long studio name wraps beside the Menu button instead of pushing it off the screen */
  .nav { gap: 20px; }
  .nav .logo { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .nav__btn { flex: none; }
  .footer__base > div { max-width: 100%; }
  .logo--xl { white-space: normal; overflow-wrap: anywhere; }
}

/* ---------- legal pages (Privacy, Terms) and the form's consent line ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 10px; color: var(--muted-inv); }
.cform__consent { margin: -8px 0 0; max-width: 620px; font-size: var(--t-sm); line-height: var(--lh-sm); color: var(--muted); }
.cform__consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hero--legal { aspect-ratio: auto; height: auto; min-height: 0; padding: 260px var(--m) 0; }
.hero--legal .hero__title { position: static; max-width: 1100px; }
.lhero__u { margin-top: 24px; color: var(--muted); }
.legal { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
.legal__who { display: grid; gap: 12px; padding-right: 48px; color: var(--muted); overflow-wrap: anywhere; }
.legal__who .eyebrow { margin-bottom: 8px; }
.legal__name { color: var(--ink); font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; }
.legal__who a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__s { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid var(--hair); }
.legal__l > :last-child, .legal__list:last-child > .legal__s:last-child { border-bottom: 1px solid var(--hair); }
.legal__s:first-child { padding-top: 0; border-top: 0; }
.legal__list + .legal__s { padding-top: 36px; border-top: 1px solid var(--hair); }
.legal__s p { max-width: 640px; color: #444; overflow-wrap: anywhere; }
.legal__s a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* the rich text of a legal section: paragraphs, a subheading, lists, bold, italic and links, in the page's own type */
.legal__b { display: grid; gap: 14px; max-width: 640px; color: #444; overflow-wrap: anywhere; }
.legal__b h3 { color: var(--ink); font-size: var(--t-md); line-height: var(--lh-md); font-weight: 450; letter-spacing: -.012em; margin-top: 8px; }
.legal__b ul, .legal__b ol { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; }
.legal__b ul { list-style: disc; } .legal__b ol { list-style: decimal; }
.legal__b li::marker { color: var(--muted); }
.legal__b strong { color: var(--ink); font-weight: 500; }
.legal__b em { font-style: italic; }
.legal__b a { color: var(--ink); transition: opacity .2s; }
@media (hover: hover) { .legal__b a:hover { opacity: .6; } }
@media (max-width: 1199px) {
  .hero--legal { padding-bottom: 0; }
  .hero--legal .hero__title { position: relative; }
  .legal { grid-template-columns: 1fr; row-gap: 48px; }
  .legal__who { padding-right: 0; }
}

/* ==========================================================================
   Signature: "the drafting table" (Home hero)
   One rule and four 45° lines are ruled in at constant speed, a square is stamped on each crossing,
   then the photo opens in slices between the diagonals. site.js fits the lines to the hero box on every screen
   (desktop: the 1728 frame), draws them and builds the slices (.hero__band) and their covers (.hero__blind).
   Without motion (or before the script) the final drawing is static; the cover (.hero__board) only exists
   while html.motion is waiting for the script, and the head failsafe (.ready) removes it if the script never runs.
   ========================================================================== */
.hero--draft { --board: #161718; }
.hero.hero--draft .hero__lines.draft { display: block; top: 0; bottom: auto; height: 100%; aspect-ratio: auto; }
.hero__lines.draft line { stroke: #fff; stroke-width: 1; stroke-dasharray: none; opacity: .5; }
.hero__lines.draft .sqr { fill: #fff; opacity: .9; transform-box: fill-box; transform-origin: center; }
.draft__tip line { stroke: #fff; stroke-width: 1; opacity: 1; }
.draft__tip circle { fill: #fff; }
.hero__lines.draft .draft__guide { stroke-dasharray: 2 6; opacity: 0; }
.hero__board, .hero__band, .hero__blind { display: none; }
.hero__board, .hero__band, .hero__blind { position: absolute; inset: 0; pointer-events: none; }
.hero__band { display: block; overflow: hidden; contain: paint; }
.hero__band img { position: absolute; max-width: none; left: -5%; width: 110%; top: -12%; height: 124%; object-fit: cover; object-position: 50% 50%;
  translate: 0 calc(var(--py, 0) * 1%); will-change: transform; }
.hero__blind { display: block; background: var(--board); }
@media (prefers-reduced-motion: no-preference) {
  .motion:not(.ready) .hero__board { display: block; background: var(--board); }
  .motion .hero.hero--draft .hero__lines.draft line { transition: none; stroke-dashoffset: 0; }
  .motion .hero.hero--draft .hero__lines.draft .sqr { scale: none; transition: none; }
  .motion:not(.ready) .hero--draft .hero__lines.draft > * { visibility: hidden; }
  .hero--draft.is-drawing .hero__lines.draft .sqr { opacity: 0; }
}
