/* Metric Engineering: www.metriceng.au
   Brand: GT Planar (Light for headings and copy, Medium for labels and emphasis), navy #0F1A2D, Maya blue #6FCAEE, white. */

@font-face { font-family: "GT Planar"; src: url("/assets/fonts/GT-Planar-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Planar"; src: url("/assets/fonts/GT-Planar-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --navy: #0F1A2D;
  --ink: #09111F;
  --blue: #6FCAEE;
  --white: #FFFFFF;
  --mist: #F1F3F6;
  --mist-2: #E7EBF0;
  --text-d: #EAEEF5;
  --muted-d: rgba(234, 238, 245, 0.64);
  --muted-l: rgba(15, 26, 45, 0.64);
  --line-l: rgba(15, 26, 45, 0.12);
  --line-d: rgba(255, 255, 255, 0.14);
  --danger: #F4A09A;
  --gutter: clamp(16px, 2.2vw, 32px);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0, 1);
  --nav-h: 76px;
  color-scheme: light;
}

/* 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: clip; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: "GT Planar", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 0;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--navy); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: var(--navy); padding: 12px 18px; border-radius: 999px; font-weight: 500; transition: top .2s; }
.skip:focus { top: 16px; }
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.i { width: 1em; height: 1em; flex: none; }

[data-tone="dark"] { background: var(--navy); color: var(--text-d); }
[data-tone="light"] { background: var(--white); color: var(--navy); }

/* ---------- type ---------- */
.display { font-weight: 300; font-size: clamp(3.1rem, 8.4vw, 9.25rem); line-height: 0.92; letter-spacing: -0.048em; }
.h2 { font-weight: 300; font-size: clamp(2.5rem, 5.4vw, 5.6rem); line-height: 0.96; letter-spacing: -0.045em; }
.h3 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.125rem, 1.3vw, 1.35rem); line-height: 1.45; letter-spacing: -0.005em; }
[data-tone="dark"] .lead { color: var(--muted-d); }
[data-tone="light"] .lead { color: var(--muted-l); }
.label { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.9375rem; letter-spacing: -0.005em; margin-bottom: 28px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
[data-tone="light"] .dot { background: var(--navy); box-shadow: inset 0 0 0 3px var(--navy), 0 0 0 0 transparent; }
[data-tone="light"] .label .dot { background: var(--blue); box-shadow: 0 0 0 1px rgba(15, 26, 45, 0.35); }

/* words reveal */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.reveal-words .w > span { display: inline-block; }
.js .reveal-words .w > span { transform: translate3d(0, 108%, 0); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .reveal-words.is-in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-img] { clip-path: inset(10% 6% 0 6% round var(--radius)); transition: clip-path 1.3s var(--ease); }
.js [data-reveal-img] img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal-img].is-in img { transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 16px; height: 58px; padding: 0 8px 0 26px; border-radius: 999px; font-weight: 500; font-size: 0.9875rem; letter-spacing: -0.005em; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.btn__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: transform .45s var(--ease), background-color .35s; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary .btn__icon { background: rgba(255, 255, 255, 0.12); }
.btn--primary:hover { background: #17263F; }
.btn--blue { background: var(--blue); color: var(--navy); }
.btn--blue .btn__icon { background: rgba(15, 26, 45, 0.1); }
.btn--blue:hover { background: #8AD5F2; }
.btn--glass { background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.btn--glass .btn__icon { background: rgba(255, 255, 255, 0.14); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn--ghost { color: var(--navy); border: 1px solid var(--line-l); }
.btn--ghost .btn__icon { background: var(--mist); }
.btn--ghost:hover { background: var(--mist); }
.round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); font-size: 20px; transition: background-color .3s, color .3s; }
.round:hover { background: var(--navy); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.9875rem; }
.link-arrow .i { transition: transform .4s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); font-size: 0.875rem; line-height: 1.2; }
.tags--dark li { border-color: var(--line-l); }
.ticks { display: grid; gap: 0; }
.ticks li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line-l); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
[data-tone="dark"] .ticks li { border-color: var(--line-d); }

/* ---------- glass + nav ---------- */
.glass { background: rgba(15, 26, 45, 0.36); border: 1px solid rgba(255, 255, 255, 0.13); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); color: var(--white); transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
html[data-nav-theme="light"] .nav .glass { background: rgba(255, 255, 255, 0.74); border-color: rgba(15, 26, 45, 0.08); color: var(--navy); }
.nav { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; transition: transform .5s var(--ease); }
.nav > * { pointer-events: auto; }
.nav__bar { display: flex; align-items: center; gap: 34px; height: 60px; padding: 0 30px 0 24px; border-radius: 999px; }
.nav__logo { display: block; color: inherit; }
.wordmark { height: 23px; width: auto; }
.nav__links { display: flex; gap: 28px; font-size: 0.975rem; }
.nav__link { position: relative; opacity: 0.86; transition: opacity .3s; }
.nav__link:hover, .nav__link.is-current { opacity: 1; }
.nav__link.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; opacity: .5; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px; border-radius: 999px; font-size: 0.975rem; }
.nav__cta { display: inline-flex; align-items: center; height: 60px; padding: 0 26px; border-radius: 999px; background: var(--blue); color: var(--navy); font-weight: 500; font-size: 0.975rem; transition: background-color .3s; }
.nav__cta:hover { background: #8AD5F2; }
.nav__toggle { display: none; width: 56px; height: 56px; border-radius: 50%; place-items: center; font-size: 22px; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--navy); color: var(--white); padding: calc(var(--nav-h) + 40px) var(--gutter) 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; gap: 36px; }
.menu__links { display: grid; }
.menu__links a { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.12; letter-spacing: -0.04em; }
.menu__services { display: grid; gap: 10px; color: var(--muted-d); padding-top: 24px; border-top: 1px solid var(--line-d); }
.menu__foot { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.menu__phone { font-size: 1.125rem; }
body.menu-open { overflow: hidden; }
body.menu-open .nav .glass { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.14); }

/* ---------- hero construction sequence ---------- */
.seq { position: relative; height: 880vh; }
.seq__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy); }
/* Phone browsers slide their bars away as you scroll, so the hero fills the large viewport (100svh left a strip of
   page under it) and whatever is pinned to its bottom is lifted by the bars' height (--vb, 0 on desktops): it sits
   just above the bars when they show and stays put when they slide away (following them, via dvh, made it jump). */
@supports (height: 100lvh) {
  .seq__sticky { height: 100lvh; }
  .seq { --vb: calc(100lvh - 100svh); }
}
/* main.js then measures how much of the hero the bars cover right now, so that with the bars away nothing is left
   floating over an empty strip; what is pinned to the bottom glides to its new place. */
.seq__rail, .seq__closing { transition: bottom .35s var(--ease); }
.seq__intro { transition: padding-bottom .35s var(--ease); }
.seq__media { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; border-radius: 0; background: #0b1424; z-index: 1; }
.seq__frames, .seq__frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq__frames { will-change: transform; }
.seq__poster, .seq__poster img, .seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.seq__poster img { object-fit: cover; object-position: 50% 50%; }
.seq__note { position: absolute; top: calc(var(--nav-h) + 18px); right: var(--gutter); z-index: 2; font-size: 0.75rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.55); }
.seq--film.is-live .seq__poster { visibility: hidden; }
.seq--static .seq__canvas, html:not(.js) .seq__canvas { display: none; }
html:not(.js) .seq--film .seq__poster, .seq--static .seq__poster { visibility: visible; }
.seq__frame { object-fit: cover; object-position: 50% 58%; opacity: 0; }
.seq__frame.is-on { opacity: 1; }
.seq__frame[data-stage="intro"] { object-position: 50% 50%; }
.seq__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(10, 18, 32, 0.78) 0%, rgba(10, 18, 32, 0.42) 42%, rgba(10, 18, 32, 0) 70%),
  linear-gradient(0deg, rgba(10, 18, 32, 0.72) 0%, rgba(10, 18, 32, 0) 38%),
  linear-gradient(180deg, rgba(10, 18, 32, 0.45) 0%, rgba(10, 18, 32, 0) 22%); }
