@font-face {
  font-family: 'Garet';
  src: url('./assets/fonts/garet-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('./assets/fonts/garet-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────
   DESIGN TOKENS — Literary Warm Palette
   ───────────────────────────────────────────── */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem;   --space-16: 4rem;
  --space-20: 5rem;   --space-24: 6rem;   --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-2xl: 1.5rem; --radius-full: 9999px;

  --font-display: 'Boska', 'Georgia', serif;
  --font-body:    'Garet', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── LIGHT MODE ── */
:root, [data-theme="light"] {
  --color-bg:            #faf8f4;
  --color-surface:       #f4f1eb;
  --color-border:        #ddd8ce;
  --color-divider:       #e5e0d8;
  --color-text:          #1a1714;
  --color-text-muted:    #6b6660;
  --color-text-faint:    #a8a49e;
  --color-text-inverse:  #faf8f4;
  --color-accent:        #7a4b2a;
  --color-accent-hover:  #5e3517;
  --color-accent-soft:   rgba(122,75,42,0.10);
  --color-dark:          #1a1714;
  --shadow-sm:  0 1px 3px rgba(26,23,20,0.07);
  --shadow-md:  0 4px 16px rgba(26,23,20,0.09);
  --shadow-lg:  0 12px 40px rgba(26,23,20,0.11);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --color-bg:            #141210;
  --color-surface:       #1e1b18;
  --color-border:        #332f2a;
  --color-divider:       #2a2622;
  --color-text:          #e8e2d8;
  --color-text-muted:    #857e74;
  --color-text-faint:    #5a544c;
  --color-text-inverse:  #141210;
  --color-accent:        #c9845a;
  --color-accent-hover:  #e09a70;
  --color-accent-soft:   rgba(201,132,90,0.12);
  --color-dark:          #1a1714;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.28);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.38);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.48);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141210; --color-surface: #1e1b18; --color-border: #332f2a;
    --color-divider: #2a2622; --color-text: #e8e2d8; --color-text-muted: #857e74;
    --color-text-faint: #5a544c; --color-text-inverse: #141210;
    --color-accent: #c9845a; --color-accent-hover: #e09a70;
    --color-accent-soft: rgba(201,132,90,0.12); --color-dark: #1a1714;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.28); --shadow-md: 0 4px 16px rgba(0,0,0,0.38);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.48);
  }
}

/* ─────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.content-with-rail {
  max-width: 1720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.content-main {
  min-width: 0;
}

/* ─────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
}
.nav-inner {
  max-width: 1160px; margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  height: 60px;
  display: flex; align-items: center; gap: var(--space-8);
}
.logo { color: var(--color-text); text-decoration: none; flex-shrink: 0; display: flex; }
.logo:hover { opacity: 0.75; }
.nav-links {
  display: flex; gap: var(--space-6); list-style: none; margin-left: auto;
}
.nav-links a {
  text-decoration: none; font-size: var(--text-sm); font-weight: 500;
  font-family: var(--font-body); color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-text); }
.theme-toggle {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); color: var(--color-text-muted);
  background: transparent; border: none; cursor: pointer; margin-left: var(--space-2);
}
.theme-toggle:hover { background: var(--color-surface); color: var(--color-text); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  max-width: 1160px; margin-inline: auto;
  overflow: visible;
}
.hero-inner { z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.hero-name {
  font-family: var(--font-display); font-size: var(--text-hero); font-weight: 500;
  line-height: 1.0; letter-spacing: -0.02em; color: var(--color-text);
  margin-bottom: var(--space-4);
}
.hero-role {
  font-family: var(--font-body); font-size: var(--text-lg); font-weight: 400;
  color: var(--color-text-muted); margin-bottom: var(--space-5);
}
.hero-bio {
  font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7;
  max-width: 44ch; margin-bottom: var(--space-8);
}
.hero-contacts { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: var(--space-3) var(--space-6);
  background: var(--color-text); color: var(--color-bg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600; font-family: var(--font-body);
  text-decoration: none; letter-spacing: 0.01em;
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn-primary:hover { background: var(--color-accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: var(--space-3) var(--space-6);
  border: 1.5px solid var(--color-border); color: var(--color-text-muted);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 500; font-family: var(--font-body);
  text-decoration: none;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.btn-ghost:hover { border-color: var(--color-text); color: var(--color-text); transform: translateY(-1px); }
.btn-primary--light { background: #fff; color: var(--color-dark); }
.btn-primary--light:hover { background: var(--color-accent); color: #fff; }
.btn-ghost--light { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.btn-ghost--light:hover { border-color: #fff; color: #fff; }

/* ── Hero deco ── */
.hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.pen-card {
  width: min(100%, 780px);
  min-height: clamp(540px, 56vw, 840px);
  padding: clamp(24px, 3vw, 48px) clamp(8px, 2vw, 24px) clamp(16px, 3vw, 28px);
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: var(--color-text);
}
.pen-card__scene {
  width: min(100%, 740px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.pen-card__media {
  display: block;
  width: min(100%, 740px);
  height: auto;
  background: transparent;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  isolation: isolate;
}

[data-theme="dark"] .pen-card__media {
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
}

/* ─────────────────────────────────────────────
   PROJECT SECTIONS
   ───────────────────────────────────────────── */
.proj-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.proj-section--tinted { background: var(--color-surface); }

.proj-header { margin-bottom: var(--space-8); }
.proj-tag {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 700; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--color-accent-soft); color: var(--color-accent);
  padding: 3px 11px; border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.proj-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500;
  color: var(--color-text); letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: var(--space-2);
}
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.proj-org {
  font-size: var(--text-sm); font-family: var(--font-body);
  color: var(--color-text-muted); font-weight: 500;
  margin: 0;
}

.proj-intro { margin-bottom: var(--space-12); }
.proj-intro-text p {
  font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.75;
  margin-bottom: var(--space-4); max-width: 68ch;
}
.ext-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; font-family: var(--font-body);
  color: var(--color-accent); text-decoration: none;
}
.ext-link:hover { opacity: 0.75; }

.proj-meta .ext-link {
  position: relative;
  padding-left: var(--space-5);
}

.proj-meta .ext-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0.9em;
  background: color-mix(in srgb, var(--color-text-muted) 35%, transparent);
  transform: translateY(-50%);
}

