/* ============================================================
   Konnecting Dots — design system
   White, editorial, restrained. Max radius 16px.
   ============================================================ */

:root {
  --paper: #fbfaf7;
  --surface: #f2f0ea;
  --ink: #17160f;
  --ink-soft: #3c3a32;
  --muted: #77746a;
  --line: #e5e2d9;
  --accent: #a05a2c;          /* muted copper */
  --accent-soft: #f0e4d8;
  --r-lg: 0px;
  --r-md: 0px;
  --r-sm: 0px;
  --font-display: "Fraunces", serif;
  --font-body: "Poppins", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html { overflow-x: clip; overflow-y: auto; }
body { overflow-x: clip; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.container--wide { width: min(1360px, calc(100% - 48px)); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h2 em, .hero__title .em, .cta__title .em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow--light { color: rgba(251, 250, 247, 0.65); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ============ preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.preloader__mark { display: flex; gap: 14px; }
.preloader__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink);
  animation: dotPulse 0.9s ease-in-out infinite;
}
.preloader__dot:nth-child(2) { animation-delay: 0.15s; }
.preloader__dot:nth-child(3) { animation-delay: 0.3s; background: var(--accent); }
@keyframes dotPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.preloader__word {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em; color: var(--muted);
}

/* ============ cursor ============ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 99; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  mix-blend-mode: multiply;
}
.cursor.is-active { width: 44px; height: 44px; opacity: 0.35; }
@media (hover: none) { .cursor { display: none; } }

/* ============ header ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(242, 240, 234, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 226, 217, 0.6);
  transition: transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}
.header.is-scrolled { background: rgba(242, 240, 234, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  width: min(1360px, calc(100% - 48px)); margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark { width: 26px; height: 26px; }
.logo__type { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; letter-spacing: -0.01em; }
.logo__type em { font-style: italic; color: var(--accent); }

.nav { display: flex; gap: 34px; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 88px) 0 72px; }
.page-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1.04; letter-spacing: -0.02em; margin-top: 24px;
}
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__sub { max-width: 52ch; color: var(--muted); font-size: 1.05rem; margin-top: 24px; }

/* ---------- service detail ---------- */
.sdetail__media { border-radius: 0; overflow: hidden; aspect-ratio: 21 / 9; }
.sdetail__media img { width: 100%; height: 100%; object-fit: cover; }
.sdetail__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: 88px 0; }
.sdetail__grid h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; margin-bottom: 18px; }
.sdetail__grid > div > p { color: var(--muted); max-width: 56ch; }
.sdetail__list { display: flex; flex-direction: column; }
.sdetail__list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 2px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.2rem;
}
.sdetail__list li:first-child { border-top: 1px solid var(--line); }
.sdetail__list li span { font-size: 0.8rem; color: var(--muted); font-family: var(--font-body); }
.sdetail__next {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-top: 1px solid var(--line); padding: 40px 0 96px;
}
.sdetail__next a { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); transition: color 0.25s ease; }
.sdetail__next a:hover { color: var(--accent); }
.sdetail__next span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.sdetail__list li a { flex: 1; transition: color 0.25s ease; }
.sdetail__list li a:hover { color: var(--accent); }
.sdetail__arrow { font-style: normal; color: var(--line); transition: color 0.25s ease, transform 0.25s ease; }
.sdetail__list li:hover .sdetail__arrow { color: var(--accent); transform: translateX(4px); }
.page-hero .eyebrow a { border-bottom: 1px solid transparent; transition: border-color 0.25s ease, color 0.25s ease; }
.page-hero .eyebrow a:hover { color: var(--accent); border-color: currentColor; }

/* ============ image strip (parallax band) ============ */
.strip { padding: 90px 0; overflow: clip; }
.strip__row {
  display: grid; grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 28px; align-items: start;
}
.strip__item { display: flex; flex-direction: column; gap: 12px; }
.strip__item--mid { margin-top: 64px; }
.strip__item--last { margin-top: 96px; }
.strip__img { border-radius: 0; overflow: hidden; }
.strip__item:nth-child(1) .strip__img { aspect-ratio: 4 / 5; }
.strip__item:nth-child(2) .strip__img { aspect-ratio: 1; }
.strip__item:nth-child(3) .strip__img { aspect-ratio: 4 / 5; }
.strip__img img { width: 100%; height: 100%; object-fit: cover; }
.strip__item figcaption {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 960px) {
  .strip { padding-top: 70px; }
  .strip__row { grid-template-columns: 1fr 1fr; }
  .strip__item--mid { margin-top: 40px; }
  .strip__item--last { margin-top: 0; grid-column: 1 / -1; }
  .strip__item:nth-child(3) .strip__img { aspect-ratio: 16 / 9; }
}

.svc__link {
  align-self: flex-start; font-size: 0.9rem; font-weight: 500; color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
@media (max-width: 960px) { .sdetail__grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; } }

.header__right { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.menu-toggle span { width: 24px; height: 1.8px; background: var(--ink); transition: transform 0.3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: 0 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu__links { display: flex; flex-direction: column; gap: 8px; }
.mmenu__links a { font-family: var(--font-display); font-size: 2.4rem; }
.mmenu__meta { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* ============ hero ============ */
.hero { padding: calc(var(--header-h) + 72px) 0 0; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -220px; right: -180px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 90, 44, 0.09), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 7.2vw, 6.4rem);
  line-height: 1.03; letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .w, .cta__title .w { display: inline-block; }

.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-top: 44px; flex-wrap: wrap;
}
.hero__sub { max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__mediawrap { width: 100%; }
.hero__media {
  position: relative; margin-top: 72px;
  border-radius: 0; overflow: hidden;
  height: min(88vh, 820px);
}
.hero__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero__badge {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 16px 22px;
  font-size: 0.82rem; line-height: 1.35; color: var(--ink-soft);
}
.hero__badge-num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--accent); }

/* ============ marquee ============ */
.marquee { margin: 96px 0; border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink-soft); white-space: nowrap;
}
.marquee__track i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }

/* ============ story ============ */
.story { padding: 40px 0; }
.story .container { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.story__text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.35; letter-spacing: -0.01em;
  max-width: 30ch;
}
.story__text .sw { color: var(--line); transition: color 0.3s ease; }
.story__text .sw.is-on { color: var(--ink); }

/* ============ numbers ============ */
.numbers { padding: 20px 0 110px; }
.numbers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--line); padding-top: 56px;
}
.numbers__item { display: flex; flex-direction: column; gap: 8px; }
.numbers__val { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.numbers__val + .numbers__label, .numbers__label { color: var(--muted); font-size: 0.92rem; }

/* ============ services stack ============ */
.services { padding: 40px 0 120px; }
.services__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 72px; }

