/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:       #0a0a0c;
  --bg-dark:       #101014;
  --bg-card:       #16161c;
  --bg-card2:      #1c1c24;
  --accent:        #c8a96e;
  --accent-dim:    #8a7148;
  --accent-glow:   #c8a96e44;
  --text:          #e8e4dc;
  --text-dim:      #9a968e;
  --text-muted:    #5a5650;
  --border:        #2a2830;
  --border-accent: #3a3428;
  --font-sans:     'Barlow', 'Segoe UI', system-ui, sans-serif;
  --font-display:  'Cormorant Garamond', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  counter-reset: section-num;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===================== GRAIN & VIGNETTE ===================== */
@keyframes grain {
  0%, 100% { background-position:   0%   0%; }
  10%       { background-position:  25%  15%; }
  20%       { background-position: -15%  30%; }
  30%       { background-position:  40% -10%; }
  40%       { background-position: -30%  45%; }
  50%       { background-position:  10% -35%; }
  60%       { background-position: -45%  20%; }
  70%       { background-position:  35% -25%; }
  80%       { background-position: -20%  40%; }
  90%       { background-position:  15% -45%; }
}

/* Vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 38%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

/* Film grain, sits inside each section (above bg but below content) */
section::after, footer::after, nav::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: screen;
  background-image: url('./grain.svg');
  background-size: 200px 200px;
  background-repeat: repeat;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--accent-dim);
  border-radius: 3px;
}

