/* ==========================================================================
   Rudra Sthapatya — Design System & Site Styles
   Vanilla CSS · no build step · shared by every page
   --------------------------------------------------------------------------
    1. Tokens                 9. Home hero & page hero
    2. Reset & base          10. Shared section patterns
    3. Typography            11. Footer
    4. Layout                12. Overlays (loader, lightbox, floating actions)
    5. Buttons & links       13. Motion & reveal
    6. Components            14. Utilities
    7. Media & badges        15. Responsive
    8. Header & navigation
   ========================================================================== */

/* 1. Tokens ================================================================ */
:root {
  /* Brand */
  --red: #E31E24;            /* brand red — fills, large text, accents */
  --red-hover: #C9171D;
  --red-text: #CF1A20;       /* small red text on light backgrounds (AA) */
  --red-on-dark: #FF5A5F;    /* small red text on dark backgrounds (AA) */
  --red-tint: #FCEBEB;

  /* Warm neutrals (from the company profile) */
  --ink: #131315;
  --ink-2: #2B2B30;
  --body: #4A4950;
  --muted: #6F6B64;
  --line: #E7E2D9;
  --line-strong: #D6CFC2;
  --sand: #F6F3EE;
  --sand-2: #EEE9E1;
  --paper: #FFFFFF;

  /* Night (dark sections) */
  --night: #141416;
  --night-2: #1B1B1E;
  --night-3: #242428;
  --night-line: rgba(255, 255, 255, .12);
  --night-text: rgba(255, 255, 255, .74);
  --night-muted: rgba(255, 255, 255, .56);

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.75rem, 1.35rem + 5.6vw, 6.75rem);
  --fs-h1: clamp(2.5rem, 1.45rem + 4.1vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.75rem);
  --fs-h3: clamp(1.3rem, 1.12rem + .75vw, 1.75rem);
  --fs-h4: 1.1875rem;
  --fs-lead: clamp(1.125rem, 1.03rem + .42vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --fs-eyebrow: .75rem;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 10vw, 156px);
  --gap: clamp(20px, 2.4vw, 32px);
  --header-h: 84px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(19, 19, 21, .06), 0 2px 10px rgba(19, 19, 21, .04);
  --shadow: 0 18px 40px -18px rgba(19, 19, 21, .22);
  --shadow-lg: 0 30px 70px -24px rgba(19, 19, 21, .38);
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
}

/* 2. Reset & base ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
  overflow-x: clip;
}

img, picture, video, svg { 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; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
p { margin: 0; text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.section--night :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible { outline-color: #fff; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

/* 3. Typography ============================================================ */
.display { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.04em; }
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.032em; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.022em; }
.h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -.012em; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-muted { color: var(--muted); }
.text-ink { color: var(--ink); }
.text-red { color: var(--red); }
.text-balance { text-wrap: balance; }
.measure { max-width: 62ch; }

/* Section label — mirrors the profile's "04 · WHAT WE DO" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light,
.section--night .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.site-footer .eyebrow { color: var(--red-on-dark); }

/* Signature short red rule (profile motif) */
.rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  border: 0;
  margin: 0;
}

.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 600; }

/* 4. Layout ================================================================ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(920px + var(--gutter) * 2); }
.container--wide { max-width: calc(1560px + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--sand { background: var(--sand); }
.section--line { border-top: 1px solid var(--line); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h1,
.section--night h2,
.section--night h3,
.section--night h4 { color: #fff; }
.section--night .lead { color: rgba(255, 255, 255, .82); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.stack > * + * { margin-top: var(--stack, 1.25rem); }

/* Section header */
.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin-bottom: clamp(44px, 5.5vw, 80px);
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(24px, 5vw, 88px);
}
.section-head--split > div { display: grid; gap: 1.25rem; }
.section-head--split .section-head__aside { display: grid; gap: 1.5rem; justify-items: start; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Architectural column lines (decorative) */
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.grid-lines span { width: 1px; height: 100%; background: rgba(255, 255, 255, .06); }
.grid-lines--light span { background: rgba(19, 19, 21, .05); }

/* 5. Buttons & links ======================================================= */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-border: transparent;
  --btn-sweep: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 54px;
  padding: 0 1.65rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .005em;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--btn-sweep);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--dark { --btn-bg: var(--ink); --btn-sweep: var(--red); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-sweep: var(--red); }
.btn--light:hover { color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); --btn-sweep: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .38); --btn-sweep: #fff; }
.btn--ghost-light:hover { color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .875rem; gap: .55rem; }
.btn--lg { min-height: 62px; padding: 0 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding-block: .3rem;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1.5px; color: var(--red-text); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--night .link-arrow { color: #fff; }
.section--night .link-arrow:hover { color: var(--red-on-dark); }

.icon-btn {
  width: 52px;
  height: 52px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .3s;
}
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .32; cursor: default; }
.section--night .icon-btn { border-color: rgba(255, 255, 255, .22); color: #fff; }
.section--night .icon-btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--ink); }

/* 6. Components ============================================================ */

/* Cards — values, services, quality pillars */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(26px, 2.6vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .4s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--red);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.card__icon .icon { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--red); color: #fff; }
.card__num {
  position: absolute;
  top: clamp(24px, 2.4vw, 34px);
  right: clamp(24px, 2.6vw, 36px);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.card__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; }
