/* ============================================================
   Pearl — Risk Management, Insurance Review & Mitigation
   A calm, layered, editorial system. Fraunces (display) over
   Inter (text); a watercolor palette pulled straight from the
   hero so chrome and imagery share one world.
   ============================================================ */

:root {
  --ink: #12161b;
  --ink-soft: #2a3038;
  --muted: #555c66;
  --faint-text: #828a93;
  --line: #e5e8e4;
  --line-strong: #d2d7d1;
  --paper: #f2f5f0;
  --paper-deep: #ebeee9;
  --card: #ffffff;
  --blue: #135fba;
  --blue-deep: #0c4488;
  --aqua: #38c9e8;
  --button: #f4ff25;

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 4px 16px rgba(18, 22, 27, .05);
  --shadow: 0 16px 40px rgba(18, 22, 27, .08);
  --shadow-lg: 0 34px 80px rgba(11, 32, 60, .18);
  --glow-blue: 0 18px 50px rgba(19, 95, 186, .26);

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  /* one rhythm to rule them all */
  --section: clamp(64px, 7vw, 108px);
  --head-gap: clamp(34px, 4.4vw, 56px);
  --block: clamp(28px, 3.4vw, 44px);

  --radius: 16px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--card);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.74;
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

em {
  font-style: italic;
}

/* ── Display type ────────────────────────────────────────── */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -.018em;
  line-height: 1.04;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 {
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.0;
  letter-spacing: -.022em;
}

h2 {
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.band--ink h1,
.band--ink h2,
.band--ink h3 {
  color: #fff;
}

/* ── Layout primitives ───────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell-narrow {
  max-width: 880px;
}

.band {
  position: relative;
  padding-block: var(--section);
}

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

.band--paper-deep {
  background: var(--paper-deep);
}

.band--ink {
  background:
    radial-gradient(120% 140% at 78% 0%, rgba(19, 95, 186, .26), transparent 52%),
    radial-gradient(90% 120% at 12% 100%, rgba(56, 201, 232, .12), transparent 50%),
    var(--ink);
  color: #fff;
}

.band--seam::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

/* ── Scroll progress + reveal (progressive enhancement) ──── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  box-shadow: 0 0 14px rgba(56, 201, 232, .6);
  transition: width .08s linear;
  pointer-events: none;
}

html.reveal-on .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

html.reveal-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.reveal-on .stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

html.reveal-on .stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

html.reveal-on .stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
html.reveal-on .stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
html.reveal-on .stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
html.reveal-on .stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
html.reveal-on .stagger.is-visible > *:nth-child(6) { transition-delay: .30s; }
html.reveal-on .stagger.is-visible > *:nth-child(7) { transition-delay: .36s; }
html.reveal-on .stagger.is-visible > *:nth-child(8) { transition-delay: .42s; }

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header > .shell {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: "Poppins", var(--sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  opacity: .78;
  padding-block: 7px;
  transition: opacity .2s, color .2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  transition: width .28s cubic-bezier(.2, .7, .2, 1);
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  opacity: 1;
  color: var(--blue);
}

.top-cta {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.top-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: var(--glow-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(19, 95, 186, .4);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Shared label / heading bits ─────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--sans);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}

.eyebrow.centered {
  justify-content: center;
}

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

.lead {
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.66;
  color: var(--ink-soft);
}

.centered {
  text-align: center;
}

.rule {
  width: 58px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  margin: 0 0 26px;
}

.centered-rule {
  margin-inline: auto;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-inline: auto;
}

.dual-head {
  font-size: clamp(24px, 2.5vw, 34px);
  margin-bottom: 18px;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(34px, 4vw, 60px);
}

.hero-image {
  position: relative;
  height: clamp(300px, 42vw, 560px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: url("assets/hero-pearl-water-base.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-pearl-water-blue.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity .9s ease;
}

.hero-image:hover::after,
.hero:focus-within .hero-image::after {
  opacity: 1;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 16, 26, .28));
}

.hero-copy {
  max-width: 960px;
  padding: clamp(30px, 4vw, 52px) 0 0;
}

.hero-copy h1 {
  margin-bottom: 24px;
}

.hero-copy .lead {
  max-width: 780px;
}

.hero-copy .lead + .lead {
  margin-top: 16px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--faint-text);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s, color .2s;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .25), transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--button);
  color: #1d211f;
}

.btn-yellow:hover {
  background: #e8f120;
  color: #1d211f;
}

/* ── Focus strip ─────────────────────────────────────────── */

.focus-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 66px);
}

.focus-strip div {
  position: relative;
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.focus-strip div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.focus-strip div:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 95, 186, .28);
  box-shadow: var(--shadow);
}

.focus-strip div:hover::before {
  transform: scaleX(1);
}

.focus-strip .focus-index {
  display: block;
  margin-bottom: 16px;
  font-family: var(--display);
  color: var(--blue);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.focus-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: -.01em;
}

.focus-strip span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

