/* ==========================================================================
   Ares Experience Systems — design system
   ========================================================================== */

:root {
  /* Palette */
  --ivory: #EDE6D6;
  --bone: #EAE4D8;
  --pearl: #D9D4CA;
  --stone: #A9A399;
  --grey: #6B665E;
  --graphite: #2C2B29;
  --charcoal: #1B1A19;
  --black: #0E0E0D;
  --gold: #B8913A;
  --gold-soft: #D6B567;
  --gold-text: #7E6120;   /* gold that passes AA on ivory */

  /* Semantic */
  --bg: #0A0A09;
  --fg: #EDE6D6;
  --muted: #A39C8F;
  --line: rgba(23, 22, 20, .14);
  --line-strong: rgba(23, 22, 20, .32);
  --focus: #8C6A1F;

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: var(--font-body); /* no monospace in the brand */

  --fs-hero: clamp(2.6rem, 1.2rem + 6.2vw, 7.4rem);
  --fs-h1: clamp(2.4rem, 1.3rem + 4.6vw, 5.8rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.4vw, 4.4rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.9rem);
  --fs-lead: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-micro: .75rem;

  /* Space & layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --section: clamp(84px, 11vw, 176px);
  --radius: 0px;     /* architectural: panels, image plates */
  --r-control: 0px; /* fields, small surfaces */
  --r-surface: 0px; /* device frames, viewers, cards */
  --r-pill: 0px;   /* buttons, chips, segmented controls */
  --shadow-1: 0 1px 2px rgba(20,18,15,.06), 0 4px 12px -6px rgba(20,18,15,.12);
  --shadow-2: 0 2px 4px rgba(20,18,15,.05), 0 24px 48px -24px rgba(20,18,15,.35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

/* Tone helpers: sections switch the semantic tokens */
.tone-dark {
  --bg: var(--charcoal);
  --fg: #F2EEE6;
  --muted: #B3ADA3;
  --line: rgba(242, 238, 230, .14);
  --line-strong: rgba(242, 238, 230, .32);
  --focus: var(--gold-soft);
  --gold-text: var(--gold-soft);
  background: var(--bg);
  color: var(--fg);
}
.tone-black { --bg: var(--black); --fg: #F2EEE6; --muted: #B3ADA3; --line: rgba(242,238,230,.14); --line-strong: rgba(242,238,230,.32); --focus: var(--gold-soft); --gold-text: var(--gold-soft); background: var(--bg); color: var(--fg); }
.tone-bone { --bg: #121211; background: var(--bg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: #0A0A09;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg:has(> use) { fill: currentColor; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--black); color: var(--ivory); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .66); }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 88;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .95;
  text-wrap: balance;
}
.display { font-size: var(--fs-hero); line-height: .9; letter-spacing: -.025em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -.005em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.display .serif, .h1 .serif, .h2 .serif { font-size: 1.08em; line-height: .8; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow--num::before { display: none; }
.eyebrow b { color: var(--gold-text); font-weight: 600; }

.gold { color: var(--gold-text); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--ivory); --btn-bd: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.975); }
.btn:hover { --btn-bg: var(--graphite); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow, .link-arrow:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--fg); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--black); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: #FFFFFF; --btn-bd: #FFFFFF; }
.tone-dark .btn--ghost, .tone-black .btn--ghost { --btn-fg: var(--fg); }
.btn--gold { --btn-bg: var(--gold-soft); --btn-fg: var(--black); --btn-bd: var(--gold-soft); }
.btn--gold:hover { --btn-bg: #E2C67F; --btn-bd: #E2C67F; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--fg);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s;
  border-bottom: 1px solid transparent;
}
.site-header[data-tone='dark'] { color: #F2EEE6; --focus: var(--gold-soft); }
.site-header.is-scrolled { background: rgba(10, 10, 9, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); color: #171614; --focus: #8C6A1F; }
.site-header[data-tone='dark'].is-scrolled { background: rgba(20, 19, 18, .86); border-color: rgba(242,238,230,.1); color: #F2EEE6; --focus: var(--gold-soft); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { width: 30px; height: 29px; color: var(--gold); }
.brand__word { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 600; font-size: 1.25rem; letter-spacing: .2em; text-transform: uppercase; padding-left: 2px; }
.brand__sub { font-size: .5625rem; line-height: 1.25; letter-spacing: .18em; text-transform: uppercase; opacity: .62; padding-left: 10px; border-left: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }

.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; text-decoration: none; font-size: .9rem; font-weight: 500;
  opacity: .78; transition: opacity .2s; position: relative;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { opacity: 1; }
.site-nav a[aria-current='page']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold); }

.btn--nav { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.site-header[data-tone='dark'] .btn--nav { --btn-bg: var(--ivory); --btn-fg: var(--black); --btn-bd: var(--ivory); }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars { top: 18px; }
.menu-toggle__bars::before { content: ''; left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before { top: 0; transform: rotate(-90deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--charcoal); color: #F2EEE6;
  padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; --focus: var(--gold-soft);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid rgba(242,238,230,.12); }
.mobile-menu nav a { display: block; padding: 18px 0; text-decoration: none; font-family: var(--font-display); font-variation-settings: 'wdth' 88; font-size: 2rem; font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; }
.mobile-menu nav a[aria-current='page'] { color: var(--gold-soft); }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--charcoal); color: #F2EEE6; border-color: rgba(242,238,230,.1); --focus: var(--gold-soft); }

@media (max-width: 1020px) {
  .site-nav, .btn--nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 112px)); padding-bottom: clamp(56px, 8vw, 120px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: end; }
.hero__title { grid-column: 1 / -1; }
.hero__title .line { display: block; }
.hero__aside { grid-column: 8 / -1; margin-top: clamp(28px, 4vw, 48px); }
.hero__meta { grid-column: 1 / 7; margin-top: clamp(28px, 4vw, 48px); display: flex; gap: 32px; font-size: var(--fs-small); color: var(--muted); align-self: end; }
.hero__meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__aside .lead { margin-bottom: 28px; }

.hero-stage { position: relative; margin-top: clamp(56px, 7vw, 96px); padding-bottom: 6%; }
.hero-stage__main { width: 74%; position: relative; z-index: 2; }
.hero-stage__back { position: absolute; right: 0; top: -9%; width: 50%; z-index: 1; }
.hero-stage__phone { position: absolute; right: 7%; bottom: 0; width: 17%; z-index: 3; }
.hero-stage__caption { position: absolute; left: 0; bottom: -4px; font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-stage__rule { position: absolute; left: 76%; right: 0; top: 48%; height: 1px; background: var(--line); }
@media (max-width: 820px) {
  .hero__aside, .hero__meta { grid-column: 1 / -1; }
  .hero__meta { order: 3; flex-wrap: wrap; gap: 12px 24px; }
  .hero-stage__main { width: 92%; }
  .hero-stage__back { width: 62%; top: -14%; }
  .hero-stage__phone { width: 27%; right: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px)); padding-bottom: clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: end; }
.page-hero__title { grid-column: 1 / span 11; }
.page-hero__body { grid-column: 7 / -1; }
.page-hero__body .lead { margin-bottom: 28px; }
.page-hero__index { grid-column: 1 / 6; align-self: end; font-size: var(--fs-small); color: var(--muted); }
.page-hero__index ol { counter-reset: idx; border-top: 1px solid var(--line); }
.page-hero__index li { counter-increment: idx; border-bottom: 1px solid var(--line); }
.page-hero__index a { display: flex; gap: 16px; padding: 10px 0; text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.page-hero__index a::before { content: counter(idx, decimal-leading-zero); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.page-hero__index a:hover { color: var(--fg); padding-left: 6px; }
@media (max-width: 820px) {
  .page-hero__title, .page-hero__body, .page-hero__index { grid-column: 1 / -1; }
}

/* ---------- Generic grid helpers ---------- */
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: start; }
.split__head { grid-column: 1 / span 5; }
.split__body { grid-column: 7 / -1; }
.split__head--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) {
  .split__head, .split__body { grid-column: 1 / -1; }
  .split__head--sticky { position: static; }
}
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__title { grid-column: 1 / span 8; }
.section-head__aside { grid-column: 9 / -1; }
.section-head__aside p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .section-head__title, .section-head__aside { grid-column: 1 / -1; } }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Offerings (home) ---------- */
.offer { position: relative; overflow: hidden; }
.offer__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; margin-bottom: clamp(48px, 6vw, 96px); }
.offer__label { grid-column: 1 / span 3; }
.offer__label .num { font-family: var(--font-display); font-variation-settings: 'wdth' 88; font-size: 1rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-text); display: block; margin-bottom: 8px; }
.offer__label p { font-size: var(--fs-small); color: var(--muted); max-width: 22ch; }
.offer__title { grid-column: 4 / -1; }
.offer__copy { grid-column: 4 / span 5; }
.offer__list { grid-column: 9 / -1; }
.offer__copy .lead { max-width: 34ch; margin-bottom: 32px; }
@media (max-width: 900px) {
  .offer__label, .offer__title, .offer__copy, .offer__list { grid-column: 1 / -1; }
}

.checklist { border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .975rem; }
.checklist li::before { content: ''; flex: none; width: 7px; height: 7px; transform: translateY(-2px) rotate(45deg); border: 1px solid var(--gold); }

.showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px); align-items: start; }
.showcase figure { margin: 0; }
.showcase__col { display: grid; gap: clamp(40px, 5vw, 72px); }
.showcase__col--right { padding-top: clamp(0px, 8vw, 140px); }
.showcase__offset { width: 86%; margin-left: auto !important; }
.showcase figcaption { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.showcase figcaption b { color: var(--fg); font-weight: 500; }
.showcase__phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); padding-inline: 6%; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__col--right { padding-top: 0; }
  .showcase__offset { width: 100%; }
  .showcase__phones { max-width: 480px; margin-inline: auto; }
}

/* Connected chain (systems teaser) */
.chain { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); position: relative; }
.chain__node { padding: 22px 20px 22px 0; position: relative; }
.chain__node + .chain__node { padding-left: 20px; border-left: 1px solid var(--line); }
.chain__node b { display: block; font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-weight: 600; letter-spacing: .02em; font-size: 1rem; margin-bottom: 4px; }
.chain__node span { font-size: var(--fs-small); color: var(--muted); display: block; line-height: 1.45; }
.chain__node i { font-style: normal; font-size: var(--fs-micro); letter-spacing: .14em; color: var(--gold-text); display: block; margin-bottom: 14px; }
.chain::after {
  content: ''; position: absolute; top: -1px; left: 0; width: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  animation: chain-pulse 5.5s linear infinite;
}
@keyframes chain-pulse { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
@media (max-width: 820px) {
  .chain { grid-template-columns: 1fr; }
  .chain__node, .chain__node + .chain__node { padding: 16px 0 16px 28px; border-left: 1px solid var(--line); }
  .chain__node + .chain__node { border-top: 1px solid var(--line); }
  .chain::after { display: none; }
  .chain__node::before { content: ''; position: absolute; left: -4px; top: 22px; width: 7px; height: 7px; background: var(--gold-soft); transform: rotate(45deg); }
}

.systems-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.systems-stage__main { grid-column: 1 / span 9; position: relative; }
.systems-stage__phone { grid-column: 10 / -1; }
@media (max-width: 820px) {
  .systems-stage__main { grid-column: 1 / -1; }
  .systems-stage__phone { grid-column: 1 / -1; max-width: 220px; margin-inline: auto; }
}

/* ---------- Work / portfolio ---------- */
.filters { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: clamp(32px, 4vw, 56px); border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent; max-width: 100%; }
.filter { position: relative; min-height: 40px; padding: 0 16px; border: 0; background: transparent; border-radius: var(--r-pill); font-size: .875rem; cursor: pointer; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .12s; -webkit-tap-highlight-color: transparent; }
.filter:hover { color: var(--fg); }
.filter:active { transform: scale(.97); }
.filter[aria-pressed='true'] { background: var(--fg); color: var(--bg); box-shadow: var(--shadow-1); }
.filter b { font-weight: 500; font-family: var(--font-mono); font-size: .6875rem; opacity: .6; margin-left: 6px; }
@media (max-width: 700px) {
  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) 24px; grid-auto-flow: dense; }
.work { grid-column: span 6; display: flex; flex-direction: column; }
.work--wide { grid-column: span 7; }
.work--narrow { grid-column: span 5; }
.work--full { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.work--full .work__visual { grid-column: 1 / span 8; }
.work--full .work__meta { grid-column: 9 / -1; padding-top: 0; }
.work[hidden] { display: none; }
@media (max-width: 900px) {
  .work, .work--wide, .work--narrow, .work--full { grid-column: 1 / -1; }
  .work--full { display: flex; }
  .work--full .work__meta { padding-top: 24px; }
}

.work__visual { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 7%; }
.work--wide .work__visual { aspect-ratio: 7 / 5; }
.work--narrow .work__visual { aspect-ratio: 5 / 5.6; }
.work--full .work__visual { aspect-ratio: 16 / 10; }
.work__visual--bone { background: #161614; }
.work__visual--pearl { background: #1A1917; }
.work__visual--clay { background: #1A1714; }
.work__visual--forest { background: #1D3A33; }
.work__visual--ink { background: #121211; }
.work__visual--stone { background: #171716; }
.work__visual img { width: 100%; height: 100%; object-fit: cover; }
.work__stage { width: 100%; transition: transform .8s var(--ease); }
.work:hover .work__stage { transform: scale(1.015); }
.work__meta { padding-top: 24px; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .75rem; letter-spacing: .02em; }
.tag--concept { border-color: transparent; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-text); }
.tag--live { border-color: transparent; background: var(--fg); color: var(--bg); }
.work__title { font-family: var(--font-display); font-variation-settings: 'wdth' 88; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); text-transform: uppercase; letter-spacing: -.005em; line-height: 1; margin-bottom: 6px; }
.work__type { color: var(--muted); margin-bottom: 18px; }
.work__facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.work__facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.work__facts dt { color: var(--muted); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.work__facts dd { margin: 0; line-height: 1.5; }
.work__link { display: inline-block; margin-top: 16px; }
@media (max-width: 520px) { .work__facts > div { grid-template-columns: 1fr; gap: 2px; } }
.work-note { margin-top: clamp(40px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); max-width: 72ch; }

/* ---------- Service index ---------- */
.service-list { border-top: 1px solid var(--line-strong); }
.service {
  display: grid; grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
  transition: padding .4s var(--ease);
}
.service::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.service:hover::before, .service:focus-visible::before { width: 100%; }
.service__num { font-size: var(--fs-small); color: var(--gold-text); font-variant-numeric: tabular-nums; }
.service__name { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.05; font-weight: 600; letter-spacing: -.005em; }
.service__desc { color: var(--muted); margin: 0; max-width: 52ch; }
.service__go { font-size: 1.25rem; transition: transform .35s var(--ease); }
.service:hover .service__go { transform: translateX(6px); }
@media (max-width: 820px) {
  .service { grid-template-columns: 2.5rem 1fr auto; }
  .service__desc { grid-column: 2 / 3; }
  .service__go { grid-row: 1; grid-column: 3; }
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); counter-reset: step; }
.process li { padding: 28px 28px 8px 0; position: relative; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process__num { display: block; font-family: var(--font-display); font-variation-settings: 'wdth' 88; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 500; line-height: 1; color: var(--gold-text); margin-bottom: clamp(32px, 5vw, 72px); }
.process h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: .975rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 24px 0 8px; border-left: 0; }
  .process li + li { border-top: 1px solid var(--line); }
  .process__num { margin-bottom: 16px; }
}

/* ---------- Audience / differentiators ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.audience li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.audience li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.audience b { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.15rem; line-height: 1.15; font-weight: 600; display: block; margin-bottom: 6px; }
.audience span { color: var(--muted); font-size: .925rem; line-height: 1.5; display: block; }
.audience i { font-style: normal; color: var(--gold-text); font-size: var(--fs-micro); letter-spacing: .1em; }
@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr 1fr; }
  .audience li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .audience li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .audience { grid-template-columns: 1fr; }
  .audience li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.principles li { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 1fr; gap: 16px; }
.principles li > span { color: var(--gold-text); font-size: var(--fs-small); font-variant-numeric: tabular-nums; padding-top: 4px; }
.principles h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 8px; line-height: 1.15; }
.principles p { color: var(--muted); margin: 0; font-size: .975rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: left; }
.cta-band__mark { position: absolute; right: -6%; bottom: -18%; width: min(56vw, 760px); color: var(--gold); opacity: .09; pointer-events: none; }
.cta-band__inner { position: relative; max-width: 1100px; }
.cta-band .display { margin-bottom: clamp(28px, 4vw, 44px); }
.cta-band .lead { margin-bottom: 36px; max-width: 46ch; }

/* ---------- Cards for solutions / capabilities ---------- */
.cap-list { border-top: 1px solid var(--line-strong); }
.cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.cap__num { grid-column: 1 / span 1; color: var(--gold-text); font-size: var(--fs-small); font-variant-numeric: tabular-nums; padding-top: 6px; }
.cap__title { grid-column: 2 / span 4; }
.cap__title h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.35rem, 1.1rem + 1vw, 2.1rem); line-height: 1.02; letter-spacing: -.005em; }
.cap__title p { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); }
.cap__body { grid-column: 7 / -1; }
.cap__body p { margin-bottom: .8em; }
.cap__body .muted { font-size: .95rem; }
.cap__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cap__facts dt { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.cap__facts dd { margin: 0; font-size: .925rem; color: var(--muted); line-height: 1.5; }
.cap__note { font-size: var(--fs-small); color: var(--muted); border-left: 2px solid var(--gold); padding-left: 14px; margin-top: 16px; }
@media (max-width: 900px) {
  .cap__num { grid-column: 1 / -1; padding: 0; }
  .cap__title, .cap__body { grid-column: 1 / -1; }
  .cap__facts { grid-template-columns: 1fr; }
}

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; counter-reset: v; }
.value-grid li { counter-increment: v; border-top: 1px solid var(--line-strong); padding: 22px 0 32px; }
.value-grid li::before { content: counter(v, decimal-leading-zero); display: block; color: var(--gold-text); font-size: var(--fs-micro); letter-spacing: .1em; margin-bottom: 18px; }
.value-grid b { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1.05rem; }
.value-grid span { color: var(--muted); font-size: .95rem; line-height: 1.55; display: block; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Systems map (digital systems page) ---------- */
.sysmap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); background:
  radial-gradient(120% 80% at 80% 0%, rgba(214,181,103,.08), transparent 60%), rgba(255,255,255,.015); }
