/* ═══════════════════════════════════════════════════════════════
   SELTON HOEIJMANS — PORTFOLIO STYLESHEET
   Dark editorial aesthetic with amber accent, Syne display font
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --bg:          #0d0e11;       /* near-black base */
  --bg-2:        #12141a;       /* section alternate */
  --bg-3:        #1a1d26;       /* card surfaces */
  --border:      rgba(255,255,255,0.07);
  --text:        #e8e9ed;
  --text-muted:  #7a7f92;
  --accent:      #f5a623;       /* amber */
  --accent-dim:  rgba(245,166,35,0.12);
  --accent-glow: rgba(245,166,35,0.25);
  --font-display: 'Syne', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:       68px;
  --radius:      14px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

/* ── Layout helpers ────────────────────────────────────── */
.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  margin-bottom: 72px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* ── Scroll reveal animations ──────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.revealed {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(13,14,17,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.nav-name { letter-spacing: -0.02em; }
.accent { color: var(--accent); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Dot grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* Ambient glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100,120,200,0.12) 0%, transparent 70%);
  bottom: -50px;
  right: 0;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Hero text */
.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.title-outline {
  -webkit-text-stroke: 2px var(--text-muted);
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Code window decoration ─────────────────────────────── */
.hero-code {
  position: relative;
  z-index: 1;
}

.code-window {
  background: #0f1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
}

.code-body {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  padding: 1.5rem;
  white-space: pre;
  overflow-x: auto;
}

/* Syntax highlighting */
.kw  { color: #c792ea; }
.cls { color: #82aaff; }
.fn  { color: #82aaff; }
.str { color: #c3e88d; }
.op  { color: var(--accent); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 2rem 2rem;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

/* Photo frame */
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.about-photo:hover { filter: grayscale(0%); }

.photo-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--bg);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Info card */
.info-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.info-icon { font-size: 1rem; flex-shrink: 0; }

.info-row a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.info-row a:hover { opacity: 0.75; }

/* About text */
.about-lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}

.about-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(245,166,35,0.2);
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 3rem;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border) 80%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 4px;
  margin-left: -3rem;
}

/* The dot on the timeline */
.timeline-marker::after {
  content: '';
  position: absolute;
  left: calc(3rem - 5px);
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--text-muted);
}

.timeline-marker.active::after {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.marker-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.timeline-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s;
}

.timeline-card:hover {
  border-color: rgba(245,166,35,0.25);
}

.timeline-card.active {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(135deg, rgba(245,166,35,0.05) 0%, var(--bg-3) 60%);
}

.timeline-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.timeline-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.timeline-badge.accent-badge {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(245,166,35,0.25);
}

/* ════════════════════════════════════════════════════════
   PROJECTS GRID
   ════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-4px);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,14,17,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-info { padding: 1.5rem; }

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.5rem 0;
  letter-spacing: -0.01em;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   WORK / EXPERIENCE
   ════════════════════════════════════════════════════════ */
.work-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  align-items: flex-start;
}

.work-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.work-initial {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bg);
}

.work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.work-company {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.work-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.work-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.work-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 1rem 0 1.25rem;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--accent);
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: 1px solid rgba(245,166,35,0.35);
  transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow,
.btn-ghost:hover .arrow,
.btn-outline:hover .arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════
   INNER PAGES — shared hero & page components
   ════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 0%, transparent 100%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   HOBBY CARDS (hobbys page)
   ════════════════════════════════════════════════════════ */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.hobby-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.hobby-card:hover {
  border-color: rgba(245,166,35,0.25);
  transform: translateY(-3px);
}

.hobby-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.5s var(--ease);
}

.hobby-card:hover .hobby-img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.hobby-img-wrap { overflow: hidden; }

.hobby-body { padding: 2rem; }

.hobby-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hobby-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — mobile breakpoints
   ════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 4rem;
  }

  .hero-content { order: 1; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-code { order: 2; max-width: 500px; margin-inline: auto; }
  .scroll-hint { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .hobby-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 2rem; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); padding: 2rem; gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .work-card { flex-direction: column; gap: 1.5rem; }
  .stats-bar { flex-direction: column; }
  .stat-divider { width: 40px; height: 1px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.5rem); }

  .timeline { padding-left: 1.5rem; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-marker { display: none; }
}

/* Utility */
.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: block; } }
