/* ==========================================================================
   DENECHI (でねちぃ) — CREATIVE TECH & SYSTEMS ENGINEER PORTFOLIO
   Editorial Brutalism × Real-Time Telemetry × Interactive Physics
   ========================================================================== */

:root {
  --bg: #09090b;
  --bg-elevated: #111115;
  --bg-card: #15151a;
  --bg-glass: rgba(17, 17, 21, 0.78);
  --fg: #eceae2;
  --fg-muted: #8b8a84;
  --border: rgba(236, 234, 226, 0.12);
  --border-strong: rgba(236, 234, 226, 0.28);

  /* Fixed Theme: Gold */
  --accent: #f3c65f;
  --accent-rgb: 243, 198, 95;
  --gold: #e6c168;
  --danger: #ff3b5c;

  --font-display: 'Syne', sans-serif;
  --font-serif: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-jp);
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  cursor: none;
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }
}

a, button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  cursor: none;
}

@media (pointer: coarse) {
  a, button {
    cursor: pointer;
  }
}

/* ==========================================================================
   FILM GRAIN NOISE OVERLAY
   ========================================================================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 1%); }
  100% { transform: translate(1%, -2%); }
}

/* ==========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================== */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.mono-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--fg);
}

.serif-italic {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  transition: transform 0.15s var(--ease-out-expo), opacity 0.2s;
}

.cursor-outline {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(236, 234, 226, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    width 0.35s var(--ease-out-expo),
    height 0.35s var(--ease-out-expo),
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo);
  mix-blend-mode: difference;
}

.cursor-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #09090b;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s var(--ease-out-expo);
}

body.cursor-active .cursor-outline {
  width: 78px;
  height: 78px;
  background-color: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
}

body.cursor-active .cursor-label {
  opacity: 1;
  transform: scale(1);
}

body.cursor-active .cursor-dot {
  opacity: 0;
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background-color: #050507;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 3vw;
  border-bottom: 1px solid var(--border);
  transition: transform 0.95s var(--ease-in-out-quart);
}

.preloader.is-complete {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__top,
.preloader__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.preloader__bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
  transition: width 0.08s linear;
}

.preloader__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.preloader__counter {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 11.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.preloader__percent {
  font-family: var(--font-display);
  font-size: 0.45em;
  color: var(--accent);
  margin-left: 0.1em;
}

/* ==========================================================================
   TOP TELEMETRY HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 3vw;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
  background: #000;
}

.brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.header-telemetry {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-switch,
.sfx-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.25s, background 0.25s;
}

.theme-switch:hover,
.sfx-switch:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.theme-switch__swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mono-index {
  color: var(--accent);
  font-size: 0.65rem;
}

.nav-link--cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--accent);
  color: #09090b;
  border-color: var(--accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7.5rem 3vw 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.68;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
  padding: 0 3vw;
}

.hero__grid-lines > div {
  border-left: 1px solid rgba(236, 234, 226, 0.04);
}

.hero__grid-lines > div:last-child {
  border-right: 1px solid rgba(236, 234, 226, 0.04);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 2.5rem;
}

.hero__eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__identity-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  background: rgba(12, 12, 15, 0.75);
}

.status-pill--gold {
  border-color: rgba(230, 193, 104, 0.45);
  color: #f4d98c;
}

.status-pill__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.status-pill__lock {
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
}

.status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}

.hero__main-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 3rem;
  align-items: center;
  margin: auto 0;
}

.hero__headline-col {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  min-width: 0;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero__line {
  display: flex;
  align-items: center;
  gap: 0.28em;
  overflow: hidden;
  padding-bottom: 0.06em;
  flex-wrap: wrap;
}

.hero__line--sub {
  font-size: 0.78em;
  gap: 0.26em;
}

.hero__word {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-out-expo);
}

.hero__jp-badge {
  font-family: var(--font-jp);
  font-size: clamp(0.95rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.22em 0.75em;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 999px;
  transform: translateY(115%);
  transition: transform 1.1s 0.12s var(--ease-out-expo);
}

body.is-ready .hero__word,
body.is-ready .hero__jp-badge,
body.is-ready .hero__subtext {
  transform: translateY(0%);
  opacity: 1;
}

.hero__word--creative {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}

.hero__word--accent {
  color: var(--accent);
}

.hero__subtext {
  font-family: var(--font-jp);
  font-size: clamp(0.92rem, 1.05vw, 1.06rem);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  max-width: 60ch;
  text-transform: none;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1.1s 0.25s var(--ease-out-expo), opacity 1.1s 0.25s;
}

.hero__subtext strong {
  color: var(--fg);
  font-weight: 700;
}

/* Floating Avatar Telemetry Pod */
.hero__avatar-pod {
  border: 1px solid var(--border-strong);
  background: rgba(15, 15, 19, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: border-color 0.35s, transform 0.35s var(--ease-out-expo);
}

.hero__avatar-pod:hover {
  border-color: var(--accent);
}

.hero__avatar-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000000;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.hero__avatar-pod:hover .hero__avatar-img {
  transform: scale(1.06) rotate(-2deg);
}

.hero__avatar-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(var(--accent-rgb), 0.1) 50%, transparent 60%);
  background-size: 100% 200%;
  animation: scanlineMove 6s linear infinite;
  pointer-events: none;
}

