/* BlackWolf Advisory Group — Redesign Prototype
   Editorial, restrained, premium financial-consulting aesthetic.
   Palette: Ink black, ivory paper, deep BlackWolf crimson accent. */

:root {
  --bg: #ffffff;
  --paper: #f6f2ec;
  --paper-deep: #ece6dc;
  --ink: #0b0b0b;
  --ink-soft: #1f1f1f;
  --muted: #6c6862;
  --muted-soft: #908a82;
  --line: #e4ddd2;
  --line-soft: #efe9df;
  --accent: #9E1B1B;
  --accent-deep: #6e1212;
  --accent-soft: #c64545;
  --shadow: 0 1px 2px rgba(11,11,11,.04), 0 8px 24px rgba(11,11,11,.06);
  --radius: 2px;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --font-display: "Fraunces", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.05; font-weight: 350; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 350; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; font-weight: 400; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 500; font-family: var(--font-sans); letter-spacing: 0.02em; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.55; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* Layout */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(56px, 6vw, 88px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }
section.spaced { padding: clamp(72px, 8vw, 112px) 0; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
/* Header nav uses a wider full-bleed container with smaller padding so the logo
   sits closer to the left edge and there is more horizontal room for nav items. */
.site-header > .container.nav,
.site-header .nav {
  max-width: none;
  padding-left: clamp(16px, 2vw, 32px);
  padding-right: clamp(16px, 2vw, 32px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 20px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; transition: transform .25s ease; }
.brand:hover img { transform: scale(1.02); }
.nav-links { white-space: nowrap; }
@media (max-width: 720px) {
  .nav { height: 80px; }
  .brand img { height: 50px; }
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all .2s ease;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.icon-btn svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
/* Visual separation for external nav items (BlackWolf Solutions is a separate entity) */
.nav-links li.nav-external {
  margin-left: 18px;
  padding-left: 22px;
  position: relative;
}
.nav-links li.nav-external::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: var(--line);
}
.nav-links li.nav-external a::after {
  content: "↗";
  font-size: 0.78em;
  margin-left: 6px;
  display: inline-block;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links li.nav-external a:hover::after { color: var(--accent); }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--ink);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink); color: #fff;
}
.btn-primary:hover { background: var(--accent); }
.btn-secondary {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink); padding-left: 0; padding-right: 0;
  border-bottom: 1px solid var(--ink); border-radius: 0;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(158,27,27,0.06), transparent 45%),
    linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%);
}
.hero::before {
  content: "BlackWolf";
  position: absolute;
  right: -1.5vw;
  bottom: -3.5vw;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(8rem, 18vw, 18rem);
  color: rgba(11,11,11,0.035);
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-vert {
  position: absolute;
  left: 36px;
  bottom: clamp(60px, 8vw, 100px);
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.hero-vert::after {
  content: "";
  width: 80px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
@media (max-width: 1100px) { .hero-vert { display: none; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
}
/* Line span: forces a single non-wrapping line in headlines.
   Used by hero h1 and any other headline that needs guaranteed line breaks. */
h1 .line, h2 .line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 720px) {
  /* Allow wrap on tiny viewports so long lines do not overflow */
  h1 .line, h2 .line { white-space: normal; }
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 350;
}
.hero-meta {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: clamp(28px, 3.2vw, 48px);
}
.hero-meta-item {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-meta-item:last-child { border-bottom: 0; }
.hero-meta-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .25s ease;
}
.hero-meta-item:hover::before { opacity: 1; }
.hero-meta-item h4 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 350;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.hero-meta-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* Marquee strip — clients/credibility */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--ink);
  color: #f5f1ea;
  overflow: hidden;
  position: relative;
}
.strip::before, .strip::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.strip::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  color: #f5f1ea;
}
.marquee span::after {
  content: "★";
  color: var(--accent-soft);
  font-size: 0.7em;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

/* Section heading */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
  position: relative;
}
.section-head h2 { margin: 12px 0 0; }
.section-head .lead { margin: 0; }
.section-head .index {
  position: absolute;
  top: -18px;
  right: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: rgba(158,27,27,0.12);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

/* Decorative section divider with monogram */
.divider-mark {
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.divider-mark::before, .divider-mark::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.divider-mark .mark {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
}

/* Services grid */
.services {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "Practice";
  position: absolute;
  top: -2vw; left: -1vw;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(7rem, 14vw, 14rem);
  color: rgba(11,11,11,0.025);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.services > .container { position: relative; z-index: 1; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #fff;
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column;
  min-height: 320px;
  position: relative;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card:nth-child(2),
.service-card:nth-child(3) {
  background: var(--paper-deep);
}
.service-card:hover {
  z-index: 2;
  box-shadow: 0 14px 40px -16px rgba(11,11,11,0.18);
}
.service-card:nth-child(1):hover,
.service-card:nth-child(4):hover { background: #fcfaf6; }
.service-card:nth-child(2):hover,
.service-card:nth-child(3):hover { background: #e3dccf; }
.service-card::before {
  content: attr(data-bignum);
  position: absolute;
  right: -8px;
  top: -28px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 11rem;
  color: rgba(158,27,27,0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
  line-height: 1;
}
.service-card > * { position: relative; z-index: 1; }
.service-card .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.service-card .num::after {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent);
}
.service-card h3 { margin-bottom: 8px; }
.service-card .sub {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.service-card p { font-size: 0.95rem; color: var(--ink-soft); }
.service-card .caps {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.service-card .more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink);
}
.service-card:hover .more { color: var(--accent); }

/* Approach (Issue / Initiative / Idea) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 56px);
}
.approach-card {
  background: #fff;
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease;
}
.approach-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.approach-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.approach-card .corner {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: rgba(158,27,27,0.18);
  font-weight: 350;
  line-height: 1;
}
.approach-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
}
.approach-card .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Why partner */
.why {
  background: var(--ink);
  color: #f5f1ea;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(158,27,27,0.18), transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(158,27,27,0.10), transparent 40%);
  pointer-events: none;
}
.why::after {
  content: "BWA";
  position: absolute;
  right: -1vw;
  top: 8%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(10rem, 22vw, 22rem);
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.04em;
  pointer-events: none;
  line-height: 1;
}
.why > .container { position: relative; z-index: 1; }
.why h2, .why h3 { color: #fff; }
.why .eyebrow { color: var(--accent-soft); }
.why .eyebrow::before { background: var(--accent-soft); }
.why .lead { color: #c8c2b8; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid #2a2a2a;
}
.why-item {
  padding: 36px 32px;
  border-right: 1px solid #2a2a2a;
}
.why-item:first-child { padding-left: 0; }
.why-item:last-child { border-right: 0; padding-right: 0; }
.why-item .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 18px;
  display: block;
}
.why-item h4 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 0.9rem;
  color: #c8c2b8;
  margin: 0;
  line-height: 1.55;
}

/* Insights teaser */
.insights {
  background: var(--bg);
}
.insights-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.insight-card {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .25s ease;
  background: #fff;
}
.insight-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.insight-card.feature {
  background: var(--paper);
  padding: clamp(28px, 3vw, 48px);
}
.insight-card .meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.insight-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
.insight-card.feature h3 { font-size: 2rem; }
.insight-card .excerpt { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }
.insight-card .read {
  margin-top: auto;
  font-size: 0.82rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}

/* CTA band */
.cta-band {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 18px,
      rgba(158,27,27,0.025) 18px,
      rgba(158,27,27,0.025) 19px
    );
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.cta-grid h2 { margin-bottom: 18px; }
.cta-grid .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c8c2b8;
  padding: clamp(56px, 7vw, 96px) 0 32px;
  font-size: 0.92rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid #2a2a2a;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-brand .wordmark {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 24px;
}
.footer-brand .wordmark img {
  height: 76px;
  width: auto;
}
.footer-brand p { color: #908a82; max-width: 360px; font-size: 0.9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: #6c6862;
}
.footer-bottom a { color: #908a82; }
.footer-bottom a:hover { color: var(--accent-soft); }
.footer-legal { display: flex; gap: 24px; }

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 160px; resize: vertical; }

/* Page header (inner pages) — top padding matches hero so gap is consistent across pages */
.page-header {
  padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { margin-bottom: 20px; }
.page-header h1 { margin-bottom: 24px; max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.page-header .lead { max-width: 60ch; }

/* Filter bar (Insights index) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter-chip .count {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
}
.filter-chip.is-active .count { color: var(--accent-soft); }

/* Articles grid (insights page) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card.feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  min-width: 0;
}
.article-card.feature .thumb {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  min-width: 0;
  overflow: hidden;
}
.article-card.feature .body { padding: clamp(28px, 3vw, 48px); min-width: 0; }
.article-card.feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.article-card.feature .excerpt {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}
.article-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 980px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.feature { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.feature { grid-column: span 1; }
}
.article-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .25s ease;
}
.article-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
  position: relative;
  overflow: hidden;
}
.article-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(158,27,27,0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(11,11,11,0.06), transparent 50%);
}
.article-card .thumb .glyph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: rgba(158,27,27,0.18);
  font-weight: 350;
}
.article-card .body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.article-card .meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; gap: 12px;
}
.article-card .meta .dot { color: var(--line); }
.article-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.article-card .read {
  margin-top: auto; padding-top: 16px;
  font-size: 0.82rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.article-card:hover .read { color: var(--accent); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card { padding: 24px 0; border-top: 1px solid var(--line); }
.team-card.lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.team-card.lead .avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--paper-deep), var(--paper));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  color: var(--accent);
  overflow: hidden;
}
.team-card.lead .avatar-photo,
.team-card.lead .avatar-photo picture { display: block; padding: 0; background: var(--paper-deep); }
.team-card.lead .avatar-photo img,
.team-card.lead .avatar-photo picture {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card.lead .avatar-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}
.team-card h3 { margin-bottom: 4px; font-size: 1.4rem; }
.team-card.lead h3 { font-size: 2rem; }
.team-card .role {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 16px;
}
.team-card p { color: var(--ink-soft); margin: 0; }

/* Stats banner */
.stats-banner {
  background: var(--paper);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item h4 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.stat-item h4 .accent { color: var(--accent); font-style: italic; }
.stat-item p { font-size: 0.85rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }

/* Two-col content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.two-col h2 { margin-bottom: 0; }

/* Solutions callout (Technology service detail) */
.solutions-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 8px 0 4px;
  padding: 16px 20px;
  background: #fff;
  border-left: 3px solid var(--accent);
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.solutions-callout-mark {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.solutions-callout a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.solutions-callout a:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* Service detail */
.service-section { padding: clamp(40px, 5vw, 64px) 0; }
.service-section.bg-white { background: #fff; }
.service-section.bg-deep  { background: var(--paper-deep); }

/* Tighten transitions on Services page */
body[data-page="services"] .page-header { padding-bottom: clamp(28px, 3vw, 44px); }
body[data-page="services"] section.tight {
  padding-top: clamp(24px, 2.6vw, 36px);
  padding-bottom: clamp(20px, 2vw, 32px);
}
body[data-page="services"] section.tight + .service-section { padding-top: clamp(28px, 3vw, 40px); }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
}
.service-detail .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-detail h2 { margin-bottom: 8px; }
.service-detail .sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
}
.service-detail .caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.service-detail .caps-grid div {
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex; gap: 12px; align-items: baseline;
}
.service-detail .caps-grid div::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.contact-info dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 28px;
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-info dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.3rem;
  color: var(--ink);
}
.contact-info dd a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .section-head, .two-col, .insights-grid,
  .why-grid, .services-grid, .approach-grid, .footer-grid, .form-row,
  .stats-banner-grid, .team-grid, .contact-grid, .cta-grid, .service-detail {
    grid-template-columns: 1fr;
  }
  .why-grid { gap: 0; }
  .why-item { border-right: 0; border-bottom: 1px solid #2a2a2a; padding: 28px 0; }
  .why-item:last-child { border-bottom: 0; }
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .team-card.lead { grid-template-columns: 1fr; gap: 24px; }
  .team-card.lead .avatar { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .stats-banner-grid { grid-template-columns: 1fr 1fr; }
}

/* Scroll reveal (subtle, no JS dep) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* Insight post pages */
.post-header {
  background: var(--paper);
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
}
.post-header .back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  transition: color .2s ease;
}
.post-header .back-link:hover { color: var(--accent); }
.post-header h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 12px 0 16px;
  max-width: 22ch;
}
.post-header .post-description {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--muted);
  line-height: 1.45;
  max-width: 64ch;
  margin: 8px 0 0;
}
.post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.post-meta .post-category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.post-meta .post-date,
.post-meta .post-read {
  position: relative;
  padding-left: 14px;
}
.post-meta .post-date::before,
.post-meta .post-read::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--line);
}
.post-meta > :first-child::before { display: none; }
.post-meta > :first-child { padding-left: 0; }

.post-hero {
  background: var(--paper);
  padding: 0 0 clamp(28px, 3vw, 56px);
  border-bottom: 1px solid var(--line);
}
.post-hero img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 2px;
}
.post-hero .container { padding-top: 0; }

.post-body {
  padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
}
.post-prose {
  max-width: 70ch;
  margin: 0 auto;
}
.post-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.post-prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  margin-top: 40px;
  margin-bottom: 10px;
}
.post-prose h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
}
.post-prose p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 1.1em;
}
.post-prose strong { color: var(--ink); font-weight: 600; }
.post-prose em { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }
.post-prose ul, .post-prose ol {
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.4em;
}
.post-prose ul li,
.post-prose ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.post-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.post-prose ol {
  counter-reset: ol-counter;
}
.post-prose ol li {
  counter-increment: ol-counter;
}
.post-prose ol li::before {
  content: counter(ol-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 350;
}
.post-prose blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}
.post-prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(158,27,27,0.32);
  transition: border-color .2s ease;
}
.post-prose a:hover { border-color: var(--accent); }
.post-prose img {
  display: block;
  width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 2px;
}
.post-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
}
.post-prose hr {
  margin: 56px auto;
  border: 0;
  height: 1px;
  background: var(--line);
  width: 80px;
}