/* ── Split (text + media) ────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.split.reverse {
  grid-template-columns: .96fr 1.04fr;
}

.split .copy {
  max-width: 600px;
}

.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #cdd9e6;
}

.media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.media:hover img {
  transform: scale(1.04);
}

.media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 13px 17px;
  border-radius: 13px;
  background: rgba(12, 20, 32, .52);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: 12.5px;
  line-height: 1.5;
}

.media figcaption strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--aqua);
}

/* ── About layers ────────────────────────────────────────── */

.about-layers {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.about-layers li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  background: var(--card);
  font-size: 14px;
  color: var(--muted);
  transition: background .2s;
}

.about-layers li:hover {
  background: #fbfcfb;
}

.about-layers .layer-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ── What Pearl Does ─────────────────────────────────────── */

.wpd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 84px);
}

.wpd-conclusion {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
  border-left: 3px solid var(--blue);
  background: var(--card);
  padding: 18px 22px;
  margin-top: 24px;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
}

.question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.question-list li:first-child {
  border-top: 1px solid var(--line);
}

.question-list .q-num {
  font-family: var(--display);
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
}

/* ── Stat strip ──────────────────────────────────────────── */

.stat-intro {
  max-width: 640px;
  margin-bottom: var(--block);
}

.stat-intro p {
  color: rgba(255, 255, 255, .72);
}

.stat-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 26px;
  background: rgba(18, 22, 27, .72);
  transition: background .25s;
}

.stat-card:hover {
  background: rgba(24, 32, 44, .9);
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .92;
  background: linear-gradient(120deg, #fff 30%, var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── Risk list + pull-quote ──────────────────────────────── */

.risk-list {
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 22px;
}

.risk-list li {
  position: relative;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
}

.risk-principle {
  margin: 28px 0;
  border-left: 3px solid var(--blue);
  background: var(--card);
  color: var(--ink-soft);
  padding: 22px 24px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow-sm);
}

/* ── Pearl Risk Model ────────────────────────────────────── */

.risk-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.risk-step {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}

.risk-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  box-shadow: var(--glow-blue);
}

.risk-step h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.risk-step p {
  font-size: 14px;
  line-height: 1.62;
}

/* ── Process intro ───────────────────────────────────────── */

.process-intro {
  max-width: 660px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 16.5px;
  line-height: 1.7;
}

/* ── NACRE summary grid ──────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: var(--block);
}

.process-grid article {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 28px 22px;
  transition: transform .25s, box-shadow .25s;
}

.process-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
}

.process-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.1;
}

.process-grid p {
  font-size: 13.5px;
  line-height: 1.62;
}

/* ── NACRE detail (details/summary) ──────────────────────── */

.nacre-detail {
  margin: 0 0 var(--block);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.nacre-step {
  border-bottom: 1px solid var(--line);
}

.nacre-step:last-child {
  border-bottom: 0;
}

.nacre-step-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  background: var(--card);
  transition: background .2s;
}

.nacre-step-head:hover {
  background: var(--paper);
}

.nacre-step-head::-webkit-details-marker {
  display: none;
}

.nacre-step[open] .nacre-step-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nacre-letter {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  box-shadow: var(--glow-blue);
}

.nacre-step-head > div {
  flex: 1;
}

.nacre-step-head h3 {
  margin-bottom: 3px;
  font-size: 20px;
}

.nacre-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.nacre-toggle {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  color: var(--blue);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.nacre-step[open] .nacre-toggle {
  transform: rotate(135deg);
}

.nacre-step-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 26px 28px 30px 92px;
  background: var(--paper);
}

.nacre-label {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}

.nacre-step-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.nacre-step-body ul li::marker {
  color: var(--aqua);
}

/* ── Method chips ────────────────────────────────────────── */

.method-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.method-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, transform .2s;
}

.method-strip span:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ── Services accordion ──────────────────────────────────── */

.services-intro {
  max-width: 700px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}

.accordion {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.service {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}

.service.open {
  border-color: rgba(19, 95, 186, .3);
  box-shadow: var(--shadow);
}

.service-head {
  appearance: none;
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 540;
  letter-spacing: -.015em;
  padding: 18px 24px;
  text-align: left;
}

.service-head .service-no {
  flex-shrink: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  min-width: 36px;
}

.service-head > span:nth-child(2) {
  flex: 1;
}

.mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1;
  font-weight: 400;
  transition: background .25s, color .25s;
}

.service.open .mark {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
}

.service-body {
  display: none;
  padding: 2px 26px 30px 76px;
}

.service.open .service-body {
  display: block;
}

.service-body > p {
  font-size: 14.5px;
}

.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}

.service-cols ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.service-cols ul li::marker {
  color: var(--aqua);
}

