/* ============================================
   Geist Font Family (Vercel) — Self-hosted
   ============================================ */

/* Geist Sans — Variable */
@font-face {
  font-family: 'Geist';
  src: url('./fonts/geist-sans/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Geist Mono — Variable */
@font-face {
  font-family: 'Geist Mono';
  src: url('./fonts/geist-mono/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Geist Pixel — Square */
@font-face {
  font-family: 'Geist Pixel Square';
  src: url('./fonts/geist-pixel/GeistPixel-Square.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Geist Pixel — Grid */
@font-face {
  font-family: 'Geist Pixel Grid';
  src: url('./fonts/geist-pixel/GeistPixel-Grid.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Geist Pixel — Circle */
@font-face {
  font-family: 'Geist Pixel Circle';
  src: url('./fonts/geist-pixel/GeistPixel-Circle.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Geist Pixel — Triangle */
@font-face {
  font-family: 'Geist Pixel Triangle';
  src: url('./fonts/geist-pixel/GeistPixel-Triangle.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Geist Pixel — Line */
@font-face {
  font-family: 'Geist Pixel Line';
  src: url('./fonts/geist-pixel/GeistPixel-Line.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;
  --accent: #a78bfa;
  --accent-dim: rgba(167, 139, 250, 0.15);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  --font-pixel: 'Geist Pixel Square', var(--font);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar-links a:focus-visible {
  outline-offset: 2px;
}

.sidebar-sub a:focus-visible {
  outline-offset: 1px;
}

.contact-link:focus-visible {
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   Sidebar Navigation
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  z-index: 1000;
  border-right: 1px solid var(--gray-900);
  background-color: transparent;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px;
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.sidebar-name {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.sidebar-name-first {
  font-weight: 400;
  font-family: var(--font-pixel);
  font-size: 54px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.sidebar-name-last {
  font-weight: 400;
  font-family: var(--font-pixel);
  font-size: 54px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  width: 100%;
  display: block;
}

.sidebar-role {
  font-size: 18px;
  font-family: var(--font);
  color: var(--gray-500);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 8px;
}

.sidebar-role-title {
  color: var(--white);
  font-weight: 600;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sidebar-links a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  padding: 7px 14px;
  border: 1px solid var(--white);
  border-radius: 100px;
  text-align: center;
  background-color: var(--black);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-links a:hover {
  background-color: var(--gray-900);
}

.sidebar-links a.active {
  background-color: var(--white);
  color: var(--black);
}

/* Sub-navigation (section links) */
.sidebar-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  padding: 6px 8px 6px 12px;
  background-color: transparent;
  border-radius: 6px;
}

.sidebar-links li.active-page .sidebar-sub {
  display: flex;
}

.sidebar-sub a {
  display: block;
  font-size: 11px;
  font-weight: 400;
  font-family: var(--font);
  color: var(--gray-500);
  padding: 4px 12px;
  border: 1px solid var(--gray-800);
  border-radius: 100px;
  text-align: center;
  background-color: var(--black);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sidebar-sub a:hover {
  color: var(--gray-200);
  border-color: var(--gray-600);
}

.sidebar-sub a.active-section {
  color: var(--accent);
  border-color: var(--accent);
  background-color: #1a1528;
}

.sidebar-footer {
  margin-top: auto;
}

.sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--accent);
  color: var(--black);
  padding: 9px 16px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.sidebar-cta:hover {
  background-color: #b99bff;
  color: var(--black);
  transform: translateY(-1px);
}

.sidebar-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.sidebar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--gray-500);
  background-color: var(--black);
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.15s ease;
}

.sidebar-social a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.sidebar-social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Main content offset */
.main-content {
  margin-left: 270px;
  position: relative;
  z-index: 1;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 120px 0;
  background-color: transparent;
}

.section:first-of-type {
  padding-top: 48px;
}

/* Projects — space-filling grid */
.section-projects {
  padding: 48px 0 120px;
}

.section-projects .container {
  padding: 0 32px;
}

.section-dark {
  background-color: var(--gray-950);
}

/* Intro section */
.section-intro {
  padding: 48px 0 80px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  padding-left: 40px;
}

.intro-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 32px;
}

.intro-title .text-accent {
  color: var(--accent);
}

.intro-bio {
  font-size: 17px;
  color: var(--gray-300);
  margin-bottom: 20px;
  line-height: 1.7;
}

.intro-bio a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.intro-bio a:hover {
  border-bottom-color: var(--accent);
}

/* About page background watermark */
.bg-watermark {
  padding: 48px 48px 0;
  font-family: var(--font-pixel);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  word-break: break-word;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  padding-top: 20px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 600px;
  margin-bottom: 64px;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
  padding-right: 450px;
}

.about-photo {
  position: sticky;
  top: 40px;
  width: 400px;
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.about-bio {
  font-size: 17px;
  color: var(--gray-300);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-bio a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.about-bio a:hover {
  border-bottom-color: var(--accent);
}

.about-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-value {
  font-size: 15px;
  color: var(--gray-200);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 400;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-size: 56px;
  font-weight: 400;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-plus.visible {
  opacity: 1;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ============================================
   Skills
   ============================================ */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  padding: 10px 20px;
  border: 1px solid var(--gray-800);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-pixel);
  color: var(--gray-300);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--white);
}

/* ============================================
   Projects
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: transparent;
  border: 1px solid var(--gray-900);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--gray-700);
  transform: translateY(-4px);
  background: #000;
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.08);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.project-year {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--gray-300);
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.project-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.projects-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 40px;
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: attr(data-number);
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 96px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: rgba(167, 139, 250, 0.06);
  line-height: 1;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--gray-600);
  background-color: rgba(255, 255, 255, 0.02);
}

.service-number {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   Clients
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

.client-item img {
  height: 40px;
  width: auto;
  max-width: 100%;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.client-item:hover {
  color: var(--white);
  background-color: var(--gray-900);
}

.client-item:hover img {
  opacity: 1;
}

/* ============================================
   Awards
   ============================================ */
.awards-list {
  margin-top: 48px;
}

.award-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-800);
  align-items: start;
}

.award-item:first-child {
  border-top: 1px solid var(--gray-800);
}

.award-project {
  font-size: 16px;
  font-weight: 600;
}

.award-name {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.award-year {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.timeline-map-cta {
  margin-bottom: 16px;
}

.timeline-map-desc {
  font-size: 15px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.timeline-map-cta .btn {
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.timeline-map-cta .btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: var(--gray-400);
}

.timeline-map-cta .btn svg {
  margin-left: 6px;
  vertical-align: -2px;
}

/* ============================================
   Timeline (two-column grid, line in center)
   ============================================ */
.timeline {
  margin-top: 48px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 19px;
  bottom: 0;
  width: 1px;
  background-color: var(--gray-800);
}

.timeline-entry {
  position: relative;
  padding-bottom: 32px;
  padding-top: 10px;
  border-radius: 8px;
  transition: background 0.4s ease;
}

.timeline-entry:hover {
  background: #000;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

/* Odd entries: left column, right-aligned */
.timeline-entry:nth-child(odd) {
  grid-column: 1;
  text-align: right;
  padding-right: 36px;
  padding-left: 12px;
}

/* Even entries: right column, left-aligned */
.timeline-entry:nth-child(even) {
  grid-column: 2;
  padding-left: 36px;
  padding-right: 12px;
}

.timeline-entry:nth-child(odd) .timeline-tags {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-entry:nth-child(odd) .timeline-dot {
  right: -5px;
  left: auto;
}

.timeline-entry:nth-child(even) .timeline-dot {
  left: -5px;
}

.timeline-year {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  position: relative;
}

.timeline-year::after {
  content: '';
  position: absolute;
  top: 50%;
  border-top: 1px dotted rgba(167, 139, 250, 0.6);
  width: 30px;
}

.timeline-entry:nth-child(odd) .timeline-year::after {
  left: 100%;
  margin-left: 2px;
}

.timeline-entry:nth-child(even) .timeline-year::after {
  right: 100%;
  margin-right: 2px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.4;
}

.timeline-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.timeline-tag {
  font-size: 11px;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--gray-800);
  border-radius: 4px;
}

/* ============================================
   Map Modal
   ============================================ */
.map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.map-modal.open {
  display: flex;
}

.map-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-modal-container {
  position: relative;
  z-index: 1;
  width: 92vw;
  height: 88vh;
  max-width: 1400px;
  background-color: var(--black);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-800);
  flex-shrink: 0;
}

.map-modal-title {
  font-size: 15px;
  font-family: var(--font-pixel);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.map-modal-counter {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.map-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-modal-reframe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--gray-800);
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-modal-reframe:hover {
  border-color: var(--gray-600);
  color: var(--white);
}

.map-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--gray-800);
  background: transparent;
  color: var(--gray-400);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.map-modal-close:hover {
  border-color: var(--gray-600);
  color: var(--white);
}

.map-modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.map-modal-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-modal-starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.map-modal-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-modal-legend {
  position: absolute;
  bottom: 80px;
  left: 16px;
  z-index: 2;
  display: flex;
  gap: 16px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
}

.map-modal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-modal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* MapLibre popup overrides for project map */
.map-popup .maplibregl-popup-content {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  max-width: 320px;
}

.map-popup .maplibregl-popup-tip {
  border-top-color: rgba(10, 10, 10, 0.92);
}

.map-popup .maplibregl-popup-close-button {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  padding: 4px 8px;
}

.map-popup .maplibregl-popup-close-button:hover {
  color: #fff;
  background: transparent;
}

.map-popup-inner {
  font-family: var(--font);
}

.map-popup-city {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.map-popup-count {
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.map-popup-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-popup-project {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.map-popup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.map-popup-project-info {
  flex: 1;
  min-width: 0;
}

.map-popup-project-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.map-popup-project-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  margin-top: 1px;
}

/* Map Timeline Slider */
.map-timeline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 14px 20px 10px;
  background: linear-gradient(rgba(0, 0, 0, 0.92) 65%, transparent);
}

.map-timeline-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  min-height: 20px;
}

.map-timeline-event {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.map-timeline-year-badge {
  display: none;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  padding: 1px 6px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.map-timeline-city {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.map-timeline-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-timeline-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-700);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.map-timeline-play:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(167, 139, 250, 0.1);
}

.map-timeline-track-wrap {
  flex: 1;
  position: relative;
  padding-bottom: 28px;
}

.map-timeline-fill {
  position: absolute;
  top: 0;
  left: 7px;
  right: 7px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  pointer-events: none;
  z-index: 1;
  transform-origin: left;
  transform: scaleX(0);
}

.map-timeline-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: var(--gray-800);
  position: relative;
  z-index: 2;
}

.map-timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
  border: 2px solid #fff;
}

.map-timeline-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
  border: 2px solid #fff;
}

.map-timeline-ticks {
  position: absolute;
  top: 0;
  left: 7px;
  right: 7px;
  height: 3px;
  pointer-events: none;
}

.map-timeline-tick {
  position: absolute;
  top: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-700);
  transform: translateX(-50%);
  transition: background 0.2s ease;
}

.map-timeline-tick.active {
  background: var(--accent);
}

.map-timeline-years {
  position: absolute;
  top: 18px;
  left: 7px;
  right: 7px;
  pointer-events: none;
}

.map-timeline-year {
  position: absolute;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray-600);
  transform: translateX(-50%);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ============================================
   Case Studies
   ============================================ */
.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.case-study-card {
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.case-study-card:hover {
  border-color: var(--gray-700);
}

.case-study-image {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.case-study-year {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--gray-300);
}

.case-study-body {
  padding: 32px;
}

.case-study-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.case-study-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* 30-second summary */
.case-study-summary {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-800);
}

/* Scope bar */
.case-study-scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(167, 139, 250, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: 8px;
}

.case-study-scope-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-scope-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-scope-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-200);
}

/* Section headers inside case study */
.case-study-section-title {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  margin-top: 32px;
}

.case-study-section-title:first-of-type {
  margin-top: 0;
}

/* Challenge + Solution (existing, restyled) */
.case-study-challenge,
.case-study-solution {
  margin-bottom: 20px;
}

.case-study-challenge-label,
.case-study-solution-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.case-study-challenge p,
.case-study-solution p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* Responsibilities list */
.case-study-responsibilities {
  margin-bottom: 24px;
}

.case-study-responsibilities ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-study-responsibilities li {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.case-study-responsibilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Tech stack */
.case-study-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-study-stack-tag {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--gray-300);
  padding: 5px 12px;
  border: 1px solid var(--gray-800);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

/* Architecture diagram */
.case-study-architecture {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  overflow-x: auto;
}

.case-study-architecture pre {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray-400);
  white-space: pre;
  margin: 0;
}

.case-study-architecture .arch-accent {
  color: var(--accent);
}

.case-study-architecture .arch-cyan {
  color: #7AFCFE;
}

.case-study-architecture .arch-dim {
  color: var(--gray-600);
}

/* Constraints */
.case-study-constraints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.case-study-constraint {
  padding: 16px;
  border: 1px solid var(--gray-800);
  border-radius: 8px;
}

.case-study-constraint-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.case-study-constraint-value {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.5;
}

/* Outcome metrics */
.case-study-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.case-study-outcome {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid var(--gray-800);
  border-radius: 8px;
}

.case-study-outcome-number {
  font-size: 28px;
  font-weight: 400;
  font-family: var(--font-mono);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.case-study-outcome-label {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* What went wrong */
.case-study-retro {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(250, 204, 21, 0.04);
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 8px;
}

.case-study-retro-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.case-study-retro p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
}

.case-study-retro strong {
  color: var(--white);
  font-weight: 600;
}

/* Details (role, client, stack) */
.case-study-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
}

.case-study-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-detail-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-detail-value {
  font-size: 14px;
  color: var(--gray-200);
  line-height: 1.5;
}

/* Experience Snapshot */
.case-study-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(122, 252, 254, 0.04);
  border: 1px solid rgba(122, 252, 254, 0.15);
  border-radius: 8px;
}

.case-study-snapshot-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-snapshot-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-snapshot-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-200);
}

/* Prototyping + Testing */
.case-study-iteration {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(122, 252, 254, 0.04);
  border: 1px solid rgba(122, 252, 254, 0.15);
  border-radius: 8px;
}

.case-study-iteration p {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
}

/* Tags */
.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study-tag {
  font-size: 11px;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--gray-800);
  border-radius: 4px;
}

/* ============================================
   Contact
   ============================================ */
.contact-content {
  max-width: 700px;
}

.contact-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 48px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-800);
  transition: padding-left 0.3s ease;
}

.contact-link:first-child {
  border-top: 1px solid var(--gray-800);
}

.contact-link:hover {
  padding-left: 12px;
}

.contact-link-label {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-link-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-200);
  transition: color 0.2s ease;
}

.contact-link:hover .contact-link-value {
  color: var(--accent);
}

/* ============================================
   Contact Modal
   ============================================ */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.contact-modal.open {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 24px;
  padding: 48px;
  background-color: var(--black);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  z-index: 1;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.contact-modal-close:hover {
  color: var(--white);
}

.contact-modal-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.contact-modal-subtitle {
  font-size: 16px;
  color: var(--gray-400);
  margin-bottom: 40px;
  line-height: 1.6;
}

.form-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-800);
}

.form-group:first-child {
  border-top: 1px solid var(--gray-800);
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0;
  background-color: transparent;
  border: none;
  color: var(--gray-200);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font);
  line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-submit {
  width: 100%;
  margin-top: 32px;
}

.contact-modal-success,
.contact-modal-error {
  display: none;
  padding: 32px 0;
}

.contact-modal-success p {
  font-size: 18px;
  color: var(--gray-200);
  line-height: 1.6;
}

.contact-modal-error p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.6;
}

.contact-modal-error a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-modal-error a:hover {
  border-bottom-color: var(--accent);
}

.contact-modal.success #contact-form { display: none; }
.contact-modal.success .contact-modal-subtitle { display: none; }
.contact-modal.success .contact-modal-success { display: block; }

.contact-modal.error #contact-form { display: none; }
.contact-modal.error .contact-modal-subtitle { display: none; }
.contact-modal.error .contact-modal-error { display: block; }

/* ============================================
   Project Detail Modal
   ============================================ */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.project-modal.open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 24px;
  background-color: var(--black);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  z-index: 1;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: var(--gray-300);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.project-modal-close:hover {
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.8);
}

.project-modal-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-body {
  padding: 28px 32px 32px;
}

.project-modal-year {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--gray-300);
  margin-bottom: 16px;
}