.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__head {
  width: 100%; background: none; border: none; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr auto 40px;
  align-items: baseline; gap: 24px;
  padding: 34px 4px; text-align: left; color: var(--ink);
  transition: padding-left 0.35s ease;
}
.svc:not(.is-open) .svc__head:hover { padding-left: 16px; }
.svc__num { font-family: var(--font-display); font-size: 1rem; color: var(--muted); letter-spacing: 0.08em; }
.svc__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.svc:not(.is-open) .svc__head:hover .svc__title { color: var(--accent); }
.svc__hint { font-size: 0.85rem; color: var(--muted); }
.svc__toggle { position: relative; width: 16px; height: 16px; justify-self: end; align-self: center; }
.svc__toggle::before, .svc__toggle::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform 0.35s ease;
}
.svc__toggle::before { left: 0; top: 7px; width: 16px; height: 1.8px; }
.svc__toggle::after { left: 7px; top: 0; width: 1.8px; height: 16px; }
.svc.is-open .svc__toggle::after { transform: scaleY(0); }
.svc__body { height: 0; overflow: hidden; }
.svc.is-open .svc__body { height: auto; }
.svc__inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px;
  padding: 4px 4px 40px; align-items: stretch;
}
.svc__info { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.svc__info > p { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.svc__media {
  border-radius: 0; overflow: hidden; min-height: 260px; max-height: 360px;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.card__list { display: flex; flex-wrap: wrap; gap: 8px; }
.card__list li {
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.card__list li { padding: 8px 14px; }
.card__list li:has(> a) { padding: 0; }
.card__list li a { display: block; padding: 8px 14px; }
.card__list li:hover { border-color: var(--accent); color: var(--accent); }
.card__tag {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  color: var(--accent); background: var(--accent-soft);
  padding: 5px 10px; border-radius: var(--r-sm); vertical-align: middle;
}

/* ============ approach ============ */
.approach {
  margin-top: 40px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 120px 0 130px;
}
.approach__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.approach__line { color: rgba(251, 250, 247, 0.4); margin: 16px 0 24px; }
.approach__line svg { width: 100%; height: 90px; display: block; }
.approach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.approach__step { display: flex; flex-direction: column; gap: 12px; }
.approach__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.approach__step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.approach__step p { color: rgba(251, 250, 247, 0.62); font-size: 0.94rem; }

/* ============ practice (drag carousel) ============ */
.practice { min-height: 280vh; background: var(--paper); position: relative; z-index: 2; }
.practice__sticky {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: 40px 0;
}
.practice__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px;
}
.practice__head .eyebrow { margin-bottom: 20px; }
.practice__nav { display: flex; gap: 10px; }
.practice__arrow {
  width: 52px; height: 52px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.practice__arrow svg { width: 20px; height: 20px; }
.practice__arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.practice__track {
  display: flex; gap: 24px;
  padding: 4px max(24px, calc((100vw - 1180px) / 2)) 4px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - 1180px) / 2));
  scrollbar-width: none; cursor: grab;
}
.practice__track::-webkit-scrollbar { display: none; }
.practice__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.practice__track.is-scrollmode {
  overflow: visible; scroll-snap-type: none; cursor: default;
  will-change: transform;
}
.practice__track.is-scrollmode .pcard { scroll-snap-align: none; }
.pcard {
  flex: 0 0 min(520px, 82vw); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.pcard__media { aspect-ratio: 16 / 9; overflow: hidden; }
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pcard__chain {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.pcard__chain i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.pcard__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.pcard__body p:last-child { color: var(--muted); font-size: 0.95rem; }

/* ============ compare (before/after) ============ */
.compare { padding: 130px 0 40px; }
.compare__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.compare__frame {
  --pos: 50%;
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 21 / 10; user-select: none; touch-action: pan-y;
  cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; }
.compare__img img {
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.compare__img--before img { filter: saturate(0.55) contrast(0.95); }
.compare__img--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__label {
  position: absolute; top: 24px;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(23, 22, 15, 0.65); color: var(--paper);
  padding: 8px 14px; border-radius: var(--r-sm); backdrop-filter: blur(6px);
}
.compare__label--left { left: 24px; }
.compare__label--right { right: 24px; background: rgba(160, 90, 44, 0.85); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; background: var(--paper); transform: translateX(-1px);
  display: flex; align-items: center; justify-content: center;
}
.compare__grip {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(23, 22, 15, 0.25);
}
.compare__grip svg { width: 22px; height: 22px; }

/* ============ trail (cursor gallery) ============ */
.trail { padding: 90px 0 40px; }
.trail__stage {
  position: relative; overflow: hidden;
  min-height: 560px;
  border-block: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 20px; padding: 64px 24px;
}
.trail__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08;
  position: relative; z-index: 2; pointer-events: none;
}
.trail__title em { font-style: italic; color: var(--accent); }
.trail__stage .eyebrow, .trail__hint { position: relative; z-index: 2; pointer-events: none; }
.trail__hint { color: var(--muted); max-width: 52ch; }
.trail-img {
  position: absolute; z-index: 1; width: 220px; aspect-ratio: 4 / 3;
  border-radius: var(--r-md); object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 18px 44px -18px rgba(23, 22, 15, 0.35);
}
.trail__grid { display: none; }
@media (hover: none) {
  .trail__cta { display: none; }
  .trail__stage { min-height: 0; }
  .trail__title br { display: none; }
  .trail__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    width: min(1180px, calc(100% - 48px)); margin: 32px auto 0;
  }
  .trail__grid img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; }
}

/* ============ manifesto ============ */
.manifesto { padding: 130px 0 90px; }
.manifesto__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.manifesto__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.manifesto__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em;
}
.manifesto__title em { font-style: italic; color: var(--accent); }
.manifesto__copy { color: var(--muted); max-width: 50ch; }
.manifesto__collage { position: relative; min-height: 560px; }
.manifesto__img {
  position: absolute; border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(23, 22, 15, 0.28);
}
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__img--a { width: 58%; aspect-ratio: 3 / 4; top: 0; left: 0; z-index: 2; }
.manifesto__img--b { width: 52%; aspect-ratio: 4 / 3; top: 42%; right: 0; z-index: 3; }
.manifesto__img--c { width: 38%; aspect-ratio: 1; bottom: 0; left: 8%; z-index: 1; }

/* ============ journeys ============ */
.journeys { padding: 130px 0 40px; }
.journeys__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.journeys__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch; }
.journeys__tabs { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.journeys__tab {
  text-align: left; background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}
.journeys__tab::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--line); transition: background 0.3s ease, transform 0.3s ease;
}
.journeys__tab:hover { border-color: var(--ink); }
.journeys__tab.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  padding-left: 30px;
}
.journeys__tab.is-active::before { background: var(--accent); transform: scale(1.25); }
.journeys__panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column; gap: 18px;
}
.journeys__map { width: 100%; max-width: 460px; height: auto; color: var(--muted); margin-bottom: 6px; }
.journeys__map .jdot { fill: var(--ink); }
.journeys__map .jdot--accent { fill: var(--accent); }
.journeys__map .jlabel {
  fill: var(--muted); font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; text-anchor: middle;
}
.journeys__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.journeys__desc { color: var(--muted); max-width: 52ch; }
.journeys__panel.is-switching .journeys__map,
.journeys__panel.is-switching .journeys__title,
.journeys__panel.is-switching .journeys__desc,
.journeys__panel.is-switching .card__list { opacity: 0; transform: translateY(10px); }
.journeys__panel .journeys__map, .journeys__panel .journeys__title,
.journeys__panel .journeys__desc, .journeys__panel .card__list {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============ faq ============ */
.faq { padding: 40px 0 130px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__note { color: var(--muted); max-width: 34ch; }
.faq__note a { color: var(--accent); border-bottom: 1px solid currentColor; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem);
  transition: color 0.25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform 0.3s ease;
}
.faq__icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq__icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--muted); max-width: 58ch; padding: 0 4px 26px; }

