/* ═══════════════════════════════════════════════════
   Sharvinee — Bjork template portfolio
   Font: Albert Sans | Layout: sticky sidebar + main
   ═══════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────── */
:root {
  /* Bjork light palette */
  --bg:          #ffffff;
  --bg-tint:     #f3f2f2;
  --surface:     #ffffff;
  --surface-2:   #f3f2f2;
  --border:      rgba(0,0,0,.1);
  --border-light: rgba(88,87,255,.14);

  /* Text */
  --text:        #111111;
  --text-2:      #555555;
  --text-3:      #888888;

  /* Accent — Bjork primary purple */
  --blue:        #5857ff;
  --blue-dark:   #3d3ce0;
  --blue-pale:   #ebe5ff;
  --cyan:        #5857ff;

  /* Type scale (mirrors Bjork) */
  --fs-tiny:     16px;
  --fs-small:    18px;
  --fs-body:     20px;
  --fs-large:    24px;
  --fs-xl:       32px;
  --fs-huge:     clamp(40px,5vw,64px);
  --fs-gigantic: clamp(48px,7vw,96px);

  /* Spacing */
  --gap:         clamp(24px,4vw,48px);
  --section-pad: clamp(56px,8vw,96px);

  /* Sidebar width */
  --sidebar-w:   280px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Albert Sans", ui-sans-serif, -apple-system, sans-serif;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
a:active  { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }

/* ─── Layout ─────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ─── Mobile header (hidden on desktop) ─────────── */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 56px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobile-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Sidebar ────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  background: var(--bg-tint);
}
.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem,4vw,3rem) clamp(1.5rem,3vw,2rem);
  min-height: 100%;
}

