/* ==========================================================================
   Rowi Pro — main stylesheet
   Dopamine bento: white page, colour only in rounded tiles, pills everywhere.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/MartianMono-Variable.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --mist: #f4f4f7;
  --ink: #121216;
  --ink-muted: #55555f;
  --on-ink: #ffffff;
  --line: #e6e6ec;
  --line-strong: #8a8a96;
  --lilac: #e4deff;
  --lilac-ink: #3a2f7a;
  --lime: #e2ff6b;
  --lime-ink: #2e3a00;
  --sky: #d2e9ff;
  --sky-ink: #0b3a66;
  --grape: #4a3ad9;
  --success: #0f5fb0;
  --danger: #c4262e;
  --on-ink-soft: #d6d6de;
  --on-ink-dim: #b9b9c4;
  --on-ink-line: #34343c;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-float: 0 2px 6px rgba(18, 18, 22, .06), 0 16px 40px rgba(18, 18, 22, .10);

  --container: 1320px;
  --gutter: 24px;
  --gap: 16px;
  --header-h: 72px;
  --section-y: clamp(72px, 8.4vw, 120px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-reveal: 400ms;
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --gap: 12px;
    --header-h: 60px;
  }
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 28px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--grape); }

:focus-visible { outline: 2px solid var(--grape); outline-offset: 3px; border-radius: 4px; }
.bg-ink :focus-visible, .band--ink :focus-visible, .site-footer :focus-visible, .btn--ink:focus-visible { outline-color: var(--lime); }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; color: var(--on-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#main:focus { outline: none; }

/* ---------- Icons ---------- */
.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.btn .i, .text-link .i { width: 18px; height: 18px; stroke-width: 2.2; }

/* ---------- Type ---------- */
.display-xl, .display-l, .display-m, .heading-xl, .heading-l, .heading-m, .heading-s,
.title-40, .title-34, .title-30, .title-28, .title-26, .title-24, .title-22 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: inherit;
}
.display-xl { font-weight: 800; font-size: clamp(52px, 7.8vw, 112px); line-height: .88; letter-spacing: -.05em; }
.display-l  { font-weight: 800; font-size: clamp(48px, 7.2vw, 104px); line-height: .88; letter-spacing: -.05em; }
.display-m  { font-weight: 800; font-size: clamp(46px, 6.7vw, 96px); line-height: .88; letter-spacing: -.05em; }
.heading-xl { font-weight: 800; font-size: clamp(44px, 5.6vw, 80px); line-height: .92; letter-spacing: -.045em; }
.heading-l  { font-weight: 800; font-size: clamp(38px, 4.45vw, 64px); line-height: .96; letter-spacing: -.04em; }
.heading-m  { font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); line-height: .98; letter-spacing: -.04em; }
.heading-s  { font-weight: 700; font-size: clamp(30px, 3.05vw, 44px); line-height: 1; letter-spacing: -.035em; }
.title-40   { font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -.035em; }
.title-34   { font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.06; letter-spacing: -.025em; }
.title-30   { font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.08; letter-spacing: -.025em; }
.title-28   { font-weight: 700; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.06; letter-spacing: -.025em; }
.title-26   { font-weight: 700; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.06; letter-spacing: -.025em; }
.title-24   { font-weight: 700; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.1; letter-spacing: -.02em; }
.title-22   { font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }

.lead { font-size: clamp(17px, 1.46vw, 21px); line-height: 1.52; }
.body-l { font-size: clamp(16px, 1.32vw, 19px); line-height: 1.58; }
.small { font-size: 15px; line-height: 23px; }
.tiny { font-size: 13px; line-height: 20px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: .02em;
  color: var(--tint, var(--lilac-ink));
}
.numeral { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }

