@charset "UTF-8";
/* ==========================================================================
   Archilance LLC — v2 Design System
   Architecture outsourcing · gold on ink · editorial layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand gold, sampled from the Archilance mark */
  --gold-100: #fbe6be;
  --gold-200: #f8c868;
  --gold-300: #f0b858;
  --gold:     #e9a63f;
  --gold-500: #de9633;
  --gold-600: #c07e22;
  --gold-ink: #8f5f10;          /* accessible gold for light backgrounds */

  /* Ink scale */
  --ink-950: #08090a;
  --ink-900: #0d0e10;
  --ink-850: #131417;
  --ink-800: #191b1f;
  --ink-700: #212429;
  --ink-600: #2c3036;

  /* Paper scale */
  --paper-50:  #fcfaf7;
  --paper-100: #f5f1ea;
  --paper-200: #ebe4d9;
  --paper-300: #ded5c6;

  /* Text */
  --text-on-dark: #f1efec;
  --muted-on-dark: #9ba2ab;
  --text-on-light: #101114;
  --muted-on-light: #565c65;

  /* Lines */
  --line-dark: rgba(255, 255, 255, .10);
  --line-dark-strong: rgba(255, 255, 255, .18);
  --line-light: rgba(16, 17, 20, .12);
  --line-light-strong: rgba(16, 17, 20, .22);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.8125rem, .78rem + .16vw, .875rem);
  --step-0:  clamp(.9375rem, .91rem + .18vw, 1.0625rem);
  --step-1:  clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --step-2:  clamp(1.375rem, 1.25rem + .6vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);
  --step-4:  clamp(2.125rem, 1.7rem + 1.9vw, 3.5rem);
  --step-5:  clamp(2.625rem, 1.9rem + 3.2vw, 5rem);
  --step-6:  clamp(3rem, 1.9rem + 4.6vw, 6.5rem);

  /* Space & shape */
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.15rem, .8rem + 1.4vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 18px 44px -22px rgba(8, 9, 10, .45);
  --shadow-lift: 0 32px 70px -30px rgba(8, 9, 10, .6);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
  --dur: .55s;

  --header-h: 84px;

  /* Bootstrap bridges */
  --bs-body-font-family: var(--font-body);
  --bs-body-bg: var(--ink-950);
  --bs-body-color: var(--text-on-dark);
  --bs-link-color-rgb: 233, 166, 63;
  --bs-border-color: var(--line-dark);
  --bs-focus-ring-color: rgba(233, 166, 63, .45);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* clip, NOT hidden: `overflow-x: hidden` forces the used value of overflow-y
     to `auto`, which turns <body> into a scroll container that never actually
     scrolls — and that silently breaks position:sticky for every descendant
     (the header and the projects filter bar). `clip` contains the same
     horizontal bleed while leaving overflow-y visible. */
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

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

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .3s var(--ease-out);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--gold-200);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 3000;
  padding: .7rem 1.15rem;
  background: var(--gold);
  color: var(--ink-950);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), 1320px);
  margin-inline: auto;
}
.shell--wide { width: min(100% - (var(--gutter) * 2), 1560px); }
.shell--narrow { width: min(100% - (var(--gutter) * 2), 940px); }

/* overflow-x: clip contains the off-stage reveal transforms without creating a
   scroll container (so position: sticky and mega menus keep working) */
.section {
  padding-block: var(--section-y);
  position: relative;
  overflow-x: clip;
}
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--flush-top { padding-top: 0; }

.section--ink { background: var(--ink-950); color: var(--text-on-dark); }
.section--ink-soft { background: var(--ink-900); color: var(--text-on-dark); }
.section--paper { background: var(--paper-50); color: var(--text-on-light); }
.section--paper-deep { background: var(--paper-100); color: var(--text-on-light); }

/* Faint architectural grid, evokes drafting paper */
.grid-veil { position: relative; isolation: isolate; }
.grid-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid-line, rgba(255, 255, 255, .045)) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line, rgba(255, 255, 255, .045)) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 96px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 5%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 5%, transparent 78%);
  pointer-events: none;
}
.section--paper .grid-veil::before,
.section--paper-deep .grid-veil::before,
.grid-veil--light::before { --grid-line: rgba(16, 17, 20, .06); }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: clamp(20px, 4vw, 38px);
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.section--paper .eyebrow,
.section--paper-deep .eyebrow { color: var(--gold-ink); }

.h-display { font-size: var(--step-5); }
.h-xl { font-size: var(--step-4); }
.h-lg { font-size: var(--step-3); }
.h-md { font-size: var(--step-2); }
.h-sm { font-size: var(--step-1); letter-spacing: -.015em; }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 62ch;
}
.section--paper .lede,
.section--paper-deep .lede { color: var(--muted-on-light); }

.text-gold { color: var(--gold); }
.section--paper .text-gold,
.section--paper-deep .text-gold { color: var(--gold-ink); }

.text-muted-soft { color: var(--muted-on-dark); }
.section--paper .text-muted-soft,
.section--paper-deep .text-muted-soft { color: var(--muted-on-light); }

.section-head { max-width: 58rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* heading on the left, action on the right — heading takes the slack */
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.head-row > .section-head { flex: 1 1 30rem; margin-bottom: 0; }
.head-row > .section-head :last-child { margin-bottom: 0; }
.head-row > :not(.section-head) { flex: 0 0 auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.rule {
  height: 1px;
  background: var(--line-dark);
  border: 0;
  margin: 0;
  opacity: 1;
}
.section--paper .rule,
.section--paper-deep .rule { background: var(--line-light); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn-a {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink-950);
  --btn-bd: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
}
/* The sweep must sit BELOW the label. A positioned pseudo with z-index >= 0 paints
   above the button's own text nodes (only element children could escape it, which hid
   every label and left the icons floating). z-index:-1 inside the isolate context
   paints above the background but under all inline content. */
.btn-a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-200);
  transform: translateY(102%);
  transition: transform .45s var(--ease-out);
}
.btn-a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(233, 166, 63, .8); }
.btn-a:hover::before { transform: translateY(0); }
.btn-a:active { transform: translateY(0); }

.btn-a--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-on-dark);
  --btn-bd: var(--line-dark-strong);
}
.btn-a--ghost::before { background: var(--gold); }
.btn-a--ghost:hover { color: var(--ink-950); border-color: var(--gold); box-shadow: none; }

.btn-a--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--text-on-light);
  --btn-bd: var(--line-light-strong);
}
.btn-a--ghost-dark::before { background: var(--ink-950); }
.btn-a--ghost-dark:hover { color: var(--paper-50); border-color: var(--ink-950); box-shadow: none; }

.btn-a--ink {
  --btn-bg: var(--ink-950);
  --btn-fg: var(--paper-50);
  --btn-bd: var(--ink-950);
}
.btn-a--ink::before { background: var(--gold); }
.btn-a--ink:hover { color: var(--ink-950); box-shadow: 0 14px 30px -18px rgba(8, 9, 10, .9); }

.btn-a--lg { padding: 1.05rem 2.1rem; font-size: var(--step-0); }
.btn-a--sm { padding: .62rem 1.15rem; font-size: .8125rem; }
.btn-a--block { width: 100%; }

.btn-a .ico { width: 1.05em; height: 1.05em; flex: none; transition: transform .35s var(--ease-out); }
.btn-a:hover .ico--arrow { transform: translateX(4px); }

/* Text link with underline sweep */
.link-a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 3px;
}
.link-a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.link-a:hover::after { transform: scaleX(1); transform-origin: left; }
.link-a .ico { width: .9em; height: .9em; transition: transform .35s var(--ease-out); }
.link-a:hover .ico { transform: translateX(4px); }
.section--paper .link-a,
.section--paper-deep .link-a { color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   6. Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: var(--ink-950);
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 1.5rem; width: min(78vw, 300px); }
.preloader__mark { width: 74px; opacity: 0; animation: markIn 1s var(--ease-out) forwards; }
@keyframes markIn { to { opacity: 1; } }
.preloader__bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width .3s linear;
}
.preloader__label {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   7. Cursor + scroll progress
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3500;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s, width .3s var(--ease-out), height .3s var(--ease-out),
              margin .3s var(--ease-out), background-color .3s var(--ease-out);
  will-change: transform;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hot {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(233, 166, 63, .14);
}
.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3501;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.cursor__dot.is-on { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-200));
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-dark);
  font-size: .8125rem;
  color: var(--muted-on-dark);
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 42px;
  padding-block: .35rem;
}
.topbar__list { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar__item .ico { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar a:hover { color: var(--gold-200); }
.topbar__stars { color: var(--gold); letter-spacing: .1em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out),
              backdrop-filter .45s var(--ease-out), box-shadow .45s var(--ease-out),
              transform .45s var(--ease-out);
}
.site-header.is-stuck {
  background: rgba(8, 9, 10, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 34px -26px rgba(0, 0, 0, .9);
}
.site-header.is-hidden { transform: translateY(-102%); }

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height .45s var(--ease-out);
}
.is-stuck .nav-row { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark {
  width: auto;
  height: 46px;
  transition: height .45s var(--ease-out);
}
.is-stuck .brand__mark { height: 38px; }
.brand__word {
  display: grid;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--text-on-dark);
}
.brand__word b {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.brand__word span {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .34rem;
}

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.4rem, 1.1vw, 1.15rem); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .35rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text-on-dark);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .35rem;
  right: .35rem;
  bottom: .28rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--gold-200); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__caret { width: 11px; height: 11px; transition: transform .35s var(--ease-out); }
.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret { transform: rotate(180deg); }

/* Mega menu */
.nav__item--has-menu { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(92vw, 780px);
  padding: 1.4rem;
  background: rgba(15, 16, 19, .97);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.nav__item--has-menu:hover .mega,
.nav__item--has-menu:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
.mega__link {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  transition: background-color .3s var(--ease-out);
}
.mega__link:hover { background: rgba(233, 166, 63, .1); }
.mega__link .ico { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: .18rem; }
.mega__link b { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 600; }
.mega__link small { display: block; font-size: .75rem; color: var(--muted-on-dark); line-height: 1.45; }
.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem;
  color: var(--muted-on-dark);
}

