/* ============================================================
   Yan Naing Soe — Portfolio
   Clean & minimalist light theme · shared stylesheet
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --surface: #f7f8fa;
  --card: #ffffff;
  --card-hover: #fcfcfd;
  --line: #e8eaf0;
  --line-strong: #dde0e8;
  --text: #16181d;
  --muted: #5b6472;
  --faint: #9aa1ae;
  --accent: #4f46e5;
  --accent-2: #7c68ee;
  --accent-soft: #eef0fd;
  --grad: linear-gradient(100deg, #4f46e5, #7c68ee);
  --radius: 16px;
  --nav-h: 72px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.05);
  --shadow-md: 0 10px 30px rgba(22, 24, 29, 0.07);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(79, 70, 229, 0.15); }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.015em; }

/* ---------- background: barely-there ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(79, 70, 229, 0.05), transparent 60%),
    radial-gradient(700px 480px at -10% 20%, rgba(124, 104, 238, 0.04), transparent 60%);
}
.bg-grid { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.nav-logo .dot {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: #fff;
}
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 0.92rem; font-weight: 500;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-links a.nav-cta {
  color: #fff; background: var(--text); font-weight: 600; margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: var(--accent); }
.nav-burger {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 48px 0 40px; background: var(--bg-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer h4 { font-size: 1.02rem; margin-bottom: 8px; }
.footer p, .footer a { color: var(--muted); font-size: 0.92rem; }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- shared elements ---------- */
.page-top { padding-top: calc(var(--nav-h) + 64px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 0.96rem;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none; font-family: var(--font-body);
}
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25); }
.btn-ghost { background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-linkedin:hover { background: #084f96; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 500;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--muted);
}

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   HOME
   ============================================================ */
.hero { padding: calc(var(--nav-h) + 72px) 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin: 18px 0 20px; }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

.hero-photo { position: relative; justify-self: center; }
.hero-photo .ring {
  position: absolute; inset: -22px; border-radius: 40px;
  background: linear-gradient(150deg, #eef0fd 0%, #f6f2fd 55%, #e9f0fd 100%);
  z-index: 0;
}
.hero-photo .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 40px;
  border: 1px solid rgba(79, 70, 229, 0.12);
}
.hero-photo img {
  position: relative; z-index: 1; width: 350px; height: 350px; object-fit: cover;
  border-radius: 28px; border: 6px solid #fff;
  box-shadow: 0 24px 48px -12px rgba(22, 24, 29, 0.18);
}

.stats-band { margin-top: 64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--accent); }
.stat .num .grad-text, .stat .num.grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.marquee { margin-top: 56px; overflow: hidden; position: relative; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg-2); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { color: var(--faint); font-family: var(--font-display); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.marquee-track span b { color: var(--accent); font-weight: 600; margin-right: 8px; }
@keyframes scroll { to { transform: translateX(-50%); } }

.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.comp { padding: 24px 22px; }
.comp .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.comp h3 { font-size: 1rem; margin-bottom: 6px; }
.comp p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hl { display: flex; flex-direction: column; gap: 12px; }
.hl .metric { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.hl h3 { font-size: 1.1rem; }
.hl p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.hl .link { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.hl .link:hover { text-decoration: underline; }

.cta-banner {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 24px;
  padding: 56px 48px; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 12px; }
.cta-banner p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }

/* ============================================================
   CAREER JOURNEY
   ============================================================ */
.journey-hero { text-align: center; max-width: 700px; margin: 0 auto 26px; }
.journey-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 16px; }
.journey-hero p { color: var(--muted); font-size: 1.06rem; }

.jstats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 10px; }
.jstat { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 26px; box-shadow: var(--shadow-sm); }
.jstat b { font-family: var(--font-display); font-size: 1.4rem; display: block; color: var(--accent); }
.jstat b.grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.jstat span { color: var(--muted); font-size: 0.8rem; }

.jfilters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 28px 0 10px; }
.jfilter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.jfilter:hover { color: var(--text); border-color: var(--text); }
.jfilter.active { background: var(--text); color: #fff; border-color: var(--text); }

.timeline { position: relative; max-width: 980px; margin: 40px auto 0; padding: 20px 0 40px; }
.tl-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
  background: var(--line); border-radius: 2px;
}
.tl-progress {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: var(--accent); border-radius: 2px; transition: height 0.1s linear;
}

.tl-item { position: relative; width: 50%; padding: 0 48px 56px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 56px 48px; }
.tl-item.hidden { display: none; }

.tl-dot {
  position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); z-index: 2;
  transition: box-shadow 0.3s;
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -9px; }
.tl-item:hover .tl-dot, .tl-item.open .tl-dot {
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.12);
}

.tl-year {
  position: absolute; top: 22px; left: calc(100% + 26px); white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; color: var(--faint); font-size: 0.9rem;
}
.tl-item:nth-child(even) .tl-year { left: auto; right: calc(100% + 26px); }

