/* =============================================================
   Diego Urquiola — Portfolio Site
   assets/css/style.css
   ============================================================= */

/* ---------------------------------------------------------------
   1. Variables & Reset
   --------------------------------------------------------------- */
:root {
  --bg:      #0b0f17;
  --surface: #111827;
  --card:    #0f172a;
  --muted:   #94a3b8;
  --text:    #e5e7eb;
  --text-secondary: rgba(229,231,235,.8);
  --line:    rgba(148,163,184,.18);
  --accent:  #60a5fa;
  --accent2: #34d399;
  --accent3: #f59e0b;
  --shadow:    0 18px 55px rgba(0,0,0,.38);
  --shadow-sm: 0 4px 18px rgba(0,0,0,.22);
  --radius:    16px;
  --radius-sm: 10px;
  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(96,165,250,.2), transparent 60%),
    radial-gradient(900px 550px at 90% 10%, rgba(52,211,153,.14), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ---------------------------------------------------------------
   2. Layout
   --------------------------------------------------------------- */
.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section.alt {
  background: rgba(15,23,42,.4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
h3 { font-size: 18px; margin-bottom: 8px; }
h4 { font-size: 15px; }
p  { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 60ch;
}
.muted { color: var(--muted); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  background: rgba(17,24,39,.6);
}

.badge {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(17,24,39,.5);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
}

/* ---------------------------------------------------------------
   4. Header / Navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11,15,23,.8);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  transition: opacity var(--transition);
  z-index: 110;
}
.brand:hover { opacity: .85; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 5px rgba(96,165,250,.15);
  flex-shrink: 0;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 7px 13px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.nav a:hover  { color: var(--text);   background: rgba(148,163,184,.1); }
.nav a.active { color: var(--accent); background: rgba(96,165,250,.1);  }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.65);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(148,163,184,.35); }
.btn.primary {
  border-color: rgba(96,165,250,.45);
  background: linear-gradient(135deg, rgba(96,165,250,.2), rgba(52,211,153,.14));
}
.btn.primary:hover {
  border-color: rgba(96,165,250,.7);
  background: linear-gradient(135deg, rgba(96,165,250,.3), rgba(52,211,153,.22));
}
.btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---------------------------------------------------------------
   6. Cards & Grid
   --------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; }

.card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--text-secondary); }
.card.link-card { cursor: pointer; display: block; }
.card.link-card:hover { border-color: rgba(96,165,250,.4); }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.7);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.tag.blue  { border-color: rgba(96,165,250,.3);  color: var(--accent);  background: rgba(96,165,250,.08); }
.tag.green { border-color: rgba(52,211,153,.3);  color: var(--accent2); background: rgba(52,211,153,.08); }
.tag.amber { border-color: rgba(245,158,11,.3);  color: var(--accent3); background: rgba(245,158,11,.08); }

/* ---------------------------------------------------------------
   7. Hero (Landing Page)
   --------------------------------------------------------------- */
.hero { padding: 76px 0 60px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}
.hero-copy h1 {
  margin: 12px 0 18px;
  background: linear-gradient(145deg, #e5e7eb 20%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-picture {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.profile-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: rgba(17,24,39,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
  object-fit: cover;
}
.profile-placeholder svg {
  width: 56px;
  height: 56px;
}
.profile-placeholder:hover {
  border-color: rgba(96,165,250,.4);
  transform: scale(1.03);
}

.meta-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.meta-card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,.6);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.meta-label { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.meta-value { font-weight: 700; font-size: 14px; margin-top: 6px; }

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,24,39,.6);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 76px;
}
.panel-header { padding: 20px 20px 14px; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: 17px; margin-bottom: 4px; }
.panel-header p  { color: var(--muted); font-size: 13px; margin: 0; }
.panel-list {
  list-style: none;
  padding: 16px 20px 20px;
  margin: 0;
  display: grid;
  gap: 12px;
}
.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(52,211,153,.4);
  background: rgba(52,211,153,.12);
  color: var(--accent2);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------------------------------------------------------------
   8. Project Cards (Featured + Listing)
   --------------------------------------------------------------- */
.project-card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96,165,250,.35);
  box-shadow: 0 28px 60px rgba(0,0,0,.4);
}
.project-card h3 { font-size: 20px; margin: 0; }
.project-card .desc { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transition: gap var(--transition);
}
.project-link:hover { gap: 10px; }

/* ---------------------------------------------------------------
   9. Page Hero (Inner Pages)
   --------------------------------------------------------------- */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); margin: 10px 0 14px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .5; }

