/* ═══════════════════════════════════════════════
   ASK — Amogh Sai Krishnan · Portfolio
   Aesthetic: Noir Editorial Magazine
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Syne:wght@300;400;500;600&family=DM+Mono:ital,wght@0,300;1,300&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --ink:    #0C0C0B;
  --paper:  #F5F0E8;
  --cream:  #EDE8DC;
  --red:    #D9291C;
  --red2:   #FF3B2B;
  --muted:  #7A7570;
  --border: rgba(245,240,232,0.10);
  --card:   rgba(255,255,255,0.03);
  --r:      6px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'Syne', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.025;
}

/* ── Scroll Progress ────────────────────────── */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--red);
  width: 0; z-index: 1000;
  transition: width 0.08s linear;
}

/* ── Cursor ─────────────────────────────────── */
#cursor {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  transform: translate(-50%,-50%);
  transition: transform 0.1s, opacity 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; pointer-events: none; z-index: 9997;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(217,41,28,0.5);
  transform: translate(-50%,-50%);
  transition: left 0.12s ease, top 0.12s ease, transform 0.3s, opacity 0.3s;
}

/* ── Intro Screen ───────────────────────────── */
#intro {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
}
.intro-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.4em;
  color: var(--muted); text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards;
}
.intro-logo {
  font-family: var(--font-display);
  font-size: clamp(10rem, 28vw, 22rem);
  line-height: 0.85;
  color: var(--paper);
  animation: introReveal 1s cubic-bezier(.16,1,.3,1) 0.5s both;
}
.intro-logo span { color: var(--red); }
.intro-rule {
  width: 0; height: 1px;
  background: var(--red);
  animation: lineGrow 0.8s ease 1.3s forwards;
  margin-top: 1rem;
}
@keyframes introReveal {
  from { opacity:0; transform: translateY(40px) skewY(2deg); }
  to   { opacity:1; transform: translateY(0) skewY(0); }
}
@keyframes lineGrow { to { width: min(60vw, 400px); } }
@keyframes fadeUp {
  from { opacity:0; transform: translateY(10px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeOut {
  to { opacity:0; pointer-events:none; visibility:hidden; }
}

/* ── NAV ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: padding 0.4s, background 0.4s;
}
nav.scrolled {
  padding: 0.9rem 3rem;
  background: rgba(12,12,11,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1;
}
.nav-logo em { color: var(--red); font-style: normal; }
.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-links a {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--red);
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.nav-actions a {
  color: var(--muted); transition: color 0.2s;
  display: flex; align-items: center;
}
.nav-actions a:hover { color: var(--red); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--paper); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(.77,0,.175,1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 3rem; letter-spacing: 0.06em;
  color: var(--muted); transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--paper); }
.mobile-nav .mob-socials { display: flex; gap: 1.5rem; margin-top: 1rem; }
.mobile-nav .mob-socials a { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mobile-nav .mob-socials a:hover { color: var(--red); }

/* ── Pages ──────────────────────────────────── */
.page { display: none; min-height: 100vh; padding-top: 88px; }
.page.active { display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: calc(100vh - 88px);
  display: grid; grid-template-columns: 1fr 0.4fr;
  align-items: end;
  padding: 4rem 3rem 5rem;
  position: relative; overflow: hidden;
  gap: 0;
}
.hero-bg-text {
  position: absolute; top: -2%; right: -2%;
  font-family: var(--font-display);
  font-size: clamp(200px, 35vw, 480px);
  line-height: 0.85;
  color: rgba(255,255,255,0.018);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
.hero-main { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--red); }
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.hero-name .line2 { color: var(--red); margin-left: 0.08em; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic; font-weight: 400;
  color: var(--muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: 0.95rem; line-height: 1.9;
  color: rgba(245,240,232,0.55);
  max-width: 540px; margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-red {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--r);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-red:hover {
  background: var(--red2); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217,41,28,0.35);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(245,240,232,0.2); color: var(--paper);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--r);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--red); background: rgba(217,41,28,0.08);
  transform: translateY(-2px);
}

.hero-sidebar {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: flex-end;
  padding-bottom: 0.5rem;
  gap: 3rem;
}
.hero-socials { display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; }
.hero-socials a {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-socials a:hover { color: var(--red); }
.hero-scroll {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 1rem;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ── Marquee ────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  background: rgba(255,255,255,0.015);
}
.marquee-track {
  display: inline-flex; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track.slow { animation-duration: 55s; }
.marquee-item {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding: 0 2.5rem;
}
.marquee-item b { color: var(--red); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Headings ───────────────────────── */
.section-number {
  font-family: var(--font-display);
  font-size: 7rem; line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute; top: -1rem; right: 0;
  pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
}
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.section-title em { color: var(--red); font-style: italic; }
.section-sub {
  font-size: 0.9rem; color: var(--muted); line-height: 1.8;
  max-width: 500px;
}
.section-rule {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 4rem 0;
}

/* ── Bio Section ────────────────────────────── */
.bio-section { padding: 6rem 0; position: relative; overflow: hidden; }
.bio-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: start; }
.bio-text { font-size: 1rem; line-height: 1.95; color: rgba(245,240,232,0.65); margin-bottom: 1.25rem; }
.bio-text strong { color: var(--paper); font-weight: 600; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0; }
.tag {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--muted);
  transition: all 0.2s;
}
.tag:hover { border-color: var(--red); color: var(--red); background: rgba(217,41,28,0.06); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--card);
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.4s;
}
.stat-card:hover { border-color: rgba(245,240,232,0.12); }
.stat-card:hover::before { height: 100%; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--paper);
  line-height: 1; margin-bottom: 0.4rem;
}
.stat-num span { color: var(--red); }
.stat-label { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ── CTA Strip ──────────────────────────────── */
.cta-strip {
  padding: 5rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
  background: rgba(255,255,255,0.015);
}
.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700; line-height: 1.2;
}
.cta-strip h2 em { color: var(--red); font-style: italic; }
.cta-strip p { color: var(--muted); margin-top: 0.75rem; line-height: 1.7; max-width: 480px; }
.cta-strip-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Quotes Bar ─────────────────────────────── */
.quotes-bar {
  overflow: hidden; padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.quotes-track {
  display: inline-flex; white-space: nowrap;
  animation: marquee 70s linear infinite;
}
.quote-item {
  font-family: var(--font-serif);
  font-size: 0.875rem; font-style: italic;
  padding: 0 3rem; color: var(--muted);
}
.quote-item em { color: rgba(245,240,232,0.5); font-style: normal; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  padding: 5rem 3rem 3rem;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}
.footer-brand { max-width: 340px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 4rem; line-height: 0.85;
  color: var(--paper); margin-bottom: 1.25rem;
}
.footer-logo em { color: var(--red); font-style: normal; }
.footer-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(245,240,232,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red); }
.footer-socials { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-socials a { font-size: 0.875rem; color: rgba(245,240,232,0.55); transition: color 0.2s; }
.footer-socials a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* ── PROJECTS PAGE ──────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
  position: relative; overflow: hidden;
}
.search-row {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin: 2.5rem 0;
}
.search-wrap { position: relative; flex: 1; min-width: 220px; }
.search-wrap svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.search-input {
  width: 100%; padding: 0.8rem 1rem 0.8rem 2.75rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--paper);
  font-family: var(--font-body); font-size: 0.875rem;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { outline: none; border-color: rgba(245,240,232,0.25); }
.filter-select {
  padding: 0.8rem 1.25rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--paper);
  font-family: var(--font-body); font-size: 0.8rem;
  cursor: pointer; transition: border-color 0.2s;
}
.filter-select:focus { outline: none; border-color: rgba(245,240,232,0.25); }
.filter-select option { background: #1a1a18; }
.btn-sm-ghost {
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r); color: var(--muted);
  font-family: var(--font-body); font-size: 0.8rem;
  transition: all 0.2s;
}
.btn-sm-ghost:hover { border-color: rgba(245,240,232,0.2); color: var(--paper); }