.seq__rail { position: absolute; left: 20px; right: 20px; bottom: calc(20px + var(--vb, 0px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); opacity: 0; z-index: 2; }
.seq__rail li { position: relative; transition: color .4s; }
.seq__rail button { display: block; width: 100%; margin: 0; padding: 12px 0 4px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: color .3s; }
.seq__rail button:hover { color: var(--white); }
.seq__rail li::before, .seq__rail li::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.seq__rail li::before { right: 0; background: rgba(255, 255, 255, 0.22); }
.seq__rail li::after { right: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.seq__rail li.is-on { color: var(--white); }
.seq__content { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--white); }
.seq__intro a, .seq__chapter.is-active a, .seq--static .seq__chapter a, html:not(.js) .seq__chapter a { pointer-events: auto; }
.seq__intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 40px) var(--gutter) calc(34px + var(--vb, 0px)); }
.seq__h1 { display: flex; flex-direction: column; justify-content: space-between; flex: 1; font-weight: 300; }
.seq__tagline { display: block; font-size: clamp(3.4rem, 9.2vw, 10.4rem); line-height: 0.9; letter-spacing: -0.052em; }
.seq__tagline .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.seq__tagline .line > span { display: inline-block; }
.js .seq__tagline .line > span { transform: translate3d(0, 105%, 0); animation: rise 1.25s var(--ease) forwards; }
.js .seq__tagline .line:nth-child(2) > span { animation-delay: .08s; }
.js .seq__tagline .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.seq__descriptor { display: block; max-width: 34ch; font-size: clamp(1.2rem, 1.65vw, 1.7rem); line-height: 1.22; letter-spacing: -0.02em; margin-top: 32px; }
.seq__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.seq__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 0; margin-top: 34px; }
.seq__stats li { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, 0.22); display: grid; gap: 4px; }
.seq__stats li:first-child { padding-left: 0; border-left: 0; }
.seq__stats strong { font-weight: 300; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; }
.seq__stats span { color: rgba(255, 255, 255, 0.64); font-size: 0.9375rem; }
.seq__chapter { position: absolute; left: var(--gutter); top: 50%; width: min(40vw, 620px); margin-top: -12vh; opacity: 0; }
.seq__index { font-weight: 500; font-size: 0.9375rem; color: var(--blue); margin-bottom: 22px; letter-spacing: 0.02em; }
.seq__index span { color: rgba(255, 255, 255, 0.4); }
.seq__title { font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 5.4rem); line-height: 0.96; letter-spacing: -0.045em; }
.seq__text { margin-top: 26px; font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1.45; color: rgba(234, 238, 245, 0.72); max-width: 34ch; }
.seq__chapter .tags { margin-top: 28px; }
.seq__chapter .link-arrow { margin-top: 30px; color: var(--white); }
.seq__closing .btn { margin-top: 34px; }
/* the "next" button: Explore our services, then Next: <service>, then See our projects */
.seq__next { position: absolute; right: var(--gutter); bottom: calc(30px + var(--vb, 0px)); z-index: 3; display: inline-flex; align-items: center; height: 62px; padding: 0 6px; border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: -0.005em; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .8s var(--ease), bottom .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); animation: next-in 1s var(--ease) 1.1s both; }
.seq__next:hover { background: rgba(15, 26, 45, 0.6); border-color: rgba(255, 255, 255, 0.3); }
.seq__next-label { display: block; overflow: hidden; width: var(--lw, auto); margin: 0 16px 0 20px; white-space: nowrap; text-align: left; transition: width .6s var(--ease), margin .6s var(--ease), opacity .4s var(--ease); }
.seq__next-label > span { display: inline-block; }
.seq__next-label em { font-style: normal; color: rgba(255, 255, 255, 0.62); }
.seq__next-label .is-new { animation: label-in .7s var(--ease) both; }
.seq__next-dial { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--blue); color: var(--navy); font-size: 20px; transition: background-color .35s var(--ease); }
.seq__next-dial .i { animation: nudge 2.2s ease-in-out infinite; }
.seq__next-dial::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue); opacity: 0; pointer-events: none; animation: ping 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) 2.1s infinite; }
.seq__next:hover .seq__next-dial { background: #8AD5F2; }
.seq.is-touring .seq__next { transform: translateY(-50px); }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes next-in { from { opacity: 0; translate: 0 18px; } }
@keyframes label-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* static fallback (no JS or reduced motion) */
html:not(.js) .seq, .seq--static { height: auto; }
html:not(.js) .seq__sticky, .seq--static .seq__sticky { position: relative; height: auto; overflow: visible; }
html:not(.js) .seq__media, .seq--static .seq__media { position: relative; height: 92vh; }
html:not(.js) .seq__frame, .seq--static .seq__frame { opacity: 0 !important; }
html:not(.js) .seq__frame[data-stage="intro"], .seq--static .seq__frame[data-stage="intro"] { opacity: 1 !important; }
html:not(.js) .seq__content, .seq--static .seq__content { position: static; pointer-events: auto; }
html:not(.js) .seq__intro, .seq--static .seq__intro { position: absolute; top: 0; left: 0; right: 0; height: 92vh; z-index: 3; }
html:not(.js) .seq__chapter, .seq--static .seq__chapter { position: relative; left: auto; top: auto; right: auto; bottom: auto; transform: none; margin-top: 0; opacity: 1; width: auto; padding: 64px var(--gutter); border-top: 1px solid var(--line-d); max-width: 900px; }
html:not(.js) .seq__rail, html:not(.js) .seq__next, .seq--static .seq__rail, .seq--static .seq__next { display: none; }

/* ---------- selected work (horizontal) ---------- */
.work { position: relative; }
.work__head { padding-top: clamp(96px, 12vw, 180px); }
.work__intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: clamp(40px, 5vw, 72px); }
.work__intro .h2 { max-width: 12ch; }
.work__text { max-width: 44ch; justify-self: end; }


/* ---------- why ---------- */
.why { padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 128px); }
.why__head, .quotes__head, .related__head, .register-sec__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.why__head .h2 { max-width: 15ch; }
.why__head .lead { max-width: 40ch; justify-self: end; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.card { background: var(--mist); border-radius: var(--radius); padding: 30px 28px 32px; min-height: 340px; display: flex; flex-direction: column; }
.card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 22px; }
.card__title { margin-top: clamp(56px, 6vw, 96px); font-weight: 300; font-size: clamp(1.55rem, 2vw, 2.05rem); line-height: 1.06; letter-spacing: -0.03em; }
.card p { margin-top: 14px; color: var(--muted-l); font-size: 1rem; }

/* ---------- testimonials ---------- */

/* ---------- engineer / leadership ---------- */
.lead-eng { padding: clamp(72px, 8vw, 128px) 0; }
.lead-eng__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.lead-eng__text .h2 { max-width: 12ch; }
.lead-eng__text .lead { margin-top: 28px; max-width: 46ch; }
.lead-eng__quote { margin-top: 36px; padding-left: 22px; border-left: 2px solid var(--blue); font-size: clamp(1.15rem, 1.45vw, 1.45rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 50ch; }
.lead-eng__quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 500; font-size: 0.9375rem; opacity: 0.8; }
.creds { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.creds li { border: 1px solid var(--line-d); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; }
.creds strong { font-weight: 500; font-size: 0.975rem; }
.creds span { font-size: 0.8125rem; color: var(--muted-d); line-height: 1.35; }
.creds--light li { border-color: var(--line-l); }
.creds--light span { color: var(--muted-l); }
.lead-eng__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.lead-eng__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* ---------- steps ---------- */
.steps { padding: clamp(72px, 8vw, 128px) 0; }
.steps .h2 { max-width: 14ch; }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); counter-reset: s; }
.steps__list li { border-top: 1px solid var(--navy); padding-top: 22px; }
.steps__n { display: block; font-size: clamp(2.8rem, 4.2vw, 4.4rem); line-height: 1; letter-spacing: -0.05em; margin-bottom: 44px; }
.steps__list h3 { font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.steps__list p { margin-top: 10px; color: var(--muted-l); max-width: 30ch; }

/* ---------- image band ---------- */

/* ---------- CTA ---------- */
.cta { padding: clamp(96px, 13vw, 200px) 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-weight: 300; font-size: clamp(3.2rem, 8.4vw, 9rem); line-height: 0.92; letter-spacing: -0.052em; max-width: 12ch; }
.cta__text { margin-top: 30px; font-size: clamp(1.15rem, 1.6vw, 1.6rem); line-height: 1.35; color: var(--muted-l); max-width: 28ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--text-d); padding-top: clamp(72px, 9vw, 130px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 64px; }
.footer__claim { font-size: clamp(1.8rem, 2.8vw, 2.9rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; margin-bottom: 34px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.footer__cols > div { display: grid; gap: 10px; align-content: start; }
.footer__cols a { color: var(--muted-d); transition: color .3s; line-height: 1.45; }
.footer__cols a:hover { color: var(--white); }
.footer__h { font-weight: 500; color: var(--white); margin-bottom: 8px; }
.footer__mark { padding: clamp(56px, 8vw, 120px) var(--gutter) 0; color: rgba(255, 255, 255, 0.06); }
.footer__mark .wordmark { width: 100%; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d); margin-top: -1px; font-size: 0.875rem; color: var(--muted-d); }
.footer__legal { display: flex; align-items: center; gap: 20px; }
.footer__legal a { transition: color .3s; display: inline-flex; }
.footer__legal a:hover { color: var(--white); }
.footer__legal .i { width: 20px; height: 20px; }

/* ---------- page heroes ---------- */
.phero { padding: calc(var(--nav-h) + clamp(80px, 10vw, 150px)) 0 clamp(64px, 8vw, 120px); }
.phero .display { max-width: 16ch; }
.phero__lead { margin-top: 36px; max-width: 52ch; }
.phero--tall { min-height: 88vh; display: flex; align-items: flex-end; }
.phero--short { padding-bottom: 56px; }
.phero .btn { margin-top: 36px; }
.crumbs { display: flex; gap: 10px; font-weight: 500; font-size: 0.9375rem; color: rgba(234, 238, 245, 0.7); margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* services index */
.svc-list { padding: clamp(24px, 4vw, 48px) 0 clamp(80px, 9vw, 140px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-l); }
.svc-row:first-child { border-top: 0; }
.svc-row__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-row:hover .svc-row__media img { transform: scale(1.04); }
.svc-row__n { font-weight: 500; color: var(--muted-l); margin-bottom: 18px; }
.svc-row__title { font-weight: 300; font-size: clamp(2.3rem, 4.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 22px; }
.svc-row .lead { max-width: 46ch; }
.svc-row .ticks { margin: 30px 0 34px; max-width: 640px; }

/* service page */
.shero { padding: calc(var(--nav-h) + clamp(64px, 8vw, 120px)) 0 clamp(64px, 8vw, 110px); }
.shero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.shero .display { font-size: clamp(3rem, 6.3vw, 7.1rem); max-width: none; }
.shero__sub { margin-top: 30px; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--white); max-width: 26ch; }
.shero .lead { margin-top: 22px; max-width: 54ch; }
.shero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.shero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.shero__media img { width: 100%; height: 100%; object-fit: cover; }
.deliver { padding: clamp(80px, 10vw, 150px) 0; }
.deliver__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.deliver__head .label { display: none; }
.deliver__head, .faq__grid > div:first-child { position: sticky; top: 120px; align-self: start; }
.numbered li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-l); }
.numbered li:last-child { border-bottom: 1px solid var(--line-l); }
.numbered span { font-weight: 500; color: var(--muted-l); padding-top: 6px; font-feature-settings: "tnum" 1; }
.numbered p { font-size: clamp(1.2rem, 1.7vw, 1.65rem); line-height: 1.25; letter-spacing: -0.015em; }
.jobs { padding: 0 0 clamp(80px, 10vw, 150px); }
.jobs .label { display: none; }
.jobs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 44px; }
.jobs__list li { position: relative; padding: 22px 0 22px 30px; border-top: 1px solid var(--line-l); font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.3; letter-spacing: -0.012em; }
.jobs__list li::before { content: ""; position: absolute; left: 0; top: 33px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px rgba(15, 26, 45, 0.3); }
.send { padding: clamp(72px, 9vw, 130px) 0; }
.send__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.send .lead { color: var(--text-d); font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; }
.send__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.link-arrow--light { color: var(--white); }
.related { padding: clamp(80px, 10vw, 150px) 0; }
.related__head { grid-template-columns: minmax(0, 1fr) auto; }
.related__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.faq { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line-l); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.faq .h2 { max-width: 10ch; }
.faq__item { border-top: 1px solid var(--line-l); }
.faq__item:last-child { border-bottom: 1px solid var(--line-l); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(1.2rem, 1.6vw, 1.55rem); line-height: 1.25; letter-spacing: -0.015em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 18px; transition: transform .45s var(--ease), background-color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue); }
.faq__a { padding: 0 64px 28px 0; color: var(--muted-l); max-width: 70ch; }

