:root {
  --cream: #ffffff;
  --ink: #000000;
  --blush: #000000;
  --peach: #333333;
  --primary: #000000;
  --muted: #666666;
  --shadow-soft: 0 30px 60px -30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 20px 80px -20px rgba(0, 0, 0, 0.2);
  --gradient-warm: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
  --gradient-dawn: radial-gradient(ellipse at top, #ffffff 0%, #f0f0f0 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-align: center;
}

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

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

::selection {
  background: var(--blush);
  color: var(--ink)
}

::-webkit-scrollbar {
  width: 8px
}

::-webkit-scrollbar-track {
  background: var(--cream)
}

::-webkit-scrollbar-thumb {
  background: var(--blush);
  border-radius: 4px
}

.display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  letter-spacing: -.02em;
  line-height: .95
}

.script {
  font-family: 'Caveat', cursive;
  line-height: 1.1
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: 11px;
}

.italic {
  font-style: italic;
  font-weight: 400
}

.blush {
  color: var(--blush)
}

.primary {
  color: var(--primary)
}

.muted {
  color: var(--muted)
}

.dim {
  color: rgba(255, 255, 255, .5)
}

.faded {
  color: rgba(0, 0, 0, .5)
}

.dim-cream {
  color: rgba(255, 255, 255, .6)
}

.tiny {
  font-size: 10px
}

.big {
  font-size: 1.875rem
}

.xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem)
}

.huge {
  font-size: clamp(4rem, 12vw, 8rem)
}

.med {
  font-size: 1.5rem;
  margin-top: .5rem
}

.center {
  text-align: center
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2
}

.narrow {
  max-width: 780px
}

.section {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden
}

@media(min-width:768px) {
  .section {
    padding: 5rem 0
  }
}

.bg-warm {
  position: absolute;
  inset: 0;
  background: var(--gradient-warm);
  opacity: .25;
  z-index: 1
}

.bg-warm.soft {
  opacity: .3
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1
}

.orb-1 {
  left: 25%;
  top: 33%;
  width: 16rem;
  height: 16rem;
  background: rgba(0, 0, 0, 0.05);
  animation: pulse 3s ease-in-out infinite
}

.orb-2 {
  right: 33%;
  bottom: 25%;
  width: 18rem;
  height: 18rem;
  background: rgba(0, 0, 0, 0.08);
  animation: pulse 3s ease-in-out infinite 1.5s
}

.orb-blush-top {
  left: 50%;
  top: -8rem;
  transform: translateX(-50%);
  width: 26rem;
  height: 26rem;
  background: rgba(0, 0, 0, 0.05);
  filter: blur(120px)
}

.orb-peach {
  right: 0;
  top: 25%;
  width: 20rem;
  height: 20rem;
  background: rgba(0, 0, 0, 0.05);
  filter: blur(120px)
}

.orb-dark {
  left: 50%;
  top: -10rem;
  transform: translateX(-50%);
  width: 31rem;
  height: 31rem;
  background: rgba(0, 0, 0, 0.05);
  filter: blur(120px)
}

@keyframes pulse {

  0%,
  100% {
    opacity: .4;
    transform: scale(1)
  }

  50% {
    opacity: .8;
    transform: scale(1.1)
  }
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2s ease-in-out, visibility 2s ease-in-out;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-cta {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: 'Caveat', cursive;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: none;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.6), 0 2px 10px rgba(0, 0, 0, 0.9);
  animation: ctaPulse 2s ease-in-out infinite;
  z-index: 10;
  transition: none;
}