.nav-actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.nav-actions .btn-a { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.burger:hover { border-color: var(--gold); background: rgba(233, 166, 63, .1); }
.burger span {
  display: block;
  height: 1.5px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), width .35s var(--ease-out), opacity .25s;
}
.burger span:nth-child(2) { width: 66%; margin-left: auto; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1200;
  width: min(100%, 420px);
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--ink-900);
  border-left: 1px solid var(--line-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.drawer__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: border-color .3s, color .3s;
}
.drawer__close:hover { border-color: var(--gold); color: var(--gold); }
.drawer__nav > li { border-bottom: 1px solid var(--line-dark); }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0;
  background: none;
  border: 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.drawer__link:hover { color: var(--gold); }
.drawer__link .ico { width: 16px; height: 16px; color: var(--gold); transition: transform .35s var(--ease-out); }
.drawer__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.drawer__sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease-out);
}
.drawer__sub ul { padding: 0 0 .8rem .1rem; display: grid; gap: .1rem; }
.drawer__sub a {
  display: block;
  padding: .5rem 0;
  font-size: .9375rem;
  color: var(--muted-on-dark);
}
.drawer__sub a:hover { color: var(--gold-200); }
.drawer__cta { display: grid; gap: .65rem; margin-top: 1.75rem; }
.drawer__meta { margin-top: 2rem; display: grid; gap: .6rem; font-size: .875rem; color: var(--muted-on-dark); }
.drawer__meta a { display: inline-flex; align-items: center; gap: .55rem; }
.drawer__meta .ico { width: 16px; height: 16px; color: var(--gold); }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: rgba(4, 5, 6, .68);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility .45s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1200px) {
  .nav { display: block; }
  .nav-actions { margin-left: 0; }
  .nav-actions .btn-a { display: inline-flex; }
  .burger { display: none; }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(600px, 100svh - var(--header-h), 940px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-950);
}
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-in-out);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* keeps the transparent header legible over bright renders */
    linear-gradient(to bottom, rgba(6, 7, 8, .72) 0%, rgba(6, 7, 8, .12) 14%, transparent 22%),
    linear-gradient(100deg, rgba(6, 7, 8, .93) 0%, rgba(6, 7, 8, .74) 30%, rgba(6, 7, 8, .22) 62%, rgba(6, 7, 8, .5) 100%),
    linear-gradient(to top, rgba(6, 7, 8, .92) 0%, rgba(6, 7, 8, .1) 40%, transparent 62%);
}
@media (max-width: 991.98px) {
  .hero__veil { background: linear-gradient(to top, rgba(6, 7, 8, .96) 12%, rgba(6, 7, 8, .82) 55%, rgba(6, 7, 8, .62) 100%); }
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}
/* grid items must be allowed to shrink below their min-content width */
.hero__grid > * { min-width: 0; }
/* The quote form needs room for two option tiles per row, so the hero splits
   closer to even than it did when the right column was just an offer card. */
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(30rem, 1fr); }
}
@media (min-width: 1400px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(34rem, 1fr); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .5rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-size: .8125rem;
  letter-spacing: .01em;
  margin-bottom: 1.6rem;
}
.hero__badge b { color: var(--gold-200); font-weight: 600; }
.hero__badge-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink-950);
  flex: none;
}
.hero__badge-dot .ico { width: 14px; height: 14px; }

