/* ============================================
   ROBIN BODLAENDER — PORTFOLIO v3
   Dark + orange default, no tweaks panel
   ============================================ */

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

:root {
  /* DARK is the only theme */
  --bg: #0b0b0c;
  --bg-elev: #131316;
  --bg-card: #15151a;
  --bg-detail: #1f1f25;     /* expanded card bg - more contrast */
  --fg: #f5f3ee;
  --fg-dim: #a3a1a0;
  --fg-mute: #6b6967;
  --border: rgba(245, 243, 238, 0.08);
  --border-strong: rgba(245, 243, 238, 0.18);

  --accent: #ff5b1f;
  --accent-2: #ff7a3d;
  --accent-glow: rgba(255, 91, 31, 0.32);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --radius: 18px;
  --radius-lg: 28px;
}

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMDAnIGhlaWdodD0nMjAwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoJTIzbiknLz48L3N2Zz4=");
}

/* ============ PRIMITIVES ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 18px; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  display: flex; justify-content: center;
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 10px 10px 22px;
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  max-width: calc(100vw - 2 * var(--gutter));
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.nav-links {
  display: flex; gap: 2px;
  margin-left: 18px;
}
.nav-links a {
  /* same family as the hero title, just smaller + not uppercase here */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-dim);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--fg); background: var(--border); }
.nav-cta {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.nav-cta svg { width: 12px; height: 12px; }

/* mobile nav */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { padding: 8px 8px 8px 16px; gap: 6px; }
  .nav-logo { font-size: 14px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px var(--gutter) 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(80px);
  opacity: 0.8;
  top: 5%; right: -15%;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

.hero-top {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 50px;
  position: relative; z-index: 2;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  line-height: 1.6;
}
.hero-meta strong { color: var(--fg); font-weight: 500; }
.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--fg);
  background: var(--bg-card);
}
.hero-status::before {
  content: ""; width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.hero-body {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  position: relative; z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .word.delay-1 { animation-delay: 0.08s; }
.hero-title .word.delay-2 { animation-delay: 0.16s; }
.hero-title .accent {
  font-style: italic;
  font-weight: 500;       /* slightly bolder */
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  color: var(--accent);
  text-transform: none;
}
@keyframes rise { to { transform: translateY(0); } }

/* Hero portrait (bigger) */
.hero-portrait {
  position: relative;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 3/4;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  border: 8px solid var(--bg-card);
  margin-bottom: 30px;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  animation: portraitIn 1.2s cubic-bezier(.2,.7,.2,1) .3s both;
}
.hero-portrait:hover { transform: rotate(-1deg) scale(1.03); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait::after {
  content: "Robin, 22, Amsterdam";
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
@keyframes portraitIn {
  from { opacity: 0; transform: rotate(8deg) translateY(40px); }
  to { opacity: 1; transform: rotate(3deg) translateY(0); }
}

.hero-bottom {
  max-width: var(--container);
  margin: 64px auto 0;
  width: 100%;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative; z-index: 2;
}
.hero-desc {
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--fg-dim);
  max-width: 540px;
  text-wrap: pretty;
}
.hero-desc strong { color: var(--fg); font-weight: 600; }
.hero-actions {
  display: flex; gap: 14px;
  justify-self: end;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--accent-glow);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--fg);
}
.btn .arr {
  width: 14px; height: 14px;
  transition: transform .25s;
}
.btn:hover .arr { transform: translate(3px, -3px); }

@media (max-width: 980px) {
  .hero { padding-top: 110px; min-height: auto; padding-bottom: 40px; }
  .hero-body { grid-template-columns: 1fr; gap: 30px; }
  .hero-portrait { justify-self: start; transform: rotate(-2deg); margin-bottom: 20px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .hero-actions { justify-self: start; }
  .hero-top { flex-direction: column; gap: 16px; margin-bottom: 30px; }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  animation: scroll 38s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-item .dot {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.marquee-item.outline {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }
@media (max-width: 780px) { section { padding: 70px 0; } }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px; flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 7.5vw, 110px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 14ch;
}
.section-title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  text-transform: none;
}
.section-intro {
  max-width: 380px;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.5;
  align-self: flex-end;
  text-wrap: pretty;
}

/* ============ VENTURES ============ */
.ventures-list {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.venture {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 60px 1.1fr 1.4fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  transition: padding .35s cubic-bezier(.2,.7,.2,1), color .35s;
  isolation: isolate;
}
.venture::after {
  content: "";
  position: absolute; left: -20px; right: -20px; bottom: -1px; top: -1px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
  border-radius: 4px;
}
.venture:hover { padding: 48px 0; color: #fff; }
.venture:hover::after { transform: scaleY(1); }
.venture:hover .v-num,
.venture:hover .v-role,
.venture:hover .v-meta,
.venture:hover .v-desc { color: rgba(255,255,255,0.88); }

.v-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.v-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.v-role-line {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  align-items: baseline;
}
.v-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.v-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.v-meta strong { color: var(--fg); font-weight: 500; }
.venture:hover .v-meta strong { color: #fff; }
.v-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-dim);
  text-wrap: pretty;
  max-width: 50ch;
}
.v-links {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end;
}
.v-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.venture:hover .v-link { border-color: rgba(255,255,255,0.5); color: #fff; }
.venture:hover .v-link:hover { background: #fff; color: var(--accent); border-color: #fff; }

@media (max-width: 1100px) {
  .venture { grid-template-columns: 50px 1fr; gap: 16px 20px; padding: 28px 0; }
  .venture:hover { padding: 32px 0; }
  .v-desc, .v-links { grid-column: 2; }
  .v-links { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
}

/* ============ WORK FILTER + GRID + EXPAND ============ */
.work-filter {
  display: inline-flex;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 48px;
  position: relative;
  flex-wrap: wrap;
}
.work-filter button {
  position: relative;
  z-index: 2;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-dim);
  border-radius: 999px;
  transition: color .25s;
  white-space: nowrap;
}
.work-filter button.on { color: #fff; }
.work-filter .pill {
  position: absolute;
  top: 6px; bottom: 6px;
  background: var(--accent);
  border-radius: 999px;
  transition: left .35s cubic-bezier(.2,.7,.2,1), width .35s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, opacity .3s, background .35s;
  cursor: pointer;
  display: block;
}
.work-item.hidden { display: none; }
.work-item:hover { border-color: var(--border-strong); }

.work-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-elev);
}
.work-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.work-item:hover .work-img { transform: scale(1.04); }
.work-info {
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
}
.work-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.work-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-top: 6px;
}

.work-tags {
  position: absolute; top: 16px; left: 16px;
  display: flex; gap: 6px; z-index: 2;
}
.work-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(11, 11, 12, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
}

/* unified action button (top-right): plus when collapsed, X when expanded */
.work-action {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 44px; height: 44px;
  background: rgba(11, 11, 12, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245,243,238,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .25s;
}
.work-action svg { width: 18px; height: 18px; transition: transform .3s; }
.work-action .icon-close { display: none; }
.work-item:hover .work-action {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}
.work-item.expanded .work-action {
  background: var(--accent);
  border-color: var(--accent);
  top: 24px; right: 24px;
  transform: none;
}
.work-item.expanded:hover .work-action { transform: rotate(90deg); }
.work-item.expanded .work-action .icon-plus { display: none; }
.work-item.expanded .work-action .icon-close { display: block; }

/* expanded card style */
.work-detail {
  display: none;
  padding: 40px 36px;
  background: var(--bg-detail);
  border-top: 1px solid var(--border-strong);
}
.work-item.expanded {
  grid-column: 1 / -1;
  cursor: default;
  background: var(--bg-detail);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.work-item.expanded .work-detail { display: block; }
.work-item.expanded .work-figure { aspect-ratio: 21/9; }
.work-item.expanded .work-info {
  background: var(--bg-detail);
  padding-bottom: 12px;
}

.work-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.work-detail h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1;
}
.work-detail p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin-bottom: 14px;
  text-wrap: pretty;
}
.work-detail p strong { color: var(--fg); font-weight: 600; }
.work-detail-meta {
  display: flex; flex-direction: column;
  gap: 22px;
}
.detail-meta-row .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.detail-meta-row .val {
  font-size: 15px;
  color: var(--fg);
}
.work-detail-links {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-detail { padding: 24px 20px; }
  .work-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-item.expanded .work-figure { aspect-ratio: 16/10; }
  .work-info { padding: 18px 18px; }
  .work-name { font-size: 19px; }
}

/* ============ ABOUT ============ */
#about { padding-bottom: 80px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-bio p {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.about-bio p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 5em;
  float: left;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--accent);
  font-style: italic;
}
.about-bio p strong { color: var(--fg); font-weight: 600; }

/* Clean portrait grid - no tilt/offset */
.about-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-self: start;
}
.about-portrait img {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.about-portrait img:nth-child(1) { grid-column: 1; grid-row: 1; aspect-ratio: 3/4; }
.about-portrait img:nth-child(2) { grid-column: 2; grid-row: 1; aspect-ratio: 3/4; }
.about-portrait img:nth-child(3) { grid-column: 1 / 3; grid-row: 2; aspect-ratio: 16/9; }

.about-meta {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.meta-block .meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 14px;
}
.meta-block ul { list-style: none; }
.meta-block li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-dim);
}
.meta-block li strong {
  display: block;
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.meta-block li .year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}