@keyframes scanlineMove {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

.hero__avatar-tag {
  position: absolute;
  bottom: 0.55rem;
  left: 0.6rem;
  background: rgba(9, 9, 11, 0.88);
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  font-size: 0.64rem;
  color: var(--accent);
}

.hero__avatar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hero__stat-box {
  border: 1px solid var(--border);
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.02);
}

.hero__stat-box .mono-label {
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: block;
  margin-bottom: 0.15rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  white-space: nowrap;
}

.hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__specs {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero__specs p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--fg);
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-strong);
  transition: border-color 0.3s, background 0.3s;
}

.scroll-indicator:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.scroll-indicator__arrow {
  color: var(--accent);
  display: inline-block;
  animation: arrowBounce 1.8s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   KINETIC MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.1rem 0;
  user-select: none;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.marquee__star {
  color: var(--accent);
  font-size: 0.8em;
}

/* ==========================================================================
   COMMON SECTION LAYOUT
   ========================================================================== */
.section {
  padding: 7.5rem 3vw;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: 0.6rem;
}

.section__desc {
  max-width: 64ch;
  color: var(--fg-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* ==========================================================================
   01 // DEVELOPED SYSTEMS (FILTERABLE LIST + FLOATING PREVIEW)
   ========================================================================== */
.works__controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.48rem 0.95rem;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: var(--bg-elevated);
  transition: all 0.25s var(--ease-out-expo);
}

.filter-tab:hover {
  border-color: var(--border-strong);
  color: var(--fg);
}

.filter-tab.is-active {
  background: var(--accent);
  color: #09090b;
  border-color: var(--accent);
  font-weight: 700;
}

.works-list {
  border-top: 1px solid var(--border);
}

.work-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.3rem 1.5vw;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding 0.45s var(--ease-out-expo), background-color 0.35s, opacity 0.3s;
}

.work-item.is-hidden {
  display: none;
}

.work-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), transparent 72%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.work-item:hover {
  padding-left: 2.8vw;
  padding-right: 2.8vw;
}

.work-item:hover::before {
  opacity: 1;
}

.work-item__left {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.work-item__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-top: 0.3rem;
  transition: color 0.3s;
}

.work-item:hover .work-item__num {
  color: var(--accent);
}

.work-item__badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.work-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.55rem;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
}

.work-badge--accent {
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.07);
}

.work-badge--muted {
  border-color: rgba(255, 59, 92, 0.4);
  color: #ff7a90;
}

.work-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  transition: color 0.3s;
}

.work-item:hover .work-item__title {
  color: var(--accent);
}

.work-item__summary {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.work-item__right {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.work-item__stack-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 340px;
}

.work-item__stack-pills span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--fg);
}

.work-item__arrow {
  font-size: 1.5rem;
  color: var(--fg-muted);
  transition: transform 0.35s var(--ease-out-expo), color 0.35s;
}

.work-item:hover .work-item__arrow {
  transform: translate(5px, -5px);
  color: var(--accent);
}

/* Floating Cursor-Following Work Preview (8 slides) */
.work-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 240px;
  pointer-events: none;
  z-index: 600;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d0d0f;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.78);
}

.work-preview.is-visible {
  opacity: 1;
}

.work-preview__inner {
  width: 100%;
  height: 800%;
  transition: transform 0.55s var(--ease-in-out-quart);
}

.work-preview__slide {
  width: 100%;
  height: 12.5%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.work-preview__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.88), transparent 65%);
}

.work-preview__tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  background: var(--accent);
  color: #09090b;
  font-weight: 700;
}

/* ==========================================================================
   02 // E-SPORTS MANAGEMENT & OPERATIONS
   ========================================================================== */
.esports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.esports-card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.35s, transform 0.35s var(--ease-out-expo);
}

.esports-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.esports-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.esports-card__live-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.esports-card__body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* FISTERIA Banner & Icon Visual */
.fisteria-banner-wrap {
  position: relative;
  height: 220px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #050507;
}

.fisteria-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out-expo);
}

.esports-card--fisteria:hover .fisteria-banner-img {
  transform: scale(1.05);
}

