@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  /* Brand: the ArthaMinds gold spiral on deep navy. */
  --navy-950: #070e18;
  --navy-900: #0b1524;
  --navy-850: #0e1a2c;
  --navy-800: #132239;
  --navy-700: #1b2e4b;
  --gold: #c99b4f;
  --gold-bright: #eabc5e;
  --gold-deep: #94702f;
  --gold-wash: rgba(201, 155, 79, 0.14);

  --text: #efe9dd;
  --text-soft: #a9b3c3;
  --text-faint: #75819a;
  --line: rgba(234, 214, 170, 0.12);
  --line-strong: rgba(234, 214, 170, 0.24);

  --ivory: #f5efe3;
  --ivory-card: #fbf8f2;
  --ink: #0f1a2b;
  --ink-soft: #4a5466;
  --line-light: rgba(15, 26, 43, 0.12);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
  --deva: "Kohinoor Devanagari", "Noto Sans Devanagari", "Devanagari Sangam MN", var(--sans);

  --wrap: min(1240px, calc(100vw - 64px));
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 144px);
  --ease: cubic-bezier(0.2, 0.75, 0.18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: var(--navy-950); text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display {
  font: 400 clamp(34px, 4.2vw, 56px)/1.06 var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.025em;
}
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-soft); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: 15px; font-weight: 500; color: var(--gold-bright);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--text); }
.text-muted { font-size: 15px; color: var(--text-faint); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -12px rgba(234, 188, 94, 0.6);
}
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(234, 188, 94, 0.75); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--gold); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 21, 36, 0.72);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font: 600 21px/1 var(--serif); letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text-soft); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 0; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 38%, rgba(201, 155, 79, 0.16), transparent 70%),
    radial-gradient(50% 60% at 8% 0%, rgba(58, 92, 150, 0.28), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  min-height: min(640px, calc(100vh - var(--header-h) - 200px));
}
.hero-copy { display: grid; gap: 28px; }
.hero h1 {
  font: 400 clamp(46px, 6.2vw, 88px)/1 var(--serif);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); color: var(--text-soft); }
.hero-sub, .hero .actions { margin-top: 4px; }

.hero-mark { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; display: grid; place-items: center; }
.hero-mark img { position: relative; width: 52%; height: auto; filter: drop-shadow(0 0 40px rgba(234, 188, 94, 0.28)); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit-1 { inset: 0; }
.orbit-2 { inset: 9%; border-color: var(--line-strong); }
.orbit-3 { inset: 18%; border-style: dashed; }
.orbit::after {
  content: ""; position: absolute; top: 50%; left: -4px;
  width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--gold-bright); box-shadow: 0 0 14px var(--gold-bright);
}
.orbit-2::after { left: auto; right: -4px; opacity: 0.7; }
.orbit-3::after { display: none; }

.built {
  position: relative;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px); padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}