.card__text { font-size: .975rem; color: var(--body); }
.card .dash-list { margin-top: .6rem; font-size: .95rem; }
.section--sand .card { background: #fff; }
.section--night .card { background: var(--night-2); border-color: var(--night-line); }
.section--night .card:hover { border-color: rgba(255, 255, 255, .24); box-shadow: none; }
.section--night .card__icon { background: var(--night-3); color: var(--red-on-dark); }
.section--night .card__text { color: var(--night-text); }
.section--night .card__num { color: var(--night-muted); }

/* Callout — beige panel with red left border (profile motif) */
.callout {
  position: relative;
  display: grid;
  gap: .75rem;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.2vw, 44px);
  background: var(--sand);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-text);
}
.callout__text { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.section--sand .callout { background: #fff; }
.section--night .callout { background: var(--night-2); }
.section--night .callout__label { color: var(--red-on-dark); }
.section--night .callout__text { color: rgba(255, 255, 255, .86); }

/* Scope card — red top border on sand (profile "Scope of Work") */
.scope-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--sand);
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
}
.scope-card__title { font-size: 1.1875rem; letter-spacing: -.015em; }
.section--sand .scope-card { background: #fff; }

/* Lists */
.dash-list { display: grid; gap: .55rem; }
.dash-list li { position: relative; padding-left: 1.45rem; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: .85rem;
  height: 1.5px;
  background: var(--red);
}
.dash-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.section--night .dash-list li { color: rgba(255, 255, 255, .84); }

.check-list { display: grid; gap: .9rem; }
.check-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .85rem; align-items: start; }
.check-list .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  margin-top: .05em;
}
.section--night .check-list .icon { background: rgba(227, 30, 36, .16); color: var(--red-on-dark); }

/* Chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  padding: .5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  background: transparent;
}
.chip .icon { width: 16px; height: 16px; color: var(--red); }
.section--night .chip { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .86); }
.section--night .chip .icon { color: var(--red-on-dark); }

/* Stats — mirrors the profile's red-number stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .7rem;
  padding: clamp(24px, 2.6vw, 34px) clamp(16px, 2vw, 28px) 0 0;
}
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line-strong); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.7rem + 3.2vw, 4.75rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__value small { font-size: .42em; letter-spacing: -.01em; color: var(--red); margin-left: .12em; }
.stat__label { max-width: 24ch; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.stats--dark { border-color: var(--night-line); }
.stats--dark .stat + .stat { border-color: var(--night-line); }
.stats--dark .stat__value { color: var(--red); }
.stats--dark .stat__label { color: var(--night-muted); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; }

/* Meta grid (label / value pairs) */
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.meta-grid > div { padding-top: 14px; border-top: 1px solid var(--line-strong); }
.meta-grid dt { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.meta-grid dd { margin-top: .4rem; font-weight: 500; color: var(--ink); }
.section--night .meta-grid > div { border-color: var(--night-line); }
.section--night .meta-grid dt { color: var(--night-muted); }
.section--night .meta-grid dd { color: #fff; }

/* Label above small lists */
.label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--night .label { color: var(--night-muted); }

/* Quote */
.quote { position: relative; display: grid; gap: 1.75rem; }
.quote__mark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: .6;
  color: var(--red);
  height: .45em;
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.028em;
  color: var(--ink);
  text-wrap: balance;
}
.quote__text em { font-style: normal; color: var(--red); }
.quote__cite { display: flex; align-items: center; gap: 1rem; font-style: normal; font-size: .9375rem; color: var(--muted); }
.quote__cite strong { color: var(--ink); font-weight: 600; }
.quote__cite::before { content: ""; width: 40px; height: 1.5px; background: var(--red); }
.section--night .quote__text { color: #fff; }
.section--night .quote__cite strong { color: #fff; }
.section--night .quote__cite { color: var(--night-muted); }

/* Accordion (native <details>) */
.accordion { border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line-strong); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(20px, 2.2vw, 28px) 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, .98rem + .45vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--red-text); }
.accordion__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.accordion__icon .icon { width: 16px; height: 16px; }
.accordion details[open] .accordion__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.accordion__body { max-width: 72ch; padding: 0 0 clamp(22px, 2.4vw, 30px); color: var(--body); }
.accordion details[open] .accordion__body { animation: fade-up .5s var(--ease-out); }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8125rem; color: rgba(255, 255, 255, .62); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .34); }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* Sticky sub-navigation (in-page index) */
.subnav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: .25rem; }
.subnav a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s;
}
.subnav a::before { content: ""; width: 14px; height: 1.5px; background: currentColor; transition: width .4s var(--ease), background-color .3s; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="true"] { color: var(--ink); }
.subnav a[aria-current="true"]::before { width: 32px; background: var(--red); }