.hero__title {
  font-size: clamp(2.3rem, 1.25rem + 3.1vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero__title em { font-style: normal; color: var(--gold); }

.hero__sub {
  font-size: var(--step-1);
  color: #cfd3d8;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero__sub b { color: var(--gold-200); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  max-width: 640px;
}
@media (min-width: 560px) {
  .hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero__fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -.02em;
}
.hero__fact span {
  display: block;
  margin-top: .4rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* The hero's right column is the inline quote form — see section 32. */

@keyframes pulseDot {
  70% { box-shadow: 0 0 0 9px rgba(233, 166, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 166, 63, 0); }
}

/* Slide dots */
.hero__dots {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  gap: .55rem;
  z-index: 3;
}
.hero__dot {
  width: 42px;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot[aria-selected="true"]::after { animation: dotFill 7s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 3;
  display: none;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(.35); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (min-width: 992px) { .hero__scroll { display: flex; } }

/* --------------------------------------------------------------------------
   10. Marquee (client logos)
   -------------------------------------------------------------------------- */
.trust {
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  background: var(--ink-900);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
}
.trust__label {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 1.75rem;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-right: clamp(2.5rem, 6vw, 5rem);
  flex: none;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee img {
  height: clamp(24px, 3.2vw, 38px);
  width: auto;
  filter: grayscale(1) brightness(2.4);
  opacity: .55;
  transition: opacity .35s var(--ease-out), filter .35s var(--ease-out);
}
.marquee img:hover { opacity: 1; filter: grayscale(0) brightness(1.05); }

/* --------------------------------------------------------------------------
   11. Value / stats
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 576px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-cell {
  background: var(--paper-50);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  transition: background-color .4s var(--ease-out);
}
.value-cell:hover { background: #fff; }
.value-cell__ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(233, 166, 63, .14);
  color: var(--gold-ink);
  margin-bottom: 1.1rem;
}
.value-cell__ico .ico { width: 23px; height: 23px; }
.value-cell h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.value-cell p { font-size: .9375rem; color: var(--muted-on-light); margin: 0; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem) 1rem;
  text-align: center;
}
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--gold);
}
.stat span {
  display: block;
  margin-top: .7rem;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  background: var(--ink-950);
  overflow: hidden;
  isolation: isolate;
  transition: background-color .5s var(--ease-out);
}
.svc::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.svc:hover { background: var(--ink-850); }
.svc:hover::after { transform: scaleX(1); }
.svc__no {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted-on-dark);
}
.svc__ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 14px;
  color: var(--gold);
  transition: border-color .45s var(--ease-out), background-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.svc__ico .ico { width: 27px; height: 27px; }
.svc:hover .svc__ico { border-color: var(--gold); background: rgba(233, 166, 63, .12); transform: translateY(-3px); }
.svc h3 { font-size: var(--step-1); margin: 0; }
.svc p { font-size: .9rem; color: var(--muted-on-dark); margin: 0; }
.svc__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.svc:hover .svc__more,
.svc:focus-within .svc__more { opacity: 1; transform: translateY(0); }
.svc__more .ico { width: 14px; height: 14px; }
.svc__link { position: absolute; inset: 0; z-index: 2; }
@media (hover: none) { .svc__more { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--paper-50);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 166, 63, .55);
  box-shadow: 0 24px 48px -30px rgba(16, 17, 20, .5);
}
.step__no {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16, 17, 20, .28);
  margin-bottom: 1rem;
  transition: -webkit-text-stroke-color .5s var(--ease-out), color .5s var(--ease-out);
}
.step:hover .step__no { -webkit-text-stroke-color: var(--gold); }
.step h3 { font-size: var(--step-1); margin-bottom: .55rem; }
.step p { font-size: .9375rem; color: var(--muted-on-light); margin: 0; }

/* --------------------------------------------------------------------------
   14. Portfolio
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.filter {
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 100px;
  background: transparent;
  color: var(--muted-on-dark);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.filter:hover { color: var(--text-on-dark); border-color: var(--gold); }
.filter[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-950);
  font-weight: 600;
}
.filter span { opacity: .6; font-size: .72em; margin-left: .3rem; vertical-align: super; }

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.5rem, 1.2vw, 1rem);
}
@media (min-width: 768px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .works { grid-template-columns: repeat(4, 1fr); } }

.work {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink-850);
  color: inherit;
  font: inherit;
  text-align: left;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  cursor: pointer;
  animation: workIn .6s var(--ease-out) both;
}
@keyframes workIn {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.work--tall { grid-row: span 2; aspect-ratio: 4 / 6.15; }
.work--wide { grid-column: span 2; aspect-ratio: 8 / 3.06; }
@media (max-width: 767.98px) {
  .work--wide { grid-column: span 2; aspect-ratio: 4 / 3; }
  .work--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
}
.work.is-hidden { display: none; }

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
}
.work:hover img { transform: scale(1.07); }
.work__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 8, .94) 0%, rgba(6, 7, 8, .45) 38%, rgba(6, 7, 8, 0) 68%);
  opacity: .82;
  transition: opacity .5s var(--ease-out);
}
.work:hover .work__veil { opacity: 1; }
.work__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(.9rem, 1.6vw, 1.4rem);
  transform: translateY(14%);
  transition: transform .55s var(--ease-out);
}
.work:hover .work__body { transform: translateY(0); }
.work__cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.work__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.9375rem, .85rem + .4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0;
}
.work__desc {
  display: block;
  margin: .35rem 0 0;
  font-size: .8125rem;
  line-height: 1.45;
  color: #c4c9cf;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease-out), opacity .4s var(--ease-out), margin .55s var(--ease-out);
}
.work:hover .work__desc { max-height: 5rem; opacity: 1; }
.work__zoom {
  position: absolute;
  top: clamp(.7rem, 1.4vw, 1.1rem);
  right: clamp(.7rem, 1.4vw, 1.1rem);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(233, 166, 63, .95);
  color: var(--ink-950);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.work:hover .work__zoom { opacity: 1; transform: scale(1); }
.work__zoom .ico { width: 17px; height: 17px; }
@media (max-width: 991.98px) {
  .work__body { transform: none; }
  .work__desc { display: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  /* minmax(0,1fr) — otherwise a tall image grows the row and pushes the caption off screen */
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(5, 6, 7, .97);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  /* visibility must flip instantly on open, or it still computes as `hidden`
     on the frame .is-open lands and the dialog cannot take focus. On close it
     is held until the fade finishes so the exit stays visible. */
  transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out), visibility 0s; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.lightbox__count { font-family: var(--font-display); font-size: .8125rem; letter-spacing: .16em; color: var(--muted-on-dark); }
.lightbox__stage {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: clamp(.75rem, 2vw, 1.75rem) var(--gutter);
  min-height: 0;
  overflow: hidden;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.lightbox__stage img.is-ready { opacity: 1; transform: scale(1); }
.lightbox__foot { padding: 1rem var(--gutter) 1.5rem; text-align: center; border-top: 1px solid var(--line-dark); }
.lightbox__foot h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.lightbox__foot p { font-size: .875rem; color: var(--muted-on-dark); margin: 0; }
.lb-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); }
.lb-btn .ico { width: 19px; height: 19px; }
.lightbox__nav { display: flex; gap: .5rem; }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  display: none;
}
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
@media (min-width: 992px) {
  .lightbox__prev, .lightbox__next { display: grid; }
  .lightbox__nav { display: none; }
}

/* --------------------------------------------------------------------------
   15. Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.plan--featured {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -34px rgba(233, 166, 63, .55);
}
.plan__flag {
  position: absolute;
  top: -1px;
  right: clamp(1.2rem, 2.4vw, 2rem);
  padding: .38rem .95rem;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: var(--ink-950);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan__name {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .9rem;
}
.plan__price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .3rem; }
.plan__price b {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.9rem + 2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.plan__price span { font-size: 1rem; color: var(--muted-on-light); font-weight: 500; }
.plan__meta { font-size: .875rem; color: var(--muted-on-light); margin-bottom: 1.5rem; }
.plan__meta b { color: var(--text-on-light); font-weight: 600; }
.plan__cta { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.plan__feats-title {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  margin-bottom: 1rem;
}
.plan__feats { display: grid; gap: .7rem; }
.plan__feats li { display: flex; gap: .65rem; font-size: .9375rem; line-height: 1.45; }
.plan__feats .ico { width: 18px; height: 18px; color: var(--gold-ink); flex: none; margin-top: .17rem; }

.fixed-price {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3.4vw, 3rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.fixed-price h3 { margin-bottom: .4rem; }
.fixed-price p { margin: 0; color: var(--muted-on-light); font-size: .9375rem; }

/* --------------------------------------------------------------------------
   16. About
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 992px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.about-media { position: relative; }
.about-media__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.about-media__frame img { width: 100%; height: auto; }
.about-media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 8, .55), transparent 55%);
  pointer-events: none;
}
.about-media__corner {
  position: absolute;
  width: clamp(48px, 8vw, 88px);
  height: clamp(48px, 8vw, 88px);
  border: 2px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}
.about-media__corner--tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.about-media__corner--br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.about-media__years {
  position: absolute;
  left: clamp(.75rem, 2vw, 1.5rem);
  bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.1rem;
  background: var(--paper-50);
  border-radius: 10px;
  color: var(--text-on-light);
  box-shadow: var(--shadow-soft);
}
.about-media__years b {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--gold-ink);
}
.about-media__years span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 13ch;
}

.about-badges { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.about-badges img { height: 60px; width: auto; }
.about-badges__text { font-size: .8125rem; color: var(--muted-on-dark); max-width: 26ch; line-height: 1.5; }

.founders { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 480px) { .founders { grid-template-columns: repeat(2, 1fr); } }
.founder {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-900);
}
.founder b { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.founder span { font-size: .8125rem; color: var(--gold); letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: auto;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .45s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.quote-card:hover { border-color: rgba(233, 166, 63, .55); transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.quote-card__stars { display: flex; gap: .18rem; color: var(--gold); }
.quote-card__stars .ico { width: 17px; height: 17px; }
.quote-card__text {
  font-size: .9375rem;
  line-height: 1.68;
  color: var(--text-on-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote-card__text.is-open { -webkit-line-clamp: unset; }
.quote-card__more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}
.quote-card__by { display: flex; align-items: center; gap: .85rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.quote-card__by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card__ph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-200);
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex: none;
}
.quote-card__by b { display: block; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.quote-card__by span { font-size: .8125rem; color: var(--muted-on-light); }
.quote-card__src { margin-left: auto; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-light); }

.swiper { padding-bottom: 3.5rem !important; }
.swiper-slide { height: auto; }
.swiper-slide > .quote-card { height: 100%; }
.swiper-pagination-bullet { background: var(--line-light-strong); opacity: 1; width: 7px; height: 7px; transition: width .35s var(--ease-out), background-color .35s; }
.swiper-pagination-bullet-active { background: var(--gold); width: 26px; border-radius: 4px; }
.slider-nav { display: flex; gap: .5rem; }
.slider-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text-on-light);
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); }
.slider-btn:disabled { opacity: .35; cursor: not-allowed; }
.slider-btn .ico { width: 18px; height: 18px; }
.slider-btn--dark { border-color: var(--line-dark-strong); color: var(--text-on-dark); }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 992px) { .faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

.faq { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color .35s var(--ease-out);
}
.faq__q:hover { color: var(--gold); }
.faq__sign {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  margin-top: .1rem;
  transition: border-color .35s, background-color .35s;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.faq__sign::before { width: 13px; height: 1.5px; }
.faq__sign::after { width: 1.5px; height: 13px; }
.faq__q[aria-expanded="true"] { color: var(--gold); }
.faq__q[aria-expanded="true"] .faq__sign { border-color: var(--gold); background: rgba(233, 166, 63, .12); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease-out); }
.faq__a > div { padding: 0 clamp(2.5rem, 6vw, 4rem) 1.5rem 0; color: var(--muted-on-dark); font-size: .9375rem; line-height: 1.7; }

.faq-cta {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--ink-900);
}
.faq-cta h3 { font-size: var(--step-2); margin-bottom: .75rem; }
.faq-cta p { color: var(--muted-on-dark); font-size: .9375rem; }

/* The accordion was written for dark sections only; the service pages run it on
   paper, where the near-white question text disappeared. These re-point the
   component at the light-background tokens. .faq-cta keeps its own ink panel, so
   its contents stay light regardless of the section behind it. */
.section--paper .faq,
.section--paper-deep .faq { border-top-color: var(--line-light); }
.section--paper .faq__item,
.section--paper-deep .faq__item { border-bottom-color: var(--line-light); }
.section--paper .faq__q,
.section--paper-deep .faq__q { color: var(--text-on-light); }
.section--paper .faq__q:hover,
.section--paper-deep .faq__q:hover,
.section--paper .faq__q[aria-expanded="true"],
.section--paper-deep .faq__q[aria-expanded="true"] { color: var(--gold-ink); }
.section--paper .faq__sign,
.section--paper-deep .faq__sign { border-color: var(--line-light-strong); }
.section--paper .faq__q[aria-expanded="true"] .faq__sign,
.section--paper-deep .faq__q[aria-expanded="true"] .faq__sign {
  border-color: var(--gold-ink);
  background: rgba(143, 95, 16, .1);
}
.section--paper .faq__a > div,
.section--paper-deep .faq__a > div { color: var(--muted-on-light); }
.section--paper .faq-cta,
.section--paper-deep .faq-cta { color: var(--text-on-dark); border-color: var(--line-dark); }
.section--paper .faq-cta h3,
.section--paper-deep .faq-cta h3 { color: var(--text-on-dark); }
.section--paper .faq-cta p,
.section--paper-deep .faq-cta p { color: var(--muted-on-dark); }

/* --------------------------------------------------------------------------
   19. Coverage
   -------------------------------------------------------------------------- */
.coverage-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 992px) { .coverage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.region { background: var(--ink-900); padding: 1.15rem 1.25rem; transition: background-color .4s var(--ease-out); }
.region:hover { background: var(--ink-800); }
.region b { display: block; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; }
.region span { font-size: .78rem; color: var(--muted-on-dark); }

.globe { position: relative; }
.globe svg { width: 100%; height: auto; }
.globe__land { fill: rgba(255, 255, 255, .075); }
.globe__pin { fill: var(--gold); transform-origin: center; }
.globe__pin circle:first-child { animation: pinPulse 3s var(--ease-out) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinPulse {
  0% { opacity: .55; r: 3; }
  70% { opacity: 0; r: 13; }
  100% { opacity: 0; r: 13; }
}

/* --------------------------------------------------------------------------
   20. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.25rem, 4.5vw, 4rem); align-items: start; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }

.contact-points { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin-top: 2.25rem; }
@media (min-width: 560px) { .contact-points { grid-template-columns: repeat(2, 1fr); } }
.contact-point { display: flex; gap: .95rem; padding: 1.35rem 1.4rem; background: var(--ink-900); transition: background-color .4s var(--ease-out); }
.contact-point:hover { background: var(--ink-800); }
.contact-point .ico { width: 21px; height: 21px; color: var(--gold); flex: none; margin-top: .2rem; }
.contact-point b { display: block; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: .3rem; }
.contact-point span, .contact-point a { font-size: .9375rem; line-height: 1.5; }
.contact-point a:hover { color: var(--gold); }

.promises { display: grid; gap: .85rem; margin-top: 2rem; }
.promise { display: flex; gap: .7rem; font-size: .9375rem; color: var(--muted-on-dark); }
.promise .ico { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: .2rem; }

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--ink-900);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: .5rem;
}
.field label .req { color: var(--gold); }
.field .ctrl {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: .9375rem;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.field .ctrl::placeholder { color: #6d747d; }
.field .ctrl:hover { border-color: rgba(255, 255, 255, .28); }
.field .ctrl:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(233, 166, 63, .06);
}
.field textarea.ctrl { min-height: 130px; resize: vertical; }
.field select.ctrl {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ba2ab'%3E%3Cpath d='M8 11.2 2.8 6l1.1-1.1L8 9l4.1-4.1L13.2 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 15px;
  padding-right: 2.6rem;
}
.field select.ctrl option { background: var(--ink-850); color: var(--text-on-dark); }
.field .ctrl:invalid:not(:placeholder-shown) { border-color: #c9603f; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .field-row--2 { grid-template-columns: repeat(2, 1fr); } }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; color: var(--muted-on-dark); margin-bottom: 1.5rem; }
.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: .1rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  position: relative;
  transition: background-color .25s, border-color .25s;
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--ink-950);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-note { font-size: .8125rem; color: var(--muted-on-dark); margin-top: 1rem; text-align: center; }
.form-status { margin-top: 1rem; font-size: .875rem; }
.form-status[data-state="ok"] { color: var(--gold-200); }
.form-status[data-state="err"] { color: #e08a6b; }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-900);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 120% at 50% 0%, rgba(233, 166, 63, .17), transparent 60%);
}
.cta-band h2 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; color: var(--muted-on-dark); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--ink-950);
  overflow: hidden;
}
.site-footer__bg { position: absolute; inset: 0; z-index: -2; }
.site-footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.site-footer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 9, 10, .93), rgba(8, 9, 10, .97));
}

.footer-top { display: grid; gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 992px) { .footer-top { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); } }

.footer-brand__mark { height: 58px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .9375rem; color: var(--muted-on-dark); max-width: 40ch; }
.footer-brand__badges { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.footer-brand__badges img { height: 54px; width: auto; }

.footer-col h3 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: grid; gap: .68rem; }
.footer-col a, .footer-col address {
  font-size: .9375rem;
  font-style: normal;
  color: var(--muted-on-dark);
  line-height: 1.6;
}
.footer-col a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-col a:hover { color: var(--gold-200); }
.footer-col a .ico { width: 15px; height: 15px; color: var(--gold); flex: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  /* keep the last item clear of the fixed floating actions */
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem;
  color: var(--muted-on-dark);
}
@media (min-width: 992px) { .footer-bottom { padding-right: 84px; } }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--gold-200); }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  color: var(--text-on-dark);
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease-out);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); transform: translateY(-3px); }
.socials .ico { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   23. Floating actions
   -------------------------------------------------------------------------- */
.floats {
  position: fixed;
  right: clamp(.85rem, 2vw, 1.5rem);
  bottom: clamp(.85rem, 2vw, 1.5rem);
  z-index: 1000;
  display: grid;
  gap: .6rem;
  justify-items: center;
}
.float-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: rgba(19, 20, 23, .9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, transform .35s var(--ease-out), opacity .35s, visibility .35s;
}
.float-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); transform: translateY(-3px); }
.float-btn .ico { width: 21px; height: 21px; }
.float-btn--whatsapp { background: #1faa54; border-color: #1faa54; color: #fff; }
.float-btn--whatsapp:hover { background: #179045; border-color: #179045; color: #fff; }
.to-top { opacity: 0; visibility: hidden; }
.to-top.is-on { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   24. Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal].is-in { opacity: 1; transform: none; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }

.mask-line { display: block; overflow: hidden; }
.mask-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
}
.is-in .mask-line > span,
.mask-line.is-in > span { transform: translateY(0); }

.parallax { will-change: transform; }

/* --------------------------------------------------------------------------
   25. Interior page header (Projects and future sub-pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--text-on-dark);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
}
.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(8, 9, 10, .72) 0%, rgba(8, 9, 10, .86) 55%, var(--ink-950) 100%),
    radial-gradient(120% 80% at 78% 12%, rgba(233, 166, 63, .18), transparent 62%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  color: var(--muted-on-dark);
}
.crumbs li { display: flex; align-items: center; gap: .5rem; }
.crumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-dark-strong);
}
.crumbs a { color: var(--muted-on-dark); transition: color .3s var(--ease-out); }
.crumbs a:hover { color: var(--gold-200); }
.crumbs [aria-current="page"] { color: var(--text-on-dark); font-weight: 500; }

.page-hero__title {
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 18ch;
}
.page-hero__title em { font-style: normal; color: var(--gold); }
.page-hero__lede {
  margin: clamp(1.1rem, 2vw, 1.5rem) 0 0;
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--muted-on-dark);
}
.page-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-dark);
}

/* --------------------------------------------------------------------------
   26. Projects archive — filter bar, grid extras, load more
   -------------------------------------------------------------------------- */
.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  padding-block: .9rem;
  background: rgba(8, 9, 10, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  transition: top .45s var(--ease-out);
}
/* ride up with the auto-hiding header instead of leaving a floating gap */
.nav-away .filter-bar { top: 0; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .filter-bar { background: var(--ink-950); }
}
.filter-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.filter-bar .filters {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.filter-bar__status {
  flex: none;
  font-size: .8125rem;
  color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 991.98px) {
  /* keep the pills on one swipeable line rather than stacking four rows deep */
  .filter-bar .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .2rem;
    scroll-snap-type: x proximity;
  }
  .filter-bar .filters::-webkit-scrollbar { display: none; }
  .filter-bar .filter { scroll-snap-align: start; }
  .filter-bar__status { width: 100%; }
}

/* the grid section sits directly under the page hero, which already carries its
   own bottom padding — a full --section-y on top of that left a dead band */
.section--after-hero { padding-top: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }

/* editorial rhythm: a few tiles break the 3-up grid so the page never reads
   as a plain contact sheet. `dense` backfills the slot a tall tile would
   otherwise strand next to it. */
.works--archive {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: row dense;
}
@media (min-width: 768px)  { .works--archive { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .works--archive { grid-template-columns: repeat(4, 1fr); } }

/* A wide tile spans 2 columns + 1 gap while the rows around it are sized by
   4:3 tiles. 8/3.06 (the homepage value) overshoots that by ~11px and leaves a
   ragged strip under every neighbour; (2c+gap)/(0.75c) lands within half a
   pixel across every column count. Mobile keeps the 4:3 override above. */
@media (min-width: 768px) {
  .works--archive .work--wide { aspect-ratio: 2.723; }
}

.work__no {
  position: absolute;
  top: clamp(.7rem, 1.4vw, 1.1rem);
  left: clamp(.7rem, 1.4vw, 1.1rem);
  z-index: 2;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(241, 239, 236, .55);
  transition: color .4s var(--ease-out);
}
.work:hover .work__no { color: var(--gold); }

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .55rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease-out), opacity .4s var(--ease-out);
}
.work:hover .work__tags,
.work:focus-visible .work__tags { max-height: 4rem; opacity: 1; }
.work__tag {
  padding: .2rem .5rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d6dae0;
  white-space: nowrap;
}

