/* ============================================================
   Róbert Kovács — Portfolio
   Game-inspired editorial dark
   ============================================================ */

:root {
  --bg: oklch(0.155 0.012 60);
  --bg-2: oklch(0.185 0.013 60);
  --surface: oklch(0.21 0.014 60);
  --surface-2: oklch(0.245 0.015 60);
  --border: oklch(0.30 0.015 60);
  --border-strong: oklch(0.42 0.020 60);
  --text: oklch(0.96 0.008 80);
  --text-muted: oklch(0.68 0.015 70);
  --text-dim: oklch(0.50 0.015 65);

  --accent: oklch(0.80 0.16 65);          /* amber */
  --accent-2: oklch(0.62 0.19 30);        /* deep red */
  --accent-glow: oklch(0.80 0.16 65 / 0.18);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 4px;
  --radius-lg: 8px;

  --maxw: 1200px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, oklch(0.22 0.02 60 / 0.6), transparent 70%),
    linear-gradient(to bottom, var(--bg) 0%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 90%);
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: oklch(0.155 0.012 60 / 0.7);
  border-bottom: 1px solid oklch(1 0 0 / 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-mark {
  width: 22px; height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   Section header (chapter / quest pattern)
   ============================================================ */

.chapter {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chapter-tick {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--border-strong);
}
.chapter-num { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-name {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}
.hero-name .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-role .sep { color: var(--border-strong); }

.hero-manifesto {
  max-width: 680px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 300;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.hero-manifesto strong {
  color: var(--accent);
  font-weight: 500;
}

.hero-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 8px;
}
.hero-name-row .hero-name { flex: 0 1 auto; margin-bottom: 0; }
.hero-name-row .hero-portrait {
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  max-width: none;
  aspect-ratio: auto;
  margin-right: 0;
  margin-left: auto;
}
.hero-name-row .hero-portrait img { object-position: center 25%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { min-width: 0; }

.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, oklch(0.155 0.012 60 / 0.55) 100%);
  pointer-events: none;
}
.hero-portrait-frame {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0.55;
}
.hero-portrait-frame::before,
.hero-portrait-frame::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--accent);
}
.hero-portrait-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hero-portrait-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.hero-portrait-meta {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  z-index: 2;
}
.hpm-row { display: flex; flex-direction: column; gap: 2px; }
.hpm-k { color: var(--text-dim); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.hpm-v { color: var(--accent); font-weight: 500; }

.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-stat {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:not(:first-child) { padding-left: 24px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stat-num .unit {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
}
.hero-stat-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   About
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 32px;
  text-wrap: pretty;
}
.about-lead + .about-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.about-body p + p { margin-top: 14px; }

/* Stat block (RPG character-sheet motif) */
.statblock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.statblock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.04), transparent) border-box;
  -webkit-mask: linear-gradient(black, black) padding-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.statblock-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.statblock-title .id { color: var(--accent); }

.stat-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed oklch(1 0 0 / 0.06);
}
.stat-row:last-child { border-bottom: none; }
.stat-name {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.stat-bar {
  height: 6px;
  background: oklch(1 0 0 / 0.06);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent), oklch(0.85 0.14 50));
  box-shadow: 0 0 12px var(--accent-glow);
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-align: right;
}