/* ============ why ============ */
.why { padding: 110px 0; position: relative; }
.why .container { position: relative; }
.why__list { margin-top: 40px; }
.why__item {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: baseline;
  transition: padding-left 0.35s ease;
}
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item:hover { padding-left: 16px; }
.why__item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.why__item p { color: var(--muted); max-width: 52ch; }
.why__preview {
  position: fixed; z-index: 30; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3;
  border-radius: var(--r-md); overflow: hidden;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 30px 70px -20px rgba(23, 22, 15, 0.35);
}
.why__preview.is-visible { opacity: 1; transform: scale(1); }
.why__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ============ cta ============ */
.cta {
  background: var(--ink); color: var(--paper);
  position: relative; overflow: clip;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 130px 0 120px;
}
.cta::before {
  content: ""; position: absolute; top: -260px; left: -160px;
  width: 780px; height: 780px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 90, 44, 0.16), transparent 70%);
  pointer-events: none;
}
.cta__inner { display: flex; flex-direction: column; gap: 40px; position: relative; }
.cta__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 8vw, 7rem); line-height: 1.02; letter-spacing: -0.02em;
}
.cta__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.cta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cta__card {
  border: 1px solid rgba(251, 250, 247, 0.16);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta__card:hover { background: rgba(251, 250, 247, 0.06); transform: translateY(-4px); }
.cta__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cta__value { font-family: var(--font-display); font-size: 1.25rem; word-break: break-word; }

/* ============ footer ============ */
.footer { background: var(--ink); color: rgba(251, 250, 247, 0.7); border-top: 1px solid rgba(251, 250, 247, 0.1); }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding: 72px 0 56px;
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 40ch; }
.logo--footer { color: var(--paper); }
.footer__brand p { font-size: 0.92rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(251, 250, 247, 0.45); margin-bottom: 8px;
}
.footer__col a { font-size: 0.92rem; transition: color 0.25s ease; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(251, 250, 247, 0.1);
  font-size: 0.8rem; color: rgba(251, 250, 247, 0.45);
}

/* ============ reveal helper ============ */
.reveal { opacity: 0; transform: translateY(28px); }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header__right .btn { display: none; }
  .hero__media { aspect-ratio: 4 / 3; }
  .svc__head { grid-template-columns: 40px 1fr 32px; }
  .svc__hint { display: none; }
  .svc__inner { grid-template-columns: 1fr; gap: 28px; }
  .numbers__grid, .approach__grid, .cta__grid { grid-template-columns: 1fr; }
  .approach__line { display: none; }
  .why__item { grid-template-columns: 1fr; gap: 10px; }
  .why__preview { display: none; }
  .journeys__grid, .faq__grid, .manifesto__grid { grid-template-columns: 1fr; }
  .practice, .tl { min-height: 0; }
  .practice__sticky, .tl__sticky { position: static; min-height: 0; padding: 80px 0 48px; }
  .manifesto__collage { min-height: 420px; }
  .faq__head { position: static; }
  .journeys__tab { font-size: 1.1rem; padding: 18px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- small phones ---------- */
@media (max-width: 640px) {
  .container, .container--wide { width: calc(100% - 40px); }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero__row { margin-top: 32px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .hero__media { margin-top: 48px; height: 62vh; }
  .hero__badge { left: 14px; bottom: 14px; padding: 12px 16px; }
  .hero__badge-num { font-size: 1.9rem; }
  .marquee { margin: 64px 0; padding: 18px 0; }
  .story .container { min-height: 55vh; }
  .numbers { padding-bottom: 80px; }
  .numbers__grid { gap: 36px; padding-top: 40px; }
  .services, .journeys, .compare, .practice, .manifesto, .why, .faq { padding-top: 80px; }
  .why, .faq { padding-bottom: 80px; }
  .services__head, .journeys__head, .compare__head, .practice__head { margin-bottom: 40px; }
  .svc__head { padding: 24px 2px; gap: 16px; }
  .svc__inner { padding-bottom: 32px; }
  .approach { padding: 80px 0 88px; }
  .approach__grid { gap: 28px; }
  .compare__frame { aspect-ratio: 4 / 5; }
  .compare__grip { width: 44px; height: 44px; }
  .compare__label { top: 14px; padding: 6px 10px; }
  .compare__label--left { left: 14px; }
  .compare__label--right { right: 14px; }
  .practice__track { gap: 16px; }
  .practice, .tl { min-height: 0; }
  .practice__sticky, .tl__sticky { position: static; min-height: 0; padding: 80px 0 48px; }
  .pcard { flex-basis: 86vw; }
  .pcard__body { padding: 20px; }
  .manifesto { padding-bottom: 60px; }
  .manifesto__grid { gap: 40px; }
  .manifesto__collage { min-height: 340px; }
  .trail { padding-top: 60px; }
  .trail__stage { padding: 48px 20px; gap: 16px; }
  .journeys__panel { padding: 24px 20px; }
  .cta { padding: 88px 0 80px; }
  .cta__card { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* ============================================================
   Sub-service page themes — one art direction per discipline
   ============================================================ */
.theme-brand      { --accent: #a05a2c; --accent-soft: #f0e4d8; }
.theme-business   { --accent: #4f6156; --accent-soft: #e3e9e3; }
.theme-finance    { --accent: #3f5c66; --accent-soft: #dfe8ea; }
.theme-technology { --accent: #5a5578; --accent-soft: #e5e3ef; }
.theme-ventures   { --accent: #7a4a53; --accent-soft: #eee0e2; }

/* ---------- BRAND: editorial ghost type + tilted collage ---------- */
.sbb-hero { position: relative; padding: calc(var(--header-h) + 110px) 0 30px; overflow: clip; }
.sbb-ghost {
  position: absolute; top: calc(var(--header-h) + 10px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(5rem, 19vw, 17rem);
  line-height: 1; white-space: nowrap; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1px var(--line);
}
.sbb-hero .page-hero__title { position: relative; }
.sbb-collage { position: relative; margin: 56px 0 110px; }
.sbb-collage__main { width: 80%; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; }
.sbb-collage__main img, .sbb-collage__side img { width: 100%; height: 100%; object-fit: cover; }
.sbb-collage__side {
  position: absolute; right: 0; bottom: -64px; width: 32%; aspect-ratio: 4 / 5;
  border-radius: var(--r-md); overflow: hidden;
  transform: rotate(3deg);
  border: 8px solid #fff;
  box-shadow: 0 30px 70px -25px rgba(23, 22, 15, 0.35);
}
.sbb-rows { padding: 30px 0 90px; }
.sbb-rows h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; margin-bottom: 12px; }
.sbb-rows li {
  display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 20px;
  padding: 26px 2px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}
.sbb-rows li:first-of-type { border-top: 1px solid var(--line); }
.sbb-rows li span { font-size: 1rem; color: var(--accent); font-style: italic; }

/* ---------- BUSINESS: agenda card + milestone line ---------- */
.sbz-hero {
  padding: calc(var(--header-h) + 88px) 0 70px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.sbz-agenda {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: 0 30px 70px -40px rgba(23, 22, 15, 0.25);
}
.sbz-agenda h2 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.sbz-agenda li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--surface);
  font-family: var(--font-display); font-size: 1.15rem;
}
.sbz-agenda li:last-child { border-bottom: none; }
.sbz-agenda li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transform: translateY(3px);
}
.sbz-image { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: 90px; }
.sbz-image img { width: 100%; height: 100%; object-fit: cover; }
.sbz-image figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(23, 22, 15, 0.72); backdrop-filter: blur(6px);
  color: var(--paper); padding: 18px 26px;
  font-family: var(--font-display); font-size: 1.05rem; font-style: italic;
}

/* ---------- FINANCE: ledger statement ---------- */
.sbf-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 20px 0 90px; }
.sbf-media { border-radius: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.sbf-media img { width: 100%; height: 100%; object-fit: cover; }
.sbf-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 3.5vw, 48px);
}
.sbf-card h2 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
  display: flex; justify-content: space-between;
}
.sbf-row { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; }
.sbf-row b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.sbf-row i { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.sbf-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.sbf-row .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sbf-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1.5px solid var(--ink); margin-top: 12px; padding-top: 18px;
  font-family: var(--font-display); font-size: 1.2rem;
}
.sbf-total em { color: var(--accent); }

/* ---------- TECHNOLOGY: dot grid + terminal + browser frame ---------- */
.theme-technology .page-hero {
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
.sbt-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; padding: 20px 0 90px; }
.sbt-term {
  background: var(--ink); border-radius: var(--r-lg);
  padding: 24px 28px 30px; color: rgba(251, 250, 247, 0.85);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92rem; line-height: 2.1;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.sbt-term__bar { display: flex; gap: 7px; margin-bottom: 18px; }
.sbt-term__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(251, 250, 247, 0.18); }
.sbt-term__bar i:first-child { background: var(--accent); }
.sbt-term p span { color: var(--accent); margin-right: 10px; }
.sbt-term .ok { color: rgba(251, 250, 247, 0.45); }
.sbt-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.sbt-frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.sbt-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.sbt-frame__bar em {
  flex: 1; margin-left: 10px; font-style: normal; font-size: 0.78rem; color: var(--muted);
  background: var(--paper); border-radius: var(--r-sm); padding: 5px 12px;
}
.sbt-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* ---------- VENTURES: constellation + doors ---------- */
.sbv-hero { position: relative; overflow: clip; }
.sbv-net { position: absolute; right: -40px; top: calc(var(--header-h) + 30px); width: min(480px, 45vw); color: var(--line); pointer-events: none; }
.sbv-net .n-accent { fill: var(--accent); }
.sbv-doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 20px 0 60px; }
.sbv-door {
  border: 1px solid var(--line); border-radius: 0;
  background: #fff; padding: 26px 22px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sbv-door:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(23, 22, 15, 0.3); }
.sbv-door span { font-size: 0.85rem; color: var(--accent); font-family: var(--font-display); font-style: italic; }
.sbv-door p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.sbv-media { border-radius: 0; overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: 90px; }
.sbv-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .sbb-collage__main { width: 100%; }
  .sbb-collage__side { bottom: -40px; width: 42%; }
  .sbb-rows li { grid-template-columns: 56px 1fr; }
  .sbz-hero { grid-template-columns: 1fr; gap: 36px; }
  .sbf-wrap, .sbt-wrap { grid-template-columns: 1fr; }
  .sbt-term { position: static; }
  .sbf-media { aspect-ratio: 16 / 10; }
  .sbv-doors { grid-template-columns: 1fr 1fr; }
  .sbv-net { display: none; }
}
@media (max-width: 640px) { .sbv-doors { grid-template-columns: 1fr; } .sbv-door { min-height: 0; } }

/* ============ chapters (story-page scrollytelling) ============ */
.chapters { padding: 60px 0 40px; }
.chapters__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.chapters__rail { position: sticky; top: calc(var(--header-h) + 32px); }
.chapters__media {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden;
}
.chapters__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
}
.chapters__img.is-active { opacity: 1; transform: scale(1); }
.chapters__badge {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; align-items: baseline; gap: 12px;
  background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 14px 20px;
}
.chapters__badge span { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent); }
.chapters__badge em { font-style: italic; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft); }
.chapter { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.chapter h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12;
}
.chapter > p:last-of-type { color: var(--muted); max-width: 48ch; }
.chapter__img { display: none; }
@media (max-width: 960px) {
  .chapters__grid { grid-template-columns: 1fr; gap: 0; }
  .chapters__rail { display: none; }
  .chapter { min-height: 0; padding: 44px 0; border-bottom: 1px solid var(--line); }
  .chapter:last-child { border-bottom: none; }
  .chapter__img { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 8px; }
  .chapter__img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ============ scroll cue ============ */
.scrollcue {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 48px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.scrollcue span {
  width: 1.5px; height: 44px; background: var(--line); position: relative; overflow: hidden;
}
.scrollcue span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--accent);
  animation: cueDrop 1.6s ease-in-out infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ============ timeline (pinned horizontal) ============ */
.tl { min-height: 240vh; background: var(--paper); position: relative; z-index: 2; }
.tl__sticky {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip; padding: 40px 0;
}
.tl__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 64px; }
.tl__track {
  display: flex; gap: 28px; width: max-content;
  padding: 26px max(24px, calc((100vw - 1180px) / 2)) 40px;
  position: relative;
}
.tl__track::before {
  content: ""; position: absolute; top: 33px; left: 0; right: 0; height: 1.5px;
  background: var(--line);
}
.tl-card {
  width: min(420px, 78vw); flex: none; position: relative;
  display: flex; flex-direction: column; gap: 10px;
}
.tl-card__dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.tl-card em {
  font-style: italic; font-family: var(--font-display); color: var(--accent); font-size: 1rem;
}
.tl-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.tl-card p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.tl__track.is-native { overflow-x: auto; width: auto; scrollbar-width: none; }
.tl__track.is-native::-webkit-scrollbar { display: none; }

