/* NJL Building Group */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-normal-100-900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* metric-matched fallback so the swap doesn't shove the layout around */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 103%;
  ascent-override: 88%;
  descent-override: 21%;
}

/* ---------- Tokens ---------- */
:root {
  --night: #0B0C0E;
  --bitumen: #131518;
  --formply: #1B1E22;
  --line: #2A2D32;
  --steel: #7C8590;
  --galv: #A8AEB6;
  --plaster: #F2EFE9;
  --blue: #0092EE;
  --blue-hi: #33A6F2;
  --blue-text: #5CBBFF;
  --blue-deep: #006AAD;
  --paper: #F2EFE9;
  --ink: #0B0C0E;
  --graphite: #3A3E44;
  --error: #FF6B5B;
  --error-deep: #B42318;

  --font: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1680px;
  --gutter: clamp(16px, 4vw, 72px);
  --gap: clamp(12px, 1.6vw, 32px);
  --section: clamp(96px, 11vw, 200px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (max-width: 1023px) { :root { --header-h: 60px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--night);
  color: var(--plaster);
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
:where(ol[role='list'], ul[role='list']) { list-style: none; padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--blue-deep); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 18px;
  background: var(--blue); color: var(--ink); font-weight: 700; transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-family: var(--mono); font-weight: 500; font-size: .8125rem; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--galv);
}
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 20px; height: 2px; margin: -3px 12px 0 0; background: var(--blue); }
.caption {
  font-family: var(--mono); font-weight: 500; font-size: .75rem; line-height: 1.4;
  letter-spacing: .06em; text-transform: uppercase; color: var(--galv);
}
h2 {
  font-size: clamp(2.75rem, 1.6rem + 5.2vw, 7rem);
  font-stretch: 66%; font-weight: 820; line-height: .9; letter-spacing: -.004em;
  text-transform: uppercase;
}
h3 { font-stretch: 80%; font-weight: 760; line-height: 1.05; letter-spacing: -.008em; }
.lead { font-size: clamp(1.125rem, 1rem + .55vw, 1.5rem); line-height: 1.45; color: var(--galv); max-width: 46ch; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head h2 { max-width: 14ch; }
.section-head .lead { margin-top: 8px; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 24px; border-radius: 2px;
  font-weight: 650; font-size: 1rem; font-stretch: 92%; letter-spacing: .005em; line-height: 1.1;
  white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--wide { width: 100%; }
.btn--blue { background: var(--blue); color: var(--ink); }
.btn--line { color: var(--plaster); box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, .45); }
.btn--blue::before, .btn--line::before {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .55s var(--ease);
  background: var(--blue-hi);
}
.btn--line::before { background: var(--plaster); }
.btn--blue:hover::before, .btn--line:hover::before, .btn--blue:focus-visible::before, .btn--line:focus-visible::before { transform: none; }
.btn--line:hover, .btn--line:focus-visible { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--plaster); }
.btn.is-magnetic { transition-property: background-color, color, border-color, box-shadow; }
.btn:active { transform: translateY(1px); }
.btn__num { font-variant-numeric: tabular-nums; font-weight: 800; padding-left: 12px; border-left: 1.5px solid currentColor; }
.btn--blue .btn__num { border-left-color: rgba(11, 12, 14, .35); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  background: linear-gradient(var(--blue), var(--blue)) left bottom / 100% 1.5px no-repeat;
  padding-bottom: 4px; transition: background-size .4s var(--ease), color .2s;
}
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow--up::after { content: '↑'; }
.link-arrow:hover { color: var(--blue-text); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--up:hover::after { transform: translateY(-3px); }

/* ---------- Chalk line ---------- */
.chalk { width: 100%; height: 24px; overflow: visible; color: var(--blue); }
.chalk__line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chalk__dust { fill: none; stroke: currentColor; stroke-width: 7; opacity: .14; vector-effect: non-scaling-stroke; filter: blur(2px); }
.chalk--rule { display: block; width: calc(100% - 2 * var(--gutter)); max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); height: 24px; box-sizing: content-box; }
.footer > .chalk--rule { margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .45s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 12, 14, .62), rgba(11, 12, 14, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-solid { background: rgba(11, 12, 14, .95); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav a, .header-phone {
  font-size: .9375rem; font-weight: 550; font-stretch: 95%; color: var(--galv); position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current='true'] { color: var(--plaster); }
.nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { color: var(--plaster); font-variant-numeric: tabular-nums; font-weight: 650; }
.header-phone:hover { color: var(--blue-text); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 2px; box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, .3); }
.icon-btn svg { width: 20px; height: 20px; fill: var(--plaster); }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 4px 0 12px; font-weight: 600; font-size: .9375rem; }
.menu-toggle__bars { width: 22px; height: 10px; position: relative; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 2px; background: var(--plaster); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:last-child { top: 4px; transform: rotate(-45deg); }
.header-call, .menu-toggle { display: none; }
@media (max-width: 1199px) { .header-phone { display: none; } }
@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .header-call, .menu-toggle { display: inline-flex; }
  .header-call { display: grid; }
  .brand img { height: 36px; }
  .header-actions { gap: 8px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night);
  padding: calc(var(--header-h) + 24px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 3.25rem); font-stretch: 66%; font-weight: 820; text-transform: uppercase; line-height: 1;
}
.menu__nav a span { font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--blue-text); letter-spacing: .06em; }
.menu__foot { display: grid; gap: 10px; color: var(--galv); }
.menu__phone { font-size: 2rem; font-stretch: 66%; font-weight: 820; color: var(--plaster); }
.menu-open { overflow: hidden; }