/* project cards + grids */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; margin-top: clamp(40px, 5vw, 72px); }
.pcard__link { display: grid; gap: 10px; }
.pcard__media { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); margin-bottom: 8px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard__link:hover .pcard__media img { transform: scale(1.05); }
.pcard__kicker { font-weight: 500; font-size: 0.875rem; color: var(--muted-l); }
.pcard__title { font-size: clamp(1.45rem, 1.9vw, 1.95rem); line-height: 1.08; letter-spacing: -0.03em; }
.pcard__role { color: var(--muted-l); font-size: 0.975rem; }
.pcard.is-hidden { display: none; }
.plist { padding: clamp(48px, 6vw, 88px) 0 clamp(80px, 10vw, 150px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-l); font-weight: 500; font-size: 0.9375rem; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.register-sec { padding: clamp(80px, 10vw, 150px) 0; }
.register-sec__head .h2 { max-width: 14ch; }
.register-sec__head .lead { max-width: 44ch; justify-self: end; }
.register { margin-top: clamp(40px, 5vw, 72px); }
.register__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr) minmax(0, 1.3fr) 70px; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-d); font-size: 1.0625rem; }
.register__row span:nth-child(n+2) { color: var(--muted-d); }
.register__row--head { font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-d); border-top: 0; padding-bottom: 12px; }
.register--compact { margin-top: 56px; }
.register--compact ul { display: grid; }
.register--compact li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) 60px; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-l); }
.register--compact li span:nth-child(n+2) { color: var(--muted-l); }
.register__cap { font-weight: 500; font-size: 0.9375rem; margin-bottom: 10px; }

/* project page */
.prhero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.prhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prhero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 17, 31, 0.92) 0%, rgba(9, 17, 31, 0.45) 45%, rgba(9, 17, 31, 0.15) 100%); }
.prhero__inner { position: relative; z-index: 1; width: 100%; padding-top: 180px; padding-bottom: clamp(40px, 5vw, 64px); }
.prhero .display { font-size: clamp(3rem, 7vw, 7.8rem); max-width: 14ch; color: var(--white); }
.meta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.8fr); gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); }
.meta dt { font-weight: 500; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 6px; }
.meta dd { font-size: 1.0625rem; line-height: 1.35; }
.story { padding: clamp(80px, 10vw, 150px) 0; }
.story__lead { font-size: clamp(1.8rem, 3.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.035em; max-width: 26ch; }
.story__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 7vw, 100px); }
.story__h { font-weight: 500; font-size: 1rem; margin-bottom: 18px; padding-top: 16px; border-top: 1px solid var(--navy); }
.rich p + p { margin-top: 1em; }
.rich p { color: rgba(15, 26, 45, 0.78); }
.rich h2, .rich h3 { font-weight: 500; font-size: 1.25rem; margin: 1.6em 0 0.6em; letter-spacing: -0.01em; }
.rich ul { list-style: disc; padding-left: 1.2em; margin: 0.8em 0; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.story__outcome { margin-top: clamp(56px, 7vw, 96px); padding: clamp(32px, 4vw, 56px); background: var(--navy); color: var(--white); border-radius: var(--radius); }
.story__outcome blockquote { margin: 0; }
.story__outcome p { font-size: clamp(1.4rem, 2.3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--white); }
.story__outcome p + p { margin-top: 0.6em; }
.story__outcome strong { font-weight: 300; color: var(--blue); }
.story .tags { margin-top: 36px; }
.gallery { padding: 0 0 clamp(80px, 10vw, 150px); }
.gallery__credit { margin-top: 16px; font-size: 0.8125rem; color: var(--muted-l); }
.prhero__note { margin-top: 14px; font-size: 0.8125rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.62); }
/* rows are laid out by image shape: each image's share of the row is its width-to-height ratio, so every image
   in a row is the same height and none is cropped. --max stops a row growing past what its files can show sharply. */
.gallery__grid { display: flex; flex-direction: column; gap: 16px; }
.gallery__row { display: flex; gap: 16px; width: 100%; max-width: var(--max, none); margin-inline: auto; }
.gallery__item { flex: var(--ar, 1.5) 1 0%; min-width: 0; aspect-ratio: var(--ar, 1.5); border-radius: 16px; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__row--one .gallery__item { flex: none; width: 100%; max-height: 88vh; }
.gallery__row--tall { justify-content: center; }
.gallery__row--tall .gallery__item { width: min(100%, calc(88vh * var(--ar, 1))); max-height: none; }

/* ---------- framed covers: an image too small to fill the screen sits in a frame at its real size ---------- */
.is-backdrop { filter: blur(44px) saturate(1.15); opacity: 0.6; }
.frame { display: block; width: min(44vw, var(--fw, 720px), calc(62vh * var(--ar, 1))); aspect-ratio: var(--ar, 1); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.prhero--framed, .nextp__link--framed { background: var(--navy); }
.prhero--framed .prhero__img { transform: scale(1.2); }
.prhero--framed .prhero__shade { background: linear-gradient(0deg, rgba(9, 17, 31, 0.9) 0%, rgba(9, 17, 31, 0.5) 50%, rgba(9, 17, 31, 0.35) 100%); }
/* centred in the space between the nav and the details row (about 200px tall) */
.prhero__frame { position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--nav-h) + (100% - var(--nav-h) - 200px) / 2); transform: translateY(-50%); margin: 0; width: min(44vw, var(--fw, 720px), calc((100svh - var(--nav-h) - 260px) * var(--ar, 1))); }
.prhero--framed .display { font-size: clamp(2.6rem, 5vw, 5.8rem); max-width: 11ch; }
.prhero--framed .crumbs, .prhero--framed .display { position: relative; z-index: 1; }
.nextp__frame { position: absolute; right: calc(var(--gutter) + clamp(64px, 7vw, 104px) + 40px); top: 50%; transform: translateY(-50%); width: min(30vw, var(--fw, 720px), calc(50vh * var(--ar, 1))); }
.nextp__link--framed .nextp__img { transform: scale(1.2); }
.nextp__link--framed:hover .nextp__img { transform: scale(1.24); }
.nextp__link { position: relative; display: flex; align-items: flex-end; min-height: 72vh; overflow: hidden; color: var(--white); }
.nextp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nextp__link:hover .nextp__img { transform: scale(1.04); }
.nextp__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 17, 31, 0.88), rgba(9, 17, 31, 0.25)); }
.nextp__inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; padding-bottom: clamp(40px, 5vw, 72px); }
.nextp__label { grid-column: 1 / -1; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.nextp__title { font-size: clamp(2.6rem, 6.4vw, 7rem); line-height: 0.94; letter-spacing: -0.05em; }
.nextp__arrow { width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); border-radius: 50%; background: var(--blue); color: var(--navy); display: grid; place-items: center; font-size: clamp(24px, 2.6vw, 36px); transition: transform .5s var(--ease); }
.nextp__link:hover .nextp__arrow { transform: translateX(8px); }

