/* ============================================================
   SWAROOP KISHAN — Portfolio 2.0
   A cinematic, motion-led design system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

:root{
  --bg:#07070a;
  --bg-1:#0b0b0f;
  --bg-2:#0e0e12;
  --panel:rgba(255,255,255,0.045);
  --panel-strong:rgba(255,255,255,0.08);
  --text:#f6f1e6;
  --text-soft:#e2dbc9;
  --muted:#a9a293;
  /* Primary accent: gold, matched to the Infyniti Infrra logo's ribbon tone.
     Gold + white/neutral is the site's palette — navy is used only as a
     structural neutral (borders/backgrounds), never as a bright accent. */
  --gold:#d4a94a;
  --gold-2:#f0cf82;
  --gold-line:rgba(212,169,74,0.3);
  --gold-soft:rgba(212,169,74,0.1);
  /* Neutral navy, used sparingly for structural borders/backgrounds only —
     never as a bright button/icon accent color. */
  --navy:#0d2b4e;
  --navy-2:#8a99ab;
  --navy-3:#5c6a7a;
  --navy-line:rgba(255,255,255,0.14);
  --navy-soft:rgba(255,255,255,0.06);
  --line:rgba(255,255,255,0.09);
  --shadow:0 30px 90px rgba(0,0,0,0.5);
  --radius:20px;
  --radius-lg:28px;
  --max:1280px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html,body{background:var(--bg);}
body{
  margin:0;
  font-family:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--text);
  min-height:100vh;
  letter-spacing:-0.01em;
  overflow-x:hidden;
  position:relative;
}

/* Fix old-style/descending digits when a number is mixed with letters
   inside the serif display font (e.g. "UX9") by rendering just the
   digit in the sans-serif face, which uses normal baseline-aligned figures. */
.num-fix{ font-family:'Manrope',ui-sans-serif,system-ui,sans-serif; font-weight:700; }

/* ---------- ambient background ---------- */
.bg-field{
  position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 45% at 82% -5%, rgba(212,169,74,0.14), transparent 60%),
    radial-gradient(ellipse 55% 40% at -5% 15%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(212,169,74,0.06), transparent 60%),
    linear-gradient(180deg,#050506 0%,#0b0b0d 45%,#070708 100%);
  animation:driftbg 26s ease-in-out infinite alternate;
}
@keyframes driftbg{
  0%{ background-position:0% 0%, 0% 0%, 0% 0%, 0 0; }
  100%{ background-position:2% 3%, -2% -2%, -3% 2%, 0 0; }
}
.bg-grain{
  position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.5;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
.cursor-glow{
  position:fixed; top:0; left:0; width:520px; height:520px; z-index:0;
  pointer-events:none; border-radius:50%;
  background:radial-gradient(circle, rgba(212,169,74,0.08), transparent 68%);
  transform:translate(-50%,-50%);
  transition:opacity .4s ease;
  opacity:0;
}
@media (max-width:900px){ .cursor-glow{ display:none; } }

/* ---------- scroll progress ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:100;
  background:linear-gradient(90deg,var(--gold),var(--gold-2));
  box-shadow:0 0 12px rgba(212,169,74,0.5);
  transition:width .1s linear;
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{margin:0; padding:0;}
.container{width:min(calc(100% - 44px), var(--max)); margin:0 auto; position:relative; z-index:1;}

::selection{ background:var(--gold-soft); color:var(--gold-2); }
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:#0a0a0c; }
::-webkit-scrollbar-thumb{ background:linear-gradient(var(--gold),#8a6a24); border-radius:10px; }

/* ---------- reveal-on-scroll ---------- */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .bg-field{ animation:none; }
}