/* Filter buttons */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn__count { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-btn[aria-pressed="true"] .filter-btn__count { color: rgba(255, 255, 255, .62); }

/* Forms */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field__label .req { color: var(--red-text); margin-left: 2px; }
.field__label .opt { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field__control {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.field__control::placeholder { color: #9a958c; }
.field__control:hover { border-color: #bdb5a6; }
.field__control:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227, 30, 36, .16); }
.field__control[aria-invalid="true"] { border-color: var(--red-text); box-shadow: 0 0 0 3px rgba(227, 30, 36, .1); }
textarea.field__control { min-height: 150px; resize: vertical; }
select.field__control {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23131315' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__error { display: flex; gap: .4rem; align-items: center; font-size: .8125rem; font-weight: 500; color: var(--red-text); }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--red); cursor: pointer; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: .8125rem; color: var(--muted); max-width: 46ch; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.form-success {
  display: grid;
  gap: 1rem;
  padding: clamp(28px, 3vw, 40px);
  background: var(--sand);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-success:focus { outline: none; }
.form-success__title { font-size: var(--fs-h3); }

/* Contact cards */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.contact-item__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--red); }
.contact-item__icon .icon { width: 20px; height: 20px; }
.contact-item__body { display: grid; gap: .25rem; min-width: 0; }
.contact-item__body a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; transition: color .3s; }
.contact-item__body a:hover { color: var(--red-text); }
.section--night .contact-list,
.section--night .contact-item { border-color: var(--night-line); }
.section--night .contact-item__icon { background: var(--night-3); color: var(--red-on-dark); }
.section--night .contact-item__body a { color: #fff; }

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .5rem;
  padding: .2rem .5rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .3s, background-color .3s;
}
.copy-btn .icon { width: 14px; height: 14px; }
.copy-btn:hover { color: var(--ink); background: var(--sand); }
.copy-btn.is-copied { color: #1d7a3f; }

/* Map */
.map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(19, 19, 21, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(19, 19, 21, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--sand-2);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: .9rem; }
.map.is-loaded .map__placeholder { display: none; }

/* Credentials */
.credentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.credential { display: grid; gap: .35rem; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.credential__label { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.credential__value { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); overflow-wrap: anywhere; }

/* 7. Media & badges ======================================================= */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
  isolation: isolate;
}
.media > img,
.media > picture > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.media--zoom:hover > img { transform: scale(1.045); }
.section--night .media { background: var(--night-3); }

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 9px;
  font-size: .6563rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.badge--3d::before { background: var(--red); }
.badge--wip::before { background: #E39A00; }
.badge--static { position: static; }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 18px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(0deg, rgba(12, 12, 14, .78), rgba(12, 12, 14, 0));
}

/* 8. Header & navigation =================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .55s var(--ease);
}
.site-header.is-scrolled,
.site-header--solid {
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); }

.brand { position: relative; display: block; flex: none; width: 128px; }
.brand img { width: 100%; height: auto; transition: opacity .45s var(--ease); }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled .brand__logo--dark,
.site-header--solid .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .brand__logo--light,
.site-header--solid .brand__logo--light { opacity: 0; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.5rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .6rem 0;
  font-size: .9375rem;
  font-weight: 500;
  opacity: .88;
  transition: opacity .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .3rem;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current] { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left center; }

.site-header__actions { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 1.5rem); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone .icon {
  width: 34px;
  height: 34px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .9;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.menu-toggle__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: currentColor;
  transition: transform .5s var(--ease);
}
.menu-toggle__bar:nth-child(1) { transform: translateY(-4px); }
.menu-toggle__bar:nth-child(2) { transform: translateY(4px); }

/* Menu open state: header sits on the dark overlay */
.menu-open .site-header { color: #fff; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .site-header .brand__logo--light { opacity: 1; }
.menu-open .site-header .brand__logo--dark { opacity: 0; }
.menu-open .site-header__progress { opacity: 0; }
.menu-open .menu-toggle__bar:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { transform: rotate(-45deg); }
.menu-open body { overflow: hidden; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  overflow-y: auto;
  color: #fff;
  background: var(--night);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease-in-out), visibility 0s; }
.mobile-menu__list { display: grid; gap: .15rem; }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .3rem 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #fff;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), color .3s;
  transition-delay: calc(.18s + var(--i, 0) * .06s);
}
.mobile-menu__link small { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--red-on-dark); transform: translateY(-.9em); }
.mobile-menu__link:hover,
.mobile-menu__link[aria-current] { color: var(--red-on-dark); }
.menu-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu__foot {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--night-line);
  opacity: 0;
  transition: opacity .6s var(--ease) .45s;
}
.menu-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__contact { display: grid; gap: .5rem; font-size: 1rem; color: var(--night-text); }
.mobile-menu__contact a:hover { color: #fff; }

/* 9. Home hero & page hero ================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(700px, 100svh);
  overflow: hidden;
  color: #fff;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 9s cubic-bezier(.2, .55, .3, 1);
}
.hero__slide.is-active img { transform: scale(1.0); }
.js:not(.is-loaded) .hero__slide.is-active img { transform: scale(1.14); transition: none; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .86) 0%, rgba(11, 11, 13, .62) 38%, rgba(11, 11, 13, .2) 72%, rgba(11, 11, 13, .1) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, 0) 42%),
    linear-gradient(180deg, rgba(11, 11, 13, .6) 0%, rgba(11, 11, 13, 0) 24%);
}
.hero .grid-lines { z-index: -1; }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(44px, 6.5vh, 80px); }
.hero__title { margin-top: 1.6rem; max-width: 18ch; font-size: var(--fs-hero); line-height: .98; letter-spacing: -.042em; color: #fff; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__lead { margin-top: 1.75rem; max-width: 600px; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .84); }
.hero__actions { margin-top: 2.4rem; }

.hero__bar { position: relative; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__bar-inner {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  gap: 1rem clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: 1.4rem 1.6rem;
}
.hero__meta dt { margin-bottom: .35rem; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .56); }
.hero__meta dd { font-size: .9375rem; color: #fff; }
.hero__controls { grid-column: -2 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; }
.hero__caption { display: grid; gap: .2rem; min-width: 0; text-align: right; font-size: .875rem; line-height: 1.3; color: #fff; }
.hero__tag { font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red-on-dark); }
.hero__caption-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.hero__count { font-size: .875rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.hero__count strong { color: #fff; font-weight: 600; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { position: relative; width: 40px; height: 28px; }
.hero__dot::before,
.hero__dot-fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.hero__dot::before { background: rgba(255, 255, 255, .26); }
.hero__dot-fill { background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero__dot.is-active .hero__dot-fill { animation: slide-progress var(--interval, 7000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
.hero__toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; transition: background-color .3s, color .3s; }
.hero__toggle:hover { background: #fff; color: var(--ink); }
.hero__toggle .icon { width: 14px; height: 14px; }
.hero__toggle .icon-play { display: none; }
.hero.is-paused .hero__toggle .icon-play { display: block; }
.hero.is-paused .hero__toggle .icon-pause { display: none; }
.hero.is-idle .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
.hero.is-static .hero__dot.is-active .hero__dot-fill { animation: none; transform: scaleX(1); }
.hero__tag { transition: opacity .4s; }
.hero__caption.is-swapping .hero__tag,
.hero__caption.is-swapping .hero__caption-text { opacity: 0; }
.hero__dot:focus-visible { outline-offset: 2px; }

/* Headline line reveal (spans authored in markup: .line > span) */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
.js .line > span { transform: translateY(108%); transition: transform 1.15s var(--ease-out); transition-delay: var(--d, 0s); }
.js.is-loaded .line > span { transform: none; }
.js .hero-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, .3s); }
.js.is-loaded .hero-fade { opacity: 1; transform: none; }

