:root {
  --ink: #313b66;
  --ink-2: #252e54;
  --ink-3: #46527d;
  --sand: #e2dddc;
  --sand-2: #f1eeee;
  --ivory: #f8f6f5;
  --paper: #fffdfc;
  --line: rgba(49, 59, 102, 0.16);
  --muted: #656c7f;
  --blue: #56638f;
  --gold: #8f7b75;
  --shadow: 0 24px 70px rgba(49, 59, 102, 0.17);
  --radius: 22px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--sand);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 253, 252, 0.86);
  border-bottom: 1px solid rgba(49, 59, 102, 0.08);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.home .site-header:not(.is-scrolled) .brand,
.home .site-header:not(.is-scrolled) .menu-button {
  color: var(--paper);
}

.home .site-header:not(.is-scrolled) .nav-links a {
  color: var(--ink);
}

.home .site-header:not(.is-scrolled) .nav-cta {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 252, 0.92);
  border-bottom: 1px solid rgba(49, 59, 102, 0.11);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
  margin-left: auto;
}

.home .site-header:not(.is-scrolled) .nav-links {
  gap: clamp(14px, 2vw, 26px);
  padding: 11px 18px;
  background: rgba(255, 253, 252, 0.72);
  border: 1px solid rgba(255, 253, 252, 0.48);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.nav-links a {
  position: relative;
  color: rgba(49, 59, 102, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(49, 59, 102, 0.28);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--ink-3);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 59, 102, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button {
  flex-direction: column;
  gap: 5px;
}

.menu-open .menu-button span {
  opacity: 0;
}

.menu-open .menu-button::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-button::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 136px) 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 126px 0 0;
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 9% -18vw auto auto;
  width: min(760px, 66vw);
  height: 82%;
  background: var(--sand);
  border-radius: 999px 0 0 999px;
  transform: translate3d(calc(var(--scene-progress, 0) * -80px), calc(var(--scene-progress, 0) * 18px), 0) scale(calc(1 + (var(--scene-progress, 0) * 0.035)));
  transform-origin: center;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 2% -14vw auto auto;
  width: min(740px, 62vw);
  height: 94%;
  border: 1px solid rgba(255, 253, 252, 0.26);
  border-radius: 999px 0 0 999px;
  transform: translate3d(calc(var(--scene-progress, 0) * -36px), 0, 0);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 126px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
  padding-bottom: clamp(44px, 7vw, 72px);
  transform: translate3d(0, calc(var(--scene-progress, 0) * -34px), 0);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.6rem, 8.4vw, 7.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  color: var(--paper);
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
}

.page-hero h1 {
  color: var(--ink);
}

.hero h1 span {
  display: block;
  transform: translate3d(calc(var(--scene-progress, 0) * -24px), 0, 0);
}

.hero h1 span:nth-child(2) {
  transform: translate3d(calc(var(--scene-progress, 0) * 24px), 0, 0);
}

.hero h1 span:nth-child(3) {
  transform: translate3d(calc(var(--scene-progress, 0) * -10px), 0, 0);
}

.hero-copy {
  display: grid;
  gap: 30px;
}

.hero .hero-copy.reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 253, 252, 0.76);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  min-height: 540px;
  isolation: isolate;
}

.ledger-card,
.insight-card,
.document-card {
  position: absolute;
  border: 1px solid rgba(255, 253, 252, 0.34);
  background: rgba(255, 253, 252, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  will-change: transform, opacity;
}

.ledger-card {
  top: 20px;
  right: 0;
  width: min(100%, 430px);
  padding: 28px;
}

.ledger-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(49, 59, 102, 0.1);
  border-radius: 16px;
  pointer-events: none;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.ledger-grid span {
  height: 34px;
  border: 1px solid rgba(49, 59, 102, 0.12);
  border-radius: 999px;
  background: rgba(226, 221, 220, 0.52);
}

.ledger-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.ledger-title small {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card {
  left: 0;
  bottom: 74px;
  width: 320px;
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
}

.insight-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--sand);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.9;
}