.repos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; }
.repo-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.2s;
  position: relative;
}
.repos-grid .repo-card { border-radius: 0; border-right: none; border-bottom: none; }
.repos-grid { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.repo-card:hover { background: rgba(255,255,255,0.05); }
.repo-card::after {
  content: ''; position: absolute; bottom: 0; left: 2rem; right: 2rem;
  height: 1px; background: var(--border);
}
.repo-name { font-weight: 600; font-size: 0.95rem; color: var(--paper); }
.repo-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; flex: 1; }
.repo-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.repo-lang {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.08em; color: var(--muted);
}
.lang-dot { width: 8px; height: 8px; border-radius: 50%; }
.repo-stat {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--muted); display: flex; align-items: center; gap: 0.3rem;
}
.repo-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.repo-topic {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--muted);
}
.repo-link {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-left: auto;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 0.3rem;
}
.repo-link:hover { color: var(--red); }
.repo-loading {
  padding: 6rem; text-align: center;
  color: var(--muted); font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  grid-column: 1 / -1;
}
.loading-pulse { display: flex; gap: 6px; justify-content: center; margin-top: 1rem; }
.loading-pulse span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.loading-pulse span:nth-child(2) { animation-delay: 0.2s; }
.loading-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse-dot {
  0%,80%,100% { transform: scale(0.6); opacity: 0.4; }
  40%          { transform: scale(1);   opacity: 1; }
}