.post-share {
  max-width: 70ch;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-share-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-share-label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-right: 6px;
}

.post-footer-cta {
  background: var(--paper-deep);
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.post-footer-cta h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 30ch;
  margin: 0 auto 16px;
  line-height: 1.2;
  text-wrap: balance;
}
.post-footer-cta .lead {
  max-width: 64ch;
  margin: 0 auto 32px;
  text-wrap: balance;
}
.post-footer-cta .actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .post-header h1 { font-size: 2rem; }
  .post-meta { gap: 8px; }
}

/* Resources / Whitepapers */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.resource-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  min-width: 0;
}
.resource-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -16px rgba(11,11,11,0.18);
}
.resource-card.feature {
  grid-column: span 2;
  grid-template-columns: 280px 1fr;
}
.resource-card.placeholder {
  background: var(--paper);
  cursor: default;
}
.resource-card.placeholder:hover {
  border-color: var(--line);
  transform: none;
  box-shadow: none;
}
.resource-thumb {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1a 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.resource-card.placeholder .resource-thumb {
  background: linear-gradient(135deg, var(--paper-deep) 0%, var(--paper) 100%);
}
/* Cover-image variant: real PDF cover renders inside the thumb. The radial-gradient
   decorations only apply when there's NO cover image. */
.resource-thumb:not(.has-cover)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(158,27,27,0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.04), transparent 50%);
}
.resource-card.placeholder .resource-thumb::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(158,27,27,0.10), transparent 55%);
}
.resource-thumb.has-cover {
  background: var(--paper);
  min-height: 240px;
}
.resource-thumb.has-cover img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}
.resource-thumb.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.45) 0%, rgba(11,11,11,0) 28%, rgba(11,11,11,0) 60%, rgba(11,11,11,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.resource-card:hover .resource-thumb.has-cover img { transform: scale(1.04); }
.resource-thumb.has-cover .resource-format {
  background: rgba(11,11,11,0.6);
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  z-index: 2;
}
.resource-format {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
}
.resource-card.placeholder .resource-format {
  color: var(--accent);
}
.resource-mark {
  position: relative;
  z-index: 1;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.resource-card.placeholder .resource-mark {
  background: rgba(158,27,27,0.06);
  border-color: rgba(158,27,27,0.18);
}
.resource-glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 3rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
}
.resource-card.placeholder .resource-glyph { color: var(--accent); }
.resource-body {
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  min-width: 0;
}
.resource-body .meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.resource-body .meta .dot { color: var(--line); margin: 0 6px; }
.resource-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.resource-card.feature h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.resource-body .excerpt {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.resource-body .read {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.resource-card:hover .read { color: var(--accent); }
.resource-card.placeholder .read { color: var(--muted); }

/* Whitepaper hero — title + cover side-by-side */
.resource-hero .resource-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.resource-hero-text { min-width: 0; }
.resource-hero-text .lead { max-width: 60ch; }
.resource-hero-cover {
  display: flex;
  justify-content: center;
  align-items: center;
}
.resource-hero-cover img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(11,11,11,0.18));
  transition: transform .4s ease;
}
.resource-hero-cover img:hover { transform: translateY(-4px); }
@media (max-width: 900px) {
  .resource-hero .resource-hero-grid { grid-template-columns: 1fr; }
  .resource-hero-cover { order: -1; }
  .resource-hero-cover img { max-height: 320px; }
}

/* Whitepaper landing page (gated form) */
.resource-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.resource-detail h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  margin-top: 32px;
  margin-bottom: 12px;
}
.resource-detail h2:first-child { margin-top: 0; }
.resource-detail p { color: var(--ink-soft); line-height: 1.7; }
.resource-toc {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.resource-toc li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.resource-toc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.resource-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  position: sticky;
  top: 116px;
}
.resource-form-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 12px 0 4px;
}
.resource-form-card .eyebrow { display: inline-flex; }
@media (max-width: 980px) {
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card.feature { grid-column: span 1; }
  .resource-card,
  .resource-card.feature { grid-template-columns: 1fr; }
  .resource-thumb { min-height: 180px; }
  .resource-detail-grid { grid-template-columns: 1fr; }
  .resource-form-card { position: static; }
}

/* Technology partners grid (About page) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 56px);
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  min-height: 160px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.partner-logo:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -16px rgba(11,11,11,0.18);
}
.partner-logo img {
  height: 56px;
  width: auto;
  max-width: 100%;
  filter: grayscale(100%) opacity(.85);
  transition: filter .25s ease;
}
.partner-logo:hover img { filter: grayscale(0%) opacity(1); }
@media (max-width: 720px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* Long-form prose (Privacy / Terms) */
.prose {
  max-width: 72ch;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-top: 48px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h2 .num {
  font-style: italic;
  color: var(--accent);
  margin-right: 14px;
  font-weight: 350;
}
.prose p, .prose li {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.prose ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 16px;
}
.prose ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}
.prose .effective {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.prose .contact-block {
  margin-top: 32px;
  padding: 24px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
}
.prose .contact-block p { margin: 0 0 4px; }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.italic { font-style: italic; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