/* about */
.about-who { padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 5vw, 64px); }
.about-who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.about-who__grid .h3 { max-width: 18ch; }
.about-who__text p { font-size: 1.125rem; color: rgba(15, 26, 45, 0.78); }
.about-who__text p + p { margin-top: 1em; }
.about-who__text .ticks { margin-top: 36px; }
.careers { padding: clamp(80px, 9vw, 140px) 0; }
.careers__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.careers__text .lead { color: rgba(234, 238, 245, 0.72); max-width: 40ch; }
.careers__text .btn { margin-top: 28px; }
.about-photos { padding: 0 0 clamp(80px, 10vw, 150px); }
.about-photos__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.about-photos figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; }
.about-photos figure:last-child { aspect-ratio: auto; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.values { padding: clamp(80px, 10vw, 150px) 0; }
.values .h2 { max-width: 14ch; }
.values__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(48px, 6vw, 88px); }
.values__item { display: grid; grid-template-columns: clamp(58px, 5.6vw, 92px) minmax(0, 1fr); gap: 18px; padding: 30px 0 36px; border-top: 1px solid var(--line-d); }
.values__letter { font-size: clamp(3.6rem, 5.6vw, 6rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--blue); min-width: 0.75em; }
.values__item h3 { font-weight: 500; font-size: 1.2rem; margin-bottom: 8px; }
.values__item p { color: var(--muted-d); font-size: 1rem; }

