/* =============================================
   JOHN.AI-IT.IO — PERSONAL PORTFOLIO
   Fonts  : Sora (headings) · Manrope (body) · Fira Code (mono)
   Theme  : Dark · Calm · Precision
   ============================================= */

/* ── Tokens ── */
:root {
  /* Background scale — very subtle depth */
  --bg:        #0a0c13;
  --bg-2:      #0f1219;
  --surface:   #151820;
  --surface-2: #1a1e2c;

  /* Borders */
  --bd:        rgba(255,255,255,0.065);
  --bd-2:      rgba(255,255,255,0.12);

  /* Accent — calm periwinkle, not electric */
  --accent:      #5b8bf5;
  --accent-dim:  rgba(91,139,245,0.10);
  --accent-glow: rgba(91,139,245,0.12);

  /* Secondary accents */
  --teal:   #22d3c0;
  --green:  #3ecf8e;
  --amber:  #f59e0b;

  /* Text */
  --t1: #dde3ef;
  --t2: #6a788c;
  --t3: #2b3547;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,.35);
  --sh-md: 0 6px 28px rgba(0,0,0,.45);
  --sh-lg: 0 16px 56px rgba(0,0,0,.55);

  /* Layout */
  --nav-h:     64px;
  --r:         10px;
  --r-lg:      14px;
  --container: 1160px;

  /* Fonts */
  --ff-h: 'Sora', sans-serif;
  --ff-b: 'Manrope', sans-serif;
  --ff-m: 'Fira Code', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-b);
  font-size: 15px;
  line-height: 1.72;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Utilities ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }
.section:nth-child(even) { background: var(--bg-2); }

.section-label {
  display: block;
  font-family: var(--ff-m);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--ff-h);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--t1);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--t2);
  font-size: .92rem;
  max-width: 540px;
  margin-bottom: 3rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pdot 2.2s ease-in-out infinite;
}
@keyframes pdot {
  0%,100% { box-shadow: 0 0 0 0 rgba(62,207,142,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(62,207,142,0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.3rem;
  border-radius: var(--r);
  font-family: var(--ff-b);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #4a7ae8;
  box-shadow: 0 4px 22px rgba(91,139,245,.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(91,139,245,.28);
}
.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--t2);
  border-color: var(--bd-2);
}
.btn-ghost:hover { color: var(--t1); background: var(--surface); }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10,12,19,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bd);
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--bd-2); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-h);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--t1);
  background: var(--surface);
  border: 1px solid var(--bd-2);
  padding: .3rem .62rem;
  border-radius: 8px;
  transition: all .2s;
}
.nav-logo:hover { border-color: var(--accent); color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--t2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--t1); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: 8px;
  font-size: .82rem !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #4a7ae8 !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Dot grid */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.038) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

/* Ambient glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 520px; height: 520px;
  top: 5%; left: -5%;
  background: radial-gradient(circle, rgba(91,139,245,.06) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 380px; height: 380px;
  bottom: 5%; right: 0;
  background: radial-gradient(circle, rgba(34,211,192,.04) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Avatar + badge row */
.hero-top-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bd-2);
  flex-shrink: 0;
  box-shadow: var(--sh-sm);
}
.hero-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--ff-m);
  font-size: 11px;
  letter-spacing: .025em;
  color: var(--green);
  background: rgba(62,207,142,.065);
  border: 1px solid rgba(62,207,142,.18);
  padding: .38rem .8rem;
  border-radius: 20px;
}

/* Name */
.hero-name {
  font-family: var(--ff-h);
  font-size: clamp(3.2rem, 8.5vw, 6rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
  margin-bottom: .9rem;
  display: flex;
  flex-direction: column;
}
.name-first { color: var(--t1); }
.name-last  { color: var(--accent); }

.hero-title {
  font-family: var(--ff-m);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 1.3rem;
}

.hero-bio {
  color: var(--t2);
  font-size: .93rem;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 2rem;
}
.hero-bio strong { color: var(--t1); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* Stats panel */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: border-color .2s, box-shadow .2s;
}
.stat-card:hover { border-color: var(--bd-2); box-shadow: var(--sh-md); }

.stat-num {
  font-family: var(--ff-h);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--t2);
  line-height: 1.45;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--t3);
  animation: sb 2s ease-in-out infinite;
}
@keyframes sb {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--t2);
  font-size: .93rem;
  margin-bottom: .9rem;
}

