:root {
  --navy: #1B2A6B;
  --brown: #3D2B1F;
  --beige: #F2EDE4;
  --mid-blue: #4A90D9;
  --paper: var(--beige);
  --surface: #fffaf2;
  --surface-soft: #e8dfd0;
  --ink: var(--brown);
  --muted: rgba(61, 43, 31, .68);
  --line: rgba(61, 43, 31, .14);
  --green: var(--mid-blue);
  --mint: #e2ebf6;
  --blue: var(--navy);
  --clay: #8a6045;
  --sun: var(--mid-blue);
  --shadow: 0 24px 70px rgba(61, 43, 31, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 237, 228, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 720;
  white-space: nowrap;
}

.brand img {
  width: clamp(118px, 13vw, 154px);
  height: auto;
  object-fit: contain;
}

.brand span {
  display: none;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer-links a {
  transition: color .18s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, .72);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-toggle:hover {
  background: var(--surface);
  border-color: rgba(61, 43, 31, .24);
  transform: translateY(-1px);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: top .18s ease, transform .18s ease, opacity .18s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 20px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy);
  color: var(--surface);
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--mid-blue);
  border-color: var(--mid-blue);
}

.btn.subtle {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn.subtle:hover {
  background: var(--surface);
  border-color: rgba(61, 43, 31, .28);
}

.btn.subtle.light {
  color: var(--surface);
  border-color: rgba(255, 253, 248, .34);
}

.btn.subtle.light:hover {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.section,
.hero,
.page-hero {
  padding: 104px 20px;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  color: var(--surface);
  background:
    linear-gradient(90deg, rgba(27, 42, 107, .90), rgba(61, 43, 31, .62) 52%, rgba(27, 42, 107, .22)),
    var(--hero-image, url("images/67d4459ae95e4aa1b0910a04_getty-images-i_sHmq2fPt0-unsplash-410634a6.jpg")) center / cover;
}

.home-hero {
  min-height: calc(100vh - 74px);
  padding-bottom: clamp(56px, 10vh, 104px);
}

.hero-grid,
.split,
.contact-grid,
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 930px;
  font-size: clamp(48px, 8vw, 104px);
}

h2 { font-size: clamp(34px, 5vw, 66px); }
h3 { font-size: clamp(23px, 3vw, 33px); }

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero .lead {
  color: rgba(255, 253, 248, .84);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.hero-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 253, 248, .22);
  border-radius: 8px;
  background: rgba(255, 253, 248, .10);
  backdrop-filter: blur(18px);
}

.panel-label,
.number,
.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-panel .panel-label,
.hero-panel p {
  color: rgba(255, 253, 248, .72);
}

.hero-panel strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 500;
  line-height: .95;
}

.hero-panel p {
  margin-top: 16px;
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mini-metrics span,
.topic-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.mini-metrics span {
  color: rgba(255, 253, 248, .80);
}

.page-hero {
  padding-top: 88px;
  padding-bottom: 72px;
  /* border-bottom: 1px solid var(--line); */
}

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

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 48px;
}

.kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.statement {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4.5vw, 56px);
  line-height: 1.08;
}

.statement em {
  color: var(--green);
  font-style: italic;
}

.intro-section {
  background: linear-gradient(180deg, var(--paper), #fffaf2);
}

.quiet-copy {
  display: grid;
  gap: 18px;
  color: rgba(61, 43, 31, .82);
  font-size: clamp(18px, 2vw, 20px);
}

.image-panel {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.grid-4,
.grid-3,
.blog-grid,
.team-grid,
.process-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.grid-4,
.process-grid,
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.card,
.metric,
.step,
.factor-card,
.team-card,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card,
.step,
.factor-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p,
.step p,
.factor-card p,
.article-card p,
.team-card p,
.metric span {
  color: var(--muted);
  margin-top: 14px;
}

.factor-section {
  background: var(--surface);
}

.factor-card {
  min-height: 270px;
  background: var(--paper);
}

.factor-card h3 {
  margin-top: 18px;
  font-size: clamp(24px, 2.3vw, 32px);
}

.card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 24px;
  align-items: stretch;
}

.comparison-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
}

