/* Hallmark · pre-emit critique: P5 H5 E5 S5 R4 V5 */

/* ==========================================================================
   Rootsurvey — consumer intelligence homepage
   Deep field · electric signals · editorial restraint.
   ========================================================================== */

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: color-mix(in oklch, var(--blue) 16%, transparent);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.hero :focus-visible,
.industries :focus-visible,
.manifesto :focus-visible,
.global :focus-visible,
.platform-mock :focus-visible,
.contact-copy :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-dark);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

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

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.section-title {
  grid-column: 1 / span 7;
  font-family: var(--font-display);
  font-size: var(--text-display-s);
  font-weight: 600;
  line-height: var(--leading-snug);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head > div:first-child {
  grid-column: 1 / span 7;
  min-width: 0;
}

.section-head > .section-intro {
  grid-column: 9 / span 4;
}

.section-intro {
  grid-column: 9 / span 4;
  max-width: 42ch;
  color: var(--muted);
}

.section-intro--light {
  color: var(--on-dark-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-5);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow--light {
  color: var(--mint);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin-top: var(--space-4);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--blue) 35%, transparent);
  width: fit-content;
}

.section-link svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform var(--dur-fast) var(--ease-out);
}

.section-link:hover svg {
  transform: translate(2px, -2px);
}

.section-link--light {
  color: var(--white);
  border-color: color-mix(in oklch, var(--white) 40%, transparent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-coral:hover {
  background: var(--coral-dark);
}

.btn-ghost-light {
  border-color: oklch(100% 0 0 / 0.35);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: oklch(100% 0 0 / 0.1);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* ---------- Utility bar ---------- */

.utility {
  background: var(--ink);
  color: var(--on-dark-muted);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
  font-size: 0.7rem;
}

.utility-inner p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.utility-inner p::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--mint);
}

.utility nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.utility a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: inherit;
  text-decoration: none;
}

.utility a:hover {
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px oklch(21.18% 0.042 247.8 / 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  color: var(--blue);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin-left: auto;
  font-size: var(--text-sm);
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-cta {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 2.875rem;
  height: 2.875rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.menu-toggle-lines {
  position: relative;
  width: 1.05rem;
  height: 0.65rem;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out), top var(--dur-fast) var(--ease-out);
}

.menu-toggle-lines::before {
  top: 0;
}

.menu-toggle-lines::after {
  top: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 50%;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 50%;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: var(--z-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-6) var(--gutter) var(--space-8);
  background: var(--white);
}

.mobile-menu nav {
  display: grid;
  margin-bottom: var(--space-5);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.6rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mobile-menu nav a span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0;
}

.mobile-menu .btn {
  width: 100%;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, oklch(54.76% 0.25 264.1 / 0.35), transparent 42%),
    radial-gradient(circle at 46% 88%, oklch(65.5% 0.197 14.5 / 0.22), transparent 40%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 48%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: grayscale(1) contrast(1.02) brightness(1.02);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--coral));
  mix-blend-mode: color;
  opacity: 0.48;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, oklch(21.18% 0.042 247.8 / 0.82) 30%, oklch(21.18% 0.042 247.8 / 0.02) 76%),
    linear-gradient(180deg, oklch(21.18% 0.042 247.8 / 0.08), oklch(21.18% 0.042 247.8 / 0.58));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: center;
  min-height: 43rem;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.hero-copy {
  grid-column: 1 / span 6;
  min-width: 0;
}

