:root {
  --ivory: #f4efe7;
  --charcoal: #11100f;
  --burgundy: #4b1620;
  --gold: #c9a45b;
  --gold-soft: #e0c98f;
  --muted: #a99e92;
  --white: #fffaf2;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
blockquote {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -.025em;
}

h2 {
  margin: .55rem 0 1.5rem;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .9;
}

h2 em {
  color: var(--gold-soft);
  font-style: italic;
}

.eyebrow {
  margin: 0;
  color: var(--gold-soft);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin: 0 auto;
  color: #c7bdb2;
  font-size: 1rem;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 8rem 7vw;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #080708;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("images/moon-hero.png") center 43% / cover no-repeat;
  transform: scale(1.015);
  filter: saturate(.72) contrast(1.05) brightness(.94);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, .04) 30%,
      rgba(0, 0, 0, .35) 78%,
      rgba(0, 0, 0, .72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 7, 8, .62) 0%,
      rgba(8, 7, 8, .08) 28%,
      rgba(8, 7, 8, .02) 50%,
      rgba(8, 7, 8, .72) 100%
    );
}

.moon-copy {
  position: absolute;
  top: 12%;
  left: 7vw;
  width: min(760px, 86vw);
  z-index: 2;
  text-align: left;
  animation: heroContent 1.1s ease both;
}

.hero h1 {
  margin: .8rem 0 0;
  color: var(--white);
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: .82;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .35);
}

.hero h1 span,
.final-copy h2 span {
  color: var(--gold-soft);
  font-weight: 400;
}

.date {
  margin: 1.4rem 0 2rem;
  color: #dfd1bf;
  font-size: .7rem;
  letter-spacing: .48em;
}

/* Desktop ENTER button */

.enter {
  display: block;
  margin-left: 8rem;
  border: 1px solid rgba(224, 201, 143, .58);
  border-radius: 999px;
  padding: .95rem 1.45rem;
  color: var(--ivory);
  background: rgba(17, 16, 15, .32);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: .3s ease;
}

.enter span {
  margin-left: .6rem;
  color: var(--gold-soft);
}

.enter:hover {
  background: rgba(201, 164, 91, .15);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.music {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(224, 201, 143, .42);
  border-radius: 999px;
  padding: .6rem .85rem;
  color: var(--ivory);
  background: rgba(17, 16, 15, .28);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.music-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 164, 91, .75);
}

.music.is-playing .music-dot {
  animation: pulse 1.2s infinite;
}

/* =========================================================
   PERSONAL INVITATION
   ========================================================= */

.personal-invite {
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 6rem;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(75, 22, 32, .28),
      transparent 55%
    );
}

.personal-invite h2 {
  font-size: clamp(3.1rem, 7vw, 6rem);
}

#guestGreeting {
  color: var(--ivory);
}

.invite-line {
  width: 70px;
  height: 1px;
  margin: 2.2rem auto 0;
  background: var(--gold);
}

.invite-date {
  margin: 2rem 0 0;
  color: var(--gold-soft);
  font-size: .65rem;
  letter-spacing: .35em;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 7rem;
}

/* =========================================================
   QUOTE
   ========================================================= */

.quote {
  max-width: 900px;
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 9rem;
}

.ornament {
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.quote blockquote {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: .98;
}

.quote cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .8rem;
}

/* =========================================================
   STORY
   ========================================================= */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.image-frame {
  padding: 10px;
  border: 1px solid rgba(201, 164, 91, .28);
  background: rgba(201, 164, 91, .04);
}

.image-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-copy p:not(.eyebrow):not(.poetic) {
  max-width: 590px;
  color: #c5bbb0;
}

.story-copy strong {
  color: var(--gold-soft);
  font-weight: 500;
}

.poetic {
  margin-top: 2rem;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

/* =========================================================
   VISUAL BREAK
   ========================================================= */

.visual-break {
  position: relative;
  height: 75svh;
  min-height: 520px;
  overflow: hidden;
}

.visual-break img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.04) brightness(.78);
}

.visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 9, 9, .15),
      rgba(10, 9, 9, .62)
    );
}

.visual-caption {
  position: absolute;
  right: 7vw;
  bottom: 8%;
  z-index: 2;
  max-width: 360px;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
  text-align: right;
}

/* =========================================================
   WEDDING
   ========================================================= */

.wedding {
  text-align: center;
  padding-top: 9rem;
}

.wedding-card {
  display: grid;
  grid-template-columns: 270px 1px minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding: 4rem;
  border: 1px solid rgba(201, 164, 91, .28);
  background:
    linear-gradient(
      135deg,
      rgba(75, 22, 32, .23),
      rgba(255, 255, 255, .025)
    );
  text-align: left;
}