/* keyboard parity: focusing a card reveals the same detail hover does */
.work:focus-visible .work__veil { opacity: 1; }
.work:focus-visible .work__body { transform: translateY(0); }
.work:focus-visible .work__desc { max-height: 5rem; opacity: 1; }

/* filter transition: outgoing cards settle out before the FLIP re-layout */
.work.is-leaving {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  pointer-events: none;
}

.works-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.works-more__hint {
  margin: 0;
  font-size: .8125rem;
  color: var(--muted-on-dark);
}

.works-empty {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border: 1px dashed var(--line-dark-strong);
  border-radius: var(--radius);
  text-align: center;
}
.works-empty h3 { font-size: var(--step-2); margin: 0 0 .6rem; }
.works-empty p { margin: 0 auto 1.4rem; max-width: 44ch; color: var(--muted-on-dark); }

/* Software / capability strip */
.tool-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .55rem;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out),
              background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.tool-chip:hover {
  color: var(--text-on-dark);
  border-color: var(--gold);
  background: rgba(233, 166, 63, .1);
  transform: translateY(-2px);
}
.tool-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* --------------------------------------------------------------------------
   27. Services — listing cards and detail-page sections
   -------------------------------------------------------------------------- */
.eyebrow .ico { width: 16px; height: 16px; flex: none; }

/* Service detail hero: copy on the left, stats stacked beside it on wide screens */
.page-hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 992px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .page-hero--service .page-hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 0;
    padding-top: 0;
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Two-column text + image block */
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); } }
.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lift);
}
.split__media img { display: block; width: 100%; height: auto; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 8, .45), transparent 55%);
  pointer-events: none;
}

/* What's included */
.deliver-grid {
  display: grid;
  gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.deliver {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-900);
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.deliver:hover { border-color: rgba(233, 166, 63, .45); background: var(--ink-850); transform: translateY(-4px); }
.deliver__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  color: var(--gold);
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.deliver:hover .deliver__ico { border-color: var(--gold); background: rgba(233, 166, 63, .12); }
.deliver__ico .ico { width: 20px; height: 20px; }
.deliver h3 { font-size: var(--step-1); margin: 0 0 .5rem; letter-spacing: -.01em; }
.deliver p { margin: 0; font-size: var(--step--1); line-height: 1.6; color: var(--muted-on-dark); }

/* Related project strip */
.shots {
  display: grid;
  gap: clamp(.6rem, 1.2vw, 1rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--ink-850);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.shot:hover img { transform: scale(1.06); }
.shot__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(6, 7, 8, .92), transparent);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Related services */
.rel-grid {
  display: grid;
  gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.rel-card {
  display: block;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-900);
  color: inherit;
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.rel-card:hover { border-color: rgba(233, 166, 63, .45); background: var(--ink-850); transform: translateY(-4px); color: inherit; }
.rel-card__ico { color: var(--gold); margin-bottom: .9rem; }
.rel-card__ico .ico { width: 26px; height: 26px; }
.rel-card h3 { font-size: var(--step-1); margin: 0 0 .5rem; letter-spacing: -.01em; }
.rel-card p { margin: 0 0 1rem; font-size: var(--step--1); line-height: 1.6; color: var(--muted-on-dark); }
.rel-card:hover .svc__more .ico { transform: translateX(4px); }

/* Listing cards */
.svc-cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-900);
  transform: translateZ(0);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
/* The outline is an overlay ring, not a border. A 1px border on a rounded,
   overflow-hidden box that is simultaneously being translated gets re-rasterised
   against the rounded clip every frame, which reads as a hairline flickering in
   and out. A pseudo-element ring sits on its own layer and stays crisp. */
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  pointer-events: none;
  transition: box-shadow .45s var(--ease-out);
}
.svc-card:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.svc-card:hover::after { box-shadow: inset 0 0 0 1px rgba(233, 166, 63, .55); }
.svc-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* Must match the card, not --ink-850. aspect-ratio on a fractional column
     gives this box a fractional height, so its own background bleeds through
     the image's antialiased bottom row — a lighter hairline that blinks as the
     -6px hover lift changes the subpixel phase. */
  background: var(--ink-900);
  isolation: isolate;
}
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__media::after {
  content: "";
  position: absolute;
  /* -1px bottom so the fade covers the media's own rounding edge outright */
  inset: 0 0 -1px 0;
  background: linear-gradient(to top, rgba(13, 14, 16, 1) 0%, rgba(13, 14, 16, 1) 8%, rgba(13, 14, 16, .25) 45%, transparent 75%);
}
.svc-card__no {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(241, 239, 236, .6);
}
.svc-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 clamp(1.35rem, 2.4vw, 1.85rem) clamp(1.5rem, 2.6vw, 2rem);
  margin-top: -2.25rem;
}
.svc-card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 13px;
  background: var(--ink-850);
  color: var(--gold);
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.svc-card:hover .svc-card__ico { border-color: var(--gold); background: rgba(233, 166, 63, .14); }
.svc-card__ico .ico { width: 23px; height: 23px; }
.svc-card h3 { font-size: var(--step-2); margin: 0 0 .55rem; letter-spacing: -.02em; }
.svc-card h3 a { color: inherit; }
/* stretched hit area so the whole card is clickable, keyboard focus stays on the link */
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card h3 a:hover { color: var(--gold-200); }
.svc-card > .svc-card__body > p { margin: 0 0 1.1rem; font-size: var(--step--1); line-height: 1.65; color: var(--muted-on-dark); }
.svc-card__list { list-style: none; margin: 0 0 1.35rem; padding: 0; display: grid; gap: .45rem; }
.svc-card__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: #c4c9cf;
}
.svc-card__list .ico { width: 15px; height: 15px; flex: none; margin-top: .25rem; color: var(--gold); }
.svc-card .svc__more { margin-top: auto; }

