:root {
  --ink: #111418;
  --ink-2: #191d22;
  --paper: #fff7fb;
  --muted: #a9a0a6;
  --line: rgba(255, 247, 251, 0.14);
  --rose: #ed78c5;
  --rose-deep: #cb5aa5;
  --rose-soft: #f5a5d8;
  --white: #fff9fd;
  --radius-xl: 34px;
  --shadow-rose: 0 28px 80px -36px rgba(237, 120, 197, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 78% 6%, rgba(237, 120, 197, 0.22), transparent 34rem),
    radial-gradient(circle at 9% 35%, rgba(245, 165, 216, 0.16), transparent 28rem),
    linear-gradient(135deg, #101318 0%, #15171c 48%, #0f1216 100%);
  color: var(--white);
  font-family: "Outfit", "Space Grotesk", sans-serif;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 42px 42px;
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 20, 24, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mini-triangle,
.corner-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border: 2px solid var(--white);
  background: rgba(237, 120, 197, 0.52);
}

.nav-links a {
  color: rgba(255, 249, 253, 0.7);
  font-size: 0.93rem;
  transition: color 260ms ease, transform 260ms ease;
}

.nav-links a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: 72px 0 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--rose-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

h2 {
  font-family: "Space Grotesk", "Outfit", sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 58ch;
  color: rgba(255, 249, 253, 0.72);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 249, 253, 0.16);
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), border-color 280ms ease;
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.button.primary {
  color: #171017;
  border-color: transparent;
  background: var(--rose);
  box-shadow: var(--shadow-rose), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 249, 253, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.orbit-card {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  border-radius: 42px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 249, 253, 0.1), rgba(255, 249, 253, 0.03)),
    radial-gradient(circle at 50% 12%, rgba(237, 120, 197, 0.38), transparent 58%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-rose);
  overflow: hidden;
}

.orbit-card::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 249, 253, 0.26);
  animation: orbit 18s linear infinite;
}

.big-badge {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 50px -25px rgba(0, 0, 0, 0.7);
  animation: float 5.6s ease-in-out infinite;
}

.big-badge svg {
  width: 90%;
  height: 90%;
}

.triangle-line {
  fill: transparent;
  stroke: var(--white);
  stroke-width: 9;
  stroke-linejoin: round;
}

.logo-word {
  fill: rgba(255, 249, 253, 0.9);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.logo-mi {
  fill: var(--white);
  font-size: 92px;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 249, 253, 0.16);
  border-radius: 999px;
  background: rgba(17, 20, 24, 0.62);
  color: rgba(255, 249, 253, 0.82);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.floating-note.top {
  top: 15%;
  right: 9%;
}

.floating-note.bottom {
  left: 8%;
  bottom: 18%;
}

.manifesto {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 8vw, 6rem);
}

.manifesto-copy {
  color: rgba(255, 249, 253, 0.72);
  font-size: 1.14rem;
  line-height: 1.75;
}

.gallery-wrap {
  padding: 90px 0;
  background: var(--paper);
  color: var(--ink);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.gallery-heading .eyebrow {
  color: var(--rose-deep);
}

.post-grid {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.post-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--rose);
}

.post-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
}

.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(130deg, transparent, rgba(255, 255, 255, 0.12));
  opacity: 0;
  transition: opacity 320ms ease;
}

.post-card:hover::after {
  opacity: 1;
}

.post-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.signals {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(2rem, 7vw, 5rem);
}

.signal-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.signal-item {
  padding: 28px;
  background: rgba(255, 249, 253, 0.045);
  transition: background 260ms ease, transform 260ms ease;
}

.signal-item:hover {
  background: rgba(255, 249, 253, 0.08);
  transform: translateX(4px);
}

.signal-item span {
  display: block;
  margin-bottom: 22px;
  color: var(--rose-soft);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.signal-item p {
  margin-bottom: 0;
  color: rgba(255, 249, 253, 0.66);
  line-height: 1.6;
}

.registry {
  padding: 20px 0 110px;
}

.registry-panel {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(2rem, 7vw, 5rem);
  padding: clamp(26px, 5vw, 58px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 249, 253, 0.1), rgba(255, 249, 253, 0.035)),
    radial-gradient(circle at 90% 0%, rgba(237, 120, 197, 0.22), transparent 26rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.registry-form {
  display: grid;
  gap: 10px;
}

.registry-form label {
  margin-top: 6px;
  font-weight: 800;
}

.registry-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 249, 253, 0.14);
  background: rgba(17, 20, 24, 0.54);
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.registry-form input:focus {
  border-color: rgba(237, 120, 197, 0.8);
  box-shadow: 0 0 0 4px rgba(237, 120, 197, 0.12);
}

.registry-form small {
  min-height: 18px;
  color: var(--muted);
}

.registry-form .field-error {
  border-color: #f0a0a0;
}

.form-button {
  margin-top: 12px;
  border: 0;
}

.button-loader {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid rgba(17, 16, 23, 0.28);
  border-top-color: rgba(17, 16, 23, 0.85);
  display: none;
  animation: spin 720ms linear infinite;
}

.registry-form.is-loading .button-loader {
  display: inline-block;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 249, 253, 0.52);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 110ms);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .site-header,
  .section-shell,
  .post-grid,
  .site-footer {
    width: min(100% - 28px, 680px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .manifesto-grid,
  .gallery-heading,
  .signals,
  .registry-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
