/* ============================================
   Deepanshu Khadikar — personal site
   ============================================ */

:root {
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --bg-card: #17171a;
  --bg-card-hover: #1d1d21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f3f1;
  --text-dim: #a2a2a8;
  --text-faint: #6c6c73;

  --accent: #ff7a33;
  --accent-2: #ffb577;
  --accent-soft: rgba(255, 122, 51, 0.12);
  --accent-soft-strong: rgba(255, 122, 51, 0.22);

  --green: #35d389;
  --green-soft: rgba(53, 211, 137, 0.14);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.accent { color: var(--accent); }
.accent-dot { color: var(--accent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e85d19);
  color: #140a04;
}
.btn-primary:hover { box-shadow: 0 10px 28px -10px var(--accent-soft-strong); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.logo .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 8px;
  flex: 1;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 16px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.glow-1 {
  width: 520px; height: 520px;
  background: var(--accent);
  top: -220px; right: -140px;
}
.glow-2 {
  width: 380px; height: 380px;
  background: #5b3dff;
  bottom: -160px; left: -120px;
  opacity: 0.18;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero-name {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
}
.hero-tagline {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text);
  font-weight: 600;
  max-width: 560px;
}
.hero-position {
  margin-top: 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.92rem;
}
.hero-position .sep { color: var(--accent); margin: 0 4px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tags li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.02);
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-pillars {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
}
/* ---------- Premium icon marks ---------- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(155deg, rgba(255,140,66,0.09), rgba(255,122,51,0.015));
  border: 1px solid rgba(255, 158, 94, 0.22);
  color: var(--accent-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.icon-badge svg { display: block; }

.icon-badge-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.icon-badge-sm svg { width: 16px; height: 16px; }

.icon-badge-md {
  width: 42px;
  height: 42px;
}
.icon-badge-md svg { width: 20px; height: 20px; }

.icon-badge-lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.icon-badge-lg svg { width: 23px; height: 23px; }

.icon-badge-muted {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text-dim);
}

/* monogram-style identity marks (ventures) */
.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255,140,66,0.1), rgba(255,122,51,0.02));
  border: 1px solid rgba(255, 158, 94, 0.25);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}
.icon-mark-lg {
  width: 48px;
  height: 48px;
  font-size: 0.82rem;
  border-radius: 12px;
}
.icon-mark-muted {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text-dim);
}

.project-card:hover .icon-badge,
.project-card:hover .icon-mark,
.about-card:hover .icon-badge,
.skill-cluster:hover .icon-badge,
.biz-card:hover .icon-badge {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.pillar-icon {
  font-size: 1.1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 18px;
}
.monogram {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #2a1708, #0d0d0f 72%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 40px 80px -30px rgba(255, 122, 51, 0.35);
  position: relative;
}
.monogram::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(from 180deg, var(--accent), transparent 30%, transparent 70%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.monogram span {
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.monogram-photo {
  overflow: hidden;
  background: #0d0d0f;
}
.monogram-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.visual-chip {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ticker */
.ticker {
  margin-top: 90px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 0.95rem;
  animation: ticker 32s linear infinite;
}
.ticker-track span { padding: 0 2px; }
.tdot { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-elev);
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 56px;
  max-width: 640px;
}
.section-title:has(+ .section-sub) {
  margin-bottom: 14px;
}
.section-sub {
  margin-bottom: 56px;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 560px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  position: relative;
}
.tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -34px;
  width: 1px;
  background: var(--border-strong);
}
.tl-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}
.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 32px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.tl-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.tl-highlight {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tl-highlight-stat {
  flex: 1;
  min-width: 160px;
  padding: 18px 20px;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(255,122,51,0.1), rgba(255,122,51,0.02));
  border: 1px solid rgba(255, 122, 51, 0.25);
}
.tl-highlight-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
}
.tl-highlight-unit {
  font-size: 1rem;
  color: var(--accent-2);
}
.tl-highlight-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.tl-achievements-label {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.tl-achievements {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-achievements li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.tl-achievements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.tl-head h3 { font-size: 1.2rem; }
.tl-meta { color: var(--text-dim); font-size: 0.9rem; margin-top: 4px; }
.tl-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  white-space: nowrap;
  padding-top: 4px;
}
.tl-desc {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.65;
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tl-tags li {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid rgba(255, 122, 51, 0.25);
}

/* milestone highlight */
.milestone {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(255,122,51,0.1), rgba(255,122,51,0.02));
  border: 1px solid rgba(255, 122, 51, 0.25);
}
.milestone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.milestone-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
}
.milestone-num { color: var(--text-dim); }
.milestone-num.accent { color: var(--accent); font-size: 1.7rem; }
.milestone-arrow { color: var(--text-faint); font-size: 1.1rem; }
.milestone-label {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 260px;
}
.milestone-bar {
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.milestone-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.4s var(--ease);
}