/* --------------------------------------------------------------------------
   28. About — credentials + interactive organisation chart
   -------------------------------------------------------------------------- */
.cred-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.cred {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-900);
  text-align: center;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.cred:hover { border-color: rgba(233, 166, 63, .45); transform: translateY(-4px); }
.cred img { height: 74px; width: auto; margin: 0 auto 1.1rem; }
.cred__ico {
  display: grid; place-items: center;
  width: 74px; height: 74px; margin: 0 auto 1.1rem;
  border: 1px solid var(--line-dark-strong); border-radius: 50%; color: var(--gold);
}
.cred__ico .ico { width: 30px; height: 30px; }
.cred h3 { font-size: var(--step-1); margin: 0 0 .5rem; }
.cred p { margin: 0; font-size: var(--step--1); line-height: 1.6; color: var(--muted-on-dark); }

/* ---- group colours, matching the printed chart legend */
.org {
  --g-lead: #e9a63f;
  --g-exec: #4f9c78;
  --g-biz:  #9aa3ad;
  --g-dev:  #b7a13c;
  --g-mgr:  #6f9dc4;
  --g-team: #a97b8c;
}

.org__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.org__legend { display: flex; flex-wrap: wrap; gap: .45rem; }
.org-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem;
  border: 1px solid var(--line-dark); border-radius: 100px;
  background: transparent; color: var(--muted-on-dark);
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.org-chip i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: currentColor; }
.org-chip span { opacity: .55; font-size: .9em; }
.org-chip--lead i { color: var(--g-lead); } .org-chip--exec i { color: var(--g-exec); }
.org-chip--biz  i { color: var(--g-biz);  } .org-chip--dev  i { color: var(--g-dev);  }
.org-chip--mgr  i { color: var(--g-mgr);  } .org-chip--team i { color: var(--g-team); }
.org-chip:hover { color: var(--text-on-dark); border-color: var(--line-dark-strong); }
.org-chip[aria-pressed="true"] { color: var(--ink-950); background: var(--gold); border-color: var(--gold); font-weight: 600; }
.org-chip[aria-pressed="true"] span { opacity: .7; }
.org__reset {
  padding: .45rem .9rem; border: 1px solid var(--line-dark-strong); border-radius: 100px;
  background: transparent; color: var(--muted-on-dark); font-size: .78rem; cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.org__reset:hover { color: var(--gold); border-color: var(--gold); }

/* dim everything that is not in the highlighted group */
.org.is-filtered .org-card { opacity: .22; filter: grayscale(1); }
.org.is-filtered .org-card.is-match { opacity: 1; filter: none; }

.org__tier-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.org__leads {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---- person card */
.org-card {
  --ring: var(--line-dark-strong);
  position: relative;
  display: flex; align-items: center; gap: .8rem; width: 100%;
  padding: .7rem .95rem .7rem .7rem;
  border: 1px solid var(--line-dark); border-radius: 100px;
  background: var(--ink-900); color: inherit; text-align: left; cursor: pointer;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out),
              transform .35s var(--ease-out), opacity .35s var(--ease-out), filter .35s var(--ease-out);
}
.org-card--lead { --ring: var(--g-lead); } .org-card--exec { --ring: var(--g-exec); }
.org-card--biz  { --ring: var(--g-biz);  } .org-card--dev  { --ring: var(--g-dev);  }
.org-card--mgr  { --ring: var(--g-mgr);  } .org-card--team { --ring: var(--g-team); }
.org-card:hover { border-color: var(--ring); background: var(--ink-850); transform: translateX(3px); }
.org-card__pic, .org-card__ph {
  position: relative; flex: none;
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: var(--ink-800); box-shadow: 0 0 0 2px var(--ring);
}
.org-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.org-card__ph { display: grid; place-items: center; color: var(--ring); }
.org-card__ph .ico { width: 20px; height: 20px; }
.org-card__txt { display: flex; flex-direction: column; min-width: 0; }
.org-card__name {
  font-family: var(--font-display); font-size: .875rem; font-weight: 600; line-height: 1.25;
  letter-spacing: -.01em; color: var(--text-on-dark);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.org-card__role {
  font-size: .72rem; line-height: 1.35; color: var(--muted-on-dark); margin-top: .1rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.org__leads .org-card { border-radius: var(--radius); padding: 1rem; }
.org__leads .org-card__pic { width: 62px; height: 62px; }
.org__leads .org-card__name { font-size: 1rem; white-space: normal; }
.org__leads .org-card__role { white-space: normal; }

/* ---- tools: search + view switch */
.org__tools { display: flex; gap: .5rem; flex-wrap: wrap; }
.org__search {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border: 1px solid var(--line-dark); border-radius: 100px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s var(--ease-out);
}
.org__search:focus-within { border-color: var(--gold); }
.org__search .ico { width: 15px; height: 15px; color: var(--gold); flex: none; }
.org__search input {
  border: 0; background: none; color: var(--text-on-dark);
  font-family: var(--font-body); font-size: .8125rem; width: 10rem; outline: none;
}
.org__search input::placeholder { color: var(--muted-on-dark); }
.org__view {
  padding: .45rem .95rem; border: 1px solid var(--line-dark); border-radius: 100px;
  background: transparent; color: var(--muted-on-dark);
  font-family: var(--font-display); font-size: .78rem; cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.org__view:hover { color: var(--text-on-dark); border-color: var(--line-dark-strong); }
.org__view[aria-pressed="true"] { color: var(--ink-950); background: var(--gold); border-color: var(--gold); font-weight: 600; }

/* --------------------------------------------------------------------------
   Organisation map: the whole chart, top-down, pan + zoom
   -------------------------------------------------------------------------- */
.omap {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(233, 166, 63, .07), transparent 62%),
    var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
/* edge-to-edge: the chart gets the full window width, so the fitted scale is
   as large as it can be */
.omap--bleed {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.omap__viewport {
  position: relative;
  height: clamp(26rem, 72vh, 46rem);
  overflow: hidden;
  cursor: grab;
  touch-action: none;                 /* drag and pinch are handled in JS */
  /* Dragging the chart must not sweep a text selection across it. Suppressing
     selection here rather than only while .is-dragging is set, because the
     selection begins on the very first pointermove — before the 3px threshold
     that promotes the gesture to a drag. */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
}
.omap__viewport:focus-visible { outline: 2px solid var(--gold-200); outline-offset: -3px; }
.omap.is-dragging .omap__viewport { cursor: grabbing; }
.omap__canvas {
  position: absolute; top: 0; left: 0;
  transform-origin: 0 0;
  will-change: transform;
  padding: 2rem 2.5rem;
}

/* ---- controls */
.omap__ctrls {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 3;
  display: flex; align-items: center; gap: .3rem;
  padding: .3rem;
  border: 1px solid var(--line-dark-strong); border-radius: 100px;
  background: rgba(8, 9, 10, .85);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.omap__btn {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--text-on-dark); font-size: 1rem; line-height: 1; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
.omap__btn:hover { background: rgba(233, 166, 63, .16); color: var(--gold); }
.omap__btn--wide {
  width: auto; padding: 0 .75rem; border-radius: 100px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
}
.omap__pct {
  min-width: 3.1rem; text-align: center;
  font-family: var(--font-display); font-size: .72rem; color: var(--muted-on-dark);
  font-variant-numeric: tabular-nums;
}
.omap__hint {
  margin: 0; padding: .7rem 1rem;
  border-top: 1px solid var(--line-dark);
  text-align: center; font-size: .72rem; color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   The tree. Nested lists laid out side by side with drawn elbow connectors —
   the same shape as the printed chart, but live markup.
   -------------------------------------------------------------------------- */
.otree ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 0; position: relative; }
.otree li {
  position: relative;
  padding: 30px 7px 0;
  display: flex; flex-direction: column; align-items: center;
}
/* the two half-width rails above each child */
.otree li::before,
.otree li::after {
  content: ""; position: absolute; top: 0; right: 50%;
  width: 50%; height: 30px;
  border-top: 1px solid var(--line-dark-strong);
}
.otree li::after { right: auto; left: 50%; border-left: 1px solid var(--line-dark-strong); }
/* an only child needs just the straight drop, no elbows */
.otree li:only-child::before,
.otree li:only-child::after { display: none; }
/* trim the outer halves so the rail spans exactly the sibling row */
.otree li:first-child::before,
.otree li:last-child::after { border: 0 none; }
.otree li:last-child::before { border-right: 1px solid var(--line-dark-strong); border-radius: 0 6px 0 0; }
.otree li:first-child::after { border-radius: 6px 0 0 0; }
/* the drop from a parent into its children's rail */
.otree ul ul::before,
.otree .oband + ul::before {
  content: ""; position: absolute; top: -30px; left: 50%;
  width: 0; height: 30px;
  border-left: 1px solid var(--line-dark-strong);
}
.otree__root, .otree__root > li { padding-top: 0; }
.otree__root > li::before, .otree__root > li::after { display: none; }
.otree > .otree__root > li > ul { margin-top: 30px; }

/* leadership band at the top */
.oband {
  display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
  padding: .8rem;
  border: 1px solid rgba(233, 166, 63, .35); border-radius: var(--radius);
  background: rgba(233, 166, 63, .05);
  position: relative;
}
.oband::after {
  content: "Leadership";
  position: absolute; top: -.62rem; left: 50%; transform: translateX(-50%);
  padding: 0 .5rem; background: var(--ink-900);
  font-family: var(--font-display); font-size: .58rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}

/* ---- a node */
.onode {
  --ring: var(--line-dark-strong);
  position: relative;
  width: 128px;
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem;
  padding: .7rem .45rem .6rem;
  border: 1px solid var(--line-dark); border-top: 2px solid var(--ring);
  border-radius: 10px;
  background: var(--ink-850);
  color: inherit; text-align: center; cursor: pointer;
  transition: transform .28s var(--ease-out), border-color .28s var(--ease-out),
              box-shadow .28s var(--ease-out), opacity .3s var(--ease-out), filter .3s var(--ease-out);
}
.onode--lead { --ring: var(--g-lead); } .onode--exec { --ring: var(--g-exec); }
.onode--biz  { --ring: var(--g-biz);  } .onode--dev  { --ring: var(--g-dev);  }
.onode--mgr  { --ring: var(--g-mgr);  } .onode--team { --ring: var(--g-team); }

.onode__pic, .onode .org-card__ph {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: var(--ink-800); box-shadow: 0 0 0 2px var(--ring);
  flex: none;
}
.onode__pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-user-drag: none;
  pointer-events: none;               /* the button owns the interaction */
}
.onode .org-card__ph { display: grid; place-items: center; color: var(--ring); }
.onode .org-card__ph .ico { width: 22px; height: 22px; }
.onode__name {
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -.01em; color: var(--text-on-dark);
}
.onode__role {
  font-size: .61rem; line-height: 1.25; color: var(--muted-on-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* hover lifts a card above its neighbours and counter-scales it against the
   current zoom, so the fitted overview stays readable without zooming in */
.onode:hover, .onode:focus-visible {
  z-index: 5;
  border-color: var(--ring);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9), 0 0 0 1px var(--ring);
  transform: scale(var(--pop, 1.06));
}
.oband .onode { width: 146px; background: var(--ink-800); }

/* filter dimming */
.org.is-filtered .onode { opacity: .18; filter: grayscale(1); }
.org.is-filtered .onode.is-match { opacity: 1; filter: none; }
/* search hit */
.onode.is-hit {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 26px rgba(233,166,63,.5);
  animation: hitPulse 1.6s var(--ease-out) infinite;
}
@keyframes hitPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(233,166,63,.42); }
  50%      { box-shadow: 0 0 0 2px var(--gold), 0 0 34px rgba(233,166,63,.72); }
}

/* entrance: the chart draws itself in */
.otree .onode, .otree .oband { animation: nodeIn .55s var(--ease-out) both; }
@keyframes nodeIn {
  from { opacity: 0; transform: translateY(-12px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
  .omap__viewport { height: clamp(22rem, 58vh, 30rem); }
  .oband { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Hover card. Lives at body level and is positioned from the node's screen
   rect, so the chart viewport's overflow:hidden cannot clip it.
   -------------------------------------------------------------------------- */
.otip {
  position: fixed;
  top: 0; left: 0;
  z-index: 1900;
  width: min(20rem, calc(100vw - 1.5rem));
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0), calc(var(--y, 0) + 8px), 0) scale(.96);
  transform-origin: 50% 100%;
  transition: opacity .22s var(--ease-out), transform .28s var(--ease-out);
  will-change: transform, opacity;
}
.otip.is-on {
  opacity: 1;
  pointer-events: auto;               /* so the CTA inside is clickable */
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1);
}
.otip--below { transform-origin: 50% 0; }

.otip__inner {
  position: relative;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--ring, var(--line-dark-strong));
  border-radius: var(--radius);
  background: rgba(19, 20, 23, .97);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04);
}
/* a hairline of the person's team colour across the top */
.otip__inner::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ring, var(--gold));
}

.otip__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.otip__pic {
  width: 58px; height: 58px; flex: none;
  border-radius: 50%; overflow: hidden; background: var(--ink-800);
  box-shadow: 0 0 0 2px var(--ring, var(--gold));
}
.otip__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.otip__id { min-width: 0; }
.otip__tag {
  margin: 0 0 .2rem;
  font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ring, var(--gold));
}
.otip__name {
  margin: 0;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: -.015em; line-height: 1.2; color: var(--text-on-dark);
}
.otip__role { margin: .15rem 0 0; font-size: .78rem; line-height: 1.3; color: var(--gold-200); }