/* ===================== NAVBAR ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 26px;
  opacity: 0.92;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li {
  position: relative;
}

.nav-links li::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 80px;
  background: radial-gradient(
    ellipse at 50% 0%,
    var(--accent-glow) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-links li:hover::before {
  opacity: 1;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-dim);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../gallery/header.webp');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.28) saturate(0.6);
  transform: scale(1.06);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      transparent 30%,
      var(--bg-deep) 100%
    ),
    linear-gradient(to bottom, transparent 50%, var(--bg-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo {
  width: min(700px, 90vw);
  filter: drop-shadow(0 0 60px var(--accent-glow));
}

.hero-eyebrow {
  font-family: 'Crimson Text', Georgia, serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--accent-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(200,169,110,0.55), 0 0 60px rgba(200,169,110,0.2), 0 2px 16px rgba(0,0,0,0.8);
}

.hero-desc {
  max-width: 520px;
  font-size: 19px;
  color: var(--text-dim);
  line-height: 1.85;
}

.hero-desc em {
  font-style: normal;
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0c;
  font-weight: 700;
}

.btn-primary:hover {
  background: #dbbf82;
  text-decoration: none;
  box-shadow:
    0 0 18px 4px var(--accent-glow),
    0 0 40px 8px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  text-decoration: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bobbing 2.5s ease-in-out infinite;
}

.hero-scroll-hint svg { opacity: 0.4; }

@keyframes bobbing {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ===================== SECTIONS ===================== */
section {
  padding: 110px 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

section[id] {
  counter-increment: section-num;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Large faded italic section numeral */
.section-inner::before {
  content: counter(section-num, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(110px, 14vw, 190px);
  line-height: 1;
  color: rgba(200, 169, 110, 0.055);
  position: absolute;
  top: -0.18em;
  right: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-label {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow:
    0 0 40px rgba(200, 169, 110, 0.18),
    0 0 80px rgba(200, 169, 110, 0.08);
}

.section-subtitle {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.85;
}

/* ===================== ABOUT ===================== */
#about {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 29px);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-left: 20px;
  background: linear-gradient(to bottom, var(--accent), transparent) left / 2px 100% no-repeat;
}

.about-body p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.65;
  text-align: justify;
}

.about-body p strong {
  color: var(--text);
  font-weight: 600;
}

.stat-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow:
    0 0 24px rgba(200, 169, 110, 0.45),
    0 0 56px rgba(200, 169, 110, 0.2);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.about-image-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-img-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.about-img-item:hover img { transform: scale(1.03); }

.about-img-caption {
  display: block;
  text-align: right;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===================== REEL ===================== */
.reel-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.reel-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-caption {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

/* ===================== FEATURES ===================== */
#features { background: var(--bg-dark); }

.features-header {
  margin-bottom: 80px;
}

.features-header .section-subtitle { max-width: 580px; }

.features-body
{
	max-width:1100px;
	margin:0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

/* Alternating hero feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
  height: 480px;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row-img {
  position: relative;
  overflow: hidden;
}

.feature-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}

.feature-row:hover .feature-row-img img {
  transform: scale(1.03);
  filter: brightness(0.95) saturate(1);
}

.feature-row-body {
  background: var(--bg-card);
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-row-body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-row:hover .feature-row-body::after { transform: scaleX(1); }

.feature-row-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  color: var(--border-accent);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 700;
}

.feature-row-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-row-desc {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 400px;
}

.feature-row-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 20px;
  align-self: flex-start;
}

/* Compact features grid */
.features-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 40px;
  border: 1px solid var(--border);
}

.feature-compact-card {
  background: var(--bg-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}

.feature-compact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-compact-card:hover { background: var(--bg-card2); }
.feature-compact-card:hover::after { transform: scaleX(1); }

.feature-compact-icon {
  color: var(--accent-dim);
  margin-bottom: 16px;
  opacity: 0.85;
}

.feature-compact-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-compact-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

.feature-compact-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}

/* ===================== GALLERY ===================== */
#gallery {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.gallery-section-name {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  margin-top: 56px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-accent);
  display: block;
}

.gallery-section-name:first-child { margin-top: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: var(--bg-card);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-thumb:hover .gallery-thumb-overlay {
  background: rgba(200, 169, 110, 0.1);
}

.gallery-thumb-overlay svg {
  width: 26px;
  height: 26px;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
}

.gallery-thumb:hover .gallery-thumb-overlay svg { opacity: 0.6; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 24px; right: 28px;
  color: var(--text-dim);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 32px;
  cursor: pointer;
  padding: 16px;
  transition: color 0.2s;
  user-select: none;
}

.lightbox-nav:hover { color: var(--accent); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ===================== TECH STACK ===================== */
#tech { background: var(--bg-deep); }

#tech-sparkles,
#about-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
  border: 1px solid var(--border);
}

.tech-item {
  background: var(--bg-card);
  padding: 28px 24px;
  transition: background 0.2s;
}

.tech-item:hover { background: var(--bg-card2); }

.tech-item--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.tech-glyph {
  font-size: 32px;
  color: var(--accent-dim);
  opacity: 0.4;
  transition: opacity 0.3s, color 0.3s;
  user-select: none;
}

.tech-item--logo:hover .tech-glyph {
  opacity: 0.9;
  color: var(--accent);
}

.tech-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.tech-role {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.tech-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 10px;
}

/* ===================== BLOG ===================== */
#blog {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--accent-dim);
  background: #1e1a12;
  transform: translateY(-2px);
  text-decoration: none;
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.85);
  transition: transform 0.4s, filter 0.3s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-date {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.blog-summary {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  flex: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 8px;
  transition: gap 0.2s;
}

.blog-card:hover .blog-link { gap: 10px; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  height: 44px;
  opacity: 0.4;
  filter: grayscale(1);
}

.footer-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-text a { color: var(--text-muted); }
.footer-text a:hover { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); text-decoration: none; }

/* ===================== DISCORD ===================== */
.discord-panel {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.discord-panel::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.discord-panel-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discord-panel-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.discord-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #5865F2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.discord-btn:hover {
  background: #4752c4;
  box-shadow: 0 0 24px 4px rgba(88, 101, 242, 0.35);
  text-decoration: none;
  color: #fff;
}

.discord-btn svg { flex-shrink: 0; }

/* ===================== ROADMAP ===================== */
#roadmap {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.roadmap-loading {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-muted);
  font-size: 17px;
}

.roadmap-body {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 720px;
}

.roadmap-group { display: flex; flex-direction: column; gap: 0; }

.roadmap-group h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.2;
}

.roadmap-group h3 {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.roadmap-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 4px;
}

.roadmap-group ul li {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.roadmap-group ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
}

.roadmap-group ul li.done {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
}

.roadmap-group ul li.done::before {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.08em; }
}

@media (max-width: 1000px) {
  nav { padding: 0 24px; }
  .nav-links {
    position: static;
    transform: none;
    gap: 16px;
  }
  .nav-links a { font-size: 11px; letter-spacing: 0.06em; }
  .nav-tag { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-header { grid-template-columns: 1fr; gap: 16px; }
  .feature-row { grid-template-columns: 1fr; min-height: auto; height: auto; }
  .feature-row.reverse { direction: ltr; }
  .feature-row-img { aspect-ratio: 16/9; }
  .feature-row-body { padding: 36px 28px; }
  .features-compact { grid-template-columns: 1fr 1fr; }
  .tech-list { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .features-compact { grid-template-columns: 1fr; }
  .features-body { padding: 0px; }
  .tech-list { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; }
}
