:root {
  --bg: #0b1c24;
  --bg-soft: #12303a;
  --foam: #d7f0ea;
  --teal: #7eb8ad;
  --teal-deep: #3d7a72;
  --ink: #f4faf8;
  --muted: rgba(244, 250, 248, 0.68);
  --pink: #e8b4b8;
  --line: rgba(215, 240, 234, 0.16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(126, 184, 173, 0.28), transparent 60%),
    radial-gradient(900px 600px at 10% 30%, rgba(232, 180, 184, 0.12), transparent 55%),
    linear-gradient(180deg, #07141a 0%, var(--bg) 35%, #0e2730 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.jellyfish-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.jelly {
  position: absolute;
  width: var(--size);
  opacity: 0.18;
  animation: drift var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  filter: blur(0.2px);
}

.jelly svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(12px, -28px, 0) rotate(6deg);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(7, 20, 26, 0.85), rgba(7, 20, 26, 0));
  backdrop-filter: blur(2px);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--foam);
}

.header-cta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  color: var(--foam);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.header-cta:hover {
  background: rgba(126, 184, 173, 0.15);
  border-color: var(--teal);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 26, 0.82) 0%, rgba(7, 20, 26, 0.35) 48%, rgba(7, 20, 26, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 20, 26, 0.25) 0%, rgba(7, 20, 26, 0.15) 40%, rgba(7, 20, 26, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.2rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  animation: brandIn 1.1s ease both;
}

.hero-lead {
  margin: 1rem 0 1.6rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
  animation: brandIn 1.1s ease 0.15s both;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: brandIn 1.1s ease 0.28s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--foam);
  color: #0b1c24;
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--foam);
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: rgba(126, 184, 173, 0.12);
}

.about,
.gallery,
.stream,
.connect {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 4vw, 3rem);
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about h2,
.section-head h2,
.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}

.about-tag {
  margin: 0.7rem 0 1.2rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.about p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 34rem;
}

.about-quote {
  color: var(--pink) !important;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
}

.about-meta a {
  color: var(--foam);
  border-bottom: 1px solid rgba(215, 240, 234, 0.35);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(126, 184, 173, 0.35), transparent 70%);
  z-index: -1;
}

.section-head {
  max-width: 1200px;
  margin: 0 auto 2.2rem;
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 7;
  aspect-ratio: 16 / 11;
}

.gallery-grid figure:nth-child(2) {
  grid-column: span 5;
  aspect-ratio: 4 / 5;
}

.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(4),
.gallery-grid figure:nth-child(5),
.gallery-grid figure:nth-child(6) {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.gallery-more {
  max-width: 1200px;
  margin: 1.6rem auto 0;
  text-align: right;
}

.gallery-more a {
  color: var(--teal);
  letter-spacing: 0.04em;
}

.stream {
  background: linear-gradient(180deg, transparent, rgba(18, 48, 58, 0.55), transparent);
}

.stream-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 0.75rem;
  align-items: stretch;
  min-height: min(68vh, 620px);
}

.stream-frame,
.stream-chat {
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
}

.stream-frame iframe,
.stream-chat iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.stream-note {
  max-width: 1200px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
}

.link-list li + li {
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0.2rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.link-list a:hover {
  color: var(--teal);
  padding-left: 0.5rem;
}

.link-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
}

.link-handle {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 3rem clamp(1.2rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .stream-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .stream-frame {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .stream-chat {
    min-height: 360px;
  }

  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(4),
  .gallery-grid figure:nth-child(5),
  .gallery-grid figure:nth-child(6) {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  .gallery-grid figure:nth-child(n) {
    grid-column: span 12;
  }

  .hero-copy {
    padding-bottom: 2rem;
  }

  .link-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .jelly,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
