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

/* ===== Base ===== */
:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-text-secondary: #6b6b6b;
  --color-divider: #d4d4d4;
  --color-accent: #7c6aef;
  --font-sans: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
  background: var(--color-bg);
}

/* Glow layers */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(120, 140, 255, 0.08) 0%, transparent 70%);
  filter: blur(60px);
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -8%;
  background: radial-gradient(circle, rgba(200, 160, 255, 0.07) 0%, transparent 70%);
  filter: blur(60px);
}

.hero__glow--3 {
  width: 350px;
  height: 350px;
  bottom: -5%;
  left: 30%;
  background: radial-gradient(circle, rgba(255, 180, 140, 0.06) 0%, transparent 70%);
  filter: blur(50px);
}

/* Flip board background text */
.hero__flip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.15em;
  z-index: 0;
  pointer-events: none;
  perspective: 1000px;
}

.hero__flip-char {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.06);
  line-height: 1;
  perspective: 800px;
}

.hero__flip-char span {
  display: block;
  animation: flipChar 7.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--i) * -1.8s);
  transform-origin: center center;
  backface-visibility: hidden;
}

@keyframes flipChar {
  0%, 10% {
    transform: rotateY(0deg);
  }
  16% {
    transform: rotateY(180deg);
  }
  22%, 100% {
    transform: rotateY(0deg);
  }
}

/* Bottom fade to white for seamless transition */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
}

/* Avatar */
.hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 0 80px rgba(120, 140, 255, 0.08);
  opacity: 0;
  transform: scale(0.9) translateY(12px);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hero__avatar:hover {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 8px 40px rgba(0, 0, 0, 0.08),
    0 0 100px rgba(120, 140, 255, 0.12);
  transform: scale(1.04) translateY(-2px);
}

/* Name */
.hero__name {
  margin-top: 1.8rem;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(16px);
}

/* Alias */
.hero__alias {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #999;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
}

/* Divider — expand from center */
.hero__divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-divider), transparent);
  margin: 1.8rem 0;
  opacity: 0;
}

.hero__divider.animate-in {
  animation: expandLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes expandLine {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 56px;
    opacity: 1;
  }
}

/* Statements */
.hero__statements {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 420px;
}

.hero__statement {
  opacity: 0;
  transform: translateY(14px);
  text-align: center;
  line-height: 1.8;
}

/* Listen — five lines, compact vertical flow */
.hero__statement--listen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.82rem;
  color: #aaa;
  letter-spacing: 0.06em;
}

/* Four feelings — inline with dots */
.hero__statement--feel {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.08em;
  font-weight: 400;
}

.hero__dot {
  margin: 0 0.35em;
  color: var(--color-divider);
}

/* Core — the punchline, slightly larger */
.hero__statement--core {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.9;
}

/* Question — italic for emphasis */
.hero__statement--question {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* Disciplines — inline with dots */
.hero__statement--disciplines {
  font-size: 0.82rem;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-divider);
  opacity: 0;
  z-index: 2;
  transition: color 0.3s ease;
}

.hero__scroll:hover {
  color: var(--color-text-secondary);
}

.hero__scroll-arrow {
  width: 28px;
  height: 28px;
  animation: scrollFloat 2.5s ease-in-out infinite;
}

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

