/* style.css — Aayush Krishnan personal website */

/* 1. Design Tokens */
:root {
  --bg: #FAFAF8;
  /* near-white warm background */
  --surface: #F3F3F0;
  /* light gray for alternating sections */
  --surface2: #EAEAE7;
  /* slightly darker surface */
  --text: #1A1A1A;
  /* near-black primary text */
  --muted: #6B6B6B;
  /* secondary text */
  --muted2: #999999;
  /* tertiary text */
  --accent: #C85C38;
  /* terracotta accent */
  --accent-light: #E8924A;
  /* lighter terracotta for hover states */
  --border: #E5E5E3;
  /* subtle borders */
  --white: #FFFFFF;
  /* pure white for cards on gray bg */
  --shadow: rgba(26, 26, 26, 0.08);
  --shadow-md: rgba(26, 26, 26, 0.12);
  --shadow-lg: rgba(26, 26, 26, 0.18);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --max-w: 1200px;
  --nav-h: 68px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: initial;
  /* Managed by JS for offset */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

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

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* 3. NAV styles */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

#nav.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  margin-right: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  font-weight: 500;
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border: 1.5px solid var(--text);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--text);
  color: var(--bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-resume-nav {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  background: var(--text);
  color: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.btn-resume-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--muted);
}

.mobile-menu-links a:hover {
  color: var(--text);
}

.mobile-menu-links a.mobile-cta {
  color: var(--accent);
  font-size: 24px;
  margin-top: 16px;
}

/* 4. HERO styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 80px;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  /* Above floating elements */
}

/* --- Hero Visual Stack (Refined) --- */
.hero-visual-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack-item {
  position: absolute;
  width: clamp(160px, 15vw, 280px);
  height: clamp(210px, 20vw, 370px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  background: var(--surface);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

.stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.item-1 {
  left: 2%;
  top: 8%;
  transform: rotate(-6deg) translateY(0);
}

.item-2 {
  right: 2%;
  top: 6%;
  transform: rotate(4deg) translateY(0);
}

.item-3 {
  left: 4%;
  bottom: 6%;
  transform: rotate(3deg) translateY(0);
}

.item-4 {
  right: 3%;
  bottom: 4%;
  transform: rotate(-5deg) translateY(0);
}

/* Animations Triggered in JS */
.stack-item.reveal-stack {
  opacity: 0.8;
}

/* Card Interactivity */
a.card {
  text-decoration: none;
  cursor: pointer;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 196, 58, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(232, 196, 58, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 196, 58, 0);
  }
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 92, 56, 0.10) 0%, transparent 70%);
  pointer-events: none;
  top: -100px;
  right: -150px;
}

.hero-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 92, 56, 0.06) 0%, transparent 70%);
  top: auto;
  right: auto;
  bottom: -50px;
  left: -100px;
}

.hero-name {
  font-size: clamp(56px, 10vw, 140px);
  line-height: 1.0;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  color: var(--text);
}



.name-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  /* slightly larger */
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0;
  line-height: 1.6;
}

.hero-roles {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.role-sep {
  color: var(--accent);
  margin: 0 8px;
  font-weight: 700;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  background: var(--surface);
  margin-bottom: 32px;
  opacity: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E8C43A;
  animation: pulse 2s infinite;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
}

.btn-ghost,
.btn-filled {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-filled {
  background: var(--text);
  color: var(--bg);
}

.btn-filled:hover {
  background: var(--accent);
}

/* (hero-scroll removed — no longer used) */

/* 5. CREDIBILITY BAR styles */
.credibility-bar {
  background: var(--surface);
  padding: 40px 48px;
  overflow: hidden;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text:hover {
  opacity: 1;
}

/* Logo icon badges */
.logo-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}

.logo-icon.hv {
  background: #2d5aa0;
}

.logo-icon.dc {
  background: #00693e;
}

.logo-icon.mit {
  background: #e77500;
}

.logo-icon.hp {
  background: #a51c30;
}

.logo-icon.an {
  background: #1a1a1a;
}

.logo-icon.mm {
  background: #c7511f;
}

/* Logo images (for real logos) */
.logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 6. WORK styles */
.work {
  padding: clamp(80px, 10vw, 130px) 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 12px;
}

.section-header .sub {
  font-size: 16px;
  color: var(--muted);
}

.metrics-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}

.metric-dot {
  color: var(--border);
}

.title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.title-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--accent);
}

.card-inner {
  padding: 40px;
  height: 100%;
}

.card-full .card-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 320px;
}

.card-metrics .metric {
  display: flex;
  flex-direction: column;
}

