/* =========================================================
   ARTHA — Commercial Receivables Management
   Design system: Navy · Gold · Cream
   Fraunces (display) · Inter (body) · IBM Plex Mono (data)
   ========================================================= */

:root{
  --ink: #17181A;
  --ink-2: #212227;
  --ink-3: #2B2C31;
  --ink-4: #33343A70;
  --paper: #EDEAE4;
  --paper-2: #E4E0D8;
  --paper-3: #D8D3C8;

  --gold: #B87333;
  --gold-soft: #D3A068;
  --gold-deep: #8C5626;

  --line-on-dark: rgba(184,115,51,0.22);
  --line-on-dark-soft: rgba(184,115,51,0.10);
  --hair-on-dark: rgba(237,234,228,0.10);
  --line-on-light: rgba(23,24,26,0.14);
  --line-on-light-soft: rgba(23,24,26,0.07);

  --ink-text: #1D1E22;
  --muted-light: rgba(237,234,228,0.62);
  --muted-light-2: rgba(237,234,228,0.80);
  --muted-dark: rgba(29,30,34,0.66);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --shadow-card: 0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-soft: 0 14px 34px -18px rgba(23,24,26,0.4);
  --shadow-gold: 0 16px 34px -14px rgba(184,115,51,0.42);

  --ease: cubic-bezier(.2,.6,.2,1);
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 40px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html{ scroll-padding-top: 88px; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink);
  padding: 10px 16px; z-index: 300; font-weight: 600; text-decoration: none;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- Typography ---------- */
h1,h2,h3{ font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.015em; }

.eyebrow{
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 11px; color: var(--gold-soft); margin: 0 0 18px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before{ content:''; width: 26px; height: 1px; background: var(--gold); opacity: .8; }
.eyebrow-dark{ color: var(--gold-deep); }
.eyebrow-dark::before{ background: var(--gold-deep); }

.section-head{ max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-title{ font-size: clamp(29px, 4.2vw, 46px); line-height: 1.08; margin-bottom: 20px; max-width: 22ch; }
.section-title-light{ color: var(--paper); }
.section-sub{ max-width: 60ch; color: var(--muted-dark); font-size: clamp(15px, 1.6vw, 17px); font-weight: 400; margin: 0; }
.section-sub-light{ color: var(--muted-light-2); }

/* ---------- Ornament ---------- */
.ornament{ position: relative; height: 8px; width: 120px; margin-bottom: 26px; }
.ornament::before{ content:''; position:absolute; left:0; top:50%; width:100%; height:1px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--gold), rgba(184,115,51,0)); }
.ornament::after{ content:''; position:absolute; left:0; top:50%; width:6px; height:6px; background: var(--gold);
  transform: translate(0,-50%) rotate(45deg); }

/* ---------- Icons ---------- */
.ic{ width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm{ width: 17px; height: 17px; }
.ic-lg{ width: 34px; height: 34px; stroke-width: 1.3; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items:center; justify-content:center; gap: 9px;
  padding: 15px 30px; border-radius: 2px; font-weight: 600;
  text-decoration: none; font-size: 12.5px; border: 1px solid transparent;
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
  text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body);
  cursor: pointer; line-height: 1;
}
.btn-gold{ background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(184,115,51,0.55); }
.btn-ghost{ border-color: rgba(237,234,228,0.32); color: var(--paper); }
.btn-ghost:hover{ border-color: var(--gold); background: rgba(184,115,51,0.08); color: var(--gold-soft); transform: translateY(-2px); }
.btn-block{ width: 100%; }
.btn .ic{ stroke-width: 1.6; }

.ghost-link{
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted-light-2);
  transition: color .2s var(--ease);
}
.ghost-link:hover{ color: var(--gold-soft); }
.ghost-link .ic{ color: var(--gold); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(23,24,26,0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled{
  background: rgba(18,19,21,0.94);
  border-bottom-color: var(--line-on-dark);
  box-shadow: 0 10px 30px -22px rgba(0,0,0,0.8);
}
.header-row{ display:flex; align-items:center; gap: 30px; padding: 15px var(--pad); color: var(--paper); }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--paper); margin-right: auto; }
.brand-mark{ filter: drop-shadow(0 2px 8px rgba(184,115,51,0.28)); }
.brand-word{ display:flex; flex-direction: column; line-height: 1.25; }
.brand-en{ font-family: var(--font-display); font-size: 18px; letter-spacing: 0.22em; font-weight: 600; }
.brand-sub{ font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--gold-soft); text-transform: uppercase; margin-top: 2px; }

.main-nav{ display:flex; gap: 30px; font-size: 13.5px; letter-spacing: 0.02em; }
.main-nav a{ text-decoration:none; color: var(--muted-light-2); transition: color .18s; position: relative; padding: 4px 0; }
.main-nav a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--gold); transition: width .25s var(--ease); }
.main-nav a:hover{ color: var(--paper); }
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display:flex; align-items:center; gap: 22px; }
.nav-cta{ padding: 12px 22px; font-size: 11.5px; }

