/* ==================================================================
   KAVINDU LIYANNARACHCHI — PORTFOLIO (Light / Professional)
   Same "engineer's toolkit" idea as the dark build, translated to a
   clean daylight palette: white surfaces, soft shadows instead of
   glow, and the same teal/violet/amber taxonomy mapping 1:1 to the
   three specialities (Full-Stack / WordPress / AI).
   ================================================================== */

:root {
  /* --- Color tokens --- */
  --bg: #ffffff;
  --bg-subtle: #f6f7f9;
  --bg-panel: #ffffff;
  --bg-panel-2: #f7f8fa;
  --ink: #14181f;
  --ink-dim: #59616f;
  --ink-faint: #8a93a3;
  --line: #e7e9ed;
  --line-strong: #d7dbe1;

  --teal: #0f9488;
  --teal-soft: rgba(15, 148, 136, 0.08);
  --violet: #6d28d9;
  --violet-soft: rgba(109, 40, 217, 0.08);
  --amber: #b45309;
  --amber-soft: rgba(180, 83, 9, 0.08);

  /* --- Type tokens --- */
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* --- Layout tokens --- */
  --navbar-h: 76px;
  --header-h: var(--navbar-h);
  --radius: 14px;
  --radius-sm: 8px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* --- Shadow tokens (elevation replaces glow in the light theme) --- */
  --shadow-sm: 0 2px 10px rgba(20, 24, 31, 0.06);
  --shadow-md: 0 16px 40px -16px rgba(20, 24, 31, 0.16);
}

/* ------------------------------------------------------------ */
/* Base */
/* ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

section, header, footer, nav { position: relative; z-index: 1; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1rem; color: var(--ink-dim); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }

::selection { background: var(--teal); color: #ffffff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--teal), var(--violet)); border-radius: 10px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .filter-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: var(--header-h); }
.container, .container-fluid { position: relative; z-index: 1; }

/* ------------------------------------------------------------ */
/* Ambient background washes — soft tints, not glow (hero + contact) */
/* ------------------------------------------------------------ */
.bg-wash { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.wash-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.10; animation: drift 24s ease-in-out infinite alternate; }
.wash-blob.teal { background: var(--teal); width: 460px; height: 460px; top: -140px; left: -120px; }
.wash-blob.violet { background: var(--violet); width: 420px; height: 420px; bottom: -160px; right: -100px; animation-delay: -9s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(24px,-16px) scale(1.06); } }

/* ------------------------------------------------------------ */
/* Navbar */
/* ------------------------------------------------------------ */
.navbar-console {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 1040;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar-console.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-console .navbar-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  display: flex; align-items: center; gap: 0.5rem;
}
.navbar-console .navbar-brand .bracket { color: var(--teal); }
.navbar-console .nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-dim);
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s ease;
}
.navbar-console .nav-link::after {
  content: '';
  position: absolute; left: 1rem; right: 1rem; bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.navbar-console .nav-link:hover, .navbar-console .nav-link.active { color: var(--ink); }
.navbar-console .nav-link:hover::after, .navbar-console .nav-link.active::after { transform: scaleX(1); }
.navbar-console .navbar-toggler { border: 1px solid var(--line-strong); padding: 0.4rem 0.6rem; }
.navbar-console .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20,24,31,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------ */
.btn-console {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-console-primary { background: var(--teal); color: #ffffff; }
.btn-console-primary:hover { background: #0c7d73; transform: translateY(-2px); box-shadow: var(--shadow-md); color: #ffffff; }
.btn-console-outline { background: #ffffff; border-color: var(--line-strong); color: var(--ink); }
.btn-console-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------ */
/* Tag / badge taxonomy */
/* ------------------------------------------------------------ */
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em;
  padding: 0.28rem 0.65rem; border-radius: 100px; border: 1px solid; white-space: nowrap;
}
.tag-teal { color: var(--teal); background: var(--teal-soft); border-color: rgba(15,148,136,0.25); }
.tag-violet { color: var(--violet); background: var(--violet-soft); border-color: rgba(109,40,217,0.22); }
.tag-amber { color: var(--amber); background: var(--amber-soft); border-color: rgba(180,83,9,0.22); }

.icon-teal { background: var(--teal-soft); color: var(--teal); }
.icon-violet { background: var(--violet-soft); color: var(--violet); }
.icon-amber { background: var(--amber-soft); color: var(--amber); }
.skill-label.icon-teal, .skill-label.icon-violet, .skill-label.icon-amber { background: none; padding: 0; }
.skill-label.icon-teal { color: var(--teal); }
.skill-label.icon-violet { color: var(--violet); }
.skill-label.icon-amber { color: var(--amber); }

/* ------------------------------------------------------------ */
/* Section scaffolding */
/* ------------------------------------------------------------ */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-subtle); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem;
}
.eyebrow::before { content: '$'; color: var(--ink-faint); }

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 0.75rem; }
.section-sub { max-width: 640px; color: var(--ink-dim); margin-bottom: 3rem; }
.section-head.text-center .section-sub { margin-left: auto; margin-right: auto; }

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.panel-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.term-chrome {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel-2);
  border-radius: var(--radius) var(--radius) 0 0;
}
.term-chrome .term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-chrome .term-dot:nth-child(1) { background: #ff5f56; }
.term-chrome .term-dot:nth-child(2) { background: #ffbd2e; }
.term-chrome .term-dot:nth-child(3) { background: #27c93f; }
.term-chrome .term-title { margin-left: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-faint); }

/* ------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------ */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.availability-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal);
  border: 1px solid rgba(15,148,136,0.28); background: var(--teal-soft);
  padding: 0.4rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.availability-pill .dot, .fact-value .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  display: inline-block; box-shadow: 0 0 0 4px var(--teal-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-name { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.05; margin-bottom: 1.1rem; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-dim); max-width: 34rem; margin-bottom: 2.1rem; }
.hero-lede .rotate-text { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--violet); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }

.hero-socials { display: flex; gap: 0.9rem; }
.hero-socials a {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--ink-dim); font-size: 1.1rem; background: #fff;
  transition: all 0.2s ease;
}
.hero-socials a:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* Hero profile card (photo + quick facts) replaces the terminal graphic */
.hero-profile-card { padding: 1.1rem; }
.hero-profile-card .photo-block { border-radius: calc(var(--radius) - 5px); overflow: hidden; }
.hero-profile-card .photo-block img { width: 100%; display: block; }
.hero-facts { margin-top: 1.1rem; }
.hero-fact-row { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hero-fact-row:last-child { border-bottom: none; }
.fact-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.fact-value { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; }
.fact-value .dot { margin-right: 6px; }

/* ------------------------------------------------------------ */
/* Clients strip */
/* ------------------------------------------------------------ */
.clients-strip { padding: 2.75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-chip {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-dim);
  border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.5rem 1.1rem;
  transition: all 0.2s ease; display: inline-block; background: #fff;
}
.client-chip:hover { color: var(--teal); border-color: var(--teal); box-shadow: var(--shadow-sm); }
.client-chip.is-plain { cursor: default; }
.client-chip.is-plain:hover { color: var(--ink-dim); border-color: var(--line-strong); box-shadow: none; }

/* ------------------------------------------------------------ */
/* About */
/* ------------------------------------------------------------ */
.about-photo-frame { position: relative; border-radius: var(--radius); padding: 6px; background: linear-gradient(135deg, var(--teal), var(--violet)); max-width: 340px; box-shadow: var(--shadow-md); }
.about-photo-frame img { width: 100%; display: block; border-radius: calc(var(--radius) - 4px); background: var(--bg-panel); }
.about-photo-frame .frame-tag {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 0.75rem; padding: 0.35rem 0.9rem;
  border-radius: 100px; white-space: nowrap; color: var(--ink-dim); box-shadow: var(--shadow-sm);
}

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.stat-cell { text-align: left; padding: 1.1rem 0 0; border-top: 2px solid var(--line); }
.stat-value { font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--teal); display: block; line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.82rem; color: var(--ink-faint); }

/* ------------------------------------------------------------ */
/* Services */
/* ------------------------------------------------------------ */
.service-card { padding: 1.9rem; height: 100%; }
.service-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.94rem; margin-bottom: 0; }

/* ------------------------------------------------------------ */
/* Skills terminal panel */
/* ------------------------------------------------------------ */
.skills-panel .term-body { padding: 1.6rem clamp(1rem, 3vw, 2rem); }
.skill-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px dashed var(--line); }
.skill-row:last-child { border-bottom: none; }
.skill-row .skill-label { font-family: var(--font-mono); font-size: 0.85rem; width: 100%; max-width: 190px; flex-shrink: 0; }
.skill-row .skill-items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-chip { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink); background: var(--bg-subtle); border: 1px solid var(--line); padding: 0.3rem 0.75rem; border-radius: 6px; }