.otip__blurb {
  margin: 0;
  font-size: .8125rem; line-height: 1.6; color: var(--muted-on-dark);
}
.otip__extra {
  margin: .7rem 0 0; padding-top: .7rem;
  border-top: 1px solid var(--line-dark);
  font-size: .72rem; line-height: 1.5; color: #c4c9cf;
}
.otip__reports {
  margin: .7rem 0 0;
  font-size: .72rem; color: var(--muted-on-dark);
}
.otip__reports b { color: var(--text-on-dark); font-weight: 600; }

.otip__cta {
  margin-top: .9rem; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line-dark-strong); border-radius: 100px;
  background: transparent; color: var(--text-on-dark);
  font-family: var(--font-display); font-size: .75rem; font-weight: 600;
  text-decoration: none;   /* it is an <a> to the member's page now */
  cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.otip__cta[hidden] { display: none; }
.otip__cta:hover { color: var(--ink-950); background: var(--gold); border-color: var(--gold); }
.otip__cta .ico { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.otip__cta:hover .ico { transform: translateX(3px); }

/* pointer toward the node */
.otip__arrow {
  position: absolute; left: var(--ax, 50%); bottom: -6px;
  width: 11px; height: 11px; margin-left: -5.5px;
  background: rgba(19, 20, 23, .97);
  border-right: 1px solid var(--ring, var(--line-dark-strong));
  border-bottom: 1px solid var(--ring, var(--line-dark-strong));
  transform: rotate(45deg);
}
.otip--below .otip__arrow {
  bottom: auto; top: -6px;
  border: 0;
  border-left: 1px solid var(--ring, var(--line-dark-strong));
  border-top: 1px solid var(--ring, var(--line-dark-strong));
}

@media (prefers-reduced-motion: reduce) {
  .otip { transition: opacity .001ms; }
}

/* ---- person detail dialog */
.person {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: var(--gutter);
  background: rgba(5, 6, 7, .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
}
.person.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out), visibility 0s; }
.person__panel {
  position: relative; width: min(100%, 30rem);
  max-height: min(86vh, 44rem); overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line-dark-strong); border-radius: var(--radius-lg);
  background: var(--ink-900); text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .45s var(--ease-out);
}
.person.is-open .person__panel { transform: none; }
.person__close {
  position: absolute; top: .9rem; right: .9rem;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong); border-radius: 50%;
  background: transparent; color: var(--muted-on-dark); cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.person__close:hover { color: var(--gold); border-color: var(--gold); }