/* ---------- Hero: our jobs, full screen ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1300px; overflow: hidden; isolation: isolate; background: var(--night); }
.hero__media { position: absolute; inset: -3%; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-io); }
.hero__slide.is-on { opacity: 1; z-index: 1; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; background-size: cover; transform: scale(1.14); transition: transform 8s cubic-bezier(.25, .1, .25, 1); }
.hero__slide.is-on img { transform: scale(1.02); }
html:not(.motion) .hero__slide img { transform: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, .88) 0%, rgba(11, 12, 14, .6) 36%, rgba(11, 12, 14, .08) 70%),
    linear-gradient(180deg, rgba(11, 12, 14, .6) 0%, rgba(11, 12, 14, 0) 22%, rgba(11, 12, 14, 0) 60%, rgba(11, 12, 14, .88) 100%);
}
.hero__inner { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(32px, 8vh, 96px); }
.hero__eyebrow { color: var(--plaster); margin-bottom: clamp(14px, 2.4vh, 28px); }
.hero__title { margin-left: -.03em; font-size: clamp(3.3rem, .4rem + 6.4vw, 9.25rem); font-stretch: 62%; font-weight: 860; line-height: .84; letter-spacing: -.01em; text-transform: uppercase; }
.hero__line { display: block; }
@media (min-width: 768px) { .hero__line { white-space: nowrap; } }
.hero__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 44rem; margin-top: clamp(22px, 3.8vh, 44px); }
.hero__lead { max-width: 48ch; font-size: clamp(1.0625rem, .98rem + .45vw, 1.35rem); line-height: 1.45; color: rgba(242, 239, 233, .92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { position: absolute; right: var(--gutter); bottom: clamp(32px, 8vh, 96px); display: grid; justify-items: end; gap: 12px; }
.hero__cap { color: rgba(242, 239, 233, .88); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero__cap span { color: var(--blue-text); }
.hero__cap span::after { content: ' ·'; color: var(--steel); }
.hero__cap b { font-weight: 500; }
.hero__bars { display: flex; gap: 6px; }
.hero__bars i { position: relative; width: 34px; height: 2px; overflow: hidden; background: rgba(242, 239, 233, .25); }
.hero__bars i::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.hero__bars i.is-on::after { animation: herobar 5.6s linear forwards; }
@keyframes herobar { to { transform: scaleX(1); } }
html:not(.motion) .hero__bars { display: none; }
@media (max-width: 1023px) { .hero__meta { display: none; } }
@media (max-width: 767px) {
  .hero__title { font-size: clamp(2.9rem, 14vw, 5.5rem); }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 12, 14, .5) 0%, rgba(11, 12, 14, .12) 28%, rgba(11, 12, 14, .78) 60%, rgba(11, 12, 14, .96) 100%); }
}

/* ---------- What we do: the build in order, then the rest ---------- */
.what__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: end; margin-bottom: clamp(44px, 5vw, 80px); }
.what__head .section-head { grid-column: 1 / span 7; margin-bottom: 0; }
.what__lead { grid-column: 8 / -1; padding-bottom: 8px; }
.what__label { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--galv); }
.stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gap); margin-bottom: clamp(80px, 9vw, 136px); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.svc { display: flex; flex-direction: column; min-width: 0; }
.svc .card__gallery { margin-top: 0; aspect-ratio: 4 / 3; }
.svc__body { display: grid; align-content: start; gap: 10px; padding-top: 20px; }
.svc__num { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.svc__title { font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.9rem); font-stretch: 64%; font-weight: 840; line-height: .9; text-transform: uppercase; }
.svc__text { max-width: 46ch; color: var(--galv); }
.svc .card__caption { margin-top: 2px; }
@media (max-width: 1023px) {
  .what__head .section-head, .what__lead { grid-column: 1 / -1; }
  .stages, .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .stages, .extras { grid-template-columns: 1fr; }
}

/* ---------- About us ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); align-items: center; }
.about__text { grid-column: 1 / span 6; display: grid; gap: 22px; justify-items: start; }
.about__text h2 { max-width: 12ch; }
.about__text > p:not(.eyebrow):not(.lead) { max-width: 54ch; color: var(--galv); }
.about__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.facts { width: 100%; margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.fact { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.fact::before { content: ''; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--blue); }
.fact dt { font-size: clamp(1.3rem, 1rem + .8vw, 1.85rem); font-stretch: 66%; font-weight: 820; line-height: 1; text-transform: uppercase; }
.fact dd { margin-top: 8px; color: var(--galv); font-size: .9375rem; }
.about__photos { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.about__pic { margin: 0; display: flex; flex-direction: column; }
.about__pic picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--formply); }
.about__pic img { width: 100%; height: 100%; object-fit: cover; background-size: cover; }
.about__pic--tall { grid-row: span 2; }
.about__pic--tall picture { flex: 1; aspect-ratio: auto; }
.about__pic figcaption { margin-top: 10px; }
.about__pic figcaption span { color: var(--blue-text); }
.about__pic figcaption span::after { content: ' ·'; color: var(--steel); }
@media (max-width: 1023px) {
  .about__text, .about__photos { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .facts { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Work: every job on one grid ---------- */