.insight-card p {
  margin: 0;
  color: rgba(255, 253, 252, 0.74);
}

.document-card {
  right: 74px;
  bottom: 0;
  width: 250px;
  height: 300px;
  padding: 24px;
  overflow: hidden;
}

.document-lines {
  display: grid;
  gap: 12px;
}

.document-lines span {
  height: 2px;
  background: rgba(49, 59, 102, 0.18);
}

.document-lines span:nth-child(2n) {
  width: 70%;
}

.orbital-line {
  position: absolute;
  inset: 16px 8px auto auto;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(49, 59, 102, 0.18);
  border-radius: 50%;
  z-index: -1;
}

.next-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
}

.service-preview {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 12px;
  background: transparent;
}

.preview-title,
.preview-item {
  min-height: 146px;
  padding: 24px;
  background: var(--ink);
  border: 1px solid rgba(255, 253, 252, 0.16);
  border-radius: 20px;
}

.preview-title {
  display: flex;
  align-items: flex-end;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.preview-item {
  display: grid;
  align-content: space-between;
  gap: 30px;
}

.preview-item span {
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preview-item strong {
  font-size: 1rem;
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: start;
}

.section-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #606779;
  font-size: 1.12rem;
}

.rule-list {
  display: grid;
  gap: 10px;
}

.rule-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 252, 0.5);
}

.rule-number {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rule-item h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.rule-item p {
  margin: 0;
  color: var(--muted);
}

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

.dark-band .section-title,
.dark-band h2,
.dark-band h3 {
  color: var(--paper);
}

.dark-band .section-lead,
.dark-band p {
  color: rgba(255, 253, 252, 0.72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 58px;
  background: transparent;
  border: 0;
}

.service-card {
  min-height: 340px;
  padding: 32px;
  background: var(--ink);
  border: 1px solid rgba(255, 253, 252, 0.16);
  border-radius: 28px;
  display: grid;
  align-content: space-between;
  gap: 34px;
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: var(--ink-2);
  transform: translateY(-4px);
}

.service-card span {
  color: var(--sand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  line-height: 1.05;
}

.service-card p {
  margin: 18px 0 0;
}

.service-link {
  color: var(--sand);
  font-weight: 800;
}

.proof-band {
  background: var(--sand-2);
  overflow: hidden;
}

.proof-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, rgba(226, 221, 220, 0.8), rgba(226, 221, 220, 0));
  transform: translate3d(calc((1 - var(--scene-center, 0)) * -90px), 0, 0);
  pointer-events: none;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent;
  margin-top: 54px;
}

.proof {
  min-height: 210px;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid rgba(49, 59, 102, 0.11);
  border-radius: 26px;
}

.proof strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.proof span {
  display: block;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 100px);
  align-items: end;
}

.article-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 18px -12vw 18px 20%;
  background: rgba(226, 221, 220, 0.34);
  border-radius: 999px 0 0 999px;
  opacity: calc(var(--scene-center, 0) * 0.8);
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 34px), 0, 0);
  pointer-events: none;
}

.article-card > * {
  position: relative;
  z-index: 1;
}

.article-card time {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 16px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3.5rem);
  line-height: 1.04;
}

.article-card p {
  color: var(--muted);
}

.resource-index {
  background:
    radial-gradient(ellipse at 100% 55%, var(--sand-2) 0%, var(--sand-2) 34%, transparent 34.5%),
    var(--paper);
  overflow: hidden;
}

.resource-index::before {
  content: "";
  position: absolute;
  right: -18vw;
  top: 14%;
  width: min(760px, 74vw);
  height: min(760px, 74vw);
  border: 1px solid rgba(49, 59, 102, 0.1);
  border-radius: 50%;
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 90px), 0, 0) scale(calc(0.92 + (var(--scene-center, 0) * 0.08)));
  pointer-events: none;
}