/* Inner page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 80vh, 780px);
  overflow: hidden;
  color: #fff;
  background: var(--night);
}
.page-hero--compact { min-height: clamp(460px, 64vh, 600px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.2s var(--ease-out); }
.js:not(.is-loaded) .page-hero__media img { transform: scale(1.14); transition: none; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .88) 0%, rgba(11, 11, 13, .62) 46%, rgba(11, 11, 13, .22) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .72) 0%, rgba(11, 11, 13, 0) 52%),
    linear-gradient(180deg, rgba(11, 11, 13, .62) 0%, rgba(11, 11, 13, 0) 26%);
}
.page-hero .grid-lines { z-index: -1; }
.page-hero__inner { position: relative; width: 100%; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(52px, 7vw, 100px); }
.page-hero .eyebrow { margin-top: 1.75rem; }
.page-hero__title { margin-top: 1.25rem; max-width: 15ch; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.038em; color: #fff; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__lead { margin-top: 1.5rem; max-width: 640px; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .82); }
.page-hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(52px, 7vw, 100px);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
}
.page-hero__caption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* 10. Shared section patterns ============================================= */

/* — Intro statement (home) — */
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
.intro__label { padding-top: .6rem; }
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.02rem + 2.35vw, 3.1rem);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -.026em;
  color: var(--ink);
  text-wrap: pretty;
}
.statement em { font-style: normal; color: var(--red); }
.statement .w { transition: color .45s ease; }
.js .statement[data-highlight] .w { color: rgba(19, 19, 21, .14); }
.js .statement[data-highlight] em .w { color: rgba(227, 30, 36, .22); }
.js .statement[data-highlight] .w.is-lit { color: var(--ink); }
.js .statement[data-highlight] em .w.is-lit { color: var(--red); }
.intro__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; max-width: 940px; margin-top: clamp(32px, 4vw, 48px); }
.intro__media { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; margin-top: clamp(56px, 7vw, 104px); }
.intro__media-a { grid-column: 1 / span 7; aspect-ratio: 16 / 11; }
.intro__media-b { grid-column: 8 / span 5; grid-row: 1 / span 2; aspect-ratio: 4 / 5; margin-top: clamp(48px, 9vw, 140px); }
/* rows: auto + 1fr so the tall right image grows row 2, not row 1, and the note sits right under the left image */
.intro__media { grid-template-rows: auto 1fr; }
.intro__media-a { grid-row: 1; }
.intro__note { grid-column: 1 / span 6; grid-row: 2; display: grid; gap: .75rem; justify-items: start; align-content: start; max-width: 52ch; padding-top: clamp(16px, 1.6vw, 24px); border-top: 1px solid var(--line); }
.intro__note .label { color: var(--red-text); }
.intro__note-text { color: var(--muted); }