.comparison-card h3 {
  max-width: 760px;
  font-size: clamp(30px, 3.4vw, 54px);
}

.comparison-card p {
  max-width: 740px;
  margin-top: 18px;
  color: rgba(61, 43, 31, .76);
}

.comparison-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-top: 1px solid var(--line);
  color: rgba(61, 43, 31, .78);
}

.comparison-card li::before {
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.comparison-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-card-featured .number,
.comparison-card-featured p,
.comparison-card-featured li {
  color: rgba(255, 253, 248, .78);
}

.comparison-card-featured li {
  border-color: rgba(255, 253, 248, .18);
}

.comparison-card-featured li::before {
  content: "✓";
  background: var(--mid-blue);
  color: var(--surface);
}

.comparison-card-muted {
  background: rgba(255, 250, 242, .66);
}

.comparison-card-muted li::before {
  content: "–";
  background: rgba(61, 43, 31, .10);
  color: rgba(61, 43, 31, .58);
}

.comparison-proof {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, .22);
  border-radius: 8px;
  background: rgba(255, 253, 248, .08);
}

.comparison-proof strong,
.comparison-proof span {
  display: block;
}

.comparison-proof strong {
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.comparison-proof span {
  margin-top: 8px;
  color: rgba(255, 253, 248, .78);
}

.service-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: 34px minmax(108px, auto) 1fr;
  align-content: start;
  gap: 22px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 144, 217, .42);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0;
  align-self: start;
  font-size: clamp(28px, 1.85vw, 34px);
  line-height: 1.06;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-card p {
  margin-top: 0;
  align-self: start;
}

.metric strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 500;
}

.band,
.process-band {
  background: var(--navy);
  color: var(--surface);
}

.band .lead,
.band .card p,
.band .step p,
.process-band .lead,
.process-band .step p {
  color: rgba(255, 253, 248, .72);
}

.band .card,
.band .step,
.process-band .step {
  background: rgba(255, 253, 248, .06);
  border-color: rgba(255, 253, 248, .14);
}

.process-band .kicker {
  color: #b8d8f5;
}

.process-band .number {
  color: rgba(255, 253, 248, .56);
}

.process-grid .step {
  display: grid;
  grid-template-rows: 32px minmax(72px, auto) 1fr;
  align-content: start;
}

.process-grid .step h3 {
  align-self: start;
}

.torus-system {
  display: grid;
  grid-template-columns: minmax(520px, 1.18fr) minmax(300px, .82fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
}

.torus-visual {
  display: grid;
  place-items: center;
}

.torus-orbit {
  --torus-angle: -90deg;
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.torus-orbit[data-active-step="1"] { --torus-angle: 0deg; }
.torus-orbit[data-active-step="2"] { --torus-angle: 90deg; }
.torus-orbit[data-active-step="3"] { --torus-angle: 180deg; }

.torus-ring {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 253, 248, .32);
  border-radius: 50%;
}

.torus-ring::before,
.torus-ring::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, .12);
}

.torus-ring::after {
  content: none;
}

.torus-marker {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--torus-angle));
  transition: transform var(--torus-marker-duration, 1450ms) linear;
}

.torus-marker::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mid-blue);
  box-shadow: 0 0 0 8px rgba(74, 144, 217, .14);
  transform: translate(calc(50% - .5px), -50%);
}

.torus-node {
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  width: 146px;
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 253, 248, .18);
  border-radius: 8px;
  background: rgba(255, 253, 248, .06);
  color: rgba(255, 253, 248, .82);
  cursor: pointer;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.torus-node[data-torus-step="0"] { --node-y: 8% !important; }
.torus-node[data-torus-step="1"] { --node-x: 92% !important; }
.torus-node[data-torus-step="2"] { --node-y: 92% !important; }
.torus-node[data-torus-step="3"] { --node-x: 8% !important; }