@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-meta { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .about-meta { grid-template-columns: 1fr; }
  .about-bio p:first-of-type::first-letter { font-size: 4em; }
}

/* ============ SKILLS ============ */
.skills-row {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.skills-grid {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skill-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: -0.02em;
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: all .25s;
  cursor: default;
}
.skill-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}
.skill-chip.is-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 12px 18px;
}

/* ============ CONTACT ============ */
#contact {
  text-align: center;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}
.contact-eyebrow { margin-bottom: 24px; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 13vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.contact-title a {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
  transition: transform .3s;
  text-transform: none;
}
.contact-title a:hover { transform: rotate(-2deg); }

.contact-email {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  margin-bottom: 50px;
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: all .25s;
  word-break: break-all;
}
.contact-email:hover { background: var(--bg-card); color: var(--fg); }
.contact-socials {
  display: flex; justify-content: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-wrap: wrap;
}
.contact-socials a { position: relative; padding-bottom: 4px; }
.contact-socials a:hover { color: var(--fg); }
.contact-socials a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.contact-socials a:hover::after { transform: scaleX(1); }

@media (max-width: 780px) {
  #contact { padding: 80px 0; }
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  flex-wrap: wrap; gap: 16px;
}
footer .footer-time {
  display: inline-flex; align-items: center; gap: 8px;
}
footer .footer-time::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ============ CURSOR ============ */
.cursor {
  position: fixed;
  width: 28px; height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform .15s ease-out, width .25s, height .25s, background .25s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 52px; height: 52px;
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 900px) { .cursor { display: none !important; } }
@media (pointer: coarse) { .cursor { display: none !important; } }