/* contact */
.contact { padding: calc(var(--nav-h) + clamp(64px, 8vw, 120px)) 0 clamp(80px, 10vw, 140px); min-height: 100vh; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .display { font-size: clamp(3rem, 6.4vw, 7rem); max-width: 10ch; }
.contact .lead { margin-top: 28px; max-width: 44ch; }
.contact__list { margin-top: 40px; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1.125rem; }
.contact__list a:hover { color: var(--blue); }
.contact__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; font-size: 18px; color: var(--blue); }
.contact__trust { margin-top: 40px; font-size: 0.875rem; color: var(--muted-d); max-width: 52ch; line-height: 1.6; }
.contact__panel { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-d); border-radius: 24px; padding: clamp(22px, 3vw, 40px); scroll-margin-top: calc(var(--nav-h) + 24px); }
/* the same enquiry block placed under a service hero */
.contact--service { padding: clamp(64px, 8vw, 120px) 0; min-height: 0; }
.contact--service .h2 { max-width: 14ch; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field__label { font-weight: 500; font-size: 0.875rem; color: var(--text-d); }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--white); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 15px 16px; transition: border-color .25s, background-color .25s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(234, 238, 245, 0.46); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: rgba(255, 255, 255, 0.09); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236FCAEE' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field select option { color: var(--navy); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.875rem; }
.files { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; cursor: pointer; }
.files__btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.35); font-weight: 500; font-size: 0.9375rem; transition: border-color .25s, background-color .25s; }
.files:hover .files__btn { border-color: var(--blue); background: rgba(111, 202, 238, 0.08); }
.files__hint { font-size: 0.875rem; color: var(--muted-d); }
.field--files { position: relative; }
.files__input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.files__input:focus-visible + .files__list, .files:focus-within .files__btn { border-color: var(--blue); }
.files__list { display: grid; gap: 6px; }
.files__item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); font-size: 0.9375rem; }
.files__item button { color: var(--blue); font-weight: 500; font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 14px 16px; border-radius: 12px; background: rgba(244, 160, 154, 0.12); color: var(--danger); font-size: 0.9375rem; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__legal { font-size: 0.8125rem; color: var(--muted-d); max-width: 34ch; }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form button[disabled] { opacity: 0.6; pointer-events: none; }
.form__done { padding: 12px 4px; }
.form__done-kicker { font-weight: 500; color: var(--blue); margin-bottom: 16px; }
.form__done .h3 { color: var(--white); max-width: 16ch; }
.form__done p:last-child { margin-top: 20px; color: var(--muted-d); }
.form__done a { color: var(--white); text-decoration: underline; }

/* legal */
.legal { padding: clamp(56px, 7vw, 100px) 0 clamp(80px, 10vw, 140px); }
.legal__body { max-width: 72ch; }
.legal__body p, .legal__body li { color: rgba(15, 26, 45, 0.8); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .nav__phone span { display: none; }
  .nav__phone { width: 60px; padding: 0; justify-content: center; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  :root { --nav-h: 68px; --radius: 16px; }
  body { font-size: 1rem; }
  .nav { top: calc(10px + env(safe-area-inset-top, 0px)); }
  .nav.is-away:not(:focus-within) { transform: translate3d(0, calc(-100% - 16px - env(safe-area-inset-top, 0px)), 0); }
  .nav__bar { height: 56px; padding: 0 20px; gap: 0; }
  .wordmark { height: 20px; }
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .seq { height: 760vh; --sb: max(22px, env(safe-area-inset-bottom, 0px)); }
  .seq__note { top: calc(var(--nav-h) + 8px); right: var(--gutter); font-size: 0.6875rem; }
  .seq__frame { object-position: 50% 60%; }
  .seq__frame[data-stage="intro"] { object-position: 50% 60%; }
  .rail-x { display: none; }
  .seq__poster img { object-position: 50% 50%; }
  .seq__shade { background: linear-gradient(180deg, rgba(10, 18, 32, 0.86) 0%, rgba(10, 18, 32, 0.62) 34%, rgba(10, 18, 32, 0) 58%), linear-gradient(0deg, rgba(10, 18, 32, 0.9) 0%, rgba(10, 18, 32, 0.4) 30%, rgba(10, 18, 32, 0) 50%); }
  .seq__intro { padding: calc(var(--nav-h) + 26px) var(--gutter) calc(var(--sb) + var(--vb, 0px)); }
  .seq__tagline { font-size: clamp(3rem, 14.5vw, 5.4rem); }
  .seq__descriptor { font-size: 1.125rem; line-height: 1.3; margin-top: 18px; max-width: 32ch; }
  .seq__actions { margin-top: 18px; }
  .seq__actions .btn--glass { display: none; }
  .seq__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
  .seq__stats li { padding: 0 12px; }
  .seq__stats strong { font-size: 1.6rem; }
  .seq__stats span { font-size: 0.8125rem; line-height: 1.25; }
  .seq__chapter { top: calc(var(--nav-h) + 26px); left: var(--gutter); right: var(--gutter); width: auto; margin-top: 0; }
  .seq__title { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
  .seq__text { font-size: 1.0625rem; margin-top: 16px; }
  .seq__chapter .tags { margin-top: 18px; }
  .seq__chapter .tags li { font-size: 0.8125rem; padding: 6px 12px; background: rgba(10, 18, 32, 0.28); }
  .seq__chapter .link-arrow { margin-top: 18px; }
  .seq__closing { top: auto; bottom: calc(var(--sb) + var(--vb, 0px) + 68px); }
  .seq__rail { left: var(--gutter); right: var(--gutter); bottom: calc(var(--sb) + var(--vb, 0px)); font-size: 0.75rem; gap: 6px; }
  /* phones: a round button beside the hero CTA (--next-b: CTA bottom to the intro's content bottom); the label
     opens out once the services start */
  .seq__next { bottom: calc(var(--next-b, 82px) + var(--sb) + var(--vb, 0px)); height: 54px; padding: 0 3px; }
  .seq__next-dial { width: 46px; height: 46px; font-size: 19px; }
  .seq__next-label { margin: 0 12px 0 16px; font-size: 0.9375rem; }
  .seq:not(.is-touring) .seq__next-label, .seq.is-closing .seq__next-label { width: 0; margin: 0; opacity: 0; }
  .seq.is-touring .seq__next { transform: none; }
  .seq.is-closing .seq__next { transform: translateY(calc(var(--next-b, 82px) - 68px)); }
  .work__intro, .why__head, .quotes__head, .register-sec__head, .deliver__grid, .faq__grid, .send__grid, .about-who__grid, .lead-eng__grid, .careers__grid, .shero__grid, .contact__grid, .footer__top, .svc-row { grid-template-columns: minmax(0, 1fr); }
  .work__text, .why__head .lead, .register-sec__head .lead { justify-self: start; }
  .cards, .steps__list, .pgrid, .values__list, .jobs__list, .story__cols, .about-photos__grid, .form__row { grid-template-columns: minmax(0, 1fr); }
  .gallery__row { flex-direction: column; max-width: none; }
  .gallery__item, .gallery__row--one .gallery__item, .gallery__row--tall .gallery__item { flex: none; width: 100%; max-height: none; }
  /* project hero: the picture takes the top of the screen and fades into navy behind the title, so a wide image
     is no longer blown up to fill a tall phone screen */
  .prhero { background: var(--navy); }
  .prhero__img { height: 62svh; bottom: auto; }
  .prhero__shade { background: linear-gradient(0deg, var(--navy) 0%, var(--navy) 38%, rgba(9, 17, 31, 0.6) 52%, rgba(9, 17, 31, 0.12) 100%); }
  .prhero--framed .prhero__img { height: 100%; }
  .prhero--framed .prhero__shade { background: linear-gradient(0deg, rgba(9, 17, 31, 0.92) 0%, rgba(9, 17, 31, 0.55) 100%); }
  .prhero--framed { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .prhero--framed .prhero__inner { padding-top: 28px; }
  .frame { width: 100%; }
  .prhero__frame { position: relative; top: auto; right: auto; transform: none; align-self: flex-start; margin: calc(var(--nav-h) + 28px) var(--gutter) 0; width: min(calc(100% - 2 * var(--gutter)), calc(46svh * var(--ar, 1))); }
  .prhero--framed .display { max-width: 14ch; }
  .nextp__frame { display: none; }
  .card { min-height: 0; }
  .card__title { margin-top: 26px; }
  .steps__n { margin-bottom: 20px; }
  .register__row { grid-template-columns: minmax(0, 1fr) 56px; gap: 4px 12px; }
  .register__row span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .register__row span:nth-child(3) { display: none; }
  .register__row span:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right; }
  .register__row--head span:nth-child(2) { display: none; }
  .register--compact li { grid-template-columns: minmax(0, 1fr) 50px; }
  .register--compact li span:nth-child(2) { grid-row: 2; }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shero__media { aspect-ratio: 4 / 3; }
  .lead-eng__photo { aspect-ratio: 4 / 3; order: -1; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .faq__a { padding-right: 0; }
  .deliver__head, .faq__grid > div:first-child { position: static; }
  .btn { height: 54px; padding-left: 22px; }
  .btn__icon { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .seq__stats span { font-size: 0.75rem; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal-words .w > span, .js [data-reveal], .js [data-reveal-img], .js [data-reveal-img] img, .js .seq__tagline .line > span { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}


/* ==========================================================================
   Metric's own look (audit 10 Nov 2026): the language of a drawing set.
   Numbered section labels, a drawing sheet, title blocks and a transmittal.
   ========================================================================== */

/* ---------- section labels: a numbered grid bubble with a leader line ---------- */
body { counter-reset: sec; }
.label { counter-increment: sec; gap: 34px; letter-spacing: 0.01em; }
.label .dot, [data-tone="light"] .label .dot { position: relative; width: 30px; height: 30px; display: grid; place-items: center; background: none; box-shadow: none; border: 1px solid currentColor; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0; line-height: 1; }
.label .dot::before { content: counter(sec, decimal-leading-zero); }
.label .dot::after { content: ""; position: absolute; left: 100%; top: 50%; width: 22px; height: 1px; background: currentColor; opacity: 0.45; }

/* ---------- home: all-projects row ---------- */
.more { padding: clamp(28px, 3.2vw, 56px) 0 0; }
.rowlink { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line-l); }
.rowlink__k { font-size: clamp(1.5rem, 2.2vw, 2.3rem); line-height: 1.05; letter-spacing: -0.03em; }
.rowlink__v { color: var(--muted-l); }
.rowlink__go { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 20px; transition: transform .5s var(--ease), background .3s; }
.rowlink:hover .rowlink__go { transform: translateX(6px); }

/* ---------- home: the drawing sheet ---------- */
.sheet { padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 128px); }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 64px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.sheet__fig { margin: 0; }
.sheet__paper { position: relative; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--line-l); box-shadow: 0 34px 70px -44px rgba(15, 26, 45, 0.45); }
.sheet__paper img { display: block; width: 100%; height: auto; }
.sheet__note { margin-top: 12px; font-size: 0.8125rem; color: var(--muted-l); max-width: 78ch; }
/* the four points, pinned to the sheet (positions are a share of the sheet's width and height) */
.sheet__pin { position: absolute; z-index: 1; width: clamp(26px, 2.5vw, 40px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--navy); font-weight: 500; font-size: clamp(0.8125rem, 1.15vw, 1.125rem); line-height: 1; transform: translate(-50%, -50%); box-shadow: 0 0 0 5px rgba(111, 202, 238, 0.28), 0 6px 18px -6px rgba(15, 26, 45, 0.5); transition: background .3s, color .3s, opacity .6s var(--ease); }
.pin-1 { left: 15.2%; top: 8.2%; }
.pin-2 { left: 91.6%; top: 91.6%; }
.pin-3 { left: 46.2%; top: 93.4%; }
.pin-4 { left: 58.5%; top: 20.2%; }
.js .sheet__pin { opacity: 0; }
.js .sheet__paper.is-in .sheet__pin { opacity: 1; }
.js .sheet__paper.is-in .pin-1 { transition-delay: .9s; }
.js .sheet__paper.is-in .pin-2 { transition-delay: 1.05s; }
.js .sheet__paper.is-in .pin-3 { transition-delay: 1.2s; }
.js .sheet__paper.is-in .pin-4 { transition-delay: 1.35s; }
.sheet__grid:has(.sheet__item:nth-child(1):hover) .pin-1, .sheet__grid:has(.sheet__item:nth-child(2):hover) .pin-2,
.sheet__grid:has(.sheet__item:nth-child(3):hover) .pin-3, .sheet__grid:has(.sheet__item:nth-child(4):hover) .pin-4 { background: var(--navy); color: var(--white); transition-delay: 0s; }
.sheet__list { display: grid; }
.sheet__item { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: clamp(18px, 1.7vw, 26px) 0; border-top: 1px solid var(--line-l); }
.sheet__item:first-child { border-top-color: var(--navy); }
.sheet__item:last-child { border-bottom: 1px solid var(--line-l); }
.sheet__num { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--navy); display: grid; place-items: center; font-weight: 500; font-size: 0.9375rem; transition: background .3s, color .3s; }
.sheet__item:hover .sheet__num { background: var(--navy); color: var(--white); }
.sheet__item h3 { font-weight: 300; font-size: clamp(1.35rem, 1.75vw, 1.8rem); line-height: 1.1; letter-spacing: -0.028em; padding-top: 3px; }
.sheet__item p { grid-column: 2; margin-top: 8px; color: var(--muted-l); font-size: 1rem; }
.sheet__crop { display: none; }

/* ---------- title blocks: the footer, and the facts on a project page ---------- */
.tblock { display: grid; grid-template-columns: 1.15fr 1.1fr 1.9fr 1.3fr 0.55fr; gap: 1px; margin-top: clamp(56px, 7vw, 104px); background: var(--line-d); border: 1px solid var(--line-d); }
.tblock__cell { display: grid; gap: 3px; align-content: start; padding: 18px 20px 22px; background: var(--ink); color: var(--muted-d); font-size: 0.9375rem; line-height: 1.4; }
.tblock__logo { align-content: center; }
.tblock .wordmark { height: 26px; width: auto; color: var(--white); }
.tblock__k { margin-bottom: 8px; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.tblock__big { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.footer__bottom { border-top: 0; margin-top: 0; padding-top: 20px; }
.meta { gap: 1px; margin-top: 44px; padding-top: 0; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.22); }
.meta > div { padding: 16px 18px 18px; background: rgba(9, 17, 31, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.meta dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; }

/* ---------- closing call: what to send, laid out as a transmittal ---------- */
.cta { padding: clamp(88px, 11vw, 168px) 0; text-align: left; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.cta__title { font-size: clamp(3rem, 6.6vw, 7.4rem); max-width: 11ch; }
.cta__actions { justify-content: flex-start; }
.trans { font-size: 1rem; }
.trans__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-l); }
.trans__row > span:first-child { color: var(--muted-l); }
.trans__head { border-top: 1px solid var(--navy); }
.trans__head span, .trans__foot > span:first-child { font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; align-self: center; }
.trans__head > span:last-child { color: var(--muted-l); }
.trans__list .trans__row > span:last-child { font-size: clamp(1.15rem, 1.4vw, 1.4rem); letter-spacing: -0.015em; }
.trans__foot { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.trans__foot > span:last-child { font-weight: 500; }
.trans__note { margin-top: 14px; font-size: 0.875rem; color: var(--muted-l); }

@media (max-width: 1100px) {
  .tblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tblock__logo { grid-column: 1 / -1; padding-top: 22px; }
}
@media (max-width: 899px) {
  .label { gap: 30px; margin-bottom: 22px; }
  .label .dot::after { width: 18px; }
  .rowlink { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .rowlink__v { grid-column: 1; grid-row: 2; font-size: 0.9375rem; }
  .rowlink__go { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; }
  .sheet__grid, .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .sheet__pin { width: 20px; font-size: 0.6875rem; box-shadow: 0 0 0 3px rgba(111, 202, 238, 0.28); }
  .sheet__item { grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 20px 0 22px; }
  .sheet__num { width: 30px; height: 30px; font-size: 0.875rem; }
  .sheet__crop { display: block; grid-column: 1 / -1; width: 100%; height: auto; margin-bottom: 16px; border-radius: 12px; border: 1px solid var(--line-l); }
  .cta__inner { align-items: start; }
  .meta > div { padding: 13px 14px 15px; }
  .tblock__cell { padding: 16px 16px 18px; }
}
@media (max-width: 420px) {
  .tblock { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   3D model on project pages: live in the page, with a full-screen mode
   ========================================================================== */
.m3d { padding: clamp(72px, 8vw, 128px) 0; background: var(--navy); color: var(--white); }
.m3d__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.m3d__text .h2 { max-width: 11ch; }
.m3d__text .lead { margin-top: 26px; max-width: 40ch; color: var(--muted-d); }
.gallery--after-dark { padding-top: clamp(64px, 8vw, 120px); }

.v3d { position: relative; min-width: 0; }
.v3d__stage { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line-d); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(rgba(111, 202, 238, 0.06) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(111, 202, 238, 0.06) 1px, transparent 1px) 0 0 / 48px 48px, radial-gradient(120% 90% at 50% 40%, #16264a 0%, var(--ink) 100%); }
.m3d__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease); }
.v3d[data-v3d-ready] .m3d__img { opacity: 0; }
.v3d__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; outline: none; opacity: 0; transition: opacity .6s var(--ease); }
.v3d[data-v3d-ready] .v3d__canvas { opacity: 1; }
.v3d__canvas:active { cursor: grabbing; }
.v3d__status { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 9px 14px; border-radius: 999px; background: rgba(9, 17, 31, 0.7); border: 1px solid var(--line-d); font-size: 0.8125rem; white-space: nowrap; }
.v3d__status[hidden] { display: none; }
.v3d__title { display: none; max-width: calc(100% - 2 * var(--gutter) - 120px); position: absolute; left: var(--gutter); top: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-top, 0px)); margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.1; letter-spacing: -0.025em; pointer-events: none; }
.v3d__title span { display: block; margin-top: 8px; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); }
.v3d__full { position: absolute; right: 14px; top: 14px; padding: 0; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(9, 17, 31, 0.66); color: var(--white); font: inherit; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.02em; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.v3d__full:hover { background: var(--blue); color: var(--navy); }
.v3d__full > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 16px; }
.v3d__full-icon { display: inline-grid; place-items: center; font-size: 16px; }
.v3d__full > .v3d__full-close, .v3d.is-full .v3d__full > .v3d__full-open { display: none; }
.v3d.is-full .v3d__full > .v3d__full-close { display: inline-flex; }
.v3d__full:focus-visible, .v3d__reset:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.v3d__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line-d); border-radius: 18px; background: rgba(9, 17, 31, 0.5); font-size: 0.9375rem; }
.v3d__set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.v3d__set legend, .v3d__cut > span { float: left; margin-right: 6px; padding: 0; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-d); }
.v3d__chip { position: relative; display: inline-flex; cursor: pointer; }
.v3d__chip[hidden] { display: none; }
.v3d__chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.v3d__chip span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-d); color: var(--muted-d); transition: background .25s, color .25s, border-color .25s; }
.v3d__chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--navy); }
.v3d__chip input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.v3d__cut { display: inline-flex; align-items: center; gap: 10px; flex: 1 1 200px; }
.v3d__cut input { flex: 1; min-width: 100px; accent-color: var(--blue); }
.v3d__reset { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-d); background: none; color: var(--white); font: inherit; cursor: pointer; transition: background .25s, color .25s; }
.v3d__reset:hover { background: var(--white); color: var(--navy); }
.v3d__hint { margin: 12px 2px 0; font-size: 0.8125rem; color: var(--muted-d); }
.v3d__hint-full { display: none; }