.resource-heading {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-bottom: 58px;
}

.resources-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.resource-card {
  position: relative;
  min-height: 0;
  padding: clamp(26px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  display: grid;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  transition: transform 260ms ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  left: min(18vw, 220px);
  right: -8vw;
  top: 18px;
  bottom: 18px;
  background: rgba(226, 221, 220, 0.42);
  border-radius: 999px 0 0 999px;
  opacity: 0;
  transform: scaleX(0.94);
  transform-origin: left;
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.resource-card:hover {
  transform: translateX(8px);
}

.resource-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.resource-card > * {
  position: relative;
  z-index: 1;
}

.resource-card time,
.article-meta {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
}

.resource-card .service-link {
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid rgba(49, 59, 102, 0.28);
}

.resource-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.resource-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 13px;
}

.resource-pagination .current,
.resource-pagination a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.resource-fallback {
  max-width: 760px;
}

.article-hero .text-link {
  margin: 0 0 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.cta-band {
  background:
    radial-gradient(ellipse at 90% 38%, rgba(226, 221, 220, 0.52), transparent 32%),
    linear-gradient(90deg, rgba(49, 59, 102, 0.96), rgba(70, 82, 125, 0.8)),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 14% -18% auto auto;
  width: min(520px, 54vw);
  height: min(520px, 54vw);
  border: 1px solid rgba(255, 253, 252, 0.2);
  border-radius: 50%;
  transform: scale(calc(0.82 + (var(--scene-center, 0) * 0.18))) translate3d(calc(var(--scene-center, 0) * -70px), 0, 0);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
}

.cta-inner h2 {
  max-width: 850px;
  margin: 0;
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.cta-inner p {
  max-width: 610px;
  color: rgba(255, 253, 252, 0.72);
}

.site-footer {
  background: var(--ink-2);
  color: rgba(255, 253, 252, 0.72);
  padding: 54px 0;
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--paper);
}

.footer-grid a:hover {
  color: var(--sand);
}

.page-hero {
  position: relative;
  padding: 156px 0 84px;
  background:
    radial-gradient(ellipse at 100% 20%, rgba(226, 221, 220, 0.94) 0%, rgba(226, 221, 220, 0.94) 34%, transparent 34.5%),
    linear-gradient(180deg, rgba(255, 253, 252, 0.92), rgba(255, 253, 252, 0.78)),
    var(--sand);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -16vw;
  top: -28%;
  width: min(620px, 68vw);
  height: min(620px, 68vw);
  border: 1px solid rgba(49, 59, 102, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

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

.page-hero p {
  max-width: 760px;
  color: #606779;
  font-size: 1.18rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 90px);
}

.content-block h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 34px;
}

.service-detail {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 252, 0.58);
}

.service-detail h2 {
  margin-bottom: 12px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
}

.contact-details,
.contact-form {
  background: var(--paper);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 46px);
}

.contact-details dl {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
}