/* — Services hover list (home) — */
.service-list { position: relative; border-top: 1px solid var(--line-strong); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 2.5vw, 34px) 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}
.service-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--ease);
}
.service-row__num { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .4s; }
.service-row__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.08rem + 1.65vw, 2.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.032em; transition: transform .7s var(--ease), color .4s; }
.service-row__desc { max-width: 44ch; font-size: .975rem; color: var(--body); }
.service-row:hover::after { transform: scaleX(1); }
.service-row:hover .service-row__num { color: var(--red-text); }
.service-row:hover .service-row__title { transform: translateX(14px); }

/* — Scope of work (home, under the services list) — */
.scope { margin-top: clamp(56px, 6vw, 88px); }
.scope__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-bottom: clamp(22px, 2.4vw, 32px); }
.scope__head .label { color: var(--red-text); }
.scope__lead { max-width: 56ch; color: var(--body); }

.hover-reveal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: clamp(240px, 22vw, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  box-shadow: var(--shadow-lg);
  transition: opacity .35s var(--ease);
  will-change: transform;
}
.hover-reveal.is-visible { opacity: 1; }
.hover-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.hover-reveal img.is-active { opacity: 1; transform: none; }

/* — Featured project (dark) — */
.featured { overflow: hidden; }
.featured > .container { position: relative; z-index: 1; }
.featured__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5.5vw, 88px); align-items: start; }
.featured__text { display: grid; gap: 1.6rem; justify-items: start; }
.featured__title span { display: block; }
.featured__text .meta-grid,
.featured__scope { width: 100%; }
.featured__scope { display: grid; gap: 1rem; }
.featured__gallery { position: relative; }
.featured__main { aspect-ratio: 4 / 3; }
.featured__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease); }
.featured__main img.is-leaving { opacity: 0; }
.featured__main figcaption { position: absolute; right: 16px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: var(--radius-sm); font-size: .8125rem; font-weight: 500; color: #fff; background: rgba(12, 12, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.featured__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 6px; opacity: .5; transition: opacity .35s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: 6px; transition: border-color .35s; }
.thumb:hover { opacity: .85; }
.thumb[aria-pressed="true"] { opacity: 1; }
.thumb[aria-pressed="true"]::after { border-color: var(--red); }
.featured__stats { margin-top: clamp(64px, 8vw, 112px); }

/* — Carousel (spaces delivered) — */
.carousel { position: relative; }
.carousel__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.carousel__nav { display: flex; gap: 10px; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 25vw, 360px);
  gap: clamp(14px, 1.6vw, 24px);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; -webkit-user-select: none; user-select: none; }
.carousel__track img { -webkit-user-drag: none; user-select: none; }
.carousel__progress { position: relative; height: 2px; margin-top: clamp(28px, 3.5vw, 44px); overflow: hidden; background: var(--line-strong); }
.carousel__progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--red); transition: transform .15s linear, width .3s var(--ease); }
.section--night .carousel__progress { background: var(--night-line); }

.space-card { position: relative; isolation: isolate; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--night-3); }
.space-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.space-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 11, 13, .88) 0%, rgba(11, 11, 13, .1) 52%, rgba(11, 11, 13, 0) 100%); }
.space-card:hover img { transform: scale(1.06); }
.space-card__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: .35rem; }
.space-card__num { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--red-on-dark); }
.space-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.375rem; color: #fff; }
.space-card__title .icon { width: 20px; height: 20px; opacity: .7; transition: transform .45s var(--ease), opacity .3s; }
.space-card:hover .space-card__title .icon { transform: rotate(45deg); opacity: 1; }