/* full screen: the same canvas, fixed over the page */
.v3d-lock { overflow: hidden; }
.v3d.is-full { position: fixed; inset: 0; z-index: 400; width: 100vw; height: 100vh; height: 100dvh;
  background: linear-gradient(rgba(111, 202, 238, 0.05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(111, 202, 238, 0.05) 1px, transparent 1px) 0 0 / 56px 56px, radial-gradient(110% 80% at 50% 45%, #1a2c52 0%, var(--ink) 100%); }
.v3d.is-full .v3d__stage { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: none; }
.v3d.is-full .v3d__title { display: block; }
.v3d.is-full .v3d__full { right: var(--gutter); top: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-top, 0px)); }
.v3d.is-full .v3d__tools { position: absolute; left: 50%; bottom: calc(clamp(44px, 4vw, 60px) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0; background: rgba(9, 17, 31, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.v3d.is-full .v3d__cut input { width: clamp(120px, 14vw, 220px); }
.v3d.is-full .v3d__hint { position: absolute; left: 0; right: 0; bottom: calc(clamp(14px, 1.4vw, 22px) + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; pointer-events: none; }
.v3d.is-full .v3d__hint-page { display: none; }
.v3d.is-full .v3d__hint-full { display: inline; }

@media (max-width: 899px) {
  .m3d__grid { grid-template-columns: minmax(0, 1fr); }
  .v3d__stage { aspect-ratio: 1 / 1; }
  .v3d__tools { gap: 10px 14px; padding: 12px 14px; border-radius: 16px; }
  .v3d__cut { flex: 1 1 100%; }
  .v3d.is-full .v3d__tools { left: var(--gutter); right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto; max-width: none; }
  .v3d.is-full .v3d__cut input { width: auto; }
  .v3d.is-full .v3d__hint { display: none; }
}

/* ---------- selected work: a register of projects. Each row carries its drawing sheet ----------
   Desktop with a pointer: the list sits beside the sheet of the row being pointed at.
   Phones and touch screens: each row is a card (sheet on top), swiped sideways. */
.reg { margin: 0; padding: 0; list-style: none; }
.reg__link { color: inherit; }
.reg__sheet { background: var(--white); border: 1px solid var(--line-l); border-radius: 12px; overflow: hidden; box-shadow: 0 34px 70px -44px rgba(15, 26, 45, 0.45); }
.reg__view { position: relative; aspect-ratio: 3 / 2; margin: 12px 12px 0; overflow: hidden; background: #EDF0F4; border: 1px solid var(--line-l); }
.reg__view img { display: block; width: min(100%, var(--fw, 100%)); height: 100%; margin: 0 auto; object-fit: cover; }
.reg__note { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(9, 17, 31, 0.72); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.03em; }
.reg__tb { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 0.8fr); gap: 1px; margin: 12px; border: 1px solid var(--line-l); background: var(--line-l); }
.reg__tb > span { display: grid; gap: 5px; align-content: start; padding: 10px 12px 12px; background: var(--white); font-size: 0.875rem; line-height: 1.25; }
.reg__k { font-weight: 500; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-l); }
.reg__no { font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--muted-l); }
.reg__title { font-weight: 300; font-size: clamp(1.5rem, 2.1vw, 2.3rem); line-height: 1.05; letter-spacing: -0.035em; }
.reg__kicker { margin-top: 8px; font-size: 0.9375rem; color: var(--muted-l); }
.reg__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-l); font-size: 18px; transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); }

@media (min-width: 900px) and (hover: hover) {
  .reg { --sw: min(calc((100vw - 2 * var(--gutter)) * 0.56), 104vh); position: relative; padding-left: calc(var(--sw) + clamp(32px, 4.5vw, 80px)); min-height: calc(var(--sw) / 1.5 + 96px); }
  .reg__row { border-bottom: 1px solid var(--line-l); }
  .reg__row:first-child { border-top: 1px solid var(--navy); }
  .reg__link { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 20px 0 22px; }
  .reg__sheet { position: absolute; left: 0; top: 0; width: var(--sw); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
  .reg__row.is-on .reg__sheet { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; transition: opacity .45s var(--ease), visibility 0s; }
  .reg__view img { transform: scale(1.05); transition: transform 1.4s var(--ease); }
  .reg__row.is-on .reg__view img { transform: none; }
  .reg__no { align-self: start; padding-top: 0.7em; }
  .reg__title { color: rgba(15, 26, 45, 0.6); transition: color .3s; }
  .reg__row.is-on .reg__title { color: var(--navy); }
  .reg__role { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .reg__row.is-on .reg__go { background: var(--navy); border-color: var(--navy); color: var(--white); }
}
@media (max-width: 899px), (hover: none) {
  .reg { display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .reg::-webkit-scrollbar { display: none; }
  .reg__row { flex: none; width: min(84vw, 460px); scroll-snap-align: start; }
  .reg__link { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 18px; }
  .reg__sheet { grid-column: 1 / -1; }
  .reg__view { margin: 10px; }
  .reg__tb, .reg__go { display: none; }
  .reg__no { padding-top: 0.5em; }
  .reg__title { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .reg__role { margin-top: 10px; font-size: 0.9375rem; }
}


/* ==========================================================================
   Metric's own look, part 2 (10 Nov 2026): drawn lines in place of glass pills.
   Square corners, cells divided by hairlines (as in a title block), references as a schedule,
   the site photo as a sheet. Circles stay only where a drawing uses them: grid bubbles and callouts.
   ========================================================================== */
:root { --radius: 6px; --r-s: 3px; --hair: color-mix(in srgb, currentColor 18%, transparent); }
.btn, .round, .tags li, .chip, .nav__bar, .nav__phone, .nav__cta, .nav__toggle, .seq__next, .rowlink__go, .reg__go, .reg__note, .nextp__arrow, .files__btn, .v3d__full, .v3d__reset, .v3d__chip span, .v3d__status, .skip, .card__icon, .contact__icon, .faq__icon { border-radius: var(--r-s); }
.sheet__paper, .reg__sheet { border-radius: var(--radius); }

/* ---------- buttons: two cells, the label and its arrow ---------- */
.btn { height: 54px; padding: 0 0 0 22px; gap: 20px; overflow: hidden; }
.btn .btn__icon { width: 54px; height: 100%; border-radius: 0; border-left: 1px solid var(--hair); background: none; }
.btn:hover .btn__icon { transform: none; }
.btn__icon .i { transition: transform .4s var(--ease); }
.btn:hover .btn__icon .i { transform: translate(2px, -2px); }

/* ---------- menu: joined cells ---------- */
.nav__bar { height: 56px; padding: 0; gap: 0; overflow: hidden; }
.nav__logo { display: flex; align-items: center; height: 100%; padding: 0 22px; }
.nav__links { gap: 0; height: 100%; }
.nav__link { display: flex; align-items: center; height: 100%; padding: 0 20px; border-left: 1px solid var(--hair); }
.nav__link.is-current::after { left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); opacity: 1; }
.nav__actions { gap: 0; }
.nav__phone { height: 56px; border-right: 0; border-radius: var(--r-s) 0 0 var(--r-s); }
.nav__cta { height: 56px; border-radius: 0 var(--r-s) var(--r-s) 0; }
.nav__toggle { width: 56px; height: 56px; }

/* ---------- hero chapters: a grid bubble for the stage number, a two-cell next button ---------- */
.seq__index { display: flex; align-items: center; gap: 34px; color: var(--white); font-size: 0.8125rem; letter-spacing: 0.04em; }
.seq__index b { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-weight: 500; font-size: 0.75rem; letter-spacing: 0; }
.seq__index b::after { content: ""; position: absolute; left: 100%; top: 50%; width: 22px; height: 1px; background: currentColor; opacity: 0.45; }
.seq__index span { color: rgba(255, 255, 255, 0.6); }
.seq__next { height: 56px; padding: 0; overflow: hidden; }
.seq__next-dial { width: 56px; height: 56px; border-radius: 0; }
.seq__next-dial::after { display: none; }

/* ---------- references: every client quoted, as a schedule ---------- */
.refs { padding: clamp(72px, 8vw, 128px) 0; border-top: 1px solid var(--line-l); }
.refs .h2 { max-width: 20ch; }
.refs__list { margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--navy); }
.ref { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) minmax(0, 2.4fr); column-gap: clamp(20px, 3vw, 56px); align-items: start; padding: clamp(24px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line-l); }
.ref__no { padding-top: 0.3em; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--muted-l); }
.ref__who { display: grid; gap: 14px; justify-items: start; }
.ref__logo { display: block; max-width: 100%; height: auto; }
.ref__name { font-weight: 500; }
.ref__name span { display: block; font-weight: 400; color: var(--muted-l); }
.ref__pull { font-size: clamp(1.35rem, 2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.03em; }
.ref__more { margin-top: 16px; }
.ref__more summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: 0.9375rem; list-style: none; }
.ref__more summary::-webkit-details-marker { display: none; }
.ref__more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-l); border-radius: var(--r-s); font-weight: 400; line-height: 1; }
.ref__more[open] summary::before { content: "\2212"; }
.ref__more p { margin-top: 14px; max-width: 70ch; color: var(--muted-l); font-size: 1.0625rem; }