.date-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.date-large .day,
.date-large .year {
  display: block;
  margin: 0;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 8vw, 7rem);
  font-weight: 500;
  line-height: .75;
}

.date-large small {
  display: block;
  margin: 1.45rem 0 1.35rem;
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .30em;
  line-height: 1;
}

.gold-line {
  width: 1px;
  height: 180px;
  background:
    linear-gradient(
      transparent,
      var(--gold),
      transparent
    );
}

.details {
  min-width: 0;
}

.detail-label {
  margin: 0 0 .15rem;
  color: var(--gold-soft);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .28em;
}

.detail-value {
  margin: 0 0 1.8rem;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.address {
  margin: 0;
  color: #b9aea3;
  font-size: .82rem;
  line-height: 1.8;
}

.map-link {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--gold-soft);
  font-size: .7rem;
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 201, 143, .35);
  padding-bottom: .25rem;
}

.map-link:hover {
  border-color: var(--gold-soft);
}

/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 9rem;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timer > div {
  padding: 1.4rem .5rem;
  border-top: 1px solid rgba(201, 164, 91, .28);
  border-bottom: 1px solid rgba(201, 164, 91, .12);
}

.timer span {
  display: block;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: .9;
}

.timer small {
  display: block;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* =========================================================
   BILINGUAL
   ========================================================= */

.bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 2rem;
  padding-bottom: 9rem;
}

.language-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(75, 22, 32, .15);
  border: 1px solid rgba(201, 164, 91, .16);
  text-align: center;
}

.language-card .script {
  color: var(--gold-soft);
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.language-card p {
  max-width: 440px;
  margin: 1.5rem 0 0;
  color: #c7bdb2;
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
}

.language-card.gujarati .script,
.language-card.gujarati p {
  font-family: "Noto Sans Gujarati", sans-serif;
}

/* =========================================================
   FINAL IMAGE
   ========================================================= */

.final-image {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
}

.final-image > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) brightness(.72);
}

.final-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 35%,
      transparent,
      rgba(8, 7, 8, .7)
    ),
    linear-gradient(
      180deg,
      rgba(8, 7, 8, .2),
      rgba(8, 7, 8, .82)
    );
}

.final-copy {
  position: absolute;
  left: 7vw;
  bottom: 10%;
  z-index: 2;
}