.card-metrics .num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.card-metrics .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted2);
  letter-spacing: 0.03em;
}

.card-text {
  flex: 1;
}

.card-tags {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
  display: block;
  margin-bottom: 12px;
}

/* .card-logo removed — logos now inline with .card-title-logo */

.card-title {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--text);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 460px;
}

.card-overlay {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  opacity: 1;
  pointer-events: none;
}

.arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 20px;
  transition: all 0.3s var(--ease);
}

.card:hover .arrow-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(-45deg);
}

/* Card accent top border */
.card-accent-terracotta {
  border-top: 3px solid var(--accent);
}

.card-accent-green {
  border-top: 3px solid #2d9b6b;
}

/* Brand row above card title */
.card-brand {
  margin-bottom: 10px;
}

.card-brand-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Promotion timeline on cards */
.card-promotion {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.promo-header {
  margin-bottom: 12px;
}

.promo-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.promo-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.promo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.promo-step.active {
  background: var(--accent);
  border-color: var(--accent);
}

.promo-step.active .promo-title,
.promo-step.active .promo-date {
  color: var(--white);
}

.promo-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.promo-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.02em;
}

.promo-arrow {
  font-size: 12px;
  color: var(--muted2);
}

.promo-context {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.card-full {
  min-height: auto;
}

.card-half {
  min-height: auto;
}

.card-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 24px;
}

/* 3-column compact row */
.cards-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Secondary work label */
.secondary-work-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-top: 12px;
  margin-bottom: 8px;
}

/* Background section */
.background {
  padding: clamp(48px, 6vw, 80px) 0;
}

.background .companies {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  border: 1px solid var(--border);
}

/* Secondary Compact Cards */
.card-compact {
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 200px;
}

.card-compact .card-tags {
  color: var(--muted2);
}

.card-compact .card-title {
  color: var(--text);
  font-size: 24px;
}

.card-compact .card-desc {
  color: var(--muted);
}

.card-stat {
  margin-top: 20px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
}

/* 7. STORY styles */
.story {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--surface);
}

.story-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.story-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.story-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 32px;
}

.story-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 580px;
}

.story-closing {
  font-style: italic;
  color: var(--text) !important;
  font-weight: 400 !important;
}

.story-photo {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px var(--shadow-md);
  position: sticky;
  top: 100px;
  transition: transform 0.5s var(--ease);
}

.story-photo:hover {
  transform: scale(1.01);
}

.companies {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  border: 1px solid var(--border);
}

.company-tiles {
  display: flex;
  margin-top: 32px;
}

.company-tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}

.company-tile:hover {
  background: var(--bg-main);
  transform: translateY(-2px);
}

.company-tile:not(:first-child) {
  border-left: 1px solid var(--border);
}

.company-tile:first-child {
  padding-left: 0;
}

.company-tile:last-child {
  padding-right: 0;
}

.company-logo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.company-logo-bar .logo-icon {
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 6px;
}

.company-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-logo-bar .company-name {
  margin-bottom: 0;
}

.company-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.company-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 12px;
}

.company-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 4px;
}

.company-years {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted2);
}

/* 8. FACTS styles */
.facts {
  padding: clamp(80px, 10vw, 130px) 0;
}

.facts em {
  font-style: italic;
}

.facts-list {
  margin-top: 56px;
}

.fact-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.fact-row:first-child {
  border-top: 1px solid var(--border);
}

.fact-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--surface2);
  line-height: 1;
  min-width: 60px;
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease);
}

.fact-row:hover .fact-num {
  color: var(--accent);
}

.fact-text {
  display: flex;
  flex-direction: column;
}

.fact-bold {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.fact-muted {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
}

/* 8b. PHOTO STRIP styles */
.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 0.9fr;
  gap: 16px;
  margin-top: 80px;
}

.photo-strip-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}

.photo-strip-item:hover img {
  transform: scale(1.04);
}

/* Tilted 5-photo strip */
.photo-strip-tilted {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-left: -24px;
  margin-right: -24px;
}

.photo-strip-tilted .photo-strip-item {
  aspect-ratio: 3/4;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s var(--ease);
}

.photo-strip-tilted .photo-strip-item:nth-child(1) {
  transform: rotate(-3deg) translateY(8px);
  margin-right: -12px;
  z-index: 1;
}

.photo-strip-tilted .photo-strip-item:nth-child(2) {
  transform: rotate(2deg) translateY(-6px);
  margin-right: -12px;
  z-index: 2;
}

.photo-strip-tilted .photo-strip-item:nth-child(3) {
  transform: rotate(-1.5deg) translateY(12px);
  margin-right: -12px;
  z-index: 3;
}