/* About sub-cards: langs, certs, edu */
.about-cards {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.mini-card-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.lang-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.lang-row + .lang-row { border-top: 1px dashed oklch(1 0 0 / 0.06); }
.lang-row .level {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}
.cert-item {
  padding: 10px 0;
  font-size: 14px;
}
.cert-item + .cert-item { border-top: 1px dashed oklch(1 0 0 / 0.06); }
.cert-item .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.edu-item { font-size: 14px; padding: 10px 0; }
.edu-item + .edu-item { border-top: 1px dashed oklch(1 0 0 / 0.06); }
.edu-item .school { color: var(--text); }
.edu-item .degree { color: var(--text-muted); margin-top: 2px; font-size: 13px; }
.edu-item .years {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.edu-item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* ============================================================
   Experience timeline (horizontal scrubber)
   ============================================================ */

.timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.timeline-meta .company { color: var(--accent); }

.scrubber {
  position: relative;
  height: 80px;
  margin-bottom: 32px;
  user-select: none;
}
.scrubber-track {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
  transform: translateY(-50%);
}
.scrubber-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  width: var(--progress, 0%);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scrubber-tick {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}
.scrubber-tick-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  transition: all 0.3s;
}
.scrubber-tick.passed:not(.scrubber-tick--marker) .scrubber-tick-dot {
  border-color: var(--accent);
  background: var(--accent);
}
.scrubber-tick--marker .scrubber-tick-dot {
  width: 10px; height: 10px;
  background: var(--bg-2);
  border: 1px dashed var(--border-strong);
  cursor: default;
}
.scrubber-tick--marker.passed .scrubber-tick-dot {
  border-color: var(--accent);
  border-style: solid;
  background: transparent;
}
.scrubber-tick--marker { cursor: default; }
.scrubber-tick--marker .scrubber-tick-label {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scrubber-tick.active .scrubber-tick-dot {
  width: 18px; height: 18px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px oklch(0.80 0.16 65 / 0.18), 0 0 18px var(--accent-glow);
}
.scrubber-tick-label {
  position: absolute;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.scrubber-tick.active .scrubber-tick-label,
.scrubber-tick.passed .scrubber-tick-label { color: var(--text); }
.scrubber-tick-role {
  position: absolute;
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.scrubber-tick.active .scrubber-tick-role { opacity: 1; color: var(--accent); }

.scrubber-hint {
  margin: -8px 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-align: center;
}
.scrubber-hint .kbd {
  display: inline-block;
  padding: 2px 6px;
  margin: 0 2px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  color: var(--text-muted);
  background: var(--bg-2);
  font-size: 10px;
}

.scrubber-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.scrubber-arrow {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.scrubber-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: oklch(0.80 0.16 65 / 0.06);
}
.scrubber-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.scrubber-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.scrubber-counter .current { color: var(--accent); }

/* Role panel */
.role-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.role-panel-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.role-panel-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.role-panel-context {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.role-panel-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
.role-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-muted);
}

.role-panel-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.role-block-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.role-block-title::before {
  content: "▸";
  color: var(--accent);
}
.role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.role-list li {
  position: relative;
  padding-left: 22px;
}
.role-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}
.role-list strong { color: var(--text); font-weight: 500; }

/* ============================================================
   Personal works grid
   ============================================================ */

.works-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.works-filters {
  display: flex;
  gap: 8px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.filter-btn.active {
  border-color: var(--accent);
  background: oklch(0.80 0.16 65 / 0.1);
  color: var(--accent);
}
.filter-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px oklch(0 0 0 / 0.4);
}
.work-card-thumb {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      45deg,
      oklch(0.22 0.014 60),
      oklch(0.22 0.014 60) 8px,
      oklch(0.20 0.013 60) 8px,
      oklch(0.20 0.013 60) 16px
    );
  position: relative;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
}
.work-card-thumb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-card-body {
  padding: 18px 20px;
}
.work-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.work-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-card-type {
  color: var(--accent);
}
.work-card-year { color: var(--text-dim); }

.empty-slot {
  background: transparent;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.empty-slot-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}
.empty-slot-text .accent { color: var(--accent); }

/* ============================================================
   Services
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}
.service-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.service-card-list li::before {
  content: "+ ";
  color: var(--accent);
}

/* ============================================================
   Contact
   ============================================================ */

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.contact-headline em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.contact-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-2);
  transition: all 0.2s;
}
.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
}
.contact-link .label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.contact-link .value { color: var(--text); }
.contact-link:hover .value { color: var(--accent); }
.contact-link .arrow { color: var(--text-dim); }
.contact-link:hover .arrow { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   Variants — driven by data attrs from Tweaks
   ============================================================ */

/* Accent variants */
[data-accent="amber"] { --accent: oklch(0.80 0.16 65); --accent-2: oklch(0.62 0.19 30); --accent-glow: oklch(0.80 0.16 65 / 0.18); }
[data-accent="red"]   { --accent: oklch(0.70 0.20 25); --accent-2: oklch(0.55 0.22 15); --accent-glow: oklch(0.70 0.20 25 / 0.20); }
[data-accent="green"] { --accent: oklch(0.80 0.18 145); --accent-2: oklch(0.65 0.18 155); --accent-glow: oklch(0.80 0.18 145 / 0.18); }
[data-accent="cyan"]  { --accent: oklch(0.82 0.14 200); --accent-2: oklch(0.65 0.15 220); --accent-glow: oklch(0.82 0.14 200 / 0.18); }
[data-accent="violet"]{ --accent: oklch(0.75 0.18 295); --accent-2: oklch(0.60 0.22 305); --accent-glow: oklch(0.75 0.18 295 / 0.18); }

/* Theme variants */
[data-theme="light"] {
  --bg: oklch(0.98 0.005 80);
  --bg-2: oklch(0.96 0.006 80);
  --surface: oklch(0.99 0.004 80);
  --surface-2: oklch(0.97 0.005 80);
  --border: oklch(0.88 0.008 80);
  --border-strong: oklch(0.78 0.010 80);
  --text: oklch(0.18 0.012 60);
  --text-muted: oklch(0.42 0.012 60);
  --text-dim: oklch(0.58 0.012 60);
}

/* Font variants */
[data-font="grotesk"] { --font-display: "Space Grotesk", sans-serif; --font-body: "Inter", sans-serif; }
[data-font="serif"] { --font-display: "Fraunces", serif; --font-body: "Inter", sans-serif; }
[data-font="mono"] { --font-display: "JetBrains Mono", monospace; --font-body: "JetBrains Mono", monospace; }
[data-font="instrument"] { --font-display: "Instrument Serif", serif; --font-body: "Inter", sans-serif; }

/* Layout variants for hero */
[data-hero="centered"] .hero { text-align: center; align-items: center; }
[data-hero="centered"] .hero-eyebrow { justify-content: center; }
[data-hero="centered"] .hero-role { justify-content: center; }
[data-hero="centered"] .hero-manifesto { margin: 0 auto; }
[data-hero="centered"] .hero-stats { width: 100%; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 880px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 10px; }
  .hero { padding-top: 100px; min-height: 80vh; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-name-row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .hero-name-row .hero-portrait { width: 100%; max-width: 280px; aspect-ratio: 1; align-self: center; }
  .hero-portrait { max-width: 280px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .role-panel { grid-template-columns: 1fr; gap: 20px; }
  .works-grid, .services-grid { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .timeline { padding: 20px; }
  .scrubber-tick-role { display: none; }
}