/* ---------------------------------------------------------------
   10. Project Detail Page
   --------------------------------------------------------------- */
.project-detail { padding: 52px 0; }
.project-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: start;
}
.project-main  { min-width: 0; }
.project-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,.6);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.5);
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.sidebar-links a:hover {
  border-color: rgba(96,165,250,.4);
  background: rgba(96,165,250,.08);
  transform: translateX(2px);
}

.content-section { margin-bottom: 52px; }
.content-section h2 {
  font-size: 22px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.content-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.content-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
  line-height: 1.6;
}
.content-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 9px;
}

.tech-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(17,24,39,.7);
  font-size: 13px;
  font-weight: 600;
}

/* Diagram */
.diagram {
  margin-top: 16px;
  border: 1px dashed rgba(148,163,184,.28);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(17,24,39,.4);
}
.diagram-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dnode {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15,23,42,.85);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}
.dnode.hi    { border-color: rgba(96,165,250,.5);  background: rgba(96,165,250,.1);  color: var(--accent);  }
.dnode.green { border-color: rgba(52,211,153,.5);  background: rgba(52,211,153,.08); color: var(--accent2); }
.darrow { color: var(--muted); font-size: 18px; font-weight: 700; line-height: 1; }
.dstack { display: flex; flex-direction: column; gap: 8px; }

.callout {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  background: rgba(96,165,250,.08);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.callout strong { color: var(--text); }

/* ---------------------------------------------------------------
   11. About Page
   --------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.skills-section { margin-top: 40px; }
.skill-group { margin-bottom: 28px; }
.skill-group h3 {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin-bottom: 12px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(17,24,39,.6);
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  cursor: default;
}
.skill-tag:hover {
  border-color: rgba(96,165,250,.4);
  background: rgba(96,165,250,.08);
  color: var(--accent);
}

/* Timeline */
.timeline { display: grid; gap: 28px; }
.timeline-item { display: grid; grid-template-columns: 16px 1fr; gap: 18px; align-items: start; }
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  margin-top: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(96,165,250,.15);
}
.timeline-content h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-content .role-meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.timeline-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* ---------------------------------------------------------------
   12. Contact Page
   --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.contact-method:hover { border-color: rgba(96,165,250,.4); transform: translateY(-2px); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-method h3 { font-size: 16px; margin-bottom: 4px; }
.contact-method p  { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* ---------------------------------------------------------------
   13. Resume Page
   --------------------------------------------------------------- */
.resume-embed {
  width: 100%;
  height: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.resume-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.resume-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  background: rgba(17,24,39,.4);
}
.resume-placeholder h3 { margin-bottom: 12px; font-size: 20px; }
.resume-placeholder p  { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

/* ---------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------- */
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { font-size: 14px; margin: 0; }
.footer-links { display: flex; gap: 18px; align-items: center; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }

/* ---------------------------------------------------------------
   16. Journey / Progression Timeline (Home Page)
   --------------------------------------------------------------- */
.journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.journey-track::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 0;
}

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 0;
}
.stat-card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,.55);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.journey-dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  box-shadow: 0 0 0 5px rgba(96,165,250,.1);
  flex-shrink: 0;
}
.journey-dot.current {
  border-color: var(--accent2);
  color: var(--accent2);
  box-shadow: 0 0 0 6px rgba(52,211,153,.12);
}
.journey-year {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.journey-node h3 { font-size: 15px; margin-bottom: 6px; }
.journey-theme {
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.journey-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.journey-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}
.journey-link:hover { color: var(--accent2); }

/* ---------------------------------------------------------------
   17. Project Screenshot Placeholder
   --------------------------------------------------------------- */
.project-screenshot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px dashed rgba(148,163,184,.28);
  background: rgba(17,24,39,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--muted);
  text-align: center;
}
.project-screenshot .ss-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.project-screenshot .ss-sub { font-size: 13px; }
.project-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.card-screenshot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: rgba(15,23,42,.8);
  border: 1px dashed rgba(148,163,184,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.card-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------------------------------------------------------
   15. Responsive
   --------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-panel      { position: static; }
  .meta-row        { grid-template-columns: repeat(2,1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .about-grid      { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .project-layout  { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11,15,23,.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 14px 20px 18px;
    gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a    { padding: 10px 14px; }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .journey-track::before { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .journey-node {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
  }
  .journey-dot { margin-bottom: 0; }
  .journey-tags { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .section      { padding: 48px 0; }
  .meta-row     { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-row      { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .profile-placeholder { width: 100px; height: 100px; }
  .profile-placeholder svg { width: 48px; height: 48px; }
}