.muted { color: var(--soft, var(--ink-muted)); }
.soft { color: var(--on-ink-soft); }
.dim { color: var(--on-ink-dim); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.text-link .i { transition: translate var(--t-fast) var(--ease); }
.text-link:hover .i { translate: 4px 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-top: var(--section-y); }
.section--pb { padding-bottom: var(--section-y); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

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

.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(32px, 3.4vw, 48px);
}
.sec-head-main { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.sec-head-lead { max-width: 380px; }
.sec-head--tight { margin-bottom: 32px; }

.show-m { display: none !important; }

@media (max-width: 900px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1; grid-row: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hide-m { display: none !important; }
  .show-m { display: revert !important; }
}

/* ---------- Tiles ---------- */
.tile {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 48px);
  display: flex; flex-direction: column;
  min-width: 0;
  isolation: isolate;
  text-decoration: none;
  color: var(--ink);
}
.tile--xl { padding: clamp(28px, 3.9vw, 56px); }
.tile--40 { padding: clamp(24px, 2.8vw, 40px); }
.tile--32 { padding: clamp(22px, 2.2vw, 32px); }
.tile--28 { padding: clamp(20px, 2vw, 28px); border-radius: var(--r-md); }
.tile--sm { padding: 24px; border-radius: var(--r-md); }

.bg-white { background: var(--white); }
.bg-mist  { background: var(--mist); --tint: var(--ink-muted); --soft: var(--ink-muted); }
.bg-lilac { background: var(--lilac); --tint: var(--lilac-ink); --soft: var(--lilac-ink); }
.bg-sky   { background: var(--sky); --tint: var(--sky-ink); --soft: var(--sky-ink); }
.bg-lime  { background: var(--lime); --tint: var(--lime-ink); --soft: var(--lime-ink); }
.bg-ink   { background: var(--ink); color: var(--on-ink); --tint: var(--lime); --soft: var(--on-ink-soft); }
.bg-ink a:not(.btn) { color: var(--on-ink); }

a.tile { cursor: pointer; transition: translate var(--t-fast) var(--ease), background-color var(--t-fast); }
a.tile:hover { color: inherit; translate: 0 -4px; }
a.tile.bg-ink:hover { color: var(--on-ink); }

.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border: 0; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 20px;
  text-decoration: none; white-space: nowrap;
  transition: scale var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { scale: 1.03; }
.btn:active { scale: .98; }
.btn .i-arrow { transition: translate var(--t-fast) var(--ease); }
.btn:hover .i-arrow { translate: 4px 0; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { color: var(--on-ink); background: #24242b; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); padding: 16px 28px; }
.btn--outline:hover { color: var(--ink); background: rgba(18, 18, 22, .04); }
.btn--outline-light { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--on-ink); }
.btn--outline-light:hover { color: var(--on-ink); background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn[disabled], .btn.is-loading { opacity: .45; pointer-events: none; }

@media (max-width: 900px) {
  .btn-row .btn, .btn--block-m { width: 100%; }
  .btn-row { flex-direction: column; gap: 10px; }
}

.circle {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink);
  transition: rotate var(--t-fast) var(--ease), scale var(--t-fast) var(--ease);
}
.circle .i { width: 18px; height: 18px; stroke-width: 2.2; }
.circle--lg { width: 52px; height: 52px; }
.circle--lg .i { width: 20px; height: 20px; }
a:hover .circle { scale: 1.08; }
a:hover .circle .i-arrow-up { rotate: 45deg; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 14px; line-height: 20px; padding: 8px 14px;
  border-radius: var(--r-pill); background: var(--white); color: var(--ink);
}
.chip--lime { background: var(--lime); color: var(--ink); }
.chip--line { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1px #55555f; }
.chip--mist { background: var(--mist); }
button.chip { border: 0; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
button.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

/* ---------- Lists ---------- */
.checklist { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 26px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .i { color: var(--grape); stroke-width: 2.4; margin-top: 2px; }

.pill-list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 24px; }
.pill-list li { display: flex; gap: 10px; align-items: flex-start; }
.pill-list li::before {
  content: ""; flex: none; width: 18px; height: 8px; margin-top: 8px;
  border-radius: var(--r-pill); background: currentColor;
}
.bg-ink .pill-list li::before { background: var(--lime); }

.note { margin-top: 24px; display: flex; gap: 10px; align-items: center; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.note .i { color: var(--grape); width: 18px; height: 18px; }

/* ---------- Rota (the brand device) ---------- */
.rota { display: flex; flex-direction: column; gap: 12px; }
.rota i {
  display: block; height: 12px; width: var(--w, 160px); margin-left: var(--x, 0);
  border-radius: var(--r-pill); background: var(--lime);
  transform-origin: left center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow var(--t-reveal) var(--ease), border-color var(--t-reveal);
}
.site-header.is-scrolled { box-shadow: var(--shadow-float); border-bottom-color: transparent; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header-inner { position: relative; height: var(--header-h); display: flex; align-items: center; gap: 32px; }

.brand { display: block; flex: none; line-height: 0; }
.logo { height: 34px; width: auto; overflow: visible; }
.logo .lg-t { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.brand:hover .lg-t1 { transform: translate(-3px, -3px); }
.brand:hover .lg-t2 { transform: translate(-3px, 3px); }
.brand:hover .lg-t3 { transform: translate(3px, -3px) rotate(-8deg); }
.brand:hover .lg-t4 { transform: translate(3px, 3px); }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-menu { position: static; }
.nav-link {
  position: relative;
  font-size: 15px; font-weight: 500; line-height: 20px; text-decoration: none; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { color: var(--grape); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-left: 2px; padding: 0;
  border: 0; border-radius: var(--r-pill); background: transparent; color: inherit;
}
.nav-toggle .i { width: 14px; height: 14px; stroke-width: 2.4; transition: rotate .3s var(--ease); }
.has-menu.is-open .nav-toggle .i { rotate: 180deg; }

.mega {
  position: absolute; top: calc(100% - 6px); right: var(--gutter);
  width: min(760px, calc(100vw - 48px));
  padding: 16px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-float); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity .25s var(--ease), translate .35s var(--ease), visibility 0s .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.has-menu.is-open .mega,
.has-menu:hover .mega,
.no-js .has-menu:focus-within .mega {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity .25s var(--ease), translate .35s var(--ease), visibility 0s;
}
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega-item {
  display: flex; gap: 14px; align-items: center; padding: 10px;
  border-radius: 14px; text-decoration: none; color: var(--ink);
  transition: background-color var(--t-fast);
}
.mega-item:hover { background: var(--mist); color: var(--ink); }
.mega-thumb {
  flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; padding: 8px;
  transition: background-color var(--t-fast);
}
.mega-item:hover .mega-thumb { background: var(--lilac); }
.mega-thumb img { width: 100%; height: 100%; object-fit: contain; }
.mega-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mega-text strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 22px; letter-spacing: -.01em; color: var(--ink); }
.mega-num { font-family: var(--font-mono); font-size: 11px; color: var(--lilac-ink); }
.mega-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 14px 16px; border-radius: 14px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.mega-all:hover { color: var(--on-ink); }
.mega-all .i { width: 18px; height: 18px; transition: translate var(--t-fast) var(--ease); }
.mega-all:hover .i { translate: 4px 0; }

.header-cta { flex: none; }

.burger {
  display: none; position: relative;
  width: 44px; height: 44px; padding: 0; margin-left: 8px;
  border: 0; border-radius: var(--r-pill); background: var(--mist);
}
.burger-line {
  position: absolute; left: 12px; height: 2.2px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--ease), width .4s var(--ease), top .4s var(--ease);
}
.burger-line:nth-child(1) { top: 16px; width: 20px; }
.burger-line:nth-child(2) { top: 25px; width: 13px; }
.burger[aria-expanded="true"] .burger-line:nth-child(1) { top: 21px; width: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-line:nth-child(2) { top: 21px; width: 20px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header-inner { gap: 20px; }
  .nav-list { gap: 20px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header-cta { margin-left: auto; }
  .logo { height: 28px; }
  .no-js .nav { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); overflow-x: auto; }
  .no-js .nav-list { padding: 12px var(--gutter); }
  .no-js .mega { display: none; }
  .no-js .burger { display: none; }
}
@media (max-width: 400px) {
  .header-cta { padding: 11px 16px; font-size: 14px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; padding-bottom: 40px; min-height: 100%; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a {
  display: block; padding: 10px 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 10vw, 48px); line-height: 1; letter-spacing: -.045em;
  text-decoration: none;
}
.mobile-links a[aria-current="page"] { color: var(--grape); }
.mobile-services { display: flex; flex-direction: column; gap: 12px; }
.mobile-services ul { display: grid; grid-template-columns: 1fr; gap: 6px; }
.mobile-services a {
  display: flex; gap: 14px; align-items: baseline; padding: 14px 16px;
  border-radius: 16px; background: var(--mist); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.015em;
}
.mobile-services .numeral { font-size: 11px; color: var(--ink-muted); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { margin-top: 8px; }

/* Breadcrumb */
.breadcrumb { padding-top: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.breadcrumb li { display: flex; gap: 10px; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--grape); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Hero (home) ---------- */
.hero { padding-top: 24px; }
.breadcrumb + .hero, .breadcrumb + section { padding-top: 20px; }
.hero-grid { grid-template-rows: repeat(2, minmax(300px, auto)); }
.hero-main { justify-content: space-between; gap: 32px; }
.hero-foot { display: flex; flex-direction: column; gap: 28px; }
.hero-foot .lead { max-width: 560px; }
.hero-shifts { justify-content: space-between; gap: 16px; overflow: hidden; }
.hero-shifts .tile-top { font-size: 11px; }
.hero-shifts-img { width: 100%; height: 160px; object-fit: contain; }
.hero-mini { justify-content: space-between; gap: 16px; }
.hero-mini-text { display: flex; flex-direction: column; gap: 8px; }
.hero-mini .small { font-size: 14px; line-height: 21px; }
.hero-mini .circle { margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .hero-grid > * { grid-column: span 2; }
  .hero-grid > .hero-mini { grid-column: span 1; min-height: 150px; padding: 18px; }
  .hero-shifts { order: 3; }
  .hero-shifts .tile-top { display: none; }
  .hero-shifts-img { height: 130px; }
  .hero-mini .circle { display: none; }
  .hero-mini .title-26 { font-size: 22px; }
  .hero-mini .title-26::after { content: "\00a0→"; }
  .hero-main .eyebrow { font-size: 11px; }
  .hero-main { gap: 22px; border-radius: 28px; }
}

/* ---------- Ticker ---------- */
.ticker {
  margin-top: clamp(40px, 4.5vw, 64px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-track { display: flex; width: max-content; }
.ticker-group {
  display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px);
  padding: clamp(16px, 1.5vw, 22px) 0; padding-right: clamp(20px, 2.5vw, 36px);
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.025em;
}
.ticker-pill { flex: none; width: clamp(28px, 2.8vw, 40px); height: clamp(10px, 1vw, 14px); border-radius: var(--r-pill); }
:root:not(.motion) .ticker-track { width: auto; overflow-x: auto; }
:root:not(.motion) .ticker-group[aria-hidden] { display: none; }

/* ---------- Home: services bento ---------- */
.svc-grid { grid-template-rows: minmax(260px, auto) minmax(260px, auto); grid-auto-rows: auto; }
.svc-feature { justify-content: space-between; gap: 20px; }
.svc-feature-media { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.svc-feature-media img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; }
.svc-feature-text p { margin-top: 14px; max-width: 460px; }
.svc-card { justify-content: space-between; gap: 16px; }
.svc-card-img { width: 104px; height: 104px; object-fit: contain; transition: scale .5s var(--ease), rotate .5s var(--ease); }
.svc-card:hover .svc-card-img { scale: 1.08; rotate: -4deg; }
.svc-card-text p { margin-top: 10px; }
.svc-card-arrow { display: none; }
.svc-wide { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 40px; border-radius: var(--r-md); }
.svc-wide-title { display: flex; align-items: center; gap: 32px; }
.svc-wide-text { max-width: 460px; font-size: 16px; line-height: 25px; }
.svc-wide-img { flex: none; width: 104px; height: 104px; object-fit: contain; }

@media (max-width: 900px) {
  .svc-grid { grid-template-rows: none; }
  .svc-feature { border-radius: 28px; }
  .svc-feature-media img { max-height: none; aspect-ratio: 3 / 2; height: auto; }
  .svc-card, .svc-wide { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 22px; gap: 12px; }
  .svc-card .tile-top { display: contents; }
  .svc-card .svc-card-img, .svc-card-text p, .svc-wide-text, .svc-wide-img { display: none; }
  .svc-card .tile-top .eyebrow { order: 0; }
  .svc-card-text { order: 1; flex: 1; }
  .svc-card-text h3, .svc-wide-title h3 { font-size: 21px; letter-spacing: -.02em; }
  .svc-card-arrow { display: block; order: 2; width: 20px; height: 20px; }
  .svc-wide-title { gap: 14px; align-items: baseline; }
  .svc-wide .circle { width: 20px; height: 20px; background: none; color: var(--ink); }
}

/* ---------- Home: audiences ---------- */
.audience { gap: 28px; }
.audience-img { flex: none; width: 190px; height: 170px; object-fit: contain; }
.audience .btn { align-self: flex-start; }
.link-tile { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.link-tile .i { transition: translate var(--t-fast) var(--ease); }
.link-tile:hover .i { translate: 4px 0; }
.photo-tile { padding: 0; height: 120px; overflow: hidden; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .audience { gap: 18px; border-radius: 28px; }
  .audience-img { width: 120px; height: 104px; }
  .audience .btn { align-self: stretch; }
}

/* ---------- Ink band (construction) ---------- */
.band { margin-top: var(--section-y); padding-block: var(--section-y); }
.band--ink { background: var(--ink); color: var(--on-ink); --tint: var(--lime); }
.band--ink .eyebrow { color: var(--lime); }
.con-grid { row-gap: 48px; }
.con-intro { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.con-intro .body-l { max-width: 480px; }
.con-media { width: 100%; margin-top: 24px; overflow: hidden; border-radius: var(--r-lg); }
.con-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; scale: 1.08; }
.role-list { display: flex; flex-direction: column; }
.role-list li { border-top: 1px solid var(--on-ink-line); }
.role-list li:last-child { border-bottom: 1px solid var(--on-ink-line); }
.role-row { display: flex; gap: 28px; padding: 28px 0; color: var(--on-ink); text-decoration: none; align-items: flex-start; }
.role-row .numeral { color: var(--lime); padding-top: 6px; font-size: 12px; }
.role-row-text { flex: 1; transition: translate .4s var(--ease); }
.role-row-text p { margin-top: 6px; font-size: 16px; line-height: 25px; }
.role-row-arrow { color: var(--lime); opacity: 0; translate: -12px 0; transition: opacity .3s var(--ease), translate .4s var(--ease); margin-top: 6px; }
.role-row:hover { color: var(--on-ink); }
.role-row:hover .role-row-text { translate: 8px 0; }
.role-row:hover .role-row-arrow { opacity: 1; translate: 0 0; }
@media (max-width: 900px) {
  .con-intro { gap: 22px; }
  .con-intro .btn { width: 100%; }
  .con-media { margin-top: 0; border-radius: var(--r-md); }
  .role-row { padding: 18px 0; gap: 16px; }
  .role-row h3 { font-size: 22px; }
  .role-row-arrow { opacity: 1; translate: 0 0; width: 20px; height: 20px; }
}

/* ---------- Ways to work ---------- */
.ways { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.way { min-height: 280px; justify-content: space-between; gap: 24px; }
.way p { margin-top: 10px; }
@media (max-width: 1100px) {
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ways {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .ways::-webkit-scrollbar { display: none; }
  .way { flex: none; width: 240px; min-height: 0; gap: 40px; scroll-snap-align: start; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap); counter-reset: none; }
.steps--3 { --cols: 3; }
.steps--4 { --cols: 4; }
.step { border-top: 2px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.step-num {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.45vw, 64px); line-height: 1; letter-spacing: -.05em;
  padding: .16em .34em; border-radius: var(--r-md); color: var(--ink);
}
.steps--sm .step-num { font-size: clamp(28px, 3.4vw, 48px); border-radius: 16px; padding: 8px 18px; }
.step p { font-size: 16px; line-height: 26px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { border-top: 0; padding-top: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; }
  .step-num { grid-row: span 2; font-size: 28px; padding: 10px 14px; border-radius: 14px; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 15px; line-height: 23px; }
}

/* ---------- FAQ ---------- */
.faq-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--mist); border-radius: var(--r-md); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 32px; list-style: none; cursor: pointer; border-radius: var(--r-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.25; letter-spacing: -.015em; }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 2.2px; border-radius: 2px; background: var(--ink);
  transition: rotate .35s var(--ease);
}
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon::after { rotate: 0deg; }
.faq-a { overflow: hidden; margin-top: -14px; }
.faq-a p { padding: 0 32px 28px; max-width: calc(66ch + 64px); font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.faq-item:hover .faq-q { color: var(--grape); }
@media (max-width: 900px) {
  .faq-item summary { padding: 20px 22px; align-items: flex-start; }
  .faq-a { margin-top: -8px; }
  .faq-a p { padding: 0 22px 20px; font-size: 15px; line-height: 23px; }
}

/* ---------- Contact block ---------- */
.contact-tile { justify-content: space-between; gap: 40px; }
.contact-tile .heading-l { margin-top: 16px; letter-spacing: -.045em; line-height: .94; }
.contact-tile-lead { margin-top: 20px; font-size: 18px; line-height: 28px; }
.contact-tile-img { align-self: flex-end; width: 190px; height: 170px; object-fit: contain; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-lines a { text-decoration: none; }
@media (max-width: 900px) {
  .contact-tile { gap: 16px; border-radius: 28px; }
  .contact-tile-img { width: 130px; height: 116px; }
  .contact-tile-lead { font-size: 15px; line-height: 23px; }
}

/* ---------- Forms ---------- */
.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-lg); background: var(--mist);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 10px; }
.optional { font-weight: 400; color: var(--ink-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="search"], .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--white); color: var(--ink); font-size: 16px; line-height: 20px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; line-height: 24px; min-height: 120px; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121216' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--grape); outline-offset: 2px; border-color: var(--ink); border-radius: var(--r-sm); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field ::placeholder { color: #8a8a96; opacity: 1; }
.field-help { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--danger); }
.field-error[hidden] { display: none; }
.field-error .i { width: 18px; height: 18px; margin-top: 1px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px !important; line-height: 21px !important; font-weight: 400 !important; color: var(--ink-muted); cursor: pointer; }
.check input {
  flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1px solid var(--line-strong);
  background: var(--white); display: grid; place-content: center; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check input::after {
  content: ""; width: 12px; height: 7px; border-left: 2.4px solid var(--on-ink); border-bottom: 2.4px solid var(--on-ink);
  rotate: -45deg; translate: 0 -1px; scale: 0; transition: scale var(--t-fast) var(--ease);
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { scale: 1; }
.check input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.check a { color: var(--ink); }

.pill-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-option { position: relative; cursor: pointer; }
.pill-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-option span {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--white);
  font-size: 15px; line-height: 20px; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pill-option span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color var(--t-fast); }
.pill-option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pill-option input:checked + span::before { background: var(--lime); box-shadow: none; }
.pill-option input:focus-visible + span { outline: 2px solid var(--grape); outline-offset: 3px; }

.form-actions { flex-direction: row; }
.form-actions .btn { align-self: flex-start; }
.form-notice { grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--r-sm); font-size: 15px; line-height: 22px; background: var(--white); }
.form-notice--ok { color: var(--success); box-shadow: inset 0 0 0 1px var(--success); }
.form-notice--error { color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn.is-loading .btn-label::after { content: "…"; }

@media (max-width: 900px) {
  .form { grid-template-columns: 1fr; gap: 16px; border-radius: 28px; padding: 24px 20px; }
  .form-actions .btn { width: 100%; }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 24px; translate: -50% 0; display: flex; flex-direction: column; gap: 10px; width: min(480px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 16px 16px;
  border-radius: 18px; background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-float);
  font-size: 15px; line-height: 22px; pointer-events: auto;
}
.toast-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center; background: var(--lime); color: var(--ink); }
.toast--error .toast-icon { background: #ffd9db; color: var(--danger); }
.toast-icon .i { width: 16px; height: 16px; stroke-width: 2.6; }
.toast p { flex: 1; padding-top: 2px; }
.toast button { flex: none; border: 0; background: transparent; color: var(--on-ink-dim); padding: 2px; border-radius: 50%; }
.toast button .i { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; padding: clamp(28px, 4.5vw, 64px); }
.cta-band .heading-xl { margin-top: 16px; letter-spacing: -.05em; line-height: .9; }
.cta-band p { margin-top: 20px; font-size: 18px; line-height: 28px; }
.cta-band .btn { flex: none; padding: 18px 32px; }
@media (max-width: 900px) {
  .cta-band { flex-direction: column; align-items: stretch; gap: 28px; }
  .cta-band .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.site-footer-inner { padding-top: clamp(48px, 6.7vw, 96px); padding-bottom: 40px; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 2fr 2fr; gap: 32px 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.logo--footer { height: 40px; }
.footer-brand p { max-width: 340px; font-size: 16px; line-height: 25px; color: var(--on-ink-dim); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a, .footer-contact span { color: var(--on-ink); text-decoration: none; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col .eyebrow { color: var(--lime); font-size: 11px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; }
.footer-col a { color: var(--on-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color var(--t-fast); }
.footer-col a:hover { color: var(--lime); background-size: 100% 1px; }
.footer-big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 13.9vw, 200px); line-height: .8; letter-spacing: -.06em;
  white-space: nowrap; overflow: hidden; padding-bottom: .06em;
}
.footer-big .ch { display: inline-block; will-change: transform; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--on-ink-line); font-size: 13px; line-height: 20px; color: var(--on-ink-dim); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--on-ink); text-decoration: none; font-weight: 600; }
.to-top:hover { color: var(--lime); }
.to-top .i { width: 18px; height: 18px; transition: translate var(--t-fast) var(--ease); }
.to-top:hover .i { translate: 0 -3px; }
@media (max-width: 900px) {
  .site-footer { border-radius: 28px 28px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .logo--footer { height: 32px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Curtain (page transitions + first visit) ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: flex; flex-direction: column; visibility: hidden; }
.curtain-bar { flex: 1; background: var(--ink); border-radius: 0 var(--r-pill) var(--r-pill) 0; transform: translateX(-102%); margin-top: -1px; }
.curtain-bar--lime { background: var(--lime); }
.is-arriving .curtain, .curtain.is-active { visibility: visible; pointer-events: auto; }
.is-arriving .curtain-bar { transform: none; border-radius: 0; }
/* Failsafe: if scripts never run, lift the curtain anyway. */
.is-arriving:not(.anim-on) .curtain { animation: rp-lift 0s 2.5s forwards; }
@keyframes rp-lift { to { visibility: hidden; opacity: 0; } }

/* ---------- Workforce rain (js/workforce.js) ---------- */
.workforce { position: fixed; inset: 0; z-index: 45; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: var(--r-pill);
  background: var(--ink); opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .25s, background-color .25s;
}
.cursor-label { font-size: 13px; font-weight: 600; color: var(--on-ink); opacity: 0; white-space: nowrap; transition: opacity .2s; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(18, 18, 22, .12); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--ink); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0 !important; }
@media (pointer: coarse), (hover: none) { .cursor { display: none; } }

/* ---------- Motion: initial states (only when JS + motion are on) ---------- */
.motion [data-reveal] { opacity: 0; }
.motion [data-hero] { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion:not(.anim-on) [data-reveal],
.motion:not(.anim-on) [data-hero] { animation: rp-show .4s 2.5s forwards; }
.motion:not(.anim-on) [data-split] { animation: rp-vis 0s 2.5s forwards; }
@keyframes rp-show { to { opacity: 1; transform: none; } }
@keyframes rp-vis { to { visibility: visible; } }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-inner { display: block; will-change: transform; }

.reduced-motion [data-reveal], .reduced-motion [data-hero] { animation: rp-fade .16s ease-out both; }
@keyframes rp-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .16s !important; scroll-behavior: auto !important; }
  .btn:hover, a.tile:hover { scale: none; translate: none; }
}

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.i-32 { width: 32px; height: 32px; }
.i-lime { color: var(--lime); }
.text-link--lime { color: var(--lime); }
.text-link--lime:hover { color: var(--on-ink); }
.bg-ink .text-link--lime { color: var(--lime); }

/* Art tile: a picture that never sets the height of its row */
.art-tile { position: relative; min-height: 420px; padding: 0; overflow: hidden; }
.art-tile img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }

/* ---------- Service pages ---------- */
.svc-hero { grid-template-rows: minmax(280px, auto) minmax(280px, auto); }
.svc-hero-main { justify-content: space-between; gap: 28px; }
.svc-hero-main .lead { max-width: 580px; }
.svc-hero-media { padding: 12px; overflow: hidden; }
.svc-hero-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.svc-hero-chips { justify-content: space-between; gap: 24px; }

.inc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.inc { min-height: 280px; justify-content: space-between; gap: 24px; }
.inc p { margin-top: 10px; }

.fit-tile { gap: 28px; }
.quote-tile { justify-content: space-between; gap: 32px; align-items: flex-start; }
.rota--a i:nth-child(1) { --w: 150px; }
.rota--a i:nth-child(2) { --w: 220px; --x: 60px; }
.rota--a i:nth-child(3) { --w: 100px; --x: 24px; }
.rota--a i:nth-child(4) { --w: 190px; --x: 130px; }
.rota--b i:nth-child(1) { --w: 200px; --x: 40px; }
.rota--b i:nth-child(2) { --w: 120px; }
.rota--b i:nth-child(3) { --w: 240px; --x: 90px; }
.rota--b i:nth-child(4) { --w: 140px; --x: 20px; }
.rota--c i:nth-child(1) { --w: 110px; --x: 100px; }
.rota--c i:nth-child(2) { --w: 230px; --x: 10px; }
.rota--c i:nth-child(3) { --w: 160px; --x: 70px; }
.rota--c i:nth-child(4) { --w: 90px; }
.rota--d i:nth-child(1) { --w: 180px; }
.rota--d i:nth-child(2) { --w: 250px; --x: 64px; }
.rota--d i:nth-child(3) { --w: 120px; --x: 28px; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.related-grid > li { display: flex; }
.related-card { flex: 1; min-height: 220px; justify-content: space-between; gap: 24px; }
.related-card img { width: 96px; height: 96px; object-fit: contain; transition: scale .5s var(--ease), rotate .5s var(--ease); }
.related-card:hover img { scale: 1.08; rotate: -4deg; }
.related-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.related-foot .i { transition: translate var(--t-fast) var(--ease); }
.related-card:hover .related-foot .i { translate: 4px 0; }

.cta-band .heading-xl { max-width: 760px; }
.cta-band p a, .cta-band p span { color: var(--ink); }

/* ---------- Services hub ---------- */
.hub-hero-main { min-height: 520px; justify-content: space-between; gap: 28px; }
.hub-hero-art { gap: 16px; padding: 24px; border-radius: var(--r-lg); }
.hub-hero-art .tile-top { font-size: 11px; }
.hub-hero-art img { flex: 1 1 0; width: 100%; min-height: 360px; object-fit: contain; }
.hub-grid > li { display: flex; }
.hub-card { flex: 1; min-height: 360px; justify-content: space-between; gap: 28px; }
.hub-card .tile-top img { width: 150px; height: 130px; object-fit: contain; transition: scale .5s var(--ease), rotate .5s var(--ease); }
.hub-card:hover .tile-top img { scale: 1.06; rotate: -3deg; }
.hub-card-body { display: flex; flex-direction: column; gap: 16px; }
.hub-card-body > .muted { font-size: 17px; line-height: 27px; }
.hub-card-link { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.hub-card-link .i { width: 20px; height: 20px; transition: translate var(--t-fast) var(--ease); }
.hub-card:hover .hub-card-link .i { translate: 4px 0; }
.hub-card.bg-ink .hub-card-link .i { color: var(--lime); }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.flow-step { min-height: 260px; justify-content: space-between; gap: 24px; }
.flow-step .eyebrow { color: var(--ink); }
.flow-step p { margin-top: 12px; font-size: 16px; line-height: 25px; }

.routes-tile { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; }
.routes-text { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.routes-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ---------- Construction ---------- */
.con-hero-main { min-height: 640px; justify-content: space-between; gap: 28px; }
.con-hero-main .lead { max-width: 520px; }
.con-hero-media { padding: 16px; border-radius: var(--r-lg); overflow: hidden; }
.con-hero-media img { width: 100%; height: 100%; max-height: 720px; object-fit: contain; }
.roles-grid > li { list-style: none; }
.role-card { min-height: 380px; justify-content: space-between; gap: 24px; }
.role-card .tile-top img { width: 160px; height: 160px; object-fit: contain; transition: scale .5s var(--ease), rotate .5s var(--ease); }
.role-card:hover .tile-top img { scale: 1.06; rotate: -3deg; }
.role-card p { margin-top: 10px; font-size: 16px; line-height: 25px; }
.brief-tile { gap: 24px; }
.brief-side { display: flex; flex-direction: column; gap: var(--gap); }
.brief-rota { flex: 1; justify-content: space-between; gap: 24px; }
.brief-link { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }

/* ---------- Find work ---------- */
.fw-hero-main { min-height: 600px; justify-content: space-between; gap: 28px; }
.fw-hero-main .lead { max-width: 520px; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.kind { min-height: 140px; justify-content: space-between; gap: 16px; }
.info-tile { gap: 16px; }
.register-tile { justify-content: space-between; gap: 32px; }
.register-tile .heading-l { margin-top: 16px; }
.register-tile p.muted { margin-top: 16px; font-size: 18px; line-height: 28px; }
.register-tile img { align-self: flex-end; width: 260px; height: 260px; object-fit: contain; object-position: right bottom; }

/* ---------- About ---------- */
.about-hero-text { padding: 56px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.about-hero-text .lead { max-width: 540px; }
.about-hero-media { min-height: 520px; padding: 16px; border-radius: var(--r-lg); overflow: hidden; }
.about-hero-media img { width: 100%; height: 100%; object-fit: contain; }
.story-grid { align-items: start; }
.story-text { display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 31px; color: var(--ink-muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.value { min-height: 460px; justify-content: space-between; gap: 24px; }
.value img { align-self: center; width: 200px; height: 200px; object-fit: contain; }
.value p { margin-top: 12px; font-size: 16px; line-height: 25px; }
.door { flex-direction: row; justify-content: space-between; gap: 24px; min-height: 300px; }
.door-text { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.door-text p { margin-top: 10px; }
.door img { flex: none; align-self: center; width: 200px; height: 200px; object-fit: contain; transition: scale .5s var(--ease); }
.door:hover img { scale: 1.06; }
.company-tile { flex-direction: row; justify-content: space-between; gap: 40px; }
.company-head { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.company-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 32px; font-size: 16px; line-height: 25px; }
.company-dl dt { padding-top: 4px; }

/* ---------- FAQ page ---------- */
.faq-hero-main { gap: 28px; }
.faq-search { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.faq-search label { font-size: 14px; font-weight: 600; }
.faq-search-box {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  transition: border-color var(--t-fast);
}
.faq-search-box:focus-within { border-color: var(--ink); outline: 2px solid var(--grape); outline-offset: 2px; }
.faq-search-box .i { color: var(--ink-muted); width: 20px; height: 20px; }
.faq-search-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font-size: 16px; outline: none; }
.faq-search-box input::-webkit-search-cancel-button { cursor: pointer; }
.faq-hero-main .chips .chip { background: var(--white); }
.faq-hero-main .chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.faq-group[hidden] { display: none; }
.faq-item[hidden] { display: none; }
.faq-empty { padding-top: 48px; font-size: 18px; color: var(--ink-muted); }

/* ---------- Contact ---------- */
.contact-hero-text { padding: 40px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.contact-title { font-size: clamp(64px, 8.4vw, 120px); line-height: .86; letter-spacing: -.055em; }
.contact-hero-text .lead { max-width: 480px; }
.door-mini { min-height: 340px; justify-content: space-between; gap: 16px; }
.door-mini img { width: 100%; height: 140px; object-fit: contain; }
.door-mini-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.door-mini-foot .i { transition: translate var(--t-fast) var(--ease); }
.door-mini:hover .door-mini-foot .i { translate: 4px 0; }
.contact-side { display: flex; flex-direction: column; gap: var(--gap); }
.contact-card { gap: 20px; }
.contact-card-list { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 26px; }
.contact-card-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-card-list .i { color: var(--lime); width: 20px; height: 20px; margin-top: 3px; }
.contact-card-list .numeral { font-size: 15px; color: var(--on-ink); text-decoration: none; }
.contact-map { flex: 1; min-height: 300px; padding: 12px; border-radius: var(--r-lg); overflow: hidden; }
.contact-map img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Legal ---------- */
.legal { padding-bottom: var(--section-y); }
.legal-head { display: flex; flex-direction: column; gap: 20px; padding: 32px 0 56px; max-width: 900px; }
.legal-draft { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin-bottom: 40px; border-radius: 16px; background: var(--lilac); font-size: 15px; line-height: 23px; }
.legal-draft .i { width: 20px; height: 20px; margin-top: 1px; color: var(--lilac-ink); }
.legal-grid { align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; }
.legal-toc .eyebrow { margin-bottom: 10px; }
.legal-toc a { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; text-decoration: none; }
.legal-toc .numeral { font-size: 11px; color: var(--ink-muted); padding-top: 1px; }
.legal-body { grid-column: 5 / span 8; }
.legal-section { padding: 40px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section p { max-width: 66ch; font-size: 17px; line-height: 28px; color: var(--ink-muted); }

/* ---------- 404 ---------- */
.nf { padding-top: 48px; }
.nf-grid { align-items: center; }
.nf-text { display: flex; flex-direction: column; gap: 28px; padding: 40px 0; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 13.9vw, 200px); line-height: .8; letter-spacing: -.06em; color: var(--lilac); }
.nf-text .body-l { max-width: 480px; }
.nf-art { min-height: 480px; }
.nf-art img { inset: 40px; width: calc(100% - 80px); height: calc(100% - 80px); }

/* ---------- Inner pages: tablet and mobile ---------- */
@media (max-width: 1100px) {
  .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { --cols: 2; row-gap: 40px; }
}

@media (max-width: 900px) {
  .svc-hero { grid-template-rows: none; }
  .svc-hero-media { aspect-ratio: 3 / 2; }
  .svc-hero-main, .hub-hero-main, .con-hero-main, .fw-hero-main, .faq-hero-main { min-height: 0; border-radius: 28px; gap: 22px; }
  .inc-grid, .related-grid, .flow, .kinds, .values { grid-template-columns: 1fr; }
  .inc { min-height: 0; }
  .kinds { grid-template-columns: 1fr 1fr; }
  .kind { min-height: 110px; }
  .kind .title-26 { font-size: 19px; }
  .routes-tile, .company-tile, .door { flex-direction: column; align-items: flex-start; }
  .routes-actions .btn { width: 100%; }
  .hub-hero-art img { min-height: 260px; }
  .hub-card { min-height: 0; }
  .hub-card .tile-top img { width: 110px; height: 96px; }
  .flow-step { min-height: 180px; }
  .art-tile { min-height: 360px; }
  .con-hero-media { aspect-ratio: 4 / 5; }
  .role-card { min-height: 0; }
  .role-card .tile-top img { width: 112px; height: 112px; }
  .register-tile img { width: 180px; height: 180px; }
  .about-hero-text { padding: 16px 0 8px; gap: 20px; }
  .about-hero-media { min-height: 0; aspect-ratio: 3 / 2; }
  .story-text { font-size: 17px; line-height: 28px; }
  .value { min-height: 0; }
  .value img { width: 150px; height: 150px; }
  .door img { align-self: flex-end; width: 140px; height: 140px; }
  .company-dl { grid-template-columns: 1fr; gap: 4px; }
  .company-dl dd { margin-bottom: 12px; }
  .contact-hero { grid-template-columns: 1fr 1fr; }
  .contact-hero > .contact-hero-text { grid-column: 1 / -1; padding: 16px 0 8px; }
  .contact-hero > .door-mini { grid-column: span 1; min-height: 220px; padding: 18px; }
  .door-mini img { height: 90px; }
  .door-mini .title-30 { font-size: 20px; }
  .contact-map { min-height: 0; aspect-ratio: 3 / 2; }
  .legal-toc { position: static; }
  .legal-body { grid-column: 1 / -1; }
  .legal-head { padding: 16px 0 32px; }
  .nf-text { padding: 8px 0; }
  .nf-art { min-height: 280px; }
  .nf-art img { inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
}

.menu-open body { overflow: hidden; }