/* ── Work blocks ── */
.work-block {
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
}
.work-block-title {
  font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700;
  color: var(--color-text); margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-accent-soft);
}

/* ── Post grids ── */
 .posts-grid {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
.posts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.posts-grid--1-center {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-inline: auto;
}

.post-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
  align-self: start;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.post-card img {
  width: 100%; height: auto; display: block;
}
.post-card--carousel {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}
.post-card--carousel.is-single .post-carousel-btn,
.post-card--carousel.is-single .post-carousel-dots {
  display: none;
}
.post-carousel {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}
.post-carousel-track {
  display: flex;
  background: var(--color-surface);
  transition: transform 280ms var(--ease);
  will-change: transform;
}
.post-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  background: var(--color-surface);
  display: block;
}
.post-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(20,18,16,0.62);
  color: #faf8f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.post-carousel-btn:hover {
  background: rgba(20,18,16,0.82);
}
.post-carousel-btn--prev { left: 14px; }
.post-carousel-btn--next { right: 14px; }
.post-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.post-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(250,248,244,0.36);
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.post-carousel-dot.is-active {
  background: #faf8f4;
  transform: scale(1.15);
}

/* ─────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────── */
.about-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-bg);
  color: var(--color-text);
}
.about-grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  align-items: start;
}
.about-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500;
  color: var(--color-text); letter-spacing: -0.02em; margin-bottom: var(--space-6);
}
.about-text p {
  font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.75;
  margin-bottom: var(--space-5); max-width: 52ch;
}
.about-links { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.about-link {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-sm); font-weight: 500; font-family: var(--font-body);
  color: var(--color-text-muted); text-decoration: none;
}
.about-link:hover { color: var(--color-accent); }
.about-study-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.about-study-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}
.about-study-main {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.about-study-period {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 700;
}
.about-study-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.about-study-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}
.about-study-meta {
  padding-top: var(--space-5);
}
.about-study-subtitle {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.about-study-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.about-study-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-bg) 60%, transparent);
  border: 1px solid var(--color-divider);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.about-exp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-6) var(--space-8);
  overflow: hidden;
}
.exp-label {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-text-faint); margin-bottom: var(--space-5);
}
.exp-list { list-style: none; padding: 0; }
.exp-list li {
  padding-block: var(--space-4); border-bottom: 1px solid var(--color-divider);
}
.exp-list li:last-child { border-bottom: none; padding-bottom: 0; }
.exp-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  padding: var(--space-3) var(--space-4) var(--space-3) calc(var(--space-4) + 22px);
  margin-inline: calc(var(--space-4) * -1);
  border-radius: var(--radius-lg);
  max-width: 100%;
  color: inherit;
  transition: background 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease);
}
.exp-link:hover {
  background: var(--color-accent-soft);
  transform: translateX(4px);
}
.exp-link::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 0;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  transform: translateY(-50%);
  transition: height 180ms var(--ease);
}
.exp-link.is-active {
  background: var(--color-accent-soft);
  transform: translateX(8px);
}
.exp-link.is-active::before {
  height: 72%;
}
.exp-link.is-active .exp-role {
  color: var(--color-text);
}
.exp-link.is-active .exp-org {
  color: var(--color-accent);
}
.exp-role { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.exp-org  { font-size: var(--text-xs); color: var(--color-text-muted); }

.experience-rail {
  display: block;
  align-self: start;
}

.experience-rail .about-exp-card {
  width: 100%;
}
/* ─────────────────────────────────────────────
   LIGHTBOX
   ───────────────────────────────────────────── */
.post-card img { cursor: zoom-in; }

.lb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,8,6,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 260ms var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-overlay.lb-open {
  opacity: 1; pointer-events: all;
}
.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 680px);
  max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  display: block;
  transition: opacity 200ms var(--ease);
}
.lb-btn {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(250,248,244,0.12); border: 1px solid rgba(250,248,244,0.2);
  border-radius: var(--radius-full);
  color: #faf8f4; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
  z-index: 1001;
}
.lb-btn:hover { background: rgba(250,248,244,0.22); transform: translateY(-50%) scale(1.08); }
.lb-prev { left: clamp(12px, 3vw, 32px); }
.lb-next { right: clamp(12px, 3vw, 32px); }
.lb-close {
  position: fixed; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(250,248,244,0.1); border: 1px solid rgba(250,248,244,0.18);
  border-radius: var(--radius-full);
  color: #faf8f4; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms var(--ease);
  z-index: 1001;
}
.lb-close:hover { background: rgba(250,248,244,0.22); }
.lb-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: var(--text-sm);
  color: rgba(250,248,244,0.5); z-index: 1001;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}