.pre-cta.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes ctaPulse {

  0%,
  100% {
    opacity: .8;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

/* Video */
.preloader video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.preloader video.fading {
  opacity: 0;
}

.preloader video.active {
  pointer-events: auto;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--gradient-dawn);
  color: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.topnav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  padding: 2rem 1.5rem 0;
  color: #000000
}

@media(min-width:768px) {
  .topnav {
    padding: 2rem 3rem 0
  }
}

.hide-sm {
  display: none
}

@media(min-width:640px) {
  .hide-sm {
    display: inline
  }
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  position: relative;
  z-index: 5
}

.hero-photo {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3/4
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-photo-l {
  grid-column: span 5;
  transform: rotate(-4deg) translateX(-60px);
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(.16, 1, .3, 1) 1.4s, transform 1.3s cubic-bezier(.16, 1, .3, 1) 1.4s
}

.hero-photo-l.in {
  opacity: 1;
  transform: rotate(-4deg) translateX(0)
}

.hero-photo-r {
  grid-column: span 7;
  margin-left: auto;
  transform: rotate(5deg) translateX(60px);
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(.16, 1, .3, 1) 1.6s, transform 1.3s cubic-bezier(.16, 1, .3, 1) 1.6s
}

.hero-photo-r.in {
  opacity: 1;
  transform: rotate(5deg) translateX(0)
}

.hero-copy {
  grid-column: span 12;
  order: -1;
  text-align: center;
  color: #000000
}

@media(min-width:768px) {
  .hero-photo-l {
    grid-column: span 3
  }

  .hero-photo-r {
    grid-column: span 3
  }

  .hero-copy {
    grid-column: span 6;
    order: 0
  }
}

.hero-copy .script {
  font-size: 2rem;
  color: #000000
}

@media(min-width:768px) {
  .hero-copy .script {
    font-size: 2.5rem
  }
}

.title {
  font-size: 16vw;
  margin-top: .75rem;
  color: #000000
}

@media(min-width:768px) {
  .title {
    font-size: 8.5vw
  }
}

.title .word {
  display: inline-block;
  color: #000000
}

.title .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise .9s cubic-bezier(.16, 1, .3, 1) forwards;
  color: #000000
}

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

.title .amp {
  display: inline-block;
  margin: 0 .5rem;
  font-style: italic;
  font-weight: 300;
  color: #000000;
  transform: scale(0);
  opacity: 0;
  animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) 2.2s forwards
}

@media(min-width:768px) {
  .title .amp {
    margin: 0 .75rem
  }
}

@keyframes pop {
  to {
    transform: scale(1);
    opacity: 1
  }
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem
}

.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #000000
}

.rule .line {
  height: 1px;
  width: 2rem;
  background: #000000
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #000000;
  color: #ffffff;
  padding: .875rem 1.75rem;
  border-radius: 999px;
  transition: all .3s
}

.btn-ink:hover {
  background: #222222;
  box-shadow: var(--shadow-glow)
}

.btn-ink .arrow {
  transition: transform .3s
}

.btn-ink:hover .arrow {
  transform: translateX(4px)
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #000000;
  z-index: 10
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.in {
  opacity: 1;
  transform: translateY(0)
}

.in-view {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1)
}

.in-view.in {
  opacity: 1;
  transform: translateY(0)
}

/* SAVE THE DATE — POSTER STYLE */
.date-section {
  background: var(--cream);
  padding: 4.5rem 1.5rem
}

.std-poster {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease
}

.std-poster.in {
  opacity: 1;
  transform: translateY(0)
}

/* Heading: SAVE + the DATE! */
.std-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0
}

.std-save {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 14vw, 6.5rem);
  letter-spacing: .18em;
  line-height: 1;
  color: #111;
  text-transform: uppercase
}

.std-the-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  line-height: 1
}

.std-the {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 10vw, 5rem);
  color: #111;
  line-height: 1;
  transform: translateY(0.1em)
}

.std-date-word {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(3.5rem, 14vw, 6.5rem);
  letter-spacing: .1em;
  color: #111;
  text-transform: uppercase
}

/* Couple illustration */
.std-couple {
  width: 90%;
  max-width: 380px;
  margin: 1.5rem 0 0
}

.std-couple img {
  width: 100%;
  height: auto;
  display: block
}

/* Names & date bottom */
.std-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  border-top: 1.5px solid #111;
  padding-top: 1.25rem;
  width: 85%
}

.std-names {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(.85rem, 3.5vw, 1.1rem);
  letter-spacing: .3em;
  color: #111;
  text-transform: uppercase
}

