/* =========================================================
   Bhumilinks — editorial fintech stylesheet
   Aesthetic: warm bone background, deep ink, restrained burnt sienna
   Display: Fraunces (modern serif). Body: Plus Jakarta Sans.
   Numerical/labels: JetBrains Mono.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #F1ECE2;            /* warm bone */
  --bg-soft: #EAE3D5;       /* warm surface */
  --bg-cream: #FAF6EE;      /* lightest cream */
  --ink: #181816;           /* warm near-black */
  --ink-soft: #2B2924;
  --muted: #5C5751;         /* warm gray for body secondary */
  --muted-2: #8A8377;
  --rule: rgba(24,24,22,0.14);
  --rule-strong: rgba(24,24,22,0.32);

  --accent: #9D4F2D;        /* burnt sienna — used VERY sparingly */
  --accent-soft: rgba(157,79,45,0.10);
  --forest: #2A3F35;        /* deep forest green — fintech credibility */

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
hr { border: 0; }
em { font-style: italic; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Grain overlay ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(241, 236, 226, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo__mark { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.logo__word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transition: right 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav__cta:hover { background: var(--ink); color: var(--bg); }
.nav__cta:hover svg { transform: translateX(2px); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 110% -10%, rgba(157,79,45,0.06), transparent 60%),
    radial-gradient(600px 400px at -10% 30%, rgba(42,63,53,0.05), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
}

.hero__copy { position: relative; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 22px 0 24px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 12px 28px -16px rgba(24,24,22,0.4);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0,0,0,0.05), 0 18px 32px -16px rgba(24,24,22,0.5); }
.btn--primary:hover svg { transform: translate(1px, -1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--lg { padding: 14px 24px; font-size: 15px; }

.hero__visual {
  position: relative;
}
.hero-svg {
  width: 100%;
  height: auto;
}
.hero-node {
  fill: var(--ink);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: nodeIn 0.6s var(--ease) forwards;
}
.hero-node.n1 { animation-delay: 0.6s; }
.hero-node.n2 { animation-delay: 0.7s; }
.hero-node.n3 { animation-delay: 0.8s; }
.hero-node.n4 { animation-delay: 0.9s; }
.hero-node.n5 { animation-delay: 1.0s; }
.hero-node.n6 { animation-delay: 1.1s; }
.hero-node.n7 { animation-delay: 1.2s; }
.hero-node.n8 { animation-delay: 1.3s; }

@keyframes nodeIn {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 0.8; transform: scale(1); }
}

.flow-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: flowDraw 1.6s var(--ease) forwards;
  opacity: 0.55;
}
.flow-line.l1 { animation-delay: 0.7s; }
.flow-line.l2 { animation-delay: 0.85s; }
.flow-line.l3 { animation-delay: 1.0s; }
.flow-line.l4 { animation-delay: 1.15s; }
.flow-line.l5 { animation-delay: 1.3s; }
.flow-line.l6 { animation-delay: 1.45s; }
.flow-line.l7 { animation-delay: 1.6s; }
.flow-line.l8 { animation-delay: 1.75s; }

@keyframes flowDraw {
  to { stroke-dashoffset: 0; }
}

.core-ring {
  transform-origin: 240px 240px;
  animation: corePulse 4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.hero__scroll-cue svg { width: 12px; height: 24px; animation: scrollBob 2s ease-in-out infinite; }
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (max-width: 980px) {
  .hero__scroll-cue { display: none; }
}

/* ---------- Section primitives ---------- */
.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.rule {
  border-top: 1px solid var(--rule);
  margin: 0;
  height: 1px;
  position: relative;
}
.rule::before {
  content: '';
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__num {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
  font-variation-settings: "opsz" 9;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 920px;
  font-variation-settings: "opsz" 144;
}
.section__title em { font-style: italic; font-weight: 300; }

.section__lede {
  max-width: 720px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  margin: 0 0 56px;
}

/* ---------- Conditions ---------- */
.section--conditions { background: var(--bg); }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin: 56px 0 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .conditions-grid { grid-template-columns: 1fr; }
}
.condition {
  background: var(--bg);
  padding: 32px 28px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.condition__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0;
}
.condition__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 32;
}
.condition__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.condition__toggle:hover { color: var(--accent); }
.condition__toggle svg {
  width: 10px; height: 10px;
  transition: transform 0.25s var(--ease);
}
.condition__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.condition__body {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.62;
  animation: bodyFadeIn 0.28s ease;
}
@keyframes bodyFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.condition__icon {
  width: 70px;
  height: 70px;
  margin-top: auto;
  color: var(--ink);
  opacity: 0.7;
}

.conditions-footnote {
  max-width: 760px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 32;
}

/* ---------- How (flow diagram) ---------- */
.section--how { background: var(--bg); }
.flow {
  margin: 56px 0 64px;
  padding: 56px 24px 60px;
  background: var(--bg-cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(24,24,22,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(24,24,22,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.flow__svg { width: 100%; height: auto; position: relative; }
.flow__num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  fill: var(--muted);
}
.flow__num--accent { fill: var(--accent); }
.flow__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  fill: var(--ink);
  font-variation-settings: "opsz" 14;
}
.flow__caption {
  font-family: var(--sans);
  font-size: 11px;
  fill: var(--muted);
}

.flow__progress {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2.4s var(--ease);
}
.flow.is-revealed .flow__progress { stroke-dashoffset: 0; }
.flow__node { opacity: 0; transition: opacity 0.5s var(--ease); }
.flow.is-revealed .flow__node[data-step="1"] { opacity: 1; transition-delay: 0.2s; }
.flow.is-revealed .flow__node[data-step="2"] { opacity: 1; transition-delay: 0.7s; }
.flow.is-revealed .flow__node[data-step="3"] { opacity: 1; transition-delay: 1.1s; }
.flow.is-revealed .flow__node[data-step="4"] { opacity: 1; transition-delay: 1.5s; }
.flow.is-revealed .flow__node[data-step="5"] { opacity: 1; transition-delay: 1.9s; }

.how-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
@media (max-width: 880px) {
  .how-callouts { grid-template-columns: 1fr; gap: 24px; }
}
.how-callout {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.how-callout__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.how-callout p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}

/* ---------- Credit infrastructure ---------- */
.section--credit {
  background: var(--bg-soft);
  position: relative;
}
.section--credit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(157,79,45,0.06), transparent 60%);
  pointer-events: none;
}
.credit-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  position: relative;
}
@media (max-width: 980px) {
  .credit-grid { grid-template-columns: 1fr; }
}

.section__title--credit { margin-bottom: 28px; }
.credit-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 540px;
}
.credit-points { display: grid; gap: 28px; }
.credit-points li {
  border-left: 1px solid var(--rule-strong);
  padding-left: 20px;
  position: relative;
}
.credit-points li::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 6px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.credit-point__label {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}
.credit-points p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.credit-visual {
  background: var(--bg-cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px 24px 24px;
  position: relative;
}
.credit-svg { width: 100%; height: auto; }
.credit-visual__caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 18px 0 0;
  line-height: 1.6;
}