/* ---------- on site: the photo as a sheet, beside who we work with ---------- */
.site { padding: clamp(80px, 9vw, 144px) 0; background: var(--navy); color: var(--white); }
.site__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.site__lead { max-width: 17ch; margin-bottom: 36px; font-size: clamp(1.9rem, 3.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.04em; }
.site__fig { margin: 0; color: var(--navy); }
.site__sheet { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.site__view { aspect-ratio: 3 / 2; margin: 12px 12px 0; overflow: hidden; border: 1px solid var(--line-l); }
.site__view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site__tb { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 1px; margin: 12px; border: 1px solid var(--line-l); background: var(--line-l); }
.site__tb > span { display: grid; gap: 5px; align-content: start; padding: 10px 12px 12px; background: var(--white); font-size: 0.875rem; line-height: 1.25; }

@media (max-width: 899px) {
  .ref { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .ref__no { display: none; }
  .site__grid { grid-template-columns: minmax(0, 1fr); }
  .site__view { margin: 10px 10px 0; }
  .site__tb { margin: 10px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .site__tb > span:last-child { display: none; }
}

/* ---------- training page (/training) ---------- */
.trn-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.trn-hero__actions .btn { margin-top: 0; }
.trn-hero__note { color: var(--muted-d); font-size: 0.9375rem; }
.trn-tracks { padding: clamp(80px, 10vw, 150px) 0; }
.trn-tracks .h2 { max-width: 16ch; }
.trn-tracks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.trn-track { padding: 28px 28px 32px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; }
.trn-track__n { font-weight: 500; color: var(--muted-l); }
.trn-track__title { margin-top: clamp(32px, 4vw, 64px); font-weight: 300; font-size: clamp(1.55rem, 2vw, 2.05rem); line-height: 1.06; letter-spacing: -0.03em; }
.trn-track__who { margin: 12px 0 24px; color: var(--muted-l); }
.trn-price { padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 5vw, 64px); }
.trn-price .h2 { max-width: 14ch; }
.trn-price__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.trn-price__cell { padding: 26px 26px 30px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.trn-price__name { font-weight: 500; }
.trn-price__amt { margin-top: clamp(28px, 3vw, 48px); font-weight: 300; font-size: clamp(2.4rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.trn-price__unit { margin-top: 8px; font-size: 0.875rem; color: var(--muted-l); }
.trn-price__note { margin-top: 18px; color: var(--muted-l); font-size: 1rem; }
.trn-teacher { margin-top: 24px; font-size: 1.125rem; color: rgba(15, 26, 45, 0.78); max-width: 52ch; }
.trn-wait { scroll-margin-top: var(--nav-h); }
@media (max-width: 1100px) {
  .trn-price__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .trn-tracks__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .trn-price__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 3D hero (tools/model/hero3d.src.js): the structure drawn live in place of the film ---------- */
.seq--3d { height: 860vh; }
.seq--3d .seq__rail { grid-template-columns: repeat(5, 1fr); }
.seq--3d .seq__media { background: radial-gradient(120% 90% at 64% 44%, #17294b 0%, #0b1424 64%); }
.seq--3d .seq__canvas { opacity: 0; transition: opacity .8s ease; }
.seq--3d.is-live .seq__canvas { opacity: 1; }
.seq--3d.is-live .seq__poster { visibility: hidden; transition: visibility 0s linear .8s; }
html:not(.js) .seq--3d .seq__poster, .seq--3d.seq--static .seq__poster { visibility: visible; }
@media (max-width: 899px) {
  .seq--3d { height: 760vh; }
  .seq--3d .seq__media { background: radial-gradient(140% 70% at 50% 34%, #17294b 0%, #0b1424 66%); }
}

/* The street view round the model: the empty site behind it, the surroundings in front of it, and the finished
   building wiped in at the end. hero3d.src.js sets their opacity and the wipe. */
.seq__layer { position: absolute; inset: 0; visibility: hidden; }
.seq__layer img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* wide screens: enlarged about the left edge so the building clears the headline (hero3d.src.js, ZOOM, does the same to the model) */
@media (min-aspect-ratio: 9/10) { .seq__layer img { transform: scale(1.24); transform-origin: 0% 85%; } }
/* The loading count: a card in the middle of the hero until the model is ready, and main.js holds the page still
   meanwhile. The hero's still picture and headline show round it from the first paint (on 21 Nov 2026 it was a full
   navy screen, which left the page looking blank for seconds: Lighthouse Speed Index 10.5 s). It shows from the first
   paint; if the script never runs it clears itself. */
.seq__loader { position: absolute; left: 50%; top: calc(50% - var(--vb, 0px) / 2); transform: translate(-50%, -50%); z-index: 8; display: none; justify-items: center; gap: 14px; width: max-content; max-width: calc(100% - 2 * var(--gutter)); padding: 26px 34px 22px; border-radius: 4px; background: rgba(11, 20, 36, 0.88); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35); color: var(--white); text-align: center; }
html.js .seq--3d .seq__loader { display: grid; animation: loader-out .6s ease 40s forwards; }
@media (min-width: 900px) { .seq__loader { left: 62%; } } /* over the building, clear of the headline */
.seq--3d.is-live .seq__loader, .seq--3d.is-still .seq__loader { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility 0s linear .7s; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.seq__loader-n { position: relative; font-weight: 300; font-size: clamp(3.5rem, 11vw, 5rem); line-height: 0.86; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.seq__loader-n b { font-weight: 300; }
.seq__loader-n i { position: absolute; left: 100%; top: 0.1em; margin-left: 0.3em; font-style: normal; font-size: 0.24em; line-height: 1; letter-spacing: 0; color: var(--blue); }
.seq__loader-t { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.seq__loader-bar { display: block; width: min(220px, 56vw); height: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.seq__loader-bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.seq__loader-skip { display: none; margin: 0 0 -6px; padding: 8px 12px; border: 0; background: none; font: inherit; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.62); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.seq__loader.is-slow .seq__loader-skip { display: block; opacity: 1; visibility: visible; transition-delay: 0s; }
.seq__loader-skip:hover, .seq__loader-skip:focus-visible { color: var(--white); }
html.js .seq--3d.seq--static .seq__loader, html:not(.js) .seq__loader { display: none; }
@media (prefers-reduced-motion: reduce) { html.js .seq--3d .seq__loader { display: none; } }
.seq--static .seq__layer, html:not(.js) .seq__layer { display: none; }
/* held still while the model loads (phones; a desktop keeps its scrollbar and main.js blocks the wheel and keys) */
html.seq-hold { overflow: hidden; }
/* phones: once the services start, the Next button drops to sit just above the rail, clear of the model */
@media (max-width: 899px) {
  .seq--3d.is-touring .seq__next { transform: translateY(calc(var(--next-b, 82px) - 52px)); }
  .seq--3d.is-closing .seq__next { transform: translateY(calc(var(--next-b, 82px) - 68px)); }
}

/* ---------- registrations strip under the footer title block ---------- */
.regs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-top: 0; }
.regs__cell { display: grid; gap: 3px; align-content: start; padding: 18px 20px 22px; background: var(--ink); color: var(--muted-d); font-size: 0.875rem; line-height: 1.45; }
.regs__cell .tblock__k { display: inline-flex; align-items: center; gap: 7px; }
.regs__logo { display: flex; align-items: center; justify-content: center; height: 64px; max-width: 200px; margin-bottom: 14px; padding: 8px 14px; background: var(--white); border-radius: 4px; }
.regs__logo img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.regs__logo img[src*="fair-trading"], .regs__logo img[src*="bpeq"] { height: auto; width: min(100%, 150px); }
.regs__org { font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--white); margin-bottom: 2px; }
.regs__cell a { margin-top: 6px; color: var(--muted-d); text-decoration: underline; text-decoration-color: var(--line-d); text-underline-offset: 3px; transition: color .3s; }
.regs__cell a:hover { color: var(--white); }
@media (max-width: 1100px) { .regs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .regs { grid-template-columns: minmax(0, 1fr); } }

.lead-eng__photo--portrait img { object-position: 50% 28%; }

/* ---------- guides (/insights), area pages, project detail sheet, phone contact bar (27 Nov 2026) ---------- */
.glist { padding: clamp(64px, 8vw, 120px) 0; }
.glist--more { border-top: 1px solid var(--line-l); }
.ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
.gcard { background: var(--white); }
.gcard__link { display: grid; gap: 14px; align-content: start; height: 100%; padding: clamp(24px, 2.6vw, 36px); transition: background-color .3s; }
.gcard__link:hover { background: var(--mist); }
.gcard__kicker { font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-l); }
.gcard__title { font-size: clamp(1.45rem, 2vw, 1.95rem); line-height: 1.1; letter-spacing: -0.03em; }
.gcard__text { color: var(--muted-l); }
.gcard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 500; font-size: 0.9375rem; }
.gcard__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.gcard__link:hover .gcard__more svg { transform: translateX(4px); }
.ghero__title { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 6.4rem); }
.ghero__by { margin-top: 28px; font-size: 0.9375rem; color: var(--muted-d); }
.article { padding: clamp(56px, 7vw, 110px) 0; }
.article__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 110px); }
.article__side { position: sticky; top: 120px; align-self: start; display: grid; gap: 32px; }
.keypts__h { font-weight: 500; font-size: 0.9375rem; padding-top: 14px; border-top: 1px solid var(--navy); margin-bottom: 6px; }
.article__svc a { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; letter-spacing: -0.015em; }
.article__svc svg { width: 16px; height: 16px; }
.article__body { max-width: 70ch; font-size: 1.125rem; }
.article__body h2 { font-weight: 300; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.03em; margin: 1.8em 0 0.6em; }
.article__body h2:first-child { margin-top: 0; }
.article__body ol { list-style: decimal; padding-left: 1.3em; margin: 0.8em 0; }
.article__body li + li { margin-top: 0.4em; }
.article__body li { color: rgba(15, 26, 45, 0.78); }
.article__body ul + p, .article__body ol + p { margin-top: 1em; }
.article__cta { margin-top: 3em; padding: 28px; background: var(--mist); display: grid; gap: 20px; justify-items: start; }
.article__cta .btn { text-decoration: none; }
.area__councils, .area__suburbs { margin-top: 22px; color: var(--muted-l); }
.detail { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line-l); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.detail__text .h2 { max-width: 11ch; }
.detail__text .lead { margin-top: 28px; max-width: 42ch; color: var(--muted-l); }
.detail__sheet { border: 1px solid var(--navy); background: var(--white); }
.detail__sheet svg { width: 100%; height: auto; color: var(--navy); }
.detail__cap { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--navy); font-size: 0.8125rem; font-weight: 500; }
.detail__cap span:last-child { color: var(--muted-l); white-space: nowrap; }
.mbar { display: none; }
@media (max-width: 1100px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .ggrid { grid-template-columns: minmax(0, 1fr); }
  .article__grid, .detail__grid { grid-template-columns: minmax(0, 1fr); }
  .article__side { position: static; }
  html.js .mbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease); }
  html.js .mbar.is-on { transform: none; }
  body.menu-open .mbar { transform: translateY(calc(100% + 24px)); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 18px; font-weight: 500; font-size: 0.975rem; box-shadow: 0 10px 30px rgba(9, 17, 31, 0.28); }
  .mbar svg { width: 18px; height: 18px; }
  .mbar__call { background: var(--navy); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); }
  .mbar__cta { background: var(--blue); color: var(--navy); }
}
.detail__key { margin-top: 32px; display: grid; gap: 0; counter-reset: none; }
.detail__key li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-l); }
.detail__key li:last-child { border-bottom: 1px solid var(--line-l); }
.detail__key span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 500; font-size: 0.8125rem; }
.detail__key li:last-child span { background: var(--blue); color: var(--navy); }
@media (min-width: 900px) { .detail__sheet { position: sticky; top: 110px; } }
@media (max-width: 899px) { .detail__sheet { order: -1; } }
/* guide headline photos (27 Nov 2026) */
.ghero--img { min-height: 92vh; min-height: 92svh; }
.ghero--img .display { max-width: 17ch; font-size: clamp(2.6rem, 5.6vw, 6.2rem); }
.ghero--img .phero__lead { color: rgba(255, 255, 255, 0.86); max-width: 56ch; margin-top: 28px; }
.ghero--img .ghero__by { color: rgba(255, 255, 255, 0.66); }
.gcard__link { padding-top: 0; }
.gcard__media { display: block; margin: 0 calc(-1 * clamp(24px, 2.6vw, 36px)) 8px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gcard__link:hover .gcard__media img { transform: scale(1.04); }
.gcard__link > .gcard__kicker:first-child { padding-top: clamp(24px, 2.6vw, 36px); }

/* generated by build.mjs: image shapes and size limits */
.ar-1000 { --ar: 1; }
.ar-1048 { --ar: 1.048; }
.ar-1133 { --ar: 1.133; }
.ar-1333 { --ar: 1.333; }
.ar-1363 { --ar: 1.363; }
.ar-1389 { --ar: 1.389; }
.ar-1488 { --ar: 1.488; }
.ar-1490 { --ar: 1.49; }
.ar-1491 { --ar: 1.491; }
.ar-1496 { --ar: 1.496; }
.ar-1498 { --ar: 1.498; }
.ar-1500 { --ar: 1.5; }
.ar-1569 { --ar: 1.569; }
.ar-1600 { --ar: 1.6; }
.ar-1607 { --ar: 1.607; }
.ar-1620 { --ar: 1.62; }
.ar-1623 { --ar: 1.623; }
.ar-1683 { --ar: 1.683; }
.ar-1697 { --ar: 1.697; }
.ar-1777 { --ar: 1.777; }
.ar-1778 { --ar: 1.778; }
.ar-1779 { --ar: 1.779; }
.ar-1786 { --ar: 1.786; }
.ar-1791 { --ar: 1.791; }
.ar-1792 { --ar: 1.792; }
.ar-1873 { --ar: 1.873; }
.ar-1884 { --ar: 1.884; }
.ar-2014 { --ar: 2.014; }
.ar-2157 { --ar: 2.157; }
.ar-2345 { --ar: 2.345; }
.ar-2399 { --ar: 2.399; }
.ar-2561 { --ar: 2.561; }
.ar-2653 { --ar: 2.653; }
.ar-558 { --ar: 0.558; }
.ar-667 { --ar: 0.667; }
.ar-701 { --ar: 0.701; }
.ar-743 { --ar: 0.743; }
.ar-746 { --ar: 0.746; }
.ar-750 { --ar: 0.75; }
.ar-806 { --ar: 0.806; }
.ar-833 { --ar: 0.833; }
.ar-870 { --ar: 0.87; }
.fw-1000 { --fw: 1000px; }
.fw-1013 { --fw: 1013px; }
.fw-1067 { --fw: 1067px; }
.fw-1147 { --fw: 1147px; }
.fw-1161 { --fw: 1161px; }
.fw-1168 { --fw: 1168px; }
.fw-1220 { --fw: 1220px; }
.fw-1249 { --fw: 1249px; }
.fw-1250 { --fw: 1250px; }
.fw-1280 { --fw: 1280px; }
.fw-1333 { --fw: 1333px; }
.fw-1383 { --fw: 1383px; }
.fw-1393 { --fw: 1393px; }
.fw-1413 { --fw: 1413px; }
.fw-1450 { --fw: 1450px; }
.fw-1485 { --fw: 1485px; }
.fw-1500 { --fw: 1500px; }
.fw-1521 { --fw: 1521px; }
.fw-1600 { --fw: 1600px; }
.fw-1658 { --fw: 1658px; }
.fw-1667 { --fw: 1667px; }
.fw-1707 { --fw: 1707px; }
.fw-2000 { --fw: 2000px; }
.fw-2667 { --fw: 2667px; }
.fw-758 { --fw: 758px; }
.fw-800 { --fw: 800px; }
.fw-853 { --fw: 853px; }
.fw-900 { --fw: 900px; }
.fw-907 { --fw: 907px; }
.mx-1067 { --max: 1067px; }
.mx-1168 { --max: 1168px; }
.mx-1346 { --max: 1346px; }
.mx-1383 { --max: 1383px; }
.mx-1500 { --max: 1500px; }
.mx-1590 { --max: 1590px; }
.mx-1816 { --max: 1816px; }
.mx-1997 { --max: 1997px; }
.mx-2038 { --max: 2038px; }
.mx-2149 { --max: 2149px; }
.mx-2150 { --max: 2150px; }
.mx-2158 { --max: 2158px; }
.mx-2210 { --max: 2210px; }
.mx-2261 { --max: 2261px; }
.mx-2266 { --max: 2266px; }
.mx-2310 { --max: 2310px; }
.mx-2316 { --max: 2316px; }
.mx-2349 { --max: 2349px; }
.mx-2360 { --max: 2360px; }
.mx-2516 { --max: 2516px; }
.mx-2554 { --max: 2554px; }
.mx-2576 { --max: 2576px; }
.mx-2682 { --max: 2682px; }
.mx-2772 { --max: 2772px; }
.mx-2776 { --max: 2776px; }
.mx-2791 { --max: 2791px; }
.mx-2866 { --max: 2866px; }
.mx-2885 { --max: 2885px; }
.mx-2905 { --max: 2905px; }
.mx-2942 { --max: 2942px; }
.mx-3004 { --max: 3004px; }
.mx-3008 { --max: 3008px; }
.mx-3016 { --max: 3016px; }
.mx-900 { --max: 900px; }