/* — Marquee — */
.marquee { overflow: hidden; padding-block: clamp(44px, 6.5vw, 92px); border-bottom: 1px solid var(--line); background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  padding-right: clamp(1.75rem, 3.5vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 6.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__list li::after { content: ""; width: .2em; height: .2em; flex: none; background: var(--red); transform: rotate(45deg); }

/* — Sectors — */
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.sector-card { display: grid; align-content: start; gap: 1.1rem; }
.sector-card__media { aspect-ratio: 4 / 5; }
.sector-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .4rem; }
.sector-card__num { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--red-text); font-variant-numeric: tabular-nums; }
.sector-card__title { font-size: var(--fs-h3); }
.sector-card__text { color: var(--body); }
.industries {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: center;
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* — Process & blueprint — */
.process { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.process__visual { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 1rem; }
.process__caption { max-width: 54ch; font-size: .95rem; color: var(--body); }

.blueprint {
  position: relative;
  padding: clamp(14px, 2.2vw, 28px);
  background: #FBFAF7;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.blueprint svg { width: 100%; height: auto; overflow: visible; }
.blueprint__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bp-grid-line { stroke: rgba(19, 19, 21, .05); stroke-width: 1; }
.bp-wall { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: square; stroke-linejoin: miter; }
.bp-wall--inner { stroke-width: 3.5; }
.bp-furn { fill: none; stroke: #8F887C; stroke-width: 1.4; }
.bp-door { fill: none; stroke: var(--red); stroke-width: 1.4; }
.bp-dim { fill: none; stroke: var(--red); stroke-width: 1.1; }
.bp-hatch { fill: url(#bp-hatch); stroke: none; }
.bp-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; fill: var(--ink); }
.bp-label--sm { font-size: 10.5px; letter-spacing: .1em; fill: var(--muted); }
.bp-dim-label { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; fill: var(--red-text); }
.bp-north { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.bp-north-label { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: var(--ink); }
.js [data-draw] .bp-wall,
.js [data-draw] .bp-furn,
.js [data-draw] .bp-door,
.js [data-draw] .bp-dim { opacity: 0; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease), opacity .2s linear; transition-delay: var(--d, 0s); }
.js [data-draw] .bp-label,
.js [data-draw] .bp-dim-label,
.js [data-draw] .bp-hatch,
.js [data-draw] .bp-north { opacity: 0; transition: opacity .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-draw].is-drawn .bp-wall,
.js [data-draw].is-drawn .bp-furn,
.js [data-draw].is-drawn .bp-door,
.js [data-draw].is-drawn .bp-dim { opacity: 1; stroke-dashoffset: 0; }
.js [data-draw] .bp-north-label { opacity: 0; transition: opacity .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-draw].is-drawn .bp-label,
.js [data-draw].is-drawn .bp-dim-label,
.js [data-draw].is-drawn .bp-north,
.js [data-draw].is-drawn .bp-north-label { opacity: 1; }
.js [data-draw].is-drawn .bp-hatch { opacity: .9; }

.timeline { position: relative; }
.timeline__line { position: absolute; left: 23.5px; top: 24px; bottom: 24px; width: 1px; background: var(--line-strong); }
.timeline__fill { position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: top center; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding-bottom: clamp(30px, 3.4vw, 46px); }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--sand);
  font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.section:not(.section--sand) .step__num { background: #fff; }
.step.is-active .step__num { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.step__body { padding-top: .55rem; }
.step__title { font-size: 1.3125rem; letter-spacing: -.018em; }
.step__text { margin-top: .45rem; color: var(--body); }

/* — Bento (3D visualisation) — */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 19vw, 290px); gap: clamp(12px, 1.4vw, 20px); }
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night-3); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item--lg { grid-column: span 2; grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 18px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 11, 13, .82), rgba(11, 11, 13, 0));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.bento__item:hover figcaption,
.bento__item:focus-within figcaption { opacity: 1; transform: none; }
.bento__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(28px, 3.4vw, 44px); }

/* — Why choose us — */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.why__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 1.4rem; justify-items: start; }
.why__media { width: 100%; margin-top: 1rem; aspect-ratio: 4 / 3; }
.reasons { border-top: 1px solid var(--line-strong); }
.reason { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: clamp(24px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-strong); }
.reason__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red-tint); color: var(--red); transition: background-color .4s, color .4s; }
.reason__icon .icon { width: 20px; height: 20px; }
.reason:hover .reason__icon { background: var(--red); color: #fff; }
.reason__title { font-size: 1.3125rem; letter-spacing: -.018em; }
.reason__text { margin-top: .45rem; color: var(--body); }

/* — Clients — */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.client {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(104px, 11vw, 148px);
  padding: 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .9rem + .65vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--ink-2);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.client::before { content: ""; position: absolute; left: -1px; top: -1px; width: 28px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease); }