.person__close .ico { width: 16px; height: 16px; }
.person__pic {
  width: 118px; height: 118px; margin: 0 auto 1.25rem;
  border-radius: 50%; overflow: hidden; background: var(--ink-800);
  box-shadow: 0 0 0 2px var(--gold);
}
.person__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__tag {
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .5rem;
}
.person__name { font-size: var(--step-2); margin: 0 0 .3rem; letter-spacing: -.02em; }
.person__role { margin: 0 0 1.1rem; color: var(--gold-200); font-size: .9375rem; }
.person__blurb { margin: 0; color: var(--muted-on-dark); font-size: .9375rem; line-height: 1.7; }
.person__extra {
  margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line-dark);
  color: #c4c9cf; font-size: .8125rem; line-height: 1.6;
}
.person__reports { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); text-align: left; }
.person__reports h4 {
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-on-dark); margin: 0 0 .7rem;
}
.person__reports ul { display: grid; gap: .4rem; }
.person__reports li { font-size: .8125rem; color: #c4c9cf; display: flex; gap: .5rem; align-items: baseline; }
.person__reports li b { color: var(--text-on-dark); font-weight: 600; }
/* the dialog's way through to the full profile — the only route on touch,
   where the hover card never appears */
.person__cta { margin-top: 1.35rem; width: 100%; }
.person__cta[hidden] { display: none; }

/* --------------------------------------------------------------------------
   30. FAQ hub + Contact page
   -------------------------------------------------------------------------- */
/* a hero with no photograph behind it */
.page-hero--flat {
  background: var(--ink-950);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero--flat .page-hero__veil {
  background:
    radial-gradient(90% 60% at 15% 0%, rgba(233, 166, 63, .12), transparent 60%),
    linear-gradient(to bottom, var(--ink-900), var(--ink-950));
}

/* ---- search */
.faq-search {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.faq-search__box {
  display: inline-flex; align-items: center; gap: .6rem;
  flex: 1 1 20rem; max-width: 30rem;
  padding: .75rem 1.15rem;
  border: 1px solid var(--line-dark-strong); border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.faq-search__box:focus-within { border-color: var(--gold); background: rgba(233, 166, 63, .07); }
.faq-search__box .ico { width: 17px; height: 17px; color: var(--gold); flex: none; }
.faq-search__box input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  color: var(--text-on-dark); font-family: var(--font-body); font-size: var(--step-0);
}
.faq-search__box input::placeholder { color: var(--muted-on-dark); }
.faq-search__count { margin: 0; font-size: .8125rem; color: var(--muted-on-dark); }

/* ---- topic filter */
.faq-nav {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.faq-nav__btn {
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-dark); border-radius: 100px;
  background: transparent; color: var(--muted-on-dark);
  font-family: var(--font-display); font-size: .8125rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.faq-nav__btn span { opacity: .55; font-size: .82em; margin-left: .25rem; }
.faq-nav__btn:hover { color: var(--text-on-dark); border-color: var(--line-dark-strong); }
.faq-nav__btn[aria-pressed="true"] {
  color: var(--ink-950); background: var(--gold); border-color: var(--gold); font-weight: 600;
}
.faq-nav__btn[aria-pressed="true"] span { opacity: .7; }

/* ---- groups */
.faq-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.faq-group.is-hidden { display: none; }
.faq-group__title {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: var(--step-2); margin: 0 0 1.25rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--line-dark);
  letter-spacing: -.02em;
}
.faq-group__title span {
  font-family: var(--font-body); font-size: .75rem; font-weight: 500;
  color: var(--gold); letter-spacing: .1em;
}
.faq__item.is-hidden { display: none; }
/* search highlight */
.faq__item.is-hit .faq__q { color: var(--gold-200); }

.faq-empty {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px dashed var(--line-dark-strong); border-radius: var(--radius);
  text-align: center; color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 992px) {
  .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

.channels { display: grid; gap: .6rem; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; list-style: none; }
.channel {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--ink-900); color: inherit;
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.channel:hover {
  border-color: var(--gold); background: var(--ink-850);
  transform: translateX(4px); color: inherit;
}
.channel__ico {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-dark-strong); border-radius: 50%;
  color: var(--gold);
  transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.channel:hover .channel__ico { border-color: var(--gold); background: rgba(233, 166, 63, .12); }
.channel__ico .ico { width: 18px; height: 18px; }
.channel__txt { display: flex; flex-direction: column; min-width: 0; }
.channel__txt b {
  font-family: var(--font-display); font-size: .9375rem; font-weight: 600;
  color: var(--text-on-dark);
}
.channel__txt small { font-size: .75rem; color: var(--muted-on-dark); margin-top: .1rem; }
.channel__go {
  width: 16px; height: 16px; margin-left: auto; flex: none;
  color: var(--gold); opacity: 0;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.channel:hover .channel__go { opacity: 1; transform: translateX(3px); }

.promise {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(233, 166, 63, .05);
}
.promise h3 {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.promise__list { counter-reset: p; list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.promise__list li {
  counter-increment: p;
  position: relative; padding-left: 2.1rem;
  font-size: .8125rem; line-height: 1.6; color: var(--muted-on-dark);
}
.promise__list li::before {
  content: counter(p);
  position: absolute; left: 0; top: -.1rem;
  width: 22px; height: 22px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: var(--gold);
}
.promise__list li b { color: var(--text-on-dark); font-weight: 600; }

.assurance {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
  margin-top: 1.35rem;
}
.assurance span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; color: var(--muted-on-dark);
}
.assurance .ico { width: 15px; height: 15px; color: var(--gold); }

.contact-form-wrap {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  background: var(--ink-900);
  box-shadow: var(--shadow-lift);
}
.form-intro { margin: 0 0 1.35rem; font-size: .78rem; color: var(--muted-on-dark); }

/* Honeypot. Positioned off-screen rather than display:none — a fair number of
   bots skip display:none inputs, so hiding it that way defeats the trap. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* offices */
.office-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.office {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--ink-900);
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.office:hover { border-color: rgba(233, 166, 63, .45); transform: translateY(-4px); }
.office h3 { font-size: var(--step-1); margin: 0 0 .75rem; }
.office address {
  font-style: normal; margin: 0 0 1rem;
  font-size: .8125rem; line-height: 1.7; color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   31. Reduced motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .mask-line > span { transform: none !important; }
  .hero__slide img { transform: none; }
  .cursor, .cursor__dot { display: none; }
  .work.is-leaving { display: none; }
}

@media print {
  .site-header, .floats, .preloader, .cursor, .cursor__dot, .scroll-progress, .hero__stage { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   32. Inline quote form — the hero's right column
   Light card on the dark hero: the estimator is the offer now, so the pitch
   the old offer card carried (badge, price, promises, intro call) is folded
   into its chrome rather than living in a separate box.
   -------------------------------------------------------------------------- */
.qi { min-width: 0; }

.qi__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-lg);
  background: var(--paper-50);
  color: var(--text-on-light);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  isolation: isolate;
  /* A CSS entrance, not [data-reveal] — the form must never depend on JS to
     become visible, since it is the page's primary conversion path. */
  animation: qiCardIn .8s var(--ease-out) both;
}
@keyframes qiCardIn {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---- offer header */
.qi__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: .9rem clamp(1.05rem, 2.2vw, 1.6rem) .8rem;
  background: var(--paper-100);
  border-bottom: 1px solid var(--paper-300);
}
.qi__intro { min-width: 0; }
.qi__tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .5rem;
  padding: .28rem .7rem;
  border: 1px solid rgba(233, 166, 63, .45);
  border-radius: 100px;
  background: rgba(233, 166, 63, .16);
  color: var(--gold-ink);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.qi__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  box-shadow: 0 0 0 0 rgba(233, 166, 63, .7);
  animation: pulseDot 2.4s var(--ease-out) infinite;
}
.qi__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
/* the CMS copy ships a .text-gold span, which needs the darker gold on paper */
.qi .text-gold { color: var(--gold-ink); }
.qi__sub { margin: .2rem 0 0; font-size: .8rem; color: var(--muted-on-light); }

.qi__offer { margin-left: auto; text-align: right; }
.qi__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .25rem;
  margin: 0;
  font-family: var(--font-display);
}
.qi__price span { font-size: .82rem; color: var(--muted-on-light); font-weight: 500; }
.qi__price b {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--gold-ink);
}
.qi__note {
  max-width: 24ch;
  margin: .25rem 0 0 auto;
  font-size: .66rem;
  line-height: 1.45;
  color: var(--muted-on-light);
}

/* ---- progress */
.qi__meter { padding: .75rem clamp(1.05rem, 2.2vw, 1.6rem) 0; }
.qi__count {
  margin: 0 0 .45rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.qi__count b { color: var(--text-on-light); }
.qi__count em { font-style: normal; opacity: .45; margin: 0 .15rem; }
.qi__count span { color: var(--gold-ink); }
.qi__track {
  height: 4px;
  border-radius: 100px;
  background: var(--paper-200);
  overflow: hidden;
}
.qi__bar {
  display: block;
  height: 100%;
  width: 16.6%;
  border-radius: inherit;
  background: var(--gold);
  transition: width .5s var(--ease-out);
}

/* ---- steps */
.qi__body {
  padding: .85rem clamp(1.05rem, 2.2vw, 1.6rem) 1rem;
  /* a floor, not a fixed height — keeps the card from lurching between the
     short steps and the long ones without capping the tall ones */
  min-height: 18rem;
}
.qi__step {
  min-width: 0;          /* fieldsets refuse to shrink in grid/flex without this */
  border: 0;
  margin: 0;
  padding: 0;
  display: none;
}
.qi__step.is-on { display: block; animation: qiIn .42s var(--ease-out) both; }
@keyframes qiIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: none; }
}
.qi__step.is-back { animation-name: qiInBack; }
@keyframes qiInBack {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}

.qi__q {
  margin: 0 0 .2rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.qi__hint { margin: 0 0 .7rem; font-size: .74rem; color: var(--muted-on-light); }
.qi__label {
  margin: .95rem 0 .45rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.qi__grid { display: grid; gap: .35rem; }
.qi__grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

.qi__opt { position: relative; display: block; cursor: pointer; }
.qi__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.qi__opt-in {
  display: flex;
  align-items: center;
  gap: .55rem;
  height: 100%;
  padding: .5rem .7rem;
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .22s var(--ease-out), background-color .22s var(--ease-out),
              transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.qi__opt-in b {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
}
.qi__opt-in small {
  display: block;
  margin-top: .05rem;
  font-size: .68rem;
  line-height: 1.35;
  color: var(--muted-on-light);
}
.qi__opt-text { min-width: 0; }
.qi__opt-ico {
  width: 18px; height: 18px; flex: none;
  color: var(--gold-ink); opacity: .6;
  transition: opacity .22s var(--ease-out);
}
.qi__tick {
  width: 15px; height: 15px; flex: none;
  margin-left: auto;
  color: var(--gold-ink);
  opacity: 0; transform: scale(.5);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
}
.qi__opt:hover .qi__opt-in {
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -14px rgba(8, 9, 10, .5);
}
.qi__opt:active .qi__opt-in { transform: translateY(0); }
.qi__opt input:checked + .qi__opt-in {
  border-color: var(--gold);
  background: rgba(233, 166, 63, .13);
}
.qi__opt input:checked + .qi__opt-in .qi__tick { opacity: 1; transform: none; }
.qi__opt input:checked + .qi__opt-in .qi__opt-ico { opacity: 1; }
.qi__opt input:focus-visible + .qi__opt-in {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
}
.qi__opt--wide .qi__opt-in { align-items: flex-start; }

/* the three promises the offer card used to make, kept on the opening step */
.qi__perks {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  margin: .8rem 0 0;
  padding: .7rem 0 0;
  border-top: 1px solid var(--paper-200);
  list-style: none;
}
.qi__perks li {
  display: flex;
  gap: .35rem;
  font-size: .7rem;
  line-height: 1.4;
  color: var(--muted-on-light);
}
.qi__perks .ico { width: 13px; height: 13px; flex: none; margin-top: .18rem; color: var(--gold-ink); }

/* ---- contact fields */
/* Explicit two columns, never auto-fit: at this card width auto-fit resolved
   to three, which paired name/email/company and orphaned the phone on a row
   of its own. Fixed pairs read as two tidy rows instead. */
.qi__fields {
  display: grid;
  gap: 0 .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 479.98px) {
  .qi__fields { grid-template-columns: minmax(0, 1fr); }
}
.qi__field { margin: 0 0 .72rem; }
/* the notes box is the last visible field — its trailing margin only ever
   doubled up with the body padding underneath it. :last-of-type, not
   :last-child: the honeypot span sits after it in the markup. */
.qi__step > .qi__field:last-of-type { margin-bottom: 0; }
.qi__field label {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: .35rem;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.qi__req { color: var(--gold-ink); }
/* naming the optional ones lowers the perceived size of the ask */
.qi__opt-tag {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #9aa0a8;
}
.qi__ctrl {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--paper-300);
  border-radius: 9px;
  background: #fff;
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: .875rem;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.qi__ctrl::placeholder { color: #9aa0a8; }
.qi__ctrl:hover { border-color: var(--line-light-strong); }
.qi__ctrl:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 166, 63, .22);
}
.qi__ctrl.is-bad { border-color: #b3402f; }
textarea.qi__ctrl { min-height: 3rem; resize: vertical; }

/* ---- result */
.qi__result { display: none; text-align: center; padding: .3rem 0; }
.qi__result.is-on { display: block; animation: qiPop .5s var(--ease-out) both; }
@keyframes qiPop {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: none; }
}
.qi__result-mark {
  width: 52px; height: 52px;
  margin: 0 auto .8rem;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(233, 166, 63, .14);
  color: var(--gold-ink);
  animation: qiRing 2.4s var(--ease-out) infinite;
}
@keyframes qiRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 166, 63, .38); }
  50%      { box-shadow: 0 0 0 13px rgba(233, 166, 63, 0); }
}
.qi__result-mark .ico { width: 24px; height: 24px; }
.qi__result-eyebrow {
  margin: 0 0 .2rem;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-on-light);
}
.qi__result-price {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.qi__result-price em { font-style: normal; font-size: .42em; font-weight: 500; color: var(--muted-on-light); }
.qi__result-note { margin: 0 0 .15rem; font-size: .78rem; color: var(--muted-on-light); }
.qi__result-plan { margin: 0 0 .7rem; font-size: .78rem; font-weight: 600; color: var(--gold-ink); }
.qi__summary {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem;
  margin: 0 0 .8rem; padding: 0; list-style: none;
}
.qi__summary li {
  padding: .2rem .6rem;
  border: 1px solid var(--paper-300);
  border-radius: 100px;
  background: #fff;
  font-size: .68rem;
  color: var(--muted-on-light);
}
.qi__disclaimer {
  max-width: 42ch;
  margin: 0 auto;
  font-size: .7rem;
  line-height: 1.55;
  color: var(--muted-on-light);
}
.qi__status {
  margin: .65rem 0 0;
  text-align: center;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.5;
}
.qi__status:empty { display: none; }   /* no reserved gap on the quiet steps */
.qi__status[data-state="ok"] { color: #1c7a4c; }
.qi__status[data-state="err"] { color: #b3402f; }

/* ---- nav */
.qi__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .75rem clamp(1.05rem, 2.2vw, 1.6rem);
  border-top: 1px solid var(--paper-200);
  background: var(--paper-100);
}
.qi__assure {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  min-width: 0;
  font-size: .74rem;
  color: var(--muted-on-light);
}
.qi__assure .ico { width: 15px; height: 15px; flex: none; color: var(--gold-ink); }
.qi__nav { margin-left: auto; display: flex; gap: .4rem; }

/* ---- tail */
.qi__tail { padding: .55rem clamp(1.05rem, 2.2vw, 1.6rem) .6rem; }
.qi__alt {
  display: block;
  margin-bottom: .45rem;
  text-align: center;
  font-size: .74rem;
  color: var(--muted-on-light);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
.qi__alt:hover { color: var(--gold-ink); text-decoration: underline; }
.qi__call {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-top: .55rem;
  border-top: 1px solid var(--paper-200);
  color: var(--text-on-light);
  text-decoration: none;
}
.qi__call-ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--paper-300);
  border-radius: 50%;
  background: #fff;
  color: var(--gold-ink);
  flex: none;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.qi__call:hover .qi__call-ico { border-color: var(--gold); background: rgba(233, 166, 63, .14); }
.qi__call-text { min-width: 0; }
.qi__call b { display: block; font-family: var(--font-display); font-size: .82rem; font-weight: 600; }
.qi__call small { font-size: .72rem; color: var(--muted-on-light); }
.qi__call .ico--arrow {
  width: 17px; height: 17px;
  margin-left: auto;
  color: var(--gold-ink);
  transition: transform .3s var(--ease-out);
}
.qi__call:hover .ico--arrow { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .qi__card { width: 100%; max-width: 34rem; margin-inline: auto; }
}
@media (max-width: 575.98px) {
  .qi__head { flex-direction: column; gap: .6rem; }
  .qi__offer { margin-left: 0; text-align: left; }
  .qi__price { justify-content: flex-start; }
  .qi__note { margin-left: 0; }
  .qi__body { min-height: 0; }
  .qi__nav { width: 100%; margin-left: 0; }
  .qi__nav .btn-a { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .qi__card,
  .qi__step.is-on,
  .qi__result.is-on,
  .qi__result-mark,
  .qi__pulse { animation: none; }
  .qi__bar { transition: none; }
}

/* --------------------------------------------------------------------------
   33. Team member profile — one template, driven entirely by the record
   Leans on the existing page-hero / section / stat-strip system; everything
   here is only the person-specific furniture. --accent is set inline from the
   member's colour group, so a profile carries its chart colour throughout.
   -------------------------------------------------------------------------- */
.tm {
  --g-lead: #e9a63f;
  --g-exec: #4f9c78;
  --g-biz:  #9aa3ad;
  --g-dev:  #b7a13c;
  --g-mgr:  #6f9dc4;
  --g-team: #a97b8c;
  --accent: var(--gold);
}

/* ---- header */
.page-hero--person { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.tm-hero__glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: min(46rem, 80vw);
  aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%);
  pointer-events: none;
}

.tm-hero {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.tm-hero > * { min-width: 0; }
@media (min-width: 860px) {
  .tm-hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); }
}

.tm-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.tm-hero__name { max-width: 16ch; }
.tm-hero__role {
  margin: .6rem 0 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--accent);
}
.tm-hero__meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 1rem 0 0;
  font-size: var(--step--1);
  color: var(--muted-on-dark);
}
.tm-hero__meta .ico { width: 16px; height: 16px; color: var(--accent); }

