:root {
  --ink: #0b1f2a;
  --ink-soft: #3d5764;
  --ink-faint: #6d8893;
  --paper: #f6fafc;
  --paper-raised: #ffffff;
  --line: #dbe7ec;
  --accent: #13aff4;
  --accent-bright: #43bff4;
  --accent-wash: #e6f6fd;
  --gold: #00587a;
  --radius: 14px;
  --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0; z-index: 100; font-size: 0.9rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-mark {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem;
}
.logo-mark span { color: var(--accent); }
.logo-tag {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-faint); font-weight: 600; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.15s, transform 0.15s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--paper-raised); border-color: var(--ink-faint); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: #eaf6fc; color: var(--accent); }

/* Mobile nav */
.nav-toggle {
  display: none; background: transparent; border: 1.5px solid var(--line);
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--ink-faint); }
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel {
  display: none; border-top: 1px solid var(--line);
  background: var(--paper-raised);
}
.mobile-panel.open { display: block; }
.mobile-panel nav { display: flex; flex-direction: column; padding: 12px 0 20px; }
.mobile-panel nav a {
  padding: 13px 0; font-size: 1rem; font-weight: 500; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.mobile-panel nav a:last-of-type { border-bottom: none; }
.mobile-panel nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.mobile-panel .btn { margin-top: 16px; justify-content: center; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .logo-tag { display: none; }
}
@media (min-width: 861px) { .mobile-panel { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 75%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent);
  background: var(--accent-wash); border: 1px solid #c7e9f9;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 780px; margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic; font-weight: 500; color: var(--accent);
}
.hero p.lede {
  font-size: 1.15rem; color: var(--ink-soft); max-width: 660px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sub-page hero */
.page-hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 780px; margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.page-hero p.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; }
.crumbs { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; opacity: 0.6; }

/* ---------- Stat bar ---------- */
.stats {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 36px 0;
}
.stat { padding: 0 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: 'Fraunces', serif; font-size: 2.1rem; font-weight: 600;
  color: var(--ink);
}
.stat .num span { color: var(--accent); }
.stat .label { font-size: 0.88rem; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 720px) {
  .stats-inner { grid-template-columns: 1fr; gap: 20px; }
  .stat { border-left: none; padding: 0; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.kicker {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Problem ---------- */
.problem { background: var(--ink); color: #eef5f8; }
.problem .kicker { color: #7bd3f8; }
.problem .section-head p { color: #a9bcc4; }
.problem-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.problem-card {
  border: 1px solid #1c3540; border-radius: var(--radius);
  padding: 28px; background: #10222c;
}
.problem-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #fff; }
.problem-card p { font-size: 0.95rem; color: #9fb3bd; }
.problem-card .n {
  font-family: 'Fraunces', serif; color: #7bd3f8; font-size: 0.9rem;
  margin-bottom: 14px; display: block;
}
@media (max-width: 860px) { .problem-cols { grid-template-columns: 1fr; } }

/* ---------- Practices ---------- */
.practice {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
}
.practice:last-of-type { border-bottom: 1px solid var(--line); }
.practice-head { position: sticky; top: 100px; align-self: start; }
.practice-head .p-num {
  font-family: 'Fraunces', serif; font-size: 0.85rem; color: var(--accent);
  letter-spacing: 0.08em; display: block; margin-bottom: 10px;
}
.practice-head h3 { font-size: 1.4rem; margin-bottom: 12px; }
.practice-head p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 16px; }
.practice-link {
  font-size: 0.88rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.practice-link:hover { color: var(--gold); }
.practice-link::after { content: "→"; transition: transform 0.15s; }
.practice-link:hover::after { transform: translateX(3px); }
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.role-card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 31, 42, 0.08);
}
.role-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-wash); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1rem;
}
.role-card h3, .role-card h4 {
  font-size: 1.03rem; font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px;
}
.role-card p { font-size: 0.91rem; color: var(--ink-soft); }
@media (max-width: 980px) {
  .practice { grid-template-columns: 1fr; gap: 28px; }
  .practice-head { position: static; }
}
@media (max-width: 600px) { .roles-grid { grid-template-columns: 1fr; } }

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: var(--paper-raised);
}
.aud-card .aud-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px;
}
.aud-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.aud-card p { font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step .step-num {
  font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 500;
  line-height: 1;
  -webkit-text-stroke: 1px var(--ink-faint);
  color: transparent; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Engagement models ---------- */
.eng-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.eng-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; background: var(--paper-raised);
  display: flex; flex-direction: column; gap: 10px;
}
.eng-card .eng-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent);
}
.eng-card h3 { font-size: 1.15rem; }
.eng-card p { font-size: 0.93rem; color: var(--ink-soft); }
.eng-card .eng-fit {
  font-size: 0.85rem; color: var(--ink-faint); margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .eng-grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.why-list { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.why-item:last-child { border-bottom: none; }
.check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.why-item h3 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 0.93rem; color: var(--ink-soft); }
.pull-quote {
  background: var(--ink); color: #eef5f8; border-radius: var(--radius);
  padding: 40px; position: sticky; top: 100px;
}
.pull-quote .serif {
  font-size: 1.45rem; font-weight: 500; line-height: 1.4; margin-bottom: 24px;
}
.pull-quote .serif em { color: #7bd3f8; font-style: italic; }
.pull-quote .attribution { font-size: 0.88rem; color: #9fb3bd; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .pull-quote { position: static; } }

/* ---------- Prose (list blocks on sub-pages) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.tick-list { display: flex; flex-direction: column; gap: 18px; }
.tick-list li { display: flex; gap: 14px; list-style: none; }
.tick-list .check { width: 22px; height: 22px; font-size: 0.72rem; }
.tick-list p { font-size: 0.95rem; color: var(--ink-soft); }
.tick-list strong { color: var(--ink); font-weight: 600; }
.side-card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.side-card p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 14px; }
.side-card p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */
.form-band { background: var(--paper-raised); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.form-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 16px; }
.form-intro p { color: var(--ink-soft); margin-bottom: 24px; }
.form-alt {
  font-size: 0.9rem; color: var(--ink-faint); padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-alt a { color: var(--accent); font-weight: 600; }
.form-alt a:hover { color: var(--gold); }
form.inquiry { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.field .opt { color: var(--ink-faint); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236d8893' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta-band { padding: 100px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--accent) 0%, #002530 100%);
  border-radius: 20px; padding: 72px 56px; color: #fff;
  text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-card p { color: #cde9f5; max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.cta-sub { margin-top: 20px; font-size: 0.85rem; color: #a9d3e8; }
.cta-sub a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .cta-card { padding: 56px 24px; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 48px 0 32px;
  background: var(--paper-raised);
}
.foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.foot-brand .small { font-size: 0.88rem; color: var(--ink-faint); max-width: 300px; }
.foot-col .foot-h {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink); margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.foot-col nav { display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 0.88rem; color: var(--ink-faint); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 24px;
}
.foot-bottom .small { font-size: 0.82rem; color: var(--ink-faint); }
@media (max-width: 720px) { .foot-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