.contact-details dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 4px 0 0;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(49, 59, 102, 0.18);
  background: var(--ivory);
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 16px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.article-body {
  max-width: 840px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 52px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.article-body p,
.article-body li {
  color: #606779;
  font-size: 1.06rem;
}

.reveal {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(42px) scale(0.985);
  transition: opacity 920ms cubic-bezier(0.16, 1, 0.3, 1), transform 920ms cubic-bezier(0.16, 1, 0.3, 1), filter 920ms ease;
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

[data-float] {
  will-change: transform;
  animation: slow-drift 7s ease-in-out infinite alternate;
  transform: translate3d(0, var(--float-y, 0), 0);
}

.ledger-card {
  animation-delay: 250ms;
}

.insight-card {
  animation-delay: 700ms;
}

.document-card {
  animation-delay: 450ms;
}

.service-card.reveal:nth-child(2),
.proof.reveal:nth-child(2) {
  transition-delay: 110ms;
}

.service-card.reveal:nth-child(3),
.proof.reveal:nth-child(3) {
  transition-delay: 220ms;
}

.proof.reveal:nth-child(4) {
  transition-delay: 330ms;
}

@keyframes slow-drift {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -14px;
  }
}

.scroll-scene {
  --scene-progress: 0;
  --scene-center: 0;
}

.has-js .hero-copy {
  transform: translate3d(0, calc(var(--scene-progress, 0) * -44px), 0);
  opacity: calc(1 - (var(--scene-progress, 0) * 0.18));
  transition: transform 120ms linear, opacity 120ms linear;
}

.has-js .hero-panel {
  transform: translate3d(0, calc(var(--scene-progress, 0) * -96px), 0) scale(calc(1 - (var(--scene-progress, 0) * 0.045)));
  opacity: calc(1 - (var(--scene-progress, 0) * 0.24));
  transition: transform 120ms linear, opacity 120ms linear;
}

.has-js .ledger-card {
  transform: translate3d(calc(var(--scene-progress, 0) * -30px), calc(var(--float-y, 0px) + (var(--scene-progress, 0) * -20px)), 0);
}

.has-js .insight-card {
  transform: translate3d(calc(var(--scene-progress, 0) * 42px), calc(var(--float-y, 0px) + (var(--scene-progress, 0) * -34px)), 0) scale(calc(1 + (var(--scene-center, 0) * 0.025)));
}

.has-js .document-card {
  transform: translate3d(calc(var(--scene-progress, 0) * -54px), calc(var(--float-y, 0px) + (var(--scene-progress, 0) * -12px)), 0);
}

.has-js .next-strip {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 34px), 0);
  transition: transform 120ms linear;
}

.has-js .service-preview .preview-item,
.has-js .service-preview .preview-title {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 22px), 0);
}

.has-js .service-preview .preview-item:nth-child(3) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 32px), 0);
}

.has-js .service-preview .preview-item:nth-child(4) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 42px), 0);
}

.has-js .section.scroll-scene .section-title {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 20px), 0);
  transition: transform 120ms linear;
}

.has-js .intro-scene .rule-item {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 26px), 0, 0);
}

.has-js .intro-scene .rule-item:nth-child(2) {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 44px), 0, 0);
}

.has-js .intro-scene .rule-item:nth-child(3) {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 62px), 0, 0);
}

.has-js .services-scene .service-card {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 26px), 0) scale(calc(0.985 + (var(--scene-center, 0) * 0.015)));
}

.has-js .services-scene .service-card:nth-child(2) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 36px), 0) scale(calc(0.982 + (var(--scene-center, 0) * 0.018)));
}

.has-js .services-scene .service-card:nth-child(3) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 46px), 0) scale(calc(0.98 + (var(--scene-center, 0) * 0.02)));
}

.has-js .proof-scene .proof {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 34px), 0) scale(calc(0.97 + (var(--scene-center, 0) * 0.03)));
}

.has-js .proof-scene .proof:nth-child(2) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 48px), 0) scale(calc(0.965 + (var(--scene-center, 0) * 0.035)));
}

.has-js .proof-scene .proof:nth-child(3) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 62px), 0) scale(calc(0.96 + (var(--scene-center, 0) * 0.04)));
}

.has-js .proof-scene .proof:nth-child(4) {
  transform: translate3d(0, calc((1 - var(--scene-center, 0)) * 76px), 0) scale(calc(0.955 + (var(--scene-center, 0) * 0.045)));
}

.has-js .article-card {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 42px), 0, 0) scale(calc(0.98 + (var(--scene-center, 0) * 0.02)));
}

.has-js .resources-grid .resource-card {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 38px), 24px, 0);
}

.has-js .resources-grid .resource-card.in-view {
  transform: translate3d(calc((1 - var(--scene-center, 0)) * 18px), 0, 0);
}