.service-figure {
  margin: 26px 0 0;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.service-figure img {
  width: 100%;
  display: block;
}

.service-figure figcaption {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Inline framework links ──────────────────────────────── */

.nacre-step-body a[href="#frameworks"],
.service-body a[href="#frameworks"] {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(19, 95, 186, .32);
  text-underline-offset: 2px;
  transition: text-decoration-color .2s;
}

.nacre-step-body a[href="#frameworks"]:hover,
.service-body a[href="#frameworks"]:hover {
  text-decoration-color: var(--blue);
}

/* ── Pearl Network ───────────────────────────────────────── */

.network-top {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
  margin-bottom: var(--block);
}

.network-top .copy {
  max-width: 580px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.network-grid article {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.network-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 95, 186, .28);
  box-shadow: var(--shadow);
}

.network-grid h3 {
  margin: 0 0 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.12;
}

.network-grid p {
  font-size: 13.5px;
  line-height: 1.62;
  margin: 0;
}

/* ── Reference Frameworks ────────────────────────────────── */

.frameworks-inner {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.frameworks-aside h2 {
  margin-bottom: 18px;
}

.framework-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.framework-list li {
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  gap: 8px 22px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.framework-list li:first-child {
  border-top: 1px solid var(--line);
}

.framework-list .fw-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
}

.frameworks-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: 24px;
}

/* ── Section CTA ─────────────────────────────────────────── */

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: var(--block);
  padding: 32px 38px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.section-cta > p,
.section-cta-inner > p {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  max-width: 580px;
}

.section-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.section-cta-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.section-cta-dark {
  background:
    radial-gradient(120% 200% at 90% 10%, rgba(19, 95, 186, .4), transparent 55%),
    linear-gradient(120deg, var(--ink), #1b2736);
  border-color: transparent;
}

.section-cta-dark > p {
  color: #fff;
}

/* ── Citations ───────────────────────────────────────────── */

.cite {
  display: inline;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  vertical-align: super;
  margin-left: 1px;
  opacity: .7;
  line-height: 1;
}

.cite:hover {
  opacity: 1;
}

.stat-label .cite {
  color: rgba(56, 201, 232, .7);
}

.stat-label .cite:hover {
  color: var(--aqua);
}

.citations {
  margin-top: var(--block);
  padding-top: clamp(28px, 3vw, 42px);
  border-top: 1px solid var(--line-strong);
}

.citations-heading {
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint-text);
}

.citations-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  max-width: 780px;
}

.citations-list em {
  font-style: italic;
}

/* ── Contact ─────────────────────────────────────────────── */

.contact {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 104px) 0;
  background:
    linear-gradient(108deg, rgba(10, 17, 27, .9) 0%, rgba(10, 17, 27, .66) 50%, rgba(10, 17, 27, .4) 100%),
    radial-gradient(80% 120% at 80% 20%, rgba(19, 95, 186, .35), transparent 55%),
    url("assets/team-meeting.png") center 32% / cover no-repeat;
}

.contact-inner {
  width: min(580px, 100%);
}

.contact-heading {
  color: #fff;
  margin-bottom: 16px;
}

.contact-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 16.5px;
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  position: relative;
  display: block;
}

.contact-form span {
  position: absolute;
  left: 16px;
  top: 14px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
  padding: 30px 16px 12px;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(56, 201, 232, .14);
}

.contact-form input {
  height: 58px;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form button {
  height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--button);
  color: #1d211f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.contact-form button:hover {
  background: #e8f120;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(244, 255, 37, .26);
}

.contact-aside {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.contact-aside a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  background: url("assets/footer-bg.svg") center bottom / cover no-repeat, var(--ink);
  padding: 50px 0 42px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .brand,
.site-footer .footer-meta,
.site-footer .footer-meta a {
  color: rgba(255, 255, 255, .92);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1040px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .network-grid,
  .risk-model-grid,
  .focus-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .site-header > .shell {
    height: auto;
    grid-template-columns: 1fr auto;
    padding-block: 14px;
    gap: 12px;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .split,
  .split.reverse,
  .wpd-inner,
  .network-top,
  .frameworks-inner,
  .nacre-step-body,
  .service-cols,
  .contact-grid-2 {
    grid-template-columns: 1fr;
  }

  .split.reverse .media {
    order: -1;
  }

  .media img {
    aspect-ratio: 16 / 11;
  }

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

  .stat-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-cta,
  .section-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nacre-step-body {
    padding: 24px 24px 26px;
  }

  .service-body {
    padding-left: 24px;
  }

  .framework-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .focus-strip,
  .risk-list,
  .network-grid,
  .risk-model-grid,
  .process-grid,
  .stat-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .section-cta-btns,
  .section-cta-btns .btn-primary,
  .section-cta-btns .btn-secondary {
    width: 100%;
  }

  .section-cta-btns {
    flex-direction: column;
  }

  .nav {
    gap: 11px 14px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .footer-meta {
    flex-direction: column;
    gap: 12px;
  }

  .media figcaption {
    position: static;
    border-radius: 0;
    background: var(--ink);
    backdrop-filter: none;
  }

  .about-layers li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