.work__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.work__head .section-head { grid-column: 1 / span 7; margin-bottom: 0; }
.work__aside { grid-column: 8 / -1; display: grid; gap: 22px; justify-items: start; padding-bottom: 8px; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; min-width: 0; aspect-ratio: 4 / 5; }
.tile--a, .tile--b, .tile--y, .tile--k { grid-column: 1 / -1; }
.tile--b, .tile--k { aspect-ratio: 16 / 9; }
.tile__open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; isolation: isolate; text-align: left; color: var(--plaster); background: var(--formply); border-radius: 2px; }
.tile__media { position: absolute; inset: -6% 0; z-index: 0; }
.tile__shot, .tile__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.tile__shot img, .tile__video { width: 100%; height: 100%; object-fit: cover; background-size: cover; transition: transform 1.4s var(--ease); }
.tile__open:hover .tile__shot img, .tile__open:focus-visible .tile__shot img, .tile__open:hover .tile__video, .tile__open:focus-visible .tile__video { transform: scale(1.06); }
.tile__open::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, .5), rgba(11, 12, 14, 0) 24%),
    linear-gradient(0deg, rgba(11, 12, 14, .9), rgba(11, 12, 14, .5) 30%, rgba(11, 12, 14, 0) 60%);
}
.tile__open::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(11, 12, 14, .24); opacity: 0; transition: opacity .6s var(--ease); }
.tile__open:hover::after, .tile__open:focus-visible::after { opacity: 1; }
.tile__open:focus-visible { outline-offset: 4px; }
.tile__top { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: flex-start; gap: 10px; padding: clamp(10px, 1.2vw, 20px); }
.tile__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tile__tags span, .tile__badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 26px; padding: 0 9px; border-radius: 2px; white-space: nowrap;
  font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; line-height: 1; text-transform: uppercase;
}
.tile__tags span { box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .4); background: rgba(11, 12, 14, .2); }
.tile__badge { margin-left: auto; background: rgba(11, 12, 14, .68); }
.tile__badge::before { content: ''; width: 10px; height: 8px; border-radius: 1px; box-shadow: inset 0 0 0 1.5px var(--blue-text); }
.tile__badge--clip::before { display: none; }
.tile__badge--clip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.tile--clip.is-playing .tile__badge--clip i { animation: live 1.6s var(--ease-io) infinite; }
@keyframes live { 50% { opacity: .25; } }
.tile__body { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 8px; padding: clamp(12px, 1.5vw, 26px); }
.tile__where { color: rgba(242, 239, 233, .8); }
.tile__title { display: block; max-width: 22ch; font-size: clamp(.98rem, .82rem + .6vw, 1.5rem); font-stretch: 78%; font-weight: 780; line-height: 1.04; letter-spacing: -.008em; text-wrap: balance; }
.tile--xl .tile__title { max-width: 12ch; font-size: clamp(2rem, 1rem + 2.7vw, 3.9rem); font-stretch: 64%; font-weight: 840; line-height: .92; text-transform: uppercase; }
.tile__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.tile__more > span { display: grid; gap: 14px; min-height: 0; overflow: hidden; }
.tile__line { max-width: 44ch; padding-top: 4px; font-size: .9375rem; line-height: 1.5; color: rgba(242, 239, 233, .84); }
.tile__cta { display: inline-flex; gap: 8px; font-weight: 650; font-size: .9375rem; }
.tile__cta::after { content: '→'; transition: transform .35s var(--ease); }
.tile__open:hover .tile__more, .tile__open:focus-visible .tile__more, .tile--xl .tile__more { grid-template-rows: 1fr; }
.tile__open:hover .tile__cta::after, .tile__open:focus-visible .tile__cta::after { transform: translateX(4px); }
.tile--s .tile__more, .tile--s .tile__tags { display: none; }
.tile--s .tile__title { font-size: clamp(.98rem, .8rem + .45vw, 1.3rem); }
.work__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(24px, 2.6vw, 40px); border-top: 1px solid var(--line); }
.work__ask { max-width: 24ch; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.75rem); font-stretch: 66%; font-weight: 820; line-height: .95; text-transform: uppercase; }