.has-js .resources-grid .resource-card:nth-child(2) {
  transition-delay: 120ms;
}

.has-js .resources-grid .resource-card:nth-child(3) {
  transition-delay: 240ms;
}

.has-js .cta-scene {
  background-position:
    calc(50% + (var(--scene-center, 0) * 44px)) 50%,
    calc(80% - (var(--scene-center, 0) * 70px)) 40%,
    50% 50%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  [data-float] {
    animation: none;
    transform: none;
  }

  .hero-inner,
  .hero h1 span,
  .has-js .hero-copy,
  .has-js .hero-panel,
  .has-js .ledger-card,
  .has-js .insight-card,
  .has-js .document-card,
  .has-js .next-strip,
  .has-js .service-preview .preview-item,
  .has-js .service-preview .preview-title,
  .has-js .section.scroll-scene .section-title,
  .has-js .intro-scene .rule-item,
  .has-js .intro-scene .rule-item:nth-child(2),
  .has-js .intro-scene .rule-item:nth-child(3),
  .has-js .services-scene .service-card,
  .has-js .services-scene .service-card:nth-child(2),
  .has-js .services-scene .service-card:nth-child(3),
  .has-js .proof-scene .proof,
  .has-js .proof-scene .proof:nth-child(2),
  .has-js .proof-scene .proof:nth-child(3),
  .has-js .proof-scene .proof:nth-child(4),
  .has-js .article-card,
  .has-js .resources-grid .resource-card,
  .has-js .resources-grid .resource-card.in-view {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .site-header,
  .home .site-header:not(.is-scrolled) {
    background: rgba(255, 253, 252, 0.94);
    border-bottom: 1px solid rgba(49, 59, 102, 0.1);
    backdrop-filter: blur(18px);
  }

  .home .site-header:not(.is-scrolled) .brand,
  .home .site-header:not(.is-scrolled) .menu-button {
    color: var(--ink);
  }

  .nav {
    height: 74px;
  }

  .menu-button {
    display: inline-flex;
    position: relative;
    flex-direction: row;
    gap: 0;
    background: rgba(49, 59, 102, 0.06);
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease;
  }

  .menu-button span {
    transform: translateY(-50%);
  }

  .menu-button::before {
    transform: translateY(calc(-50% - 6px));
  }

  .menu-button::after {
    transform: translateY(calc(-50% + 6px));
  }

  .menu-open .menu-button span {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.25);
  }

  .menu-open .menu-button::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .menu-open .menu-button::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-height: calc(100svh - 74px);
    overflow-y: auto;
    margin: 0;
    padding: 8px 20px 18px;
    background: rgba(255, 253, 252, 0.98);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 22px 44px rgba(49, 59, 102, 0.16);
    backdrop-filter: blur(18px);
  }

  .home .site-header:not(.is-scrolled) .nav-links {
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(255, 253, 252, 0.98);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 24px 24px;
  }

  .menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    display: block;
    padding: 15px 14px;
    color: var(--ink);
    border-bottom: 1px solid rgba(49, 59, 102, 0.1);
    border-radius: 14px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    background: rgba(49, 59, 102, 0.08);
    color: var(--ink-2);
    transform: translateX(4px);
  }

  .home .site-header:not(.is-scrolled) .nav-links a {
    color: var(--ink);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 96px;
    min-height: auto;
    background: var(--ink);
  }

  .hero::before {
    width: 82vw;
    height: 48%;
    inset: auto -28vw 8% auto;
    border-radius: 999px 0 0 999px;
  }

  .hero::after {
    left: auto;
    right: -34vw;
    top: auto;
    bottom: 3%;
    width: 88vw;
    height: 54%;
    border-radius: 999px 0 0 999px;
    transform: translate3d(0, calc(var(--scene-progress, 0) * 24px), 0);
  }

  .hero-inner,
  .split,
  .insights-layout,
  .content-grid,
  .contact-panel,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13vw, 4.8rem);
    line-height: 1.02;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero h1 span,
  .hero h1 span:nth-child(2),
  .hero h1 span:nth-child(3) {
    width: 100%;
    transform: none;
  }

  .hero-panel {
    min-height: 430px;
  }

  .ledger-card {
    width: 82%;
  }

  .insight-card {
    width: 70%;
    bottom: 52px;
  }

  .document-card {
    right: 0;
    width: 45%;
  }

  .service-preview,
  .services-grid,
  .proof-grid,
  .resources-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .resource-index {
    background: var(--paper);
  }

  .resource-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 30px 0;
  }

  .resource-card::before {
    left: -20px;
    right: -20px;
    top: 12px;
    bottom: 12px;
  }

  .resource-card:hover {
    transform: none;
  }

  .service-card {
    min-height: 300px;
  }
}

