/* ============================================
   IKAYA CAPITAL — SHARED DESIGN SYSTEM
   Edit colors/fonts here to update the whole site.
   ============================================ */

:root{
  --ink:#0B0E14;
  --surface:#13171F;
  --elevated:#1A1F2B;
  --hairline:#262C38;
  --gold:#C9A24B;
  --gold-dim:#8A7138;
  --gold-bright:#DBB562;
  --text:#EDEEF0;
  --muted:#8B92A0;
  --emerald:#1F8A5C;
  --emerald-dim:rgba(31,138,92,0.14);
  --serif:'Fraunces', serif;
  --sans:'Inter', sans-serif;
  --mono:'JetBrains Mono', monospace;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  background:var(--ink);
  color:var(--text);
  font-family:var(--sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  inset:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size:28px 28px;
  pointer-events:none;
  z-index:1;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
ul{list-style:none;}

:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){.wrap{padding:0 20px;}}

/* ===== Header ===== */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(11,14,20,0.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hairline);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px; max-width:1180px; margin:0 auto;
}

.logo{display:flex; align-items:baseline; gap:9px;}
.logo-mark{width:30px; height:30px; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.logo-text{font-family:var(--serif); font-size:21px; font-weight:600; letter-spacing:0.04em; color:var(--text);}
.logo-sub{font-family:var(--mono); font-size:9.5px; letter-spacing:0.22em; color:var(--gold); text-transform:uppercase; margin-left:2px; align-self:center; padding-top:2px;}

nav.primary-nav{display:flex; gap:32px; align-items:center;}
nav.primary-nav a{font-size:14px; color:var(--muted); transition:color 0.2s ease; font-weight:500;}
nav.primary-nav a:hover, nav.primary-nav a.active{color:var(--text);}

.nav-dropdown{position:relative;}
.nav-dropdown-panel{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  margin-top:14px; background:var(--surface); border:1px solid var(--hairline);
  border-radius:8px; padding:10px; min-width:220px;
  opacity:0; visibility:hidden; transition:opacity 0.2s ease, transform 0.2s ease;
  box-shadow:0 20px 50px -10px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-panel{opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);}
.nav-dropdown-panel a{display:block; padding:9px 12px; border-radius:5px; font-size:13.5px;}
.nav-dropdown-panel a:hover{background:var(--elevated); color:var(--text);}

.header-cta{display:flex; align-items:center; gap:24px;}

.btn-whatsapp{
  display:inline-flex; align-items:center; gap:9px;
  background:var(--gold); color:var(--ink); padding:10px 20px;
  border-radius:3px; font-size:13.5px; font-weight:600; letter-spacing:0.01em;
  transition:background 0.2s ease, transform 0.2s ease; white-space:nowrap;
}
.btn-whatsapp:hover{background:var(--gold-bright); transform:translateY(-1px);}
.btn-whatsapp svg{width:16px; height:16px; flex-shrink:0;}

.mobile-toggle{display:none;}
@media (max-width:900px){
  nav.primary-nav{display:none;}
  .mobile-toggle{display:flex; width:32px; height:32px; flex-direction:column; justify-content:center; gap:5px; align-items:center;}
  .mobile-toggle span{width:22px; height:1.5px; background:var(--text);}
}

.mobile-menu{
  position:fixed; inset:0; top:73px; z-index:99;
  background:var(--ink); border-top:1px solid var(--hairline);
  padding:24px 24px 40px; display:none; overflow-y:auto;
}
.mobile-menu.open{display:block;}
.mobile-menu a{display:block; padding:14px 0; font-size:16px; border-bottom:1px solid var(--hairline); color:var(--text);}
.mobile-menu .mm-group-label{font-family:var(--mono); font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); padding-top:24px; padding-bottom:6px;}

/* ===== Page header (non-home pages) ===== */
.page-header{
  padding:168px 0 64px;
  position:relative; z-index:2;
  border-bottom:1px solid var(--hairline);
}
.page-eyebrow{
  font-family:var(--mono); font-size:11.5px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--gold); margin-bottom:18px; display:flex; align-items:center; gap:10px;
}
h1.page-title{
  font-family:var(--serif); font-size:clamp(34px, 4.4vw, 54px); font-weight:500;
  line-height:1.1; letter-spacing:-0.01em; max-width:780px;
}
h1.page-title em{font-style:italic; font-weight:400; color:var(--gold);}
.page-sub{font-size:16.5px; color:var(--muted); max-width:560px; margin-top:20px; line-height:1.7;}
.breadcrumb{font-size:12.5px; color:var(--muted); margin-bottom:24px;}
.breadcrumb a:hover{color:var(--gold);}
.breadcrumb .sep{margin:0 8px; opacity:0.5;}