.bento { perspective: 1400px; }
.tile__open { transform-style: preserve-3d; }
/* light catching the photo as it tilts toward the pointer */
.tile__sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(60% 60% at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%); }
.tile__open:hover .tile__sheen { opacity: 1; }
@media (max-width: 1023px) {
  .work__head .section-head, .work__aside { grid-column: 1 / -1; }
  .tile:not(.tile--xl):not(.tile--b):not(.tile--k) .tile__tags, .tile:not(.tile--xl) .tile__more { display: none; }
}
@media (min-width: 700px) {
  .bento { gap: var(--gap); }
  .tile { aspect-ratio: 1; }
  .tile--b, .tile--k { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* rows a little over half a column tall, so the shapes suit the photos: 2x2 ~16:9, 1x2 ~4:5, 1x3 ~9:16 */
    grid-auto-rows: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 3 * var(--gap)) / 4 * .56);
    grid-template-areas:
      "a a b b"
      "a a b b"
      "a a c d"
      "a a i d"
      "e e i d"
      "e e g h"
      "f f j j"
      "f f j j"
      "k k y y"
      "k k y y"
      "u n y y"
      "u o y y"
      "u o p p"
      "q r p p";
  }
  .tile { aspect-ratio: auto; grid-column: auto; }
  .tile--a { grid-area: a; } .tile--b { grid-area: b; } .tile--c { grid-area: c; } .tile--d { grid-area: d; } .tile--e { grid-area: e; }
  .tile--f { grid-area: f; } .tile--g { grid-area: g; } .tile--h { grid-area: h; } .tile--i { grid-area: i; } .tile--j { grid-area: j; }
  .tile--k { grid-area: k; } .tile--y { grid-area: y; } .tile--u { grid-area: u; } .tile--n { grid-area: n; } .tile--o { grid-area: o; }
  .tile--p { grid-area: p; } .tile--q { grid-area: q; } .tile--r { grid-area: r; }
  .tile--l .tile__title { font-size: clamp(1.375rem, .9rem + 1.05vw, 2.125rem); }
}

/* ---------- How it works: five steps, stacked like sheets of plans ---------- */
.how { background: var(--paper); color: var(--ink); isolation: isolate; }
.how::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 106, 173, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 106, 173, .1) 1px, transparent 1px),
    linear-gradient(rgba(0, 106, 173, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 106, 173, .05) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  background-position: center -1px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .3) 75%, #000);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .3) 75%, #000);
}
.how .eyebrow { color: var(--graphite); }
.how .eyebrow::before { background: var(--blue-deep); }
.how .lead { color: var(--graphite); }
.how :focus-visible { outline-color: var(--blue-deep); }
.how__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gap); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.how__head .section-head { grid-column: 1 / span 7; margin-bottom: 0; }
.how__aside { grid-column: 8 / -1; padding-bottom: 8px; }
/* every card gets the height of the tallest, so the stack lines up */
.how__deck { display: grid; gap: 20px; }
.hcard__inner {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 2px; background: #FBFAF7;
  box-shadow: 0 0 0 1px rgba(11, 12, 14, .1), 0 28px 56px -30px rgba(11, 12, 14, .42), 0 6px 16px -8px rgba(11, 12, 14, .16);
  transform-origin: 50% 0;
}
.hcard__text { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, min(3.4vw, 5.6svh), 60px); }
.hcard__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hcard__step { font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }
.hcard__ticks { display: flex; gap: 6px; }
.hcard__ticks i { width: clamp(14px, 1.6vw, 26px); height: 3px; background: rgba(11, 12, 14, .12); }
.hcard__ticks i.on { background: var(--blue-deep); }
.hcard__title { margin-top: 28px; max-width: 11ch; font-size: clamp(2.25rem, min(1.2rem + 3.4vw, 8.4svh), 5.25rem); font-stretch: 62%; font-weight: 840; line-height: .9; letter-spacing: -.002em; text-transform: uppercase; }
.hcard__body { margin-top: clamp(14px, 1.6vw, 24px); max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3rem); line-height: 1.5; color: var(--graphite); }
.hcard__extra { margin-top: clamp(20px, 2.4vw, 34px); }
.hcard__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hcard__chips li { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px rgba(11, 12, 14, .2); font-weight: 600; font-size: .9375rem; }
.hcard__chips li::before { content: ''; width: 7px; height: 7px; background: var(--blue-deep); transform: rotate(45deg); }
.hcard__next { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(11, 12, 14, .12); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-weight: 600; }
.hcard__text > :nth-last-child(2) { margin-bottom: 28px; }
.hcard__next span { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }
.hcard__next a { background: linear-gradient(var(--blue-deep), var(--blue-deep)) left bottom / 100% 1.5px no-repeat; padding-bottom: 2px; }
.hcard__next a:hover { color: var(--blue-deep); }
.hcard__fig { position: relative; order: -1; aspect-ratio: 16 / 10; overflow: hidden; background: var(--formply); }
.hcard__fig picture { position: absolute; inset: 0; }
.hcard__fig img { width: 100%; height: 100%; object-fit: cover; background-size: cover; }
.hcard__fig figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 7px 10px; border-radius: 2px; background: rgba(11, 12, 14, .74); color: var(--plaster); }
.hcard__fig figcaption span { color: var(--blue-text); }
.hcard__fig figcaption span::after { content: ' ·'; color: var(--steel); }
.hcard__shade { position: absolute; inset: 0; z-index: 3; background: var(--ink); opacity: 0; pointer-events: none; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .55s var(--ease); background: var(--blue-deep); }
.btn--ink:hover, .btn--ink:focus-visible { color: #fff; }
.btn--ink:hover::before, .btn--ink:focus-visible::before { transform: none; }
.btn--ink .btn__num { border-left-color: rgba(242, 239, 233, .35); }
@media (max-width: 1023px) {
  .how__head .section-head, .how__aside { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .how__deck { grid-auto-rows: 1fr; gap: clamp(28px, 6vh, 64px); }
  .hcard__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: clamp(440px, calc(100svh - var(--header-h) - 160px), 660px); }
  .hcard__fig { order: 0; aspect-ratio: auto; }
  .hcard__title { margin-top: auto; padding-top: 24px; }
}
/* stacked: each card sticks a little lower than the one before, so the edges show */
@media (min-width: 768px) and (min-height: 640px) {
  .hcard { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 12px); }
}