/* ── CONTACT PAGE ───────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem; padding: 3rem 0 6rem;
  align-items: start;
}
.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-style: italic;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-of-type { border-top: 1px solid var(--border); }
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%; background: rgba(217,41,28,0.1);
  border: 1px solid rgba(217,41,28,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.contact-icon svg { width: 15px; height: 15px; }
.contact-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.contact-value { font-size: 0.9rem; transition: color 0.2s; }
.contact-value a:hover { color: var(--red); }

.form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 2);
  padding: 3rem;
}
.form-title {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700; margin-bottom: 0.35rem;
}
.form-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 2.5rem; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.6rem;
}
.form-field {
  width: 100%; padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r); color: var(--paper);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-field::placeholder { color: rgba(122,117,112,0.6); }
.form-field:focus { outline: none; border-color: rgba(217,41,28,0.5); background: rgba(217,41,28,0.03); }
textarea.form-field { min-height: 150px; resize: vertical; }
.btn-submit-full {
  width: 100%; padding: 1rem;
  background: var(--red); color: #fff;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--r);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.btn-submit-full:hover {
  background: var(--red2); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217,41,28,0.3);
}

/* Thank you */
#ty-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(12,12,11,0.95);
  backdrop-filter: blur(20px);
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 1rem;
}
#ty-overlay.show { display: flex; }
.ty-icon { font-size: 4rem; animation: scaleIn 0.5s cubic-bezier(.16,1,.3,1); }
.ty-title {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 700; color: var(--red);
  animation: scaleIn 0.5s cubic-bezier(.16,1,.3,1) 0.1s both;
}
.ty-sub { color: var(--muted); animation: fadeUp 0.5s ease 0.2s both; }
@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.particle {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 399;
  animation: floatUp 3s ease-out forwards;
}
@keyframes floatUp {
  from { transform: translateY(0) rotate(0deg); opacity: 1; }
  to   { transform: translateY(-120vh) rotate(720deg); opacity: 0; }
}

/* ── VENTURES PAGE ──────────────────────────── */
.ventures-section { padding: 2rem 0 5rem; }
.accordion {
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.5);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.accordion:hover { border-color: rgba(245,240,232,0.1); }
.accordion-trigger {
  width: 100%; text-align: left;
  padding: 2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; background: var(--card);
  transition: background 0.2s;
  cursor: pointer;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.04); }
.acc-head { flex: 1; }
.acc-name {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem;
}
.acc-tagline { font-size: 0.85rem; color: var(--muted); }
.acc-chevron {
  flex-shrink: 0; transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  color: var(--muted);
}
.accordion.open .acc-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.4,0,.2,1), opacity 0.35s;
  opacity: 0;
}
.accordion.open .accordion-body { max-height: 1400px; opacity: 1; }
.accordion-content {
  padding: 0 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
}
.venture-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.venture-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.9; margin-bottom: 1rem; }
.venture-list { margin-top: 1rem; }
.venture-list h6 {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.75rem;
}
.venture-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.venture-list li::before { content: '↗'; color: var(--red); font-size: 0.7rem; }
.venture-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.venture-media { display: flex; flex-direction: column; gap: 1rem; }
.media-block {
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden; background: rgba(255,255,255,0.02);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: background 0.2s;
}
.media-block:hover { background: rgba(255,255,255,0.04); }
.map-frame { height: 200px; border: none; width: 100%; display: block; }
.venture-meta { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.meta-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--muted);
}
.meta-row svg { width: 13px; height: 13px; color: var(--red); flex-shrink: 0; }

/* ── ABOUT PAGE ─────────────────────────────── */
.about-section { padding: 2rem 0 5rem; }
.about-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 4rem; align-items: start; }

