/* =========================================================
   Adlab — design system
   ========================================================= */
/* Self-hosted Latin subsets: no third-party request on first paint. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/schibsted-grotesk-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #f6f8f9;
  --surface: #ffffff;
  --ink: #181a1b;
  --ink-2: #26292b;
  --ink-3: #383c3f;
  --muted: #64696f;
  --muted-2: #8b9298;
  --line: rgba(24, 26, 27, 0.08);
  --line-strong: rgba(24, 26, 27, 0.14);
  --card: #edf1f4;
  --card-2: #e4ebf0;
  --contact: #e4ebf0;
  --band: #181a1b;
  --band-card: #26292b;
  --light: #edf1f4;
  --light-2: #dce4ea;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-reveal: cubic-bezier(0.25, 1, 0.5, 1);
  --font-display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #e9edef;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--ink);
}

::selection { background: #c9a6ff; color: #1b1b1f; }

:focus-visible { outline: 2px solid #7a4dff; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- page frame ---------- */
.page {
  position: relative;
  width: calc(100% - 16px);
  max-width: 1720px;
  margin: 8px auto;
  background: var(--bg);
  border-radius: 18px;
  overflow: clip;
}

/* ---------- header ---------- */
/* transparent sticky shell; the white bar inside floats 8px below the page top
   and narrows to a centred 1392px bar once the page is scrolled */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  margin-top: -8px;
  padding: 8px 0 0;
  background: transparent;
  pointer-events: none;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 24px;
  background: #fff;
  max-width: 100%;
  margin: 0 auto;
  pointer-events: auto;
  transition: max-width 0.34s var(--ease);
}
.site-header.is-scrolled .header-inner { max-width: 1392px; }