.hero h1 {
  max-width: 9.8ch;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-sub {
  max-width: 42ch;
  margin-top: var(--space-5);
  color: var(--on-dark-muted);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid oklch(100% 0 0 / 0.18);
  color: var(--on-dark-muted);
  font-size: var(--text-xs);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding-inline: 1rem;
  border-left: 1px solid oklch(100% 0 0 / 0.18);
}

.hero-meta span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-cards {
  position: relative;
  grid-column: 8 / span 5;
  display: grid;
  justify-items: end;
  gap: 0.8rem;
  min-width: 0;
}

.hero-cards::before {
  content: "";
  position: absolute;
  inset: -2rem -1rem;
  z-index: -1;
  background: radial-gradient(circle at 60% 30%, oklch(54.76% 0.25 264.1 / 0.5), transparent 60%);
  filter: blur(34px);
  pointer-events: none;
}

.glass {
  width: 100%;
  border: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: var(--radius-lg);
  background: oklch(21.18% 0.042 247.8 / 0.52);
  box-shadow: 0 24px 70px oklch(0% 0 0 / 0.35);
  padding: 1rem 1.1rem;
  color: var(--white);
  backdrop-filter: blur(20px);
}

@supports not (backdrop-filter: blur(8px)) {
  .glass {
    background: oklch(21.18% 0.042 247.8 / 0.88);
  }
}

.glass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

.glass-head strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.live-card {
  max-width: 24rem;
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px oklch(83.87% 0.117 171.8 / 0.16);
}

.live-list {
  margin-top: 0.8rem;
}

.live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  font-size: 0.78rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

.status::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.status--mint {
  color: var(--mint);
}

.status--amber {
  color: var(--amber);
}

.status--coral {
  color: var(--coral-light);
}

.live-card p {
  margin-top: 0.7rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

.map-card {
  max-width: 21rem;
  margin-right: 2.25rem;
}

.map-mini {
  margin-top: 0.6rem;
}

.map-mini svg {
  width: 100%;
  height: auto;
}

.map-mini .axis {
  stroke: oklch(100% 0 0 / 0.18);
  stroke-width: 1;
}

.map-mini .grid {
  stroke: oklch(100% 0 0 / 0.08);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.map-mini text {
  fill: oklch(100% 0 0 / 0.8);
  font-family: var(--font-body);
  font-size: 9px;
}

.quote-card {
  max-width: 23rem;
}

.quote-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.12;
}

.quote-card figcaption {
  margin-top: 0.7rem;
  color: var(--on-dark-muted);
  font-size: 0.66rem;
}

/* ---------- Stats ---------- */

.stats {
  background: var(--blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 2.5rem;
}

.stat {
  padding-inline: 1.5rem;
  border-left: 1px solid oklch(100% 0 0 / 0.25);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  color: oklch(100% 0 0 / 0.78);
  font-size: 0.78rem;
}

/* ---------- Solutions ---------- */

.solutions {
  background: var(--paper);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition:
    transform var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--blue));
  box-shadow: var(--shadow-soft);
}

.solution-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.solution-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  background: var(--tint, var(--tint-blue));
  color: var(--accent, var(--blue));
}

.solution-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.solution-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.solution-arrow svg {
  width: 0.8rem;
  height: 0.8rem;
}

.solution-card:hover .solution-arrow {
  border-color: var(--accent, var(--blue));
  background: var(--accent, var(--blue));
  color: var(--white);
}

.solution-card h3 {
  margin-top: 1.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.solution-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--ink-2);
  font-size: 0.68rem;
}

.solution-tags li + li {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}

/* ---------- Platform ---------- */

.platform {
  background: var(--tint-sky);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: center;
}

.platform-copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.platform-copy .section-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.platform-copy > p {
  max-width: 42ch;
  margin-top: var(--space-4);
  color: var(--muted);
}

.feature-list {
  margin-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border-radius: 2px;
  background: var(--accent, var(--blue));
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.feature p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.platform-mock {
  grid-column: 7 / span 6;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

.mock-head strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.mock-tabs {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
  border-bottom: 1px solid oklch(100% 0 0 / 0.14);
}

.mock-tab {
  min-height: 2.75rem;
  padding: 0.5rem 0.8rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: oklch(100% 0 0 / 0.58);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-tab[aria-selected="true"] {
  color: var(--white);
  border-bottom-color: var(--mint);
}

.mock-panel {
  padding-top: 1.1rem;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
}

.mock-card {
  padding: 0.9rem;
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--radius);
  background: oklch(100% 0 0 / 0.05);
}

.mock-card h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-card p {
  margin-top: 0.35rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

.mock-card > svg {
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
}

.bars {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  color: var(--on-dark-muted);
  font-size: 0.65rem;
}

.bar-track {
  height: 0.4rem;
  border-radius: 99px;
  background: oklch(100% 0 0 / 0.1);
}

.bar {
  width: var(--w, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--bar, var(--mint));
}

.mock-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.mock-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.1;
}

.mock-quote .tag {
  color: var(--mint);
  font-size: 0.64rem;
}

.mock-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  color: var(--on-dark-muted);
  font-size: 0.64rem;
}

.mock-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mock-status span::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--dot, var(--mint));
}

/* ---------- Industries ---------- */

.industries {
  background: var(--forest);
  color: var(--white);
}

.industries .section-title {
  color: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid oklch(100% 0 0 / 0.16);
  background: oklch(100% 0 0 / 0.16);
}

