/* Predictica & Company — site styles */

:root {
  --paper: #faf7f2;
  --paper-2: #f2ede5;
  --white: #ffffff;
  --ink: #0e0e10;
  --ink-2: #19191c;
  --muted: #5f5c57;
  --muted-on-dark: #a9a49c;
  --line: rgba(14, 14, 16, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --red: #c8141a;
  --red-deep: #a30d11;
  --red-tint: #fbe9e7;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(48px, 6vw, 84px);
  --hero-pt: clamp(36px, 5vw, 64px);
  --hero-pb: clamp(40px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #f4efe8; }

/* ---------- Type ---------- */

.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1, .display { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.012em; }
h1 em, h2 em { font-style: italic; color: var(--red); }
.section--dark h1 em, .section--dark h2 em { color: #ff6b63; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: #ff6b63; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.section--dark .lead, .section--dark .muted { color: var(--muted-on-dark); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--muted); max-width: 62ch; text-wrap: pretty; }

.section-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .lead { margin-top: 16px; }
.section-head--split { max-width: none; display: grid; gap: 24px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 0.9fr; } .section-head--split .lead { margin-top: 0; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.section--dark .btn--ghost { border-color: var(--line-on-dark); color: #f4efe8; }
.section--dark .btn--ghost:hover { border-color: #f4efe8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1.5px solid var(--red); padding-bottom: 3px; margin-top: 30px; }
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__inner { max-width: 1400px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { flex: none; }
.brand img { height: 50px; width: 141px; max-width: none; flex: none; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px;
  font-size: 0.925rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.nav__link:hover { background: rgba(14, 14, 16, 0.06); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link--soon { color: var(--muted); cursor: default; }
.nav__link--soon:hover { background: transparent; }
.tag { font-size: 0.625rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--red-tint); color: var(--red-deep); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; inset: 78px 0 0 0; background: var(--paper); padding: 20px var(--gutter) 40px;
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
  .nav__link:hover { background: transparent; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */

.hero { padding-block: var(--hero-pt) var(--hero-pb); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.hero .lead { margin-top: 28px; }


.hero--dark { position: relative; isolation: isolate; }
.hero--dark::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 560px at 88% 8%, rgba(200, 20, 26, 0.34), transparent 62%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__stage { position: relative; height: 200px; }
.hero__tagline { position: absolute; left: 0; top: 0; padding-left: 16px; border-left: 2px solid var(--red); font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; color: #f4efe8; }
@media (min-width: 980px) { .hero__stage { height: auto; min-height: 440px; align-self: stretch; } }

.stats { display: grid; gap: 0; }
.stats--row { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(14px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.stats--row .stat { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 22px 0 0; }
.stats--row .stat__label { order: 2; }
.stats--row .stat__track { order: 3; }
@media (max-width: 560px) { .stats--row .stat__label { font-size: 0.68rem; letter-spacing: 0.08em; } }
.stat { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--line-on-dark); }
.stat__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: 0.5em; color: #ff6b63; margin-left: 2px; }
.stat__track { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.stat__track i { display: block; height: 100%; width: var(--w); background: var(--red); border-radius: 3px; transform-origin: left; }
.js .stat__track i { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.3s; }
.js .is-visible .stat__track i, .js .stat.is-visible .stat__track i { transform: none; }

/* Page hero (inner pages) */
.page-hero { padding-block: var(--hero-pt) var(--hero-pb); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .section-head--split h1 { max-width: none; }
.page-hero .lead { margin-top: 20px; }
.page-hero__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.framed { width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(14, 14, 16, 0.55); }
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* Hero graphics (Who We Serve, Insights & Innovation) */
.hero-art { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; background: var(--ink); border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(14, 14, 16, 0.55); }
.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 0%, rgba(200, 20, 26, 0.4), transparent 70%); }
.hero-art__svg { width: 100%; height: 100%; }
.ha-line { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.ha-div { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.25; stroke-dasharray: 3 8; }
.ha-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; fill: rgba(244, 239, 232, 0.7); }
.bld { fill: rgba(255, 255, 255, 0.13); transform-box: fill-box; transform-origin: bottom; animation: ha-grow 4.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.55s); }
.bld--hot { fill: var(--red); }
@keyframes ha-grow { from { transform: scaleY(0.62); } to { transform: scaleY(1); } }
.win { fill: #ffd9a8; opacity: 0.2; animation: ha-win 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
@keyframes ha-win { 0%, 100% { opacity: 0.15; } 45%, 65% { opacity: 0.95; } }
.ha-trend { fill: none; stroke: #ff6b63; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; animation: ha-draw 5s var(--ease) infinite; }
.ha-arrow { fill: none; stroke: #ff6b63; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; animation: ha-fade 5s var(--ease) infinite; }
@keyframes ha-draw { 0% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ha-fade { 0%, 40% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.ha-star { fill: #f4efe8; opacity: 0.4; animation: ha-twinkle 4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.6s); }
@keyframes ha-twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.8; } }
.stair { fill: rgba(255, 255, 255, 0.1); }
.stair--hot { fill: rgba(200, 20, 26, 0.85); }
.ha-star--lg { fill: #f4efe8; animation-duration: 3s; }
.ha-edge { stroke: rgba(244, 239, 232, 0.45); stroke-width: 1.5; }
.ha-node { fill: #f4efe8; transform-box: fill-box; transform-origin: center; animation: ha-node 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.64s); }
.ha-node:nth-of-type(odd) { fill: #ff6b63; }
@keyframes ha-node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.ha-card { fill: #f4efe8; }
.ha-card--3 { fill: rgba(244, 239, 232, 0.35); }
.ha-card--2 { fill: rgba(244, 239, 232, 0.6); }
.ha-ink { fill: rgba(14, 14, 16, 0.22); }
.ha-pill { fill: rgba(200, 20, 26, 0.14); }
.ha-pilldot { fill: var(--red); }
.ha-base { stroke: rgba(14, 14, 16, 0.18); stroke-width: 1.25; }
.ibar { fill: rgba(14, 14, 16, 0.14); transform-box: fill-box; transform-origin: bottom; animation: ha-grow 3.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.5s); }
.ibar:last-of-type { fill: var(--red); }
.ha-trend--card { stroke: var(--red); stroke-width: 2.5; }
.doc { animation: ha-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.8s); }
@keyframes ha-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ha-spark { fill: #fff; transform-box: fill-box; transform-origin: center; animation: ha-pulse 3.6s ease-in-out infinite; }
.ha-spark--sm { animation-delay: -1.8s; opacity: 0.7; }
@keyframes ha-pulse { 0%, 100% { transform: scale(0.85) rotate(0); opacity: 0.7; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
.ha-chip { fill: rgba(255, 255, 255, 0.08); animation: ha-chip 10s steps(1, end) infinite; animation-delay: calc(var(--i) * 2s - 10s); }
@keyframes ha-chip { 0% { fill: var(--red); } 20% { fill: rgba(255, 255, 255, 0.08); } }
.ha-tab { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; fill: #f4efe8; }

/* ---------- Marquee ---------- */

.marquee-band { border-block: 1px solid var(--line); padding-block: 20px; display: grid; gap: 12px; }
.marquee-band__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); text-align: center; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); white-space: nowrap; }
.marquee__group li::after { content: ""; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Layout blocks ---------- */

.split { display: grid; gap: 48px; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; } .split--center { align-items: center; } }
.split h2 + .prose, .split h2 + .lead { margin-top: 26px; }

/* numbered principle list */
.principles { border-top: 1px solid var(--line); counter-reset: p; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -0.012em; transition: padding-left 0.3s var(--ease), color 0.3s; }
.principles li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--red); }
.principles li:hover { padding-left: 10px; }
.section--dark .principles, .section--dark .principles li { border-color: var(--line-on-dark); }
.section--dark .principles li::before { color: #ff6b63; }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(14, 14, 16, 0.4); border-color: transparent; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--red); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-on-dark); }
.section--dark .card:hover { border-color: rgba(255, 107, 99, 0.6); box-shadow: none; }
.section--dark .card p { color: var(--muted-on-dark); }
.section--dark .card__icon { background: rgba(200, 20, 26, 0.18); color: #ff6b63; }
.section--dark .card__num { color: #ff6b63; }

/* value list (How We Create Value) */
.value-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value-grid li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; }
.check { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; }
.check svg { width: 15px; height: 15px; }

/* process */
.process { display: grid; gap: 0; counter-reset: s; }
.process li { counter-increment: s; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--line-on-dark); }
.process li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 23px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: #ff6b63; }
.process h3 { font-size: 1.5rem; margin-bottom: 8px; }
.process p { color: var(--muted-on-dark); font-size: 0.98rem; }
.section:not(.section--dark) .process li { border-top-color: var(--line); }
.section:not(.section--dark) .process li::before { color: var(--red); }
.section:not(.section--dark) .process p { color: var(--muted); }
@media (min-width: 980px) {
  .process--row { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .process--row li { padding: 56px 24px 0 0; border-top: 1px solid var(--line-on-dark); }
  .process--row li::before { top: 22px; }
  .process--row li::after { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
}

/* live service cards: cursor glow + looping micro-charts */
.card--glow { isolation: isolate; }
.card--glow::before, .card--glow::after { content: ""; position: absolute; border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease); }
.card--glow::before { inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 20, 26, 0.1), transparent 70%); }
.card--glow::after {
  inset: -1px; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--red), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cards--glow:hover .card--glow::before, .cards--glow:hover .card--glow::after { opacity: 1; }
.section--dark .card--glow::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 20, 26, 0.3), transparent 70%); }
.section--dark .card--glow::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), #ff6b63, transparent 70%); }

.viz { --viz-accent: var(--red); width: 132px; height: auto; margin-bottom: 22px; color: var(--ink); overflow: visible; }
.section--dark .viz { --viz-accent: #ff6b63; color: #f4efe8; }
.viz * { vector-effect: non-scaling-stroke; }
.viz .dim { stroke: currentColor; stroke-opacity: 0.22; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.viz .dim-fill { fill: currentColor; fill-opacity: 0.16; }
.viz .hot { stroke: var(--viz-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.viz .hot-fill { fill: var(--viz-accent); }
.viz .soft-fill { fill: var(--viz-accent); fill-opacity: 0.14; }
.viz-bars rect { transform-box: fill-box; transform-origin: bottom; animation: viz-bar 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.37s); }
.viz-draw { stroke-dasharray: 1; animation: viz-draw 3.6s var(--ease) infinite; }
.viz-node { transform-box: fill-box; transform-origin: center; animation: viz-node 2.7s ease-in-out infinite; animation-delay: calc(var(--i) * 0.9s); }
@keyframes viz-bar { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
@keyframes viz-draw { 0% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes viz-node { 0%, 60%, 100% { transform: scale(1); fill-opacity: 0.16; } 20% { transform: scale(1.18); fill-opacity: 0.5; } }

/* scroll-told process */
.scrolly { position: relative; padding-block: var(--section); }
.scrolly__grid { display: grid; gap: 28px; width: 100%; }
.scrolly__head .eyebrow { margin-bottom: 16px; }
.scrolly__panel { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-on-dark); border-radius: 26px; padding: clamp(16px, 2.4vw, 30px); }
.scrolly__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(460px 300px at 100% 0%, rgba(200, 20, 26, 0.3), transparent 65%); }
.scrolly__meta { display: flex; align-items: baseline; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted-on-dark); }
.scrolly__meta b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; color: #f4efe8; font-variant-numeric: tabular-nums; }
.scrolly__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-top: 12px; }
.scrolly__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 1)); }
.scrolly__steps li { position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--line-on-dark); transition: opacity 0.45s var(--ease); }
.scrolly__steps li::before { content: attr(data-n); position: absolute; left: 0; top: 21px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: #ff6b63; }
.scrolly__steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.scrolly__steps p { color: var(--muted-on-dark); font-size: 0.96rem; }

.chart { width: 100%; height: auto; max-height: 34vh; max-height: 34svh; }
.chart .axis { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.chart .pt { fill: #f4efe8; opacity: 0.75; transition: transform 1.1s var(--ease), opacity 0.6s, fill 0.6s; }
.chart .ring { fill: none; stroke: #ff6b63; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chart .band { fill: rgba(200, 20, 26, 0.18); opacity: 0; transition: opacity 0.8s; }
.chart .fit { fill: none; stroke: #f4efe8; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.chart .cbar { fill: rgba(255, 255, 255, 0.11); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 0.8s var(--ease) calc(var(--i) * 70ms), fill 0.6s; }
.chart .fcast { fill: none; stroke: #ff6b63; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0; transition: opacity 0.6s 0.3s; }
.chart .spark { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.2) rotate(-40deg); transition: opacity 0.5s 0.5s, transform 0.8s var(--ease) 0.5s; }
.is-s2 .chart .pt { opacity: 0.26; }
.is-s2 .chart .pt--out { fill: #ff6b63; opacity: 1; }
.is-s2 .chart .ring { animation: ring 1.8s ease-out infinite; }
.is-s3 .chart .pt { transform: translateY(var(--dy)); opacity: 0.8; }
.is-s3 .chart .ring { animation: none; opacity: 0; }
.is-s3 .chart .band { opacity: 1; }
.is-s3 .chart .fit { stroke-dashoffset: 0; }
.is-s4 .chart .pt { opacity: 0.2; fill: #f4efe8; }
.is-s4 .chart .band { opacity: 0; }
.is-s4 .chart .cbar:not(.cbar--f) { transform: none; }
.is-s5 .chart .cbar--hot { fill: rgba(200, 20, 26, 0.6); }
.is-s5 .chart .cbar--f { transform: none; fill: var(--red); }
.is-s5 .chart .fcast { opacity: 1; }
.is-s5 .chart .spark { opacity: 1; transform: none; }
@keyframes ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

.js .scrolly { padding-block: 0; height: 430vh; }
.js .scrolly__pin { position: sticky; top: 78px; height: calc(100vh - 78px); height: calc(100svh - 78px); display: flex; align-items: center; overflow: hidden; }
.js .scrolly__steps li { opacity: 0.3; }
.js .scrolly__steps li.is-active { opacity: 1; }
@media (max-width: 979px) {
  .js .scrolly__steps li { display: none; border-top: 0; padding-top: 4px; padding-bottom: 0; min-height: 110px; }
  .js .scrolly__steps li::before { top: 9px; }
  .js .scrolly__steps li.is-active { display: block; }
  .scrolly__head h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
}
@media (min-width: 980px) {
  .scrolly__grid { grid-template-columns: 0.85fr 1.15fr; grid-template-areas: "head panel" "steps panel"; column-gap: 72px; row-gap: 28px; align-items: center; }
  .scrolly__head { grid-area: head; align-self: end; }
  .scrolly__steps { grid-area: steps; align-self: start; }
  .scrolly__panel { grid-area: panel; }
  .chart { max-height: 58vh; }
}
@media (min-width: 980px) and (max-height: 760px) { .scrolly__steps p { display: none; } .scrolly__steps li.is-active p { display: block; } }

/* sectors */
.sectors { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors li { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 104px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.sectors li svg { width: 20px; height: 20px; flex: none; color: var(--red); transition: transform 0.3s var(--ease), color 0.3s; }
.sectors li:hover { background: var(--ink); color: #f4efe8; }
.sectors li:hover svg { color: #ff6b63; transform: translate(3px, -3px); }

@media (min-width: 560px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sectors { grid-template-columns: repeat(3, 1fr); } }

.sectors--num li { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 170px; }
.sectors--num li:hover .card__num { color: #ff6b63; }
.statement { font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.22; max-width: 26ch; max-width: min(100%, 980px); }

/* check list (About — Who We Are) */
.ticks { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.ticks svg { width: 16px; height: 16px; color: var(--red); flex: none; }

.figure { position: relative; border-radius: 26px; background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; place-items: center; overflow: hidden; }
.figure img { position: relative; max-height: 400px; width: auto; }

/* brand tagline */
.brand { display: flex; align-items: center; gap: 14px; }
.brand__tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 600px) { .brand__tag { display: none; } }

/* service rows */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; gap: 14px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 900px) { .svc { grid-template-columns: 150px 1.25fr 1fr; align-items: center; } }
.svc .viz { margin: 0; }
.svc h3 { font-size: 1.65rem; margin-bottom: 10px; }
.svc p { color: var(--muted); max-width: 48ch; }
.svc__points li { position: relative; padding: 5px 0 5px 22px; font-size: 0.96rem; font-weight: 600; }
.svc__points li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }

/* who we serve */
.segments { display: grid; gap: 18px; }
@media (min-width: 900px) { .segments { grid-template-columns: 1fr 1fr; } }
.segment { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #f4efe8; border-radius: 26px; padding: clamp(24px, 3vw, 36px); }
.segment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px 320px at 100% 0%, rgba(200, 20, 26, 0.42), transparent 65%); }
.segment h2, .segment__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.segment__sub { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; color: #ff6b63; margin: 10px 0 20px; }
.segment > p:not([class]) { color: var(--muted-on-dark); max-width: 46ch; }
.segment__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; margin: 32px 0 14px; }
.chips, .filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-on-dark); font-size: 0.88rem; font-weight: 600; }
@media (min-width: 1000px) { .sectors--5 { grid-template-columns: repeat(5, 1fr); } }

.chips li a { display: block; padding: 8px 16px; border-radius: 999px; transition: background 0.2s, border-color 0.2s; }
.chips li:has(a) { padding: 0; }
.chips li a:hover { background: rgba(255, 255, 255, 0.12); }
.approach { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px 22px; margin-top: 28px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.approach svg { width: 34px; height: 34px; color: var(--red); }
.approach h3 { font-size: 1.25rem; padding-right: 22px; border-right: 1px solid var(--line); }
.approach p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 720px) { .approach { grid-template-columns: auto 1fr; } .approach h3 { border: 0; padding: 0; } .approach p { grid-column: 1 / -1; } }

/* insights */
.filters { margin-bottom: 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cards--5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 1100px) { .cards--5 { grid-template-columns: repeat(5, 1fr); } }
.cards--5 .card { padding: 28px 22px; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards--core { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1100px) { .cards--core { grid-template-columns: repeat(4, 1fr); } }
.cards--core .viz { margin-bottom: 8px; }
.card__label { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink) !important; }
.cards--core .svc__points li { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card .tag { align-self: flex-start; }
.card__service { margin-top: auto; padding-top: 18px; font-size: 0.85rem; font-weight: 700; color: var(--red); }
.card__service { display: inline-flex; align-items: center; gap: 6px; }
.card__service svg { width: 13px; height: 13px; flex: none; }
.card__service:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__service + .card__soon { margin-top: 0; padding-top: 6px; }
.card__soon { margin-top: auto; padding-top: 18px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card[hidden] { display: none; }

/* who we serve */
.orgs { display: grid; gap: 16px; }
@media (min-width: 900px) { .orgs { grid-template-columns: 1fr 1fr; } }
.org { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.org--dark { background: var(--ink); color: #f4efe8; border-color: var(--ink); }
.org__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.org__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.org__n { font-family: var(--font-display); font-size: 1.3rem; color: var(--muted); }
.org--dark .org__label { color: #ff6b63; } .org--dark .org__n { color: var(--muted-on-dark); }
.org h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-bottom: 12px; }
.org h3 em { color: var(--red); }
.org--dark h3 em { color: #ff6b63; }
.org > p { color: var(--muted); font-size: 0.97rem; }
.org--dark > p { color: var(--muted-on-dark); }
.org__quote { margin: 16px 0 0; padding: 14px 0; border-block: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink) !important; }
.org--dark .org__quote { border-color: var(--line-on-dark); color: #f4efe8 !important; }
.org__help { margin-top: 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink) !important; }
.org--dark .org__help { color: #f4efe8 !important; }
.org__list { margin: 8px 0 18px; }
.org__list li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: 0.93rem; }
.org__list svg { width: 14px; height: 14px; flex: none; margin-top: 0.4em; color: var(--red); }
.org--dark .org__list svg { color: #ff6b63; }
.org__links { margin-top: auto; display: grid; gap: 4px; padding-top: 8px; }
.org__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 700; color: var(--red); }
.org--dark .org__links a { color: #ff6b63; }
.org__links svg { width: 13px; height: 13px; }
.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); }
.steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.lablinks { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); display: grid; gap: 14px; }
.lablinks a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.lablinks svg { width: 15px; height: 15px; }
h2 em, h1 em { font-style: italic; }

/* decision tool */
.tool { display: grid; gap: 28px 48px; align-items: center; background: var(--ink); color: #f4efe8; border-radius: 26px; padding: clamp(24px, 4vw, 48px); position: relative; isolation: isolate; overflow: hidden; }
.tool::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px 300px at 100% 0%, rgba(200, 20, 26, 0.38), transparent 65%); }
@media (min-width: 900px) { .tool { grid-template-columns: 1.2fr 0.8fr; } }
.tool .eyebrow { color: #ff6b63; }
.tool__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.tool > div > p { color: var(--muted-on-dark); max-width: 52ch; }
.tool__sheet { transform: rotate(2deg); border: 1px solid var(--line-on-dark); border-radius: 12px; padding: 8px 22px; background: rgba(255, 255, 255, 0.03); }
.tool__sheet li { padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tool__sheet li:last-child { border-bottom: 0; }
.fineprint { margin-top: 24px; font-size: 0.88rem; color: var(--muted); }
.card--3 p, .cards--3 .card p { color: var(--muted); font-size: 0.96rem; }
.section-head--split .filters { margin: 0; align-self: center; }

/* about + contact additions */
.philosophy { margin: clamp(24px, 3vw, 36px) 0 0; padding: clamp(22px, 3vw, 34px); background: var(--paper-2); border-left: 3px solid var(--red); border-radius: var(--radius); }
.form-note { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-note h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-note .privacy { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.form-note p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA ---------- */

.cta { padding-block: var(--section); }
/* one gap between sections: neighbours with the same background don't stack their padding */
.section:not(.section--dark):not(.section--alt) + .section:not(.section--dark):not(.section--alt),
.section--dark + .section--dark, .section--alt + .section--alt,
.section:not(.section--dark):not(.section--alt) + .cta { padding-top: 0; }
.section:not(.section--dark):not(.section--alt) + .section:not(.section--dark):not(.section--alt) { padding-top: 0; }
.cta__box { position: relative; isolation: isolate; overflow: hidden; background: var(--red); color: var(--white); border-radius: 30px; padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); display: grid; gap: 24px; align-items: end; }
.cta__box::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(255, 255, 255, 0.08); }
.cta__box h2 { max-width: 17ch; }
.cta__box p { max-width: 52ch; color: rgba(255, 255, 255, 0.86); font-size: 1.05rem; margin-top: 12px; }
@media (min-width: 900px) { .cta__box { grid-template-columns: 1fr auto; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; } }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .card__icon { margin: 0; }
.contact-list h3 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list a, .contact-list address { font-style: normal; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 80px -60px rgba(14, 14, 16, 0.5); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 20px; }
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230e0e10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: #9a968f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: var(--red-tint); }
.field__error { font-size: 0.8rem; font-weight: 600; color: var(--red-deep); min-height: 0; }
.form__status { grid-column: 1 / -1; font-weight: 600; font-size: 0.95rem; }
.form__status:empty { display: none; }

.map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: clamp(300px, 42vw, 460px); border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #f4efe8; padding-block: clamp(40px, 5vw, 56px) 24px; }
.footer-grid { display: grid; gap: 44px 40px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; max-width: 400px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--muted-on-dark); font-size: 0.95rem; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 0.8fr 1.2fr; gap: 44px 72px; } .footer-brand { grid-column: auto; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: #ff6b63; margin-bottom: 18px; line-height: 1.4; }
.footer-col h2:not(:first-child) { margin-top: 30px; }
.footer-col li { padding: 5px 0; font-size: 0.95rem; color: #d9d4cc; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: clamp(28px, 4vw, 40px); padding-top: 20px; border-top: 1px solid var(--line-on-dark); font-size: 0.875rem; color: var(--muted-on-dark); }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .stat__track i { transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  :root { --section: 40px; --gutter: 20px; }
  body { font-size: 1rem; }
  .site-header__inner { min-height: 68px; }
  .nav { inset: 68px 0 0 0; }
  .brand img { height: 42px; width: 119px; }
  .page-hero__grid, .split, .contact-grid { gap: 32px; }
  .section-head { margin-bottom: 28px; }
  .section-head--split { gap: 14px; }
  .eyebrow { margin-bottom: 16px; }
  h1, .display { font-size: clamp(2.1rem, 9.4vw, 2.7rem); }
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
  :root { --hero-pt: 24px; --hero-pb: 28px; }
  .lead { font-size: 1.05rem; }
  .btn-row { margin-top: 28px; }
  .btn { padding: 14px 22px; }
  .hero__stage { height: 190px; }
  .marquee-band { padding-block: 20px; gap: 14px; }
  .card, .cards--core .card { padding: 20px 20px; }
  .svc__points li { padding-block: 4px; }
  .sectors--num li, .sectors li { min-height: 96px; padding: 20px; }
  .segment { padding: 28px 24px; }
  .form-card { padding: 24px 20px; border-radius: 20px; }
  .contact-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; }
  .contact-list .card__icon { width: 44px; height: 44px; margin: 0; }
  .contact-list a, .contact-list address { font-size: 0.95rem; overflow-wrap: break-word; word-break: normal; }
  .map iframe { height: 300px; }
  .cta__box { padding: 36px 24px; border-radius: 22px; }
  .figure { padding: 20px; }
  .figure img { max-height: 360px; }
  .framed, .hero-art { border-radius: 20px; }
  .philosophy { padding: 24px; }
  .statement { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .principles li { padding: 20px 0; }
  .process--row li { padding: 22px 0 22px 56px; }
  .footer-grid { gap: 32px 24px; }
  .footer-brand img { height: 44px; }
  .approach { padding: 20px; }
  .filters { gap: 8px; }
  .chip { padding: 9px 15px; font-size: 0.85rem; }
  .cards--3, .cards--2, .cards--5, .cards--core { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cards { gap: 10px; }
  .card { gap: 6px; }
  .card h3 { font-size: 1.2rem; }
  .card p { font-size: 0.94rem; }
  .viz { width: 92px; margin-bottom: 8px; }
  .card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .card__label { margin-top: 6px; padding-top: 12px; }
  .svc__points li { padding-block: 3px; font-size: 0.9rem; }
  .hero__stage { height: 150px; }
  .hero__grid { gap: 20px; }
  .btn-row { margin-top: 22px; }
  .section-head { margin-bottom: 20px; }
  .process--row li { padding: 16px 0 16px 52px; }
  .process li::before { top: 19px; }
  .value-grid li, .ticks li, .principles li { padding-block: 12px; }
  .contact-list li { padding: 14px 0; }
  .footer-col h2:not(:first-child) { margin-top: 20px; }
  .footer-col li { padding: 3px 0; }
  .segment__label { margin: 20px 0 10px; }
  .philosophy { padding: 20px; }
}
@media (max-width: 760px) { .tag { font-size: 0.7rem; padding: 4px 9px; } .brand__tag { font-size: 0.7rem; } }
@media (max-width: 380px) {
  h1, .display { font-size: 2rem; }
  .btn-row .btn { width: 100%; }
  .nav__link { font-size: 1.3rem; }
}