/* ================= HEADER / NAV ================= */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(20px) saturate(140%);
  background:rgba(6,6,7,0.6);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:84px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-glyph{
  width:40px; height:40px; flex:none;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; overflow:hidden;
  background:#fff;
  border:1px solid var(--gold-line);
  box-shadow:0 6px 18px rgba(0,0,0,0.35);
}
.brand-glyph img{ width:100%; height:100%; object-fit:contain; padding:5px; }
.brand-text{ display:flex; flex-direction:column; gap:2px; }
.brand-mark{ font-family:'Cormorant Garamond',Georgia,serif; font-size:1.5rem; letter-spacing:.03em; line-height:1; }
.brand-sub{ font-size:.66rem; text-transform:uppercase; letter-spacing:.22em; color:var(--muted); }

.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{
  position:relative; padding:10px 16px; border-radius:999px;
  color:var(--muted); font-size:.92rem; font-weight:600;
  transition:color .25s ease;
}
.nav-links a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:6px; height:1px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--gold-2); }

.nav-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--line); background:transparent; color:var(--text);
  align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:84px 0 0 0; z-index:49;
    flex-direction:column; align-items:stretch; gap:2px;
    padding:18px; background:rgba(6,6,7,0.97); backdrop-filter:blur(20px);
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:opacity .3s ease, transform .3s ease;
    max-height:calc(100vh - 84px); overflow:auto;
  }
  .nav-links.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-links a{ padding:16px 14px; font-size:1.1rem; border-bottom:1px solid var(--line); border-radius:0; }
  .nav-toggle{ display:flex; }
}

/* ================= BUTTONS ================= */
.btn,.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:52px; padding:0 26px; border-radius:999px;
  font-weight:700; font-size:.96rem; cursor:pointer; border:none;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease;
  white-space:nowrap;
}
.btn{
  background:linear-gradient(135deg,#f0cf82 0%,#d4a94a 55%, #8a6a24 100%);
  color:#1a1408;
  border:1px solid var(--gold-line);
  box-shadow:0 18px 40px rgba(191,161,84,0.28);
}
.btn:hover{ transform:translateY(-2px) scale(1.015); box-shadow:0 22px 50px rgba(191,161,84,0.4); }
.btn-ghost{
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.03);
  color:var(--text);
}
.btn-ghost:hover{ transform:translateY(-2px); background:rgba(255,255,255,0.07); border-color:var(--gold-line); }

/* ================= KICKER ================= */
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px; border-radius:999px; max-width:100%;
  background:rgba(255,255,255,0.04); border:1px solid var(--line);
  color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.16em;
  white-space:normal; line-height:1.5;
}
.kicker::before{
  content:""; width:7px; height:7px; border-radius:50%; flex:none;
  background:var(--gold); box-shadow:0 0 0 5px rgba(191,161,84,0.14);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity:1;} 50%{ opacity:.4;} }
@media (max-width:600px){
  .kicker{ font-size:.66rem; letter-spacing:.1em; padding:7px 12px; }
}