/* Brand block */
.sidebar-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.sidebar-name {
  margin-top: .45rem;
  font-size: clamp(1.3rem,2vw,1.65rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}
.sidebar-role {
  margin: .55rem 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.sidebar-location {
  margin: .3rem 0 0;
  font-size: 13px;
  color: var(--text-3);
}

/* Sidebar nav */
.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.nav-link {
  display: block;
  padding: .52rem .8rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease), padding-left .2s var(--ease);
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-link.active {
  color: var(--blue-dark);
  background: rgba(88,87,255,.12);
  padding-left: 1.1rem;
  font-weight: 700;
}

/* Sidebar quick links */
.sidebar-links {
  margin-top: auto;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.sidebar-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  padding: .3rem .65rem;
  border: 1px solid rgba(88,87,255,.3);
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sidebar-links a:hover {
  background: var(--blue);
  color: #fff;
}

/* ─── Main ───────────────────────────────────────── */
.main { min-width: 0; }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  padding: var(--section-pad) var(--gap);
  background:
    radial-gradient(ellipse 70% 55% at 75% 40%, rgba(88,87,255,.06), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  margin: 0 0 .75rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-heading {
  font-size: clamp(36px,4vw,60px);
  font-weight: 800;
  color: var(--text);
  max-width: 100%;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.hero-accent { color: var(--blue); }
.hero-sub {
  font-size: var(--fs-large);
  font-weight: 400;
  color: var(--text-2);
  max-width: 100%;
  min-height: 2.4rem;
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: .72rem 1.4rem;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 6px 28px rgba(88,87,255,.25);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(88,87,255,.4); background: #6e6dff; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(88,87,255,.35);
}
.btn-outline:hover { border-color: var(--blue); background: rgba(88,87,255,.06); }

/* ─── Sections ────────────────────────────────────── */
.section {
  padding: var(--section-pad) var(--gap);
  border-bottom: 1px solid var(--border);
}
.section-tinted { background: var(--bg-tint); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .65rem;
}
.section-title {
  font-size: var(--fs-huge);
  font-weight: 800;
  color: var(--text);
  margin-bottom: calc(var(--gap) * 1.1);
}

/* ─── Timeline cards ─────────────────────────────── */
.timeline { display: grid; gap: 1rem; }

/* ─── Vertical unified timeline ─────────────────── */
.vtl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
/* vertical center line */
.vtl::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 0;
}

/* each row: [card] [dot] [card] — 3 columns */
.vtl-item {
  display: grid;
  grid-template-columns: 1fr 2rem 1fr;
  align-items: start;
  position: relative;
}

/* dot always sits in the center column */
.vtl-dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-top: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid;
  z-index: 2;
  position: relative;
}
.vtl-dot--edu {
  border-color: var(--text-3);
  background: var(--bg-tint);
}
.vtl-dot--exp {
  border-color: var(--blue);
  background: var(--blue);
}

/* card wrapper — odd items on left, even on right */
.vtl-card-wrap {
  grid-row: 1;
  position: relative;
}
.vtl-item:nth-child(odd) .vtl-card-wrap {
  grid-column: 1;
  padding-right: 1.25rem;
}
.vtl-item:nth-child(even) .vtl-card-wrap {
  grid-column: 3;
  padding-left: 1.25rem;
}

/* horizontal stem from card edge to dot */
.vtl-card-wrap::after {
  content: '';
  position: absolute;
  top: calc(1.35rem + 5px); /* align with dot center */
  height: 2px;
  background: var(--border);
  z-index: 1;
}
.vtl-item:nth-child(odd) .vtl-card-wrap::after {
  right: 0;
  width: 1.25rem;
}
.vtl-item:nth-child(even) .vtl-card-wrap::after {
  left: 0;
  width: 1.25rem;
}

.vtl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 4px;
  margin-bottom: .55rem;
}
.vtl-badge--edu {
  color: var(--text-3);
  background: var(--bg-tint);
  border: 1px solid var(--border);
}
.vtl-badge--exp {
  color: var(--blue);
  background: rgba(88,87,255,.08);
  border: 1px solid rgba(88,87,255,.2);
}
.vtl-badge--lead {
  color: #0a7c4f;
  background: rgba(10,124,79,.08);
  border: 1px solid rgba(10,124,79,.25);
}

.vtl-dot--lead {
  background: #0a7c4f;
  border-color: #0a7c4f;
}

.tcard {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tcard:hover {
  border-color: rgba(88,87,255,.35);
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 var(--blue);
}
.tcard-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  margin-bottom: .6rem;
}
.tcard-title {
  font-size: var(--fs-large);
  font-weight: 700;
  color: var(--text);
}
.tcard-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(88,87,255,.1);
  border: 1px solid rgba(88,87,255,.2);
  border-radius: 999px;
  padding: .2rem .7rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.tcard-org {
  font-size: var(--fs-small);
  color: var(--text-2);
  margin: 0 0 .8rem;
}
.tcard-points {
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
}
.tcard-points li::marker { color: var(--blue); }

/* ─── Project cards ──────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1rem;
}
.cards-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
}

.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pcard:hover {
  border-color: rgba(88,87,255,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.pcard-title {
  font-size: var(--fs-large);
  font-weight: 700;
  color: var(--text);
}
.pcard-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.pcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  background: rgba(88,87,255,.08);
  border: 1px solid rgba(88,87,255,.25);
  border-radius: 6px;
  padding: .22rem .6rem;
}
.pcard-links {
  display: flex;
  gap: 1rem;
  padding-top: .4rem;
  border-top: 1px solid var(--border);
}
.pcard-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: color .2s;
}
.pcard-links a:hover { color: var(--cyan); }

/* Cert cards */
.ccard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.ccard:hover {
  border-color: rgba(88,87,255,.4);
  transform: translateY(-3px);
}
.ccard-name {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
}
.ccard-meta {
  font-size: 14px;
  color: var(--text-2);
}
.ccard-badge {
  display: inline-block;
  margin-top: .6rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(88,87,255,.08);
  border: 1px solid rgba(88,87,255,.2);
  border-radius: 6px;
  padding: .2rem .55rem;
}

/* Skill cards */
.scard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  transition: border-color .25s var(--ease);
}
.scard:hover { border-color: rgba(88,87,255,.35); }
.scard-group {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.scard-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ─── Card image placeholders ──────────────────────
   To activate: replace src="" with your actual image path
   Save images to assets/img/ inside this repo
   ─────────────────────────────────────────────────── */

/* Project card banner — bleeds edge-to-edge across top of card
   Recommended: 800 × 450 px (16:9 ratio), JPG / PNG / WebP */
.pcard-img {
  margin: -1.35rem -1.5rem 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pcard-img:has(img[src=""]) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 2px dashed rgba(88,87,255,.25);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.pcard-img:has(img[src=""])::after {
  content: "\1F4F7  Insert project screenshot — 800 \D7 450 px  (16:9)";
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  padding: 1rem;
}
.pcard-img:has(img[src=""]) img { display: none; }

/* Timeline / Leadership card image — full-width 16:9 banner
   Recommended: 800 × 450 px, JPG / PNG / WebP */
.tcard-img {
  margin: .4rem -1.6rem .9rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-tint);
}
.tcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tcard-img:has(img[src=""]) {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(88,87,255,.25);
  border-left: none;
  border-right: none;
}
.tcard-img:has(img[src=""])::after {
  content: "\1F4F7  Insert image — 800 \D7 450 px (16:9)";
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  padding: 1rem;
}
.tcard-img:has(img[src=""]) img { display: none; }

/* Leadership card — image on left, content on right */
.tcard--side-img {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.tcard--side-img .tcard-img {
  margin: 0;
  flex-shrink: 0;
  width: auto;          /* driven by aspect-ratio from stretched height */
  aspect-ratio: 16 / 9;
  align-self: stretch;
  border-radius: 11px 0 0 11px;
  border: none;
  border-right: 1px solid var(--border);
  min-width: 160px;     /* floor so placeholder is readable */
}
.tcard--side-img .tcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tcard--side-img .tcard-img:has(img[src=""]) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tint);
  border: 2px dashed rgba(88,87,255,.25);
  border-right: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
}
.tcard--side-img .tcard-img:has(img[src=""])::after {
  content: "\1F4F7  16:9";
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  writing-mode: vertical-rl;
  padding: 0;
}
.tcard--side-img .tcard-img:has(img[src=""]) img { display: none; }
.tcard-body {
  flex: 1;
  min-width: 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
}
@media (max-width: 600px) {
  .tcard--side-img {
    flex-direction: column;
  }
  .tcard--side-img .tcard-img {
    align-self: auto;
    width: 100%;
    border-radius: 10px 10px 0 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .tcard--side-img .tcard-img:has(img[src=""]) {
    min-height: 80px;
    border-radius: 10px 10px 0 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    writing-mode: horizontal-tb;
  }
  .tcard--side-img .tcard-img:has(img[src=""])::after {
    writing-mode: horizontal-tb;
  }
  .tcard-body { padding: 1.2rem 1.4rem; }
} — square badge
   Recommended: square PNG (e.g. 340 × 340 px), transparent background */
.ccard-img-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.ccard-img {
  margin: -1.25rem -1.4rem .9rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 11px 11px 0 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tint);
  transition: opacity .2s var(--ease);
}
.ccard-img-link:hover .ccard-img { opacity: .85; }
.ccard-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
}
.ccard-img:has(img[src=""]) {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(88,87,255,.25);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.ccard-img:has(img[src=""])::after {
  content: "\1F4F7  Square badge PNG";
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  padding: 1rem;
}
.ccard-img:has(img[src=""]) img { display: none; }

/* ─── Contact ─────────────────────────────────────── */
.contact-intro {
  font-size: var(--fs-large);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 0 2rem;
}
/* Contact form */
.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 600px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: .35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: inherit;
  font-size: var(--fs-small);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(88,87,255,.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.btn-submit {
  justify-self: start;
  padding: .75rem 2rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-submit:active { transform: translateY(0); }
/* LinkedIn connect */
.contact-linkedin { margin-top: 2.5rem; }
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.5rem;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn-linkedin:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
  padding: 2rem var(--gap);
  font-size: 14px;
  color: var(--text-3);
}

/* ─── Back to top ─────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 300;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--blue); }

/* ─── Reveal animation ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.show { opacity: 1; transform: none; }
.reveal.show:nth-child(2) { transition-delay: .07s; }
.reveal.show:nth-child(3) { transition-delay: .14s; }
.reveal.show:nth-child(4) { transition-delay: .21s; }
.reveal.show:nth-child(5) { transition-delay: .28s; }

/* ─── Mobile ──────────────────────────────────────── */
@media (max-width: 860px) {
  .mobile-header { display: flex; }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 56px 0 0 0;
    height: calc(100vh - 56px);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform .3s var(--ease);
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar.open { transform: translateX(0); }

  .main { padding-top: 56px; }

  .hero-heading { font-size: clamp(1.75rem,6vw,2.4rem); }
  .section-title { font-size: clamp(2rem,6vw,3rem); }

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

  /* vtl: collapse to left-side single column on mobile */
  .vtl::before { left: 7px; transform: none; }
  .vtl-item { grid-template-columns: 2rem 1fr; }
  .vtl-dot { grid-column: 1; margin-top: 1.35rem; justify-self: start; }
  .vtl-item:nth-child(odd) .vtl-card-wrap,
  .vtl-item:nth-child(even) .vtl-card-wrap {
    grid-column: 2;
    padding-left: 1rem;
    padding-right: 0;
  }
  .vtl-item:nth-child(odd) .vtl-card-wrap::after,
  .vtl-item:nth-child(even) .vtl-card-wrap::after {
    left: 0; right: auto; width: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