/* ------------------------------------------------------------ */
/* Experience timeline */
/* ------------------------------------------------------------ */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--teal), var(--violet), transparent); }
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.2rem; top: 0.35rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--teal); box-shadow: 0 0 0 4px var(--teal-soft);
}
.timeline-item .period { font-family: var(--font-mono); font-size: 0.78rem; color: var(--violet); text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-item h3 { font-size: 1.2rem; margin: 0.3rem 0 0.15rem; }
.timeline-item .org { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 0.6rem; display: block; }

/* ------------------------------------------------------------ */
/* Projects */
/* ------------------------------------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-dim);
  background: #fff; border: 1px solid var(--line-strong); padding: 0.45rem 1rem;
  border-radius: 100px; transition: all 0.2s ease; cursor: pointer;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink-dim); }
.filter-btn.active { color: #fff; background: var(--teal); border-color: var(--teal); }

.project-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.project-thumb { line-height: 0; }
.project-thumb img { width: 100%; height: auto; display: block; }
.project-card-body { padding: 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-card .project-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--teal-soft); border: 1px solid rgba(15,148,136,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--teal); margin-bottom: 1.1rem;
}
.project-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-card .project-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.project-card p.desc { font-size: 0.94rem; margin-bottom: 1rem; }
.project-card ul.highlights { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: 0.88rem; color: var(--ink-dim); flex-grow: 1; }
.project-card ul.highlights li { position: relative; padding-left: 1.2rem; margin-bottom: 0.5rem; }
.project-card ul.highlights li::before { content: '›'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.project-card .project-link { font-family: var(--font-mono); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal); margin-top: auto; }
.project-card .project-link:hover { color: var(--ink); gap: 0.6rem; }
.project-card.is-hidden { display: none; }

/* ------------------------------------------------------------ */
/* Resume (Education | Experience columns) */
/* ------------------------------------------------------------ */
.resume-col-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--line-strong);
}
.resume-col-title i { color: var(--teal); font-size: 1.2rem; }

/* ------------------------------------------------------------ */
/* Contact */
/* ------------------------------------------------------------ */
.contact-form-panel { padding: clamp(1.5rem, 3vw, 2.4rem); }
.form-console label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-dim); margin-bottom: 0.4rem; display: block; }
.form-console .form-control { background: var(--bg-subtle); border: 1px solid var(--line-strong); color: var(--ink); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-family: var(--font-body); }
.form-console .form-control:focus { background: #fff; border-color: var(--teal); color: var(--ink); box-shadow: 0 0 0 3px var(--teal-soft); }
.form-console .form-control::placeholder { color: var(--ink-faint); }
.form-console textarea.form-control { resize: vertical; min-height: 140px; }

.contact-info-panel { padding: clamp(1.5rem, 3vw, 2.4rem); height: 100%; }
.contact-info-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-info-row:last-of-type { border-bottom: none; }
.contact-info-row .ci-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--teal-soft); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.contact-info-row .ci-label { font-size: 0.78rem; color: var(--ink-faint); font-family: var(--font-mono); }
.contact-info-row .ci-value { color: var(--ink); font-size: 0.98rem; }

#formStatus { font-family: var(--font-mono); font-size: 0.88rem; margin-top: 1rem; display: none; }
#formStatus.ok { color: var(--teal); display: block; }
#formStatus.err { color: #c02929; display: block; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------ */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.site-footer .foot-brand { font-family: var(--font-mono); color: var(--ink); }
.site-footer small { color: var(--ink-faint); }

.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 1030; box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------ */
/* Preloader */
/* ------------------------------------------------------------ */
#preloader { position: fixed; inset: 0; background: var(--bg); z-index: 2000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
#preloader.hide { opacity: 0; visibility: hidden; }
.preload-mark { font-family: var(--font-mono); font-size: 1.1rem; color: var(--ink-dim); display: flex; align-items: center; gap: 0.6rem; }
.preload-ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--teal); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ */
/* Scroll reveal */
/* ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------ */
/* Responsive */
/* ------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-profile-card { margin-top: 1rem; }
}

@media (max-width: 767.98px) {
  :root { --navbar-h: 66px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-photo-frame { margin: 0 auto 3rem; }
  .skill-row { flex-direction: column; }
  .skill-row .skill-label { max-width: none; }
  .timeline { padding-left: 1.6rem; }
  .timeline-item::before { left: -1.6rem; }
}

@media (max-width: 575.98px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-console { justify-content: center; }
}

/* ------------------------------------------------------------ */
/* Reduced motion */
/* ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