/* ===== Animation ===== */
.animate-in {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__avatar.animate-in {
  animation: fadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Project Section ===== */
.project {
  padding: 6rem 2rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.project__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* --- Header --- */
.project__header {
  text-align: center;
  margin-bottom: 4rem;
}

.project__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.project__title {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.project__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* --- Overview --- */
.project__overview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #eee;
}

.project__overview-text h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.project__overview-text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #444;
  max-width: 520px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project__tags span {
  font-size: 0.72rem;
  padding: 0.25em 0.8em;
  border: 1px solid var(--color-divider);
  border-radius: 100px;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

.project__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project__stat-num {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.project__stat-label {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  margin-top: 0.3rem;
  letter-spacing: 0.06em;
}

/* --- Section titles --- */
.project__section {
  margin-bottom: 4rem;
}

.project__section-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 1.8rem;
  font-weight: 500;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

/* --- Design Goals --- */
.project__goals {
  display: grid;
  gap: 1.5rem;
}

.project__goal {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.project__goal-num {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  min-width: 1.5rem;
  padding-top: 0.15rem;
  letter-spacing: 0.04em;
}

.project__goal h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.project__goal p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
}

/* --- Systems --- */
.project__systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project__system {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.project__system:hover {
  border-color: var(--color-divider);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.project__system-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  color: var(--color-text-secondary);
}

.project__system-icon svg {
  width: 100%;
  height: 100%;
}

.project__system h4 {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.project__system p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
}

/* --- Numerical Design --- */
.project__num-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project__num-card {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 12px;
}

.project__num-card:last-child {
  grid-column: 1 / -1;
}

.project__num-card h4 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.project__num-formula {
  font-size: 0.82rem;
  font-family: "SF Mono", "Fira Code", monospace;
  color: var(--color-text-secondary);
  background: #f5f5f5;
  padding: 0.5em 0.8em;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
}

/* Bar chart */
.project__num-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  padding-top: 1rem;
}

.project__num-bar {
  flex: 1;
  height: calc(var(--h) * 1%);
  background: var(--color-text);
  border-radius: 4px 4px 0 0;
  min-height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.3rem;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.project__num-bar span {
  font-size: 0.65rem;
  color: #fff;
  font-weight: 500;
}

.project__num-bar i {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--color-text-secondary);
  position: absolute;
  bottom: -1.4rem;
}

/* Rarity */
.project__rarity-list {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.project__rarity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.project__rarity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
}

.project__rarity-weight {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--color-text-secondary);
}

.project__rarity-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  gap: 2px;
}

.project__rarity-bar > div {
  width: var(--w);
  background: var(--c);
  border-radius: 3px;
}

/* Table */
.project__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.project__table th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid #eee;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.project__table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid #f5f5f5;
  color: #444;
}

.project__table tr:last-child td {
  border-bottom: none;
}

/* --- Results --- */
.project__results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.project__result {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project__result-num {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.project__result > span:last-child {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.4rem;
}

/* --- Retrospective --- */
.project__retro {
  display: grid;
  gap: 1.2rem;
}

.project__retro-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.project__retro-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.15rem;
  position: relative;
}

.project__retro-icon--good {
  background: #e8f5e9;
}

.project__retro-icon--good::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 5px;
  border-left: 2px solid #2e7d32;
  border-bottom: 2px solid #2e7d32;
  transform: translate(-50%, -60%) rotate(-45deg);
}

.project__retro-icon--grow {
  background: #fff3e0;
}

.project__retro-icon--grow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #e65100;
  border-right: 2px solid #e65100;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.project__retro-item h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.project__retro-item p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
}

/* --- Demo --- */
.project__demo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
}

.project__demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-text);
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.project__demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project__demo-hint {
  width: 100%;
  font-size: 0.72rem;
  color: #999;
  margin-top: 0.8rem;
  letter-spacing: 0.04em;
}

/* --- Documents --- */
.project__docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project__doc {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 12px;
}

.project__doc-icon {
  width: 28px;
  height: 28px;
  color: var(--color-text-secondary);
  margin-bottom: 0.8rem;
}

.project__doc-icon svg {
  width: 100%;
  height: 100%;
}

.project__doc h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.project__doc p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
}

/* --- Screenshots --- */
.project__screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project__screenshot:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.project__screenshot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project__screenshot img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project__screenshot img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project__screenshot span {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-align: center;
  letter-spacing: 0.04em;
}

.project__screenshot {
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Asset Gallery Modal ===== */
.asset-gallery {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.asset-gallery--open {
  opacity: 1;
  pointer-events: auto;
}

.asset-gallery__panel {
  width: 92vw;
  max-width: 1100px;
  max-height: 88vh;
  background: var(--color-bg, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.asset-gallery--open .asset-gallery__panel {
  transform: scale(1) translateY(0);
}

.asset-gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.asset-gallery__header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text, #fff);
  margin: 0;
}

.asset-gallery__close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text, #fff);
  font-size: 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.asset-gallery__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.asset-gallery__body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.asset-gallery__group {
  margin-bottom: 2rem;
}

.asset-gallery__group:last-child {
  margin-bottom: 0;
}

.asset-gallery__group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent, #7c6aef);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.asset-gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.asset-gallery__item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.asset-gallery__item--wide {
  grid-column: 1 / -1;
  max-width: 400px;
}

.asset-gallery__item img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  image-rendering: pixelated;
  border-radius: 4px;
}

.asset-gallery__item--wide img {
  max-height: 160px;
}

.asset-gallery__item span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.3;
}

/* Outline button variant */
.project__demo-btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-accent, #7c6aef);
  color: var(--color-accent, #7c6aef);
}