.about-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .865rem;
  color: var(--t2);
}
.info-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  opacity: .65;
}
.info-item a { color: var(--accent); transition: opacity .2s; }
.info-item a:hover { opacity: .75; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  transition: border-color .2s;
}
.highlight-card:hover { border-color: var(--bd-2); border-left-color: var(--accent); }

.highlight-num {
  font-family: var(--ff-h);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
  line-height: 1;
}
.highlight-label {
  font-size: .775rem;
  color: var(--t2);
  line-height: 1.5;
}

/* =============================================
   EXPERIENCE
   ============================================= */
.exp-section .section-title { margin-bottom: 3rem; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: .6rem; bottom: .6rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--bd-2) 0%, var(--bd) 60%, transparent 100%);
}

.tl-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.75rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 1.35rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--bd-2);
  transform: translateX(-4px);
}
.tl-item:first-child::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91,139,245,.15);
}

.tl-meta {
  padding-top: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.tl-date {
  font-family: var(--ff-m);
  font-size: 10.5px;
  color: var(--t2);
  letter-spacing: .03em;
  line-height: 1.5;
}
.tl-badge {
  font-family: var(--ff-m);
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 4px;
  width: fit-content;
}
.tl-badge.current {
  background: rgba(91,139,245,.12);
  color: var(--accent);
  border: 1px solid rgba(91,139,245,.2);
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color .2s;
}
.tl-card--current { border-left: 3px solid var(--accent); }
.tl-card:hover { border-color: var(--bd-2); }

.tl-role {
  font-family: var(--ff-h);
  font-size: .98rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.tl-company {
  font-size: .81rem;
  color: var(--t2);
  margin-bottom: 1rem;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.tl-tags span {
  font-family: var(--ff-m);
  font-size: 10px;
  padding: .18rem .52rem;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: .03em;
}

.tl-bullets {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.tl-bullets li {
  font-size: .865rem;
  color: var(--t2);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.65;
}
.tl-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .72rem;
  top: 3px;
}
.tl-bullets li strong { color: var(--t1); font-weight: 500; }

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.project-card:hover {
  border-color: var(--bd-2);
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
}
.project-card--featured { border-left: 3px solid var(--accent); }

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-icon { font-size: 1.4rem; line-height: 1; }

.project-badges { display: flex; gap: .4rem; flex-wrap: wrap; }

.badge {
  font-family: var(--ff-m);
  font-size: 9.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .18rem .52rem;
  border-radius: 4px;
}
.badge-live     { background: rgba(34,211,192,.09); color: var(--teal);   border: 1px solid rgba(34,211,192,.2); }
.badge-progress { background: rgba(245,158,11,.09); color: var(--amber);  border: 1px solid rgba(245,158,11,.2); }
.badge-shipped  { background: rgba(255,255,255,.05); color: var(--t2);    border: 1px solid var(--bd-2); }
.badge-solo     { background: var(--accent-dim);     color: var(--accent); border: 1px solid rgba(91,139,245,.18); }

.project-title {
  font-family: var(--ff-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.3;
}
.project-sub {
  font-size: .79rem;
  color: var(--t2);
  margin-top: -.45rem;
}
.project-desc {
  font-size: .865rem;
  color: var(--t2);
  line-height: 1.72;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.project-tech span {
  font-family: var(--ff-m);
  font-size: 10px;
  padding: .18rem .52rem;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--t2);
  border: 1px solid var(--bd);
}

.project-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: .85rem;
  border-top: 1px solid var(--bd);
  margin-top: auto;
}
.project-stats > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.project-stats strong {
  font-family: var(--ff-h);
  font-size: .95rem;
  font-weight: 600;
  color: var(--t1);
  line-height: 1;
}
.project-stats span {
  font-size: .73rem;
  color: var(--t2);
}

/* =============================================
   SKILLS
   ============================================= */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--bd);
}
.skill-icon { font-size: 1rem; }
.skill-group-header h3 {
  font-family: var(--ff-h);
  font-size: .88rem;
  font-weight: 600;
  color: var(--t1);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.skill-tags span {
  font-size: .79rem;
  padding: .28rem .65rem;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--t2);
  border: 1px solid var(--bd);
  cursor: default;
  transition: all .18s;
}
.skill-tags span:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(91,139,245,.25);
}

/* =============================================
   SPEAKING
   ============================================= */