.menu-toggle{ display:none; background:none; border:0; padding:8px; cursor:pointer; }
.menu-toggle span{ display:block; width:24px; height:1.5px; background:var(--gold); margin:5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{ display:none; flex-direction:column; gap: 4px; padding: 8px var(--pad) 26px; background: rgba(18,19,21,0.98); border-top:1px solid var(--line-on-dark); }
.mobile-nav a{ text-decoration:none; color: var(--muted-light-2); font-size: 15px; padding: 13px 0; border-bottom: 1px solid var(--hair-on-dark); }
.mobile-nav a.btn{ border: 1px solid transparent; justify-content: center; margin-top: 16px; padding: 15px; }
.mobile-nav .ghost-link{ border-bottom: none; padding-top: 18px; justify-content: center; }
.mobile-nav.open{ display:flex; animation: fadeDown .3s var(--ease); }
@keyframes fadeDown{ from{ opacity:0; transform: translateY(-8px);} to{ opacity:1; transform:none;} }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 900px 560px at 12% -10%, rgba(184,115,51,0.12), transparent 60%),
    radial-gradient(ellipse 800px 560px at 105% 8%, rgba(184,115,51,0.07), transparent 55%),
    var(--ink);
  color: var(--paper);
  padding: clamp(70px, 10vw, 118px) 0 clamp(64px, 8vw, 96px);
  margin-top: -1px;
}
.hero-grid-lines{
  position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:
    repeating-linear-gradient(90deg, rgba(184,115,51,0.05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(184,115,51,0.035) 0 1px, transparent 1px 88px);
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, #000 30%, transparent 78%);
}
.hero-watermark{
  position:absolute; right: -70px; top: 50%; transform: translateY(-50%);
  width: min(560px, 60vw); opacity: 0.04; pointer-events:none; z-index:0;
}
.hero-grid{ display:grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 68px); align-items:center; position: relative; z-index: 1; }
.hero h1{ font-size: clamp(38px, 5.6vw, 66px); line-height: 1.03; color: var(--paper); font-weight: 500; letter-spacing: -0.02em; }
.hero-h1-accent{ color: var(--gold); font-style: italic; font-weight: 500; }
.hero-sub{ margin: 26px 0 0; max-width: 50ch; color: var(--muted-light-2); font-size: clamp(15.5px, 1.7vw, 17.5px); font-weight: 300; }
.hero-tagline{ margin: 24px 0 34px; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-soft); }
.hero-tagline span{ position: relative; padding-left: 40px; }
.hero-tagline span::before{ content:''; position:absolute; left:0; top:50%; width:28px; height:1px; background: var(--gold); }
.hero-actions{ display:flex; gap: 14px; flex-wrap: wrap; }
.hero-trust{ margin: 26px 0 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted-light); text-transform: uppercase; }
.hero-trust .dot{ color: var(--gold); margin: 0 6px; }

/* ----- Recovery Case dashboard ----- */
.case-card{
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 70%);
  border: 1px solid var(--line-on-dark); border-radius: 4px;
  padding: 26px 28px 28px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-card::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background: repeating-linear-gradient(115deg, rgba(184,115,51,0.03) 0 1px, transparent 1px 60px);
}
.case-card.framed::before{
  content:''; position:absolute; top:9px; left:9px; right:9px; bottom:9px;
  border: 1px solid var(--line-on-dark-soft); border-radius: 2px; pointer-events:none;
}
.case-card-head{ display:flex; justify-content: space-between; align-items:center; padding-bottom: 16px; border-bottom: 1px solid var(--line-on-dark); margin-bottom: 6px; position: relative; z-index:1; }
.case-tag{ font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold-soft); text-transform: uppercase; display:inline-flex; align-items:center; gap:9px; font-weight:500; }
.case-sample{ font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted-light); text-transform: uppercase; border: 1px solid var(--line-on-dark); padding: 3px 8px; border-radius: 2px; }
.case-rows{ margin:0; position: relative; z-index:1; }
.case-row{ display:flex; justify-content: space-between; align-items:center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hair-on-dark); font-family: var(--font-mono); font-size: 13px; }
.case-row:last-child{ border-bottom: none; }
.case-row dt{ color: var(--muted-light); font-weight:400; letter-spacing: 0.02em; }
.case-row dd{ margin:0; color: var(--paper); text-align: right; }
.case-row.emphasis dd{ color: var(--gold-soft); font-size: 16px; font-weight: 600; }
.status-active{ color: #8FD4A0 !important; display:inline-flex; align-items:center; gap: 7px; }
.pulse{ width: 7px; height: 7px; border-radius: 50%; background: #6FCB86; box-shadow: 0 0 0 0 rgba(111,203,134,0.6); animation: pulse 2s infinite; flex:none; }
.case-tag .pulse{ background: var(--gold); box-shadow: 0 0 0 0 rgba(184,115,51,0.6); }
@keyframes pulse{ 0%{ box-shadow: 0 0 0 0 rgba(111,203,134,0.5);} 70%{ box-shadow: 0 0 0 6px rgba(111,203,134,0);} 100%{ box-shadow: 0 0 0 0 rgba(111,203,134,0);} }

.case-progress{ margin-top: 18px; position: relative; z-index:1; }
.case-progress-head{ display:flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 9px; }
.case-progress-val{ color: var(--gold-soft); font-weight: 600; }
.progress-track{ height: 6px; background: rgba(237,234,228,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill{ display:block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 3px; transition: width 1.4s var(--ease); }
.progress-fill.animate{ width: var(--target); }

.case-stages{ list-style:none; display:flex; margin: 22px 0 0; padding: 0; position: relative; z-index:1; counter-reset: st; }
.case-stages li{ flex:1; text-align:center; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-light); position: relative; padding-top: 16px; }
.case-stages li::before{ content:''; position:absolute; top: 3px; left:50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius:50%; border: 1px solid var(--line-on-dark); background: var(--ink-2); z-index:1; }
.case-stages li::after{ content:''; position:absolute; top: 6.5px; left: 50%; width: 100%; height:1px; background: var(--line-on-dark); }
.case-stages li:last-child::after{ display:none; }
.case-stages li.done{ color: var(--gold-soft); }
.case-stages li.done::before{ background: var(--gold); border-color: var(--gold); }
.case-stages li.done::after{ background: var(--gold); }
.case-stages li.current{ color: var(--paper); }
.case-stages li.current::before{ background: var(--ink); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,115,51,0.2); }

/* =========================================================
   Shared section paddings & textures
   ========================================================= */
section{ padding: clamp(64px, 8vw, 104px) 0; position: relative; }

.value, .cashflow, .journey, .industries, .why, .faq{ background: var(--paper); }
.value{ background: var(--paper); }
.problem, .process, .services, .casestudy, .about, .contact{ background: var(--ink); color: var(--paper); }

/* faint ledger-rule texture on light sections */
.value, .journey, .industries, .why, .faq{
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(23,24,26,0.028) 33px 34px);
}
/* subtle gold weave on dark sections */
.problem, .process, .services, .about, .contact{
  background-image:
    radial-gradient(ellipse 900px 400px at 90% -5%, rgba(184,115,51,0.05), transparent 60%),
    repeating-linear-gradient(115deg, rgba(184,115,51,0.018) 0 1px, transparent 1px 66px);
}
.cashflow{ background: var(--paper-2); }

/* =========================================================
   VALUE / TRUST
   ========================================================= */
.value-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
.value-card{ background: var(--paper); padding: 34px 28px; display:flex; flex-direction: column; gap: 14px; position: relative; transition: background .25s var(--ease); }
.value-card:hover{ background: var(--paper-2); }
.value-no{ font-family: var(--font-mono); font-size: 11px; color: var(--gold-deep); letter-spacing: 0.1em; }
.value-card .ic-lg{ color: var(--gold-deep); margin-top: 4px; }
.value-card h3{ font-size: 20px; font-weight: 500; margin-top: 4px; }
.value-card p{ margin:0; color: var(--muted-dark); font-size: 14.5px; }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-list{ list-style:none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-on-dark); }
.problem-list li{
  display:flex; align-items:center; gap: 16px; padding: 20px 4px; font-size: 16px; color: var(--muted-light-2);
  border-bottom: 1px solid var(--line-on-dark); font-weight: 300;
}
.problem-list li:nth-child(odd){ border-right: 1px solid var(--line-on-dark); padding-right: 28px; }
.problem-list li:nth-child(even){ padding-left: 28px; }
.tick{ width: 22px; height: 22px; flex:none; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.tick::before{ content:''; position:absolute; left:6px; top:10px; width:4px; height:7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); }