/* ===== Eyebrow dot (pulse) ===== */
.eyebrow-dot{width:6px; height:6px; border-radius:50%; background:var(--emerald); animation:pulse-dot 2.4s infinite;}
@keyframes pulse-dot{0%{box-shadow:0 0 0 0 rgba(31,138,92,0.45);} 70%{box-shadow:0 0 0 6px rgba(31,138,92,0);} 100%{box-shadow:0 0 0 0 rgba(31,138,92,0);}}

/* ===== Buttons ===== */
.btn-primary{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--gold); color:var(--ink); padding:15px 28px;
  border-radius:3px; font-size:14.5px; font-weight:600;
  transition:background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover{background:var(--gold-bright); transform:translateY(-1px);}
.btn-primary svg{width:18px; height:18px;}

.btn-ghost{
  display:inline-flex; align-items:center; gap:8px; color:var(--text);
  padding:15px 8px; font-size:14.5px; font-weight:500;
  border-bottom:1px solid var(--hairline); transition:border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover{border-color:var(--gold); color:var(--gold);}

.btn-secondary{
  display:inline-flex; align-items:center; gap:8px; color:var(--text);
  padding:14px 26px; font-size:14px; font-weight:500;
  border:1px solid var(--hairline); border-radius:3px;
  transition:border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover{border-color:var(--gold); background:var(--surface);}

/* ===== Section scaffolding ===== */
section{position:relative; z-index:2; padding:96px 0;}
.section-head{max-width:620px; margin-bottom:60px;}
.section-eyebrow{font-family:var(--mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; display:block;}
h2.section-title{font-family:var(--serif); font-size:clamp(28px, 3.2vw, 38px); font-weight:500; line-height:1.2; letter-spacing:-0.01em;}
h3.card-title{font-family:var(--serif); font-weight:500;}
.section-desc{color:var(--muted); font-size:15.5px; margin-top:14px; line-height:1.7;}
.divider{height:1px; background:var(--hairline);}

/* ===== Stats band ===== */
.stats-band{border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); padding:56px 0;}
.stats-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:0;}
.stats-grid .stat{padding:0 28px; border-right:1px solid var(--hairline);}
.stats-grid .stat:last-child{border-right:none;}
.stats-grid .stat .num{font-family:var(--mono); font-size:clamp(26px, 3vw, 36px); font-weight:600; color:var(--gold); display:block; line-height:1;}
.stats-grid .stat .label{font-size:13px; color:var(--muted); margin-top:10px;}
@media (max-width:860px){
  .stats-grid{grid-template-columns:repeat(2,1fr); row-gap:36px;}
  .stats-grid .stat:nth-child(2n){border-right:none;}
  .stats-grid .stat:nth-child(1),.stats-grid .stat:nth-child(2){border-bottom:1px solid var(--hairline); padding-bottom:24px;}
}

/* ===== Generic card grid ===== */
.grid-4{display:grid; grid-template-columns:repeat(4, 1fr); gap:1px; background:var(--hairline); border:1px solid var(--hairline);}
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--hairline); border:1px solid var(--hairline);}
.grid-2{display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; background:var(--hairline); border:1px solid var(--hairline);}
@media (max-width:900px){.grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:1fr;}}
@media (max-width:560px){.grid-4{grid-template-columns:1fr;} .grid-2{grid-template-columns:1fr;}}

.card{background:var(--surface); padding:32px 26px; transition:background 0.25s ease;}
.card:hover{background:var(--elevated);}
.card .cnum{font-family:var(--mono); font-size:11px; color:var(--gold-dim); margin-bottom:18px; display:block;}
.card h3{font-family:var(--serif); font-size:18px; font-weight:500; margin-bottom:9px;}
.card p{font-size:13.5px; color:var(--muted); line-height:1.6;}
.card .card-link{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--gold); margin-top:14px; font-weight:600;}

.icon-wrap{width:38px; height:38px; margin-bottom:22px; color:var(--gold);}
.icon-wrap svg{width:100%; height:100%;}