.industry-card {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.5rem;
  background: var(--forest);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.industry-card:hover {
  background: var(--forest-deep);
}

.industry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.industry-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--dot, var(--mint));
}

.industry-card .arrow {
  color: var(--on-dark-muted);
  font-size: 1rem;
  transition: transform var(--dur-fast) var(--ease-out);
}

.industry-card:hover .arrow {
  transform: translate(2px, -2px);
  color: var(--white);
}

.industry-card h3 {
  margin-top: auto;
  padding-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.industry-card p {
  margin-top: 0.4rem;
  max-width: 28ch;
  color: var(--on-dark-muted);
  font-size: 0.82rem;
}

/* ---------- Manifesto ---------- */

.manifesto {
  background: var(--coral);
  color: var(--white);
}

.manifesto .eyebrow {
  color: var(--white);
}

.manifesto .eyebrow::before {
  background: var(--white);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.manifesto-grid > div:first-child {
  grid-column: 1 / span 6;
  min-width: 0;
}

.manifesto-statement {
  grid-column: auto;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.manifesto-note {
  grid-column: 1 / span 4;
  max-width: 34ch;
  margin-top: var(--space-5);
  color: var(--white);
  font-size: 0.9rem;
}

.principles {
  grid-column: 8 / span 5;
  border-top: 1px solid oklch(100% 0 0 / 0.3);
}

.principle {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid oklch(100% 0 0 / 0.24);
}

.principle dt {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.principle dd {
  color: var(--white);
  font-size: 0.84rem;
}

/* ---------- Work ---------- */

.work {
  background: var(--tint-sand);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-decoration: none;
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue);
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(0.95);
}

.case-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(54.76% 0.25 264.1 / 0.72), oklch(65.5% 0.197 14.5 / 0.38));
  mix-blend-mode: color;
  opacity: 0.72;
}

.case-cover--map {
  background: var(--blue);
}

.case-cover--map::after {
  background: linear-gradient(160deg, oklch(54.76% 0.25 264.1 / 0.95), oklch(59.74% 0.23 285.5 / 0.7));
}

.case-cover svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.case-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
}

.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
}

.case-label {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.case-body p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0;
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

.case-link svg {
  width: 0.8rem;
  height: 0.8rem;
  transition: transform var(--dur-fast) var(--ease-out);
}

.case-card:hover .case-link svg {
  transform: translate(2px, -2px);
}

.case-meta li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

/* ---------- Insights ---------- */

.insights {
  background: var(--paper);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.insight-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.insight-cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-blue {
  background: var(--blue);
}

.cover-coral {
  background: var(--coral);
}

.cover-mint {
  background: var(--mint);
}

.cover-violet {
  background: var(--violet);
}

.insight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem;
}

.insight-meta {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 500;
}

.insight-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.insight-body p {
  color: var(--muted);
  font-size: 0.8rem;
}

.insight-arrow {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--blue);
}

.insight-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- Global ---------- */

.global {
  background: var(--ink);
  color: var(--white);
}

.global-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: end;
}

.global-copy {
  grid-column: 1 / span 4;
  min-width: 0;
}

.global-copy .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
}

.global-copy p {
  max-width: 34ch;
  margin-top: var(--space-4);
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

.regions {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid oklch(100% 0 0 / 0.2);
}

.region strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.region span {
  display: block;
  margin-top: 0.35rem;
  color: var(--on-dark-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.region::before {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--dot, var(--mint));
}

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

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.contact-copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.contact-copy h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: var(--text-display-s);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.contact-copy p {
  max-width: 34ch;
  margin-top: var(--space-4);
  color: var(--on-dark-muted);
}

.contact-email {
  display: inline-block;
  margin-top: var(--space-6);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  text-decoration-color: oklch(100% 0 0 / 0.4);
}

.contact-form {
  grid-column: 7 / span 6;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-sm);
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--coral);
}

.field-error {
  min-height: 1em;
  color: var(--coral-dark);
  font-size: 0.7rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-4);
}

.form-note {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.68rem;
}

.form-actions .btn {
  min-width: 10rem;
}

.form-success {
  display: none;
  padding: 2rem 0;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.05;
}

.form-success p {
  max-width: 40ch;
  margin-top: 0.75rem;
  color: var(--muted);
}

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

