/* ============================================================
   Emmanuel portfolio — clean Bahnschrift-led visual system
   Fully consolidated: original + all patches merged
   ============================================================ */

:root {
  --navy: #0b1424;
  --navy-2: #111f33;
  --ink: #17243a;
  --muted: #647187;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #e2e8f0;
  --blue: #5576e8;
  --teal: #62d6c2;
  --gold: #e9b96b;
  --shadow: 0 18px 48px rgba(21, 39, 69, .08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .01em;
}

a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; }

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.035em;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 18, 33, .94);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .13em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #081625;
  background: linear-gradient(135deg, var(--teal), #9ab2ff);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(98,214,194,.2);
}

.accent { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c4cede;
  font-size: 13px;
  font-weight: 600;
}

.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal); }

.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(98,214,194,.55);
  border-radius: 7px;
  color: #fff !important;
}
.nav-cta span { color: var(--teal); margin-left: 7px; }

.menu-toggle {
  display: none;
  border: 1px solid #40506a;
  background: #14233a;
  color: white;
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 23px;
  cursor: pointer;
}

/* ============================================================
   Dark sections (hero, contact)
   ============================================================ */
.dark-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 22%, rgba(82,112,218,.23), transparent 36%),
    linear-gradient(125deg, #091321 0%, #12233b 60%, #0b182a 100%);
}

.hero {
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 90%);
}

.hero:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  right: 5%;
  top: 12%;
  background: #5476e7;
  filter: blur(160px);
  opacity: .17;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 72px;
  padding-top: 88px;
  padding-bottom: 68px;
}

.eyebrow, .section-label, .mini-label {
  color: #8d9bb2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c0ccdc;
}

.status-dot, .availability-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(98,214,194,.12);
}