/* =========================================================
   CASH FLOW
   ========================================================= */
.cashflow-grid{ display:grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 68px); align-items:center; }
.pull-quote{
  margin: 30px 0 0; padding: 18px 0 4px 26px; border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 2.4vw, 25px);
  color: var(--ink-text); font-weight: 500; line-height: 1.35;
}
.cashflow-figure{ margin: 0; }
.cashflow-svg{ width: 100%; height: auto; overflow: visible; }
.cf-grid line{ stroke: var(--line-on-light-soft); stroke-width: 1; }
.cf-area{ opacity: 0; animation: fadeIn 1.2s var(--ease) .3s forwards; }
.cf-line{ fill:none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620; }
.cf-line.draw{ animation: draw 1.6s var(--ease) forwards; }
.cf-nodes circle{ fill: var(--paper-2); stroke: var(--gold); stroke-width: 2; }
.cf-nodes circle.low{ fill: var(--gold-deep); stroke: var(--gold-deep); }
.cf-nodes circle.high{ fill: var(--gold); }
@keyframes draw{ to{ stroke-dashoffset: 0; } }
@keyframes fadeIn{ to{ opacity: 1; } }
.cashflow-steps{ list-style:none; display:flex; flex-wrap: wrap; gap: 8px 6px; margin: 22px 0 0; padding: 0; counter-reset: cf; }
.cashflow-steps li{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted-dark);
  padding: 6px 12px; border: 1px solid var(--line-on-light); border-radius: 2px; background: var(--paper); }
.cashflow-steps li.low{ color: var(--gold-deep); border-color: var(--gold-deep); }
.cashflow-steps li.high{ color: var(--ink); border-color: var(--gold); background: rgba(184,115,51,0.14); }

/* =========================================================
   PROCESS — 5-stage timeline
   ========================================================= */
.stage-timeline{ list-style:none; margin: 0; padding: 0; display:grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.stage-timeline::before{ content:''; position:absolute; top: 21px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); z-index:0; transform-origin: left center; }
.js .stage-timeline::before{ transform: scaleX(0); }
.js .stage-timeline.activate::before{ animation: lineGrowX 1.1s var(--ease) forwards; }
@keyframes lineGrowX{ to{ transform: scaleX(1); } }
.stage{ position: relative; padding: 0 16px; text-align: left; }
.stage:first-child{ padding-left: 0; }
.stage-node{ width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); position: relative; z-index: 1; display:block; margin: 15px 0 24px; box-shadow: 0 0 0 6px var(--ink); }
.stage-no{ font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.stage h3{ color: var(--paper); font-size: 21px; font-weight: 500; margin: 0 0 10px; }
.stage p{ margin: 0; color: var(--muted-light); font-size: 14px; font-weight: 300; max-width: 22ch; }

/* =========================================================
   RECOVERY JOURNEY
   ========================================================= */
.journey-map{ list-style:none; margin: 0; padding: 0; display:flex; align-items:flex-start; position: relative; }
.journey-map::before{ content:''; position:absolute; top: 7px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line-on-light)); z-index: 0; transform-origin: left center; }
.js .journey-map::before{ transform: scaleX(0); }
.js .journey-map.activate::before{ animation: lineGrowX 1.2s var(--ease) forwards; }
.jstep{ flex:1; position: relative; text-align:center; padding: 22px 6px 0; }
.jstep-dot{ position:absolute; top: 0; left:50%; transform: translateX(-50%); width: 15px; height: 15px; border-radius:50%; background: var(--paper); border: 1px solid var(--gold); z-index:1; }
.jstep-dot::after{ content:''; position:absolute; inset: 3px; border-radius:50%; background: var(--gold); opacity:.35; }
.jstep-label{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-dark); display:block; }
.jstep.alert .jstep-dot{ border-color: var(--gold-deep); }
.jstep.alert .jstep-dot::after{ background: var(--gold-deep); opacity: 1; }
.jstep.alert .jstep-label{ color: var(--gold-deep); }
.jstep.resolved .jstep-dot{ background: var(--gold); border-color: var(--gold); }
.jstep.resolved .jstep-dot::after{ background: var(--ink); opacity:1; inset:4px; }
.jstep.resolved .jstep-label{ color: var(--ink); font-weight: 600; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-dark); border: 1px solid var(--line-on-dark); }
.service-card{
  background: var(--ink); padding: 30px 26px; display:flex; flex-direction: column; gap: 12px;
  border-top: 2px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover{ background: var(--ink-2); border-top-color: var(--gold); }
.service-top{ display:flex; align-items:center; justify-content: space-between; }
.service-no{ font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; }
.service-card .ic{ color: var(--gold-soft); transition: transform .3s var(--ease); }
.service-card:hover .ic{ transform: translateY(-2px) scale(1.06); }
.service-card h3{ color: var(--paper); font-size: 16.5px; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.01em; line-height: 1.32; margin-top: 4px; }
.service-card p{ margin:0; color: var(--muted-light); font-size: 13.5px; font-weight: 300; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industry-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
.industry-card{ background: var(--paper); padding: 34px 26px; display:flex; flex-direction: column; gap: 18px; transition: background .25s var(--ease); }
.industry-card:hover{ background: var(--paper-2); }
.industry-card .ic-lg{ color: var(--gold-deep); }
.industry-card h3{ font-size: 16px; font-weight: 500; font-family: var(--font-display); }

/* =========================================================
   CASE STUDY
   ========================================================= */
.casestudy{ overflow: hidden; }
.casestudy-watermark{ position:absolute; left: -60px; bottom: -60px; width: min(420px, 45vw); opacity: 0.04; pointer-events:none; }
.casestudy-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 64px); align-items:center; position: relative; z-index:1; }
.casestudy-flow{ list-style:none; margin: 34px 0 0; padding: 0; display:flex; flex-wrap: wrap; align-items:center; gap: 10px; }
.casestudy-flow li{ font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-light);
  padding: 8px 14px; border: 1px solid var(--line-on-dark); border-radius: 2px; position: relative; }