.project__demo-btn--outline:hover {
  background: var(--color-accent, #7c6aef);
  color: #fff;
}

/* --- Doc download link --- */
.project__doc-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.4rem 0.9rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-accent, #7c6aef);
  background: transparent;
  border: 1px solid rgba(124, 106, 239, 0.3);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.project__doc-preview:hover {
  background: rgba(124, 106, 239, 0.1);
  border-color: var(--color-accent, #7c6aef);
}
.skills {
  padding: 6rem 2rem;
  background: var(--color-bg);
  border-top: 1px solid #eee;
}

.skills__inner {
  max-width: 860px;
  margin: 0 auto;
}

.skills__header {
  text-align: center;
  margin-bottom: 3rem;
}

.skills__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.skills__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.skills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.skills__card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.skills__card:hover {
  border-color: var(--color-divider);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.skills__card--wide {
  grid-column: 1 / -1;
}

.skills__card-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.skills__card-icon {
  width: 28px;
  height: 28px;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.skills__card-icon svg {
  width: 100%;
  height: 100%;
}

.skills__card-head h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* --- Skills list --- */
.skills__list {
  display: grid;
  gap: 1rem;
}

.skills__item {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #f5f5f5;
}

.skills__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skills__item h4 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.skills__item p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.6;
}

/* --- Tools groups --- */
.skills__groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skills__group h4 {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skills__tags span {
  font-size: 0.72rem;
  padding: 0.2em 0.65em;
  border: 1px solid var(--color-divider);
  border-radius: 100px;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===== Experience Section ===== */
.experience {
  padding: 6rem 2rem;
  background: var(--color-bg);
  border-top: 1px solid #eee;
}

.experience__inner {
  max-width: 860px;
  margin: 0 auto;
}

.experience__header {
  text-align: center;
  margin-bottom: 3rem;
}

.experience__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.experience__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.experience__card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2.5rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.experience__card:hover {
  border-color: var(--color-divider);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.experience__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.experience__company {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.experience__role {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.experience__period {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 0.2rem;
}

.experience__project {
  margin-bottom: 2rem;
}

.experience__project-name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.experience__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.experience__tags span {
  font-size: 0.72rem;
  padding: 0.25em 0.8em;
  border: 1px solid var(--color-divider);
  border-radius: 100px;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

.experience__project-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.85;
}

.experience__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.experience__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.experience__detail-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  margin-top: 0.1rem;
}

.experience__detail-icon svg {
  width: 100%;
  height: 100%;
}

.experience__detail h4 {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.experience__detail p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
}

/* ===== Education Section ===== */
.education {
  padding: 6rem 2rem;
  background: var(--color-bg);
  border-top: 1px solid #eee;
}

.education__inner {
  max-width: 860px;
  margin: 0 auto;
}

.education__header {
  text-align: center;
  margin-bottom: 3rem;
}

.education__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.education__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.education__card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2.5rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.education__card:hover {
  border-color: var(--color-divider);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.education__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.2rem;
}

.education__school {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.education__major {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.education__period {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 0.2rem;
}

.education__detail p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.85;
}

/* ===== Contact Section ===== */
.contact {
  padding: 6rem 2rem 4rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.contact__inner {
  max-width: 860px;
  margin: 0 auto;
}

.contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.contact__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact__item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(124, 106, 239, 0.08);
  transform: translateY(-2px);
}

.contact__icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

.contact__label-text {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Art Section ===== */
.art {
  padding: 6rem 2rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.art__inner {
  max-width: 860px;
  margin: 0 auto;
}

.art__header {
  text-align: center;
  margin-bottom: 3rem;
}

.art__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.art__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.art__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.art__item {
  cursor: pointer;
}

.art__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.art__item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.5s ease, border-color 0.3s ease;
}

.nav--visible {
  opacity: 1;
}

.nav--scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

/* ===== Featured Section ===== */
.featured {
  padding: 6rem 2rem;
  background: #fff;
}

.featured__inner {
  max-width: 860px;
  margin: 0 auto;
}

.featured__header {
  text-align: center;
  margin-bottom: 3rem;
}

.featured__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.featured__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.featured__card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.featured__card-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured__card-icon {
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

.featured__card-info {
  padding: 1.2rem 1.5rem;
}

.featured__card-info h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: 0.04em;
}

.featured__card-info p {
  font-size: 0.78rem;
  color: #999;
  letter-spacing: 0.02em;
}

/* ===== Gaming History Timeline ===== */
.timeline {
  padding: 6rem 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.timeline__inner {
  max-width: 100%;
  padding: 0 3rem;
  margin: 0 auto;
}

.timeline__header {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline__label {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-divider);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.timeline__title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.timeline__legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.timeline__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  opacity: 0.7;
}

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

.timeline__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.timeline__legend-dot--sp {
  background: #5b8def;
}

.timeline__legend-dot--mp {
  background: #e8a85e;
}

.timeline__grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(60px, 1fr));
  grid-template-rows: auto auto auto;
  gap: 0 6px;
}

/* SP row: above timeline */
.timeline__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(16, minmax(60px, 1fr));
  gap: 0 6px;
  padding: 0 0 0.8rem;
  align-items: start;
}

.timeline__row--sp {
  grid-row: 1;
  align-items: end;
}

.timeline__row--mp {
  grid-row: 3;
  padding: 0.6rem 0 0;
  min-height: 100px;
}

/* Track: line + dots + labels */
.timeline__track {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 44px;
}

.timeline__line {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-divider);
}

.timeline__dots {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--color-text);
  background: #fff;
  position: absolute;
  top: 0;
  left: calc((var(--col) - 1) * 6.25% + 3.125% - 8px);
}

.timeline__years {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
}

.timeline__year {
  position: absolute;
  top: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  transform: translateX(-50%);
  user-select: none;
  left: calc((var(--col) - 1) * 6.25% + 3.125%);
}

/* Cards */
.timeline__card {
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  overflow: hidden;
  align-self: start;
}

.timeline__card:hover {
  border-color: var(--color-divider);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline__row--sp .timeline__card {
  border-bottom: 2px solid #5b8def;
}

.timeline__row--mp .timeline__card {
  border-top: 2px solid #e8a85e;
}

.timeline__row--sp .timeline__year-cell {
  border-bottom: 2px solid #5b8def;
  padding-bottom: 4px;
}

.timeline__row--mp .timeline__year-cell {
  border-top: 2px solid #e8a85e;
  padding-top: 4px;
}

.timeline__card--span-13 {
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.06), rgba(91, 141, 239, 0.02));
}

.timeline__row--mp .timeline__card--span-13 {
  background: linear-gradient(135deg, rgba(232, 168, 94, 0.06), rgba(232, 168, 94, 0.02));
}

.timeline__card-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact game tags */
.timeline__year-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: var(--col);
  grid-row: 1;
  box-sizing: border-box;
  padding: 0 2px;
}

.game-tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}

.timeline__card-span {
  display: block;
  font-size: 0.65rem;
  color: #999;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* ===== Timeline Scroll ===== */
.timeline__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 2rem 2rem;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  max-width: 860px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.footer__name {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
}

.footer__alias {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  text-align: center;
}

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

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.82rem;
  text-decoration: none;
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .featured__grid {
    grid-template-columns: 1fr;
  }

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

  .skills__card--wide {
    grid-column: auto;
  }

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

  .nav__links {
    gap: 1.2rem;
  }

  .project__overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .project__num-tables {
    grid-template-columns: 1fr;
  }

  .project__num-card:last-child {
    grid-column: auto;
  }

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

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

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

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

  .project__title {
    font-size: 1.8rem;
  }

  .experience__top {
    flex-direction: column;
    gap: 0.5rem;
  }

  .experience__card {
    padding: 1.8rem;
  }

  .timeline {
    padding: 4rem 1.5rem;
  }

  .timeline__grid {
    grid-template-columns: repeat(16, minmax(52px, 1fr));
    min-width: 880px;
  }

  .timeline__card-name {
    font-size: 0.72rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__avatar {
    width: 100px;
    height: 100px;
  }

  .hero__name {
    font-size: 2rem;
  }

  .hero__glow--1 { width: 280px; height: 280px; }
  .hero__glow--2 { width: 220px; height: 220px; }
  .hero__glow--3 { width: 200px; height: 200px; }

  .project {
    padding: 4rem 1.5rem;
  }

  .project__results {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .project__result-num {
    font-size: 1.5rem;
  }

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

  .timeline {
    padding: 3rem 1rem;
  }

  .timeline__grid {
    grid-template-columns: repeat(16, minmax(46px, 1fr));
    min-width: 800px;
  }

  .timeline__legend {
    gap: 1.5rem;
    font-size: 0.78rem;
  }

  .timeline__card {
    padding: 0.3rem 0.4rem;
  }

  .timeline__card-name {
    font-size: 0.68rem;
  }

  .footer {
    padding: 2rem 1.5rem 1.5rem;
  }

  .footer__links {
    gap: 1rem;
  }
}