.tm-links { display: flex; gap: .5rem; }
.tm-link {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  color: var(--text-on-dark);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out),
              background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.tm-link .ico { width: 18px; height: 18px; }
.tm-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-2px);
}
.tm-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- portrait */
.tm-hero__media { display: flex; justify-content: center; }
.tm-photo {
  position: relative;
  width: min(100%, 22rem);
  margin: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  background: var(--ink-850);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lift);
}
.tm-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
  pointer-events: none;
}
.tm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-photo__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: var(--ink-800);
}

.tm-stats {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 700px) {
  .tm-stats { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
}
/* a profile's tiles are facts about a person, not headline figures — a name
   or a division set at the 4rem stat size reads as a shout */
.tm-stats .stat b { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
.tm-stats .stat--text b {
  font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  text-wrap: balance;
}

/* ---- pull quote */
.tm-quote {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.2rem, 2vw, 1.6rem);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, .035);
}
.tm-quote .ico {
  width: 22px; height: 22px;
  color: var(--accent);
  opacity: .55;
  margin-bottom: .4rem;
}
.tm-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.55;
  color: var(--text-on-dark);
}

/* ---- education */
.tm-edu { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.tm-edu h3 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin: 0 0 .85rem;
}
.tm-edu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tm-edu li {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line-dark-strong);
  line-height: 1.5;
}
.tm-edu li b { display: block; font-family: var(--font-display); font-size: var(--step-0); font-weight: 600; }
.tm-edu li span,
.tm-edu__note { display: block; font-size: var(--step--1); color: var(--muted-on-dark); }
.tm-edu__note { margin: 0; }

/* ---- responsibilities */
.tm-focus { list-style: none; margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; padding: 0; display: grid; gap: .8rem; }
.tm-focus li {
  display: flex;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.tm-focus li:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: rgba(255, 255, 255, .045);
  transform: translateX(3px);
}
.tm-focus__ico { flex: none; color: var(--accent); line-height: 1; margin-top: .1rem; }
.tm-focus__ico .ico { width: 19px; height: 19px; }
.tm-focus__text { min-width: 0; }
.tm-focus__text b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.35;
}
.tm-focus__text small {
  display: block;
  margin-top: .2rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--muted-on-dark);
}

/* ---- org position */
.tm-org { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 860px) {
  .tm-org { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: start; }
}
.tm-org__col { min-width: 0; }
.tm-org__label {
  margin: 0 0 .8rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

/* ---- person card */
.tm-people { display: grid; gap: .6rem; }
@media (min-width: 620px) {
  .tm-people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
}
.tm-people--grid { gap: .7rem; }

.tm-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out),
              transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.tm-card--light {
  border-color: var(--paper-300);
  background: #fff;
  color: var(--text-on-light);
}
a.tm-card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(8, 9, 10, .7);
}
a.tm-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.tm-card__pic {
  position: relative;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
}
.tm-card--light .tm-card__pic { background: var(--paper-200); }
.tm-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-card__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
}
.tm-card__id { min-width: 0; }
.tm-card__id b {
  display: block;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tm-card__id small {
  display: block;
  font-size: .76rem;
  line-height: 1.4;
  color: var(--muted-on-dark);
}
.tm-card--light .tm-card__id small { color: var(--muted-on-light); }
.tm-card .ico--arrow {
  width: 17px; height: 17px;
  margin-left: auto;
  flex: none;
  color: var(--accent);
  transition: transform .35s var(--ease-out);
}
a.tm-card:hover .ico--arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .tm-focus li:hover,
  a.tm-card:hover,
  .tm-link:hover { transform: none; }
}