.fisteria-floating-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: rgba(9, 9, 12, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
}

.fisteria-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
}

.fisteria-floating-badge strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  display: block;
  color: var(--accent);
}

/* E-Sports Team Banner & Icon Visual */
.secret-banner-wrap {
  position: relative;
  height: 220px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0a0d18;
}

.secret-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out-expo);
}

.esports-card--secret:hover .secret-banner-img {
  transform: scale(1.05);
}

.secret-floating-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: rgba(9, 11, 18, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 193, 104, 0.45);
}

.secret-icon-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.secret-banner-wrap--redacted {
  background:
    radial-gradient(circle at 75% 40%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 10px,
      transparent 10px,
      transparent 20px
    ),
    #07070a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redacted-banner-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding-bottom: 1.5rem;
}

.redacted-banner-visual__code {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.65rem;
}

.redacted-banner-visual__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(236, 234, 226, 0.88);
}

.redacted-banner-visual__sub {
  font-size: 0.66rem;
  opacity: 0.65;
}

.secret-icon-redacted {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px dashed var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redacted-tag {
  font-family: var(--font-jp);
  font-size: 0.52em;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  padding: 0.15em 0.55em;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.secret-floating-badge strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  display: block;
  color: #f5d98e;
}

.esports-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 800;
}

.esports-card__text {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.esports-card__text strong,
.esports-card__text em {
  color: var(--fg);
}

.esports-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.esports-card__metrics strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: var(--fg);
}

/* ==========================================================================
   03 // INTERACTIVE SYSTEM SIMULATOR PLAYGROUND
   ========================================================================== */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lab-card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.35s;
}

.lab-card:hover {
  border-color: var(--border-strong);
}

.lab-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
}

.lab-mini-btn {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  transition: background 0.25s, color 0.25s;
}

.lab-mini-btn:hover {
  background: var(--accent);
  color: #09090b;
}

.lab-card__stage {
  height: 270px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), #0b0b0e 75%);
}

.lab-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lab-canvas--bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* SIM 01 HUD */
.replay-hud {
  position: absolute;
  inset: 0.75rem;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.replay-hud__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.replay-badge {
  padding: 0.18rem 0.5rem;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.replay-badge.is-alert {
  background: rgba(255, 59, 92, 0.22);
  border-color: var(--danger);
  color: #ff6b84;
}

.replay-hud__telemetry {
  background: rgba(9, 9, 11, 0.84);
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
  color: var(--fg);
  align-self: flex-start;
}

/* SIM 02 HUD */
.voice-hud {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: rgba(9, 9, 11, 0.82);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--fg-muted);
  pointer-events: none;
  text-align: center;
}

/* SIM 03: 3D Spatial Holo Card */
#tilt-stage {
  perspective: 900px;
}

.holo-artifact {
  width: 245px;
  height: 162px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(22, 22, 28, 0.92), rgba(12, 12, 16, 0.88));
  backdrop-filter: blur(8px);
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, border-color 0.3s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.holo-artifact:hover {
  border-color: var(--accent);
}

.holo-artifact__glare {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.32), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.holo-artifact:hover .holo-artifact__glare {
  opacity: 1;
}

.holo-artifact__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.holo-artifact__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: #000;
  object-fit: cover;
}

.holo-artifact__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.holo-artifact__teams {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.holo-artifact__team {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.holo-artifact__hobbies {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.holo-artifact__hobbies span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.holo-artifact__coords {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
}

.lab-card__footer {
  padding: 1.3rem 1.25rem;
  border-top: 1px solid var(--border);
}

.lab-card__footer h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.lab-card__footer p {
  font-size: 0.84rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ==========================================================================
   04 // PROFILE, SKILLS & CAREER TIMELINE
   ========================================================================== */
.about__layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4.5vw;
  align-items: start;
}

.about__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 2rem;
}

.profile-dossier {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.profile-dossier__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.profile-dossier__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  background: #050507;
}

.profile-dossier__name {
  font-family: var(--font-jp);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.15rem 0;
}

.profile-dossier__name span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  margin-left: 0.3rem;
}

.profile-dossier__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.profile-dossier__item {
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.profile-dossier__item:nth-child(2n) {
  border-right: none;
}

.profile-dossier__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.profile-dossier__item p {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--fg);
}

.about__portrait-box {
  background: #0b0b0e;
  overflow: hidden;
}

.about__canvas {
  width: 100%;
  height: 240px;
  display: block;
}

.about__portrait-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  border-top: 1px solid var(--border);
}