.torus-node:hover,
.torus-node.is-active {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
  transform: translate(-50%, -50%) translateY(-2px);
}

.torus-node.is-visited:not(.is-active) {
  border-color: rgba(184, 216, 245, .42);
}

.torus-node span {
  color: currentColor;
  opacity: .62;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.torus-node strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
}

.torus-center {
  position: relative;
  z-index: 1;
  width: 238px;
  min-height: 238px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 30px 34px;
  border: 1px solid rgba(255, 253, 248, .18);
  border-radius: 50%;
  background: rgba(255, 253, 248, .09);
  text-align: center;
}

.torus-center span {
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.06;
}

.torus-center p {
  color: rgba(255, 253, 248, .66);
  font-size: 13px;
  line-height: 1.45;
}

.torus-detail {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--surface);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.torus-detail h3 {
  margin-top: 12px;
  font-size: clamp(31px, 3.5vw, 48px);
}

.torus-label {
  margin-top: 12px;
  color: var(--mid-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.torus-detail-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.torus-detail-grid div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.torus-detail-grid strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.torus-detail-grid p {
  margin-top: 8px;
  color: rgba(61, 43, 31, .76);
}

.torus-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.torus-control-panel {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 560px);
  justify-content: center;
  margin-top: 0;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, .16);
  border-radius: 8px;
  background: rgba(255, 253, 248, .06);
}

.torus-controls span {
  color: rgba(61, 43, 31, .58);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.torus-control-panel span {
  color: rgba(255, 253, 248, .64);
}

.torus-speed {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px 0 10px;
}

.torus-speed input {
  width: 150px;
  accent-color: var(--mid-blue);
  cursor: pointer;
}

.torus-detail .btn.subtle.light {
  color: var(--ink);
  border-color: var(--line);
}

.torus-detail .btn.subtle.light:hover {
  color: var(--surface);
  background: var(--navy);
  border-color: var(--navy);
}

.proof-section {
  background: var(--navy);
  color: var(--surface);
}

.proof-section .kicker {
  color: #b8d8f5;
}

.proof-section .lead {
  color: rgba(255, 253, 248, .78);
}

.proof-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: end;
}

.proof-intro h2 {
  max-width: 820px;
}

.proof-highlights {
  display: grid;
  gap: 12px;
}

.proof-highlights div {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 253, 248, .20);
}

.proof-highlights strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  line-height: 1;
}