.client:hover { color: var(--ink); background: #fff; }
.client:hover::before { transform: scaleX(1); }
.section--sand .client:hover { background: #fff; }
.clients__note { margin-top: 20px; font-size: .8125rem; color: var(--muted); }

/* — Feature rows (alternating image / text) — */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 136px); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media { aspect-ratio: 4 / 3; }
.feature-row__body { display: grid; gap: 1.25rem; justify-items: start; }
.feature-row__num { font-family: var(--font-display); font-size: .875rem; font-weight: 600; letter-spacing: .14em; color: var(--red-text); }

/* — Gallery (justified rows — preserves image ratios) — */
.gallery { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.2vw, 16px); }
.gallery::after { content: ""; flex-grow: 999999; }
.gallery__item {
  position: relative;
  flex-grow: calc(var(--r, 1.5) * 100);
  flex-basis: calc(var(--r, 1.5) * 230px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
}
.gallery__item.is-entering { animation: fade-up .6s var(--ease-out) both; }
.gallery__link { position: relative; display: block; height: 100%; }
.gallery__link img { width: 100%; height: 100%; aspect-ratio: var(--r, 1.5); object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__link:hover img { transform: scale(1.04); }
.gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 56px 16px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(0deg, rgba(11, 11, 13, .8), rgba(11, 11, 13, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery__cap .icon { width: 18px; height: 18px; flex: none; }
.gallery__link:hover .gallery__cap,
.gallery__link:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__status { margin-top: 16px; font-size: .8125rem; color: var(--muted); }

/* — Steps grid (process cards) — */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.step-card { position: relative; display: grid; gap: .6rem; align-content: start; padding: clamp(26px, 2.6vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-card__num { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: .6rem; border-radius: 50%; font-size: .8125rem; font-weight: 600; color: #fff; background: var(--ink); }
.step-card:nth-child(odd) .step-card__num { background: var(--red); }
.step-card__title { font-size: 1.25rem; }
.section--sand .step-card { background: #fff; }

/* — Bridge diagram (stakeholders) — */
.bridge { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.bridge__node { position: relative; z-index: 1; display: grid; place-items: center; gap: .6rem; padding: 22px 14px; text-align: center; font-size: .9375rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.bridge__node .icon { width: 22px; height: 22px; color: var(--red); }
.bridge__line { position: absolute; left: 6%; right: 6%; top: 50%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px); }
.bridge__core { margin-top: 18px; display: flex; justify-content: center; }

/* — Contact page — */
.ct-hero-actions { margin-top: 2rem; }
.ct-form-card { padding: clamp(28px, 3.4vw, 52px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ct-form-card > .lead { margin-top: .9rem; }
.ct-form { margin-top: clamp(28px, 3vw, 40px); }
.form__group { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form__group + .form__group { margin-top: 16px; }
.form__legend { float: left; width: 100%; padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); }
.section--sand .contact-item__icon { background: #fff; }
.section--sand .copy-btn:hover { background: #fff; }
.contact-item address { font-style: normal; }
.ct-lines { display: grid; gap: .9rem; margin-top: .35rem; }
.ct-lines div { display: grid; gap: .1rem; }
.ct-lines dt { font-size: .8125rem; color: var(--muted); }
.ct-lines dd,
.ct-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ct-line .copy-btn,
.ct-lines .copy-btn { margin-left: 0; }
.ct-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-address { margin: 1.4rem 0 1rem; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-style: normal; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.ct-visit .meta-grid { margin-top: clamp(28px, 3vw, 40px); }
.ct-map { align-self: stretch; min-height: clamp(360px, 40vw, 520px); }
@media (min-width: 961px) { .ct-aside { padding-top: clamp(28px, 3.4vw, 52px); } }

/* 11. Footer =============================================================== */
.site-footer { position: relative; overflow: hidden; color: var(--night-text); background: var(--night); }
.site-footer a { transition: color .3s; }
.footer-cta { position: relative; padding-block: clamp(84px, 10vw, 148px); border-bottom: 1px solid var(--night-line); }
.footer-cta__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px clamp(32px, 5vw, 80px); align-items: end; }
.footer-cta__title { margin-top: 1.4rem; font-size: clamp(2.75rem, 1.4rem + 5.4vw, 6.75rem); line-height: .97; letter-spacing: -.045em; color: #fff; }
.footer-cta__title em { font-style: normal; color: var(--red); }
.footer-cta__aside { display: grid; gap: 1.5rem; justify-items: start; }
.footer-cta__aside p { max-width: 38ch; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; padding-block: clamp(56px, 6vw, 84px) clamp(44px, 5vw, 64px); }
.footer-logo { width: 176px; }
.footer-about { margin-top: 1.4rem; max-width: 36ch; font-size: .9375rem; line-height: 1.65; }
.footer-title { margin-bottom: 1.2rem; font-family: var(--font-body); font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--night-muted); }
.footer-links { display: grid; gap: .7rem; font-size: .9375rem; }
.footer-links a { color: rgba(255, 255, 255, .84); }
.footer-links a:hover { color: #fff; }
.footer-links--plain li { color: rgba(255, 255, 255, .66); }
.footer-contact { display: grid; gap: 1rem; font-size: .9375rem; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--red-on-dark); }
.footer-contact a { color: rgba(255, 255, 255, .88); overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 26px; border-top: 1px solid var(--night-line); font-size: .8125rem; color: var(--night-muted); }
.footer-bottom__reg { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-bottom a:hover { color: #fff; }
.footer-mark {
  margin-top: clamp(8px, 2vw, 24px);
  font-family: var(--font-display);
  font-size: min(10.4vw, 172px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.05em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .11);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  transform: translateY(14%);
}

/* 12. Overlays ============================================================= */

/* Intro loader (home, first visit per session) */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--night);
  transition: transform 1.05s var(--ease-in-out);
}
.js.intro-seen .loader { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 26px; }
.loader__logo { width: min(250px, 58vw); opacity: 0; transform: translateY(16px); animation: loader-in .9s var(--ease-out) .1s forwards; }
.loader__bar { position: relative; width: min(250px, 58vw); height: 2px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left center; animation: loader-bar 1.05s var(--ease) .25s forwards; }
.loader.is-done { transform: translateY(-100%); }

/* Lightbox (<dialog>) */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(11, 11, 13, .97);
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(11, 11, 13, .9); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 76px 88px 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); animation: lb-in .5s var(--ease-out); }
.lightbox__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 20px var(--gutter) 26px; font-size: .9375rem; }
.lightbox__caption { color: #fff; }
.lightbox__count { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); transition: background-color .3s; }
.lightbox__btn:hover { background: var(--red); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-open { overflow: hidden; }

/* Floating actions */
.fab { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 80; display: grid; gap: 12px; justify-items: end; }
.fab__btn { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: var(--shadow-lg); transition: transform .45s var(--ease), opacity .45s var(--ease), background-color .3s; }
.fab__btn .icon { width: 22px; height: 22px; }
.fab__btn:hover { transform: translateY(-3px); }
.fab__wa { background: #168F44; }
.fab__wa .icon { width: 26px; height: 26px; }
.fab__wa:hover { background: #127A3A; }
.fab__top { background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: transform .45s var(--ease), opacity .45s var(--ease), background-color .3s, visibility 0s linear .45s; }
.fab__top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.fab { transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
.fab-tucked .fab { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.fab__top.is-visible:hover { transform: translateY(-3px); }
.fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.fab__ring circle { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }

/* 13. Motion & reveal ====================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="mask"] > img { transform: scale(1.16); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"].is-in > img { transform: none; }
.js .media--zoom[data-reveal="mask"].is-in:hover > img { transform: scale(1.045); }

/* Safety nets: no JS engine / reduced motion / fallback timer */
.no-js-fallback [data-reveal],
.no-js-fallback [data-reveal] > img,
.no-js-fallback .line > span,
.no-js-fallback .hero-fade { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.no-js-fallback [data-draw] * { stroke-dashoffset: 0 !important; opacity: 1 !important; }

@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes loader-in { to { opacity: 1; transform: none; } }
@keyframes loader-bar { to { transform: scaleX(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] > img, .js .line > span, .js .hero-fade { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .hero__slide img, .page-hero__media img { transform: none !important; }
  .js [data-draw] .bp-wall, .js [data-draw] .bp-furn, .js [data-draw] .bp-door, .js [data-draw] .bp-dim { opacity: 1; stroke-dashoffset: 0; }
  .js [data-draw] .bp-label, .js [data-draw] .bp-dim-label, .js [data-draw] .bp-north, .js [data-draw] .bp-north-label { opacity: 1; }
  .js [data-draw] .bp-hatch { opacity: .9; }
  .js .statement[data-highlight] .w { color: var(--ink); }
  .js .statement[data-highlight] em .w { color: var(--red); }
}

/* 14. Utilities ============================================================ */
.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;
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* 15. Responsive =========================================================== */
@media (max-width: 1360px) {
  .hero__bar-inner { grid-template-columns: auto auto minmax(0, 1fr); }
  .hero__meta:nth-of-type(1) { display: none; }
}

@media (max-width: 1240px) {
  .header-phone span { display: none; }
  .hero__count { display: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }
  .brand { width: 112px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero__bar-inner { grid-template-columns: auto minmax(0, 1fr); }
  .hero__meta:nth-of-type(2) { display: none; }
}

@media (max-width: 960px) {
  .split, .split--5-7, .split--7-5 { grid-template-columns: 1fr; }
  .page-hero__caption { display: none; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__grid { grid-template-columns: 1fr; gap: 20px; }
  .intro__label { padding-top: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 8px; border-top: 1px solid var(--line-strong); }
  .stats--dark .stat:nth-child(n + 3) { border-top-color: var(--night-line); }
  .service-row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; }
  .service-row__desc { grid-column: 2; grid-row: 2; }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__gallery { order: -1; }
  .sector-grid { grid-template-columns: 1fr; gap: 48px; }
  .sector-card__media { aspect-ratio: 16 / 10; }
  .industries { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__visual { position: relative; top: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .why { grid-template-columns: 1fr; }
  .why__aside { position: relative; top: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta__grid { grid-template-columns: 1fr; }
  .subnav { position: relative; top: 0; }
  .bridge { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge__line { display: none; }
}

@media (max-width: 760px) {
  .hero { min-height: max(640px, 100svh); }
  .hero__bar-inner { grid-template-columns: 1fr; padding-block: 1rem 1.25rem; }
  .hero__meta { display: none; }
  .hero__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cap toggle" "dots dots"; align-items: center; gap: .6rem 1rem; }
  .hero__caption { grid-area: cap; text-align: left; }
  .hero__toggle { grid-area: toggle; }
  .hero__dots { grid-area: dots; }
  .hero__dot { flex: 1 1 0; width: auto; }
  .intro__media-a { grid-column: 1 / -1; }
  .intro__media { grid-template-rows: none; }
  .intro__media-a { grid-row: auto; }
  .intro__media-b { grid-column: 5 / -1; grid-row: auto; margin-top: -72px; aspect-ratio: 4 / 5; border: 6px solid #fff; border-radius: var(--radius); }
  .intro__note { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; }
  .intro__foot { grid-template-columns: 1fr; align-items: start; justify-items: start; }
  .featured__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .credentials { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .dash-list--2col { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .lightbox__stage { padding: 68px 12px 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; width: 48px; height: 48px; }
  .lightbox__prev { left: auto; right: 74px; }
  .lightbox__next { right: 16px; }
  .lightbox__bar { padding-right: 140px; min-height: 76px; }
}

@media (max-width: 640px) {
  .site-header__actions .btn { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stat__value { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client:last-child:nth-child(odd) { grid-column: span 2; }
  .bento { grid-auto-rows: 52vw; }
  .bento__item--lg { grid-row: span 1; }
  .bento__item figcaption { opacity: 1; transform: none; }
  .gallery__cap { opacity: 1; transform: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { flex: 1 1 auto; }
  .carousel__track { grid-auto-columns: 78vw; }
  .bridge { grid-template-columns: 1fr; }
  .bp-label { font-size: 17px; letter-spacing: .06em; }
  .bp-label--sm { font-size: 14px; letter-spacing: .04em; }
  .bp-dim-label { font-size: 16px; }
  .bp-north-label { font-size: 16px; }
  .bp-furn--detail { display: none; }
}

@media (hover: none) {
  .bento__item figcaption, .gallery__cap { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-menu, .fab, .loader, .hero__bar, .footer-mark { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