.casestudy-flow li:not(:last-child)::after{ content:'→'; position: absolute; right: -13px; top:50%; transform: translateY(-50%); color: var(--gold); font-size: 11px; }
.casestudy-flow li.done{ color: var(--gold-soft); border-color: var(--line-on-dark); background: rgba(184,115,51,0.06); }
.casestudy-flow li.current{ color: var(--ink); background: var(--gold); border-color: var(--gold); font-weight: 600; }

/* =========================================================
   WHY ARTHA
   ========================================================= */
.why-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
.why-item{ background: var(--paper); padding: 30px 24px; display:flex; flex-direction: column; gap: 14px; min-height: 128px; transition: background .25s var(--ease); }
.why-item:hover{ background: var(--paper-2); }
.why-no{ font-family: var(--font-mono); font-size: 11px; color: var(--gold-deep); letter-spacing: 0.12em; }
.why-item h3{ font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-top: auto; }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ overflow: hidden; }
.about-watermark{ position:absolute; right: -80px; top: -40px; width: min(460px, 48vw); opacity: 0.035; pointer-events:none; }
.about-grid{ display:grid; grid-template-columns: 150px 1fr; gap: clamp(32px, 5vw, 56px); align-items:start; position: relative; z-index:1; }
.about-mark{ position: relative; padding: 20px; }
.about-mark::before{ content:''; position:absolute; inset:0; border: 1px solid var(--line-on-dark); }
.about-mark::after{ content:''; position:absolute; top:8px; left:8px; width:14px; height:14px; border-top:1px solid var(--gold); border-left:1px solid var(--gold); }
.about-mark img{ opacity: .92; }
.about-copy .lede{ font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 23px); font-style: italic; color: var(--paper); font-weight: 500; margin: 0 0 20px; max-width: 40ch; line-height: 1.4; }
.about-copy p{ color: var(--muted-light-2); max-width: 64ch; margin: 0; font-size: 15.5px; font-weight: 300; }
.about-copy strong{ color: var(--gold-soft); font-weight: 500; }

.vm-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(40px, 6vw, 60px); background: var(--line-on-dark); border: 1px solid var(--line-on-dark); position: relative; z-index:1; }
.vm-card{ background: var(--ink-2); padding: 38px 34px; }
.vm-numeral{ font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--gold); display:block; margin-bottom: 16px; }
.vm-card .eyebrow{ margin-bottom: 14px; }
.vm-text{ color: var(--muted-light-2); font-size: 15.5px; max-width: 44ch; margin:0; font-weight: 300; }

.founder-row{ display:flex; align-items:baseline; gap: 18px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line-on-dark); position: relative; z-index:1; }
.founder-label{ font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-light); margin:0; }
.founder-name{ font-family: var(--font-display); font-style: italic; font-size: 22px; margin:0; color: var(--paper); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list{ max-width: 820px; border-top: 1px solid var(--line-on-light); }
.faq-item{ border-bottom: 1px solid var(--line-on-light); }
.faq-item summary{
  list-style: none; cursor: pointer; padding: 24px 0; display:flex; align-items:center; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 20px); font-weight: 500; color: var(--ink-text);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color: var(--gold-deep); }
.faq-icon{ width: 18px; height: 18px; flex:none; position: relative; }
.faq-icon::before, .faq-icon::after{ content:''; position:absolute; top:50%; left:50%; background: var(--gold-deep); transition: transform .3s var(--ease); }
.faq-icon::before{ width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-icon::after{ width: 1.5px; height: 14px; transform: translate(-50%,-50%); }
.faq-item[open] .faq-icon::after{ transform: translate(-50%,-50%) scaleY(0); }
.faq-body{ overflow: hidden; }
.faq-body p{ margin: 0; padding: 0 44px 26px 0; color: var(--muted-dark); font-size: 15.5px; max-width: 68ch; font-weight: 400; }
.faq-item[open] summary{ color: var(--gold-deep); }

/* =========================================================
   CONTACT / FINAL CTA + FORM
   ========================================================= */
.contact{ overflow: hidden; }
.contact-watermark{ position:absolute; right: -70px; bottom: -70px; width: min(440px, 46vw); opacity: 0.04; pointer-events:none; }
.contact-intro{ max-width: 760px; text-align: center; margin-left:auto; margin-right:auto; margin-bottom: clamp(44px, 6vw, 64px); position: relative; z-index:1; }
.contact-intro .eyebrow{ justify-content: center; }
.contact-intro .section-title{ margin-left:auto; margin-right:auto; max-width: 24ch; }
.contact-intro .section-sub{ margin-left:auto; margin-right:auto; }
.contact-cta-row{ display:flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; }
.contact-intro .hero-trust{ text-align:center; }

.contact-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 60px); align-items:start; position: relative; z-index:1; }
.contact-list{ list-style:none; padding:0; margin: 0; border-top: 1px solid var(--line-on-dark); }
.contact-list li{ display:flex; flex-direction:column; gap:5px; padding: 20px 0; border-bottom: 1px solid var(--line-on-dark); }
.contact-list li span:first-child{ font-family: var(--font-mono); font-size: 10px; text-transform:uppercase; letter-spacing:0.14em; color: var(--muted-light); }
.contact-list li a{ text-decoration:none; color: var(--gold-soft); font-size: 19px; font-family: var(--font-display); transition: color .2s; }
.contact-list li a:hover{ color: var(--gold); }
.contact-plain{ color: var(--muted-light-2); font-size: 15px; font-weight: 300; }
.contact-note{ margin: 22px 0 0; color: var(--muted-light); font-size: 13.5px; font-weight: 300; font-style: italic; }