/* ============ beliefs (pinned statements) ============ */
.beliefs { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); margin: 40px 24px; }
.beliefs__stage {
  min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
  text-align: center; padding: 64px 24px; position: relative;
}
.beliefs__stage .eyebrow { color: rgba(251, 250, 247, 0.55); }
.beliefs__stack { position: relative; width: min(900px, 100%); min-height: 200px; }
.belief {
  position: absolute; inset: 0; margin: auto;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(24px);
}
.belief em { font-style: italic; color: var(--accent); }
.belief:first-child { opacity: 1; transform: none; }
.beliefs__count {
  font-family: var(--font-display); font-size: 1rem; color: rgba(251, 250, 247, 0.5);
}
.beliefs__count span { color: var(--accent); font-size: 1.4rem; }
.beliefs.is-static .belief { position: static; opacity: 1; transform: none; margin: 22px 0; }
.beliefs.is-static .beliefs__stage { min-height: 0; }
.beliefs.is-static .beliefs__count { display: none; }

/* ============ founder note ============ */
.note { padding: 60px 0 40px; }
.note__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 72px);
  max-width: 880px; margin: 0 auto;
  box-shadow: 0 30px 70px -45px rgba(23, 22, 15, 0.3);
  transform: rotate(-0.4deg);
}
.note__salut {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.note__body {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.5; color: var(--ink-soft);
}
.note__sign {
  margin-top: 28px; font-family: var(--font-display); font-style: italic;
  font-size: 1.15rem; color: var(--accent);
}
@media (max-width: 640px) { .beliefs { margin: 24px 12px; } .tl { padding-top: 70px; } }


/* ============ wideband (full-bleed statement) ============ */
.wideband { position: relative; overflow: clip; margin: 0; }
.wideband__media { height: min(88vh, 780px); }
.wideband__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.wideband__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(23, 22, 15, 0.25), rgba(23, 22, 15, 0.5));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; text-align: center; padding: 24px;
}
.wideband__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.06;
  color: var(--paper);
}
.wideband__title em { font-style: italic; color: var(--accent-soft); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--paper); transform: translateY(-2px); }

/* ============ problems (chips grid) ============ */
.problems { padding: 110px 0; }
.problems__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; }
.problems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem:hover {
  transform: translateY(-6px); border-color: var(--accent);
  box-shadow: 0 24px 50px -30px rgba(23, 22, 15, 0.28);
}
.problem p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; }
.problem span {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
@media (max-width: 960px) { .problems__grid { grid-template-columns: 1fr 1fr; } .problems { padding-top: 80px; } }
@media (max-width: 640px) { .problems__grid { grid-template-columns: 1fr; } .problem { min-height: 0; } .wideband__media { height: 380px; } }


/* ---------- flow sub (narrative connective copy) ---------- */
.flow-sub { color: var(--muted); max-width: 58ch; font-size: 1.02rem; }

/* ============ industries ============ */
.inds { padding: 110px 0; }
.inds__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.inds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ind:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 26px 54px -32px rgba(23, 22, 15, 0.3); }
.ind figure { aspect-ratio: 16 / 8; overflow: hidden; }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ind:hover img { transform: scale(1.05); }
.ind h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; padding: 20px 22px 4px; }
.ind p { color: var(--muted); font-size: 0.92rem; padding: 0 22px 22px; }