.about__lead {
  font-size: clamp(1.1rem, 1.45vw, 1.38rem);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.about__body {
  color: var(--fg-muted);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.specs-list {
  border-top: 1px solid var(--border);
  margin-bottom: 3rem;
}

.spec-row {
  display: flex;
  gap: 1.8rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-row__num {
  color: var(--accent);
  padding-top: 0.25rem;
}

.spec-row__content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.spec-row__content p {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Career & Part-time Chronology */
.timeline-block {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.6rem;
}

.timeline-block__header {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.timeline-block__header h4 {
  font-size: 1.2rem;
  margin-top: 0.3rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border-strong);
  position: relative;
}

.timeline-item--current {
  border-left-color: var(--accent);
}

.timeline-item__time {
  color: var(--accent);
  padding-top: 0.15rem;
}

.timeline-item__content h5 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  color: var(--fg);
}

.timeline-item__content p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER / CONTACT
   ========================================================================== */
.footer {
  padding: 6rem 3vw 3rem;
  background: #060608;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__cta-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.footer__giant-text {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.footer__sub-cta {
  margin-top: 1.6rem;
  color: var(--fg-muted);
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 1.85;
}

.magnetic-orb {
  width: 195px;
  height: 195px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
  flex-shrink: 0;
}

.magnetic-orb:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #09090b;
}

.magnetic-orb__text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  line-height: 1.65;
}

.magnetic-orb__text strong {
  font-size: 0.92rem;
}

.magnetic-orb__text small {
  font-size: 0.65rem;
  opacity: 0.75;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.footer__socials a:hover {
  color: var(--accent);
}

.footer__copy {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   PROJECT DETAIL & ARCHITECTURE MODAL DRAWER
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.35s var(--ease-out-expo);
}

.project-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(8px);
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-strong);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.project-modal.is-open .project-modal__panel {
  transform: translateX(0%);
}

.project-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.project-modal__close {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.project-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-modal__visual {
  margin: 1.4rem 0;
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  flex-shrink: 0;
}

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

.project-modal__title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.project-modal__title-row h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
}

#modal-desc {
  color: var(--fg-muted);
  line-height: 1.85;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  white-space: pre-line;
}

/* Architecture Deep-Dive Grid inside Modal */
.project-modal__arch {
  margin-bottom: 1.6rem;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.arch-box {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1rem;
}

.arch-box__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.3rem;
}

.arch-box__text {
  font-size: 0.82rem;
  color: var(--fg);
  line-height: 1.55;
}

.project-modal__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  gap: 1.2rem;
  flex-wrap: wrap;
}

#modal-tech {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg);
  line-height: 1.6;
  margin-top: 0.35rem;
  max-width: 420px;
}

.project-modal__btn {
  padding: 0.75rem 1.3rem;
  background: var(--accent);
  color: #09090b;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .header-telemetry {
    display: none;
  }
  .hero__main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__avatar-pod {
    max-width: 320px;
    width: 100%;
  }
  .esports-grid,
  .lab-grid,
  .about__layout,
  .footer__cta-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .esports-card,
  .about__left,
  .about__right,
  .profile-dossier,
  .timeline-block,
  .work-item__left {
    min-width: 0;
    max-width: 100%;
  }
  .works__controls {
    align-items: flex-start;
  }
  .work-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .work-item__right {
    width: 100%;
    justify-content: space-between;
  }
  .work-item__stack-pills {
    justify-content: flex-start;
  }
  .work-preview {
    display: none;
  }
  .arch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem 4vw;
  }
  .brand__role {
    display: none;
  }
  .site-nav .nav-link:not(.nav-link--cta) {
    display: none;
  }
  .hero {
    padding: 6.2rem 4vw 2.5rem;
  }
  .section {
    padding: 4.5rem 4vw;
  }
  .footer {
    padding: 4.5rem 4vw 2.5rem;
  }
  .status-pill {
    font-size: 0.58rem;
    padding: 0.32rem 0.65rem;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  }
  .section__title,
  .about__headline,
  .footer__giant-text {
    font-size: clamp(1.55rem, 6.8vw, 2.2rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .work-item__left {
    gap: 1rem;
    width: 100%;
  }
  .work-item__title {
    font-size: clamp(1.2rem, 5.4vw, 1.65rem);
    overflow-wrap: anywhere;
  }
  .esports-card__title {
    font-size: clamp(1.3rem, 5.6vw, 1.75rem);
    overflow-wrap: anywhere;
  }
  .redacted-banner-visual__title {
    font-size: clamp(1.25rem, 5.5vw, 1.8rem);
  }
  .esports-card__top .mono-label {
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }
  .esports-card__metrics,
  .profile-dossier__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-dossier__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .profile-dossier__item:last-child {
    border-bottom: none;
  }
  .about__portrait-meta {
    flex-direction: column;
    gap: 0.3rem;
  }
  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }
  .project-modal__panel {
    padding: 1.4rem;
  }
}