.sysmap__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sysmap__head b { color: var(--gold-soft); font-weight: 600; }
.sysmap__layers { position: relative; display: grid; gap: 12px; padding-left: 40px; }
.sysmap__layers::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 1px; background: var(--line-strong); }
.sysmap__layers::after { content: ''; position: absolute; left: 12px; top: 18px; width: 3px; height: 70px; background: linear-gradient(transparent, var(--gold-soft), transparent); animation: spine 6s var(--ease) infinite; }
@keyframes spine { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(calc(var(--spine, 520px))); opacity: 0; } }
.layer { position: relative; display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 12px 24px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(242,238,230,.025); transition: border-color .3s, background .3s; }
.layer:hover { border-color: rgba(214,181,103,.5); background: rgba(214,181,103,.05); }
.layer::before { content: ''; position: absolute; left: -32px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; transform: rotate(45deg); background: var(--charcoal); border: 1px solid var(--gold-soft); }
.layer::after { content: ''; position: absolute; left: -22px; top: 50%; width: 22px; height: 1px; background: var(--line-strong); }
.layer__name b { display: block; font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-weight: 600; letter-spacing: .02em; font-size: 1rem; }
.layer__name span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.layer__nodes { display: flex; flex-wrap: wrap; gap: 8px; }
.node { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8rem; white-space: nowrap; }
.node::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }
.node--ext { border-style: dashed; }
.node--ext::before { background: transparent; border: 1px solid var(--gold-soft); }
.layer--core { border-color: rgba(214,181,103,.45); background: rgba(214,181,103,.07); }
.sysmap__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: .8rem; color: var(--muted); }
.sysmap__legend span { display: inline-flex; gap: 10px; align-items: center; }
.sysmap__legend i { display: inline-block; width: 22px; height: 14px; border-radius: 99px; border: 1px solid var(--line-strong); position: relative; }
.sysmap__legend i::after { content: ''; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }
.sysmap__legend i.ext { border-style: dashed; }
.sysmap__legend i.ext::after { background: transparent; border: 1px solid var(--gold-soft); }
@media (max-width: 700px) {
  .layer { grid-template-columns: 1fr; }
  .sysmap__layers { padding-left: 30px; }
  .sysmap__layers::before { left: 8px; } .sysmap__layers::after { left: 7px; }
  .layer::before { left: -26px; } .layer::after { left: -17px; width: 17px; }
}

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.form-shell__aside { grid-column: 1 / span 4; }
.form-shell__main { grid-column: 6 / -1; }
@media (max-width: 900px) { .form-shell__aside, .form-shell__main { grid-column: 1 / -1; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { font-size: .875rem; font-weight: 500; padding: 0; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { font-size: .8125rem; color: var(--muted); margin: -2px 0 0; }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; background: #111110; border: 1px solid var(--line-strong);
  border-radius: var(--r-control); font-size: 1rem; line-height: 1.4; -webkit-appearance: none; appearance: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.input:hover { border-color: color-mix(in srgb, var(--fg) 55%, transparent); }
.input:focus { outline: none; background: #141413; border-color: var(--gold-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.input:focus-visible { outline: none; }
textarea.input { min-height: 148px; resize: vertical; line-height: 1.55; }
select.input { padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.tone-dark select.input option { background: var(--charcoal); }
.field.has-error .input { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.tone-dark .field.has-error .input { border-color: #F2B8B5; }
.field__error { font-size: .8125rem; color: #A3241C; margin: 0; display: flex; gap: 6px; align-items: baseline; }
.field__error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #A3241C; color: #fff; font-size: .6875rem; font-weight: 700; transform: translateY(2px); }
.tone-dark .field__error { color: #F2B8B5; }
.field__error:empty { display: none; }

.choices { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { width: 100%; float: left; }
.choices legend { margin-bottom: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: .9rem; background: transparent; transition: background .15s, color .15s, border-color .15s, transform .12s; }
.choice input:active + span { transform: scale(.97); }
.choice input:hover + span { border-color: var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-top: 8px; }
.form__foot p { font-size: .8125rem; color: var(--muted); margin: 0; max-width: 48ch; }
.form__status { grid-column: 1 / -1; padding: 16px 18px; border: 1px solid rgba(179,38,30,.35); border-radius: var(--r-control); background: rgba(179, 38, 30, .05); font-size: .925rem; }
.tone-dark .form__status { border-color: #F2B8B5; background: rgba(242,184,181,.08); }
.form__status[hidden] { display: none; }
.spinner { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-submitting .spinner { display: inline-block; }
.is-submitting .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-strong); border-radius: var(--r-surface); background: transparent; }
.form-success .h3 { margin-bottom: 16px; }
.form-success:focus { outline: none; }

.next-steps { counter-reset: n; border-top: 1px solid var(--line); margin-top: 28px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.next-steps li::before { content: counter(n, decimal-leading-zero); color: var(--gold-text); font-size: var(--fs-small); padding-top: 2px; }
.next-steps b { display: block; font-weight: 600; }
.next-steps span { color: var(--muted); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.35rem; margin: 2.2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #CFC7B8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #E9E4DA; padding: clamp(64px, 8vw, 112px) 0 32px; --focus: var(--gold-soft); }
.site-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; padding-bottom: clamp(48px, 6vw, 88px); }
.site-footer__brand { grid-column: 1 / span 4; }
.site-footer__brand p { color: #A39D93; margin-top: 20px; max-width: 32ch; font-size: .95rem; }
.site-footer__cols { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.site-footer__h { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: .925rem; }
.site-footer a { text-decoration: none; color: #D8D2C7; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(233,228,218,.12); font-size: .8125rem; color: #8F897F; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom li { margin: 0; font-size: .8125rem; }
.brand--footer { color: #F2EEE6; }
@media (max-width: 900px) {
  .site-footer__brand, .site-footer__cols { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Misc ---------- */
.marquee-rule { display: flex; align-items: center; gap: 24px; font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.marquee-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.callout { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; color: var(--muted); font-size: .95rem; max-width: 62ch; }

.big-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }

/* Reveal on scroll (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero [data-rise] { opacity: 0; transform: translateY(32px); animation: rise 1.1s var(--ease) forwards; }
  .js .hero [data-rise='2'] { animation-delay: .12s; }
  .js .hero [data-rise='3'] { animation-delay: .24s; }
  .js .hero [data-rise='4'] { animation-delay: .4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .chain::after, .sysmap__layers::after { display: none; }
}

/* Device sizing inside portfolio cards */
.work__stage > .phone { width: 44%; max-width: 300px; margin-inline: auto; }
.work--full .work__stage > .browser, .work--wide .work__stage > .browser { margin-inline: auto; }

/* ---------- Websites hero stage ---------- */
.web-hero-stage { position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.web-hero-stage > * { grid-row: 1; }
.web-hero-stage__a { grid-column: 1 / span 6; margin-top: 10%; }
.web-hero-stage__b { grid-column: 6 / span 6; position: relative; z-index: 2; }
.web-hero-stage__c { grid-column: 11 / span 2; margin-top: 22%; position: relative; z-index: 3; }
@media (max-width: 820px) {
  .web-hero-stage__a { grid-column: 1 / span 9; margin-top: 0; }
  .web-hero-stage__b { grid-column: 3 / -1; margin-top: 34%; }
  .web-hero-stage__c { grid-column: 9 / -1; margin-top: 8%; }
}

.process--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .process--5 { grid-template-columns: 1fr 1fr 1fr; }
  .process--5 li:nth-child(4) { padding-left: 0; border-left: 0; }
  .process--5 li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .process--5 { grid-template-columns: 1fr 1fr; }
  .process--5 li { padding-left: 28px !important; border-left: 1px solid var(--line) !important; border-top: 0 !important; }
  .process--5 li:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
  .process--5 li:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
}
@media (max-width: 560px) {
  .process--5 { grid-template-columns: 1fr; }
  .process--5 li { padding: 24px 0 8px !important; border-left: 0 !important; }
  .process--5 li + li { border-top: 1px solid var(--line) !important; }
}

/* ---------- Solutions ---------- */
.sol__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: start; }
.sol__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.sol__head .h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem); margin: 18px 0 24px; }
.sol__head .lead { margin-bottom: 32px; }
.sol__num { font-family: var(--font-display); font-variation-settings: 'wdth' 88; font-size: 1rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-text); }
.sol__body { grid-column: 7 / -1; }
.sol__dl { margin: 0 0 40px; border-top: 1px solid var(--line-strong); }
.sol__dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sol__dl dt { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); padding-top: 4px; }
.sol__dl dd { margin: 0; }
@media (max-width: 900px) {
  .sol__head { grid-column: 1 / -1; position: static; }
  .sol__body { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .sol__dl > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- About ---------- */
.about-mark { overflow: hidden; }
.practice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.practice__item { display: flex; flex-direction: column; gap: 14px; padding: 28px 0 0; border-top: 1px solid var(--line-strong); text-decoration: none; }
.practice__item h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1; }
.practice__item p { color: var(--muted); margin: 0; flex: 1; }
.practice__item .link-arrow { align-self: flex-start; }
.practice__k { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.practice__item:hover .btn__arrow { transform: translateX(4px); }
@media (max-width: 820px) { .practice { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Real project viewers ---------- */
.builds { display: grid; gap: clamp(72px, 9vw, 136px); margin-bottom: clamp(80px, 10vw, 150px); }
.build { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.build[hidden] { display: none; }
.build__stage { grid-column: 1 / span 8; position: relative; }
.build__meta { grid-column: 9 / -1; padding-top: 4px; }
.build--flip .build__stage { grid-column: 5 / -1; grid-row: 1; }
.build--flip .build__meta { grid-column: 1 / span 4; grid-row: 1; }
.build__plate { padding: clamp(14px, 3vw, 44px); border-radius: var(--radius); position: relative; overflow: hidden; }
.build__plate::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.08); pointer-events: none; border-radius: 2px; }
.build--navy .build__plate { background: radial-gradient(120% 90% at 0% 0%, #1E3A5C 0%, #0F1C2C 70%); }
.build--sage .build__plate { background: linear-gradient(160deg, #2D3A32 0%, #1D2520 100%); }
.build--ink .build__plate { background: radial-gradient(100% 80% at 100% 0%, #3A1214 0%, #0D0D0D 65%); }
.browser--shot { background: #111; border-radius: 12px; }
.shot { position: relative; aspect-ratio: 1600 / 926; overflow: hidden; background: #0E0E0D; touch-action: pan-y; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot img[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .shot img { animation: shot-in .45s var(--ease); } }
@keyframes shot-in { from { opacity: 0; transform: scale(1.012); } to { opacity: 1; transform: none; } }
.build__bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.build__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; background: transparent; }
.build__tabs::-webkit-scrollbar { display: none; }
.build__tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--muted); font-size: .8125rem; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .12s; }
.build__tab span { font-family: var(--font-mono); font-size: .6875rem; opacity: .7; }
.build__tab:hover { color: var(--fg); }
.build__tab:active { transform: scale(.97); }
.build__tab[aria-pressed='true'] { background: var(--fg); color: var(--bg); box-shadow: var(--shadow-1); }
.build__step { flex: none; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; cursor: pointer; font-size: 1rem; color: var(--fg); transition: background .2s, border-color .2s, transform .12s; }
.icon-btn:hover { border-color: var(--gold-soft); background: var(--gold-soft); color: #0A0A09; }
.icon-btn:active { transform: scale(.94); }
.build__count { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); min-width: 3.6em; text-align: center; font-variant-numeric: tabular-nums; }
.build__title { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: .95; letter-spacing: -.01em; margin: 6px 0 8px; }
.build__sector { color: var(--gold-text); font-size: var(--fs-small); margin-bottom: 20px; }
.build__summary { color: var(--muted); }
.build__role { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; margin: 22px 0 0; }
.build__role dt { font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.build__role dd { margin: 0; }
.build__h { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 24px 0 8px; }
.build__list li { font-size: .925rem; padding: 9px 0; }
@media (max-width: 1000px) {
  .build__stage, .build--flip .build__stage, .build__meta, .build--flip .build__meta { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) { .build__step .icon-btn { width: 40px; height: 40px; } .build__count { display: none; } }
.subhead { scroll-margin-top: 100px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line-strong); margin-bottom: 32px; }
.subhead h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.subhead p { margin: 0; color: var(--muted); font-size: var(--fs-small); max-width: 52ch; }
.hero-shot { border-radius: 10px; overflow: hidden; }
.hero-shot img { width: 100%; height: auto; }

/* ==========================================================================
   Graphic language: annotations, grid, frames
   ========================================================================== */
.label { font-family: var(--font-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label--gold { color: var(--gold-text); }
.gridlines { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gridlines .container { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.gridlines i { border-left: 1px solid var(--line); opacity: .55; }
.gridlines i:last-child { border-right: 1px solid var(--line); }
@media (max-width: 820px) { .gridlines i:nth-child(n+5) { display: none; } .gridlines .container { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gridlines i:nth-child(4) { border-right: 1px solid var(--line); } }

/* Figure with crop marks: used for editorial image plates */
.fig { margin: 0; position: relative; }
.fig__plate { position: relative; }
.fig--marks .fig__plate::before, .fig--marks .fig__plate::after { content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 2; }
.fig--marks .fig__plate::before { left: -8px; top: -8px; border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
.fig--marks .fig__plate::after { right: -8px; bottom: -8px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.fig figcaption { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.fig figcaption b { color: var(--fg); font-weight: 500; }
.art { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Home hero: type + two doors
   ========================================================================== */
.hero2 { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(28px, 4vw, 48px); isolation: isolate; }
.hero2__art { position: absolute; inset: 0; z-index: -1; }
.hero2__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; opacity: .9; }
.hero2::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,13,.55) 0%, rgba(14,14,13,.15) 45%, rgba(14,14,13,.85) 100%); }
.hero2 .gridlines i { border-color: rgba(242,238,230,.07); opacity: 1; }
.hero2__inner { position: relative; }
.hero2__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.hero2__title { max-width: 15ch; font-size: clamp(2.5rem, 1rem + 6vw, 7.2rem); }
.hero2__title .serif { color: var(--gold-soft); }
.hero2__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 4vw, 48px); align-items: end; }
.hero2__lead { grid-column: 1 / span 6; }
.hero2__lead .lead { color: #CFC8BC; max-width: 40ch; margin-bottom: 28px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 7vw, 104px); }
.door { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; padding: 18px; text-decoration: none; border-radius: var(--r-surface); border: 1px solid rgba(242,238,230,.16); background: rgba(24,23,22,.62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); color: #F2EEE6; transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease); }
.door:hover { border-color: rgba(214,181,103,.6); transform: translateY(-3px); }
.door:active { transform: translateY(-1px) scale(.995); }
.door--light { background: rgba(244,240,232,.94); color: #171614; border-color: rgba(244,240,232,.9); --muted: #57534C; --gold-text: #7E6120; --focus: #8C6A1F; }
.door--light:hover { background: #F4F0E8; }
.door__body { display: flex; flex-direction: column; padding: 6px 4px; }
.door__title { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem); line-height: .98; letter-spacing: -.01em; margin: 14px 0 10px; }
.door__text { font-size: .925rem; color: var(--muted); margin: 0 0 18px; }
.door__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem; }
.door__go i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 1px solid currentColor; transition: transform .25s var(--ease), background .25s; }
.door:hover .door__go i { transform: translateX(4px); background: var(--gold-soft); border-color: var(--gold-soft); color: #111; }
.door__shot { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(0,0,0,.12); box-shadow: var(--shadow-1); }
.door__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 1000px) { .doors { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .hero2__lead { grid-column: 1 / -1; } }
@media (max-width: 520px) { .door { grid-template-columns: 1fr; } .door__shot { order: -1; aspect-ratio: 16 / 9; } }

/* ==========================================================================
   Transition band
   ========================================================================== */
.band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 16vw, 240px) 0; }
.band__art { position: absolute; inset: 0; z-index: -1; }
.band__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,14,13,.94) 0%, rgba(14,14,13,.7) 45%, rgba(14,14,13,.15) 100%); }
.band__title { max-width: 17ch; }
.band__title .serif { color: var(--gold-soft); }
.band__split { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.band__split a { padding: 18px 20px 0 0; text-decoration: none; display: block; }
.band__split a + a { padding-left: 20px; border-left: 1px solid var(--line-strong); }
.band__split b { display: block; font-weight: 500; margin: 6px 0 4px; }
.band__split span:last-child { font-size: var(--fs-small); color: var(--muted); }
.band__split a:hover b { color: var(--gold-soft); }
@media (max-width: 700px) { .band::after { background: linear-gradient(180deg, rgba(14,14,13,.6), rgba(14,14,13,.92)); } }

/* ==========================================================================
   Editorial showcase of real website work
   ========================================================================== */
.showcase2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) 24px; align-items: start; }
.showcase2__a { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.showcase2__b { grid-column: 9 / -1; }
.showcase2__c { grid-column: 9 / -1; }
@media (max-width: 900px) { .showcase2__a, .showcase2__b, .showcase2__c { grid-column: 1 / -1; grid-row: auto; } }

/* ==========================================================================
   Services in two groups
   ========================================================================== */
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.svc-group { padding: clamp(24px, 3vw, 44px); }
.svc-group + .svc-group { border-left: 1px solid var(--line-strong); }
.svc-group--dark { background: var(--charcoal); color: #F2EEE6; --muted: #B3ADA3; --line: rgba(242,238,230,.14); --line-strong: rgba(242,238,230,.3); --gold-text: var(--gold-soft); --focus: var(--gold-soft); }
.svc-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.svc-group__head h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); line-height: .95; }
.svc-group .service { grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 6px 16px; padding: 20px 0; }
.svc-group .service__desc { grid-column: 2 / 3; font-size: .95rem; }
.svc-group .service__go { grid-row: 1; grid-column: 3; }
.svc-group .service__name { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.svc-foot { grid-column: 1 / -1; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px clamp(24px, 3vw, 44px); background: transparent; }
.svc-foot p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .svc-groups { grid-template-columns: 1fr; } .svc-group + .svc-group { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* ==========================================================================
   Process with image
   ========================================================================== */
.process2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
.process2__fig { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.process2__fig .fig__plate { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.process2__steps { grid-column: 7 / -1; counter-reset: s; border-top: 1px solid var(--line-strong); }
.process2__steps li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 16px; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.process2__steps .process__num { margin: 0; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.process2__steps h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.3rem; margin: 6px 0 8px; }
.process2__steps p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .process2__fig, .process2__steps { grid-column: 1 / -1; position: static; } .process2__fig .fig__plate { aspect-ratio: 16 / 10; } }

/* ==========================================================================
   Closing CTA with image panel
   ========================================================================== */
.cta2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: stretch; }
.cta2__body { grid-column: 1 / span 7; display: flex; flex-direction: column; justify-content: center; }
.cta2__art { grid-column: 9 / -1; position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; }
.cta2__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.cta2__art .label { position: absolute; left: 14px; bottom: 12px; color: rgba(242,238,230,.75); }
.cta2__choices { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-surface); overflow: hidden; }
.cta2__choice { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; text-decoration: none; transition: background .2s; min-height: 150px; }
.cta2__choice + .cta2__choice { border-left: 1px solid var(--line-strong); }
.cta2__choice:hover { background: rgba(242,238,230,.06); }
.cta2__choice b { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; font-weight: 600; }
.cta2__choice span { color: var(--muted); font-size: .9rem; }
.cta2__choice em { margin-top: auto; font-style: normal; font-weight: 500; color: var(--gold-soft); display: inline-flex; gap: 8px; }
.cta2__choice:hover em .btn__arrow { transform: translateX(4px); }
@media (max-width: 900px) { .cta2__body, .cta2__art { grid-column: 1 / -1; } .cta2__art { min-height: 320px; order: -1; } }
@media (max-width: 560px) { .cta2__choices { grid-template-columns: 1fr; } .cta2__choice + .cta2__choice { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* ==========================================================================
   Service selector (Websites page)
   ========================================================================== */
.selector { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line-strong); border-radius: var(--r-surface); overflow: hidden; background: transparent; }
.selector__list { border-right: 1px solid var(--line-strong); padding: 8px; display: grid; align-content: start; gap: 2px; }
.selector__opt { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 8px 14px; text-align: left; border: 0; border-radius: var(--r-control); background: transparent; cursor: pointer; transition: background .15s var(--ease), color .15s; font-size: 1rem; }
.selector__opt span:first-child { font-family: var(--font-mono); font-size: .6875rem; color: var(--gold-text); }
.selector__opt b { font-weight: 500; }
.selector__opt i { font-style: normal; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.selector__opt:hover { background: rgba(23,22,20,.05); }
.selector__opt[aria-selected='true'] { background: var(--fg); color: var(--bg); }
.selector__opt[aria-selected='true'] span:first-child { color: var(--gold-soft); }
.selector__opt[aria-selected='true'] i { opacity: 1; transform: none; }
.selector__panel { padding: clamp(24px, 3.4vw, 48px); }
.selector__panel[hidden] { display: none; }
.selector__panel h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: .95; margin: 10px 0 18px; }
.selector__panel > p { font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; }
.selector__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 28px 0; border-top: 1px solid var(--line); }
.selector__facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.selector__facts dt { margin-bottom: 4px; }
.selector__facts dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) { .selector__panel:not([hidden]) { animation: rise-in .35s var(--ease); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .selector { grid-template-columns: 1fr; }
  .selector__list { border-right: 0; border-bottom: 1px solid var(--line-strong); display: flex; overflow-x: auto; scrollbar-width: none; }
  .selector__list::-webkit-scrollbar { display: none; }
  .selector__opt { flex: none; width: auto; grid-template-columns: auto auto; min-height: 44px; border-radius: var(--r-pill); }
  .selector__opt i { display: none; }
  .selector__facts { grid-template-columns: 1fr; }
}
.no-js-only { display: none; }

/* ==========================================================================
   Interactive systems map
   ========================================================================== */
.sysmap2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.sysmap2 .layer { width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.sysmap2 .layer[aria-pressed='true'] { border-color: var(--gold-soft); background: rgba(214,181,103,.09); box-shadow: inset 3px 0 0 var(--gold-soft); }
.sysmap2 .layer[aria-pressed='true']::before { background: var(--gold-soft); }
.sysdetail { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line-strong); border-radius: var(--r-surface); padding: clamp(22px, 2.6vw, 36px); background: rgba(242,238,230,.03); }
.sysdetail__panel[hidden] { display: none; }
.sysdetail h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 88; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1; margin: 10px 0 14px; }
.sysdetail p { color: var(--muted); }
.sysdetail dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.sysdetail dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sysdetail dd { margin: 4px 0 0; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) { .sysdetail__panel:not([hidden]) { animation: rise-in .3s var(--ease); } }
@media (max-width: 900px) { .sysmap2 { grid-template-columns: 1fr; } .sysdetail { position: static; } }

/* ==========================================================================
   Image-led page heroes
   ========================================================================== */
.hero-art { position: relative; overflow: hidden; isolation: isolate; }
.hero-art__bg { position: absolute; inset: 0; z-index: -1; }
.hero-art__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-art--horizon .hero-art__bg img { object-position: 50% 62%; }
.hero-art--horizon::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,19,18,.82) 0%, rgba(20,19,18,.35) 55%, rgba(27,26,25,1) 100%); }
.hero-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.hero-panel .fig { grid-column: 1 / -1; }
.hero-panel .fig__plate { aspect-ratio: 21 / 8; overflow: hidden; border-radius: var(--radius); }
@media (max-width: 700px) { .hero-panel .fig__plate { aspect-ratio: 4 / 3; } }

.sphere-plate { position: relative; min-height: clamp(420px, 56vw, 760px); overflow: hidden; isolation: isolate; display: flex; align-items: flex-start; }
.sphere-plate img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.sphere-plate .container { padding-top: clamp(56px, 8vw, 120px); }
.sphere-plate .big-quote { max-width: 16ch; }
@media (max-width: 700px) { .sphere-plate img { object-position: 46% 100%; } .sphere-plate { min-height: 560px; } }

/* ==========================================================================
   Notices
   ========================================================================== */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 9%, transparent); border-radius: var(--r-control); font-size: .875rem; line-height: 1.5; }
.notice::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.notice p { margin: 0; }
.form .notice { grid-column: 1 / -1; }
.hero2__index { grid-column: 9 / -1; justify-self: end; width: 100%; max-width: 300px; padding: 16px 18px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-surface); background: rgba(14,14,13,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero2__index ol { margin-top: 10px; }
.hero2__index li + li { border-top: 1px solid var(--line); }
.hero2__index a { display: flex; gap: 14px; align-items: center; min-height: 44px; text-decoration: none; font-size: .925rem; transition: color .2s, padding .25s var(--ease); }
.hero2__index a span { font-family: var(--font-mono); font-size: .6875rem; color: var(--gold-soft); }
.hero2__index a:hover { color: var(--gold-soft); padding-left: 4px; }
@media (max-width: 820px) { .hero2__index { display: none; } }
.value-grid--boxed { gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.value-grid--boxed li { border-top: 0; padding: clamp(20px, 2.4vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.value-grid--boxed li:hover { background: #161614; }
.value-grid--boxed li:nth-child(3n) { border-right: 0; }
.value-grid--boxed li:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 900px) { .value-grid--boxed li:nth-child(3n) { border-right: 1px solid var(--line); } .value-grid--boxed li:nth-child(2n) { border-right: 0; } .value-grid--boxed li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .value-grid--boxed li:last-child { border-bottom: 0; } }
@media (max-width: 560px) { .value-grid--boxed li { border-right: 0 !important; } }
.phones-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); max-width: 980px; margin-inline: auto; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; }
.phones-row .phone { max-width: 250px; margin-inline: auto; }
@media (max-width: 640px) { .phones-row { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .phones-row::-webkit-scrollbar { display: none; } .phones-row .fig { scroll-snap-align: center; } }
html:not(.js) .selector__list { display: none; }
html:not(.js) .selector { grid-template-columns: 1fr; }
html:not(.js) .selector__panel + .selector__panel { border-top: 1px solid var(--line-strong); }
.page-hero { isolation: isolate; }
.page-hero > .gridlines { z-index: -1; }
.work-grid--even .work { grid-column: span 6; }
.work-grid--even .work .work__visual { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .work-grid--even .work { grid-column: 1 / -1; } }
.web-hero-stage__b { margin-top: 9%; }
.doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .doors { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1001px) and (max-width: 1240px) { .door { grid-template-columns: minmax(0, 1fr); } .door__shot { order: -1; aspect-ratio: 16 / 7; } }
@media (min-width: 1241px) { .door__shot { aspect-ratio: auto; min-height: 200px; } }
@media (min-width: 521px) and (max-width: 1000px) { .door__shot { aspect-ratio: auto; min-height: 180px; } }

/* ==========================================================================
   Black & gold, brutalist finish
   Square edges, heavy type, hard rules. Gold marks what matters.
   ========================================================================== */
:root { --gold-soft: #D6B567; --gold: #C9A24A; --gold-text: #D6B567; --focus: #D6B567; --line: rgba(237,230,214,.12); --line-strong: rgba(237,230,214,.28); --rule: 2px solid var(--fg); }
.tone-dark { --bg: #121211; }
.tone-black { --bg: #0A0A09; }
.tone-dark, .tone-black, .tone-bone { --fg: #EDE6D6; --muted: #A39C8F; --gold-text: #D6B567; --focus: #D6B567; }
::selection { background: var(--gold-soft); color: #0A0A09; }

/* Type: heavier, tighter */
.display, .h1, .h2, .h3, .work__title, .build__title, .service__name, .door__title, .svc-group__head h3, .selector__panel h3, .sysdetail h3, .cap__title h3, .practice__item h3, .process h3, .process2__steps h3, .principles h3, .audience b, .chain__node b, .cta2__choice b, .subhead h3, .layer__name b, .mobile-menu nav a, .prose h2 {
  font-variation-settings: 'wdth' 78; font-weight: 700; letter-spacing: -.01em;
}
.display { line-height: .86; letter-spacing: -.02em; }
.h1, .h2 { line-height: .9; }
.serif { color: var(--gold-soft); }

/* Remove decorative scaffolding */
.eyebrow, .gridlines, .hero2__top, .hero2__index, .page-hero__index { display: none !important; }
.fig--marks .fig__plate::before, .fig--marks .fig__plate::after { display: none; }
.label { font-family: var(--font-body); font-size: .8125rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); }
.sysmap__head, .build__count, .build__tab span, .filter b { font-family: var(--font-body); letter-spacing: 0; }

/* Sections divided by hard rules */
main > section + section { border-top: 1px solid var(--line-strong); }
.site-footer { border-top: 2px solid var(--gold-soft); }

/* Header: always on black */
.site-header, .site-header[data-tone='dark'] { color: var(--fg); --focus: var(--gold-soft); }
.site-header.is-scrolled, .site-header[data-tone='dark'].is-scrolled { background: rgba(10,10,9,.96); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--line-strong); color: var(--fg); }
.site-nav a { opacity: .72; }
.site-nav a[aria-current='page']::after { height: 2px; background: var(--gold-soft); }
.site-header .btn--nav, .site-header[data-tone='dark'] .btn--nav { --btn-bg: var(--gold-soft); --btn-fg: #0A0A09; --btn-bd: var(--gold-soft); }
.mobile-menu { background: #0A0A09; border-top: 1px solid var(--line-strong); }
.menu-open .site-header { background: #0A0A09; }

/* Buttons: blocks, not pills */
.btn { --btn-bg: var(--gold-soft); --btn-fg: #0A0A09; --btn-bd: var(--gold-soft); border-width: 2px; min-height: 54px; padding: 0 24px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .8125rem; }
.btn:hover { --btn-bg: #E6C77C; --btn-bd: #E6C77C; }
.btn--ghost, .tone-dark .btn--ghost, .tone-black .btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--fg); }
.btn--ghost:hover { --btn-bg: var(--fg); --btn-fg: #0A0A09; --btn-bd: var(--fg); }
.btn--light { --btn-bg: var(--fg); --btn-fg: #0A0A09; --btn-bd: var(--fg); }
.btn--light:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }
.btn--gold { --btn-bg: var(--gold-soft); --btn-fg: #0A0A09; --btn-bd: var(--gold-soft); }
.link-arrow { color: var(--gold-soft); background-size: 100% 2px; }

/* Tags, chips, controls */
.tag { border-color: var(--line-strong); font-weight: 500; }
.tag--live { background: var(--gold-soft); color: #0A0A09; }
.tag--concept { background: transparent; border-color: var(--line-strong); color: var(--muted); }
.filter[aria-pressed='true'], .build__tab[aria-pressed='true'], .selector__opt[aria-selected='true'], .choice input:checked + span { background: var(--gold-soft); color: #0A0A09; border-color: var(--gold-soft); box-shadow: none; }
.selector__opt[aria-selected='true'] span:first-child { color: #0A0A09; }
.filters, .build__tabs, .selector, .icon-btn { border-width: 1px; }
.icon-btn { border-radius: 0; }
.checklist li::before { border-color: var(--gold-soft); background: var(--gold-soft); transform: translateY(-2px); width: 6px; height: 6px; }
.input { border-width: 1px; }
.notice { border-radius: 0; }
.form__status { border-color: #E5A39E; background: rgba(229,163,158,.08); }
.field__error { color: #F2B8B5; }
.field__error::before { background: #F2B8B5; color: #0A0A09; }
.field.has-error .input { border-color: #F2B8B5; box-shadow: none; }

/* Device frames stay rounded: they depict real hardware */
.browser--shot { border-radius: 6px; }
.build__plate { background: #151514 !important; border: 1px solid var(--line-strong); }
.build__plate::after { display: none; }

/* Hero */
.hero3 { padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 0; position: relative; overflow: hidden; }
.hero3__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.hero3__copy { grid-column: 1 / span 8; padding-bottom: clamp(32px, 5vw, 72px); position: relative; z-index: 1; }
.hero3__title { font-size: clamp(2.8rem, 1rem + 6.4vw, 7.6rem); }
.hero3__copy .lead { max-width: 38ch; margin: clamp(24px, 3vw, 36px) 0 32px; color: #CFC7B8; }
.hero3__art { grid-column: 9 / -1; align-self: stretch; position: relative; min-height: 420px; }
.hero3__art img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; max-height: 860px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--fg); border-bottom: 1px solid var(--line-strong); }
.offer-block { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px) clamp(28px, 4vw, 48px) 0; text-decoration: none; position: relative; transition: background .2s, color .2s; }
.offer-block + .offer-block { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line-strong); }
.offer-block__num { font-family: var(--font-display); font-variation-settings: 'wdth' 78; font-weight: 700; font-size: clamp(3rem, 2rem + 3vw, 5.5rem); line-height: .8; color: var(--gold-soft); }
.offer-block__title { font-family: var(--font-display); font-variation-settings: 'wdth' 78; font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: .92; }
.offer-block p { color: var(--muted); max-width: 42ch; margin: 0; }
.offer-block__go { margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .8125rem; color: var(--gold-soft); display: inline-flex; gap: 10px; }
.offer-block:hover .offer-block__title { color: var(--gold-soft); }
.offer-block:hover .btn__arrow { transform: translateX(6px); }
@media (max-width: 900px) {
  .hero3__copy { grid-column: 1 / -1; }
  .hero3__art { grid-column: 1 / -1; order: -1; min-height: 0; height: 52vw; max-height: 420px; margin-bottom: -8vw; }
  .hero3__art img { right: 50%; transform: translateX(50%); }
}
@media (max-width: 700px) {
  .offers { grid-template-columns: 1fr; }
  .offer-block, .offer-block + .offer-block { padding: 28px 0; border-left: 0; }
  .offer-block + .offer-block { border-top: 1px solid var(--line-strong); }
}

/* Image panels: never displayed larger than their source */
.art-panel { margin: 0; position: relative; overflow: hidden; background: #0A0A09; }
.art-panel img { display: block; width: 100%; height: auto; }
.split-art { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: center; }
.split-art__text { grid-column: 1 / span 6; }
.split-art__img { grid-column: 8 / -1; justify-self: end; width: 100%; }
.split-art--flip .split-art__text { grid-column: 7 / -1; grid-row: 1; }
.split-art--flip .split-art__img { grid-column: 1 / span 5; grid-row: 1; justify-self: start; }
@media (max-width: 900px) {
  .split-art__text, .split-art__img, .split-art--flip .split-art__text, .split-art--flip .split-art__img { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; }
  .split-art__img { margin-inline: auto; }
}

/* Band: two kinds of work */
.band2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: center; }
.band2__text { grid-column: 1 / span 7; }
.band2__img { grid-column: 9 / -1; max-width: 460px; justify-self: end; width: 100%; }
.band2 .band__split { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.band2 .band__split b { font-family: var(--font-display); font-variation-settings: 'wdth' 78; font-weight: 700; text-transform: uppercase; font-size: 1.25rem; }
@media (max-width: 900px) { .band2__text, .band2__img { grid-column: 1 / -1; } .band2__img { justify-self: center; max-width: 420px; } }
@media (max-width: 520px) { .band2 .band__split { grid-template-columns: 1fr; } .band2 .band__split a + a { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-bottom: 4px; } }

/* Closing CTA on the spotlit stool */
.cta3 { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 180px) 0 clamp(64px, 8vw, 120px); }
.cta3__bg { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: center; }
.cta3__bg img { width: 100%; max-width: 1920px; height: 100%; object-fit: cover; object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.cta3::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,9,.9) 0%, rgba(10,10,9,.55) 50%, rgba(10,10,9,.2) 100%), linear-gradient(0deg, #0A0A09 0%, transparent 40%); }
.cta3__inner { max-width: 780px; }
.cta3 .lead { color: #CFC7B8; margin: 28px 0 0; }
.cta3 .cta2__choices { border: 2px solid var(--fg); background: rgba(10,10,9,.7); }
.cta3 .cta2__choice + .cta2__choice { border-color: var(--fg); }
.cta3 .cta2__choice:hover { background: var(--gold-soft); color: #0A0A09; }
.cta3 .cta2__choice:hover span, .cta3 .cta2__choice:hover em { color: #0A0A09; }
@media (max-width: 700px) { .cta3::after { background: linear-gradient(0deg, #0A0A09 30%, rgba(10,10,9,.55) 100%); } .cta3__bg img { object-position: 52% 50%; } }

/* Services: Presence block in gold, Infrastructure in black */
.svc-groups { border: 2px solid var(--fg); }
.svc-group:first-child { background: var(--gold-soft); color: #0A0A09; --fg: #0A0A09; --muted: #3A3226; --line: rgba(10,10,9,.18); --line-strong: rgba(10,10,9,.4); --gold-text: #0A0A09; --gold: #0A0A09; --focus: #0A0A09; }
.svc-group + .svc-group { border-left: 2px solid var(--fg); }
.svc-group--dark { background: #0A0A09; }
.svc-foot { border-top: 2px solid var(--fg); }
@media (max-width: 900px) { .svc-group + .svc-group { border-left: 0; border-top: 2px solid var(--fg); } }

.value-grid--boxed, .selector, .phones-row, .sysdetail { border: 1px solid var(--line-strong); }
.process__num, .service__num, .cap__num, .principles li > span { color: var(--gold-soft); }
.page-hero .page-hero__body { grid-column: 1 / span 7; }
.page-hero .page-hero__title { grid-column: 1 / -1; }
.builds--compact .build__h, .builds--compact .build__list, .builds--compact .build__sector { display: none; }
.build__role dt, .build__h, .cap__facts dt, .sol__dl dt, .work__facts dt { font-family: var(--font-body); letter-spacing: .02em; }
.hero3__art img { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, #000 62%, transparent 100%); }
.svc-group:first-child .service__num { color: #0A0A09; opacity: .55; }
@media (min-width: 901px) {
  .cta3__bg { left: 34%; }
  .cta3__bg img { object-position: 50% 55%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%); }
  .cta3::after { background: linear-gradient(90deg, #0A0A09 0%, rgba(10,10,9,.85) 34%, rgba(10,10,9,0) 60%), linear-gradient(0deg, #0A0A09 0%, transparent 30%); }
  .cta3__inner { max-width: 640px; }
}
@media (max-width: 900px) {
  .cta3 { padding-top: 0; }
  .cta3__bg { position: relative; inset: auto; height: 62vw; max-height: 420px; margin-bottom: -40px; }
  .cta3__bg img { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); object-position: 50% 60%; }
  .cta3::after { display: none; }
}
.selector__facts dt, .sysdetail dt { font-size: .8125rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 4px; }
.value-grid--boxed li:nth-child(3n) { border-right: 0; }
/* Stool: never taller than the source (784px), anchored bottom-right, fading into the black */
@media (min-width: 901px) {
  .cta3__bg { top: auto; bottom: 0; height: min(100%, 740px); }
  .cta3__bg img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 35%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 35%); mask-composite: intersect; }
}
@media (max-width: 900px) { .selector { grid-template-columns: minmax(0, 1fr); } }
.selector__panel .btn { white-space: normal; text-align: left; line-height: 1.3; padding-block: 12px; }
/* Hero sits on the heart's own black so the image edge disappears */
.hero3 { background: #040405; }
@media (max-width: 900px) {
  .hero3__art { height: 92vw; max-height: 560px; margin-bottom: -14vw; }
  .cta3__bg { height: 80vw; max-height: 460px; margin-bottom: -12px; }
}
.hero3 { background: #000; }
.hero3__art img { -webkit-mask-image: none; mask-image: none; }

/* ==========================================================================
   Refinement layer — precision on a brutalist base
   Structure stays square (sections, rules, image plates).
   Things you touch get a considered radius, depth and motion.
   ========================================================================== */
:root {
  --r-control: 10px;      /* buttons, inputs, chips */
  --r-surface: 14px;      /* panels, cards, viewers */
  --r-device: 22px;       /* hardware frames */
  --r-pill: 10px;
  --surface-1: #141413;   /* raised one step */
  --surface-2: #1B1B19;   /* raised two steps */
  --hairline: rgba(237,230,214,.10);
  --edge-hi: inset 0 1px 0 rgba(255,255,255,.05);
  --lift: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -18px rgba(0,0,0,.8);
  --t-fast: .18s cubic-bezier(.2,.8,.2,1);
  --t-med: .32s cubic-bezier(.2,.8,.2,1);
}

/* Buttons: solid, precise, tactile */
.btn { border-radius: var(--r-control); border-width: 1px; min-height: 52px; padding: 0 22px; letter-spacing: .05em; gap: 12px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform .1s ease, box-shadow var(--t-fast); }
.btn:not(.btn--ghost) { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 18px -10px rgba(214,181,103,.55); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.btn[disabled], .btn[aria-busy='true'] { opacity: .65; cursor: progress; transform: none; }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-fg: var(--fg); --btn-bd: var(--fg); }
.btn-row { gap: 12px; }

/* Header: a quiet translucent layer once scrolled */
.site-header.is-scrolled, .site-header[data-tone='dark'].is-scrolled { background: rgba(10,10,9,.78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-color: var(--hairline); }
.site-nav a { border-radius: 8px; transition: opacity var(--t-fast), background var(--t-fast); }
.site-nav a:hover { background: var(--surface-1); opacity: 1; }
.site-nav a[aria-current='page']::after { left: 50%; right: auto; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); bottom: 0; }
.btn--nav { min-height: 40px; padding: 0 16px; }
.menu-toggle { border-radius: 10px; }
.menu-toggle:hover { background: var(--surface-1); }
.mobile-menu nav a { transition: color var(--t-fast), padding var(--t-med); }
.mobile-menu nav a:hover { color: var(--gold-soft); padding-left: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

/* Segmented controls (viewer tabs, filters, service list on mobile) */
.build__tabs, .filters { position: relative; padding: 3px; gap: 2px; border: 0; border-radius: 12px; background: var(--surface-1); box-shadow: var(--edge-hi), inset 0 0 0 1px var(--hairline); }
.build__tab, .filter { border-radius: 9px; min-height: 38px; color: var(--muted); position: relative; z-index: 1; transition: color var(--t-fast), background var(--t-fast); }
.build__tab:hover, .filter:hover { color: var(--fg); }
.build__tab[aria-pressed='true'], .filter[aria-pressed='true'] { background: var(--surface-2); color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 2px 8px -2px rgba(0,0,0,.6), 0 0 0 1px rgba(214,181,103,.35); }
.build__tab[aria-pressed='true'] span { color: var(--gold-soft); opacity: 1; }
.build__tab:focus-visible, .filter:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 1px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--surface-1); box-shadow: var(--edge-hi), inset 0 0 0 1px var(--hairline); transition: background var(--t-fast), transform .1s, color var(--t-fast); }
.icon-btn:hover { background: var(--gold-soft); color: #0A0A09; box-shadow: none; }
.icon-btn:active { transform: scale(.94); }
.build__count { font-variant-numeric: tabular-nums; }

/* Project viewer: a framed device on a raised stage */
.build__plate { border-radius: var(--r-surface); background: var(--surface-1) !important; border: 0; box-shadow: var(--lift), inset 0 0 0 1px var(--hairline); padding: clamp(12px, 2.4vw, 32px); }
.browser--shot { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 24px 48px -24px rgba(0,0,0,.9); }
.browser--shot .browser__bar { background: #1E1E1C; border-color: rgba(255,255,255,.04); }
.browser--shot .browser__dots i { background: #3A3A37; }
.browser--shot .browser__url { background: #262624; color: #8C8679; }
.shot img { transition: opacity var(--t-med); }
.phone { border-radius: var(--r-device) / calc(var(--r-device) * .46); }

/* Tags: small precise capsules */
.tag { border-radius: 6px; min-height: 24px; padding: 0 9px; font-size: .75rem; }

/* Forms: grouped, clear states */
.input { border-radius: var(--r-control); background: var(--surface-1); border: 1px solid var(--hairline); box-shadow: var(--edge-hi); min-height: 52px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.input:hover { border-color: var(--line-strong); }
.input:focus { background: var(--surface-2); border-color: var(--gold-soft); box-shadow: 0 0 0 4px rgba(214,181,103,.18); }
.field.has-error .input { border-color: #F2B8B5; box-shadow: 0 0 0 4px rgba(242,184,181,.12); }
.choice span { border-radius: var(--r-control); background: var(--surface-1); border-color: var(--hairline); min-height: 44px; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform .1s; }
.choice input:hover + span { border-color: var(--line-strong); }
.choice input:checked + span { background: var(--gold-soft); color: #0A0A09; border-color: var(--gold-soft); }
.form__status, .notice { border-radius: var(--r-control); }
.form-success { border-radius: var(--r-surface); background: var(--surface-1); border: 0; box-shadow: var(--lift), inset 0 0 0 1px var(--hairline); }

/* Panels: layered surfaces */
.selector, .sysdetail, .value-grid--boxed, .phones-row { border: 0; border-radius: var(--r-surface); background: var(--surface-1); box-shadow: var(--lift), inset 0 0 0 1px var(--hairline); overflow: hidden; }
.selector__list { padding: 6px; border-right: 1px solid var(--hairline); background: rgba(0,0,0,.18); }
.selector__opt { border-radius: var(--r-control); min-height: 52px; transition: background var(--t-fast), color var(--t-fast); }
.selector__opt:hover { background: var(--surface-2); }
.selector__opt[aria-selected='true'] { background: var(--surface-2); color: var(--fg); box-shadow: inset 3px 0 0 var(--gold-soft), 0 2px 8px -2px rgba(0,0,0,.5); }
.selector__opt[aria-selected='true'] span:first-child { color: var(--gold-soft); }
.selector__opt:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: -2px; }
@media (max-width: 900px) {
  .selector__list { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .selector__opt[aria-selected='true'] { box-shadow: inset 0 -2px 0 var(--gold-soft); }
}
.value-grid--boxed li { border-color: var(--hairline); transition: background var(--t-fast); }
.value-grid--boxed li:hover { background: var(--surface-2); }

/* Systems map */
.sysmap { border-radius: var(--r-surface); border: 0; background: var(--surface-1); box-shadow: var(--lift), inset 0 0 0 1px var(--hairline); }
.layer { border-radius: var(--r-control); background: var(--surface-2); border-color: var(--hairline); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); }
.layer:hover { transform: translateX(2px); }
.sysmap2 .layer[aria-pressed='true'] { border-color: var(--gold-soft); background: #211F1A; box-shadow: none; }
.node { border-radius: 6px; }

/* Services: brutal blocks kept, edges tightened */
.svc-groups { border-width: 1px; border-color: var(--line-strong); }
.svc-group + .svc-group { border-left-width: 1px; border-color: var(--line-strong); }
.svc-foot { border-top: 1px solid var(--line-strong); }
.service { transition: padding var(--t-med), background var(--t-fast); border-radius: 0; }
.service:hover { padding-left: 8px; }
.service:hover .service__go { transform: translateX(6px); }

/* Closing choices: two clear doors */
.cta2__choices, .cta3 .cta2__choices { border: 0; border-radius: var(--r-surface); background: rgba(20,20,19,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--lift), inset 0 0 0 1px var(--line-strong); }
.cta3 .cta2__choice + .cta2__choice { border-color: var(--line-strong); }
.cta2__choice { transition: background var(--t-fast), color var(--t-fast); min-height: 132px; }
.cta3 .cta2__choice:hover { background: var(--gold-soft); }

/* Image plates: square, with a hairline frame so dark art doesn't dissolve into the page */
.art-panel { border-radius: 0; box-shadow: 0 0 0 1px var(--hairline); }
.art-panel img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.art-panel:hover img { transform: scale(1.015); }

/* Offer blocks on the hero */
.offer-block { transition: background var(--t-fast); }
.offer-block:hover { background: linear-gradient(180deg, transparent, rgba(214,181,103,.05)); }

/* Reveal: shorter distance, quicker — feels native rather than theatrical */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
}

/* Heart sits on true black */
.hero3 { background: #000; }
/* Narrow plates (low-res sources): pair tightly with text instead of floating in empty space */
.split-art--tight { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); justify-content: start; align-items: center; }
.split-art--tight .split-art__text { grid-column: 1; max-width: 640px; }
.split-art--tight .split-art__img { grid-column: 2; width: clamp(220px, 24vw, 333px); justify-self: end; }
.split-art--tight.split-art--flip { grid-template-columns: auto minmax(0, 1fr); }
.split-art--tight.split-art--flip .split-art__img { grid-column: 1; grid-row: 1; justify-self: start; }
.split-art--tight.split-art--flip .split-art__text { grid-column: 2; grid-row: 1; }
@media (max-width: 900px) {
  .split-art--tight, .split-art--tight.split-art--flip { grid-template-columns: minmax(0, 1fr); }
  .split-art--tight .split-art__img, .split-art--tight.split-art--flip .split-art__img { grid-column: 1; grid-row: auto; justify-self: start; width: min(60vw, 280px); }
}
/* Per-image Retina caps (half the source width) */
.split-art--tight img[src*="marble-540"] { max-width: 270px; }
.split-art--tight:has(img[src*="marble-540"]) .split-art__img { width: clamp(200px, 22vw, 270px); }
.split-art--tight:has(img[src*="hills-600"]) .split-art__img { width: clamp(200px, 22vw, 300px); }
.split-art--tight:has(img[src*="light-657"]) .split-art__img { width: clamp(220px, 24vw, 328px); }
.band2__img { max-width: 540px; }
/* Tight pairs: text + plate read as one unit, centred on the page grid */
@media (min-width: 901px) {
  .split-art--tight { grid-template-columns: minmax(0, 620px) auto; justify-content: space-between; column-gap: clamp(48px, 8vw, 140px); }
  .split-art--tight .split-art__img { justify-self: start; }
  /* Systems (home): plate drops below the headline baseline — staggered */
  #systems .split-art--tight .split-art__img { align-self: end; }
  /* Digital systems: plate rises above the text — staggered the other way */
  #what .split-art--tight .split-art__img { align-self: start; }
  /* Solutions hero: plate and headline share a top line */
  .page-hero .split-art--tight { align-items: start; }
}
/* About: one statement, set large */
.split-art--tight .big-quote { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem); line-height: 1.02; max-width: 13ch; }
.split-art--tight .big-quote::after { content: ''; display: block; width: 64px; height: 2px; background: var(--gold-soft); margin-top: 32px; }
@media (min-width: 901px) {
  .container.split-art--tight { justify-content: start; }
  .page-hero .container.split-art--tight, .tone-dark > .container.split-art--tight:has(.big-quote) { grid-template-columns: minmax(0, 560px) auto; column-gap: clamp(64px, 12vw, 200px); }
}
.split-art--tight p.big-quote { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); max-width: 12ch; }
.cta3 .display { font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5.4rem); }
@media (min-width: 901px) { .cta3__inner { max-width: 720px; } }

/* ==========================================================================
   Direct contact: WhatsApp, phone, email
   ========================================================================== */
.wa-icon { width: 20px; height: 20px; flex: none; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 14px; }
.direct__lead { margin: 32px 0 0; color: var(--muted); font-size: .95rem; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: var(--r-control);
  background: var(--surface-1); color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9375rem;
  box-shadow: var(--edge-hi), inset 0 0 0 1px var(--line-strong); transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform .1s; }
.wa-btn .wa-icon { color: #3FD67A; }
.wa-btn:hover { background: #3FD67A; color: #06210F; box-shadow: none; }
.wa-btn:hover .wa-icon { color: #06210F; }
.wa-btn:active { transform: scale(.97); }
.direct__link { color: var(--fg); text-decoration: none; font-size: .925rem; padding: 12px 0; border-bottom: 1px solid var(--line-strong); transition: color var(--t-fast), border-color var(--t-fast); }
.direct__link:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-wa .wa-icon { width: 16px; height: 16px; color: #3FD67A; }
.site-footer li a { display: inline-block; padding: 4px 0; }

/* Floating button: bottom-right, inside safe areas, out of the way */
.wa-fab { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: inline-flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 18px; border-radius: 28px;
  background: #121211; color: #3FD67A; text-decoration: none; font-weight: 600; font-size: .9rem;
  box-shadow: 0 0 0 1px rgba(214,181,103,.45), 0 14px 32px -12px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform var(--t-med), opacity var(--t-med), background var(--t-fast), color var(--t-fast), gap var(--t-med), box-shadow var(--t-fast); }
.wa-fab .wa-icon { width: 24px; height: 24px; }
.wa-fab__text { max-width: 0; overflow: hidden; white-space: nowrap; color: var(--fg); transition: max-width var(--t-med), color var(--t-fast); }
.wa-fab:hover, .wa-fab:focus-visible { gap: 10px; background: #3FD67A; color: #06210F; box-shadow: 0 14px 32px -12px rgba(0,0,0,.9); }
.wa-fab:hover .wa-fab__text, .wa-fab:focus-visible .wa-fab__text { max-width: 90px; color: #06210F; }
.wa-fab:active { transform: scale(.96); }
.wa-fab:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.wa-fab.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; visibility: hidden; transition: transform var(--t-med), opacity var(--t-med), visibility 0s linear .32s; }
@media (max-width: 700px) { .wa-fab { height: 52px; min-width: 52px; padding: 0 14px; } }
.menu-open .wa-fab { display: none; }
@media print { .wa-fab { display: none; } }
/* When an image is withheld (licensing gate), the text takes the space */
.split-art:not(:has(.split-art__img)) .split-art__text,
.split-art--flip:not(:has(.split-art__img)) .split-art__text { grid-column: 1 / span 8; grid-row: auto; }
.split-art--tight:not(:has(.split-art__img)) { grid-template-columns: minmax(0, 760px); }
.band2:not(:has(.band2__img)) .band2__text { grid-column: 1 / span 9; }
.hero3__grid:not(:has(.hero3__art)) .hero3__copy { grid-column: 1 / span 10; }
