/* ============================================
   TOKENS
   ============================================ */
:root {
  --bg: #120F1D;
  --surface: #1D1830;
  --surface-2: #262040;
  --border: #33294F;

  --amber: #FFB43F;
  --coral: #FF5C7A;
  --mint: #5EEAD4;

  --text: #F2EEE6;
  --text-dim: #A79FC0;
  --text-faint: #6E6389;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1300px;
  --edge: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* subtle film-grain texture so the dark bg doesn't feel flat */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Full-screen ambient background: static dot-grid + slow-drifting glow orbs.
   Both use transform/steady opacity only — no flashing, no flicker. */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 238, 230, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 58vmax;
  height: 58vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  will-change: transform;
}

.bg-glow::before {
  background: var(--coral);
  top: -22%;
  left: -14%;
  animation: drift-a 46s ease-in-out infinite alternate;
}

.bg-glow::after {
  background: var(--mint);
  bottom: -26%;
  right: -16%;
  animation: drift-b 54s ease-in-out infinite alternate;
}

@keyframes drift-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.08); }
}

@keyframes drift-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-7vw, -5vh) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow::before,
  .bg-glow::after {
    animation: none;
  }
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Fills the wide margins on large monitors so the page doesn't read as an
   island floating in empty space. Hidden below 1600px — mobile/tablet
   layout is completely untouched. */
.side-rail {
  display: none;
}

@media (min-width: 1600px) {
  .side-rail {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 48px;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
  }

  .side-rail--left { left: 0; }
  .side-rail--right { right: 0; }

  .side-rail span {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    opacity: 0.55;
    white-space: nowrap;
  }

  .side-rail--left span {
    transform: rotate(180deg);
  }
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ============================================
   UTILITIES
   ============================================ */
.tag-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Section identity (e.g. "Creative Production") is now the dominant heading, styled
   like .project__title/.project__role but bigger — these are master sections, project
   cards are one level down. The old section-title tagline (e.g. "Shipped & live")
   demotes to a caption below it, tab-aligned with the heading text (not the index number). */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 56px;
}

.section-head__text {
  display: flex;
  flex-direction: column;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.section-eyebrow__index {
  flex-shrink: 0;
  margin-top: clamp(0.7rem, 1.8vw, 1.1rem);
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.section-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--mint);
  margin-bottom: 0;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.chip--outline {
  background: transparent;
  border: 1px solid var(--border);
  list-style: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  background: linear-gradient(100deg, var(--amber), var(--coral));
  color: #16101f;
  font-weight: 500;
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { box-shadow: 0 8px 24px -8px rgba(255, 92, 122, 0.5); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--edge);
  backdrop-filter: blur(10px);
  background: rgba(18, 15, 29, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.nav__links a {
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--mint); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--active span:nth-child(2) { opacity: 0; }
.nav__toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav links collapse into a toggled dropdown once there's no longer room
   to lay all eight links out in a row without crowding or wrapping. */
@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(18, 15, 29, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links a {
    padding: 16px var(--edge);
    border-top: 1px solid var(--border);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: clamp(80px, 14vw, 160px) var(--edge) clamp(60px, 10vw, 100px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__notice {
  color: var(--text-faint);
}

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

.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, var(--text) 30%, var(--amber) 55%, var(--coral) 80%, var(--text) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__name { animation: none; }
}

.hero__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--text-dim);
  margin-bottom: 20px;
}

.hero__sub {
  max-width: 560px;
  font-size: 1.02rem;
  color: var(--text-dim);
  margin-bottom: 56px;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--mint);
}

.hero__scroll svg {
  transition: transform 0.2s ease;
}

.hero__scroll:hover svg {
  transform: translateY(3px);
}

/* ============================================
   WORK / PROJECTS
   ============================================ */
.work {
  padding: 60px var(--edge) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}

.project.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project--wide-media {
  grid-template-columns: 1.5fr 1fr;
}

@media (prefers-reduced-motion: reduce) {
  .project {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Game Capture marks a real shift, business/marketing into creative & technical
   work, so it gets a stronger break than the other section dividers. */
#capture {
  padding-top: 130px;
  margin-top: 30px;
  border-top: 2px solid rgba(94, 234, 212, 0.45);
}

.project--reverse .project__media { order: 2; }
.project--reverse .project__info { order: 1; }

.project__media {
  position: relative;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.video-embed:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  border-color: rgba(94, 234, 212, 0.35);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 180, 63, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(255, 92, 122, 0.12), transparent 55%);
}

.video-embed__placeholder .tag-mono {
  color: var(--mint);
  font-size: 0.85rem;
}

.video-embed__hint {
  max-width: 240px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.video-embed__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed__play span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(18, 15, 29, 0.75);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--mint);
  transition: transform 0.18s ease;
}

.video-embed:hover .video-embed__play span { transform: scale(1.08); }

.project__eyebrow { margin-bottom: 8px; }

.project__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 4px;
}

.project__role {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.project__desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 18px;
  max-width: 46ch;
}

/* Stat writeup — replaces the old progress-bar HUD */
.stat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  list-style: none;
}