.photo-strip-tilted .photo-strip-item:nth-child(4) {
  transform: rotate(3deg) translateY(-4px);
  margin-right: -12px;
  z-index: 2;
}

.photo-strip-tilted .photo-strip-item:nth-child(5) {
  transform: rotate(-2deg) translateY(6px);
  z-index: 1;
}

.photo-strip-tilted .photo-strip-item:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.03);
  z-index: 10;
}

/* 9. CONNECT styles */
.connect {
  padding: clamp(80px, 10vw, 130px) 0 0;
  background: var(--surface);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
}

.connect-left h2 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.connect-body {
  font-size: 16px;
  color: var(--muted);
  max-width: 360px;
  margin-bottom: 28px;
}

.connect-email {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  display: inline-block;
}

.connect-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-resume {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.3s var(--ease);
}

.btn-resume:hover {
  background: var(--accent);
}

.social-links {
  display: flex;
  flex-direction: column;
  padding-top: 48px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.social-link:hover .social-icon {
  opacity: 1;
  transform: scale(1.1);
}

.social-link:first-child {
  border-top: 1px solid var(--border);
}

.platform {
  font-size: 15px;
  font-weight: 500;
  min-width: 120px;
}

.social-link:hover .platform {
  color: var(--accent);
}

.platform-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  flex: 1;
}

.arrow {
  color: var(--muted2);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.social-link:hover .arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* 10. FOOTER styles */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.03em;
}

/* 11. STICKY CTA styles */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 28px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 98;
  transition: transform 0.4s var(--ease);
}

.sticky-cta.hidden {
  transform: translateY(100%);
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-pill);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* 12. CUSTOM CURSOR styles */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--muted2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.cursor.active {
  width: 28px;
  height: 28px;
  background: var(--accent);
}

.cursor-follower.active {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  opacity: 0.4;
}

/* 13. REVEAL ANIMATIONS */
.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 14. KEYFRAMES */
@keyframes pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.85);
    opacity: 0.6;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(5px);
  }

  60% {
    transform: translateY(3px);
  }
}

@keyframes nameReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 15. RESPONSIVE */

/* Large Desktop */
@media (min-width: 1400px) {
  .hero {
    padding: 120px 48px 100px;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  #nav {
    padding: 0 32px;
  }

  .story-top {
    gap: 48px;
  }

  .card-half {
    min-height: 260px;
  }
}

/* Mobile Portrait */
@media (max-width: 768px) {
  .container {
    padding: 0 28px;
  }

  #nav {
    padding: 0 28px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Burger Animation */
  .nav-burger.open span:nth-child(1) {
    transform: translateY(3.25px) rotate(45deg);
  }

  .nav-burger.open span:nth-child(2) {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .hero {
    padding: 80px 28px 70px;
  }

  .hero-visual-stack {
    display: none;
  }

  .logo-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 32px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .logo-strip::-webkit-scrollbar {
    display: none;
  }

  .metrics-bar {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .metrics-bar .metric-item {
    flex: 0 0 calc(50% - 16px);
  }

  .metrics-bar .metric-dot {
    display: none;
  }

  .cards-row {
    grid-template-columns: 1fr;
  }

  .cards-row-3 {
    grid-template-columns: 1fr;
  }

  .card-full .card-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-metrics {
    min-width: 0;
    width: 100%;
    margin-bottom: 32px;
  }

  .card-metrics .num {
    font-size: 22px;
  }

  .story-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-photo {
    position: static;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
  }

  .company-tiles {
    flex-direction: column;
    gap: 32px;
  }

  .company-tile {
    padding: 0;
    border-left: none !important;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
  }

  .company-tile:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .photo-strip-tilted {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-left: 0;
    margin-right: 0;
  }

  .photo-strip-tilted .photo-strip-item {
    margin-right: 0 !important;
    transform: none !important;
  }

  .photo-strip-tilted .photo-strip-item:nth-child(4),
  .photo-strip-tilted .photo-strip-item:nth-child(5) {
    display: none;
  }

  .promo-steps {
    gap: 4px;
  }

  .promo-step {
    padding: 4px 8px;
  }

  .promo-title {
    font-size: 11px;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 28px;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .sticky-cta {
    display: block;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .hero-name {
    font-size: clamp(44px, 12vw, 72px);
  }

  .section-header h2 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .fact-num {
    font-size: 32px;
    min-width: 44px;
  }

  .card-inner,
  .companies {
    padding: 28px;
  }

  .social-link .platform {
    min-width: 100px;
    font-size: 14px;
  }
}