:root {
  --bg: #020f12;
  --surface: #081b20;
  --line: #17383f;
  --text: #f2f7f8;
  --muted: #9db0b4;
  --cyan: #0dd4ca;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.shell {
  width: min(1240px, calc(100% - 40px));
  margin: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2, 15, 18, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar .shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #001416;
  background: var(--cyan);
}
.back {
  color: var(--muted);
  font-weight: 600;
}
.back:hover {
  color: var(--cyan);
}
.project-hero {
  padding: 92px 0 64px;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(13, 212, 202, 0.14),
      transparent 36%
    ),
    radial-gradient(circle at 10% 50%, rgba(79, 45, 211, 0.13), transparent 35%);
}
.project-hero .shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.kicker {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 800;
}
.project-hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 18px 0 24px;
}
.project-hero p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  max-width: 690px;
}
.hero-frame {
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.gallery {
  padding: 90px 0 120px;
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}
.gallery h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0;
}
.gallery-head p {
  color: var(--muted);
  max-width: 520px;
  font-size: 17px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}
.shot:hover {
  transform: translateY(-7px);
  border-color: var(--cyan);
}
.shot img {
  width: 100%;
  height: auto;
}
.shot figcaption {
  padding: 18px 22px;
  color: var(--muted);
}
.food {
  --cyan: #ff4b22;
}
.food .project-hero {
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(255, 75, 34, 0.18),
      transparent 36%
    ),
    radial-gradient(circle at 10% 50%, rgba(0, 153, 226, 0.13), transparent 35%);
}
.health-page {
  background: #f6fbff;
  color: #09235e;
}
.health-page .topbar {
  background: rgba(255, 255, 255, 0.9);
  border-color: #dcecf7;
}
.health-page .back {
  color: #49617f;
}
.health-page .project-hero {
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(0, 194, 232, 0.18),
      transparent 36%
    ),
    radial-gradient(circle at 10% 50%, rgba(99, 53, 235, 0.13), transparent 35%);
}
.health-page .project-hero p,
.health-page .gallery-head p,
.health-page .shot figcaption {
  color: #5e7090;
}
.health-page .shot {
  background: #fff;
  border-color: #dcecf7;
}
.health-page .kicker {
  color: #168bd7;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 850px) {
  .project-hero .shell {
    grid-template-columns: 1fr;
  }
  .hero-frame {
    max-width: 580px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-head {
    align-items: start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-frame {
    animation: none;
  }
  .shot {
    transition: none;
  }
}