.stat-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.stat-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-list__value {
  flex: 1 1 55%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.stat-list__label {
  flex: 1 1 40%;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: right;
}

.stat-list__value[href] {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(242, 238, 230, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.stat-list__value[href]::after {
  content: "\2197";
  display: inline-block;
  margin-left: 4px;
  color: var(--mint);
  text-decoration: none;
}

.stat-list__value[href]:hover {
  color: var(--mint);
  text-decoration-color: var(--mint);
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   PILLAR SECTIONS (Business & Leadership / Social & Marketing)
   ============================================ */
.pillar {
  padding-top: 90px;
  margin-top: 20px;
  border-top: 2px solid rgba(94, 234, 212, 0.35);
}

/* Static (non-video) media in a project row — same frame/hover language as .video-embed */
.image-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.image-embed:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  border-color: rgba(94, 234, 212, 0.35);
}

.image-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gleam giveaway screenshot is a wide banner (~3.4:1) — give it a wider,
   shorter frame and let it sit fully in view instead of cropping it. */
.image-embed--wide {
  aspect-ratio: 1080 / 318;
}

.image-embed--wide img {
  object-fit: contain;
}

/* Tool-stack logo showcase — full-color marks, no captions, sized to read at a glance */
.logo-showcase {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #F5F3EF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease;
}

.logo-showcase:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

.logo-showcase img {
  max-height: 52px;
  max-width: 130px;
  object-fit: contain;
}

/* A tidy 2x2 square grid instead of a wrapped row — used where one mark (e.g. Unreal
   Engine's tall badge-shaped logo) needs to run bigger than its neighbors and still
   sit balanced and centered rather than throwing off a single-row layout. */
.logo-showcase--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  align-items: center;
  justify-items: center;
}

.logo-showcase img.logo-showcase__img--lg {
  max-height: 84px;
  max-width: 160px;
}

/* Round certification badges need more room to read (they carry their own text) and
   there are only ever a few of them, so this variant drops the wide aspect-ratio. */
.logo-showcase--badges {
  aspect-ratio: auto;
  padding: 28px;
  gap: 28px;
}

.logo-showcase--badges img {
  max-height: 110px;
  max-width: 110px;
}

/* Stack two media tiles in one project row, e.g. tool logos + brand-collab logos */
.project__media--stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-showcase--compact {
  aspect-ratio: auto;
  gap: 24px;
  padding: 22px;
}

.logo-showcase--compact img {
  max-height: 34px;
  max-width: 96px;
}

/* ============================================
   TOOLS & CERTIFICATES
   ============================================ */
.tools {
  padding: 90px var(--edge) 80px;
  max-width: var(--max-width);
  margin: 20px auto 0;
  border-top: 2px solid rgba(94, 234, 212, 0.35);
}

/* ============================================
   CLIENTS / PITCH SUPPORT
   ============================================ */
.clients {
  padding: 90px var(--edge) 80px;
  max-width: var(--max-width);
  margin: 20px auto 0;
  border-top: 2px solid rgba(94, 234, 212, 0.35);
}

.clients__body {
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
  }
}

.logo-card {
  flex: 0 0 auto;
  width: 160px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F3EF;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-card__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #1D1830;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.25s ease, transform 0.25s ease;
  text-align: center;
  padding: 0 12px;
}

.logo-card:hover .logo-card__text {
  filter: grayscale(0) opacity(1);
  transform: scale(1.03);
}

.logo-card__img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo-card:hover .logo-card__img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.03);
}

/* A few marks read heavier/lighter than their neighbors at the shared
   70%/60% cap — nudge individual logos so the row's visual weight is even. */
.logo-card__img[alt="Xbox logo"],
.logo-card__img[alt="PUBG Mobile logo"] {
  max-width: 46%;
  max-height: 46%;
}

.logo-card__img[alt="Tencent logo"],
.logo-card__img[alt="Trovo logo"],
.logo-card__img[alt="Singularity 6 logo"] {
  max-width: 62%;
}

.logo-card__img[alt="Shift Up logo"] {
  max-width: 78%;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 110px var(--edge) 100px;
  max-width: var(--max-width);
  margin: 20px auto 0;
  border-top: 2px solid rgba(94, 234, 212, 0.35);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__body {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 56ch;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

/* Hobby photo gallery — same moving-panel language as the project rows */
.about__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.hobby-tile {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1),
    border-color 0.3s ease, box-shadow 0.3s ease;
}

.hobby-tile.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hobby-tile:hover {
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.hobby-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}

.hobby-tile:hover img {
  transform: scale(1.05);
}

/* Portrait source crops in from the top by default — bias the crop upward
   so the head isn't cut off. */
#hobby-img-cafe {
  object-position: center 15%;
}


.hobby-tile figcaption {
  padding: 16px 18px 18px;
}

.hobby-tile__eyebrow {
  color: var(--mint);
  margin-bottom: 8px;
}

.hobby-tile__text {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .hobby-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 110px var(--edge) 140px;
  max-width: var(--max-width);
  margin: 20px auto 0;
  border-top: 2px solid rgba(94, 234, 212, 0.35);
}

.contact__sub {
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 36px;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--edge);
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
  .project,
  .project--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .project--reverse .project__media,
  .project--reverse .project__info {
    order: unset;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .stat-list li {
    flex-direction: column;
    gap: 4px;
  }
  .stat-list__label {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav__links { gap: 18px; }
}