.project-modal-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.project-modal-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.project-modal-desc {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
}

.project-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.project-modal-link:hover {
  opacity: 0.8;
}

.project-modal-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--gray-800);
  background-color: transparent;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

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

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-500);
  transition: color 0.2s ease, transform 0.15s ease;
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-location {
  font-size: 13px;
  color: var(--gray-600);
}

/* ============================================
   Lab Notes — Posts
   ============================================ */
.posts-list {
  margin-top: 32px;
}

.posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-900);
  background: transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.post-item:hover {
  border-color: var(--gray-700);
  transform: translateY(-4px);
  background: var(--gray-900);
}

.post-item-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.post-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-item:hover .post-item-image img {
  transform: scale(1.05);
}

.post-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.post-item-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.post-item-source {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.post-item-date {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.post-item-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.2s ease;
}

.post-item:hover .post-item-title {
  color: var(--accent);
}

.post-item-excerpt {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.post-item-arrow {
  display: none;
}

.post-item-arrow {
  font-size: 18px;
  color: var(--gray-600);
  transition: color 0.2s ease, transform 0.2s ease;
  padding-top: 2px;
}

.post-item:hover .post-item-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================
   Blog — Tags
   ============================================ */
.post-tag {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 10px;
  border-radius: 999px;
  margin-right: 6px;
}

/* ============================================
   Blog — Post Viewer
   ============================================ */
.post-back {
  display: inline-block;
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.post-back:hover {
  color: var(--accent);
}

.post-header {
  margin-bottom: 32px;
}

.post-viewer-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-viewer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.post-viewer-date {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--gray-500);
}

.post-viewer-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.post-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
}

.post-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-300);
}