.tl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.tl-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tl-card .co { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tl-logo {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; color: #fff;
}
.tl-card h3 { font-size: 1.08rem; }
.tl-card .co small { color: var(--muted); display: block; font-size: 0.85rem; }
.tl-role { color: var(--accent); font-weight: 600; font-size: 0.93rem; margin-bottom: 8px; display: block; }
.tl-sum { color: var(--muted); font-size: 0.91rem; }

.tl-more { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.tl-item.open .tl-more { max-height: 600px; }
.tl-more ul { list-style: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tl-more li { position: relative; padding: 0 0 10px 22px; color: var(--muted); font-size: 0.89rem; }
.tl-more li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.tl-toggle {
  margin-top: 14px; font-size: 0.82rem; font-weight: 600; color: var(--faint);
  display: inline-flex; align-items: center; gap: 6px;
}
.tl-toggle::after { content: "▾"; transition: transform 0.3s; }
.tl-item.open .tl-toggle::after { transform: rotate(180deg); }
.tl-item.open .tl-toggle { color: var(--accent); }

.tl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tl-tags .chip { font-size: 0.72rem; padding: 4px 10px; background: var(--surface); border-color: var(--line); }

.tl-end { position: relative; text-align: center; padding-top: 10px; }
.tl-end .chip { background: var(--text); color: #fff; border: none; font-weight: 600; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.sample-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #dcdefb;
  border-radius: 14px; padding: 18px 22px; margin: 34px auto 0; max-width: 760px;
}
.sample-note .ico { font-size: 1.3rem; }
.sample-note p { color: var(--muted); font-size: 0.92rem; }
.sample-note b { color: var(--text); }

.cs-grid { display: grid; gap: 22px; margin-top: 46px; }
.cs-card { overflow: hidden; padding: 0; cursor: pointer; }
.cs-top { padding: 30px 30px 24px; position: relative; }
.cs-top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cs-1 .cs-top::before { background: #4f46e5; }
.cs-2 .cs-top::before { background: #7c68ee; }
.cs-3 .cs-top::before { background: #0ea5e9; }
.cs-flag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px dashed var(--line-strong); color: var(--muted);
  margin-bottom: 16px;
}
.cs-top h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 8px; }
.cs-top .cs-sub { color: var(--muted); font-size: 0.95rem; max-width: 640px; }
.cs-metrics { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 22px; }
.cs-metric b { font-family: var(--font-display); font-size: 1.65rem; display: block; color: var(--accent); }
.cs-metric b.grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.cs-metric span { color: var(--muted); font-size: 0.82rem; }

.cs-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.cs-card.open .cs-body { max-height: 1400px; }
.cs-inner { padding: 6px 30px 30px; border-top: 1px solid var(--line); }
.cs-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.cs-block h4 {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.cs-block p, .cs-block li { color: var(--muted); font-size: 0.92rem; }
.cs-block ul { list-style: none; }
.cs-block li { position: relative; padding: 0 0 8px 20px; }
.cs-block li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); }
.cs-expand {
  padding: 16px 30px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--faint); font-size: 0.85rem; font-weight: 600; border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.cs-expand::after { content: "▾"; transition: transform 0.3s; }
.cs-card.open .cs-expand::after { transform: rotate(180deg); }
.cs-card.open .cs-expand { color: var(--accent); }

/* ============================================================
   BLOG
   ============================================================ */
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid #dcdefb;
  font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-bottom: 20px;
}
.soon-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.post { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.post .thumb {
  height: 150px; border-radius: 12px; position: relative; overflow: hidden;
  display: grid; place-items: center; font-size: 2.2rem;
}
.post-1 .thumb { background: #eef0fd; }
.post-2 .thumb { background: #f3effd; }
.post-3 .thumb { background: #e9f6fd; }
.post .cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.post h3 { font-size: 1.06rem; }
.post p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.post .soon { font-size: 0.8rem; color: var(--faint); font-style: italic; }

.subscribe {
  margin-top: 64px; text-align: center; padding: 48px 32px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
}
.subscribe h2 { font-size: 1.6rem; margin-bottom: 10px; }
.subscribe p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }
.sub-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.sub-form input {
  flex: 1; padding: 13px 18px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font-size: 0.95rem; font-family: var(--font-body);
}
.sub-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
.sub-note { margin-top: 14px; font-size: 0.8rem; color: var(--faint); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.contact-card { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.contact-card .ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-card small { color: var(--faint); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.contact-card a, .contact-card span.val { font-weight: 600; font-size: 1rem; }
.contact-card a:hover { color: var(--accent); }

.contact-form { padding: 32px; }
.contact-form h3 { margin-bottom: 18px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font-size: 0.95rem; font-family: var(--font-body);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-ctas, .hero-tags { justify-content: center; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 260px; height: 260px; }
  .stats-grid, .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cs-cols { grid-template-columns: 1fr; }

  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 6px;
    background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.openm { display: flex; }
  .nav-links a { padding: 13px 16px; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; justify-content: center; display: flex; }
  .nav-burger { display: block; }

  /* timeline collapses to left rail */
  .tl-line { left: 20px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 44px 56px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 12px; right: auto; }
  .tl-year, .tl-item:nth-child(even) .tl-year {
    position: static; display: block; margin-bottom: 8px;
  }
}
@media (max-width: 560px) {
  .stats-grid, .comp-grid { grid-template-columns: 1fr; }
  .sub-form { flex-direction: column; }
  .cta-banner { padding: 40px 24px; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