/* ---------- Where we've worked: the map full width, the list over it ---------- */
.areas { position: relative; background: var(--night); }
.areas__stage { position: relative; min-height: max(780px, 100svh); overflow: hidden; isolation: isolate; }
.areas .map { position: absolute; inset: 0; z-index: 0; }
.map__canvas { display: block; width: 100%; height: 100%; }
.areas .map__svg { position: absolute; right: 4%; top: 50%; width: min(62vw, 960px); height: auto; transform: translateY(-50%); }
.has-map3d .map__svg { display: none; }
.map__layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.areas__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, .94) 0%, rgba(11, 12, 14, .72) 28%, rgba(11, 12, 14, 0) 56%),
    linear-gradient(180deg, var(--night) 0%, rgba(11, 12, 14, 0) 14%, rgba(11, 12, 14, 0) 86%, var(--night) 100%);
}
.areas__wrap { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; padding-block: var(--section); pointer-events: none; }
.areas__panel {
  pointer-events: auto; width: min(34rem, 100%); display: grid; gap: 18px; justify-items: start; padding: clamp(24px, 2.6vw, 40px); border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 24, 28, .94), rgba(13, 15, 18, .92));
  box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .07), 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(0, 146, 238, .35);
}
.areas__panel h2 { max-width: 10ch; }
.areas__stat { font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--galv); }
.areas__stat b { margin-right: 8px; font-family: var(--font); font-size: 2.6rem; font-stretch: 62%; font-weight: 860; letter-spacing: 0; color: var(--plaster); vertical-align: -.14em; }
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); width: 100%; margin: 2px 0 6px; }
.region { position: relative; display: grid; align-content: start; gap: 4px; padding: 11px 8px 12px; border-top: 1px solid var(--line); cursor: default; }
.region::before { content: ''; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.region:hover::before { width: 100%; }
.region h3 { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); }
.region h3 span { margin-left: 6px; color: var(--steel); }
.region p { font-size: .8125rem; line-height: 1.45; color: var(--galv); transition: color .3s var(--ease); }
.region:hover p { color: var(--plaster); }
.areas__hint { position: absolute; right: var(--gutter); bottom: 30px; z-index: 2; color: rgba(242, 239, 233, .55); }
.map__tip--photo { padding: 0; width: 210px; overflow: hidden; border-radius: 4px; background: var(--ink); color: var(--plaster); box-shadow: 0 24px 48px -14px rgba(0, 0, 0, .85), 0 0 0 1px rgba(51, 166, 242, .55), 0 0 40px -10px rgba(0, 146, 238, .6); }
.map__tip--photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.map__tip--photo span { display: block; padding: 8px 10px 9px; }
@media (max-width: 1023px) {
  .areas__stage { min-height: 0; }
  .areas .map { position: relative; height: 64svh; }
  .areas__shade { bottom: auto; height: 64svh; background: linear-gradient(180deg, var(--night) 0%, rgba(11, 12, 14, 0) 16%, rgba(11, 12, 14, 0) 72%, var(--night) 100%); }
  .areas__wrap { min-height: 0; padding-block: 0 var(--section); }
  .areas__panel { width: 100%; }
  .areas__hint { display: none; }
}
@media (max-width: 499px) { .regions { grid-template-columns: 1fr; } }