.post-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.post-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--white);
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--gray-400);
  font-style: italic;
}

.post-content pre {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 14px;
}

.post-content p code {
  background: var(--gray-900);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

/* ============================================
   Lab Notes — Resources
   ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.resource-card {
  display: block;
  padding: 32px;
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.resource-card:hover {
  border-color: var(--gray-600);
  background-color: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.resource-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.resource-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--white);
  transition: color 0.2s ease;
}

.resource-card:hover .resource-title {
  color: var(--accent);
}

.resource-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--gray-800);
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gray-400);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, border-color 0.2s ease, color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--gray-600);
  color: var(--white);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-left: 0;
  }

  .intro-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-right: 0;
  }

  .about-photo {
    max-width: 320px;
    position: static;
  }

  .about-stats {
    padding-top: 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .award-item {
    grid-template-columns: 1fr 2fr auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  /* Sidebar becomes overlay on mobile */
  .sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background-color: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* Backdrop overlay for mobile sidebar */
  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .sidebar-backdrop.visible {
    display: block;
  }

  .contact-modal-card {
    margin: 16px;
    padding: 32px 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .project-modal-card {
    margin: 16px;
  }

  .project-modal-body {
    padding: 24px 20px 28px;
  }

  .bg-watermark {
    padding: 24px;
    font-size: 28px;
  }

  .main-content {
    margin-left: 0;
  }

  .sidebar-name-first {
    font-size: 54px;
  }

  .sidebar-name-last {
    font-size: 54px;
  }

  .sidebar-role {
    font-size: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 0;
  }

  .section:first-of-type {
    padding-top: 80px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 0;
  }

  .intro-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-number, .stat-plus {
    font-size: 40px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-study-body {
    padding: 24px;
  }

  .case-study-title {
    font-size: 20px;
  }

  .case-study-scope,
  .case-study-snapshot {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .case-study-constraints {
    grid-template-columns: 1fr;
  }

  .case-study-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-architecture pre {
    font-size: 9px;
  }

  .posts-list {
    grid-template-columns: 1fr;
  }

  .post-item-image {
    height: 180px;
  }

  .post-viewer-title {
    font-size: 26px;
  }

  .post-hero-image {
    max-height: 260px;
  }

  .post-content {
    font-size: 15px;
  }

  .post-content h2 {
    font-size: 20px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .award-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .award-year {
    color: var(--gray-600);
    font-size: 13px;
  }

  .timeline {
    display: block;
    padding-left: 24px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-entry {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    padding-bottom: 32px;
    margin-top: 0 !important;
  }

  .timeline-entry:nth-child(odd) {
    padding-right: 0;
    text-align: left;
  }

  .timeline-entry:nth-child(even) {
    padding-left: 0;
  }

  .timeline-year::after {
    display: none;
  }

  .timeline-entry:nth-child(odd) .timeline-tags {
    justify-content: flex-start;
  }

  .timeline-dot,
  .timeline-entry:nth-child(odd) .timeline-dot,
  .timeline-entry:nth-child(even) .timeline-dot {
    left: -28px;
    right: auto;
  }

  .map-modal-container {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
  }

  .map-modal-legend {
    bottom: 74px;
    left: 12px;
    gap: 12px;
    padding: 6px 10px;
  }

  .map-timeline {
    padding: 8px 14px 12px;
  }

  .map-timeline-info {
    gap: 6px;
  }

  .map-timeline-event {
    font-size: 12px;
  }

  .map-timeline-year {
    font-size: 11px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .footer-nav,
  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================
   Top Secret — Sidebar Link
   ============================================ */
.ts-sidebar-link {
  border-color: #facc15 !important;
  color: #facc15 !important;
  background-color: var(--black) !important;
}

.ts-sidebar-link:hover {
  background-color: var(--gray-900) !important;
  border-color: #facc15 !important;
  color: #facc15 !important;
}

.ts-sidebar-link.active-section {
  background-color: var(--gray-900) !important;
  border-color: #facc15 !important;
  color: #facc15 !important;
}

/* ============================================
   Top Secret — Password Modal
   ============================================ */
.ts-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2001;
  align-items: center;
  justify-content: center;
}

.ts-modal.open {
  display: flex;
}

.ts-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
}

.ts-modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 24px;
  padding: 48px;
  background-color: var(--black);
  border: 1px solid #facc15;
  border-radius: 12px;
  z-index: 1;
  text-align: center;
}

.ts-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
}

.ts-modal-close:hover {
  color: var(--white);
}

.ts-modal-lock {
  color: #facc15;
  margin-bottom: 20px;
}

.ts-modal-title {
  font-size: 28px;
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #facc15;
}

.ts-modal-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.5;
}

.ts-modal-field {
  text-align: left;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
}

.ts-modal-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ts-modal-field input {
  width: 100%;
  padding: 0;
  background-color: transparent;
  border: none;
  color: var(--gray-200);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font);
  line-height: 1.5;
}

.ts-modal-field input::placeholder {
  color: var(--gray-600);
}

.ts-modal-field input:focus {
  outline: none;
  color: var(--white);
}

.ts-modal-error {
  display: none;
  font-size: 13px;
  color: #ef4444;
  margin-top: 12px;
  text-align: left;
}

.ts-modal-submit {
  width: 100%;
  margin-top: 24px;
  background-color: #facc15;
  color: var(--black);
  font-weight: 600;
}

.ts-modal-submit:hover {
  opacity: 0.85;
}

/* Shake animation for wrong password */
@keyframes ts-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
  20%, 40%, 60%, 80% { transform: translateX(6px); }
}