.brand {
  position: relative;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--ink);
}
.brand-light { color: #fff; }
.brand img { display: block; height: 27px; width: auto; }
.brand-arrow {
  width: 11px;
  height: 11px;
  margin-top: 0;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand:hover .brand-arrow,
.brand:focus-visible .brand-arrow { opacity: 1; transform: none; }

.nav { display: flex; align-items: center; gap: 15px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 22px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-link:hover { background: #f6f8f9; color: #26292b; }
.nav-link svg { transition: transform 0.3s var(--ease); }
.nav-drop.open .nav-link svg,
.nav-drop:hover .nav-link svg { transform: rotate(180deg); }
.btn.header-cta { justify-self: end; height: 40px; padding: 0 16px; }

.nav-drop { position: relative; }

/* full-width services panel, anchored under the bar and matching its width */
.drop-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease-reveal), transform 0.2s var(--ease-reveal), visibility 0.2s, left 0.34s var(--ease), right 0.34s var(--ease);
}
.site-header.is-scrolled .drop-panel {
  left: calc((100% - 1392px) / 2);
  right: calc((100% - 1392px) / 2);
}
.drop-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.drop-panel a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  transition: background-color 0.2s var(--ease);
}
.drop-panel a:hover { background: #f6f8f9; }
.drop-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #17191b;
  background-image: var(--g);
  background-size: 160% 160%;
  background-position: 30% 30%;
  animation: mosaicDrift 17s ease-in-out infinite alternate;
}
.drop-brand {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(24, 26, 27, 0.06);
}
.drop-brand img, .drop-brand svg { display: block; width: 20px; height: 20px; }
.drop-icon-a { --g: linear-gradient(150deg, #cdb4ff 0%, #9b6bff 100%); }
.drop-icon-b { --g: linear-gradient(150deg, #c9d7ff 0%, #8fa8ff 100%); }
.drop-icon-c { --g: linear-gradient(150deg, #ffc9c9 0%, #ff8f8f 100%); }
.drop-icon-d { --g: linear-gradient(150deg, #c6ecdc 0%, #7fd6a9 100%); }
.drop-copy { display: flex; flex-direction: column; gap: 2px; }
.drop-panel strong { display: block; font-size: 14px; line-height: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.drop-panel .drop-copy span { display: block; font-size: 14px; line-height: 22px; color: var(--muted); }

.menu-btn {
  display: none;
  justify-self: end;
  width: 40px; height: 40px;
  border: 0; border-radius: 999px; background: #f1f4f5;
  cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 8px;
  right: 8px;
  z-index: 85;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px -30px rgba(24, 26, 27, 0.4), 0 0 0 1px rgba(24, 26, 27, 0.06);
  animation: menuIn 0.3s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu nav { display: grid; gap: 2px; margin-bottom: 14px; }
.mobile-menu nav a { padding: 12px; border-radius: 10px; font-family: var(--font-display); font-size: 21px; letter-spacing: -0.03em; }
.mobile-menu nav a:hover { background: #f3f6f7; }
.mobile-menu .btn { width: 100%; }

/* ---------- shared ---------- */
.wrap { width: calc(100% - 96px); max-width: 1107px; margin: 0 auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: #4d5459;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 22px;
  white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #6f777c; }
.badge-dark { background: rgba(255, 255, 255, 0.07); color: #dce4ea; }
.badge-dark .dot { background: #aeb6bb; }
.badge-partner { gap: 12px; padding: 7px 18px 7px 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(24, 26, 27, 0.08); font-size: 15px; line-height: 24px; }
.badge-marks { display: inline-flex; align-items: center; gap: 4px; }
.badge-marks img { display: block; width: 19px; height: 19px; }
.badge-marks img[src$="meta.svg"] { width: 25px; height: 25px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 1000px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 22px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #f6f8f9; color: var(--ink); }
.btn-light:hover { background: #eef1f3; }

/* label roll on hover, like the reference */
.btn-roll {
  position: relative;
  display: block;
  height: 22px;
  line-height: 22px;
  white-space: nowrap;
}
.btn-roll > span {
  display: block;
  transition: transform 0.42s var(--ease-reveal), opacity 0.42s var(--ease-reveal);
}
.btn-roll > span + span {
  position: absolute;
  inset: 0;
  transform: none;
}
.btn-roll > span:first-child { transform: translateY(-37px); opacity: 0; }
.btn:hover .btn-roll > span:first-child,
.btn:focus-visible .btn-roll > span:first-child { transform: none; opacity: 1; }
.btn:hover .btn-roll > span + span,
.btn:focus-visible .btn-roll > span + span { transform: translateY(37px); opacity: 0; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.arrow-link svg { transition: transform 0.3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: #4a5054;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.section-lede { max-width: 480px; color: var(--muted); font-size: 16px; line-height: 24px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.section-head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.05em; }

/* reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].in { opacity: 1; transform: none; will-change: auto; }

/* Above-the-fold copy is painted from the first frame instead of waiting for
   the reveal script; its entrance uses transform only, so slow connections
   read the page immediately without losing the motion. */
.js .hero [data-reveal],
.js .page-hero [data-reveal],
.js .hero .hero-title .w,
.js .page-hero h1 .w {
  opacity: 1;
}

/* cards and media lift a little further, like the reference */
.js .why-card[data-reveal]:not(.in),
.js .service-card[data-reveal]:not(.in),
.js .quote-card[data-reveal]:not(.in),
.js .review-card[data-reveal]:not(.in),
.js .insight-card[data-reveal]:not(.in),
.js .team-card[data-reveal]:not(.in),
.js .value-card[data-reveal]:not(.in),
.js .about-photo[data-reveal]:not(.in) {
  transform: translateY(40px);
}

/* hero sequence: badge, headline words, lede, button, then the art */
.js .hero .badge[data-reveal] { transition-delay: 0.06s; }
.js .hero .hero-lede[data-reveal] { transform: none; transition-delay: 0.16s; }
.js .hero .hero-actions[data-reveal] { transition-delay: 0.4s; }
/* inner-page copy is the first thing read, so it settles sooner */
.js .page-hero [data-reveal] { transition-duration: 0.4s; }
.js .page-hero h1[data-reveal] { transition-delay: 0.06s; }
.js .page-hero .lede[data-reveal] { transition-delay: 0.1s; }
.js .hero-art,
.js .hero-band { transition: opacity 0.7s var(--ease-reveal) 0.08s; }
.js .hero:not(.is-ready) .hero-art,
.js .hero:not(.is-ready) .hero-band { opacity: 0; }

/* header settles down from above on first paint */
.js .site-header { animation: headerDrop 0.6s var(--ease-reveal) both; }
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}

/* hero word reveal */
.js .hero-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
  transition-delay: calc(120ms + var(--i) * 50ms);
}
.js .hero.is-ready .hero-title .w { opacity: 1; transform: none; }

/* every h1/h2 rises word by word, like the reference */
.js .split-head[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
.js .split-head .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
  transition-delay: calc(60ms + var(--i) * 45ms);
}
.js .split-head.in .w { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 168px 8px 248px;
  background: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  min-height: 753px;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 700px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  margin-top: 24px;
  max-width: 700px;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-lede {
  max-width: 480px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.hero-actions { margin-top: 40px; }

.hero-art {
  position: absolute;
  top: 0;
  width: 328px;
  height: 737px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
}
.hero-art-left { left: 12px; }
.hero-art-right { right: 12px; }
.hero-art span { position: absolute; left: 0; display: block; }
.hero-art-right span { left: auto; right: 0; }

/* side art: blocks fan out into place once per load, then hold their widths
   while the gradient keeps travelling through them */
.hero-art .m-row {
  transform-origin: 0 50%;
  animation:
    heroDrift 9s ease-in-out infinite alternate var(--drift-delay, 0s),
    heroShift 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--shift-delay, 0s) 1 both;
  will-change: background-position, transform;
}
.hero-art-right .m-row { transform-origin: 100% 50%; }
@keyframes heroDrift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}
@keyframes heroShift {
  from { transform: scaleX(var(--s0, 0.45)); }
  to { transform: scaleX(1); }
}
.hero-band { display: none; }
/* one continuous grain field over the whole hero column, same as the footer strip */
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: var(--grain);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}
.t-purple { background: linear-gradient(165deg, #c07bff 0%, #a35cff 45%, #7f4bff 100%); }
.t-purple-2 { background: linear-gradient(200deg, #b06bff 0%, #d67bff 50%, #ff7f95 100%); }
.t-pink { background: linear-gradient(195deg, #ff9a9a 0%, #ff6fa8 55%, #d66bff 100%); }
.t-coral { background: linear-gradient(180deg, #ff9d8a 0%, #ff7a9c 60%, #ff6fb5 100%); }
.t-blend { background: linear-gradient(170deg, #c46bff 0%, #ff6f9c 60%, #ff9d8a 100%); }
.t-lilac { background: linear-gradient(185deg, #d68bff 0%, #b06bff 55%, #8a5cff 100%); }

/* ---------- logo ticker ---------- */
.logos {
  height: 112px;
  padding: 40px 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos-track { display: flex; width: max-content; animation: ticker 44s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-group { display: flex; align-items: center; gap: 88px; padding-right: 88px; }
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c2cbd1;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo-item svg { width: 24px; height: 24px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- why ---------- */
.why { padding: 160px 0; background: var(--bg); }
.why-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.why-head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.05em; }
.fade { color: var(--muted-2); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 860px;
  margin: 64px auto 0;
}
.why-card { display: flex; flex-direction: column; padding: 8px; }
.why-card-dark { background: var(--band); }
.why-card-light { background: #fff; }
.why-visual { position: relative; height: 274px; overflow: hidden; }
.why-illustration { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-copy { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 20px; min-height: 166px; }
.why-copy h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; max-width: 310px; }
.why-card-dark .why-copy h3 { color: #fff; }
.why-copy p { max-width: 340px; color: var(--muted); font-size: 14px; line-height: 22px; }
.why-card-dark .why-copy p { color: #a3abaf; }
.why-note {
  max-width: 560px;
  margin: 64px auto 0;
  color: #5b6267;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  text-wrap: pretty;
}

/* ---------- about ---------- */
.about { padding: 64px 0 0; background: #fff; }
.about-inner { width: calc(100% - 96px); max-width: 1107px; margin: 0 auto; }
.about-head { display: grid; grid-template-columns: 318px 1fr; gap: 50px; align-items: center; }
.about-head .badge { justify-self: start; }
.about-head h2 { max-width: 760px; font-size: 40px; line-height: 1.1; letter-spacing: -0.05em; }
.about-row { display: grid; grid-template-columns: 318px 1fr; gap: 50px; margin-top: 72px; align-items: center; }
.about-intro { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.about-intro p { max-width: 318px; color: var(--muted); font-size: 14px; line-height: 22px; }
.about-intro .arrow-link { margin-bottom: 4px; }
.about-photo { position: relative; height: auto; aspect-ratio: 831 / 465; overflow: hidden; background: #dfe7ec; }
.about-illustration { display: block; width: 100%; height: 100%; object-fit: cover; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: calc(100% + 96px);
  margin: 56px 0 0 -48px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  height: 160px;
  padding: 16px;
  background: #fff;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 2px; }
.stat-card p { color: var(--muted); font-size: 14px; line-height: 22px; }

/* ---------- services ---------- */
.services { padding: 160px 0; background: var(--bg); }
.services-body {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 40px;
  margin-top: 80px;
  align-items: start;
}
.service-tabs {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
}
.service-tab {
  height: 56px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 22px;
  text-transform: uppercase;
  text-align: left;
  color: #c1cbd4;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.service-tab:hover { color: #7f8a92; }
.service-tab.is-active { background: #fff; color: var(--ink); }

.service-cards { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 452px;
  gap: 8px;
  padding: 8px;
  background: #fff;
}
.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 64px 32px 32px;
  min-height: 452px;
}
.service-text h3 { max-width: 259px; font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; }
.service-text p { max-width: 259px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 22px; }
.service-text .tags { margin-top: 24px; }
.service-copy .arrow-link { margin-bottom: 8px; }

.service-art { position: relative; width: 452px; height: 452px; background: var(--card); overflow: hidden; }
.service-illustration { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}
.art-cell { background: #e4ebf0; margin: 1px; }
.art-cell.ghost { background: #edf1f4; }
.art-cell.grad { margin: 1px; }
.g1 { background: linear-gradient(105deg, #9a5bff 0%, #ff7fd6 47%, #ff7465 100%); }
.g2 { background: linear-gradient(285deg, #9a5bff 0%, #ff7fd6 47%, #ff7465 100%); }
.g3 { background: linear-gradient(75deg, #ff7465 0%, #ff7fd6 47%, #9a5bff 100%); }
.g4 { background: linear-gradient(255deg, #ff7465 0%, #ff7fd6 47%, #9a5bff 100%); }
.art-grid::before,
.art-grid::after {
  content: ""; position: absolute; background: #fff; opacity: 0.9;
}
.art-grid::before { left: 25%; top: 0; bottom: 0; width: 1px; }
.art-grid::after { top: 25%; left: 0; right: 0; height: 1px; }

.art-diamond { position: absolute; inset: 0; display: grid; place-items: center; }
.art-diamond .d {
  position: absolute; width: 150px; height: 150px;
  background: linear-gradient(145deg, #ff9d8a, #ff6fae 55%, #b06bff);
  transform: rotate(45deg);
}
.art-diamond .d1 { left: 76px; top: 151px; }
.art-diamond .d2 { left: 226px; top: 151px; background: linear-gradient(145deg, #b06bff, #7a4dff); }
.art-diamond .d3 { left: 76px; top: 301px; background: linear-gradient(145deg, #ffb0a1, #ff74a8); opacity: 0.9; }
.art-diamond .d4 { left: 226px; top: 301px; background: linear-gradient(145deg, #ff8fae, #c46bff); opacity: 0.9; }

.art-pie { position: absolute; inset: 0; display: grid; place-items: center; }
.pie-a {
  width: 300px; height: 300px; border-radius: 50%;
  background: conic-gradient(from 90deg, #ff8fae 0 50%, #b06bff 50% 100%);
}
.pie-b {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,255,255,0.55), transparent 65%);
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}
.pie-ring {
  position: absolute; width: 390px; height: 390px; border-radius: 50%;
  border: 1px solid #d7e0e6;
}

/* ---------- approach ---------- */
.approach {
  margin: 0 8px 8px;
  padding-bottom: 8px;
  background: var(--band);
  color: var(--light);
  overflow: hidden;
}
.approach-head { padding: 48px 48px 64px; }
.approach h2 { max-width: 600px; margin-top: 24px; color: var(--light); font-size: 48px; line-height: 1.1; }
.approach-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
}
.approach-row p { color: var(--light-2); font-size: 16px; line-height: 24px; }
.approach .badge { background: rgba(255, 255, 255, 0.08); color: var(--light); }

.steps { display: flex; gap: 8px; height: 400px; margin: 0 8px; }
.step {
  flex: 0 0 152px;
  height: 400px;
  background: var(--band-card);
  transition: flex-basis 0.55s var(--ease);
  overflow: hidden;
}
.step.is-open { flex-basis: 707px; }
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 82px;
  width: 100%;
  height: 100%;
  padding: 40px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.step.is-open .step-card { align-items: flex-start; }
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--light-2);
  white-space: nowrap;
}
.step-text { display: none; max-width: 400px; }
.step.is-open .step-text { display: block; }
.step-text h3 { color: var(--light); font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; }
.step-text p { margin-top: 24px; color: var(--light-2); font-size: 14px; line-height: 22px; }
.step:not(.is-open) .step-card { justify-content: flex-start; padding-top: 40px; }

/* ---------- dark CTA ---------- */
.band { margin: 0 8px; padding: 8px; background: var(--band); color: var(--light); }
.band-inner { display: grid; grid-template-columns: 629px 470px; gap: 88px; height: 666px; margin: 0 auto; }
.band-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.band h2 { max-width: 431px; color: var(--light); font-size: 48px; line-height: 1.1; }
.band h2 em { font-style: italic; color: #c7cdd0; }
.band-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 336px; }
.band-bottom p { color: var(--light-2); font-size: 16px; line-height: 24px; }
.band-art {
  position: relative;
  height: 666px;
  overflow: hidden;
  background: #1a1a1c;
}
.band-illustration { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact-art {
  height: 281px;
  overflow: hidden;
  display: flex;
  background: var(--contact);
}
.contact-art span { display: block; }

/* ---------- testimonials ---------- */
.testimonials { padding: 160px 0 0; background: var(--bg); }
.testi-inner {
  width: calc(100% - 96px);
  max-width: 1107px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 667px;
  justify-content: space-between;
  gap: 80px;
}
.side-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.side-head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.05em; }
.side-head .section-lede { max-width: 360px; }
.testi-cards { display: flex; flex-direction: column; gap: 8px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quote-card {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 342px; padding: 32px; background: #fff;
}
.quote-card blockquote {
  margin: 0; max-width: 265px; color: var(--ink);
  font-size: 18px; line-height: 26px; letter-spacing: -0.02em;
}
.quote-card footer,
.review-body footer { display: flex; flex-direction: column; gap: 2px; }
.quote-card footer strong,
.review-body footer strong { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.quote-card footer span,
.review-body footer span { color: var(--muted); font-size: 14px; line-height: 22px; }
.review-card { display: grid; grid-template-columns: 266px 1fr; gap: 8px; height: 350px; padding: 8px; background: #fff; }
.review-photo { position: relative; height: 334px; overflow: hidden; }
.review-photo .person .head { width: 32%; top: 10%; }
.review-photo .person .shoulders { width: 86%; }
.review-stat { position: absolute; left: 24px; bottom: 24px; z-index: 3; }
.review-stat .stat-num { color: #fff; font-size: 48px; }
.review-stat p { margin-top: 4px; color: rgba(255, 255, 255, 0.9); font-size: 14px; line-height: 22px; }
.review-body { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.review-body blockquote { margin: 0; max-width: 329px; font-family: var(--font-display); font-size: 26px; line-height: 31.2px; letter-spacing: -0.05em; }

/* ---------- faq ---------- */
.faq { padding: 160px 0; background: var(--bg); }
.faq-inner {
  width: calc(100% - 96px);
  max-width: 1107px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 667px;
  justify-content: space-between;
  gap: 80px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: #fff; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 24px; list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em; line-height: 24px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 1.5px;
  background: #2b2f31; transform: translateY(-50%); transition: transform 0.45s var(--ease);
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translateY(-50%) rotate(0deg); }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { max-width: 579px; color: var(--muted); font-size: 14px; line-height: 22px; animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.footer { padding: 0 8px 8px; background: var(--bg); }
.footer-panel { display: grid; gap: 8px; padding: 8px; background: var(--band); }
.contact-cta { display: flex; flex-direction: column; height: 613px; background: var(--contact); color: var(--ink); overflow: hidden; }
.contact-text {
  display: grid;
  grid-template-columns: 743px 300px;
  justify-content: space-between;
  gap: 64px;
  padding: 40px 40px 140px;
  min-height: 332px;
}
.contact-title h2 { max-width: 743px; font-size: 48px; line-height: 1.1; letter-spacing: -0.05em; }
.contact-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 24px; }
.contact-aside p { max-width: 300px; color: #4f5b62; font-size: 16px; line-height: 24px; }
.contact-art { flex: 1; }

.footer-main { padding: 54px 48px 32px; display: flex; flex-direction: column; gap: 54px; color: #fff; }
.footer-top { display: grid; grid-template-columns: 480px 531px; justify-content: space-between; gap: 80px; }
.footer-brand .brand { font-size: 30px; }
.footer-brand .brand img { height: 30px; }
.footer-brand p { max-width: 300px; margin-top: 24px; color: #8e979c; font-size: 14px; line-height: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h2 {
  margin: 0 0 16px; color: #7f888d;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-cols a { display: block; margin-bottom: 8px; color: #e6eaec; font-size: 14px; line-height: 22px; transition: color 0.2s var(--ease); }
.footer-cols a:hover { color: #fff; }

.footer-bottom { display: flex; flex-direction: column; gap: 48px; }
.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 340px);
  font-weight: 500;
  line-height: 0.77;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.05);
  text-align: center;
  user-select: none;
  height: 262px;
  overflow: hidden;
}
.footer-wordmark img { display: block; height: 100%; width: auto; max-width: 100%; opacity: 0.07; }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7f888d; font-size: 13px; line-height: 22px;
}
.footer-bar div { display: flex; gap: 24px; }
.footer-bar a:hover { color: #cfd5d8; }

/* ---------- page transition ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 250; background: var(--bg);
  opacity: 0; pointer-events: none; transition: opacity 0.28s var(--ease);
}
body.is-leaving .page-veil { opacity: 1; pointer-events: all; }
.js .page { animation: pageIn 0.55s var(--ease) backwards; }
.page { transition: opacity 0.28s var(--ease), transform 0.28s var(--ease); }
body.is-leaving .page { opacity: 0; transform: translateY(-6px); }
@keyframes pageIn { from { opacity: 1; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Inner pages (shared shell)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 120px 48px 80px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .badge { margin-bottom: 24px; }
.page-hero h1 { max-width: 900px; margin: 0 auto; font-size: 54px; line-height: 1.1; letter-spacing: -0.05em; }
.page-hero .lede { max-width: 560px; margin: 24px auto 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.page-hero .btn { margin-top: 32px; }
.page-hero-dark { background: var(--band); border-bottom: 0; }
.page-hero-dark h1 { color: var(--light); }
.page-hero-dark .lede { color: #a7afb3; }

.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h2 { margin: 48px 0 16px; font-size: 34px; line-height: 1.15; letter-spacing: -0.05em; }
.prose h3 { margin: 36px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; }
.prose p { margin: 16px 0; color: #3d4348; font-size: 17px; line-height: 28px; }
.prose ul { margin: 16px 0; padding-left: 22px; color: #3d4348; font-size: 17px; line-height: 28px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .band-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .band h2 { font-size: 44px; }
  .testi-inner, .faq-inner { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; }
  .contact-text { grid-template-columns: 1fr 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; padding: 0 16px; }
  .header-cta { display: none; }
  .drop-panel { display: none; }
  .menu-btn { display: block; }

  .hero { padding: 128px 24px 0; min-height: 0; flex-direction: column; align-items: center; }
  .hero-art { display: none; }
  .hero-band {
    display: flex;
    align-items: flex-end;
    width: calc(100% + 48px);
    margin: 64px -24px 0;
    height: 300px;
    position: relative;
    overflow: hidden;
  }
  .hero-band .m-bar { flex: 1 1 0; }
  .hero-title { font-size: 48px; }

  .why, .services, .testimonials, .faq { padding-left: 0; padding-right: 0; }
  .why { padding-top: 120px; padding-bottom: 120px; }
  .services { padding-top: 120px; padding-bottom: 120px; }
  .faq { padding-top: 120px; padding-bottom: 120px; }
  .testimonials { padding-top: 120px; }

  .why-grid { max-width: 720px; }
  .about-head { grid-template-columns: 240px 1fr; gap: 32px; }
  .about-row { grid-template-columns: 240px 1fr; gap: 32px; margin-top: 80px; }
  .about-intro { height: auto; gap: 32px; }
  .stats { width: calc(100% + 96px); margin-left: -48px; }
  .stat-card { height: 150px; }

  .services-body { grid-template-columns: 1fr; gap: 24px; }
  .service-tabs { position: static; flex-direction: row; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .service-tabs::-webkit-scrollbar { display: none; }
  .service-tab { height: 44px; padding: 0 16px; background: rgba(24, 26, 27, 0.04); white-space: nowrap; }
  .service-tab.is-active { background: #fff; }
  .service-card { grid-template-columns: minmax(0, 1fr) 360px; }
  .service-art { width: 360px; height: 360px; }
  .service-copy { min-height: 360px; }

  .approach { margin-left: 0; margin-right: 0; }
  .steps { height: 380px; }
  .step { height: 380px; flex-basis: 120px; }
  .step.is-open { flex-basis: 55%; }
  .step-card { padding: 32px; gap: 40px; }

  .band-inner { grid-template-columns: 1fr; gap: 0; height: auto; }
  .band-copy { padding: 48px 32px; gap: 80px; }
  .band h2 { max-width: 500px; font-size: 44px; }
  .band-art { height: auto; aspect-ratio: 528 / 750; width: min(100%, 470px); margin: 0 auto; }
  .band-bottom { max-width: 420px; }

  .testi-inner, .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .side-head { max-width: 480px; }
  .side-head .section-lede { max-width: 480px; }
  .quote-card { height: 320px; }
  .review-card { grid-template-columns: 220px 1fr; }
  .review-photo { height: 334px; }

  .contact-cta { height: auto; }
  .contact-text { grid-template-columns: 1fr 300px; gap: 32px; padding: 40px 32px 120px; min-height: 0; }
  .contact-art { height: 240px; }
  .footer-main { padding: 48px 32px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { max-width: 560px; }
}

@media (max-width: 760px) {
  .page { margin: 0; border-radius: 0; width: 100%; max-width: none; }
  .site-header { margin-top: 0; padding: 8px 8px 0; }
  .header-inner { height: 56px; padding: 0 16px; }
  .brand { font-size: 26px; }
  .brand img { height: 23px; }

  .wrap, .about-inner, .testi-inner, .faq-inner { width: calc(100% - 40px); }

  .hero { padding: 104px 20px 0; }
  .hero-title { font-size: 38px; margin-top: 20px; }
  .hero-lede { font-size: 15px; line-height: 23px; margin-top: 18px; max-width: 430px; }
  .hero-actions { margin-top: 28px; }
  .hero-band { width: calc(100% + 40px); margin: 48px -20px 0; height: 260px; }

  .logos { height: 92px; padding: 30px 20px; }
  .logos-group { gap: 48px; padding-right: 48px; }
  .logo-item { font-size: 16px; }
  .logo-item svg { width: 20px; height: 20px; }

  .why { padding: 84px 0; }
  .why-head h2, .section-head h2, .side-head h2, .approach h2, .band h2, .contact-title h2 { font-size: 34px; }
  .why-head { gap: 18px; }
  .why-grid { grid-template-columns: 1fr; max-width: 440px; margin-top: 40px; }
  .why-visual { height: 250px; }
  .why-copy { min-height: 0; padding: 20px 20px 16px; }
  .why-copy h3 { font-size: 22px; }
  .why-note { margin-top: 40px; font-size: 14px; }

  .about { padding-top: 48px; }
  .about-head { grid-template-columns: 1fr; gap: 16px; }
  .about-head h2 { font-size: 30px; }
  .about-row { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .about-intro { gap: 24px; }
  .about-intro p { max-width: none; }
  .stats { width: 100%; margin: 40px 0 0; grid-template-columns: 1fr; gap: 8px; }
  .stat-card { height: 120px; }
  .stat-num { font-size: 40px; }

  .services { padding: 84px 0; }
  .services-body { margin-top: 40px; }
  .service-card { grid-template-columns: 1fr; }
  .service-copy { min-height: 0; padding: 24px 20px 28px; gap: 28px; }
  .service-text h3 { max-width: none; font-size: 22px; }
  .service-text p, .service-text .tags { max-width: none; }
  .service-art { width: 100%; height: auto; aspect-ratio: 1; }
  .art-diamond .d { width: 33%; height: 33%; }
  .art-diamond .d1 { left: 17%; top: 33%; }
  .art-diamond .d2 { left: 50%; top: 33%; }
  .art-diamond .d3 { left: 17%; top: 66%; }
  .art-diamond .d4 { left: 50%; top: 66%; }
  .pie-a, .pie-b { width: 66%; height: 66%; }
  .pie-ring { width: 86%; height: 86%; }

  .approach-head { padding: 40px 20px 40px; }
  .approach-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .approach-row p br { display: none; }
  .steps { height: auto; flex-direction: column; gap: 8px; margin: 0 8px 0; }
  .step, .step.is-open { flex: none; height: auto; min-height: 0; }
  .step-card { flex-direction: row; align-items: flex-start; gap: 24px; padding: 24px 20px; }
  .step.is-open .step-card { flex-direction: column; gap: 24px; }
  .step:not(.is-open) .step-card { align-items: center; }
  .step-text { max-width: none; }
  .step-text h3 { font-size: 22px; }
  .step-text p { margin-top: 12px; }

  .band { margin: 0; padding: 8px; }
  .band-copy { padding: 40px 20px; gap: 56px; }
  .band-bottom { max-width: none; }

  .testimonials { padding: 84px 0 0; }
  .testi-inner { gap: 40px; }
  .quote-row { grid-template-columns: 1fr; }
  .quote-card { height: auto; gap: 56px; padding: 24px; }
  .quote-card blockquote { max-width: none; }
  .review-card { grid-template-columns: 1fr; height: auto; }
  .review-photo { height: 240px; }
  .review-body { gap: 40px; padding: 20px; }
  .review-body blockquote { max-width: none; font-size: 22px; line-height: 1.2; }

  .faq { padding: 84px 0; }
  .faq-inner { gap: 40px; }
  .faq-item summary { height: auto; min-height: 64px; padding: 20px; font-size: 15px; }
  .faq-answer { padding: 0 20px 20px; }

  .footer { padding: 0; }
  .footer-panel { padding: 8px; }
  .contact-text { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 56px; }
  .contact-aside { padding-top: 0; }
  .contact-art { height: 200px; }
  .footer-main { padding: 40px 20px 24px; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-wordmark { height: 130px; font-size: 32vw; }
  .footer-bottom { gap: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =========================================================
   Generated gradient art
   ========================================================= */
.m-row {
  position: absolute;
  left: 0;
  display: block;
  background-image: var(--g);
  background-size: 180% 180%;
  background-position: 50% 30%;
  animation: mosaicDrift 17s ease-in-out infinite alternate;
  will-change: background-position;
}
.hero-art-left .m-row { left: 0; right: auto; }
.hero-art-right .m-row { left: auto; right: 0; }

@keyframes mosaicDrift {
  from { background-position: 18% 0%; }
  to { background-position: 82% 100%; }
}

.m-cell {
  display: block;
  background-image: var(--g);
  background-size: 170% 170%;
  background-position: 50% 50%;
  animation: cellDrift 14s ease-in-out infinite alternate;
  will-change: background-position;
}

@keyframes cellDrift {
  from { background-position: 0% 8%; }
  to { background-position: 100% 92%; }
}

.band-art, .contact-art, .page-hero-art { position: relative; }
.band-art::after,
.contact-art::after,
.page-hero-art::after,
.hero-band::after,
.service-art::after,
.service-figure::after,
.why-visual::after,
.about-photo::after,
.story-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: var(--grain);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- glossy sheen on the gradient tiles ----------
   Each coloured box carries a fixed highlight plus a soft band of
   light that travels across it, so the artwork reads as polished
   rather than as flat fills. */
.m-cell,
.page-band-seg,
.m-bar,
.art-cell.grad,
.g1, .g2, .g3, .g4 {
  position: relative;
  isolation: isolate;
}
.m-row { isolation: isolate; }
.m-cell::before,
.page-band-seg::before,
.m-bar::before,
.m-row::before,
.art-cell.grad::before,
.g1::before, .g2::before, .g3::before, .g4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(104deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(104deg,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 0.36) 47%,
      rgba(255, 255, 255, 0.06) 57%,
      rgba(255, 255, 255, 0) 70%);
  background-size: 100% 100%, 260% 100%;
  background-repeat: no-repeat;
  background-position: 0% 0%, 170% 0%;
  mix-blend-mode: soft-light;
  animation: sheenSweep 8s ease-in-out infinite;
  animation-delay: var(--sheen-delay, 0s);
  pointer-events: none;
}

@keyframes sheenSweep {
  0%   { background-position: 0% 0%, 170% 0%; }
  62%  { background-position: 0% 0%, -70% 0%; }
  100% { background-position: 0% 0%, -70% 0%; }
}

/* the small service tiles carry less highlight so they stay saturated */
.art-cell.grad::before,
.g1::before, .g2::before, .g3::before, .g4::before {
  opacity: 0.55;
}

.page-band-row { display: flex; width: 100%; }
.page-band-seg {
  height: 100%;
  background-image: var(--g);
  background-size: 130% 100%;
  background-position: 50% 40%;
  animation: mosaicDrift 16s ease-in-out infinite alternate;
  will-change: background-position;
}

.m-bar {
  display: block;
  height: 100%;
  flex: 0 0 auto;
  background-image: var(--g);
  background-size: 150% 100%;
  background-position: 50% 50%;
  animation: barDrift 15s ease-in-out infinite alternate;
  will-change: background-position;
}

@keyframes barDrift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero {
  position: relative;
  padding: 0 8px 8px;
  background: #fff;
  border: 0;
  border-radius: 0;
  text-align: center;
}
.page-hero-copy {
  max-width: 860px;
  margin: 0 auto;
  padding: 112px 40px 76px;
}
.page-hero .badge { margin-bottom: 26px; }
.page-hero h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.page-hero .lede {
  max-width: 570px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
.page-hero .hero-actions { margin-top: 34px; }
.page-hero-art {
  height: 400px;
  overflow: hidden;
  background: #efeaf0;
}

.page-hero-dark {
  background: var(--band);
  border: 0;
}
.page-hero-dark h1 { color: var(--light); }
.page-hero-dark .lede { color: #a7afb3; }

.inner-section { padding: 112px 0; background: var(--bg); }
.inner-section.is-white { background: #fff; }
.inner-wrap { width: calc(100% - 96px); max-width: 1107px; margin: 0 auto; }

.inner-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.inner-head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.05em; }
.inner-head p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 24px; }
.inner-head.left { align-items: flex-start; margin-left: 0; text-align: left; }

/* about story */
.about-story {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.about-story .badge { margin-bottom: 20px; }
.story-copy h2 { max-width: 640px; font-size: 34px; line-height: 1.15; letter-spacing: -0.05em; }
.story-copy p { max-width: 660px; margin-top: 20px; color: #3d4348; font-size: 17px; line-height: 28px; }
.story-art {
  position: relative;
  height: auto;
  aspect-ratio: 831 / 465;
  margin-top: 56px;
  overflow: hidden;
  background: #dfe7ec;
}
.about-story > .story-art { grid-column: 1 / -1; margin-top: 8px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.team-card { padding: 8px; background: #fff; }
.team-photo { position: relative; height: auto; aspect-ratio: 286 / 326; overflow: hidden; background: #eef2f5; }
.team-illustration { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: var(--grain);
  background-size: 140px 140px;
  opacity: 0.45;
  mix-blend-mode: overlay;
}
.team-meta { padding: 18px 16px 20px; }
.team-meta strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.04em; }
.team-meta span { color: var(--muted); font-size: 14px; line-height: 22px; }

/* values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.value-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  padding: 32px 28px 36px;
  background: #fff;
}
.value-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #c1cbd4;
}
.value-card h3 { margin-top: auto; font-size: 26px; line-height: 1.2; letter-spacing: -0.05em; }
.value-card p { color: var(--muted); font-size: 14px; line-height: 22px; }

/* service overview */
.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 8px;
  padding: 8px;
  background: #fff;
}
.service-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 48px;
}
.service-overview-copy h2 { max-width: 520px; font-size: 40px; line-height: 1.12; letter-spacing: -0.05em; }
.service-overview-copy p { max-width: 480px; margin-top: 20px; color: #3d4348; font-size: 17px; line-height: 28px; }
.service-overview-copy .tags { margin-top: 24px; }
.service-figure {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--card);
}
.service-figure.service-figure-art { min-height: 0; aspect-ratio: 1; }
.service-figure .art-grid { position: absolute; inset: 0; }
.service-figure .art-diamond { position: absolute; inset: 0; }
.service-figure .art-pie { position: absolute; inset: 0; }

/* deliverables */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.deliverable {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 32px;
  background: #fff;
}
.deliverable .num { font-family: var(--font-display); font-size: 22px; color: #9aa3a9; letter-spacing: -0.04em; }
.deliverable h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.05em; }
.deliverable p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 22px; }
.deliverable .arrow-link { margin-top: 14px; }

/* timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--band);
}
.t-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: 32px 24px;
  background: var(--band-card);
}
.t-item .num { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.05em; color: #7d878d; }
.t-item h3 { color: var(--light); font-size: 22px; line-height: 1.2; letter-spacing: -0.05em; }
.t-item p { margin-top: auto; color: var(--light-2); font-size: 14px; line-height: 22px; }

/* insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(24, 26, 27, 0.4); }
.insight-art {
  position: relative;
  aspect-ratio: 434 / 276;
  overflow: hidden;
  background: var(--card);
}
.insight-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.insight-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 140px 140px;
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}
.insight-body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 24px 20px 26px; }
.insight-meta { display: flex; align-items: center; gap: 12px; color: #8b9298; font-size: 13px; line-height: 20px; }
.insight-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #b3bcc2; }
.insight-card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.05em; }
.insight-card p { color: var(--muted); font-size: 14px; line-height: 22px; }
.insight-card .arrow-link { margin-top: auto; padding-top: 12px; }

/* guide pages */
.guide-hero .page-hero-copy { padding-bottom: 40px; }
.guide-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #8b9298;
  font-size: 14px;
  line-height: 22px;
}
.guide-crumb a { color: #4d5459; transition: color 0.2s var(--ease); }
.guide-crumb a:hover { color: var(--ink); }
.guide-crumb i { width: 4px; height: 4px; border-radius: 50%; background: #b3bcc2; }
.guide-date { margin-top: 18px; color: #8b9298; font-size: 14px; line-height: 22px; }

.guide-section { padding-top: 64px; }
.guide-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.guide-aside {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.guide-tldr { padding: 28px 26px 30px; background: var(--bg); border-radius: 16px; }
.guide-tldr h2 { margin-bottom: 16px; font-size: 19px; line-height: 1.2; letter-spacing: -0.04em; }
.guide-tldr ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: #3d4348; font-size: 14px; line-height: 22px; }
.guide-tldr li::marker { color: #b3bcc2; }

.guide-toc p { margin-bottom: 6px; color: #8b9298; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-toc ul { margin: 0; padding: 0; list-style: none; }
.guide-toc li { border-top: 1px solid var(--line); }
.guide-toc a { display: block; padding: 9px 0; color: var(--muted); font-size: 14px; line-height: 20px; transition: color 0.2s var(--ease); }
.guide-toc a:hover { color: var(--ink); }

.guide-body { max-width: 700px; }
.guide-body section { scroll-margin-top: 112px; }
.guide-body h2 {
  margin: 60px 0 0;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.05em;
}
.guide-body section:first-child h2 { margin-top: 0; }
.guide-body h2 .n {
  display: inline-block;
  margin-right: 12px;
  color: #b3bcc2;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
}
.guide-body h3 { margin-top: 36px; font-size: 21px; line-height: 1.25; letter-spacing: -0.04em; }
.guide-body p { margin-top: 18px; color: #3d4348; font-size: 17px; line-height: 28px; }
.guide-body ul { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 22px; color: #3d4348; font-size: 17px; line-height: 28px; }
.guide-body li::marker { color: #b3bcc2; }
.guide-body a { text-decoration: underline; text-decoration-color: rgba(24, 26, 27, 0.25); text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease); }
.guide-body a:hover { text-decoration-color: var(--ink); }

@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .guide-aside { position: static; gap: 32px; }
  .guide-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 700px) {
  .guide-hero .page-hero-copy { padding: 88px 24px 32px; }
  .guide-section { padding: 48px 0 88px; }
  .guide-body h2 { margin-top: 44px; font-size: 26px; }
  .guide-body h3 { font-size: 19px; }
  .guide-body p, .guide-body ul { font-size: 16px; line-height: 26px; }
  .guide-toc ul { grid-template-columns: 1fr; }
}

/* contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 8px;
  align-items: stretch;
}
.form-card { padding: 40px; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }
.field input,
.field textarea,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background-color: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { height: 148px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5 6 8.5l4-4' stroke='%23181a1b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 12px;
}
.field select:has(option[value=""]:checked) { color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: #9a7bff;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(122, 77, 255, 0.12);
}
.field.has-error input,
.field.has-error textarea { border-color: #dc5a5a; background: #fff7f7; }
.field .err { display: none; color: #c13c3c; font-size: 13px; line-height: 20px; }
.field.has-error .err { display: block; }
.form-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.form-note { max-width: 330px; color: var(--muted); font-size: 13px; line-height: 20px; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--ink); }
.form-card.is-sending .btn { opacity: 0.6; pointer-events: none; }
.form-error {
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid #f0c9c9;
  border-radius: 10px;
  background: #fff7f7;
  color: #b83636;
  font-size: 14px;
  line-height: 21px;
}
.form-error[hidden] { display: none; }
.form-error:focus { outline: none; }

.form-success { padding: 48px; background: #fff; }
.form-success[hidden] { display: none; }
.form-success .badge { margin-bottom: 24px; }
.form-success h2 { max-width: 480px; font-size: 34px; line-height: 1.15; letter-spacing: -0.05em; }
.form-success p { max-width: 480px; margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 24px; }
.form-success .btn { margin-top: 28px; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 100%;
  padding: 40px;
  background: var(--band);
  color: var(--light);
}
.contact-side h2 { color: var(--light); font-size: 30px; line-height: 1.15; letter-spacing: -0.05em; }
.contact-side p { color: #a7afb3; font-size: 14px; line-height: 22px; }
.contact-side .contact-detail { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-side .contact-detail span { display: block; color: #7f888d; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-side .contact-detail a,
.contact-side .contact-detail strong { display: block; margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--light); }
.contact-side .contact-detail a:hover { color: #fff; }
.contact-side .contact-art { flex: none; margin-top: auto; height: 180px; }

/* light cards on white sections so the card edges stay visible */
.inner-section.is-white .insight-card,
.inner-section.is-white .team-card,
.inner-section.is-white .form-card { background: var(--bg); }

/* quote footers with glyph */
.quote-card footer,
.review-body footer {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.quote-who { display: flex; flex-direction: column; gap: 2px; }
.quote-glyph {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: var(--ink);
}

/* =========================================================
   Inner page responsive
   ========================================================= */
@media (max-width: 1000px) {
  .page-hero-copy { padding: 96px 32px 64px; }
  .page-hero h1 { font-size: 46px; }
  .page-hero-art { height: 330px; }

  .about-story { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-card:last-child { grid-column: 1 / -1; min-height: 220px; }
  .service-overview { grid-template-columns: 1fr; }
  .service-overview-copy { padding: 40px 32px; }
  .service-figure { min-height: 440px; }
  .service-figure-art { width: min(100%, 600px); margin: 0 auto; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { min-height: 0; }
  .contact-side .contact-art { height: 220px; }
}

@media (max-width: 760px) {
  .page-hero { padding: 0 0 8px; }
  .page-hero-copy { padding: 72px 20px 48px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .lede { font-size: 15px; line-height: 23px; }
  .page-hero-art { height: 260px; }

  .inner-section { padding: 72px 0; }
  .inner-wrap { width: calc(100% - 40px); }
  .inner-head { margin-bottom: 36px; }
  .inner-head h2 { font-size: 32px; }

  .about-story { grid-template-columns: 1fr; gap: 24px; }
  .story-copy h2 { font-size: 28px; }
  .story-copy p { font-size: 16px; line-height: 26px; }
  .story-art { margin-top: 24px; }

  .team-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card:last-child { grid-column: auto; }
  .value-card { min-height: 240px; }

  .service-overview { padding: 8px; }
  .service-overview-copy { padding: 28px 20px 32px; }
  .service-overview-copy h2 { font-size: 30px; }
  .service-overview-copy p { font-size: 16px; line-height: 26px; }
  .service-figure { min-height: 300px; }
  .service-figure .art-diamond .d { width: 33%; height: 33%; }
  .service-figure .art-diamond .d1 { left: 17%; top: 33%; }
  .service-figure .art-diamond .d2 { left: 50%; top: 33%; }
  .service-figure .art-diamond .d3 { left: 17%; top: 66%; }
  .service-figure .art-diamond .d4 { left: 50%; top: 66%; }

  .deliverables { grid-template-columns: 1fr; }
  .deliverable { padding: 24px 20px; }
  .timeline { grid-template-columns: 1fr; }
  .t-item { min-height: 220px; }


  .insight-grid { grid-template-columns: 1fr; }

  .contact-layout { gap: 8px; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-actions .btn { width: 100%; }
  .form-success { padding: 32px 20px; }
  .form-success h2 { font-size: 28px; }
  .contact-side { padding: 32px 20px; }
  .contact-side .contact-art { height: 180px; }
}

/* =========================================================
   404 + site utilities
   ========================================================= */
.error-page { background: #fff; }
.error-copy {
  max-width: 900px;
  margin: 0 auto;
  padding: 104px 40px 72px;
  text-align: center;
}
.error-code {
  margin: 20px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(120px, 26vw, 300px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.08em;
  background: linear-gradient(118deg, #181a1b 0%, #6b4de6 52%, #ff6f9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: errorFloat 7s ease-in-out infinite alternate;
}
@keyframes errorFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.error-copy h1 { margin-top: 10px; font-size: 54px; text-wrap: balance; }
.error-copy .lede {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 27px;
  text-wrap: pretty;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.error-hint { margin-top: 26px; color: var(--muted-2); font-size: 14px; line-height: 22px; }
.error-hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.error-hint a:hover { color: #6b4de6; }

.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(24, 26, 27, 0.42); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #8a4dff, #ff6f9c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(24, 26, 27, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--ink); color: #fff; }
.back-to-top svg { width: 16px; height: 16px; }

.offline-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  box-shadow: 0 14px 40px rgba(24, 26, 27, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}
.offline-banner.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.offline-banner .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff9d8a; flex: none; }

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

.btn[disabled] { cursor: wait; }
.form-card.is-sending .btn { opacity: 0.72; }

.consent-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24, 26, 27, 0.18);
}
.consent-bar p { flex: 1 1 280px; color: var(--muted); font-size: 13px; line-height: 20px; }
.consent-bar .btn { height: 38px; padding: 0 16px; font-size: 13px; }

@media (max-width: 760px) {
  .error-copy { padding: 64px 20px 44px; }
  .error-code { font-size: clamp(110px, 34vw, 180px); }
  .error-copy h1 { font-size: 34px; }
  .error-copy .lede { font-size: 15px; line-height: 23px; }
  .error-actions { flex-direction: column; align-items: stretch; }
  .error-actions .btn { width: 100%; }
  .back-to-top { right: 16px; bottom: 16px; }
  .offline-banner { bottom: 76px; width: calc(100% - 32px); justify-content: center; border-radius: 14px; }
}

/* ---------- reduced motion ----------
   Visitors who ask for less motion get the same content and layout with
   movement removed, not merely shortened. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal],
  .js [data-reveal]:not(.in),
  .js .hero .hero-lede[data-reveal],
  .js .why-card[data-reveal]:not(.in),
  .js .service-card[data-reveal]:not(.in),
  .js .quote-card[data-reveal]:not(.in),
  .js .review-card[data-reveal]:not(.in),
  .js .insight-card[data-reveal]:not(.in),
  .js .team-card[data-reveal]:not(.in),
  .js .value-card[data-reveal]:not(.in),
  .js .about-photo[data-reveal]:not(.in),
  .js .hero-title .w,
  .js .split-head .w {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .hero:not(.is-ready) .hero-art,
  .js .hero:not(.is-ready) .hero-band { opacity: 1 !important; }
  .js .site-header { animation: none !important; }
  .page-veil { display: none; }
  .m-row, .m-cell, .m-bar, .page-band-seg, .drop-icon, .logos-track,
  .error-code { animation: none !important; }
  .m-row, .m-cell, .m-bar, .page-band-seg, .drop-icon, .logos-track { transform: none !important; }
  .m-cell::before, .page-band-seg::before, .m-bar::before, .m-row::before,
  .art-cell.grad::before, .g1::before, .g2::before, .g3::before, .g4::before { animation: none !important; }
}