.proof-highlights span {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  color: rgba(255, 253, 248, .72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quote {
  min-height: 100%;
  padding: clamp(28px, 5vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

blockquote {
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.08;
}

cite {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.knowledge-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--mint);
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-cloud span {
  color: var(--navy);
  background: rgba(255, 253, 248, .42);
  border-color: rgba(27, 42, 107, .18);
}

.faq-section {
  background: #fffaf2;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 22px 58px 22px 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 880px;
  padding: 0 58px 24px 24px;
  color: rgba(61, 43, 31, .78);
}

.final-cta {
  background: var(--surface);
}

.article-card {
  display: block;
  min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: -24px -24px 20px;
  max-width: calc(100% + 48px);
  border-radius: 8px 8px 0 0;
}

.article-card h3 {
  font-size: 25px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 1fr);
  gap: 64px;
  align-items: start;
}

.article-body {
  color: var(--brown);
  overflow-wrap: anywhere;
}

.article-body > * + * { margin-top: 18px; }

.article-body h2 {
  margin-top: 52px;
  font-size: clamp(30px, 4vw, 48px);
}

.article-body h3 {
  margin-top: 34px;
  font-size: clamp(23px, 3vw, 31px);
}

.article-body p,
.article-body li {
  color: rgba(61, 43, 31, .78);
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35rem;
}

.article-body img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.article-body th,
.article-body td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 8px;
  background: var(--surface-soft);
}

.side-note {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  border-radius: 8px;
  object-position: center top;
}

.legal {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal h2 {
  font-size: clamp(30px, 4vw, 50px);
}

.legal h3 {
  margin-top: 42px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
}

.legal p {
  color: rgba(61, 43, 31, .78);
  margin-top: 22px;
}

.legal a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px 20px;
  border: 1px solid rgba(74, 144, 217, .24);
  border-radius: 8px;
  background: rgba(74, 144, 217, .08);
}

.contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contract-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  overflow-wrap: anywhere;
  color: rgba(61, 43, 31, .78);
  font-size: 15px;
}

.contract-table th,
.contract-table td {
  padding: 14px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.contract-table th {
  width: 30%;
  background: rgba(61, 43, 31, .05);
  color: var(--brown);
  font-weight: 800;
}

.contract-field {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 8px 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(61, 43, 31, .28);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

.contract-field:focus {
  outline: 0;
  border-bottom-color: var(--mid-blue);
  box-shadow: 0 1px 0 var(--mid-blue);
}

.contract-field::placeholder {
  color: rgba(61, 43, 31, .40);
}

.signature-field {
  display: grid;
  gap: 18px;
  min-height: 78px;
  color: rgba(61, 43, 31, .78);
  font-weight: 700;
}

.signature-line {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(61, 43, 31, .42);
}

.signature-table td {
  height: 92px;
}

.email-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(74, 144, 217, .26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(27, 42, 107, .96), rgba(61, 43, 31, .92));
  color: var(--surface);
  box-shadow: var(--shadow);
}

.email-panel .kicker,
.email-panel .lead {
  color: rgba(255, 253, 248, .76);
}

.email-panel h2 {
  font-size: clamp(34px, 5vw, 62px);
}

.email-cta {
  display: inline-flex;
  min-width: min(100%, 340px);
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 253, 248, .24);
  border-radius: 8px;
  background: rgba(255, 253, 248, .10);
  color: var(--surface);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.email-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 253, 248, .16);
  border-color: rgba(255, 253, 248, .42);
}

.email-cta span {
  color: rgba(255, 253, 248, .70);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.email-cta strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  word-break: break-word;
}

.contact-booking-section {
  padding-top: 42px;
}

.contact-stack {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.contact-panel {
  padding: clamp(26px, 5vw, 44px);
  border-radius: 8px;
  background: var(--navy);
  color: var(--surface);
}

.contact-panel p,
.contact-panel li {
  color: rgba(255, 253, 248, .76);
}

.contact-panel ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 253, 248, .14);
}

.contact-panel a {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-stack > .contact-panel {
  display: flex;
  min-height: auto;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(74, 144, 217, .26);
  background:
    linear-gradient(135deg, rgba(27, 42, 107, .98), rgba(27, 42, 107, .92) 58%, rgba(61, 43, 31, .86));
  box-shadow: var(--shadow);
}

.contact-stack > .contact-panel h3 {
  max-width: 9em;
  font-size: clamp(42px, 4.8vw, 74px);
  line-height: 1.02;
}

.contact-stack > .contact-panel ul {
  width: min(100%, 560px);
  margin: 0;
  border-top: 1px solid rgba(255, 253, 248, .18);
}

.contact-stack > .contact-panel li {
  padding: clamp(16px, 2vw, 24px) 0;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 253, 248, .18);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
}

.cal-wrap {
  min-height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cal-wrap {
  display: grid;
  overflow: hidden;
}

#my-cal-inline-25min {
  width: 100%;
  min-height: 760px;
}

#my-cal-inline-25min:empty,
#my-cal-inline-25min.is-loading {
  display: none;
}

.cal-consent {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  min-height: 760px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--surface);
}

.cal-consent[hidden] {
  display: none;
}

.cal-consent h2 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 62px);
}

.cal-consent p:not(.kicker) {
  max-width: 720px;
  color: rgba(61, 43, 31, .72);
  font-size: clamp(17px, 1.6vw, 21px);
}