/* ============ engagement models ============ */
.engage { padding: 110px 0 30px; }
.engage__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.engage__card:hover { transform: translateY(-6px); border-color: var(--accent); }
.engage__card em { font-style: italic; font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; }
.engage__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.engage__card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.engage__card span {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border-top: 1px solid var(--line); padding-top: 14px;
}
@media (max-width: 960px) { .inds__grid, .engage__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .inds__grid, .engage__grid { grid-template-columns: 1fr; } .inds, .engage { padding-top: 80px; } }


/* ---------- image reveal (clip blinds) ---------- */
.fx-img img {
  clip-path: inset(16% 7% 16% 7%);
  opacity: 0.5;
  transition: clip-path 1.1s cubic-bezier(0.33, 1, 0.36, 1), opacity 0.9s ease;
}
.fx-img.is-in img { clip-path: inset(0 0 0 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fx-img img { clip-path: none; opacity: 1; transition: none; } }


/* ============ starting points (all visible, no hidden states) ============ */
.starts { padding: 110px 0; }
.starts__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.starts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.start {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px; display: flex; flex-direction: column; gap: 16px;
}
.start__tag {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 13px; border-radius: var(--r-sm);
}
.start h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; }
.start p { color: var(--muted); font-size: 0.96rem; flex: 1; }
@media (max-width: 960px) { .starts__grid { grid-template-columns: 1fr; } .starts { padding-top: 80px; } }


/* ============ statement band (split ink + image) ============ */
.stmt { background: var(--ink); }
.stmt__grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 74vh; }
.stmt__text {
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: clamp(48px, 7vw, 110px);
}
.stmt__text h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15;
}
.stmt__text h2 em { font-style: italic; color: var(--accent); }
.stmt__text > p:last-child { color: rgba(251, 250, 247, 0.65); max-width: 46ch; }
.stmt__media { overflow: hidden; }
.stmt__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .stmt__grid { grid-template-columns: 1fr; min-height: 0; }
  .stmt__media { aspect-ratio: 16 / 10; order: -1; }
}


/* ============ services mega menu ============ */
.nav__item { position: relative; display: flex; align-items: center; align-self: stretch; }
.mega {
  position: fixed; top: calc(var(--header-h) - 1px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(980px, 94vw);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 34px 70px -30px rgba(23, 22, 15, 0.28);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 34px 36px 38px;
  opacity: 0; visibility: hidden; pointer-events: none;
  /* 0.35s grace period before hiding so the pointer can travel to the panel */
  transition: opacity 0.2s ease 0.35s, transform 0.2s ease 0.35s, visibility 0s 0.55s;
}
.mega::before {
  /* invisible bridge covering the gap between header and panel */
  content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px;
}
.nav__item:hover .mega, .nav__item:focus-within .mega, .mega:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s, 0s, 0s;
}
.mega__col { display: flex; flex-direction: column; gap: 9px; padding: 0 14px; border-left: 1px solid var(--surface); }
.mega__col:first-child { border-left: none; }
.mega__title {
  font-family: var(--font-display); font-size: 1.02rem; color: var(--ink);
  padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.mega__title:hover { color: var(--accent); }
.mega__col > a:not(.mega__title) {
  font-size: 0.84rem; color: var(--muted); transition: color 0.2s ease, padding-left 0.2s ease;
}
.mega__col > a:not(.mega__title):hover { color: var(--accent); padding-left: 4px; }
.mmenu__subs { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 4px 0 8px 18px; }
.mmenu__subs a { font-size: 1.05rem !important; font-family: var(--font-body) !important; color: var(--muted); }
@media (max-width: 960px) { .mega { display: none; } }

/* ============ sub-page extras: fit + process ============ */
.sx { padding: 10px 0 80px; }
.sx__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: start; }
.sx__card { background: #fff; border: 1px solid var(--line); padding: 36px 34px; }
.sx__card h2 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.sx__fit li {
  position: relative; padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--surface);
  font-family: var(--font-display); font-size: 1.1rem;
}
.sx__fit li:last-child { border-bottom: none; }
.sx__fit li::before {
  content: "✓"; position: absolute; left: 0; top: 14px;
  width: 22px; height: 22px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.sx__step { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--surface); }
.sx__step:last-child { border-bottom: none; }
.sx__step em { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.sx__step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: 4px; }
.sx__step p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 960px) { .sx__grid { grid-template-columns: 1fr; } }

/* discipline list one-liners */
.sdetail__it { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sdetail__it a { transition: color 0.25s ease; }
.sdetail__it a:hover { color: var(--accent); }
.sdetail__it p { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); }


/* ============ layout: banner hero (full-bleed image + overlay) ============ */
.lb-hero { position: relative; height: min(78vh, 720px); overflow: hidden; }
.lb-hero img { width: 100%; height: 100%; object-fit: cover; }
.lb-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(23, 22, 15, 0.2), rgba(23, 22, 15, 0.65));
  display: flex; align-items: flex-end; padding-bottom: clamp(40px, 6vh, 80px);
}
.lb-hero__overlay .page-hero__title { color: var(--paper); margin-top: 18px; }
.lb-hero__overlay .page-hero__sub { color: rgba(251, 250, 247, 0.75); }

/* ============ layout: sidebar rail ============ */
.lr {
  display: grid; grid-template-columns: 320px 1fr; gap: 64px;
  padding: calc(var(--header-h) + 80px) 0 80px; align-items: start;
}
.lr__side { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 18px; }
.lr__num {
  font-family: var(--font-display); font-size: 4.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.lr__title { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1.05; }
.lr__facts { border-top: 1px solid var(--line); margin-top: 6px; }
.lr__facts li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-soft);
}
.lr__main { display: flex; flex-direction: column; gap: 26px; }
.lr__main .page-hero__sub { margin-top: 0; font-size: 1.3rem; font-family: var(--font-display); color: var(--ink-soft); }
.lr__media { overflow: hidden; aspect-ratio: 16 / 9; }
.lr__media img { width: 100%; height: 100%; object-fit: cover; }
.lr__main h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.lr__main > p:last-child { color: var(--muted); max-width: 60ch; }
@media (max-width: 960px) {
  .lr { grid-template-columns: 1fr; gap: 36px; }
  .lr__side { position: static; }
}