h1 {
  max-width: 760px;
  margin: 26px 0 24px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #a9baff, #68e0ca);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 650px;
  color: #bdc8d8;
  font-size: 16px;
  line-height: 1.9;
}
.hero-lead strong { color: white; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 30px;
}
.hero-tags span {
  padding: 7px 12px;
  color: #dce5f1;
  border: 1px solid rgba(190,207,232,.2);
  border-radius: 5px;
  background: rgba(255,255,255,.045);
  font-size: 11px;
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  color: #0b1a29;
  background: linear-gradient(110deg, #a9baff, #69dfc9);
  box-shadow: 0 10px 28px rgba(98,214,194,.15);
}
.btn-outline {
  color: #fff;
  border-color: #63738d;
  background: rgba(255,255,255,.035);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark { color: white; background: var(--navy); }
.btn-light { color: var(--navy); background: white; }

.availability {
  margin: 25px 0 0;
  color: #aebbd0;
  font-size: 12px;
}
.availability-dot {
  width: 7px;
  height: 7px;
  margin-right: 9px;
}

/* ============================================================
   Hero terminal card
   ============================================================ */
.hero-card {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(182,203,237,.22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(25,42,68,.97), rgba(11,24,42,.98));
  box-shadow: 0 35px 90px rgba(0,0,0,.34);
}

.terminal-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.terminal-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6e809b;
}
.terminal-top i:first-child { background: #ff827d; }
.terminal-top i:nth-child(2) { background: #f3c36b; }
.terminal-top i:nth-child(3) { background: #69d6b6; }
.terminal-top span {
  margin-left: auto;
  color: #91a0b7;
  font-size: 10px;
}

.terminal-body {
  padding: 27px 29px 22px;
  color: #d7e1ef;
  font: 12px/2.05 Consolas, monospace;
}
.terminal-body p { margin: 0; }
.code-muted { color: #8392a9; }
.code-purple { color: #d4a5ff; }
.code-blue { color: #91c4ff; }
.code-green { color: #79ddc5; }
.code-yellow { color: #f0d99b; }
.indent { padding-left: 18px; }
.indent2 { padding-left: 38px; }

.terminal-rule {
  height: 1px;
  margin: 19px 0 12px;
  background: rgba(255,255,255,.1);
}
.terminal-foot {
  display: flex;
  justify-content: space-between;
  color: var(--teal);
  font-size: 10px;
}

.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #91a1b8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 100px 0; }
.intro { padding-top: 112px; padding-bottom: 100px; }
.section-label { color: #71809a; }

.intro-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 85px;
  margin-top: 30px;
}

.intro h2, .section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -.05em;
}

.serif-accent { color: #5874d9; font-weight: 600; }

.intro-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: #405fbd;
  font-size: 12px;
  font-weight: 800;
}
.text-link:hover { color: #1b3a91; text-decoration: underline; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 55px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.stat {
  min-width: 190px;
  margin-right: 35px;
  padding-right: 35px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stat:last-child { border: 0; }
.stat strong {
  color: #263e70;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

/* ============================================================
   Skills
   ============================================================ */
.skills-section, .experience-section {
  background: linear-gradient(180deg, #f5f7fb, #eef2f8);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin: 25px 0 40px;
}
.section-heading p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 17px;
}

.skill-card {
  min-height: 240px;
  padding: 27px;
  border: 1px solid #e3e9f2;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(22,40,70,.035);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.skill-card:hover {
  transform: translateY(-5px);
  border-color: #c8d4ee;
  box-shadow: var(--shadow);
}
.skill-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: #4864c3;
  background: linear-gradient(135deg, #edf1ff, #e3f8f4);
  font-size: 21px;
}
.skill-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
  letter-spacing: -.025em;
}
.skill-card p, .project-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.skill-pills span {
  padding: 4px 8px;
  border: 1px solid #e4e9f1;
  border-radius: 4px;
  color: #56647b;
  background: #f8faff;
  font-size: 9px;
  font-weight: 700;
}

/* ============================================================
   Projects
   ============================================================ */
.work-section { padding-bottom: 110px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 21px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 7px 24px rgba(22,40,70,.035);
  transition: transform .22s, box-shadow .22s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-visual {
  height: 215px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.school-visual { background: linear-gradient(135deg,#e3eaff,#c2d0fb); }
.finance-visual { background: linear-gradient(135deg,#dcf4ed,#a9e0d2); }
.health-visual { background: linear-gradient(135deg,#e9edff,#c9d5fa); }
.asset-visual { background: linear-gradient(135deg,#efebff,#d3cafa); }
.pos-visual { background: linear-gradient(135deg,#fff0df,#f1cfaa); }
.reports-visual { background: linear-gradient(135deg,#e8f3e9,#c0dfc5); }

.visual-chip {
  position: absolute;
  top: 17px;
  left: 18px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #273b60;
  background: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}
.visual-number {
  position: absolute;
  right: 18px;
  bottom: 0;
  color: rgba(28,49,85,.12);
  font-size: 55px;
  font-weight: 900;
}

.mock-window {
  width: 56%;
  height: 135px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 32px rgba(30,48,84,.17);
  transform: rotate(-3deg);
}
.mock-bar {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: #e9eef9;
}
.mock-lines { display: flex; gap: 7px; }
.mock-lines i {
  height: 40px;
  flex: 1;
  border-radius: 4px;
  background: #edf1fc;
}
.mock-chart {
  height: 35px;
  margin-top: 9px;
  border-radius: 4px;
  background:
    linear-gradient(160deg, transparent 40%, #7d96ed 41%, #7d96ed 44%, transparent 45%),
    #eef1fa;
}

.finance-symbol { color: #286d62; font-size: 65px; font-weight: 800; }
.finance-symbol small {
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: .25em;
}
.health-symbol { color: #536fc1; font-size: 100px; }
.asset-symbol { color: #6758a8; font-size: 90px; }
.pos-symbol { color: #9d5a21; font-size: 62px; font-weight: 800; }
.pos-symbol span, .report-symbol span { color: #fff; }
.report-symbol { color: #39724d; font-size: 72px; font-weight: 800; }

.project-info { padding: 24px 25px 26px; }
.project-type {
  color: #7a879c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}
.project-info h3 { margin: 7px 0; font-size: 23px; }
.project-info p { min-height: 45px; margin-bottom: 17px; }
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.project-links a {
  color: #405db5;
  font-size: 11px;
  font-weight: 800;
}
.project-links a:hover { text-decoration: underline; }

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

/* ============================================================
   Video showcase (with click-to-load facades)
   ============================================================ */
.video-showcase { padding-top: 95px; padding-bottom: 100px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  margin-top: 35px;
}
.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 28px rgba(15,23,42,.06);
}

/* Facade frame (before iframe is injected) */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0b1324;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  display: block;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
  filter: brightness(.85);
}
.video-facade:hover img,
.video-facade:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1);
}
.video-facade:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(11,19,36,.75);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  padding-left: 4px;
  transition: background .3s ease, transform .3s ease;
  pointer-events: none;
}
.video-facade:hover .play-btn {
  background: #e34c4c;
  transform: scale(1.08);
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
}
.video-caption span {
  color: #78859a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
.video-caption a {
  color: #405db5;
  font-size: 11px;
  font-weight: 800;
}
.video-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ============================================================
   Experience & Education
   ============================================================ */
.experience-section { scroll-margin-top: 90px; }

.timeline {
  margin-top: 36px;
  border-top: 1px solid #dce3ed;
}
.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 35px;
  padding: 26px 0;
  border-bottom: 1px solid #dce3ed;
}
.timeline-date {
  padding-top: 4px;
  color: #63769b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}
.timeline-item h3 { margin-bottom: 7px; font-size: 19px; }
.timeline-item h3 span {
  color: #738096;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.timeline-item p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}
.education-grid > div {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
}
.mini-label { color: #71809a; font-size: 9px; }
.education-grid h3 { margin: 10px 0 4px; font-size: 18px; }
.education-grid p { margin: 0; color: var(--muted); font-size: 11px; }

/* ============================================================
   Media / Articles
   ============================================================ */
.media-section { padding-top: 100px; padding-bottom: 110px; }
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  margin-top: 30px;
}
.media-grid > div:first-child > p {
  max-width: 400px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 13px;
}
.media-icon { color: #6179d5; font-size: 34px; }

.youtube-panel {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid #e0e7f2;
  border-radius: 13px;
  background: linear-gradient(135deg,#f0f4ff,#e7f4f1);
}
.youtube-panel:after {
  content: "▶";
  position: absolute;
  right: -12px;
  bottom: -85px;
  color: rgba(92,117,188,.09);
  font-size: 230px;
}
.youtube-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: white;
  background: #e34c4c;
}
.youtube-panel .mini-label,
.youtube-panel h3,
.youtube-panel p,
.youtube-panel a { position: relative; z-index: 1; }
.youtube-panel h3 { margin: 12px 0; font-size: 27px; }
.youtube-panel p {
  max-width: 340px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section { padding: 105px 0; }
.contact-wrap h2 {
  margin: 24px 0;
  font-size: clamp(43px,5.7vw,70px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.contact-wrap > p {
  max-width: 620px;
  margin-bottom: 27px;
  color: #b8c5d7;
  font-size: 14px;
  line-height: 1.9;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 27px;
  margin-top: 52px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #b3bfd0;
  font-size: 11px;
}
.contact-details a:hover { color: var(--teal); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 22px 0;
  color: #8e9bb0;
  background: #070e19;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}
.footer .brand { font-size: 12px; }
.footer .brand-mark { width: 28px; height: 28px; }
.footer a:last-child { color: #d0d9e6; }

/* New footer structure (from the fixed HTML) */
.footer-note {
  font-size: .9rem;
  color: #94a3b8;
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: .9rem;
}
.footer-links a {
  color: #cbd5e1;
  transition: color .2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: .8rem;
  color: #64748b;
  margin: 0;
}

/* ============================================================
   Focus styles
   ============================================================ */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 72px;
  }
  .hero-card { justify-self: start; max-width: 520px; }
  .hero { min-height: auto; }
  .intro-grid { gap: 42px; }
  .skill-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 15px; }
  .media-grid { gap: 35px; }
  .nav-links { gap: 18px; }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 650px) {
  .wrap { width: min(100% - 34px,1160px); }
  .site-header { height: 68px; }

  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: #0b1424;
    box-shadow: 0 18px 30px rgba(0,0,0,.25);
  }
  /* Both classes supported for safety — JS uses .is-open */
  .nav-links.is-open,
  .nav-links.open { display: flex; }

  .nav-links a { padding: 12px 5px; }
  .nav-cta { margin-top: 7px; text-align: center; }

  .hero-content { padding-top: 56px; padding-bottom: 40px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(41px,11vw,57px); letter-spacing: -.05em; }
  .hero-lead { font-size: 14px; }
  .hero-bottom { font-size: 8px; line-height: 1.7; }
  .terminal-body { padding: 22px 19px; font-size: 10px; }

  .section, .intro, .video-showcase, .media-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .intro-grid, .media-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .intro h2, .section-heading h2 { font-size: 37px; }

  .stat-row { gap: 20px 0; margin-top: 38px; }
  .stat { min-width: 33%; margin: 0; padding: 0 12px; }
  .stat strong { font-size: 25px; }
  .stat span { font-size: 10px; }

  .skill-grid,
  .project-grid,
  .education-grid,
  .video-grid { grid-template-columns: 1fr; }

  .skill-card { min-height: 0; padding: 23px; }
  .project-visual { height: 190px; }
  .project-info { padding: 22px; }
  .project-info p { min-height: 0; }
  .work-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .video-grid { gap: 17px; }
  .video-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .timeline-item h3 { font-size: 17px; }

  .youtube-panel { padding: 27px; }

  .contact-section { padding: 76px 0; }
  .contact-wrap h2 { font-size: 43px; }
  .contact-details { flex-direction: column; gap: 11px; }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-card { transform: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .video-facade img,
  .play-btn { transition: none; }
}