.cal-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.cal-noscript {
  padding: 24px;
  color: rgba(61, 43, 31, .72);
}

.cal-noscript a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1080px) {
  .grid-4,
  .process-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    align-items: stretch;
    padding: 14px 0 4px;
    gap: 14px;
  }

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

  .nav-links a {
    min-height: 40px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
  }

  .nav-toggle {
    display: grid;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .email-panel,
  .feature-row,
  .proof-intro,
  .comparison-grid,
  .torus-system,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .torus-orbit {
    max-width: 620px;
  }

  .torus-control-panel {
    grid-row: auto;
  }

  .hero-panel {
    max-width: 480px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .side-note {
    position: static;
  }

  .contact-stack > .contact-panel {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .brand span { display: none; }

  .nav {
    gap: 14px;
  }

  .section,
  .hero,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .hero {
    min-height: 84vh;
  }

  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .grid-4,
  .grid-3,
  .blog-grid,
  .team-grid,
  .process-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .card,
  .metric,
  .step,
  .factor-card,
  .team-card,
  .article-card,
  .torus-detail {
    padding: 20px;
  }

  .contract-actions {
    justify-content: stretch;
  }

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

  .torus-orbit {
    width: min(100%, 390px);
  }

  .torus-node[data-torus-step="1"] { --node-x: 88% !important; }
  .torus-node[data-torus-step="3"] { --node-x: 12% !important; }

  .torus-node {
    width: 106px;
    min-height: 78px;
    padding: 11px;
  }

  .torus-node strong {
    font-size: 17px;
  }

  .torus-center {
    width: 178px;
    min-height: 178px;
    padding: 20px 22px;
  }

  .torus-center span {
    font-size: 20px;
  }

  .torus-center p {
    font-size: 12px;
  }

  .torus-control-panel {
    justify-content: flex-start;
  }

  .torus-speed {
    width: 100%;
    justify-content: space-between;
    padding-left: 0;
  }

  .torus-speed input {
    width: min(58vw, 180px);
  }

  .service-card {
    min-height: 250px;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }

  .article-card img {
    margin: -20px -20px 18px;
    max-width: calc(100% + 40px);
  }

  .contact-booking-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .email-panel,
  .contact-panel,
  .contact-stack > .contact-panel {
    padding: 24px;
  }

  .contact-stack > .contact-panel h3 {
    max-width: none;
    font-size: clamp(34px, 11vw, 48px);
  }

  .contact-stack > .contact-panel li {
    font-size: 17px;
  }

  .cal-wrap,
  .cal-consent,
  #my-cal-inline-25min {
    min-height: 720px;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  html,
  body {
    background: #fff;
  }

  body {
    color: #1f1a16;
    font-size: 12px;
    line-height: 1.45;
  }

  .site-header,
  .page-hero,
  footer,
  .contract-actions {
    display: none !important;
  }

  .section {
    padding: 0;
  }

  .narrow,
  .container {
    width: 100%;
    max-width: none;
  }

  .legal {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  .legal h2 {
    font-size: 24px;
  }

  .legal h3 {
    margin-top: 22px;
    font-size: 16px;
    break-after: avoid;
  }

  .legal p {
    margin-top: 10px;
    color: #1f1a16;
  }

  .contract-table {
    margin-top: 12px;
    font-size: 11px;
    break-inside: avoid;
  }

  .contract-table th,
  .contract-table td {
    padding: 8px;
    border-color: #b8b0a8;
  }

  .contract-field {
    min-height: 24px;
    padding: 2px 0;
    border-bottom-color: #8b8178;
    color: #1f1a16;
    box-shadow: none;
  }

  .contract-field::placeholder {
    color: transparent;
  }

  textarea.contract-field {
    resize: none;
  }

  .print-blank-contract .contract-field {
    color: transparent;
  }

  .signature-field {
    min-height: 58px;
    gap: 12px;
  }

  .signature-table td {
    height: 70px;
  }
}