/* credit svg animations */
.tick { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); }
.credit-visual.is-revealed .tick { animation: tickRise 0.5s var(--ease) forwards; }
.credit-visual.is-revealed .t1  { animation-delay: 0.05s; }
.credit-visual.is-revealed .t2  { animation-delay: 0.10s; }
.credit-visual.is-revealed .t3  { animation-delay: 0.15s; }
.credit-visual.is-revealed .t4  { animation-delay: 0.20s; }
.credit-visual.is-revealed .t5  { animation-delay: 0.25s; }
.credit-visual.is-revealed .t6  { animation-delay: 0.30s; }
.credit-visual.is-revealed .t7  { animation-delay: 0.35s; }
.credit-visual.is-revealed .t8  { animation-delay: 0.40s; }
.credit-visual.is-revealed .t9  { animation-delay: 0.45s; }
.credit-visual.is-revealed .t10 { animation-delay: 0.50s; }
.credit-visual.is-revealed .t11 { animation-delay: 0.55s; }
.credit-visual.is-revealed .t12 { animation-delay: 0.60s; }
.credit-visual.is-revealed .t13 { animation-delay: 0.65s; }
@keyframes tickRise { to { transform: scaleY(1); } }

.risk-curve {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s var(--ease) 0.7s;
}
.credit-visual.is-revealed .risk-curve { stroke-dashoffset: 0; }