@media (max-width: 1120px) and (min-width: 921px) {
  .nav {
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-cta {
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .nav,
  .container,
  .hero-inner,
  .service-preview,
  .footer-grid {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    font-size: 1.2rem;
  }

  .section {
    padding: 66px 0;
  }

  .hero-copy {
    gap: 22px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 12.4vw, 3.6rem);
    line-height: 1.06;
  }

  .hero-panel {
    min-height: 360px;
  }

  .ledger-card {
    width: 92%;
    padding: 20px;
  }

  .ledger-grid span {
    height: 26px;
  }

  .insight-card {
    width: 78%;
    padding: 20px;
  }

  .insight-card strong {
    font-size: 2.4rem;
  }

  .document-card {
    width: 52%;
    height: 230px;
  }

  .rule-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}


/* Mobile menu refinement - v1.14.0 */
@media (max-width: 920px) {
  .menu-button {
    position: relative;
    flex-direction: row;
    gap: 0;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -9px;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease;
  }

  .menu-button span {
    transform: translateY(-50%);
  }

  .menu-button::before {
    transform: translateY(calc(-50% - 6px));
  }

  .menu-button::after {
    transform: translateY(calc(-50% + 6px));
  }

  .menu-open .menu-button span {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.25);
  }

  .menu-open .menu-button::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .menu-open .menu-button::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav-links a {
    display: block;
    padding: 15px 14px;
    border-radius: 14px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    background: rgba(49, 59, 102, 0.08);
    color: var(--ink-2);
    transform: translateX(4px);
  }
}


/* Homepage hero service band refinement - v1.15.0 */
:root {
  --sand: #d8d0cf;
  --sand-2: #ebe6e5;
}

.hero::before {
  inset: 5% -10vw auto auto;
  width: min(620px, 48vw);
  height: 58%;
  border-radius: 0 0 0 260px;
  opacity: 0.96;
}

.hero::after {
  inset: 4% -8vw auto auto;
  width: min(610px, 46vw);
  height: 72%;
  border-radius: 0 0 0 280px;
}

.next-strip {
  padding: 22px 0 26px;
}

.service-preview {
  gap: 10px;
}

.preview-title,
.preview-item {
  min-height: 124px;
  padding: 22px;
  border-radius: 22px;
}

@media (max-width: 920px) {
  .hero::before {
    inset: auto -18vw 18% auto;
    width: 68vw;
    height: 34%;
    border-radius: 240px 0 0 240px;
  }

  .hero::after {
    inset: auto -22vw 16% auto;
    width: 74vw;
    height: 42%;
    border-radius: 260px 0 0 260px;
  }
}

@media (max-width: 560px) {
  .next-strip {
    padding: 18px 0 22px;
  }

  .preview-title,
  .preview-item {
    min-height: 104px;
    padding: 20px;
  }
}


/* Homepage service band stacking refinement - v1.16.0 */
.hero {
  isolation: isolate;
}

.hero::before,
.hero::after {
  z-index: 0;
}

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

.next-strip {
  position: relative;
  z-index: 2;
  background: var(--ink);
}