/* ================= HERO (home) ================= */
.hero{ padding:74px 0 40px; position:relative; }
.hero-grid{
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:48px; align-items:center;
}
.hero-portrait{ position:relative; display:flex; flex-direction:column; align-items:center; gap:16px; }
.portrait-frame{
  position:relative; z-index:1; width:min(100%,360px);
  border-radius:28px; overflow:hidden; aspect-ratio:4/5;
  border:1px solid var(--gold-line);
  box-shadow:0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,169,74,0.08) inset;
  background:linear-gradient(165deg, rgba(255,255,255,0.04), rgba(0,0,0,0.1));
}
.portrait-frame img{
  width:100%; height:100%; object-fit:cover; object-position:50% 12%;
  filter:saturate(1.02) contrast(1.03);
}
.portrait-frame::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 60%, rgba(6,6,7,0.5) 100%);
  pointer-events:none;
}
.portrait-facts{
  display:flex; gap:28px; justify-content:center;
}
.portrait-facts div{ text-align:center; }
.portrait-facts strong{
  display:block; font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.7rem; color:var(--gold-2); font-weight:600; line-height:1.1;
}
.portrait-facts span{ color:var(--muted); font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; }
.portrait-caption{
  text-align:center; color:var(--muted); font-size:.86rem; letter-spacing:.03em;
}
.portrait-caption strong{ color:var(--gold-2); font-weight:700; }
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-portrait{ order:-1; margin-bottom:12px; }
  .portrait-frame{ width:min(64%,280px); }
}
.hero-headline{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:600;
  letter-spacing:-0.02em;
  margin:26px 0 22px;
  font-size:clamp(2.9rem, 7.4vw, 6.6rem);
  line-height:0.98;
  max-width:16ch;
}
.hero-headline em{
  font-style:italic; font-weight:500;
  background:linear-gradient(100deg,#f0cf82,#d4a94a 55%,#8a6a24);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{
  max-width:700px; color:var(--text-soft);
  font-size:clamp(1.05rem,1.3vw,1.22rem); line-height:1.9; font-weight:500;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-tagline{
  margin-top:28px; padding-top:22px; border-top:1px solid var(--line);
  color:var(--muted); font-size:.95rem; max-width:640px; line-height:1.8;
}
.hero-tagline strong{ color:var(--gold-2); font-weight:700; }

/* hero stat ticker */
.stat-ticker{
  margin-top:56px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.stat-ticker .tk{
  padding:22px 18px 22px 0; border-right:1px solid var(--line);
}
.stat-ticker .tk:last-child{ border-right:none; }
.tk strong{
  display:block; font-family:'Cormorant Garamond',Georgia,serif;
  font-size:clamp(1.8rem,3vw,2.6rem); color:var(--gold-2);
  font-weight:600;
}
.tk span{ color:var(--muted); font-size:.86rem; line-height:1.5; display:block; margin-top:4px; }

/* ================= MARQUEE ================= */
.marquee-shell{
  padding:36px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  overflow:hidden; position:relative;
}
.marquee-shell::before,.marquee-shell::after{
  content:""; position:absolute; top:0; bottom:0; width:90px; z-index:2; pointer-events:none;
}
.marquee-shell::before{ left:0; background:linear-gradient(90deg,var(--bg),transparent); }
.marquee-shell::after{ right:0; background:linear-gradient(270deg,var(--bg),transparent); }
.marquee-track{
  display:flex; gap:64px; width:max-content;
  animation:scroll-x 42s linear infinite;
}
.marquee-shell:hover .marquee-track{ animation-play-state:paused; }
@keyframes scroll-x{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-item{
  display:flex; align-items:center; gap:14px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.5rem; color:var(--muted); white-space:nowrap;
}
.marquee-logo{
  width:34px; height:34px; border-radius:9px; flex:none;
  background:#fff; display:flex; align-items:center; justify-content:center;
  overflow:hidden; border:1px solid var(--gold-line);
}
.marquee-logo img{ width:100%; height:100%; object-fit:contain; padding:4px; }
.marquee-logo.mark-carbonrootz{ background:#1d2725; }
.marquee-logo.mark-franchhawk{ background:#081125; }
.marquee-logo.mark-nirantara{ background:#000; }
.marquee-item b{ color:var(--text-soft); font-weight:600; }

/* ================= SECTIONS ================= */
.section-lg{ padding:96px 0; position:relative; }
.section-tight{ padding:60px 0; }
.section-head{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end;
  gap:18px; margin-bottom:44px;
}
.section-head h2{
  margin:14px 0 0; font-family:'Cormorant Garamond',Georgia,serif;
  font-size:clamp(2.1rem,3.6vw,3.6rem); line-height:1.02; letter-spacing:-0.02em;
  max-width:16ch;
}
.section-head p{ margin:0; max-width:420px; color:var(--muted); line-height:1.85; }

.page-hero{ padding:80px 0 46px; }
.page-hero h1{
  font-family:'Cormorant Garamond',Georgia,serif; margin:20px 0 18px;
  font-size:clamp(2.6rem,6vw,5.2rem); line-height:1.0; letter-spacing:-0.02em; max-width:20ch;
}
.page-hero-grid{ display:grid; grid-template-columns:1.3fr 0.7fr; gap:40px; align-items:center; }
.mini-portrait{ display:flex; justify-content:center; position:relative; }
.mini-portrait .portrait-frame{ width:min(100%,240px); aspect-ratio:4/5; border-radius:22px; }
@media (max-width:900px){
  .page-hero-grid{ grid-template-columns:1fr; }
  .mini-portrait{ order:-1; margin-bottom:6px; }
  .mini-portrait .portrait-frame{ width:min(52%,190px); }
}

/* ================= GRIDS / CARDS ================= */
.grid-3,.grid-2,.venture-grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.venture-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }

.card,.venture-card,.story-chapter,.panel{
  background:linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  transition:transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.card:hover,.venture-card:hover{
  transform:translateY(-6px);
  border-color:var(--gold-line);
  box-shadow:0 34px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,169,74,0.08) inset;
}
.card{ padding:30px; }
.card .num{
  font-family:'Cormorant Garamond',Georgia,serif; color:var(--gold);
  font-size:.85rem; letter-spacing:.14em; margin-bottom:12px; display:block;
}
.card h3{
  margin:0 0 14px; font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.5rem; line-height:1.08; letter-spacing:-0.01em;
}
.card p{ margin:0 0 12px; color:var(--text-soft); line-height:1.85; }
.card p:last-child{ margin-bottom:0; }

/* capability icon cards (home) */
.cap-card{ position:relative; overflow:hidden; }
.cap-icon{
  width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:var(--gold-soft); border:1px solid var(--gold-line); color:var(--gold-2);
  margin-bottom:18px;
}
.cap-icon svg{ width:22px; height:22px; }

/* quote */
.quote{
  padding:56px 50px 46px; border-radius:var(--radius-lg);
  background:linear-gradient(135deg, rgba(212,169,74,0.12), rgba(255,255,255,0.02));
  border:1px solid var(--gold-line);
  box-shadow:var(--shadow);
  position:relative;
}
.quote::before{
  content:"“"; position:absolute; top:-6px; left:44px;
  font-family:'Cormorant Garamond',Georgia,serif; font-size:4.5rem; color:rgba(191,161,84,0.4); line-height:1;
}
.quote p{
  margin:0; position:relative; z-index:1;
  font-family:'Cormorant Garamond',Georgia,serif; font-style:italic;
  font-size:clamp(1.5rem,2.6vw,2.5rem); line-height:1.35; color:var(--text);
}
.quote cite{
  display:block; margin-top:18px; font-style:normal; font-family:'Manrope',sans-serif;
  font-size:.85rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}

/* ================= VENTURE CARDS ================= */
.venture-card{ padding:30px; display:flex; flex-direction:column; gap:16px; }
.venture-card .top{ display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.venture-mark{
  width:56px; height:56px; border-radius:14px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid var(--line); color:var(--gold-2);
  overflow:hidden;
  transition:transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
  box-shadow:0 10px 26px rgba(0,0,0,0.25);
}
.venture-mark svg{ width:24px; height:24px; }
.venture-mark img{ width:100%; height:100%; object-fit:contain; padding:8px; }
.venture-card:hover .venture-mark{ transform:scale(1.06); border-color:var(--gold-line); box-shadow:0 14px 32px rgba(212,169,74,0.18); }
/* These three logos ship with their own dark background baked into the
   artwork rather than a transparent/white one — match the badge's fill
   to each logo's native background so it reads as one clean chip
   instead of a white box clashing with a dark rectangle. */
.venture-mark.mark-carbonrootz{ background:#1d2725; }
.venture-mark.mark-franchhawk{ background:#081125; }
.venture-mark.mark-nirantara{ background:#000; }
.venture-mark.mark-carbonrootz img,
.venture-mark.mark-franchhawk img,
.venture-mark.mark-nirantara img{ padding:6px; }
.venture-card .tag{
  font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold);
  display:block; margin-bottom:6px;
}
.venture-card h3{ margin:0; font-family:'Cormorant Garamond',Georgia,serif; font-size:1.5rem; }
.venture-card h3 a{ border-bottom:1px solid transparent; transition:border-color .3s ease; }
.venture-card h3 a:hover{ border-color:var(--gold); color:var(--gold-2); }
.venture-card p{ margin:0; color:var(--text-soft); line-height:1.85; }
.venture-card .external{ display:inline-flex; align-items:center; gap:6px; font-size:.8rem; }
.venture-card .external svg{ width:12px; height:12px; }

.pill-row{ display:flex; flex-wrap:wrap; gap:9px; margin-top:auto; }
.pill{
  padding:8px 13px; border-radius:999px; background:rgba(212,169,74,0.1);
  color:#f0e2c0; border:1px solid var(--gold-line); font-size:.8rem; font-weight:600;
}

/* ================= PRESS & RECOGNITION ================= */
.press-card{
  display:flex; flex-direction:column; cursor:pointer;
  text-decoration:none;
}
.press-card .num{ color:var(--gold); }
.press-card h3{ font-size:1.3rem; }
.press-link{
  display:inline-flex; align-items:center; gap:6px; margin-top:6px;
  color:var(--gold-2); font-size:.85rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em;
}
.press-link .external{ font-size:.9rem; }
.press-card:hover .press-link{ text-decoration:underline; }

/* teaser tiles (home ventures preview) */
.teaser-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.teaser-tile{
  padding:22px 18px; border-radius:16px; border:1px solid var(--line);
  background:rgba(255,255,255,0.03);
  display:flex; flex-direction:column; gap:12px;
  transition:transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.teaser-tile:hover{ transform:translateY(-5px); border-color:var(--gold-line); background:rgba(255,255,255,0.05); }
.teaser-tile .venture-mark{ width:44px; height:44px; border-radius:12px; }
.teaser-tile .venture-mark img{ padding:6px; }
.teaser-tile h4{ margin:0; font-family:'Cormorant Garamond',Georgia,serif; font-size:1.15rem; }
.teaser-tile span{ color:var(--muted); font-size:.82rem; line-height:1.5; }

/* ================= STORY TIMELINE ================= */
.story-shell{ padding-top:10px; }
.story-intro{ padding:36px; margin-bottom:60px; }
.story-intro p{
  font-family:'Source Serif 4',Georgia,serif; font-size:1.14rem; line-height:2;
  color:var(--text-soft); margin:0 0 16px;
}
.story-intro p:last-of-type{ margin-bottom:0; }
.story-divider{ width:100px; height:1px; margin-top:22px; background:linear-gradient(90deg,var(--gold),transparent); }

.timeline{ position:relative; }
.timeline::before{
  content:""; position:absolute; left:50%; top:0; bottom:0; width:1px;
  background:linear-gradient(180deg, transparent, var(--gold-line) 8%, var(--gold-line) 92%, transparent);
  transform:translateX(-50%);
}
.t-row{
  display:grid; grid-template-columns:1fr 60px 1fr; align-items:start;
  margin-bottom:8px; position:relative;
}
.t-row .t-node{
  grid-column:2; display:flex; justify-content:center; padding-top:8px;
}
.t-node span{
  width:13px; height:13px; border-radius:50%; background:var(--bg);
  border:2px solid var(--gold); box-shadow:0 0 0 6px rgba(212,169,74,0.12);
  display:block;
}
.t-row .t-card{ grid-column:1; padding:28px 34px 28px 28px; text-align:right; }
.t-row.flip .t-card{ grid-column:3; text-align:left; padding:28px 28px 28px 34px; }
.t-row .t-spacer{ grid-column:3; }
.t-row.flip .t-spacer{ grid-column:1; }
.chapter-label{
  display:inline-block; margin-bottom:12px; color:var(--gold);
  font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; font-weight:700;
}
.story-chapter{ padding:0; background:none; border:none; box-shadow:none; }
.t-card{
  background:linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
}
.t-card h3{
  font-family:'Cormorant Garamond',Georgia,serif; margin:0 0 12px;
  font-size:clamp(1.5rem,2.1vw,1.95rem); line-height:1.08;
}
.t-card p{
  font-family:'Source Serif 4',Georgia,serif; font-size:1.04rem; line-height:1.95;
  color:var(--text-soft); margin:0 0 14px;
}
.t-card p:last-child{ margin-bottom:0; }

@media (max-width:900px){
  .timeline::before{ left:20px; }
  .t-row,.t-row.flip{ grid-template-columns:40px 1fr; }
  .t-row .t-node,.t-row.flip .t-node{ grid-column:1; padding-top:8px; }
  .t-row .t-card,.t-row.flip .t-card{ grid-column:2; text-align:left; padding:24px; }
  .t-row .t-spacer,.t-row.flip .t-spacer{ display:none; }
}

/* ================= ROADMAP ================= */
.roadmap-list{ display:grid; gap:14px; }
.roadmap-item{
  padding:22px 26px; border-left:2px solid var(--gold-line);
  background:rgba(255,255,255,0.03); border-radius:0 18px 18px 0;
  color:var(--text-soft); line-height:1.85; display:flex; gap:16px; align-items:flex-start;
  transition:border-color .3s ease, background .3s ease, transform .3s ease;
}
.roadmap-item:hover{ border-color:var(--gold); background:rgba(255,255,255,0.05); transform:translateX(4px); }
.roadmap-item .rn{
  font-family:'Cormorant Garamond',Georgia,serif; color:var(--gold); font-size:1.4rem; flex:none; opacity:.7;
}

/* ================= CONTACT ================= */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:26px; align-items:start; }
.contact-card{ padding:34px; }
.divider{ height:1px; margin:18px 0 24px; background:linear-gradient(90deg,transparent,var(--gold-line),transparent); }
.contact-list{ display:grid; gap:16px; }
.contact-list a{ color:#efd896; text-decoration:underline; text-underline-offset:4px; }
.contact-list .cl-label{ display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.16em; color:var(--muted); margin-bottom:4px; }
.contact-list .cl-note{ color:var(--text-soft); font-size:.95rem; line-height:1.6; }

.form-card{ padding:34px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.field label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; color:var(--muted); }
.field input,.field select,.field textarea{
  background:rgba(255,255,255,0.04); border:1px solid var(--line); border-radius:12px;
  padding:14px 16px; color:var(--text); font-family:inherit; font-size:.98rem;
  transition:border-color .3s ease, background .3s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--gold-line); background:rgba(255,255,255,0.06);
}
.field textarea{ resize:vertical; min-height:120px; }
.form-status{ margin-top:14px; font-size:.9rem; color:var(--muted); min-height:1.4em; }
.form-status.ok{ color:#a7d6a0; }
.form-status.err{ color:#e2938a; }

/* ================= FOOTER ================= */
.footer{ padding:44px 0 56px; margin-top:70px; border-top:1px solid var(--line); }
.footer-grid{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; align-items:center; }
.footer p,.footer a{ color:var(--muted); line-height:1.7; }
.footer a:hover{ color:var(--gold-2); }
.footer-nav{ display:flex; flex-wrap:wrap; gap:18px; }
.small{ font-size:.94rem; }

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .grid-3,.grid-2,.venture-grid,.contact-grid{ grid-template-columns:1fr; }
  .stat-ticker{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stat-ticker .tk:nth-child(2n){ border-right:none; }
  .stat-ticker .tk:nth-child(n+3){ border-top:1px solid var(--line); padding-top:22px; }
  .teaser-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px){
  .hero{ padding-top:50px; }
  .section-lg{ padding:66px 0; }
  .card,.venture-card,.contact-card,.form-card,.story-intro,.quote{ padding:24px; }
  .stat-ticker .tk{ padding:18px 14px 18px 0; }
}