.ts-shake {
  animation: ts-shake 0.5s ease;
}

/* ============================================
   Top Secret — Locked Overlay
   ============================================ */
.ts-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
}

.ts-locked-inner {
  max-width: 400px;
  padding: 48px;
}

.ts-locked-icon {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.ts-locked-title {
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.ts-locked-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   Top Secret — NDA Project Cards
   ============================================ */
.ts-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ts-project-card {
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
  border-left: 3px solid #facc15;
  opacity: 0.55;
  cursor: pointer;
}

.ts-project-card:hover {
  border-color: var(--gray-600);
  border-left-color: #facc15;
  opacity: 1;
  background-color: rgba(250, 204, 21, 0.02);
}

.ts-project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-800);
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(250, 204, 21, 0.03) 8px,
    rgba(250, 204, 21, 0.03) 16px
  );
}

.ts-project-badge {
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-pixel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #facc15;
  padding: 3px 10px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 4px;
  background: rgba(250, 204, 21, 0.08);
}

.ts-project-year {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

.ts-project-body {
  padding: 24px 20px;
}

.ts-project-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--white);
}

.ts-project-client {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.ts-project-role {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.ts-project-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ts-project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ts-project-stack-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gray-500);
  padding: 3px 8px;
  border: 1px solid var(--gray-800);
  border-radius: 4px;
}

