:root {
  --ink: #080808;
  --paper: #faf8f2;
  --soft: #efebe2;
  --muted: #706b62;
  --silver: #d9d7ce;
  --chrome: #f7f7f2;
  --line: rgba(8, 8, 8, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(250, 248, 242, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "WindSong", cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-decoration: none;
  white-space: nowrap;
}

.brand span,
h1 span {
  font-family: "Cormorant Garamond", serif;
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 8vw, 110px) clamp(18px, 5vw, 76px) clamp(30px, 5vw, 70px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #050505 0%, #141414 46%, #2a2926 100%);
  color: var(--chrome);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18vh;
  background: linear-gradient(transparent, rgba(250, 248, 242, 0.08));
  pointer-events: none;
}

.glitter-field {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(217,215,206,0.8) 0 1px, transparent 1.5px);
  background-position: 0 0, 34px 52px;
  background-size: 92px 92px, 118px 118px;
  mask-image: linear-gradient(110deg, black, transparent 70%);
}

.hero-copy,
.invite-preview {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.label {
  margin: 0 0 14px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-family: "WindSong", cursive;
  font-size: clamp(4.7rem, 13vw, 12rem);
  font-weight: 500;
  line-height: 0.84;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.95;
}

h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.hero-line {
  max-width: 650px;
  color: rgba(247, 247, 242, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.12;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

.button.primary {
  border-color: var(--chrome);
  background: var(--chrome);
  color: var(--ink);
}

.button.ghost {
  color: var(--chrome);
}

.button.dark {
  background: var(--ink);
  color: var(--chrome);
}

.button.wide {
  width: 100%;
}

.invite-preview {
  justify-self: center;
  width: min(430px, 100%);
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: rotate(1.8deg);
}

.invite-preview img {
  aspect-ratio: 0.68;
  object-fit: cover;
  object-position: center top;
}

.countdown-band {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(18px, 5vw, 76px);
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
}

.countdown-band strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
}

.countdown-band p {
  align-self: center;
  margin: 0;
  font-weight: 800;
}

.intro-section,
.split-section,
.location-section,
.dresscode-section,
.answer-section,
.invitation-section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 76px);
}

.intro-section {
  max-width: 1080px;
}

.intro-section p,
.section-copy p,
.dresscode-section p,
.answer-copy p,
.invitation-section p,
.location-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.split-section,
.dresscode-section,
.answer-section,
.invitation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline time {
  font-size: 1.45rem;
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

.location-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: var(--chrome);
}

.location-section p {
  color: rgba(247, 247, 242, 0.72);
}

.doodle-card {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.38)),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.doodle-card::before,
.doodle-card::after {
  content: "";
  position: absolute;
  border: 4px solid var(--ink);
}

.doodle-card::before {
  right: 12%;
  bottom: 16%;
  width: 160px;
  height: 110px;
  border-radius: 80px 80px 16px 16px;
  transform: rotate(-8deg);
}

.doodle-card::after {
  left: 14%;
  top: 18%;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, var(--ink) 48% 51%, transparent 52%),
    linear-gradient(0deg, transparent 47%, var(--ink) 48% 51%, transparent 52%);
}

.sparkle {
  position: absolute;
  right: 26%;
  top: 20%;
  font-size: 4rem;
}

.sparkle.small {
  right: auto;
  top: auto;
  left: 26%;
  bottom: 18%;
  font-size: 2.3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(70px, 8vw, 112px);
}

.feature-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
}

.feature-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--muted);
  font-weight: 900;
}

.answer-section {
  background: linear-gradient(135deg, #111 0%, #080808 100%);
  color: var(--chrome);
}

.answer-copy p {
  color: rgba(247, 247, 242, 0.72);
}

.mock-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(247, 247, 242, 0.68);
  font-size: 0.88rem;
}

.invitation-section figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(18px, 5vw, 76px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split-section,
  .dresscode-section,
  .answer-section,
  .invitation-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .invite-preview {
    width: min(360px, 92vw);
    justify-self: start;
  }

  .feature-grid {
    padding-top: 0;
  }

  .location-section,
  .countdown-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.9rem;
  }

  nav {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