.case-form{
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2) 75%);
  border: 1px solid var(--line-on-dark); padding: clamp(24px, 3vw, 34px); border-radius: 4px;
  display:flex; flex-direction:column; gap: 16px; box-shadow: var(--shadow-card);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-form label{ display:flex; flex-direction:column; gap:7px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted-light); text-transform: uppercase; font-family: var(--font-mono); }
.case-form label em{ color: var(--gold); font-style: normal; }
.case-form input, .case-form select, .case-form textarea{
  background: rgba(23,24,26,0.6); border: 1px solid var(--line-on-dark); color: var(--paper);
  padding: 12px 14px; border-radius: 2px; font-family: var(--font-body); font-size: 14.5px;
  text-transform: none; letter-spacing: normal; transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.case-form textarea{ resize: vertical; min-height: 84px; }
.case-form select{ appearance: none; -webkit-appearance:none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: right 16px center, right 11px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.case-form input:focus, .case-form select:focus, .case-form textarea:focus{ border-color: var(--gold); background: rgba(23,24,26,0.85); outline: none; }
.case-form [aria-invalid="true"]{ border-color: #C97B6B; }
.case-form input::placeholder, .case-form textarea::placeholder{ color: rgba(237,234,228,0.35); }
.case-form .btn{ margin-top: 4px; }
.form-note{ font-size: 12px; color: var(--muted-light); margin: 2px 0 0; font-style: italic; line-height: 1.5; font-weight: 300; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: #101113; border-top: 1px solid var(--line-on-dark); padding: clamp(48px, 6vw, 66px) 0 30px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hair-on-dark); }
.footer-brand .brand-footer{ display:flex; align-items:center; gap: 12px; }
.footer-brand .brand-en{ font-family: var(--font-display); font-size: 19px; letter-spacing: 0.22em; color: var(--paper); }
.footer-brand .brand-sub{ font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--gold-soft); text-transform: uppercase; }
.footer-tag{ font-family: var(--font-display); font-style: italic; color: var(--gold-soft); margin: 20px 0 22px; font-size: 18px; }
.footer-cta{ padding: 13px 24px; font-size: 11.5px; }
.footer-col-title{ font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-light); margin: 0 0 18px; }
.footer-nav{ display:flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a{ text-decoration:none; color: var(--muted-light-2); font-size: 14px; transition: color .2s; display:inline-flex; align-items:center; gap: 9px; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover{ color: var(--gold-soft); }
.footer-contact{ display:flex; flex-direction: column; gap: 12px; }
.footer-contact .ic{ color: var(--gold); }
.footer-area{ color: var(--muted-light); font-size: 13px; font-weight: 300; margin: 8px 0 0; max-width: 30ch; }

.footer-bottom{ display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; }
.footer-copy{ margin:0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--muted-light); }
.footer-legal{ display:flex; gap: 24px; }
.footer-legal a{ text-decoration:none; color: var(--muted-light); font-size: 12px; transition: color .2s; }
.footer-legal a:hover{ color: var(--gold-soft); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
/* content is visible by default; reveal animation only applies when JS is active */
.js .reveal{ opacity: 0; transform: translateY(26px); filter: blur(7px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); will-change: opacity, transform, filter; }
.js .reveal.in{ opacity: 1; transform: none; filter: blur(0); }
.value-grid .reveal, .service-grid .reveal, .industry-grid .reveal, .why-grid .reveal, .faq-list .reveal{ transition-delay: var(--d, 0s); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .value-grid, .service-grid, .industry-grid, .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .stage-timeline{ grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 920px){
  .main-nav, .header-actions{ display:none; }
  .menu-toggle{ display:block; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 460px; }
  .cashflow-grid, .casestudy-grid, .contact-grid, .about-grid{ grid-template-columns: 1fr; }
  .about-mark{ width: fit-content; }
  .vm-grid{ grid-template-columns: 1fr; }
  .problem-list{ grid-template-columns: 1fr; }
  .problem-list li:nth-child(odd){ border-right: none; padding-right: 4px; }
  .problem-list li:nth-child(even){ padding-left: 4px; }

  /* PROCESS -> vertical */
  .stage-timeline{ grid-template-columns: 1fr; gap: 0; }
  .stage-timeline::before{ top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; background: linear-gradient(to bottom, var(--gold-deep), var(--gold)); }
  .stage, .stage:first-child{ padding: 0 0 30px 32px; }
  .stage:last-child{ padding-bottom: 0; }
  .stage-node{ position:absolute; left: 0; top: 4px; margin: 0; }
  .stage p{ max-width: none; }

  /* JOURNEY -> vertical */
  .journey-map{ flex-direction: column; align-items: stretch; }
  .journey-map::before{ top: 0; bottom: 0; left: 7px; right:auto; width: 1px; height:auto; }
  .jstep{ text-align: left; padding: 0 0 26px 30px; }
  .jstep:last-child{ padding-bottom: 0; }
  .jstep-dot{ left: 0; top: 2px; transform: none; }
}

@media (max-width: 560px){
  :root{ --pad: 20px; }
  .value-grid, .service-grid, .industry-grid, .why-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-cta-row .btn{ width: 100%; }
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .case-stages li{ font-size: 7.5px; }
  .case-row.emphasis dd{ font-size: 15px; }
  .hero-tagline span{ padding-left: 0; }
  .hero-tagline span::before{ display:none; }
}

@media (max-width: 380px){
  .case-card{ padding: 22px 20px; }
  .case-row{ font-size: 12px; }
  .casestudy-flow li:not(:last-child)::after{ display:none; }
}

/* =========================================================
   PREMIUM ANIMATION LAYER
   ========================================================= */

/* Scroll progress indicator */
.scroll-progress{
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-soft));
  box-shadow: 0 0 12px rgba(184,115,51,0.55);
  transition: width .12s linear;
}

/* Subtle film grain for an expensive, tactile feel */
.grain{
  position: fixed; inset: 0; z-index: 190; pointer-events: none; opacity: 0.5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* Choreographed hero intro */
@keyframes heroUp{ from{ opacity:0; transform: translateY(28px); } to{ opacity:1; transform:none; } }
@keyframes heroCard{ from{ opacity:0; transform: translateY(34px) scale(.97); } to{ opacity:1; transform:none; } }
.js .hero-anim > *{ opacity: 0; animation: heroUp .95s var(--ease) forwards; }
.js .hero-anim .eyebrow{ animation-delay: .05s; }
.js .hero-anim h1{ animation-delay: .16s; }
.js .hero-anim .hero-sub{ animation-delay: .32s; }
.js .hero-anim .hero-tagline{ animation-delay: .44s; }
.js .hero-anim .hero-actions{ animation-delay: .56s; }
.js .hero-anim .hero-trust{ animation-delay: .68s; }
.js .hero-anim-card{ opacity: 0; animation: heroCard 1.1s var(--ease) .5s forwards; perspective: 1200px; }

/* Ambient gold glow behind the case card */
.hero-anim-card{ position: relative; }
.hero-anim-card::before{
  content:''; position:absolute; inset: 4% 6%; z-index:-1; border-radius: 40px;
  background: radial-gradient(circle at 50% 42%, rgba(184,115,51,0.22), transparent 62%);
  filter: blur(34px); animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse{ 0%,100%{ opacity:.55; } 50%{ opacity:1; } }

/* Case card float + interactive 3D tilt */
.hero .case-card{ animation: cardFloat 6.5s ease-in-out infinite; transition: transform .3s var(--ease); transform-style: preserve-3d; }
@keyframes cardFloat{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
.hero-anim-card.tilting .case-card{ animation: none; transform: rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)) translateY(-2px); }

/* Sweeping sheen across the card (slow, faint) */
.hero .case-card .case-card-head{ position: relative; }
.hero .case-card::after{
  background:
    repeating-linear-gradient(115deg, rgba(184,115,51,0.03) 0 1px, transparent 1px 60px),
    linear-gradient(105deg, transparent 40%, rgba(237,234,228,0.05) 48%, transparent 56%);
  background-size: auto, 250% 100%;
  animation: cardSheen 7s ease-in-out infinite;
}
@keyframes cardSheen{ 0%,100%{ background-position: 0 0, 130% 0; } 55%{ background-position: 0 0, -30% 0; } }

/* Gold sheen sweeping the italic accent headline */
.js .hero-h1-accent{
  background: linear-gradient(100deg, var(--gold) 24%, var(--gold-soft) 44%, #FFF6E4 50%, var(--gold-soft) 56%, var(--gold) 76%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen{ to{ background-position: -220% center; } }

/* Shine sweep on gold buttons */
.btn-gold{ overflow: hidden; }
.btn-gold::after{
  content:''; position:absolute; top:0; left:-140%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-gold:hover::after{ animation: btnSweep .85s var(--ease); }
@keyframes btnSweep{ from{ left:-140%; } to{ left: 150%; } }

/* Premium card hover: lift + glow */
.value-card, .industry-card, .why-item{ position: relative; transition: background .3s var(--ease), transform .38s var(--ease), box-shadow .38s var(--ease); }
.value-card:hover, .industry-card:hover, .why-item:hover{ transform: translateY(-5px); box-shadow: 0 26px 44px -28px rgba(23,24,26,0.55); z-index: 2; }
.value-card .ic-lg, .industry-card .ic-lg{ transition: transform .4s var(--ease), color .3s var(--ease); }
.value-card:hover .ic-lg, .industry-card:hover .ic-lg{ transform: translateY(-3px) scale(1.08); color: var(--gold); }
.service-card{ position: relative; }
.service-card:hover{ transform: translateY(-5px); box-shadow: 0 28px 46px -26px rgba(0,0,0,0.6); z-index: 2; }
.faq-item summary:hover .faq-icon{ transform: rotate(90deg); transition: transform .3s var(--ease); }

/* Sequential node activation — process timeline */
.js .stage-node{ transform: scale(0); opacity: 0; transition: transform .55s var(--ease), opacity .4s var(--ease); }
.js .stage-timeline.activate .stage-node{ transform: scale(1); opacity: 1; }
.js .stage-timeline.activate .stage:nth-child(1) .stage-node{ transition-delay: .15s; }
.js .stage-timeline.activate .stage:nth-child(2) .stage-node{ transition-delay: .33s; }
.js .stage-timeline.activate .stage:nth-child(3) .stage-node{ transition-delay: .51s; }
.js .stage-timeline.activate .stage:nth-child(4) .stage-node{ transition-delay: .69s; }
.js .stage-timeline.activate .stage:nth-child(5) .stage-node{ transition-delay: .87s; }

/* Sequential dot activation — journey */
.js .jstep-dot{ transform: translateX(-50%) scale(0); transition: transform .5s var(--ease); }
.js .journey-map.activate .jstep-dot{ transform: translateX(-50%) scale(1); }
.js .journey-map.activate .jstep:nth-child(1) .jstep-dot{ transition-delay: .2s; }
.js .journey-map.activate .jstep:nth-child(2) .jstep-dot{ transition-delay: .35s; }
.js .journey-map.activate .jstep:nth-child(3) .jstep-dot{ transition-delay: .5s; }
.js .journey-map.activate .jstep:nth-child(4) .jstep-dot{ transition-delay: .65s; }
.js .journey-map.activate .jstep:nth-child(5) .jstep-dot{ transition-delay: .8s; }
.js .journey-map.activate .jstep:nth-child(6) .jstep-dot{ transition-delay: .95s; }
.js .journey-map.activate .jstep:nth-child(7) .jstep-dot{ transition-delay: 1.1s; }

/* Cash-flow nodes pop after the line draws */
.js .cf-nodes circle{ opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box; }
.js .cf-line.draw ~ .cf-nodes circle{ animation: nodePop .5s var(--ease) forwards; }
.js .cf-line.draw ~ .cf-nodes circle:nth-child(1){ animation-delay: .5s; }
.js .cf-line.draw ~ .cf-nodes circle:nth-child(2){ animation-delay: .8s; }
.js .cf-line.draw ~ .cf-nodes circle:nth-child(3){ animation-delay: 1.1s; }
.js .cf-line.draw ~ .cf-nodes circle:nth-child(4){ animation-delay: 1.4s; }
.js .cf-line.draw ~ .cf-nodes circle:nth-child(5){ animation-delay: 1.7s; }
@keyframes nodePop{ to{ opacity: 1; transform: scale(1); } }

/* Nav scroll-spy active state */
.main-nav a.active{ color: var(--paper); }
.main-nav a.active::after{ width: 100%; }

/* Vertical mobile timelines draw top-to-bottom */
@media (max-width: 920px){
  .js .stage-timeline::before{ transform: scaleY(0); transform-origin: top center; }
  .js .stage-timeline.activate::before{ animation: lineGrowY 1.1s var(--ease) forwards; }
  .js .journey-map::before{ transform: scaleY(0); transform-origin: top center; }
  .js .journey-map.activate::before{ animation: lineGrowY 1.2s var(--ease) forwards; }
  .hero .case-card{ animation: none; }
}
@keyframes lineGrowY{ to{ transform: scaleY(1); } }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float{ position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 195; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab{
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55), 0 6px 16px -6px rgba(0,0,0,0.4);
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover{ transform: scale(1.07) translateY(-1px); box-shadow: 0 18px 38px -8px rgba(37,211,102,0.65); }
.wa-fab-icon{ width: 32px; height: 32px; }
.wa-fab-ping{ position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPing 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes waPing{ 0%{ transform: scale(1); opacity: .7; } 70%,100%{ transform: scale(1.7); opacity: 0; } }

.wa-bubble{
  position: relative; max-width: 264px; background: linear-gradient(165deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-on-dark); border-radius: 12px; padding: 18px 20px 20px; color: var(--paper);
  box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-bubble.show{ opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble::after{ content:''; position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px; background: var(--ink-2); border-right: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); transform: rotate(45deg); }
.wa-bubble-close{ position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted-light); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; transition: color .2s; }
.wa-bubble-close:hover{ color: var(--gold-soft); }
.wa-bubble-title{ font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #6FCB86; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.wa-bubble-title::before{ content:''; width: 7px; height: 7px; border-radius: 50%; background: #6FCB86; box-shadow: 0 0 0 0 rgba(111,203,134,0.6); animation: pulse 2s infinite; }
.wa-bubble-text{ margin: 0 0 14px; font-size: 13.5px; color: var(--muted-light-2); font-weight: 300; line-height: 1.5; }
.wa-bubble-cta{ display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 10px 16px; border-radius: 3px; text-decoration: none; transition: background .2s var(--ease); }
.wa-bubble-cta:hover{ background: var(--gold-soft); }

@media (max-width: 560px){
  .wa-fab{ width: 52px; height: 52px; }
  .wa-fab-icon{ width: 28px; height: 28px; }
  .wa-bubble{ max-width: min(72vw, 260px); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .wa-fab-ping{ display: none !important; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal{ opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-anim > *, .hero-anim-card{ opacity: 1 !important; animation: none !important; }
  .cf-line{ stroke-dashoffset: 0 !important; }
  .cf-area{ opacity: 1 !important; }
  .cf-nodes circle{ opacity: 1 !important; transform: none !important; }
  .progress-fill{ width: var(--target) !important; }
  .stage-node, .jstep-dot{ transform: none !important; opacity: 1 !important; }
  .js .stage-timeline::before, .js .journey-map::before{ transform: none !important; }
  .grain, .scroll-progress{ display: none !important; }
  .hero-h1-accent{ -webkit-text-fill-color: var(--gold) !important; color: var(--gold) !important; }
}

/* =========================================================
   SANSKRIT WORDMARK — अर्थ (Artha)
   ========================================================= */
.brand-lockup{ display:inline-flex; align-items:center; gap:10px; }
.brand-sanskrit{
  font-family:'Tiro Devanagari Sanskrit', var(--font-display), serif;
  color: var(--gold); font-size:19px; font-weight:400; line-height:1;
  position:relative; padding-left:11px; transform:translateY(1px);
}
.brand-sanskrit::before{
  content:''; position:absolute; left:0; top:12%; height:76%; width:1px;
  background: var(--line-on-dark);
}
.hero-sanskrit{
  position:absolute; right:1.5%; top:50%; transform:translateY(-50%);
  font-family:'Tiro Devanagari Sanskrit', serif;
  font-size: min(360px, 36vw); line-height:1; color: var(--gold);
  opacity:0.055; pointer-events:none; z-index:0; user-select:none; white-space:nowrap;
}
@media (max-width:760px){ .hero-sanskrit{ font-size:230px; opacity:0.05; right:-6%; } }

/* =========================================================
   BLOG / INSIGHTS
   ========================================================= */
.page-hero{ background: var(--ink); color: var(--paper); padding: clamp(46px,7vw,86px) 0 clamp(38px,6vw,60px); border-bottom: 1px solid var(--line-on-dark); position: relative; overflow: hidden; }
.page-hero .wrap{ position: relative; z-index: 1; }
.page-hero::after{ content:''; position:absolute; right:-4%; top:-46%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(184,115,51,0.16), transparent 62%); pointer-events:none; }
.page-hero .deva-wm{ position:absolute; right: -2%; bottom: -58%; font-family: 'Tiro Devanagari Sanskrit', serif; font-size: 360px; line-height: 1; color: var(--gold); opacity: .05; pointer-events: none; z-index:0; }
.page-hero h1{ font-family: var(--font-display); font-weight: 500; font-size: clamp(32px,5.4vw,54px); line-height: 1.05; color: var(--paper); max-width: 20ch; margin: 0 0 18px; letter-spacing: -0.015em; }
.page-hero .page-sub{ color: var(--muted-light-2); max-width: 60ch; font-size: clamp(15px,1.7vw,18px); margin: 0; }

.back-link{ display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--gold-soft); text-decoration:none; transition: color .2s var(--ease); }
.back-link:hover{ color: var(--gold); }
.back-link .ic{ width:16px; height:16px; transform: rotate(180deg); }

.article-meta{ display:flex; flex-wrap:wrap; gap: 8px 18px; align-items:center; margin-top: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing:.05em; color: var(--muted-light); text-transform:uppercase; }
.article-meta .cat{ color: var(--gold-soft); }
.article-meta .dot{ opacity:.45; }

/* Blog listing */
.blog-section{ background: var(--paper); padding: clamp(46px,7vw,84px) 0; }
.post-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.post-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line-on-light); border-radius:14px; padding: 30px 28px; text-decoration:none; color: var(--ink-text); box-shadow: var(--shadow-soft); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.post-card:hover{ transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(23,24,26,.42); border-color: rgba(184,115,51,0.35); }
.post-card .meta{ font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-dark); letter-spacing:.05em; text-transform:uppercase; }
.post-card .cat{ color: var(--gold-deep); }
.post-card h2{ font-family: var(--font-display); font-weight:500; font-size: 24px; line-height:1.18; margin:12px 0 12px; letter-spacing:-0.01em; }
.post-card p{ color: var(--muted-dark); font-size: 15px; margin:0 0 22px; flex:1; }
.post-card .read{ font-family: var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--gold-deep); display:inline-flex; align-items:center; gap:8px; margin-top:auto; }
.post-card .read .ic{ width:16px; height:16px; transition: transform .2s var(--ease); }
.post-card:hover .read .ic{ transform: translateX(4px); }

/* Article body */
.article-body{ background: var(--paper); padding: clamp(40px,6vw,68px) 0 clamp(48px,7vw,80px); }
.prose{ max-width: 720px; margin: 0 auto; }
.prose > * + *{ margin-top: 1.15em; }
.prose .lead{ font-family: var(--font-display); font-weight: 400; font-size: clamp(19px,2.4vw,22px); line-height: 1.5; color: var(--ink-text); }
.prose h2{ font-family: var(--font-display); font-weight:500; font-size: clamp(23px,3.2vw,31px); line-height:1.16; margin-top: 1.7em; color: var(--ink-text); letter-spacing:-0.015em; }
.prose h3{ font-family: var(--font-display); font-weight:500; font-size: clamp(18px,2.3vw,22px); margin-top: 1.5em; color: var(--ink-text); }
.prose p{ color: var(--muted-dark); font-size: 17px; line-height: 1.75; }
.prose strong{ color: var(--ink-text); font-weight: 600; }
.prose ul, .prose ol{ padding-left: 1.25em; color: var(--muted-dark); font-size: 17px; }
.prose li{ margin-top: .55em; padding-left: .15em; line-height: 1.7; }
.prose li::marker{ color: var(--gold-deep); }
.prose blockquote{ border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; margin: 1.6em 0; font-family: var(--font-display); font-style: italic; font-size: clamp(20px,2.6vw,24px); line-height:1.4; color: var(--ink-text); }
.prose a{ color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover{ color: var(--gold); }
.prose hr{ border:0; border-top:1px solid var(--line-on-light); margin: 2.4em 0; }
.article-tail{ max-width:720px; margin: 40px auto 0; padding-top: 26px; border-top:1px solid var(--line-on-light); font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-dark); letter-spacing:.03em; }
.article-tail strong{ color: var(--ink-text); }

/* Article CTA band */
.article-cta{ background: var(--ink); color: var(--paper); padding: clamp(42px,6vw,66px) 0; text-align:center; position:relative; overflow:hidden; }
.article-cta::after{ content:''; position:absolute; left:50%; top:-60%; transform:translateX(-50%); width: 620px; height: 620px; background: radial-gradient(circle, rgba(184,115,51,0.12), transparent 62%); pointer-events:none; }
.article-cta .wrap{ position:relative; z-index:1; }
.article-cta h2{ font-family: var(--font-display); font-weight:500; color: var(--paper); font-size: clamp(24px,3.4vw,36px); margin: 0 0 14px; letter-spacing:-0.015em; }
.article-cta p{ color: var(--muted-light-2); max-width: 52ch; margin: 0 auto 28px; }

/* Contact form success panel */
.form-success{ text-align:center; padding: clamp(28px,5vw,44px) clamp(20px,4vw,36px); border:1px solid var(--line-on-dark); border-radius: 14px; background: rgba(184,115,51,0.05); animation: fadeUp .5s var(--ease) both; }
.form-success-mark{ width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 20px; display:flex; align-items:center; justify-content:center; color: var(--gold); background: rgba(184,115,51,0.14); border:1px solid var(--line-on-dark); }
.form-success-mark svg{ width: 30px; height: 30px; }
.form-success h3{ font-family: var(--font-display); font-weight:500; color: var(--paper); font-size: clamp(20px,2.8vw,26px); margin: 0 0 12px; }
.form-success p{ color: var(--muted-light-2); max-width: 46ch; margin: 0 auto 24px; font-size: 15px; }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(14px);} to{ opacity:1; transform:none; } }

/* Legal pages */
.legal-meta{ font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.04em; color: var(--muted-dark); text-transform: uppercase; }
.legal-note{ background: rgba(184,115,51,0.06); border:1px solid var(--line-on-light); border-left:3px solid var(--gold); border-radius: 8px; padding: 16px 20px; font-size: 15px; color: var(--muted-dark); }
.legal-note strong{ color: var(--ink-text); }
.legal-prose h2{ font-size: clamp(20px,2.6vw,26px); }

/* Homepage Insights teaser */
.insights-teaser{ background: var(--paper); padding: clamp(56px,8vw,96px) 0; }
.insights-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom: clamp(32px,5vw,52px); }
.insights-head .section-title{ margin-bottom:0; }
.insights-all{ color: var(--gold-deep); white-space:nowrap; font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:12px; }
.insights-all:hover{ color: var(--gold); }
.insights-all .ic{ transition: transform .2s var(--ease); }
.insights-all:hover .ic{ transform: translateX(4px); }
.insights-teaser .post-card h3{ font-family: var(--font-display); font-weight:500; font-size: 22px; line-height:1.2; margin:12px 0 12px; letter-spacing:-0.01em; color: var(--ink-text); }

/* Blog breadcrumbs */
.crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-family: var(--font-mono); font-size:12px; letter-spacing:.04em; text-transform:uppercase; }
.crumbs a{ color: var(--gold-soft); text-decoration:none; }
.crumbs a:hover{ color: var(--gold); }
.crumbs span{ color: var(--muted-light); }
.crumbs .crumb-current{ color: var(--muted-light-2); }