/* ---------- Primary Business ---------- */
.section-business {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 900px 500px at 15% 0%, rgba(255,122,51,0.1), transparent 60%), var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.biz-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(255,122,51,0.08);
  border: 1px solid rgba(255,122,51,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.biz-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.biz-lede-wrap {
  max-width: 660px;
  margin-bottom: 20px;
}
.biz-lede {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.75;
}
.biz-lede + .biz-lede { margin-top: 16px; }
.biz-lede strong { color: var(--text); font-weight: 600; }
.biz-note {
  max-width: 640px;
  color: var(--text-faint);
  font-size: 0.84rem;
  margin-bottom: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.biz-list {
  border-top: 1px solid var(--border);
}
.biz-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease);
}
.biz-row:hover { padding-left: 8px; }
.biz-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2px;
}
.biz-row h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.biz-row p {
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
}

/* ---------- Achievements ---------- */
.achv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.achv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  text-align: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.achv-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.achv-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
}
.achv-num-static { font-size: 1.5rem; }
.achv-label {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 38px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.project-live {
  border-color: rgba(53, 211, 137, 0.3);
  box-shadow: 0 30px 60px -36px rgba(53, 211, 137, 0.25);
}
.project-live:hover {
  box-shadow: 0 30px 60px -30px rgba(53, 211, 137, 0.4);
}
.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.status-live {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(53, 211, 137, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.status-dev {
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.project-icon {
  margin: 2px 0 16px;
}
.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.project-abbr { color: var(--text-faint); font-weight: 500; font-size: 1rem; }
.project-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.project-tags li {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-cluster {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 28px;
}
.skill-cluster-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.skill-cluster-head h3 { font-size: 1.05rem; }
.skill-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill-pills li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.skill-pills li:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.about-text {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 18px;
}
.about-text + .about-text { margin-top: 14px; }
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.about-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.about-card h3 { font-size: 1.02rem; margin-top: 14px; }
.about-card p { color: var(--text-dim); font-size: 0.88rem; margin-top: 8px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; }
.contact-wrap .section-title { margin: 0 auto 16px; }
.contact-sub {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.contact-note {
  margin-top: 26px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.contact-note code {
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- Opportunity Compass ---------- */
.compass-intro {
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 44px;
}
.compass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.compass {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
}
.compass-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.compass-lines line {
  stroke: var(--accent);
  stroke-width: 0.6;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.compass-lines line.on { opacity: 0.6; }

.compass-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a1708, #0d0d0f 70%);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 0 40px -10px rgba(255,122,51,0.45);
}

.compass-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 92px;
  padding: 10px 6px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  z-index: 2;
}
.compass-node:hover {
  border-color: var(--accent);
  color: var(--text);
}
.compass-node.active {
  background: linear-gradient(135deg, var(--accent), #e85d19);
  border-color: var(--accent);
  color: #140a04;
  transform: translate(-50%, -50%) scale(1.06);
}

.compass-readout {
  min-height: 76px;
  max-width: 520px;
  text-align: center;
  padding: 18px 26px;
  border-radius: var(--radius-m);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compass-placeholder { color: var(--text-faint); font-size: 0.9rem; }
.compass-quote {
  color: var(--text);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.5;
}
.compass-quote span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.compass-progress {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.compass-progress #compass-count { color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.86rem;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--text); }
.footer-note {
  width: 100%;
  color: var(--text-faint);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 6px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .monogram { width: 170px; height: 170px; }
  .monogram span { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px;
    gap: 16px;
  }

  .hero { padding: 130px 0 70px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-pillars { gap: 16px; flex-direction: column; }

  .section { padding: 80px 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .achv-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }

  .tl-item { grid-template-columns: 40px 1fr; }
  .tl-marker { width: 40px; height: 40px; font-size: 0.7rem; }
  .tl-item:not(:last-child)::after { left: 19px; top: 40px; }
  .tl-card { padding: 22px; }

  .milestone-row { flex-direction: column; align-items: flex-start; }

  .compass-node { width: 76px; font-size: 0.68rem; padding: 8px 4px; }
  .compass-hub { width: 62px; height: 62px; font-size: 0.85rem; }
}