/* ===== Journey / process ===== */
.journey-list{border-top:1px solid var(--hairline);}
.journey-item{display:grid; grid-template-columns:90px 1fr 1fr; gap:32px; padding:38px 0; border-bottom:1px solid var(--hairline); align-items:start;}
@media (max-width:760px){.journey-item{grid-template-columns:50px 1fr;} .journey-item .stage-result{grid-column:2; margin-top:8px;}}
.stage-num{font-family:var(--mono); font-size:14px; color:var(--gold-dim); padding-top:3px;}
.stage-title{font-family:var(--serif); font-size:21px; font-weight:500; margin-bottom:9px;}
.stage-desc{color:var(--muted); font-size:14.5px; line-height:1.7; max-width:380px;}
.stage-result{font-size:12.5px; color:var(--emerald); font-family:var(--mono); padding-top:4px; text-align:right;}
@media (max-width:760px){.stage-result{text-align:left;}}

/* ===== Lender strip ===== */
.lender-strip{border-top:1px solid var(--hairline); padding:64px 0; text-align:center;}
.lender-strip-label{font-family:var(--mono); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); margin-bottom:34px;}
.lender-row{display:flex; justify-content:center; align-items:center; gap:48px; flex-wrap:wrap;}
.lender-mark{font-family:var(--serif); font-size:17px; color:var(--muted); opacity:0.65; transition:opacity 0.2s ease, color 0.2s ease;}
.lender-mark:hover{opacity:1; color:var(--text);}
.lender-note{margin-top:30px; font-size:13px; color:var(--gold);}

/* ===== CTA band ===== */
.cta-band{background:var(--surface); border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); padding:88px 0; text-align:center;}
.cta-band h2{font-family:var(--serif); font-size:clamp(28px,3.4vw,42px); font-weight:500; max-width:600px; margin:0 auto 16px; line-height:1.25;}
.cta-band p{color:var(--muted); font-size:15.5px; margin-bottom:36px;}

/* ===== Footer ===== */
footer{padding:72px 0 36px; position:relative; z-index:2;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; padding-bottom:56px; border-bottom:1px solid var(--hairline);}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr; row-gap:40px;}}
.footer-brand-desc{color:var(--muted); font-size:13.5px; margin-top:16px; max-width:260px; line-height:1.7;}
.footer-col h4{font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); margin-bottom:18px; font-weight:600;}
.footer-col li{margin-bottom:11px;}
.footer-col a{font-size:13.5px; color:var(--muted); transition:color 0.2s ease;}
.footer-col a:hover{color:var(--text);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:14px;}
.footer-bottom p{font-size:12px; color:var(--muted);}
.footer-legal{display:flex; gap:20px;}
.footer-legal a{font-size:12px; color:var(--muted);}
.footer-legal a:hover{color:var(--text);}

/* ===== Sticky WhatsApp ===== */
.sticky-wa{
  position:fixed; bottom:22px; right:22px; z-index:200;
  width:56px; height:56px; border-radius:50%; background:var(--gold);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px -6px rgba(201,162,75,0.5);
}
.sticky-wa svg{width:26px; height:26px; color:var(--ink);}

/* ===== Reveal on scroll ===== */
.reveal{opacity:0; transform:translateY(16px); transition:opacity 0.7s ease, transform 0.7s ease;}
.reveal.visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1; transform:none; transition:none;} .eyebrow-dot{animation:none;}}

/* ===== Misc content elements ===== */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
@media (max-width:860px){.two-col{grid-template-columns:1fr; gap:40px;}}

.pull-block{
  border-left:2px solid var(--gold); padding-left:24px; margin:32px 0;
  font-family:var(--serif); font-size:19px; font-style:italic; color:var(--text); line-height:1.5;
}

.list-check{margin-top:18px;}
.list-check li{display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--hairline); font-size:14px; color:var(--muted);}
.list-check li:last-child{border-bottom:none;}
.list-check svg{width:16px; height:16px; color:var(--emerald); flex-shrink:0; margin-top:3px;}

.tag-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:24px;}
.tag{font-family:var(--mono); font-size:11.5px; padding:6px 12px; border:1px solid var(--hairline); border-radius:20px; color:var(--muted);}

.num-badge{
  font-family:var(--mono); font-size:12px; color:var(--gold);
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border:1px solid var(--gold-dim); border-radius:50%;
  flex-shrink:0;
}