/* ============================================
   Top Secret — Project Detail Modal
   ============================================ */
.ts-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2002;
  align-items: center;
  justify-content: center;
}

.ts-detail-modal.open {
  display: flex;
}

.ts-detail-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ts-detail-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 24px;
  background-color: var(--black);
  border: 1px solid #facc15;
  border-radius: 12px;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.ts-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 2;
}

.ts-detail-close:hover {
  color: var(--white);
}

.ts-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-800);
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(250, 204, 21, 0.03) 8px,
    rgba(250, 204, 21, 0.03) 16px
  );
}

.ts-detail-body {
  padding: 32px 24px;
}

.ts-detail-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--white);
}

.ts-detail-client {
  font-size: 14px;
  font-weight: 500;
  color: #facc15;
  margin-bottom: 4px;
}

.ts-detail-role {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.ts-detail-section-label {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  margin-top: 24px;
}

.ts-detail-section-label:first-of-type {
  margin-top: 0;
}

.ts-detail-desc {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
}

.ts-detail-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ts-detail-stack-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--gray-400);
  padding: 4px 10px;
  border: 1px solid var(--gray-800);
  border-radius: 4px;
}

.ts-detail-year {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .ts-projects-grid {
    grid-template-columns: 1fr;
  }

  .ts-modal-card {
    margin: 16px;
    padding: 32px 24px;
  }

  .ts-detail-card {
    margin: 16px;
  }

  .ts-detail-body {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    padding: 28px;
  }
}