/* ---------- The map's bits (flat fallback, labels over the 3D, suburb tip) ---------- */
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: none; stroke: #3A4149; stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: .001 10.999; }
.map__label { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; fill: var(--galv); }
.map__label--city { fill: var(--plaster); }
.map__label--water { fill: #4B525B; letter-spacing: .3em; font-size: 14px; }
.ring__halo { fill: rgba(0, 146, 238, .13); stroke: var(--blue); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ring__dot { fill: var(--blue-text); }
.map__flag {
  position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0;
  font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--plaster); text-shadow: 0 1px 10px rgba(0, 0, 0, .9);
}
.map__flag--water { color: #66707b; letter-spacing: .32em; }
.map__tip {
  position: absolute; z-index: 2; pointer-events: none; padding: 7px 10px; background: var(--plaster); color: var(--ink);
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity .2s var(--ease);
}
.map__tip.is-on { opacity: 1; }

/* ---------- Contact (daylight) ---------- */
.contact { background: var(--paper); color: var(--ink); }
.contact .eyebrow { color: var(--graphite); }
.contact .eyebrow::before { background: var(--blue-deep); }
.contact .lead { color: var(--graphite); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); align-items: start; }
.contact__intro { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: start; }
.contact__intro h2 { max-width: 10ch; }
.contact__label { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.contact__phone {
  font-size: clamp(3.25rem, 2rem + 5.6vw, 7.5rem); font-stretch: 62%; font-weight: 860; line-height: .85;
  font-variant-numeric: tabular-nums; letter-spacing: -.005em; justify-self: start; transition: color .25s var(--ease);
}
.contact__phone:hover { color: var(--blue-deep); }
.chalk--phone { color: var(--blue-deep); margin-top: -6px; max-width: 520px; }
.steps { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid #CFCAC1; color: var(--graphite); }
.steps li:last-child { border-bottom: 1px solid #CFCAC1; }
.steps span { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: var(--blue-deep); padding-top: .3em; }
.contact__links { display: grid; gap: 16px; margin-top: 8px; }
.contact__links li { display: grid; gap: 4px; }
.contact__links a { font-weight: 600; font-size: 1.0625rem; width: fit-content; background: linear-gradient(var(--blue-deep), var(--blue-deep)) left bottom / 100% 1.5px no-repeat; padding-bottom: 2px; }
.contact__links a:hover { color: var(--blue-deep); }
.form { grid-column: 7 / -1; display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); padding: 0; }
.field legend { margin-bottom: 12px; }
.field__opt { text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 0; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1.5px solid #8E949C; border-radius: 0; font-size: 1.0625rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0C0E' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat; padding-right: 28px; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #6A7078; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue-deep); box-shadow: 0 1.5px 0 var(--blue-deep); }
.field__error { display: none; font-size: .875rem; color: var(--error-deep); }
.field.is-invalid input { border-bottom-color: var(--error-deep); }
.field.is-invalid .field__error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px #8E949C; font-weight: 550; font-size: .9375rem; transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip span::before { content: ''; width: 8px; height: 8px; border-radius: 1px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .2s; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span::before { background: var(--blue); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-deep); outline-offset: 2px; }
.form__actions { display: grid; gap: 12px; margin-top: 8px; }
.form .btn--blue { background: var(--ink); color: var(--paper); }
.form .btn--blue:hover { background: var(--blue-deep); color: #fff; }
.form__note { font-size: .875rem; color: var(--graphite); }
.btn--plain { min-height: 44px; padding: 0; justify-content: flex-start; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11, 12, 14, .35); text-underline-offset: 4px; }
.btn--plain:hover { color: var(--blue-deep); text-decoration-color: currentColor; }
.form__status { font-weight: 600; color: var(--ink); min-height: 1.5em; }
.form.is-sent .form__status { padding: 16px 18px; background: #E3EEF7; box-shadow: inset 3px 0 0 var(--blue-deep); }
@media (max-width: 1023px) {
  .contact__intro, .form { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }

/* the job sheet: a form on paper, on the plan table */
.contact { isolation: isolate; }
.contact::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 106, 173, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 106, 173, .1) 1px, transparent 1px),
    linear-gradient(rgba(0, 106, 173, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 106, 173, .05) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .15));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .15));
}
.contact__call { display: grid; gap: 10px; margin-top: clamp(16px, 3vw, 40px); }
.contact__links li > span:not(.contact__label) { color: var(--graphite); max-width: 34ch; }
.sheet {
  grid-column: 6 / -1; display: block; min-width: 0; overflow: hidden; border-radius: 2px; background: #FBFAF7;
  box-shadow: 0 0 0 1px rgba(11, 12, 14, .1), 0 44px 88px -44px rgba(11, 12, 14, .5), 0 8px 20px -10px rgba(11, 12, 14, .18);
}
.sheet__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 16px clamp(20px, 2.6vw, 36px); background: var(--ink); color: var(--paper); }
.sheet__logo { width: 88px; height: auto; }
.sheet__title { font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding-left: 18px; border-left: 1px solid rgba(242, 239, 233, .25); }
.sheet__date { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--galv); }
.sheet__date b { margin-left: 6px; font-weight: 500; color: var(--paper); }
.sheet__body { display: grid; gap: 34px; padding: clamp(22px, 3vw, 44px); }
.sheet__part { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet__part > :not(legend) + :not(legend) { margin-top: 24px; }
.sheet__step {
  float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 0 0 10px; margin: 0 0 22px;
  border-bottom: 1px solid rgba(11, 12, 14, .14); font-size: 1.125rem; font-weight: 700; font-stretch: 86%; color: var(--ink);
}
.sheet__step + * { clear: both; }
.sheet__step span { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--blue-deep); }
.chips--radio .chip span::before { border-radius: 50%; }
.sheet .form__actions { margin-top: 0; }
@media (max-width: 1023px) {
  .sheet { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .sheet__head { grid-template-columns: auto 1fr; }
  .sheet__date { display: none; }
}

/* ---------- Footer ---------- */
.footer { padding-block: clamp(56px, 7vw, 112px) max(32px, env(safe-area-inset-bottom)); background: var(--night); color: var(--galv); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); }
.footer__brand { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: start; }
.footer__brand img { width: 168px; }
.footer__brand p { max-width: 34ch; }
.footer__col { grid-column: span 3; display: grid; gap: 10px; align-content: start; }
.footer__col:last-child { grid-column: 10 / span 3; }
.footer__col a { color: var(--plaster); width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--blue-text); }
.footer__label { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.footer__base { margin-top: clamp(56px, 6vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .875rem; }
.footer__base .link-arrow { color: var(--plaster); }
.footer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.motion-toggle { min-height: 44px; font-size: .875rem; color: var(--galv); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.motion-toggle:hover { color: var(--plaster); text-decoration-color: currentColor; }
@media (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: span 6; }
}
@media (max-width: 767px) { .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media (max-width: 599px) { .footer__col, .footer__col:last-child { grid-column: 1 / -1; } }
.footer__col a { overflow-wrap: anywhere; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom)); gap: 8px; background: rgba(11, 12, 14, .97);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .action-bar a { min-height: 48px; display: grid; place-items: center; font-weight: 700; border-radius: 2px; }
  .action-bar__call { background: var(--blue); color: var(--ink); }
  .action-bar__consult { box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, .4); }
  .show-bar .action-bar { transform: none; }
  .menu-open .action-bar { transform: translateY(110%); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(11, 12, 14, .97); color: var(--plaster); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lb-in .35s var(--ease); }
.lightbox::backdrop { background: rgba(11, 12, 14, .8); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__stage { display: grid; place-items: center; padding: 72px var(--gutter) 16px; min-height: 0; overflow: hidden; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 196px); width: auto; height: auto; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lightbox__img.is-loaded { opacity: 1; transform: none; }
.lightbox__bar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 24px; padding: 16px var(--gutter) max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lightbox__caption { color: var(--plaster); }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__nav button, .lightbox__close { width: 48px; height: 48px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(242, 239, 233, .3); border-radius: 2px; transition: background-color .2s, box-shadow .2s; }
.lightbox__nav button:hover, .lightbox__close:hover { background: var(--plaster); }
.lightbox__nav button:hover svg, .lightbox__close:hover svg { stroke: var(--ink); }
.lightbox svg { width: 20px; height: 20px; fill: none; stroke: var(--plaster); stroke-width: 1.8; }
.lightbox__close { position: absolute; top: 14px; right: var(--gutter); }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { display: none; }
@media (max-width: 599px) {
  .lightbox__bar { grid-template-columns: 1fr auto; }
  .lightbox__caption { grid-column: 1 / -1; }
}
.is-locked { overflow: hidden; }

/* ---------- Motion states (only when JS runs and motion is allowed) ---------- */


.js.motion .ring { opacity: 0; }
.js.motion .hero__title, .js.motion .hero__eyebrow, .js.motion .hero__foot > * { visibility: hidden; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .menu, .action-bar, .lightbox, .hero__shade, .chalk { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- What we do: their real photos, cycling ---------- */
.card__gallery { display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; margin-top: 22px; overflow: hidden; background: var(--formply); cursor: zoom-in; }
.card__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.card__shot.is-on { opacity: 1; z-index: 1; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; background-size: cover; transform: scale(1.04); transition: transform 3.2s linear; }
.card__shot.is-on img { transform: scale(1); }
.card__dots { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; gap: 5px; }
.card__dots i { width: 16px; height: 2px; background: rgba(255, 255, 255, .45); transition: background-color .3s var(--ease), width .3s var(--ease); }
.card__dots i.is-on { width: 26px; background: var(--blue); }
.card__gallery::after {
  content: 'Open'; position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 6px 9px; background: rgba(11, 12, 14, .78);
  font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--plaster);
  opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card__gallery:hover::after, .card__gallery:focus-visible::after { opacity: 1; transform: none; }
.card__caption { margin-top: 10px; color: var(--galv); }
.card__real { color: var(--blue-text); }
.card__real::after { content: ' ·'; color: var(--steel); }

/* ---------- Cursor over the work grid ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
.cursor__dot {
  position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--ink); font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transform: scale(0); transition: transform .45s var(--ease);
}
.cursor.is-on .cursor__dot { transform: scale(1); }
.has-cursor .tile__open, .has-cursor .card__gallery { cursor: none; }
.has-cursor .card__gallery::after { display: none; }

/* ---------- Lightbox clips ---------- */
.lightbox__video { width: auto; height: auto; max-width: min(100%, 1400px); max-height: calc(100svh - 196px); object-fit: contain; background: transparent; }
.lightbox__video[hidden], .lightbox__img[hidden], .lightbox__link[hidden] { display: none; }
@media (min-width: 600px) { .lightbox__bar { grid-template-columns: 1fr auto auto auto; } }
.lightbox__link { font-size: .9375rem; }
@media (max-width: 599px) { .lightbox__link { grid-column: 1 / -1; justify-self: start; } }

/* phones and tablets: the contact intro and the job sheet stack in one column */
@media (max-width: 1023px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .contact__intro, .sheet { grid-column: 1 / -1; } }
.contact { overflow-x: clip; }

/* ---------- Polish: cards with a surface, 3D on hover, glowing buttons, a bit of grain and light ---------- */
/* a faint grain over everything, like a print */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .05;
  background: url(../img/grain.png) 0 0 / 128px 128px repeat;
}
/* soft blue light in the dark sections, so the black has some depth */
.what { background: radial-gradient(55% 45% at 90% 0%, rgba(0, 146, 238, .09), rgba(0, 146, 238, 0) 70%), var(--night); }
.work { background: radial-gradient(50% 40% at 5% 8%, rgba(0, 146, 238, .07), rgba(0, 146, 238, 0) 70%), var(--night); }
.about { background: radial-gradient(45% 50% at 100% 60%, rgba(0, 146, 238, .08), rgba(0, 146, 238, 0) 70%), var(--night); }

/* the stage and service cards get a raised surface, so they read as cards when they tilt */
.svc {
  position: relative; padding: 12px 12px 22px; border-radius: 6px;
  background: linear-gradient(180deg, #15181c, #0f1114);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .06), 0 24px 48px -32px rgba(0, 0, 0, .9);
  transition: box-shadow .5s var(--ease);
}
.svc .card__gallery { border-radius: 4px; }
.svc__body { padding: 20px 8px 0; }
.svc .svc__title { transition: color .35s var(--ease); }
.svc:hover .svc__title { color: var(--blue-text); }
.svc .card__shot img { transition: transform 1.2s var(--ease); }
.svc:hover .card__shot.is-on img { transform: scale(1.06); }
.svc.is-tilting { box-shadow: inset 0 0 0 1px rgba(51, 166, 242, .45), 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 50px -18px rgba(0, 146, 238, .5); }
.tile__open, .about__pic picture { border-radius: 4px; }
.about__pic picture { position: relative; }

/* 3D: the card leans toward the pointer; on the service cards the photo and words sit at different depths */
.is-3d { transform-style: preserve-3d; will-change: transform; }
.svc.is-3d .card__gallery, .svc.is-3d .svc__body { transition: transform .6s var(--ease); }
.svc.is-tilting .card__gallery { transform: translateZ(34px); }
.svc.is-tilting .svc__body { transform: translateZ(20px); }
.glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%);
  transition: opacity .45s var(--ease);
}
.is-tilting .glare { opacity: 1; }
.tile__open.is-tilting { box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(51, 166, 242, .4), 0 0 46px -16px rgba(0, 146, 238, .55); }
.about__pic.is-tilting picture { box-shadow: 0 36px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(51, 166, 242, .4); }

/* buttons: the blue ones glow, and a sheen runs across on hover */
.btn--blue { box-shadow: 0 10px 30px -12px rgba(0, 146, 238, .6); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .45s var(--ease), transform .25s var(--ease); }
.btn--blue:hover, .btn--blue:focus-visible { box-shadow: 0 0 0 4px rgba(0, 146, 238, .2), 0 16px 46px -10px rgba(0, 146, 238, .9), 0 0 70px -10px rgba(51, 166, 242, .7); }
.btn--blue::after, .btn--ink::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn--blue:hover::after, .btn--blue:focus-visible::after, .btn--ink:hover::after, .btn--ink:focus-visible::after { transform: translateX(130%); }
.btn--line:hover, .btn--line:focus-visible { box-shadow: inset 0 0 0 1.5px var(--plaster), 0 0 34px -6px rgba(242, 239, 233, .4); }
.btn--ink { transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .45s var(--ease); }
.btn--ink:hover, .btn--ink:focus-visible { box-shadow: 0 16px 44px -12px rgba(0, 106, 173, .75); }
/* the main call in the hero breathes, slowly */
.motion .hero__ctas .btn--blue { animation: breathe 3.6s var(--ease-io) infinite; }
.motion .hero__ctas .btn--blue:hover { animation: none; }
@keyframes breathe { 50% { box-shadow: 0 12px 44px -8px rgba(0, 146, 238, .9), 0 0 60px -14px rgba(51, 166, 242, .7); } }

/* links and the nav */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow { transition: background-size .45s var(--ease), color .25s var(--ease), text-shadow .45s var(--ease); }
.link-arrow:hover { text-shadow: 0 0 18px rgba(51, 166, 242, .55); }
.chip span { transition: background-color .2s, color .2s, box-shadow .2s, transform .25s var(--ease); }
.chip:hover span { transform: translateY(-2px); }
.region { border-radius: 2px; transition: background-color .35s var(--ease); }
.region:hover { background: linear-gradient(90deg, rgba(0, 146, 238, .07), rgba(0, 146, 238, 0)); }
.map__flag--base { padding: 5px 8px; border-radius: 2px; background: var(--blue); color: var(--ink); text-shadow: none; box-shadow: 0 0 24px -4px rgba(0, 146, 238, .8); }

/* phones stack the How it works cards too: a shorter photo and tighter text, so each card fits on screen */
@media (max-width: 767px) and (min-height: 700px) {
  .how__deck { grid-auto-rows: 1fr; gap: 24px; }
  .hcard { position: sticky; top: calc(var(--header-h) + 10px + var(--i) * 8px); }
  .hcard__fig { aspect-ratio: 2 / 1; }
  .hcard__text { padding: 18px 18px 16px; }
  .hcard__title { margin-top: 14px; font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hcard__body { margin-top: 10px; font-size: 1rem; line-height: 1.45; }
  .hcard__extra { margin-top: 14px; }
  .hcard__text > :nth-last-child(2) { margin-bottom: 14px; }
  .hcard__next { padding-top: 12px; }
}