.final-copy h2 {
  margin: .8rem 0 1rem;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.final-date {
  margin: 0;
  color: #dfd1bf;
  letter-spacing: .42em;
  font-size: .7rem;
}

.hashtag {
  margin: 1.2rem 0 0;
  color: var(--gold-soft);
  font-size: .72rem;
  letter-spacing: .12em;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 3rem 1.5rem;
  color: #8e8379;
  background: #0b0a09;
  text-align: center;
  font-size: .75rem;
}

footer p {
  margin: .35rem 0;
}

footer .tiny {
  color: #5f574f;
  letter-spacing: .25em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroContent {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes pulse {
  0%,
  100% {
    opacity: .45;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

  .section {
    padding: 6.5rem 7vw;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }

  .story-copy {
    max-width: 680px;
    margin: auto;
  }

  .wedding-card {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .gold-line {
    width: 100%;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
      );
  }

  .details {
    text-align: center;
  }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .hero {
    min-height: 100svh;
  }

  .hero-photo {
    background-position: center 42%;
    transform: scale(1.01);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 7, .70) 0%,
        rgba(7, 6, 7, .18) 25%,
        rgba(7, 6, 7, .04) 48%,
        rgba(7, 6, 7, .78) 100%
      );
  }

  /*
     MOBILE HERO

     The moon-copy now covers most of the hero height.
     This gives the ENTER button a safe positioning area.
  */

  .moon-copy {
    position: absolute;
    top: 9%;
    left: 7vw;
    width: 86vw;
    height: 82vh;
    z-index: 2;
    text-align: left;
  }

  .hero h1 {
    max-width: 340px;
    margin-top: .75rem;
    font-size: clamp(3.45rem, 16vw, 5.2rem);
    line-height: .82;
  }

  .hero .eyebrow {
    font-size: .5rem;
    letter-spacing: .28em;
  }

  .date {
    margin-top: 1.2rem;
    margin-bottom: 1.6rem;
    font-size: .58rem;
    letter-spacing: .30em;
  }

  /*
     ENTER OUR STORY

     Positioned near the bottom of the hero.
     Centered horizontally.
     It no longer sits over either face.
  */

  .enter {
    position: absolute;
    top: 72vh;
    left: 50%;
    margin: 0;
    padding: .85rem 1.3rem;
    white-space: nowrap;
    font-size: .82rem;
    transform: translateX(-50%);
  }

  .enter:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .music {
    top: 1rem;
    right: 1rem;
    padding: .55rem .75rem;
    font-size: .72rem;
  }

  .section {
    padding: 5.5rem 7vw;
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  /* PERSONAL INVITATION */

  .personal-invite {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .personal-invite h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .lead {
    font-size: .9rem;
  }

  .invite-date {
    font-size: .58rem;
  }

  /* QUOTE */

  .quote {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .quote blockquote {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  /* STORY */

  .story {
    gap: 3rem;
  }

  .story-image {
    max-width: 92%;
  }

  /* VISUAL BREAK */

  .visual-break {
    height: 62svh;
    min-height: 430px;
  }

  .visual-caption {
    right: 7vw;
    left: 7vw;
    bottom: 7%;
    max-width: none;
    font-size: 1.7rem;
    text-align: left;
  }

  /* WEDDING */

  .wedding {
    padding-top: 6rem;
  }

  .wedding-card {
    margin-top: 2.5rem;
    padding: 2.8rem 1.1rem;
  }

  .date-large .day,
  .date-large .year {
    font-size: 4.8rem;
    line-height: .72;
  }

  .date-large small {
    margin: 1.55rem 0 1.45rem;
    font-size: .62rem;
    letter-spacing: .25em;
    line-height: 1;
  }

  .detail-value {
    font-size: 1.85rem;
  }

  .address {
    font-size: .72rem;
  }

  /* COUNTDOWN */

  .timer {
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
    margin-top: 2.2rem;
  }

  .timer > div {
    padding: 1.25rem .4rem;
  }

  .timer span {
    font-size: 2.8rem;
  }

  /* LANGUAGES */

  .language-card {
    min-height: 270px;
    padding: 3rem 1.2rem;
  }

  .language-card p {
    font-size: .92rem;
  }

  /* FINAL IMAGE */

  .final-image {
    min-height: 680px;
  }

  .final-copy {
    left: 7vw;
    right: 7vw;
    bottom: 8%;
  }

  .final-copy h2 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

  .moon-copy {
    top: 8%;
    height: 84vh;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  /*
     Slightly lower on very small screens.
  */

  .enter {
    top: 72vh;
    left: 50%;
    margin: 0;
    padding: .78rem 1.1rem;
    font-size: .78rem;
    transform: translateX(-50%);
  }

  .enter:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .date-large .day,
  .date-large .year {
    font-size: 4.35rem;
  }

  .date-large small {
    margin: 1.45rem 0 1.35rem;
    letter-spacing: .22em;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  }m;
  text-transform: uppercase;
}

/* =========================================================
   BILINGUAL
   ========================================================= */

.bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 2rem;
  padding-bottom: 9rem;
}

.language-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(75, 22, 32, .15);
  border: 1px solid rgba(201, 164, 91, .16);
  text-align: center;
}

.language-card .script {
  color: var(--gold-soft);
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.language-card p {
  max-width: 440px;
  margin: 1.5rem 0 0;
  color: #c7bdb2;
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
}

.language-card.gujarati .script,
.language-card.gujarati p {
  font-family: "Noto Sans Gujarati", sans-serif;
}

/* =========================================================
   FINAL IMAGE
   ========================================================= */

.final-image {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
}

.final-image > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) brightness(.72);
}

.final-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 35%,
      transparent,
      rgba(8, 7, 8, .7)
    ),
    linear-gradient(
      180deg,
      rgba(8, 7, 8, .2),
      rgba(8, 7, 8, .82)
    );
}

.final-copy {
  position: absolute;
  left: 7vw;
  bottom: 10%;
  z-index: 2;
}

.final-copy h2 {
  margin: .8rem 0 1rem;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.final-date {
  margin: 0;
  color: #dfd1bf;
  letter-spacing: .42em;
  font-size: .7rem;
}

.hashtag {
  margin: 1.2rem 0 0;
  color: var(--gold-soft);
  font-size: .72rem;
  letter-spacing: .12em;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 3rem 1.5rem;
  color: #8e8379;
  background: #0b0a09;
  text-align: center;
  font-size: .75rem;
}

footer p {
  margin: .35rem 0;
}

footer .tiny {
  color: #5f574f;
  letter-spacing: .25em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroContent {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes pulse {
  0%,
  100% {
    opacity: .45;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {
  .section {
    padding: 6.5rem 7vw;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }

  .story-copy {
    max-width: 680px;
    margin: auto;
  }

  .wedding-card {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .gold-line {
    width: 100%;
    height: 1px;
    background:
      linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
      );
  }

  .details {
    text-align: center;
  }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .hero {
    min-height: 100svh;
  }

  .hero-photo {
    background-position: center 42%;
    transform: scale(1.01);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 7, .70) 0%,
        rgba(7, 6, 7, .18) 25%,
        rgba(7, 6, 7, .04) 48%,
        rgba(7, 6, 7, .78) 100%
      );
  }

  /*
     MOBILE HERO POSITIONING

     The text remains on the upper-left.
     The button is independently pushed to the right edge
     so it does not sit over Darshan's face.
  */

  .moon-copy {
    top: 9%;
    left: 7vw;
    width: 86vw;
    text-align: left;
  }

  .hero h1 {
    max-width: 340px;
    margin-top: .75rem;
    font-size: clamp(3.45rem, 16vw, 5.2rem);
    line-height: .82;
  }

  .hero .eyebrow {
    font-size: .5rem;
    letter-spacing: .28em;
  }

  .date {
    margin-top: 1.2rem;
    margin-bottom: 1.6rem;
    font-size: .58rem;
    letter-spacing: .30em;
  }

  /*
     IMPORTANT:
     Do NOT use margin-left here.
     margin-left:auto pushes the button to the right
     within the moon-copy container.
  */

  .enter {
    width: max-content;
    margin-left: auto;
    margin-right: 0;
    padding: .82rem 1.15rem;
    font-size: .8rem;
  }

  .music {
    top: 1rem;
    right: 1rem;
    padding: .55rem .75rem;
    font-size: .72rem;
  }

  .section {
    padding: 5.5rem 7vw;
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  /* PERSONAL INVITATION */

  .personal-invite {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .personal-invite h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .lead {
    font-size: .9rem;
  }

  .invite-date {
    font-size: .58rem;
  }

  /* QUOTE */

  .quote {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .quote blockquote {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  /* STORY */

  .story {
    gap: 3rem;
  }

  .story-image {
    max-width: 92%;
  }

  /* VISUAL BREAK */

  .visual-break {
    height: 62svh;
    min-height: 430px;
  }

  .visual-caption {
    right: 7vw;
    left: 7vw;
    bottom: 7%;
    max-width: none;
    font-size: 1.7rem;
    text-align: left;
  }

  /* WEDDING */

  .wedding {
    padding-top: 6rem;
  }

  .wedding-card {
    margin-top: 2.5rem;
    padding: 2.8rem 1.1rem;
  }

  .date-large .day,
  .date-large .year {
    font-size: 4.8rem;
    line-height: .72;
  }

  .date-large small {
    margin: 1.55rem 0 1.45rem;
    font-size: .62rem;
    letter-spacing: .25em;
    line-height: 1;
  }

  .detail-value {
    font-size: 1.85rem;
  }

  .address {
    font-size: .72rem;
  }

  /* COUNTDOWN */

  .timer {
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
    margin-top: 2.2rem;
  }

  .timer > div {
    padding: 1.25rem .4rem;
  }

  .timer span {
    font-size: 2.8rem;
  }

  /* LANGUAGES */

  .language-card {
    min-height: 270px;
    padding: 3rem 1.2rem;
  }

  .language-card p {
    font-size: .92rem;
  }

  /* FINAL IMAGE */

  .final-image {
    min-height: 680px;
  }

  .final-copy {
    left: 7vw;
    right: 7vw;
    bottom: 8%;
  }

  .final-copy h2 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

  .moon-copy {
    top: 8%;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  /*
     Keep button completely to the right on very
     small screens as well.
  */

  .enter {
    width: max-content;
    margin-left: auto;
    margin-right: 0;
    padding: .75rem 1rem;
  }

  .date-large .day,
  .date-large .year {
    font-size: 4.35rem;
  }

  .date-large small {
    margin: 1.45rem 0 1.35rem;
    letter-spacing: .22em;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
   }1px solid rgba(201,164,91,.12);
}

.timer span {
  display: block;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: .9;
}

.timer small {
  display: block;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* =========================================================
   BILINGUAL
   ========================================================= */

.bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 2rem;
  padding-bottom: 9rem;
}

.language-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(75,22,32,.15);
  border: 1px solid rgba(201,164,91,.16);
  text-align: center;
}

.language-card .script {
  color: var(--gold-soft);
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.language-card p {
  max-width: 440px;
  margin: 1.5rem 0 0;
  color: #c7bdb2;
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
}

.language-card.gujarati .script,
.language-card.gujarati p {
  font-family: "Noto Sans Gujarati", sans-serif;
}

/* =========================================================
   FINAL IMAGE
   ========================================================= */

.final-image {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
}

.final-image > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) brightness(.72);
}

.final-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, transparent, rgba(8,7,8,.7)),
    linear-gradient(180deg, rgba(8,7,8,.2), rgba(8,7,8,.82));
}

.final-copy {
  position: absolute;
  left: 7vw;
  bottom: 10%;
  z-index: 2;
}

.final-copy h2 {
  margin: .8rem 0 1rem;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.final-date {
  margin: 0;
  color: #dfd1bf;
  letter-spacing: .42em;
  font-size: .7rem;
}

.hashtag {
  margin: 1.2rem 0 0;
  color: var(--gold-soft);
  font-size: .72rem;
  letter-spacing: .12em;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 3rem 1.5rem;
  color: #8e8379;
  background: #0b0a09;
  text-align: center;
  font-size: .75rem;
}

footer p {
  margin: .35rem 0;
}

footer .tiny {
  color: #5f574f;
  letter-spacing: .25em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroContent {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes pulse {
  0%, 100% {
    opacity: .45;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {
  .section {
    padding: 6.5rem 7vw;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }

  .story-copy {
    max-width: 680px;
    margin: auto;
  }

  .wedding-card {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .gold-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
  }

  .details {
    text-align: center;
  }

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }

  .hero-photo {
    background-position: center 42%;
    transform: scale(1.01);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7,6,7,.70) 0%,
        rgba(7,6,7,.18) 25%,
        rgba(7,6,7,.04) 48%,
        rgba(7,6,7,.78) 100%
      );
  }

  /*
     Mobile hero title:
     high enough to avoid covering the couple's faces.
  */
  .moon-copy {
    top: 9%;
    left: 7vw;
    width: 86vw;
    text-align: left;
  }

  .hero h1 {
    max-width: 340px;
    margin-top: .75rem;
    font-size: clamp(3.45rem, 16vw, 5.2rem);
    line-height: .82;
  }

  .hero .eyebrow {
    font-size: .5rem;
    letter-spacing: .28em;
  }

  .date {
    margin-top: 1.2rem;
    margin-bottom: 1.6rem;
    font-size: .58rem;
    letter-spacing: .30em;
  }

  .enter {
    padding: .82rem 1.15rem;
    font-size: .8rem;
  }

  .enter {
    margin-left: 5rem;
  }

  .music {
    top: 1rem;
    right: 1rem;
    padding: .55rem .75rem;
    font-size: .72rem;
  }

  .section {
    padding: 5.5rem 7vw;
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .personal-invite {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .personal-invite h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .lead {
    font-size: .9rem;
  }

  .invite-date {
    font-size: .58rem;
  }

  .quote {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }

  .quote blockquote {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .story {
    gap: 3rem;
  }

  .story-image {
    max-width: 92%;
  }

  .visual-break {
    height: 62svh;
    min-height: 430px;
  }

  .visual-caption {
    right: 7vw;
    left: 7vw;
    bottom: 7%;
    max-width: none;
    font-size: 1.7rem;
    text-align: left;
  }

  .wedding {
    padding-top: 6rem;
  }

  .wedding-card {
    margin-top: 2.5rem;
    padding: 2.8rem 1.1rem;
  }

  /*
     The three date elements are deliberately separated.
     This fixes the previous 29 / NOVEMBER / 2026 crowding.
  */
  .date-large .day,
  .date-large .year {
    font-size: 4.8rem;
    line-height: .72;
  }

  .date-large small {
    margin: 1.55rem 0 1.45rem;
    font-size: .62rem;
    letter-spacing: .25em;
    line-height: 1;
  }

  .detail-value {
    font-size: 1.85rem;
  }

  .address {
    font-size: .72rem;
  }

  .timer {
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
    margin-top: 2.2rem;
  }

  .timer > div {
    padding: 1.25rem .4rem;
  }

  .timer span {
    font-size: 2.8rem;
  }

  .language-card {
    min-height: 270px;
    padding: 3rem 1.2rem;
  }

  .language-card p {
    font-size: .92rem;
  }

  .final-image {
    min-height: 680px;
  }

  .final-copy {
    left: 7vw;
    right: 7vw;
    bottom: 8%;
  }

  .final-copy h2 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {
  .moon-copy {
    top: 8%;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .date-large .day,
  .date-large .year {
    font-size: 4.35rem;
  }

  .date-large small {
    margin: 1.45rem 0 1.35rem;
    letter-spacing: .22em;
  }

  .enter {
    padding: .75rem 1rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
