/* ============================================================
   COMPONENTS.CSS — Buttons, Cards, UI Elements
   ============================================================ */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap; /* overridden on mobile */
}

.btn span {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.btn i {
  position: relative;
  z-index: 1;
}

/* Fill wipe hover effect */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  transition: transform 0.4s var(--ease-out-expo);
  border-radius: inherit;
}

.btn:hover::before {
  transform: translateX(0);
}

/* Primary */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border: none;
}

.btn-primary::before {
  background: var(--color-accent-light);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline::before {
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Ghost accent */
.btn-ghost-accent {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid rgba(88, 166, 255, 0.4);
}

.btn-ghost-accent::before {
  background: rgba(88, 166, 255, 0.12);
}

.btn-ghost-accent:hover {
  border-color: var(--color-accent);
}

/* ── Gate Overlay ── */
.gate {
  position: fixed;
  inset: 0;
  z-index: var(--z-gate);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-deep);
  overflow: hidden;
}

.gate__pulse {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gate__pulse-ring {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(88, 166, 255, 0.15);
  animation: pulsRing 2s ease-out infinite;
}

.gate__pulse-ring:nth-child(2) {
  animation-delay: 0.6s;
  width: 900px;
  height: 900px;
}

.gate__pulse-ring:nth-child(3) {
  animation-delay: 1.2s;
  width: 1200px;
  height: 1200px;
}

.gate__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.12) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite alternate;
}

.gate__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--container-pad);
  max-width: 100%;
  overflow: hidden;
}

.gate__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
  opacity: 0;
}

.gate__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  opacity: 0;
}

.gate__title .accent {
  color: var(--color-accent);
  display: block;
}

.gate__sub {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 1.75rem;
  opacity: 0;
}

/* ── Custom Cursor ── */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    pointer-events: none;
    z-index: var(--z-cursor);
    /* transform set by JS — no transition on transform to avoid fighting rAF */
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    will-change: transform;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(88, 166, 255, 0.5);
    pointer-events: none;
    z-index: var(--z-cursor);
    /* transform set by JS */
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s;
    will-change: transform;
  }

  .cursor-dot.hovering {
    width: 10px;
    height: 10px;
  }

  .cursor-ring.hovering {
    width: 48px;
    height: 48px;
    border-color: rgba(88, 166, 255, 0.8);
  }
}

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  opacity: 0.15;
}

/* ── Scroll Reveal (initial state) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

/* ── Loading state ── */
.page-content {
  opacity: 0;
}

.page-content.ready {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Fallback: if JS/GSAP fails, always show page after 3s */
@keyframes forceReveal {
  to { opacity: 1; }
}
.page-content {
  animation: forceReveal 0s 3s forwards;
}

/* ── Tech Radar ── */
.radar-wrap {
  margin-top: 5rem;
  text-align: center;
}

.radar-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.radar-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.tech-radar-container {
  width: min(700px, 92vw);
  height: min(700px, 92vw);
  margin: 0 auto;
  position: relative;
}

/* ── Mobile radar card grid ── */
.radar-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  width: 100%;
  padding: 0;
}

