:root {
  --bg: #070a12;
  --bg-soft: #101729;
  --panel: #0f1726;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f7fa;
  --muted: #c6cfdb;
  --cyan: #21d4ff;
  --red: #ee103e;
  --red-strong: #c80e34;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: linear-gradient(165deg, var(--bg) 0%, #0b1220 45%, var(--bg-soft) 100%);
}

.hero-shell {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 12%, rgba(35, 56, 92, 0.65), rgba(9, 14, 25, 0.2) 34%, transparent 58%),
    radial-gradient(circle at 80% 20%, rgba(190, 22, 61, 0.26), transparent 40%),
    radial-gradient(circle at 20% 26%, rgba(33, 212, 255, 0.18), transparent 36%),
    linear-gradient(165deg, #060a12 0%, #0a1120 46%, #0f1b2b 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(14, 20, 35, 0.2), rgba(6, 9, 16, 0.92) 76%),
    linear-gradient(180deg, rgba(3, 5, 9, 0.45), rgba(3, 5, 9, 0.8));
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  opacity: 0.07;
}

.top-nav,
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.top-nav {
  padding-top: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.92rem, 1.4vw, 1.22rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.05;
  max-width: 26ch;
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.72rem;
  border-radius: 0.5rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .nav-cta {
  background: linear-gradient(120deg, var(--red-strong), var(--red));
}

.instagram-float {
  margin-top: 1.3rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 212, 255, 0.6);
  background: rgba(9, 19, 33, 0.62);
  color: #9defff;
  display: inline-grid;
  place-items: center;
  transition: transform 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.instagram-float:hover {
  transform: translateY(-2px);
  background: rgba(14, 31, 52, 0.8);
  box-shadow: 0 10px 22px rgba(10, 16, 28, 0.45);
}

.instagram-float svg {
  width: 1.12rem;
  height: 1.12rem;
}

.instagram-float rect,
.instagram-float circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-float .dot {
  fill: currentColor;
  stroke: none;
}

.hero-content {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  text-align: center;
  align-content: center;
  padding: 2rem 0 4rem;
}

.hero-logo {
  width: min(150px, 26vw);
  height: auto;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.42));
  opacity: 0.94;
}

.eyebrow,
.eyebrow-sub {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.63rem;
  color: #ffe3d9;
}

.eyebrow-sub {
  font-size: clamp(0.82rem, 1.3vw, 0.94rem);
  color: var(--cyan);
  margin-top: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 500;
  max-width: 12ch;
}

h1 span {
  color: var(--red);
}

.hero-content p {
  max-width: 34ch;
}

.hero-content > p:last-of-type {
  margin: 1rem 0 0;
  font-size: clamp(0.96rem, 1.45vw, 1.08rem);
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 1.28rem;
  border-radius: 0.6rem;
  font-size: 1.02rem;
  font-family: "Montserrat", sans-serif;
  transition: transform 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red-strong), var(--red));
  box-shadow: 0 12px 25px rgba(238, 16, 62, 0.36);
}

.btn-outline {
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.52);
  background: rgba(9, 13, 24, 0.35);
}

main {
  width: min(1120px, 92vw);
  margin: 1.6rem auto 2.4rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), var(--panel);
  padding: 1.25rem;
  margin-bottom: 1.1rem;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about p,
.rsvp p {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.section-kicker {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-date {
  margin: 1rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd69c;
}

.countdown {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  width: min(100%, 42rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.countdown-unit {
  padding: 0.8rem 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.countdown-value,
.countdown-name {
  display: block;
}

.countdown-value {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
  color: #fff4ea;
}

.countdown-name {
  margin-top: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rsvp p {
  margin-bottom: 1rem;
}

.rsvp .btn {
  display: inline-block;
  margin-top: 0.25rem;
}

.date-line {
  font-weight: 700;
  color: #ffe6d9;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: end;
}

.section-intro {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

.poster-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.animation-section {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.animation-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.animation-heading h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
}

.animation-intro {
  margin: 0;
  max-width: 35ch;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
  text-align: right;
}

.animation-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.animation-card {
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(15, 23, 38, 0.72);
}

.animation-card p {
  margin: 0;
}

.animation-card h4 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.animation-card p {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.poster {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.25fr);
  gap: 0.9rem;
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #141d2f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 0.7rem;
  min-height: 100%;
}

.poster img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.poster h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.poster-credit,
.poster-logline {
  margin: 0;
}

.poster-credit {
  margin-top: 0.5rem;
  color: #d7deea;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.poster-logline {
  margin-top: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
  max-width: 34ch;
}

.timeline {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.17);
}

.row:last-child {
  border-bottom: 0;
}

.row span {
  color: #ffd69c;
  font-weight: 700;
}

.row p {
  margin: 0;
}

.filmmaker-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.filmmaker {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.7rem;
  background: #131c2c;
  padding: 0.75rem 0.8rem;
}

.filmmaker h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.filmmaker p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .section-intro,
  .animation-intro {
    text-align: left;
  }

  .animation-heading {
    flex-direction: column;
    align-items: start;
  }

  .animation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-shell {
    min-height: auto;
  }

  .top-nav {
    width: min(94vw, 34rem);
    padding-top: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .brand {
    max-width: none;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .nav-links a {
    text-align: center;
    padding: 0.65rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links .nav-cta {
    grid-column: 1 / -1;
  }

  .hero-content {
    min-height: auto;
    width: min(94vw, 34rem);
    padding: 2rem 0 3rem;
  }

  .hero-logo {
    width: min(108px, 28vw);
    margin-bottom: 0.55rem;
  }

  .eyebrow-sub {
    margin-top: 0.65rem;
  }

  .hero-date {
    margin-top: 0.8rem;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  h1 {
    margin-top: 0.7rem;
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    max-width: 10ch;
  }

  .hero-content > p:last-of-type {
    max-width: 30ch;
    margin-top: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1.2rem;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .countdown {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.9rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .countdown-unit {
    padding: 0.75rem 0.45rem;
  }

  .countdown-value {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

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

  main {
    width: min(94vw, 34rem);
    margin: 1rem auto 2rem;
  }

  .panel {
    padding: 1rem;
    border-radius: 0.9rem;
  }

  .section-heading {
    gap: 0.8rem;
  }

  .section-intro {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .animation-grid {
    gap: 0.65rem;
  }

  .poster {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.85rem;
    align-items: start;
  }

  .poster img {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
    align-self: start;
  }

  .poster-copy {
    gap: 0;
  }

  .poster h3 {
    font-size: 1.9rem;
  }

  .poster-logline {
    max-width: none;
    font-size: 0.9rem;
  }

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

  .instagram-float {
    margin-top: 1rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .top-nav,
  .hero-content,
  main {
    width: min(92vw, 26rem);
  }

  .brand {
    font-size: 0.96rem;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 1.7rem;
  }

  .hero-logo {
    width: 96px;
  }

  h1 {
    font-size: clamp(1.85rem, 11vw, 2.6rem);
    max-width: 9.5ch;
  }

  .eyebrow,
  .hero-date {
    letter-spacing: 0.11em;
  }

  .countdown {
    padding: 0.8rem;
  }

  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-unit {
    padding: 0.7rem 0.4rem;
  }

  .poster-grid,
  .animation-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    font-size: 0.96rem;
  }

  .poster {
    padding: 0.75rem;
  }

  .poster img {
    height: auto;
    min-height: 0;
  }

  .poster h3 {
    font-size: 1.7rem;
  }

  .poster-credit {
    font-size: 0.75rem;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }
}