/* ============ detail variants ============ */
/* path */
.dpath { padding: 10px 0 90px; }
.dpath__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 44px; }
.dpath__chips span {
  border: 1px solid var(--line); background: #fff; padding: 10px 16px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.dpath__line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; padding-top: 26px; }
.dpath__line::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 1.5px; background: var(--line); }
.dpath__stop { position: relative; }
.dpath__stop i {
  display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent); margin-bottom: 16px; position: relative; z-index: 1;
}
.dpath__stop em { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 0.95rem; }
.dpath__stop h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 4px 0 8px; }
.dpath__stop p { color: var(--muted); font-size: 0.92rem; }
/* qa */
.dqa { padding: 10px 0 90px; }
.dqa__row { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); }
.dqa__row:last-child { border-bottom: 1px solid var(--line); }
.dqa__row span { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--accent); line-height: 1; }
.dqa__row h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 8px; }
.dqa__row p { color: var(--muted); max-width: 70ch; }
/* dark */
.ddark { background: var(--ink); color: var(--paper); margin: 20px 0 90px; }
.ddark__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 80px 0; }
.ddark__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin-bottom: 30px; }
.ddark__h em { font-style: italic; color: var(--accent); }
.ddark__fit li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(251, 250, 247, 0.14);
  font-size: 0.98rem; color: rgba(251, 250, 247, 0.85);
}
.ddark__fit i { font-family: var(--font-display); font-style: italic; color: var(--accent); }
.ddark__steps { display: flex; flex-direction: column; gap: 0; border-left: 1.5px solid rgba(251, 250, 247, 0.2); }
.ddark__step { padding: 20px 0 20px 28px; position: relative; }
.ddark__step::before {
  content: ""; position: absolute; left: -7px; top: 30px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent);
}
.ddark__step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.ddark__step p { color: rgba(251, 250, 247, 0.6); font-size: 0.92rem; margin-top: 6px; }
/* spec */
.dspec { padding: 10px 0 90px; }
.dspec__table { border: 1px solid var(--line); background: #fff; margin-top: 26px; }
.dspec__row { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.dspec__row:first-child { border-top: none; }
.dspec__row span {
  padding: 18px 22px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); background: var(--paper);
  border-right: 1px solid var(--line);
}
.dspec__row p { padding: 16px 22px; font-size: 0.95rem; color: var(--ink-soft); }
.dspec__row p a { color: var(--accent); border-bottom: 1px solid currentColor; }
/* margin notes */
.dmargin { padding: 10px 0 90px; }
.dmargin__lede {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.45; max-width: 62ch; margin-bottom: 44px;
}
.dmargin__notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dmargin__note { border-top: 2px solid var(--accent); padding-top: 16px; }
.dmargin__note em { font-family: var(--font-display); font-style: italic; color: var(--accent); display: block; margin-bottom: 8px; }
.dmargin__note p { font-size: 0.92rem; color: var(--muted); }
.dmargin__note b { color: var(--ink); font-weight: 500; }
/* banners */
.dban { padding: 10px 0 90px; }
.dban__strip {
  display: grid; grid-template-columns: 110px 240px 1fr; gap: 26px; align-items: baseline;
  border: 1px solid var(--line); border-top: none; background: #fff; padding: 26px 30px;
}
.dban__strip:first-of-type { border-top: 1px solid var(--line); }
.dban__strip span { font-family: var(--font-display); font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.dban__strip h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.dban__strip p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 960px) {
  .dpath__line, .dmargin__notes { grid-template-columns: 1fr; }
  .ddark__grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .dspec__row, .dban__strip { grid-template-columns: 1fr; gap: 6px; }
  .dspec__row span { border-right: none; border-bottom: 1px solid var(--line); }
  .dqa__row { grid-template-columns: 40px 1fr; }
}

/* discipline-page component adaptations */
.sbb-rows .sdetail__it a { font-family: var(--font-display); }
.sbz-agenda .sdetail__it a { font-family: var(--font-display); font-size: 1.15rem; }
.sbz-agenda .sdetail__it a:hover { color: var(--accent); }
.sbz-agenda .sdetail__it p { font-size: 0.84rem; }
a.sbf-row--link b { transition: color 0.25s ease; }
a.sbf-row--link:hover b { color: var(--accent); }
.sbt-term--menu a {
  display: block; color: inherit; line-height: 2.1;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.sbt-term--menu a:hover { color: var(--accent); padding-left: 6px; }
.sbt-term--menu a .ok { font-size: 0.8rem; }
.sbv-doors--five { grid-template-columns: repeat(5, 1fr); }
.sbv-door small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 8px; font-family: var(--font-body); }
@media (max-width: 960px) { .sbv-doors--five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sbv-doors--five { grid-template-columns: 1fr; } }

/* ============ home discipline showcase (zigzag bands) ============ */
.hdisc { padding: 110px 0; }
.hdisc .services__head { margin-bottom: 64px; }
.hdisc__band {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: 56px 0; border-top: 1px solid var(--line);
}
.hdisc__band:last-child { border-bottom: 1px solid var(--line); }
.hdisc__band--rev .hdisc__media { order: 2; }
.hdisc__media { overflow: hidden; aspect-ratio: 16 / 10; }
.hdisc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hdisc__band:hover .hdisc__media img { transform: scale(1.04); }
.hdisc__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hdisc__num { font-family: var(--font-display); font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1.2px var(--accent); line-height: 1; }
.hdisc__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; }
.hdisc__body h3 a { transition: color 0.25s ease; }
.hdisc__body h3 a:hover { color: var(--accent); }
.hdisc__hint { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hdisc__desc { color: var(--muted); max-width: 50ch; }
@media (max-width: 960px) {
  .hdisc { padding: 80px 0; }
  .hdisc__band { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .hdisc__band--rev .hdisc__media { order: 0; }
}

/* ============ testimonials ============ */
.tstm { padding: 110px 0 30px; }
.tstm__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.tstm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tstm__card {
  background: #fff; border: 1px solid var(--line); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.tstm__card > span {
  font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6;
  color: var(--accent); margin-bottom: 4px;
}
.tstm__card blockquote {
  font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5;
  color: var(--ink-soft); flex: 1;
}
.tstm__card figcaption {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px;
}
.pcard__result { font-size: 0.86rem; color: var(--ink-soft); border-top: 1px solid var(--surface); padding-top: 12px; margin-top: 2px; }
.pcard__result b { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; margin-right: 8px; }
.footer__bottom a:hover u { color: var(--paper); }
@media (max-width: 960px) { .tstm__grid { grid-template-columns: 1fr; } .tstm { padding-top: 80px; } }

/* ============================================================
   De-box pass: editorial rules instead of card panels
   ============================================================ */
/* problems -> list rows */
.plist { border-top: 1px solid var(--line); }
.plist__row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.plist__n { font-family: var(--font-display); color: var(--muted); font-size: 0.95rem; }
.plist__row p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
.plist__row a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap; transition: padding-left 0.25s ease;
}
.plist__row:hover a { padding-left: 6px; }

/* starting points -> two-column editorial entries */
.starts__grid { gap: 0 64px; }
.start {
  background: none; border: none; padding: 34px 0; gap: 12px;
  border-top: 1px solid var(--line);
}
.start__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.start__links a { color: var(--accent); font-size: 0.9rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* industries, engagement, practice, details -> no panels */
.ind, .engage__card, .pcard, .sx__card, .sbz-agenda, .sbf-card, .tstm__card {
  background: none; border: none; box-shadow: none;
}
.ind { padding: 0; }
.ind h3 { padding-left: 0; padding-right: 0; }
.ind p { padding-left: 0; padding-right: 0; }
.ind:hover { transform: none; box-shadow: none; }
.engage__card { padding: 28px 0 0; border-top: 1px solid var(--line); }
.engage__card:hover { transform: none; }
.pcard { border-top: 1px solid var(--line); }
.pcard__body { padding: 22px 0 0; }
.sx__card { padding: 28px 0 0; border-top: 1px solid var(--line); }
.sbz-agenda { padding: 0; }
.sbf-card { padding: 0; }
.problem, .tstm { display: none; }

/* sub-page and discipline gimmicks off */
.sbt-term {
  background: none; color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.9;
  padding: 0; position: static; border-top: 1px solid var(--line); padding-top: 22px;
}
.sbt-term__bar { display: none; }
.sbt-term__h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sbt-term p span, .sbt-term--menu a span:first-child { color: var(--accent); margin-right: 10px; }
.sbt-term .ok { color: var(--muted); font-size: 0.85rem; }
.sbt-frame { border: none; background: none; }
.sbt-frame__bar { display: none; }
.theme-technology .page-hero { background-image: none; }
.sbb-ghost, .sbv-net { display: none; }
.sbb-collage__side { display: none; }
.sbb-collage__main { width: 100%; }
.sbb-collage { margin-bottom: 60px; }
.lr__num, .hdisc__num, .dban__strip span { color: var(--accent); -webkit-text-stroke: 0; }
.dspec__table { border: none; }
.dspec__row span { background: none; border-right: none; padding-left: 0; }
.dspec__row p { padding-left: 0; }
.ddark { background: var(--ink); }
.dban__strip { border: none; border-top: 1px solid var(--line); background: none; padding-left: 0; padding-right: 0; }

/* small-caps labels without the dot feel cleaner */
.eyebrow__dot { display: none; }
.cta__sub { color: rgba(251, 250, 247, 0.65); max-width: 52ch; margin-top: -8px; }

@media (max-width: 960px) {
  .plist__row { grid-template-columns: 40px 1fr; }
  .plist__row a { grid-column: 2; }
  .starts__grid { gap: 0; }
}

/* ============ no small uppercase section labels ============ */
.eyebrow { display: none; }
.eyebrow:has(a) {
  display: inline-flex; text-transform: none; letter-spacing: 0;
  font-weight: 500; font-size: 0.92rem; color: var(--muted); margin-bottom: 4px;
}
.eyebrow:has(a) a { color: var(--accent); }
.sx__card h2, .sbz-agenda h2, .sbf-card h2, .sbt-term__h, .dspec .eyebrow, .ddark__h {
  font-family: var(--font-display); font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: 1.35rem; color: var(--ink);
}
.dspec .eyebrow { display: block; }
.sbf-card h2 { font-size: 1.2rem; }
.page-hero__title { margin-top: 0; }
.hero__eyebrow + .hero__title { margin-top: 0; }

/* plain paragraphs instead of chips */
.hdisc__long { color: var(--muted); max-width: 54ch; font-size: 0.95rem; }
.hdisc__desc { color: var(--ink-soft); }
.svc__inline { font-size: 0.92rem; color: var(--muted); }
.svc__inline a { color: var(--accent); border-bottom: 1px solid currentColor; }
.card__list li { border: none; background: none; padding: 0; }
.card__list li a { padding: 0; border-bottom: 1px solid currentColor; color: var(--accent); }
.card__list { gap: 8px 18px; }

/* ============ no uppercase micro-labels anywhere ============ */
.pcard__chain, .plist__row a, .approach__num, .cta__label, .engage__card span,
.compare__label, .footer__col h4, .dspec__row span, .card__tag, .sdetail__next span,
.beliefs__count, .sbv-door span, .trail-img, .chapters__badge span, .hero__badge,
.svc__num, .numbers__label, .mega__title, .faq__note, .start__tag, .lr__facts li,
.tl-card em, .dpath__stop em, .sx__step em, .ddark__fit i, .dban__strip span, .dmargin__note em {
  text-transform: none !important; letter-spacing: 0 !important;
}
.pcard__chain { font-size: 0.85rem; font-weight: 500; }
.plist__row a { font-size: 0.9rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.approach__num { font-size: 0.9rem; font-weight: 500; }
.cta__label { font-size: 0.85rem; font-weight: 500; }
.engage__card span { font-size: 0.9rem; font-weight: 500; }
.compare__label { font-size: 0.85rem; font-weight: 500; }
.footer__col h4 { font-size: 0.95rem; font-weight: 500; color: rgba(251, 250, 247, 0.6); }
.dspec__row span { font-size: 0.9rem; font-weight: 500; }
.card__tag { font-size: 0.8rem; font-weight: 500; }
.sdetail__next span { font-size: 0.9rem; }

/* nav sits next to the contact button */
.nav { margin-left: auto; margin-right: 36px; gap: 30px; }

/* contact details as plain large text, no boxes */
.cta__grid { display: flex; flex-wrap: wrap; gap: 20px 64px; margin-top: 36px; }
.cta__card { border: none; padding: 0; gap: 6px; background: none; }
.cta__card:hover { background: none; transform: none; }
.cta__value { font-size: clamp(1.4rem, 2.4vw, 1.9rem); border-bottom: 1px solid rgba(251, 250, 247, 0.25); padding-bottom: 4px; transition: border-color 0.25s ease; }
.cta__card:hover .cta__value { border-color: var(--accent); }

/* more breathing room above the opening title */
.hero { padding-top: calc(var(--header-h) + 12vh); }
@media (max-width: 640px) { .hero { padding-top: calc(var(--header-h) + 7vh); } }
.hdisc__long { font-size: 1.02rem; color: var(--ink-soft); max-width: 52ch; }
.wideband__media { height: min(70vh, 640px); }
.start .btn { align-self: flex-start; margin-top: 6px; }

/* ============ industries: editorial mosaic ============ */
.inds2 { padding: 120px 0; }
.inds2__grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 72px; align-items: start; }
.inds2__intro { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.inds2__mosaic {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto;
  gap: 44px 28px;
}
.inds2__item { display: flex; flex-direction: column; gap: 8px; }
.inds2__item figure { overflow: hidden; aspect-ratio: 4 / 3; }
.inds2__item--tall { grid-row: span 2; }
.inds2__item--tall figure { aspect-ratio: 3 / 4; height: 100%; }
.inds2__item--wide { grid-column: span 2; }
.inds2__item--wide figure { aspect-ratio: 21 / 9; }
.inds2__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.inds2__item:hover img { transform: scale(1.04); }
.inds2__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-top: 8px; transition: color 0.25s ease; }
.inds2__item:hover h3 { color: var(--accent); }
.inds2__item p { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }
@media (max-width: 960px) {
  .inds2 { padding: 80px 0; }
  .inds2__grid { grid-template-columns: 1fr; gap: 40px; }
  .inds2__intro { position: static; }
  .inds2__mosaic { grid-template-columns: 1fr; gap: 32px; }
  .inds2__item--tall, .inds2__item--wide { grid-row: auto; grid-column: auto; }
  .inds2__item--tall figure, .inds2__item--wide figure { aspect-ratio: 4 / 3; height: auto; }
}
.cta__inner .btn { align-self: flex-start; margin-top: 8px; }
.inds2__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.inds2__item--tall figure { aspect-ratio: 3 / 4; height: auto; }
.inds2__item--tall { grid-row: auto; }
.hero { padding-top: calc(var(--header-h) + 24vh); }
@media (max-width: 640px) { .hero { padding-top: calc(var(--header-h) + 10vh); } }
.hero { padding-top: calc(var(--header-h) + 17vh); }

/* ============ marquee, two rows ============ */
.marquee { margin: 96px 0; padding: 0; border-block: 1px solid var(--line); }
.marquee__track--big { padding: 30px 0 18px; gap: 56px; }
.marquee__track--big span { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--ink); }
.marquee__track--big span em { font-style: italic; color: var(--accent); }
.marquee__track--big i { width: 10px; height: 10px; }
.marquee__track--small { padding: 0 0 26px; gap: 34px; border-top: 1px solid var(--surface); padding-top: 18px; }
.marquee__track--small span { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); }
.marquee__track--small i { width: 5px; height: 5px; background: var(--line); }

