/* ============================================================
   Tactic Ventures & India LLP — shared design system
   Palette / type system ported from the VGrow Advisors reference.
   ============================================================ */
:root{
  --ink:#122019;
  --paper:#F4F5EF;
  --paper-dim:#EAEBE0;
  --emerald:#0B3B2E;
  --emerald-2:#0F4E3C;
  --grow:#2F9E6E;
  --gold:#B8862B;
  --gold-soft:#E7CE9B;
  --line:#D7D9CB;
  --line-dark:#2A4A3D;
  --shadow: 0 20px 50px -25px rgba(11,59,46,0.35);
  --radius: 2px;
  --maxw: 1180px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces',serif;
  font-weight:600;
  margin:0;
  letter-spacing:-0.01em;
  color:var(--emerald);
}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}
button{cursor:pointer;font-family:inherit;}
input,select,textarea{font-family:inherit;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--gold);
  display:inline-block;
}
::selection{background:var(--grow); color:#fff;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

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

/* ---------- HEADER ---------- */
header{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
/* Blur lives on a pseudo-element, not on `header` itself — backdrop-filter on the
   header would make it a containing block for position:fixed descendants (like the
   mobile nav panel below), trapping them inside header's own ~64px height instead
   of covering the viewport. */
header::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:rgba(244,245,239,0.88);
  backdrop-filter:blur(10px);
}
header.scrolled{ box-shadow:0 6px 24px -18px rgba(11,59,46,0.5); }
.nav{
  max-width:var(--maxw); margin:0 auto; padding:14px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:10px; font-family:'Fraunces',serif; font-weight:600; font-size:19px; color:var(--emerald); }
.brand .mark{width:38px; height:38px; border-radius:8px; overflow:hidden; object-fit:cover; flex-shrink:0;}
.brand small{
  display:block; font-family:'IBM Plex Mono',monospace; font-weight:400;
  font-size:9.5px; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; margin-top:1px;
}
nav.links{ display:flex; align-items:center; gap:30px; }
nav.links a{
  font-size:14.5px; font-weight:500; color:var(--ink); position:relative; padding:4px 0;
}
nav.links a:not(.cta-btn)::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
nav.links a:not(.cta-btn):hover::after{ transform:scaleX(1); }
nav.links a.active:not(.cta-btn){ color:var(--emerald); font-weight:600; }
nav.links a.active:not(.cta-btn)::after{ transform:scaleX(1); }
.cta-btn{
  background:var(--emerald); color:#fff !important; padding:10px 20px;
  font-size:14px; font-weight:600; border-radius:var(--radius);
  border:1px solid var(--emerald); transition:background .2s ease, color .2s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.cta-btn:hover{ background:var(--emerald-2); }
.menu-btn{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.menu-btn span{ display:block; width:22px; height:2px; background:var(--emerald); margin:5px 0; }

/* ---------- BUTTONS ---------- */
.btn-primary{
  background:var(--emerald); color:#fff; padding:14px 26px; font-weight:600; font-size:15px;
  border-radius:var(--radius); border:1px solid var(--emerald); transition:transform .2s ease, background .2s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary:hover{ background:var(--emerald-2); transform:translateY(-2px); }
.btn-secondary{
  padding:14px 26px; font-weight:600; font-size:15px; border-radius:var(--radius);
  border:1px solid var(--emerald); color:var(--emerald); transition:background .2s ease, transform .2s ease;
  display:inline-flex; align-items:center; gap:8px; background:transparent;
}
.btn-secondary:hover{ background:rgba(11,59,46,0.06); transform:translateY(-2px); }
.actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- SEAL ---------- */
.seal-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.seal{ width:min(320px, 80%); }
.spin-group{ transform-origin:150px 150px; animation:spin 46s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ---------- TRUST STRIP ---------- */
.trust-strip{
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  background:var(--paper-dim);
}
.trust-strip .wrap{
  display:grid; grid-template-columns:repeat(4,1fr); padding:26px 32px;
}
.trust-item{ text-align:center; border-right:1px solid var(--line); padding:6px 12px; }
.trust-item:last-child{ border-right:none; }
.trust-num{ font-family:'IBM Plex Mono',monospace; font-weight:500; font-size:28px; color:var(--emerald); }
.trust-label{ font-size:12.5px; color:#5B6B63; margin-top:4px; letter-spacing:.02em; }

/* ---------- SECTION SHARED ---------- */
section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-top:14px; }
.section-head p{ color:#3B4A43; margin-top:14px; font-size:16.5px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- SERVICES (dark band) ---------- */
.services{ background:var(--emerald); color:#fff; }
.services .eyebrow{ color:var(--gold-soft); }
.services .eyebrow::before{ background:var(--gold-soft); }
.services .section-head h2{ color:#fff; }
.services .section-head p{ color:#C9D6CE; }
.svc-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.14);
}
.svc-card{
  background:var(--emerald); padding:32px 28px; position:relative;
  transition:background .25s ease;
}
.svc-card:hover{ background:var(--emerald-2); }
.svc-num{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--gold-soft); letter-spacing:.08em; }
.svc-card h3{ color:#fff; font-size:19px; margin:14px 0 10px; }
.svc-card p{ color:#B9C9BF; font-size:14.5px; margin:0; }

/* ---------- PROCESS ---------- */
.process-line{
  display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; margin-top:20px;
}
.process-line::before{
  content:""; position:absolute; top:19px; left:5%; right:5%; height:1px; background:var(--line);
}
.p-step{ position:relative; padding-right:18px; }
.p-step .dot{
  width:38px; height:38px; border-radius:50%; background:var(--paper); border:1px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--gold); font-weight:500;
  position:relative; z-index:2; margin-bottom:20px;
}
.p-step h4{ font-size:16px; margin-bottom:8px; }
.p-step p{ font-size:14px; color:#4C5B54; margin:0; }

/* ---------- WHY ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line);}
.why-card{ background:var(--paper); padding:30px 26px; }
.why-icon{ width:30px; height:30px; margin-bottom:16px; color:var(--emerald); }
.why-card h4{ font-size:17px; margin-bottom:8px; }
.why-card p{ font-size:14.5px; color:#4C5B54; margin:0; }

/* ---------- ABOUT / STAT CARDS ---------- */
.about{ background:var(--paper-dim); }
.about-figure{
  background:var(--emerald); aspect-ratio:4/5; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.about-figure .seal{ width:58%; animation:spin 60s linear infinite; opacity:0.9;}
.about-copy p{ color:#3B4A43; font-size:16.5px; margin:16px 0; }
.about-list{ list-style:none; padding:0; margin:26px 0 0; display:grid; gap:12px; }
.about-list li{ display:flex; gap:12px; font-size:15px; color:#233A31; }
.about-list li svg{ flex:none; width:18px; height:18px; margin-top:2px; color:var(--gold); }

.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.stat-card{ padding:22px 20px; border-radius:var(--radius); border:1px solid var(--line); background:var(--paper); text-align:center; }
.stat-card .val{ font-family:'IBM Plex Mono',monospace; font-size:26px; font-weight:500; color:var(--emerald); }
.stat-card .lbl{ font-size:12.5px; color:#5B6B63; margin-top:4px; }

/* ---------- MINI STAT / VALUES / TEAM (about page) ---------- */
.mini-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:24px; }
.mini-stat{ padding:14px; border-radius:var(--radius); border:1px solid var(--line); background:var(--paper); text-align:center; }
.mini-stat .val{ font-family:'IBM Plex Mono',monospace; font-size:18px; font-weight:500; color:var(--emerald); }
.mini-stat .lbl{ font-size:11.5px; color:#5B6B63; margin-top:2px; }

.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.value-card{ background:var(--paper); padding:28px 26px; }
.value-card h4{ font-size:16px; margin-bottom:8px; }
.value-card p{ font-size:14px; color:#4C5B54; margin:0; line-height:1.65; }

.partner-list{ display:flex; flex-direction:column; gap:2px; background:var(--line); border:1px solid var(--line); }
.partner-card{ display:flex; align-items:center; gap:20px; padding:22px 24px; background:var(--paper); transition:background .2s ease; }
.partner-card:hover{ background:var(--paper-dim); }
.partner-avatar{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-family:'Fraunces',serif; font-weight:600; font-size:17px; color:#fff; background:var(--emerald);
  border:1px solid var(--gold);
}
.partner-name{ font-size:15.5px; font-weight:600; color:var(--emerald); font-family:'Fraunces',serif; }
.partner-role{ font-size:13px; color:#5B6B63; margin-top:2px; }
.partner-email{
  font-size:12.5px; font-weight:500; color:var(--emerald); padding:7px 14px; border:1px solid var(--line);
  border-radius:var(--radius); white-space:nowrap; transition:border-color .2s ease, color .2s ease;
}
.partner-email:hover{ border-color:var(--gold); color:var(--gold); }

/* ---------- CTA BANNER ---------- */
.cta-banner{
  background:linear-gradient(120deg, var(--emerald) 0%, var(--emerald-2) 100%);
  color:#fff; text-align:center; padding:80px 0;
}
.cta-banner h2{ color:#fff; font-size:clamp(26px,3.4vw,38px); }
.cta-banner p{ color:#C9D6CE; max-width:520px; margin:16px auto 30px; font-size:16.5px; }
.cta-banner .actions{ justify-content:center; }
.cta-banner .btn-secondary{ color:#fff; border-color:rgba(255,255,255,0.5); }
.cta-banner .btn-secondary:hover{ background:rgba(255,255,255,0.1); }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; }
.contact-cards{ display:grid; gap:2px; background:var(--line); border:1px solid var(--line); }
.contact-card{ background:var(--paper); padding:22px 24px; transition:background .2s ease; }
.contact-card.linkable:hover{ background:var(--paper-dim); }
.contact-card .eyebrow{ margin-bottom:8px; }
.contact-card a, .contact-card div.val{ font-size:16px; font-weight:500; color:var(--emerald); }
.contact-card .sub{ font-size:12.5px; color:#5B6B63; margin-top:4px; }
.wa-btn{
  display:flex; align-items:center; justify-content:center; gap:10px; padding:18px; border-radius:var(--radius);
  color:#fff; font-weight:600; font-size:14.5px; background:#128C7E; transition:background .2s ease;
}
.wa-btn:hover{ background:#0f7469; }
.quick-box{ padding:20px 22px; border-radius:var(--radius); border:1px solid var(--line); background:var(--paper-dim); }
.quick-box .qh{ font-size:14px; font-weight:600; color:var(--emerald); margin-bottom:14px; }
.quick-item{ display:flex; align-items:center; gap:10px; font-size:14px; color:#3B4A43; margin-bottom:10px; }
.quick-item:last-child{ margin-bottom:0; }
.quick-item svg{ flex:none; width:15px; height:15px; color:var(--gold); }

form{ display:grid; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label{ font-size:12.5px; font-family:'IBM Plex Mono',monospace; letter-spacing:.06em; color:#4C5B54; text-transform:uppercase; display:block; margin-bottom:8px; }
input, select, textarea{
  width:100%; border:1px solid var(--line); background:#fff; padding:12px 14px; font-family:'Inter',sans-serif;
  font-size:14.5px; color:var(--ink); border-radius:var(--radius); transition:border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus{ border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(184,134,43,.12); }
textarea{ resize:vertical; min-height:100px; }
form .btn-primary{ justify-self:start; border:none; cursor:pointer; }
form .btn-primary:disabled{ opacity:.6; cursor:not-allowed; transform:none; }
.presel-banner{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:4px;
  padding:12px 16px; border-radius:var(--radius); font-size:13px; font-weight:500;
  background:rgba(184,134,43,.1); border:1px solid rgba(184,134,43,.35); color:var(--gold);
}
.presel-banner button{ background:none; border:none; color:inherit; opacity:.65; transition:opacity .2s ease; }
.presel-banner button:hover{ opacity:1; }

/* Toast */
.toast{
  position:fixed; bottom:24px; right:24px; z-index:100; max-width:340px; padding:16px 20px;
  border-radius:var(--radius); background:var(--emerald); color:#fff; box-shadow:var(--shadow);
  display:flex; align-items:flex-start; gap:12px; transform:translateY(120px); opacity:0;
  transition:transform .3s ease, opacity .3s ease; border:1px solid var(--emerald-2);
}
.toast.show{ transform:translateY(0); opacity:1; }
.toast.error{ background:#7a2a1f; border-color:#5c2017; }
.toast-title{ font-size:14px; font-weight:600; margin-bottom:2px; }
.toast-desc{ font-size:12.5px; color:#C9D6CE; }

/* ---------- FOOTER ---------- */
footer{ background:var(--ink); color:#B9C4BD; padding:64px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.foot-brand{ display:flex; gap:10px; align-items:center; font-family:'Fraunces',serif; font-size:19px; font-weight:600; color:#fff; margin-bottom:14px;}
.foot-brand img{ width:32px; height:32px; border-radius:7px; object-fit:cover; }
footer p{ font-size:14px; color:#8A968E; max-width:280px; }
footer h5{ color:#fff; font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px; font-weight:500; }
footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:11px; }
footer ul a, footer ul span{ font-size:14.5px; color:#B9C4BD; transition:color .2s ease; display:flex; align-items:center; gap:8px;}
footer ul a:hover{ color:var(--gold-soft); }
.foot-bottom{
  border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; display:flex; justify-content:space-between;
  font-size:12.5px; color:#6E7A73; flex-wrap:wrap; gap:10px;
}

/* ---------- BACKGROUND ARTWORK (files live in images/) ---------- */
/* To use a real photo instead, save it in images/ and swap the url() below. */
.hero{ position:relative; isolation:isolate; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:url(images/hero-network.svg) right center / auto 115% no-repeat;
}
.hero::after{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:560px; height:560px; left:-180px; top:-220px;
  background:radial-gradient(circle, rgba(184,134,43,0.15), transparent 65%);
}
.seal-wrap::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  left:50%; top:50%; width:min(450px,140%); aspect-ratio:1; transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(circle, var(--paper) 0%, var(--paper) 58%, rgba(244,245,239,0) 71%);
}
.services, .roles{
  background-image:url(images/grid-lines.svg);
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.cta-banner{
  background:
    url(images/rings-gold.svg) right center / auto 135% no-repeat,
    linear-gradient(120deg, var(--emerald) 0%, var(--emerald-2) 100%);
  position:relative; overflow:hidden;
}
.about{ background-image:url(images/dots.svg); }
.contact{ position:relative; isolation:isolate; overflow:hidden; }
.contact::before{
  content:""; position:absolute; left:0; bottom:0; width:min(640px,60%); height:100%; z-index:-1; pointer-events:none;
  background:url(images/hero-network.svg) left bottom / contain no-repeat;
  transform:scaleX(-1); opacity:0.5;
}
@media (max-width:960px){
  .hero::before{ background-position:center bottom; background-size:135% auto; opacity:0.5; }
  .contact::before{ opacity:0.28; }
}

/* reveal */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .seal-wrap{ order:-1; margin-bottom:20px; }
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .process-line{ grid-template-columns:1fr; gap:28px; }
  .process-line::before{ display:none; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .trust-strip .wrap, .stat-grid{ grid-template-columns:repeat(2,1fr); gap:20px; }
  .trust-item{ border-right:none; border-bottom:1px solid var(--line); padding-bottom:16px; }
  .mini-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  nav.links{ position:fixed; inset:64px 0 0 0; background:var(--paper); flex-direction:column; padding:32px; gap:22px;
    transform:translateX(100%); transition:transform .3s ease; align-items:flex-start; overflow-y:auto; }
  nav.links.open{ transform:translateX(0); }
  .menu-btn{ display:block; }
  .svc-grid, .why-grid, .values-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; }
  section{ padding:64px 0; }
  .partner-card{ flex-wrap:wrap; }
}