.std-wdate {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(.85rem, 3.5vw, 1rem);
  letter-spacing: .25em;
  color: #555
}

/* VENUE */
.venue {
  height: 100vh;
  padding: 0;
  color: var(--cream)
}

.venue-bg {
  position: absolute;
  inset: -5% 0;
  will-change: transform
}

.venue-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.church-bg img {
  object-position: center 30%;
}

.venue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4));
}

.venue-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 10vh;
  padding-bottom: 4.5rem;
}

.venue-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 48rem;
}

.venue-title em {
  font-weight: 300;
}

.venue-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  justify-content: center;
}

@media(min-width:768px) {
  .venue-grid {
    grid-template-columns: repeat(2, minmax(200px, 320px));
    gap: 3.5rem;
  }
}

.btn-glass {
  margin-top: 2.5rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  padding: 1rem 1.75rem;
  border-radius: 999px;
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 11px;
  transition: all .3s;
}

.btn-glass:hover {
  background: var(--cream);
  color: var(--ink);
}

/* LOCATION SEPARATOR */
.location-separator {
  background: var(--cream);
  color: var(--ink);
  padding: 2.75rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.separator-tag {
  letter-spacing: 0.35em;
  color: #777777;
  display: block;
  margin-bottom: 0.5rem;
}

.separator-quote {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: #111111;
  line-height: 1.2;
  margin-bottom: 0;
}

.separator-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
}

.separator-rule .line {
  height: 1px;
  width: 3rem;
  background: rgba(0, 0, 0, 0.15);
}

.separator-rule .symbol {
  font-size: 1.1rem;
  color: #222222;
  line-height: 1;
}

/* PROGRAM */
.program {
  position: relative;
}

.program .center {
  margin-bottom: 2.5rem;
}

.program-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 840px;
  margin: 3.5rem auto 2.5rem;
  position: relative;
  z-index: 2;
}

@media(min-width: 768px) {
  .program-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.program-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.75rem;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.1);
}

.program-card-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.program-card-time {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.program-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.program-card-location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.program-card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 800px;
  margin: 6rem auto 4rem
}

.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05)
}

@media(min-width:768px) {
  .tl-item {
    gap: 2rem;
    padding-bottom: 4rem
  }
}

.tl-time {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  text-align: center
}

@media(min-width:768px) {
  .tl-time {
    font-size: 2.5rem
  }
}

.tl-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink)
}

.tl-content p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto
}

.program .center .script {
  font-size: 1.875rem
}

/* GALLERY */
.gallery {
  background: #000000;
  color: #ffffff;
}

.gallery-head {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

@media(min-width:768px) {
  .gallery-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem
}

@media(min-width:768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  aspect-ratio: 3/4;
}

.g-item.in {
  opacity: 1;
  transform: scale(1)
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease-out
}

.g-item:hover img {
  transform: scale(1.1)
}

.g-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity .5s
}

.g-item:hover:after {
  opacity: 1
}

.g-cap {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--cream);
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity .5s;
  z-index: 2
}

.g-item:hover .g-cap {
  opacity: 1
}

@media(min-width:768px) {
  .g-big {
    grid-column: span 2
  }

  .g-wide {
    grid-column: span 2
  }
}

/* COUNTDOWN */
.count-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem
}

@media(min-width:768px) {
  .count-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem
  }
}

.count-cell {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem;
  padding: 2rem 1rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s ease
}

.count-cell.in {
  opacity: 1;
  transform: translateY(0)
}

.count-cell .num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

@media(min-width:768px) {
  .count-cell .num {
    font-size: 4.5rem
  }
}

.count-cell .lbl {
  margin-top: .5rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 10px;
  color: var(--muted)
}

.countdown h2 {
  margin-bottom: 0
}

/* Countdown padding inherits from .section */

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.section-divider .line {
  height: 1px;
  width: 80px;
  background: rgba(0, 0, 0, 0.15);
}