/* ============================================================
   FONT SET B (DM Serif Display / Newsreader / Plus Jakarta Sans)
   To go back to set A (Fraunces / Poppins): delete this block
   and set FONT_SET = "A" in build_pages.py
   ============================================================ */
:root {
  --font-title: "DM Serif Display", serif;
  --font-display: "Newsreader", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}
.hero__title, .page-hero__title, .cta__title, .wideband__title, .trail__title,
.lr__title, .manifesto__title, .lb-hero__overlay .page-hero__title {
  font-family: var(--font-title); letter-spacing: -0.01em;
}
.hero__title { font-size: clamp(2.8rem, 6.8vw, 6rem); }
.h2 { font-family: var(--font-display); font-weight: 500; }
.logo__type { font-family: var(--font-title); }
.story__text { font-family: var(--font-display); font-weight: 400; }
.hero__title { max-width: 22ch; font-size: clamp(2.6rem, 6.2vw, 5.6rem); }

/* set B refined: thin Newsreader everywhere, no DM Serif */
:root { --font-title: "Newsreader", serif; --font-display: "Newsreader", serif; }
.hero__title, .page-hero__title, .cta__title, .wideband__title, .trail__title,
.lr__title, .manifesto__title, .lb-hero__overlay .page-hero__title, .logo__type {
  font-weight: 300; letter-spacing: -0.015em; font-variation-settings: "opsz" 72;
}
.h2, .story__text, .hdisc__body h3, .start h3, .why__item h3, .chapter h3, .inds2__item h3,
.pcard__body h3, .engage__card h3, .svc__title, .tl-card h3, .approach__step h3, .belief,
.sx__card h2, .dqa__row h3, .dpath__stop h3, .faq__item summary, .sdetail__grid h2, .lr__main h2,
.plist__row p, .sbz-agenda .sdetail__it a, .sdetail__list li, .sbb-rows li, .mega__title {
  font-weight: 400;
}
.hero__title { font-size: clamp(2.9rem, 7vw, 6.4rem); max-width: 18ch; }
.logo__type { font-weight: 400; }
.hero__title { max-width: 21ch; }
/* middle ground: regular weight titles */
.hero__title, .page-hero__title, .cta__title, .wideband__title, .trail__title,
.lr__title, .manifesto__title, .lb-hero__overlay .page-hero__title { font-weight: 400; }
.h2, .story__text { font-weight: 450; }