.speaking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.speaking-text .section-title { margin-bottom: .4rem; }

.speaking-event {
  font-family: var(--ff-m);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.speaking-text p {
  color: var(--t2);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.speaking-cta { display: inline-flex; align-items: center; gap: .5rem; }

.speaking-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.speaking-quote-mark {
  font-family: 'Georgia', serif;
  font-size: 4rem;
  line-height: .5;
  color: var(--accent);
  opacity: .3;
  margin-bottom: .75rem;
  display: block;
}

.speaking-card blockquote {
  font-family: var(--ff-h);
  font-size: .965rem;
  font-weight: 400;
  font-style: italic;
  color: var(--t1);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.speaking-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.speaking-topics span {
  font-family: var(--ff-m);
  font-size: 10px;
  padding: .22rem .55rem;
  border-radius: 5px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: .04em;
}

/* =============================================
   EDUCATION
   ============================================= */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.edu-card-title {
  font-family: var(--ff-m);
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.degree-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .5rem;
}
.degree-icon { font-size: 1.4rem; }
.degree-item strong {
  display: block;
  font-size: .9rem;
  color: var(--t1);
  font-weight: 600;
  margin-bottom: .2rem;
}
.degree-item span { font-size: .82rem; color: var(--t2); }

.cert-divider {
  font-family: var(--ff-m);
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 .85rem;
}

.cert-list li {
  font-size: .875rem;
  color: var(--t2);
  padding: .4rem 0 .4rem 1rem;
  border-bottom: 1px solid var(--bd);
  position: relative;
}
.cert-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .68rem;
  top: 50%; transform: translateY(-50%);
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--bd);
}
.lang-name { font-size: .875rem; color: var(--t1); }

.lang-pill {
  font-family: var(--ff-m);
  font-size: 9.5px;
  letter-spacing: .06em;
  padding: .18rem .52rem;
  border-radius: 4px;
}
.lang-native { background: rgba(91,139,245,.12); color: var(--accent); }
.lang-fluent { background: rgba(34,211,192,.1);  color: var(--teal); }
.lang-basic  { background: rgba(255,255,255,.05); color: var(--t2); }

.reloc-box {
  margin-top: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.1rem;
}
.reloc-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: .75rem;
}
.reloc-flags {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.reloc-flags span { font-size: .865rem; color: var(--t1); }
.reloc-note { font-size: .76rem; color: var(--t2); line-height: 1.5; }

/* =============================================
   CONTACT
   ============================================= */
.contact-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.contact-sub {
  color: var(--t2);
  font-size: .93rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact-email-cta {
  display: block;
  font-family: var(--ff-h);
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.025em;
  margin-bottom: 3rem;
  transition: opacity .2s;
}
.contact-email-cta:hover { opacity: .75; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.2rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.contact-card:hover {
  border-color: var(--bd-2);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.contact-card-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-card strong {
  display: block;
  font-size: .81rem;
  color: var(--t1);
  font-weight: 600;
  margin-bottom: .15rem;
}
.contact-card span { font-size: .74rem; color: var(--t2); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #070910;
  border-top: 1px solid var(--bd);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .79rem;
  color: var(--t3);
}
.footer-inner a { color: var(--accent); opacity: .65; transition: opacity .2s; }
.footer-inner a:hover { opacity: 1; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right  { order: -1; }
  .hero-stats  { grid-template-columns: repeat(4, 1fr); }
  .hero-bio    { max-width: 100%; }
  .about-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .speaking-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-cards  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .section { padding: 5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,12,19,.97);
    border-bottom: 1px solid var(--bd);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .88rem;
  }
  .nav-links a:hover { background: var(--surface); }
  .nav-cta { text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }

  .hero-stats   { grid-template-columns: 1fr 1fr; }
  .hero-name    { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .tl-item       { grid-template-columns: 1fr; gap: .4rem; padding-left: 0; }
  .tl-meta       { flex-direction: row; align-items: center; gap: .75rem; padding-top: 0; }
  .timeline      { padding-left: 0; }
  .timeline::before { display: none; }
  .tl-item::before  { display: none; }

  .projects-grid    { grid-template-columns: 1fr; }
  .skills-grid      { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .edu-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats       { grid-template-columns: 1fr 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .contact-cards    { grid-template-columns: 1fr 1fr; }
  .hero-top-row     { flex-wrap: wrap; }
}