/* FOOTER */
.footer {
  padding: 4.5rem 0;
  background: #ffffff;
  color: #000000;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer .display {
  font-size: 3rem;
  color: #000000;
}

.footer .display em {
  font-style: italic;
  font-weight: 300;
  color: #000000;
  opacity: 0.85;
}

.footer .mono {
  margin-top: .75rem;
  color: rgba(0, 0, 0, 0.7);
}

.footer-branding {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-branding a {
  color: #000000;
  letter-spacing: normal !important;
  text-transform: none !important;
  transition: opacity 0.3s;
}

.footer-branding a:hover {
  opacity: 0.7;
}

/* ARABIC TEXT - NO LETTER SPACING */
:lang(ar),
[lang="ar"],
.arabic,
.ar-text {
  letter-spacing: normal !important;
  text-transform: none !important;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-socials a {
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MUSIC */
.music {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  z-index: 50;
  transition: transform .3s
}

.music:hover {
  transform: scale(1.08)
}

.bars {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 18px
}

.bars i {
  display: block;
  width: 3px;
  background: var(--cream);
  border-radius: 2px;
  height: 6px
}

.music.playing .bars i {
  animation: bar 1s ease-in-out infinite
}

.music.playing .bars i:nth-child(1) {
  animation-delay: 0s
}

.music.playing .bars i:nth-child(2) {
  animation-delay: .15s
}

.music.playing .bars i:nth-child(3) {
  animation-delay: .3s
}

.music.playing .bars i:nth-child(4) {
  animation-delay: .45s
}

@keyframes bar {

  0%,
  100% {
    height: 4px
  }

  50% {
    height: 18px
  }
}

/* WAITING SECTION */
.waiting {
  padding: 4.5rem 0;
  background: #ffffff;
  color: #000000;
  position: relative
}

@media(min-width:768px) {
  .waiting {
    padding: 5rem 0;
  }
}

.waiting-box {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 2rem
}

.waiting-text {
  margin-top: 3rem;
  margin-bottom: 0;
  line-height: 2;
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.7);
  font-style: italic;
  font-family: 'Fraunces', serif
}

.waiting-box .med {
  margin-top: 1.5rem;
  font-weight: 400
}

.waiting-box .script.big {
  font-size: 2.5rem
}

/* GUESTBOOK */
.guestbook {
  background: var(--ink);
  color: var(--cream);
  position: relative;
}

.guestbook-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guestbook-form .form-group {
  display: flex;
  flex-direction: column;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  transition: border-color 0.3s ease;
  resize: none;
  text-align: center;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  outline: none;
  border-bottom-color: var(--cream);
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
}

.guestbook-form button {
  align-self: center;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

/* ── DRESS CODE SECTION ────────────────────────────────────────────────── */
.dress-code {
  background: #000000 !important;
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  z-index: 5;
}

.dress-code-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.dress-card {
  width: 100%;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dress-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.gentlemen-card {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.suit-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ladies-card {
  max-width: 820px;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 0.8rem;
  margin-top: 1.5rem;
  justify-items: center;
}

@media (min-width: 640px) {
  .color-palette {
    grid-template-columns: repeat(8, 1fr);
    gap: 1.2rem 0.6rem;
  }
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.swatch {
  width: 38px;
  height: 80px;
  border-radius: 19px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.color-item:hover .swatch {
  transform: translateY(-6px) scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 12px 24px rgba(0, 0, 0, 0.3);
}

.color-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}

/* ── HERO BLACK TEXT & BUTTON STYLES ────────────────────────────────────────────── */
.hero,
.hero .topnav,
.hero .script,
.hero .title,
.hero .title .word,
.hero .title .char,
.hero .title .amp,
.hero .hero-meta,
.hero .rule,
.hero .rule .mono,
.hero .scroll-indicator {
  color: #000000 !important;
}

.hero .rule .line {
  background-color: #000000 !important;
}

.hero .btn-ink,
.hero .btn-ink span {
  background: #000000 !important;
  color: #ffffff !important;
  border: none !important;
}

.hero .btn-ink:hover {
  background: #222222 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}