.radar-card {
  background: rgba(88, 166, 255, 0.04);
  border: 1px solid rgba(88, 166, 255, 0.1);
  border-top: 2px solid var(--card-color, #58A6FF);
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
}

.radar-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.radar-card__icon {
  font-size: 1rem;
  color: var(--card-color, #58A6FF);
  line-height: 1;
  flex-shrink: 0;
}

.radar-card__name {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-color, #58A6FF);
}

.radar-card__group {
  margin-bottom: 0.5rem;
}

.radar-card__group:last-child {
  margin-bottom: 0;
}

.radar-card__ring {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
  margin-top: 0.4rem;
}

.radar-card__ring[data-level="0"] { color: var(--card-color, #58A6FF); opacity: 0.8; }
.radar-card__ring[data-level="1"] { opacity: 0.6; }
.radar-card__ring[data-level="2"] { opacity: 0.5; }
.radar-card__ring[data-level="3"] { opacity: 0.4; }

.radar-card__chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(230, 237, 243, 0.85);
  background: rgba(230, 237, 243, 0.06);
  border: 1px solid rgba(230, 237, 243, 0.1);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  margin: 0.15rem 0.15rem 0 0;
  white-space: nowrap;
}


/* ── Project card link ── */
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, gap 0.2s;
}
.project-card__link:hover { opacity: 1; gap: 0.55rem; }

/* ── Footer disclaimer ── */
.footer__disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  margin-top: 0.4rem;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   MOBILE NAV OVERLAY — Cinematic Portal
═══════════════════════════════════════════════════ */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #060810;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;

  /* Portal clip: starts as a tiny circle at the hamburger position (top-right) */
  clip-path: circle(0% at calc(100% - 2rem) 2rem);
  transition: clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mnav.is-open {
  pointer-events: all;
  clip-path: circle(150% at calc(100% - 2rem) 2rem);
}

/* Scanline that sweeps top→bottom on open */
.mnav__scan {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  box-shadow: 0 0 18px 4px rgba(88, 166, 255, 0.7);
  transform: translateY(-4px);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.mnav.is-open .mnav__scan {
  animation: mnavScan 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

@keyframes mnavScan {
  0%   { transform: translateY(0);    opacity: 1; }
  90%  { transform: translateY(100vh); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Canvas grid bg */
.mnav__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
}

/* Inner layout */
.mnav__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 5rem 1rem 2rem;
  gap: 2.5rem;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

/* Nav links */
.mnav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.mnav__link {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(88, 166, 255, 0.08);
  text-decoration: none;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity  0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.mnav.is-open .mnav__link {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.mnav.is-open .mnav__link[data-index="0"] { transition-delay: 0.20s; }
.mnav.is-open .mnav__link[data-index="1"] { transition-delay: 0.28s; }
.mnav.is-open .mnav__link[data-index="2"] { transition-delay: 0.36s; }
.mnav.is-open .mnav__link[data-index="3"] { transition-delay: 0.44s; }
.mnav.is-open .mnav__link[data-index="4"] { transition-delay: 0.52s; }
.mnav.is-open .mnav__link[data-index="5"] { transition-delay: 0.60s; }

.mnav__link-num { display: none; }

.mnav__link-text {
  font-family: var(--font-heading);
  /* Pure vw: 7vw hits ~26px at 375px, ~22px at 320px.
     "EXPERIENCE" (10 chars) at 26px Syne Bold ≈ 195px — fits inside 295px available. */
  font-size: clamp(1.1rem, 7vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  max-width: 100%;
}

.mnav__link-text::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mnav__link:hover .mnav__link-text::after { width: 100%; }
.mnav__link:hover { color: var(--color-accent); }
.mnav__link:hover .mnav__link-num { opacity: 1; }

/* WinnSS logo item in mobile nav */
.mnav__link--winnss {
  border-bottom: none;
  margin-top: 0.5rem;
}

.mnav__link-text--winnss {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem; /* override the big heading size */
  overflow: visible;
}

.mnav__link-text--winnss::after { display: none; }

.mnav__winnss-logo {
  display: inline-flex;
  align-items: center;
}

.mnav__winnss-logo .winnss-svg {
  width: 130px;
  height: auto;
  display: block;
  color: #58A6FF;
  transition: color 0.25s ease;
}

.mnav__link--winnss:hover .mnav__winnss-logo .winnss-svg {
  color: #92d2ff;
}

.mnav__winnss-arrow {
  color: #58A6FF;
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mnav__link--winnss:hover .mnav__winnss-arrow {
  transform: translate(2px, -2px);
  color: #7ec8ff;
}

/* Footer */
.mnav__footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.6s, transform 0.4s ease 0.6s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.mnav__cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}
.mnav__cta:hover { gap: 0.6rem; }

.mnav__tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* Close animation — reverse clip-path */
.mnav.is-closing {
  clip-path: circle(0% at calc(100% - 2rem) 2rem);
  transition: clip-path 0.5s cubic-bezier(0.55, 0, 1, 0.45);
}

.mnav.is-closing .mnav__link,
.mnav.is-closing .mnav__footer {
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* Close button — top-right X inside overlay */
.mnav__close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mnav__close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: background 0.2s;
}

.mnav__close span:nth-child(1) { transform: rotate(45deg); }
.mnav__close span:nth-child(2) { transform: rotate(-45deg); }
.mnav__close:hover span { background: var(--color-accent); }


/* ============================================================
   PROJ-GRID — Compact project tiles + modal/bottom-sheet
   ============================================================ */

/* Grid */
/* Scroll lock when modal open */
body.modal-open { overflow: hidden; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .proj-grid {
    grid-template-columns: unset;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    /* smooth momentum scroll on iOS */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* hide scrollbar but keep functional */
    scrollbar-width: none;
  }
  .proj-grid::-webkit-scrollbar { display: none; }
  .proj-tile {
    flex: 0 0 200px;
    height: auto;
    min-height: 210px;
    scroll-snap-align: start;
  }
}

/* Tile */
.proj-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 200px;
  background: rgba(10,13,22,0.9);
  border: 1px solid rgba(88,166,255,0.1);
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
@media (max-width: 767px) {
  .proj-tile { height: auto; min-height: 180px; overflow: visible; }
}
.proj-tile:hover {
  border-color: rgba(88,166,255,0.4);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Icon area */
.proj-tile__icon {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: font-size 0.25s;
}
@media (max-width: 767px) {
  .proj-tile__icon { flex: 0 0 56px; }
}
.proj-tile__icon i {
  font-size: 2rem;
  color: rgba(88,166,255,0.7);
  transition: color 0.25s, font-size 0.25s;
}
@media (max-width: 767px) {
  .proj-tile__icon i { font-size: 1.5rem; }
}
.proj-tile:hover .proj-tile__icon i {
  color: rgba(88,166,255,1);
}

/* Tile info area */
.proj-tile__info {
  flex: 1 1 auto;
  padding: 0.4rem 0.6rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 0;
  /* leave room for + button */
  padding-right: 2.2rem;
}
.proj-tile__num {
  font-family: var(--font-body, monospace);
  font-size: 0.6rem;
  color: rgba(88,166,255,0.55);
  letter-spacing: 0.06em;
}
.proj-tile__title {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 767px) {
  .proj-tile__title { font-size: 0.72rem; }
}
.proj-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.proj-tile__desc {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
@media (max-width: 767px) {
  .proj-tile__desc { font-size: 0.62rem; -webkit-line-clamp: 4; }
}

.proj-tile__tags .tag {
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(88,166,255,0.1);
  color: rgba(88,166,255,0.85);
  border: 1px solid rgba(88,166,255,0.2);
  white-space: nowrap;
}

/* Expand (+) button */
.proj-tile__expand {
  position: absolute;
  bottom: 0.4rem;
  right: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #58A6FF;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
  flex-shrink: 0;
}
.proj-tile__expand:hover { background: #79b8ff; transform: scale(1.1); }

/* ---- Modal / Bottom Sheet ---- */
.proj-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.proj-modal.is-open { display: flex; }

.proj-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Desktop panel */
.proj-modal__panel {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(10,13,22,0.98);
  border: 1px solid rgba(88,166,255,0.2);
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.proj-modal.is-visible .proj-modal__panel {
  opacity: 1;
  transform: scale(1);
}

/* Mobile: bottom sheet */
@media (max-width: 767px) {
  .proj-modal {
    align-items: flex-end;
    justify-content: stretch;
  }
  .proj-modal__panel {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
  }
  .proj-modal.is-visible .proj-modal__panel {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button */
.proj-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(88,166,255,0.3);
  background: rgba(88,166,255,0.1);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.proj-modal__close:hover { background: rgba(88,166,255,0.25); }

/* Modal image */
.proj-modal__img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .proj-modal__img-wrap { border-radius: 20px 20px 0 0; height: 180px; }
}
.proj-modal__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proj-modal__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-modal__img-placeholder i {
  font-size: 3.5rem;
  color: rgba(88,166,255,0.4);
}

/* Modal body */
.proj-modal__body {
  padding: 1.5rem;
}
.proj-modal__meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.proj-modal__num {
  font-family: var(--font-body, monospace);
  font-size: 0.75rem;
  color: rgba(88,166,255,0.6);
  letter-spacing: 0.06em;
}
.proj-modal__title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.proj-modal__desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.proj-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.proj-modal__tags .tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(88,166,255,0.1);
  color: rgba(88,166,255,0.9);
  border: 1px solid rgba(88,166,255,0.25);
}

/* Body scroll lock */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
html.modal-open { overflow: hidden; }