.built-label { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
.built-list { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.built-list a {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 19px/1 var(--serif); color: var(--text-soft); text-decoration: none;
  transition: color 0.2s;
}
.built-list img { border-radius: 8px; }
.built-list a:hover { color: var(--text); }

/* Sections */
.deliver, .solutions, .work, .company { padding: var(--section-y) 0; }
.light { background: var(--ivory); color: var(--ink); padding: var(--section-y) 0; }
.light .eyebrow { color: var(--gold-deep); }
.light .lead { color: var(--ink-soft); }
.light .text-link { color: var(--gold-deep); }
.light .text-link:hover { color: var(--ink); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.section-head-row > div { display: grid; gap: 18px; }

/* Deliver */
.deliver { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.deliver-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.deliver-copy { display: grid; gap: 22px; }
.stack { display: grid; gap: 8px; }
.stack li {
  display: flex; align-items: center; gap: 18px;
  padding: 15px 20px; border-radius: 12px;
  background: rgba(19, 34, 57, 0.8); border: 1px solid var(--line);
  font-size: 15px; color: var(--text);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.stack li:hover { transform: translateX(6px); border-color: var(--line-strong); }
.stack li span { flex: none; width: 2em; font-size: 12px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.stack .stack-outcome { border-color: rgba(201, 155, 79, 0.55); background: var(--gold-wash); }
.stack .stack-outcome span { color: var(--gold-bright); }
.stack .stack-result {
  margin-top: 8px; border: 0;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold));
  color: var(--navy-950); font-weight: 600;
}
.stack .stack-result span { color: var(--navy-950); font-size: 17px; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px;
  padding: 28px; border-radius: 18px;
  background: var(--ivory-card); border: 1px solid var(--line-light);
}
.step-num { font: 400 48px/1 var(--serif); color: var(--gold); letter-spacing: -0.03em; }
.step h3 { font: 500 26px/1.15 var(--serif); letter-spacing: -0.015em; }
.step p { font-size: 15px; color: var(--ink-soft); }
.step .step-out { padding-top: 16px; border-top: 1px solid var(--line-light); color: var(--ink); }
.step-out b, .solution-test b {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
}

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 16px;
  padding: 32px; border-radius: 20px;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.solution:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.flow span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-soft); }
.flow span:last-child { background: var(--gold); color: var(--navy-950); }
.flow i { font-style: normal; color: var(--gold); }
.solution h3 { font: 500 28px/1.15 var(--serif); letter-spacing: -0.015em; }
.solution > p { font-size: 15px; color: var(--text-soft); }
.solution .solution-test { padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); }
.solution .solution-test b { color: var(--gold); }
.solution-test a { color: var(--gold-bright); text-underline-offset: 3px; }

/* Work */
.work { background: var(--navy-950); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card {
  display: grid; grid-template-rows: auto 1fr;
  border-radius: 22px; overflow: hidden;
  background: var(--navy-850); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.work-oba { --brand: #0d1016; --brand-ink: #f5f5f2; --brand-accent: #7da2ff; }
.work-sah { --brand: #1f2362; --brand-ink: #f6f4ff; --brand-accent: #edb751; }
.work-tn { --brand: #1a1a2e; --brand-ink: #f3ecd7; --brand-accent: #e2b714; }
.work-tg { --brand: #0a0c12; --brand-ink: #fff3dc; --brand-accent: #f0b429; }
.work-banner {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  min-height: 240px; padding: 32px;
  background:
    radial-gradient(70% 90% at 90% 0%, color-mix(in srgb, var(--brand-accent) 45%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--brand-accent) 14%, transparent), transparent 70%),
    var(--brand);
  color: var(--brand-ink);
}
.work-banner img { position: absolute; top: 32px; left: 32px; border-radius: 18px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6); }
.work-tag { font: 400 clamp(24px, 2.4vw, 32px)/1.15 var(--serif); letter-spacing: -0.02em; max-width: 12em; }
.work-body { display: grid; align-content: start; gap: 18px; padding: 32px; }
.work-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-title h3 { font: 500 30px/1.1 var(--serif); letter-spacing: -0.02em; }
.pill {
  flex: none; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-soft); border: 1px solid var(--line-strong);
}
.pill-live { color: #9ee6b8; border-color: rgba(158, 230, 184, 0.35); }
.pill-live::before { content: "●"; margin-right: 6px; font-size: 9px; vertical-align: 1px; }
.work-body > p { font-size: 16px; color: var(--text-soft); }
.facts { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding: 18px 0; border-block: 1px solid var(--line); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.facts dd { font-size: 14px; color: var(--text); }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight {
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px; border-radius: 18px;
  background: var(--ivory-card); border: 1px solid var(--line-light);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease);
}
.insight:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 50px -30px rgba(15, 26, 43, 0.45); }
.insight-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.insight-meta > :last-child { color: var(--ink-soft); }
.insight h3 { font: 500 24px/1.2 var(--serif); letter-spacing: -0.015em; }
.insight p:not(.insight-meta) { font-size: 15px; color: var(--ink-soft); }
.insight-cta { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* Company */
.company { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.company-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.company-intro { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.company-intro em { color: var(--text); }
.deva { display: block; margin-bottom: 8px; font-family: var(--deva); color: var(--gold); font-size: 0.8em; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.principles li { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: rgba(19, 34, 57, 0.55); }
.principles li::before { content: ""; display: block; width: 32px; height: 2px; margin-bottom: 22px; background: var(--gold); }
.principles h3 { margin-bottom: 10px; font: 500 22px/1.2 var(--serif); }
.principles p { font-size: 15px; color: var(--text-soft); }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  padding: clamp(104px, 13vw, 176px) 0;
  background: radial-gradient(60% 80% at 50% 50%, rgba(201, 155, 79, 0.14), transparent 70%), var(--navy-950);
  text-align: center;
}
.cta-mark { position: absolute; left: 50%; top: 50%; width: min(78vw, 680px); height: auto; translate: -50% -50%; opacity: 0.08; }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 24px; }
.cta .display { max-width: 14em; font-size: clamp(38px, 5vw, 68px); }
.cta .lead { max-width: 34em; }
.cta .actions { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand p { font-size: 15px; color: var(--text-soft); }
.footer-col h3 { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 15px; color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-faint); }

/* Motion */
@keyframes spin { to { rotate: 360deg; } }
.hero-mark img { animation: spin 120s linear infinite; }
.orbit-1 { animation: spin 40s linear infinite; }
.orbit-2 { animation: spin 28s linear infinite reverse; }
.cta-mark { animation: spin 200s linear infinite; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .solution-grid, .insight-grid { grid-template-columns: 1fr 1fr; }
  .company-grid, .deliver-grid { grid-template-columns: 1fr; }
  .company-intro { position: static; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: 4px; padding: 0;
    border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
  .site-header.open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .site-header.open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .header-cta { margin-left: auto; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; gap: 0; margin: 0;
    padding: 8px 16px 20px; background: var(--navy-900); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-mark { width: min(78%, 380px); order: -1; }
  .work-grid { grid-template-columns: 1fr; }
  .section-head-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --wrap: calc(100vw - 40px); }
  .steps, .solution-grid, .insight-grid, .principles { grid-template-columns: 1fr; }
  .built { gap: 18px; }
  .built-list { gap: 14px 24px; }
  .built-list a { font-size: 17px; }
  .work-banner, .work-body, .solution, .step { padding: 24px; }
  .work-banner { min-height: 200px; }
  .work-banner img { top: 24px; left: 24px; width: 60px; height: 60px; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; }
  .btn { padding: 14px 22px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark img, .orbit, .cta-mark { animation: none; }
  .btn, .stack li, .solution, .work-card, .insight, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}