.site-footer {
  padding: var(--space-9) 0 var(--space-6);
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-5);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-tagline {
  max-width: 28ch;
  margin-top: var(--space-4);
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.footer-entity {
  margin-top: 1.1rem;
  color: var(--on-dark-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.footer-entity strong {
  color: var(--white);
  font-weight: 600;
}

.footer-address {
  margin-top: 0.4rem;
  color: var(--on-dark-muted);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-col h2 {
  margin-bottom: 0.9rem;
  color: var(--on-dark-muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 0.32rem 0;
  color: var(--white);
  font-size: var(--text-sm);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid oklch(100% 0 0 / 0.14);
  color: var(--on-dark-muted);
  font-size: 0.68rem;
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .hero [data-hero] {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.85s var(--ease-out) forwards;
}

.js .hero [data-hero="2"] {
  animation-delay: 0.08s;
}

.js .hero [data-hero="3"] {
  animation-delay: 0.16s;
}

.js .hero [data-hero="4"] {
  animation-delay: 0.24s;
}

.js .hero [data-hero="5"] {
  animation-delay: 0.32s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal],
  .js .hero [data-hero] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero-copy {
    grid-column: 1 / span 6;
  }

  .hero-cards {
    grid-column: 7 / span 6;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-col:nth-last-child(-n + 2) {
    grid-column: span 1;
  }
}

@media (max-width: 1020px) {
  .utility {
    display: none;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .hero-copy,
  .hero-cards {
    grid-column: 1;
  }

  .hero-media {
    width: 100%;
    opacity: 0.55;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, oklch(21.18% 0.042 247.8 / 0.82) 55%, oklch(21.18% 0.042 247.8 / 0.45)),
      linear-gradient(180deg, oklch(21.18% 0.042 247.8 / 0.4), oklch(21.18% 0.042 247.8 / 0.95));
  }

  .hero-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
    margin-top: var(--space-7);
  }

  .glass,
  .live-card,
  .map-card,
  .quote-card {
    max-width: none;
    margin-right: 0;
  }

  .platform-grid,
  .global-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .platform-copy,
  .platform-mock,
  .global-copy,
  .regions,
  .contact-copy,
  .contact-form {
    grid-column: 1;
  }

  .platform-mock {
    margin-top: var(--space-6);
  }

  .regions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: var(--space-6);
  }

  .contact-form {
    margin-top: var(--space-6);
  }
}

@media (max-width: 820px) {
  :root {
    --section-y: clamp(4rem, 8vw, 6.5rem);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section-title,
  .section-intro,
  .section-head > div:first-child,
  .section-head > .section-intro {
    grid-column: 1;
  }

  .section-intro {
    max-width: 48ch;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
    max-width: 10ch;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .manifesto-statement,
  .manifesto-note,
  .principles {
    grid-column: 1;
  }

  .manifesto-grid > div:first-child {
    grid-column: 1;
  }

  .manifesto-note {
    margin-top: 0;
  }

  .principles {
    margin-top: var(--space-5);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 4rem;
  }

  .utility {
    display: none;
  }

  .header-inner {
    min-height: 4rem;
  }

  .hero-grid {
    padding-block: 3rem 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta span {
    padding-inline: 0.8rem;
  }

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

  .solutions-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-body h3 {
    font-size: 1rem;
  }

  .insight-body {
    padding: 0.85rem;
  }

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

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

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-col {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.9rem;
  }

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

  .hero-meta {
    gap: 0.5rem 0;
  }

  .hero-meta span {
    padding-inline: 0.6rem;
    font-size: 0.68rem;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid oklch(100% 0 0 / 0.12);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in oklch, var(--hero-accent, var(--blue)) 62%, transparent), transparent 46%),
    radial-gradient(circle at 18% 100%, oklch(59.03% 0.198 15 / 0.22), transparent 44%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(100% 0 0 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(100% 0 0 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero--small {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 4vw, 3.5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
  color: var(--on-dark-muted);
  font-size: 0.7rem;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--white);
}

.page-hero h1 {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.page-hero--small h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.page-hero-sub {
  max-width: 54ch;
  margin-top: var(--space-5);
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-5);
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: 3px;
  color: oklch(100% 0 0 / 0.78);
  font-size: 0.68rem;
}

.page-body {
  padding-block: var(--section-y);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.detail-main {
  grid-column: 1 / span 8;
  min-width: 0;
}

.detail-aside {
  grid-column: 10 / span 3;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  min-width: 0;
}

.anchor-section {
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.anchor-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.anchor-section h2 {
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.anchor-section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.anchor-section .lead {
  max-width: 62ch;
  margin-top: var(--space-4);
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.anchor-section p {
  max-width: 66ch;
  margin-top: var(--space-3);
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-5);
  border: 1px solid var(--line);
  background: var(--line);
}

.approach-card {
  padding: 1.25rem;
  background: var(--white);
}

.approach-card h3 {
  margin-bottom: 0.45rem;
}

.approach-card p {
  margin: 0;
  font-size: 0.86rem;
}

.method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.method-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.method-list li:nth-child(odd) {
  padding-right: 1.25rem;
}

.method-list li:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.output-list {
  display: grid;
  gap: 0.7rem;
  margin-top: var(--space-4);
}

.output-list li {
  display: grid;
  grid-template-columns: 0.6rem minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.output-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent, var(--blue));
}

.aside-card {
  padding: 1.25rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.aside-label {
  margin-bottom: 0.9rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
}

.aside-card dl {
  display: grid;
  gap: 0.6rem;
}

.aside-card dt {
  color: var(--muted);
  font-size: 0.66rem;
}

.aside-card dd {
  color: var(--ink);
  font-size: 0.82rem;
}

.aside-card .btn {
  width: 100%;
  margin-top: 1rem;
}

.aside-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.8rem;
  text-decoration: none;
}

.aside-list a:hover {
  color: var(--blue);
}

.page-cta {
  background: var(--blue);
  color: var(--white);
}

.page-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-6);
  align-items: center;
}

.page-cta h2 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-cta p {
  max-width: 36ch;
  margin-bottom: var(--space-4);
  color: oklch(100% 0 0 / 0.82);
}

/* Article / legal */

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 2.2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 1.6rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.65;
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--ink-2);
}

.prose a {
  color: var(--blue);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-bottom: var(--space-5);
  color: var(--muted);
  font-size: 0.72rem;
}

.article-meta strong {
  color: var(--blue);
  font-weight: 600;
}

.takeaways {
  margin-top: var(--space-6);
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--blue);
  background: var(--tint-sky);
}

.takeaways h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.takeaways ul {
  display: grid;
  gap: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.takeaways li {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr);
  gap: 0.65rem;
}

.takeaways li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
}

/* Contact page */

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-page .contact-copy,
.contact-page .contact-form {
  grid-column: auto;
  min-width: 0;
}

.contact-page .contact-form {
  margin: 0;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.panel-copy {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-page .contact-form {
  margin: 0;
}

.contact-page .contact-copy h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.contact-page .contact-copy p {
  color: var(--muted);
}

.contact-page .contact-email {
  color: var(--blue);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--space-7);
  border: 1px solid var(--line);
  background: var(--line);
}

.step-card {
  padding: 1.4rem;
  background: var(--white);
}

.step-card span {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.step-card h3 {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.step-card p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Legal + 404 */

.legal {
  max-width: 70ch;
}

.legal-meta {
  margin-bottom: 1.25rem !important;
  color: var(--muted);
  font-size: 0.75rem;
}

.legal-address {
  margin: 0.75rem 0 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--blue);
  background: var(--tint-sky);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
}

.company-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.company-block .aside-label {
  margin-bottom: 0.6rem;
}

.company-block p {
  color: var(--ink-2);
  font-size: 0.85rem;
}

.company-block p + p {
  margin-top: 0.35rem;
}

.company-block address {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.55;
}

.contact .company-block {
  border-top-color: oklch(100% 0 0 / 0.2);
}

.contact .company-block .aside-label {
  color: var(--mint);
}

.contact .company-block p {
  color: oklch(100% 0 0 / 0.8);
}

.contact .company-block p strong {
  color: var(--white);
}

.contact .company-block address {
  color: var(--on-dark-muted);
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.legal p,
.legal li {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.legal ul {
  padding-left: 1.1rem;
  list-style: disc;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 52vh;
  padding-block: var(--space-10);
  text-align: center;
}

.error-code {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.error-page p {
  max-width: 40ch;
  margin: 0.75rem auto 0;
  color: var(--muted);
}

.error-page .btn {
  margin-top: var(--space-5);
}

.desktop-nav a[aria-current="page"],
.mobile-menu nav a[aria-current="page"] {
  color: var(--blue);
}

@media (max-width: 1020px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-main,
  .detail-aside {
    grid-column: 1;
  }

  .detail-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .detail-aside .aside-card {
    margin-bottom: 0;
  }

  .page-cta-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    grid-template-columns: 1fr;
  }

  .next-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .method-list {
    grid-template-columns: 1fr;
  }

  .method-list li:nth-child(odd),
  .method-list li:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .page-hero-sub {
    font-size: 1rem;
  }
}