.contact-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(var(--space-10), 6vw, var(--space-20));
  min-height: clamp(220px, 28vw, 320px);
  display: grid;
  place-items: center;
  border: 1px solid var(--color-divider);
  border-radius: 32px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 88%, transparent), color-mix(in srgb, var(--color-bg) 94%, transparent)),
    var(--color-bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--color-accent);
  opacity: 0.7;
}
.contact-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500;
  color: var(--color-text); letter-spacing: -0.02em; margin-bottom: var(--space-4);
}
.contact-title--thanks {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  max-width: 10ch;
}
.contact-text {
  font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7;
  margin-bottom: var(--space-8);
}
.contact-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-4); }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--color-surface); border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
  overflow: visible;
}
.site-footer .container {
  position: relative;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-4);
}
.footer-cat {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(210px, 24vw, 320px);
  height: auto;
  transform: translate(-50%, calc(-100% + 62px));
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.footer-name  { font-family: var(--font-display); font-size: var(--text-base); font-weight: 500; color: var(--color-text); max-width: none; }
.footer-copy  { font-size: var(--text-xs); color: var(--color-text-faint); max-width: none; }
.footer-pplx  { font-size: var(--text-xs); color: var(--color-text-faint); text-decoration: none; }
.footer-pplx:hover { color: var(--color-accent); }

/* ─────────────────────────────────────────────
   REVEAL
   ───────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-deco { display: none; }
  .posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .experience-rail { display: none; }
  .about-exp-card {
    padding: var(--space-5);
  }
  .exp-link {
    margin-inline: 0;
    padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 24px);
  }
  .exp-link:hover,
  .exp-link.is-active {
    transform: none;
  }
  .exp-link::before {
    left: 12px;
  }
}

@media (min-width: 1180px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  }
  .content-with-rail {
    width: 100%;
    max-width: 1640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: clamp(var(--space-10), 4vw, var(--space-20));
    align-items: start;
    padding-inline: clamp(var(--space-6), 3vw, var(--space-12));
  }
  .content-main {
    min-width: 0;
  }
  .content-main .container {
    max-width: 1320px;
  }
  .experience-rail {
    justify-self: end;
    position: sticky;
    top: clamp(var(--space-16), 8vw, var(--space-32));
    align-self: start;
    padding-top: clamp(var(--space-16), 8vw, var(--space-32));
  }
  .experience-rail .about-exp-card {
    max-width: 272px;
    padding: var(--space-5);
  }
}

@media (max-width: 640px) {
  .nav-links li:nth-child(1),
  .nav-links li:nth-child(2) { display: none; }
  .posts-grid--2 { grid-template-columns: 1fr; }
  .posts-grid--3 { grid-template-columns: 1fr; }
  .footer-cat { display: none; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .exp-link { margin-inline: 0; padding-inline: 0; }
  .exp-link::before { display: none; }
}