/* hero opener: always two lines, scales with screen width */
.hero__title { font-size: clamp(2rem, 5.1vw, 6.2rem); max-width: none; }
.hero__title .line { white-space: nowrap; }
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2rem, 9.5vw, 3rem); }
  .hero__title .line { white-space: normal; }
}

/* ============ four service cards ============ */
.dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.dcard { display: flex; flex-direction: column; gap: 12px; }
.dcard__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 6px; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dcard:hover .dcard__media img { transform: scale(1.04); }
.dcard__num { font-family: var(--font-display); color: var(--accent); font-size: 1.05rem; }
.dcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.dcard h3 a:hover { color: var(--accent); }
.dcard p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.dcard .svc__link { margin-top: 4px; }
@media (max-width: 1100px) {
  .dcards {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 8px; margin-right: -24px; padding-right: 24px;
  }
  .dcards::-webkit-scrollbar { display: none; }
  .dcard { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
}
.marquee__track--big { padding: 30px 0; }

/* wider service cards, shorter images */
.hdisc .container { width: min(1360px, calc(100% - 48px)); }
.dcards { gap: 24px; }
.dcard__media { aspect-ratio: 1 / 1; }
.dcard p { font-size: 0.95rem; }

/* explore links as soft buttons */
.svc__link {
  border: 1px solid var(--line); border-radius: 15px;
  padding: 10px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.svc__link:hover { border-color: var(--accent); color: var(--accent); }
.dcard__media { aspect-ratio: 1 / 0.86; }
.pcard__media { aspect-ratio: 16 / 10.5; }
.tl-card__img { overflow: hidden; aspect-ratio: 16 / 10; margin: 4px 0 10px; }
.tl-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-card { width: min(380px, 78vw); }

/* problems: split layout, tight rows */
.problems__grid2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.problems__intro { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; gap: 20px; }
.problems__intro .h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.plist { border-top: 1px solid var(--line); }
.plist__row { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.plist__row p { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3; }
.plist__row a { align-self: flex-start; padding: 0; border-bottom: 1px solid currentColor; }
.plist__row:hover a { padding-left: 0; }
.plist__n { display: none; }
@media (max-width: 960px) {
  .problems__grid2 { grid-template-columns: 1fr; gap: 36px; }
  .problems__intro { position: static; }
}
.dcard__media { aspect-ratio: 4 / 3; }

/* ============================================================
   NEUTRAL PALETTE (replaces the warm beige + copper scheme)
   ============================================================ */
:root {
  --paper: #ffffff;
  --surface: #f5f5f4;
  --ink: #101112;
  --ink-soft: #2e2f31;
  --muted: #66686b;
  --line: #e4e4e2;
  --accent: #1c4468;        /* deep navy */
  --accent-soft: #e9eff5;
}
body { background: var(--paper); }
.header { background: rgba(255, 255, 255, 0.72); border-bottom-color: var(--line); }
.header.is-scrolled { background: rgba(255, 255, 255, 0.9); }
/* no warm glows anywhere */
.hero::before, .cta::before { display: none; }
/* no faded look on images: clip reveal only, full opacity throughout */
.fx-img img { opacity: 1; transition: clip-path 1.1s cubic-bezier(0.33, 1, 0.36, 1); }
/* dark sections: neutral ink, not warm brown-black */
.cta, .ddark, .stmt, .beliefs { background: #101112; }
.footer { background: #101112; }
.cta__title .em, .stmt__text h2 em { color: #9db8d2; }
.preloader__dot:nth-child(3) { background: var(--accent); }

/* industries: uniform two-column grid, equal image sizes */
.inds2__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
.inds2__item--tall, .inds2__item--wide { grid-row: auto; grid-column: auto; }
.inds2__item figure, .inds2__item--tall figure, .inds2__item--wide figure { aspect-ratio: 4 / 3; height: auto; }

/* final mobile pass */
@media (max-width: 960px) {
  .inds2__mosaic { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
@media (max-width: 640px) {
  .inds2__mosaic { grid-template-columns: 1fr; }
  .problems__grid2 { grid-template-columns: 1fr; gap: 32px; }
  .problems__intro { position: static; }
  .plist__row p { font-size: 1.1rem; }
  .marquee__track--big span { font-size: 1.8rem; }
  .dcard__media { aspect-ratio: 4 / 3; }
  .why__item h3 { font-size: 1.3rem; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* compact story chapters */
.chaps { padding: 40px 0 60px; }
.chap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px);
  align-items: center; padding: 40px 0; border-top: 1px solid var(--line);
}
.chap:last-child { border-bottom: 1px solid var(--line); }
.chap--rev figure { order: 2; }
.chap figure { overflow: hidden; aspect-ratio: 16 / 10; }
.chap img { width: 100%; height: 100%; object-fit: cover; }
.chap__num { font-family: var(--font-display); color: var(--accent); font-size: 1.05rem; display: block; margin-bottom: 8px; }
.chap h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 12px; }
.chap p { color: var(--muted); max-width: 52ch; }
@media (max-width: 960px) {
  .chap { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .chap--rev figure { order: 0; }
}

/* plain service-page detail prose */
.dplain { padding: 10px 0 90px; }
.dplain__inner { max-width: 720px; }
.dplain h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin: 40px 0 14px; }
.dplain h2:first-child { margin-top: 0; }
.dplain p { color: var(--muted); }
.dplain ol { list-style: decimal; padding-left: 22px; }
.dplain ol li { color: var(--muted); padding: 8px 0; }
.dplain ol li b { color: var(--ink); font-weight: 500; }
.sdetail__side { overflow: hidden; aspect-ratio: 16 / 10; margin-top: 28px; }
.sdetail__side img { width: 100%; height: 100%; object-fit: cover; }