/* ============================================
   Site-Wide Password Lock
   ============================================ */
#site-lock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  transition: opacity 0.3s ease;
}

.site-lock-card {
  width: 100%;
  max-width: 420px;
  margin: 24px;
  padding: 48px;
  background-color: var(--black);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  text-align: center;
}

.site-lock-icon {
  color: var(--gray-500);
  margin-bottom: 20px;
}

.site-lock-title {
  font-size: 28px;
  font-weight: 400;
  font-family: var(--font-pixel);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--white);
}

.site-lock-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.5;
}

.site-lock-field {
  text-align: left;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
}

.site-lock-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-pixel);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.site-lock-field input {
  width: 100%;
  padding: 0;
  background-color: transparent;
  border: none;
  color: var(--gray-200);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font);
  line-height: 1.5;
}

.site-lock-field input::placeholder {
  color: var(--gray-600);
}

.site-lock-field input:focus {
  outline: none;
  color: var(--white);
}

.site-lock-error {
  display: none;
  font-size: 13px;
  color: #ef4444;
  margin-top: 12px;
  text-align: left;
}

.site-lock-submit {
  width: 100%;
  margin-top: 24px;
}

@keyframes site-lock-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
  20%, 40%, 60%, 80% { transform: translateX(6px); }
}

.site-lock-shake {
  animation: site-lock-shake 0.5s ease;
}

@media (max-width: 768px) {
  .site-lock-card {
    margin: 16px;
    padding: 32px 24px;
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