.bar { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); }
.credit-visual.is-revealed .bar { animation: barRise 0.6s var(--ease) forwards; }
.credit-visual.is-revealed .b1  { animation-delay: 1.4s; }
.credit-visual.is-revealed .b2  { animation-delay: 1.5s; }
.credit-visual.is-revealed .b3  { animation-delay: 1.6s; }
.credit-visual.is-revealed .b4  { animation-delay: 1.7s; }
.credit-visual.is-revealed .b5  { animation-delay: 1.8s; }
.credit-visual.is-revealed .b6  { animation-delay: 1.9s; }
.credit-visual.is-revealed .b7  { animation-delay: 2.0s; }
.credit-visual.is-revealed .b8  { animation-delay: 2.1s; }
.credit-visual.is-revealed .b9  { animation-delay: 2.2s; }
.credit-visual.is-revealed .b10 { animation-delay: 2.3s; }
.credit-visual.is-revealed .b11 { animation-delay: 2.4s; }
.credit-visual.is-revealed .b12 { animation-delay: 2.5s; }
@keyframes barRise { to { transform: scaleY(1); } }

/* ---------- Geography ---------- */
.section--geo { background: var(--bg); }
.geo-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 880px) {
  .geo-grid { grid-template-columns: 1fr; }
}
.geo-lede {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 24px;
}
.geo-quiet {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.geo-map {
  position: relative;
}
.geo-svg { width: 100%; max-width: 480px; margin: 0 auto; }
.geo-state {
  transition: fill-opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.geo-state:hover { fill-opacity: 1; transform: translateY(-2px); }
.hq-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: hqPulse 3.2s ease-in-out infinite;
}
@keyframes hqPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.5); opacity: 0.2; }
}

.geo-states {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .geo-states { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .geo-states { grid-template-columns: 1fr; }
}
.geo-states li {
  background: var(--bg);
  padding: 28px 22px;
}
.geo-states__name {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}
.geo-states p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Beliefs ---------- */
.section--beliefs { background: var(--bg); }
.beliefs {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.belief {
  background: var(--bg);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: baseline;
}
@media (max-width: 600px) {
  .belief { grid-template-columns: 60px 1fr; padding: 28px 0; }
}
.belief__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  font-variation-settings: "opsz" 24;
}
.belief p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 820px;
  font-variation-settings: "opsz" 48;
}

/* ---------- Contact ---------- */
.section--contact {
  background: var(--bg);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.contact-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 0%, rgba(157,79,45,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(42,63,53,0.20), transparent 50%);
  pointer-events: none;
}
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(241,236,226,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241,236,226,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom right, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom right, black, transparent 70%);
}
.contact-card__inner { position: relative; }
.contact-card__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 236, 226, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.contact-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 820px;
  font-variation-settings: "opsz" 144;
}
.contact-card__title em { font-style: italic; font-weight: 300; }
.contact-card__sub {
  font-size: 16px;
  color: rgba(241, 236, 226, 0.75);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.contact-card .btn--primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.contact-card .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.contact-card .btn--ghost {
  color: var(--bg);
  border-color: rgba(241,236,226,0.3);
}
.contact-card .btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(241,236,226,0.15);
  margin: 0;
}
.contact-meta--single {
  grid-template-columns: 1fr;
  max-width: 320px;
}
@media (max-width: 720px) {
  .contact-meta { grid-template-columns: 1fr; }
}
.contact-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,236,226,0.55);
  margin-bottom: 8px;
}
.contact-meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr auto;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand .logo__mark { width: 28px; height: 28px; color: var(--ink); flex-shrink: 0; margin-top: 4px; }
.footer__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.footer__tag {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.5;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.footer__links a:hover { color: var(--ink); }
.footer__copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 0;
  white-space: nowrap;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}
.reveal-once { /* container that triggers child animations on entry */ }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-node { opacity: 0.8; }
  .flow-line { stroke-dashoffset: 0; }
}

/* Raster India map */
.geo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

/* Prevent SVG map text from leaking into page flow */
.geo-svg { user-select: none; }
.geo-svg text { pointer-events: none; }