/* Timeline */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--red) 0%, rgba(217,41,28,0.3) 60%, transparent 100%);
}
.tl-item { position: relative; padding-bottom: 3rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -3rem; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(217,41,28,0.4);
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: border-color 0.3s;
}
.tl-dot svg { width: 9px; height: 9px; color: var(--red); }
.tl-item:hover .tl-dot { border-color: var(--red); }
.tl-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r); background: var(--card);
  transition: border-color 0.3s, background 0.3s;
}
.tl-item:hover .tl-card {
  border-color: rgba(245,240,232,0.1);
  background: rgba(255,255,255,0.04);
}
.tl-date {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.5rem;
}
.tl-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.tl-org { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.tl-desc { font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.75; }

/* Sidebar cards */
.sidebar-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-acc {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: border-color 0.3s;
}
.sidebar-acc:hover { border-color: rgba(245,240,232,0.12); }
.sidebar-trigger {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); cursor: pointer; transition: background 0.2s;
}
.sidebar-trigger:hover { background: rgba(255,255,255,0.04); }
.sidebar-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.15rem; }
.sidebar-sub { font-size: 0.75rem; color: var(--muted); }
.sidebar-chevron { color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.sidebar-acc.open .sidebar-chevron { transform: rotate(180deg); }
.sidebar-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
  opacity: 0;
}
.sidebar-acc.open .sidebar-body { max-height: 800px; opacity: 1; }
.sidebar-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.skill-col-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.skill-group h6 {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.65rem;
}
.skill-group li {
  font-size: 0.8rem; color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 0.4rem;
}
.skill-group li::before { content: '▸'; color: var(--muted); font-size: 0.6rem; }
.cert-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.cert-item {
  font-size: 0.8rem; color: var(--muted); padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.cert-item::before { content: '◆'; color: var(--red); font-size: 0.5rem; margin-top: 3px; flex-shrink: 0; }
.interest-items { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.interest-item { font-size: 0.8rem; color: var(--muted); padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.edu-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.edu-item { padding: 0; }
.edu-school { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.2rem; }
.edu-detail { font-size: 0.78rem; color: var(--muted); }

/* Philosophy */
.philosophy-section {
  margin-top: 4rem; padding: 3.5rem;
  border: 1px solid var(--border); border-radius: calc(var(--r)*2);
  background: var(--card); position: relative; overflow: hidden;
}
.philosophy-section::before {
  content: '"'; position: absolute; top: -1rem; right: 2rem;
  font-family: var(--font-serif);
  font-size: 12rem; color: rgba(217,41,28,0.06);
  line-height: 1; pointer-events: none;
}
.phil-title {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--paper), var(--muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1rem;
}
.phil-text { font-size: 0.9rem; color: var(--muted); line-height: 1.9; margin-bottom: 2rem; }
.phil-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.phil-card {
  padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--r); transition: border-color 0.3s, background 0.3s;
}
.phil-card:hover { border-color: rgba(245,240,232,0.1); background: rgba(255,255,255,0.025); }
.phil-card h4 { font-size: 0.8rem; color: var(--red); font-weight: 600; margin-bottom: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; }
.phil-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.8; }

/* ── Fade-in observer ───────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 2rem 4rem; }
  .hero-sidebar { flex-direction: row; justify-content: flex-start; align-items: center; gap: 2rem; margin-top: 2.5rem; }
  .hero-scroll { writing-mode: horizontal-tb; text-orientation: initial; gap: 0.5rem; }
  .hero-scroll::after { width: 60px; height: 1px; background: linear-gradient(to right, var(--muted), transparent); }
  .hero-bg-text { font-size: 30vw; }
  .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1/-1; }
  .cta-strip { grid-template-columns: 1fr; gap: 2rem; }
  .container { padding: 0 2rem; }
  nav, nav.scrolled { padding: 1.25rem 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 2.5rem 1.5rem 3.5rem; }
  .container { padding: 0 1.5rem; }
  .hero-name { font-size: clamp(4rem, 18vw, 7rem); }
  .venture-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .skill-col-wrap { grid-template-columns: 1fr; }
  .phil-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  footer { padding: 3rem 1.5rem 2rem; }
  .form-wrap { padding: 2rem 1.5rem; }
  .accordion-trigger { padding: 1.5rem; }
  .accordion-content { padding: 0 1.5rem 2rem; }
  .philosophy-section { padding: 2rem; }
}
@media (max-width: 480px) {
  .hero-socials { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
  .stat-grid { grid-template-columns: 1fr; }
}
