:root {
  --bg: #faf8f5;
  --bg-alt: #f3f1ed;
  --text: #2a2a2a;
  --muted: #5a5a5a;
  --wine: #7a2d34;
  --wine-dark: #5c2228;
  --wine-soft: #9e4a52;
  --sage: #8fa88a;
  --sage-deep: #6d8578;
  --sage-soft: #e4ebe2;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(44, 34, 40, 0.08);
  --radius: 14px;
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Raleway', system-ui, sans-serif;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--wine-dark);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(640px, 92vw);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-sage {
  background: var(--sage-soft);
}

.section-invite {
  padding-top: 3rem;
}

.invite-message {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-title-center,
.section-lead-center {
  text-align: center;
}

.invite-highlight {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--wine);
  margin: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 51, 48, 0.06);
}

.header-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--wine);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  padding: 2.5rem 0 3rem;
  background: var(--bg);
}

/* Celular: foto em faixa de ponta a ponta entre o nome e a data, dissolvendo no fundo */
.hero-photo {
  width: 100vw;
  margin: -1.25rem calc(50% - 50vw) 1rem;
  aspect-ratio: 1 / 1;
  background: var(--hero-image) 66% 55% / 150% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 80%, transparent 100%);
}

.hero-intro,
.date-block,
.hero-venue {
  text-shadow: 0 0 14px rgba(250, 248, 245, 0.95);
}

.hero-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 1.25rem;
}

.hero-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 400;
  color: var(--wine);
  margin: 0;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-weight: 400;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--sage-deep);
  font-weight: 600;
  margin: 0.75rem 0 0;
}

.date-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.25rem;
  width: min(420px, 100%);
  margin-top: 0.5rem;
}

.date-block-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}

.date-rule {
  display: block;
  width: 100%;
  max-width: 72px;
  height: 1px;
  background: var(--text);
  opacity: 0.35;
}

.date-block-center {
  text-align: center;
}

.date-month,
.date-year {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.date-day {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 600;
  color: var(--wine);
  line-height: 1;
  margin: 0.15rem 0;
  /* Algarismos do Cormorant ficam baixos na caixa da linha; compensa para centralizar entre mês e ano */
  transform: translateY(-0.26em);
}

.hero-venue {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-meta {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--wine);
  color: #fff;
}

.btn-primary:hover {
  background: var(--wine-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--wine);
  color: var(--wine-dark);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.countdown-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem 0.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.countdown-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--wine);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.countdown-done {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--wine);
  margin-top: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.dress-layout {
  text-align: center;
}

/* Ilustração como faixa de fundo: o branco some no creme da página e as bordas dissolvem */
.dress-illustration {
  --dress-w: min(100vw, 960px);
  display: block;
  width: var(--dress-w);
  max-width: none;
  height: auto;
  margin: 0.5rem calc(50% - var(--dress-w) / 2) 1.5rem;
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 85%, transparent 100%);
  mask-composite: intersect;
}

.section-dress {
  overflow: hidden;
}

.dress-title {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  color: var(--wine);
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.dress-tagline {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.dress-line {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.dress-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--wine-soft);
  font-style: italic;
}

.venue-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.venue-pin {
  font-size: 1.05em;
  line-height: 1;
}

.venue-address {
  color: var(--muted);
  margin: 0 0 1rem;
}

.map-actions {
  margin-bottom: 1rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--sage-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.field span {
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(44, 51, 48, 0.15);
  border-radius: 10px;
  background: #fff;
}

.field-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.field-row .field {
  flex: 1;
  min-width: 180px;
}

.rsvp-search .field {
  margin-bottom: 0.35rem;
}

.rsvp-search-field {
  display: flex;
  gap: 0.5rem;
}

.rsvp-search-field input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(44, 51, 48, 0.15);
  border-radius: 10px;
  background: #fff;
}

.rsvp-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rsvp-results:empty {
  display: none;
}

.rsvp-result {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(122, 45, 52, 0.18);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.15s ease;
}

.rsvp-result:hover {
  border-color: var(--wine);
  background: rgba(122, 45, 52, 0.04);
}

.rsvp-result:active {
  transform: scale(0.99);
}

.rsvp-result-name {
  font-weight: 600;
}

.rsvp-result-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.rsvp-result-badge.is-confirmed {
  background: rgba(45, 106, 79, 0.12);
  color: #2d6a4f;
}

.rsvp-result-badge.is-declined {
  background: rgba(44, 51, 48, 0.08);
  color: var(--muted);
}

.rsvp-selected {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rsvp-selected .field {
  margin-bottom: 0.25rem;
}

.rsvp-greeting {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0;
}

.rsvp-greeting strong {
  color: var(--wine);
}

.rsvp-selected .rsvp-hint {
  margin: 0;
}

.rsvp-back {
  align-self: center;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.rsvp-back:hover {
  color: var(--wine);
}

/* Tela de presença confirmada */
.celebrate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(28, 22, 26, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.celebrate.is-open {
  opacity: 1;
}

.celebrate-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.celebrate-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.25rem;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.celebrate.is-open .celebrate-card {
  transform: none;
}

.celebrate-emoji {
  font-size: 2.75rem;
  margin: 0;
  line-height: 1;
  animation: celebratePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

.celebrate-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--wine);
  margin: 0.5rem 0 0.25rem;
}

.celebrate-name {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--wine-dark);
  margin: 0;
  line-height: 1.2;
}

.celebrate-message {
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.celebrate-info {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(122, 45, 52, 0.05);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.celebrate-info p {
  margin: 0;
}

.celebrate-info p + p {
  margin-top: 0.5rem;
}

.celebrate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#celebrate-copy-address.is-copied {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
}

.celebrate-close {
  margin-top: 0.75rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem 0.75rem;
}

body.celebrate-open {
  overflow: hidden;
}

@keyframes celebratePop {
  from {
    transform: scale(0.3) rotate(-20deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .celebrate,
  .celebrate-card {
    transition: none;
  }

  .celebrate-emoji {
    animation: none;
  }
}

.alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 500;
}

.alert.success {
  background: var(--sage-soft);
  color: #2d5a4e;
}

.alert.error {
  background: #fdecea;
  color: #8a2e2e;
}

.icon-btn {
  border: 0;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.rsvp-hint {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.pix-gift-card {
  margin: 1.5rem 0 0;
  padding: 1.75rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.pix-gift-qr {
  display: block;
  width: min(240px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.pix-gift-key {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pix-gift-key-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pix-gift-code-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.3rem 0.3rem 0.85rem;
  border: 1px dashed rgba(122, 45, 52, 0.35);
  border-radius: 12px;
  background: #faf6f6;
}

.pix-gift-code-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.45rem 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--wine-dark);
  text-overflow: ellipsis;
  cursor: pointer;
  outline: none;
}

.pix-gift-code-copy {
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  padding: 0.5rem 0.85rem;
  background: var(--wine);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pix-gift-code-copy:hover {
  background: var(--wine-dark);
}

.pix-gift-holder {
  font-size: 0.82rem;
  color: var(--muted);
}

#pix-key-copy.is-copied,
.pix-gift-code-copy.is-copied {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: #fff;
}

.pix-gift-thanks {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(44, 51, 48, 0.08);
}

.pix-gift-thanks-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--wine);
  margin: 0 0 0.35rem;
}

.pix-gift-thanks-message {
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
  margin: 0;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(44, 51, 48, 0.06);
}

.footer-credit {
  color: var(--wine);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 45, 52, 0.3);
  transition: border-color 0.2s ease;
}

.footer-credit:hover {
  border-bottom-color: var(--wine);
}

.footer-small {
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

/* iOS: font-size < 16px em inputs dispara zoom ao focar */
button,
a,
input,
textarea,
select,
label,
[role='button'] {
  touch-action: manipulation;
}

@media (max-width: 768px) {
  input,
  textarea,
  select,
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 769px) {
  .hero {
    padding: 3rem 0 4.5rem;
  }

  .hero-layout {
    gap: 1.75rem;
  }

  .hero-script {
    font-size: clamp(3.5rem, 5vw, 5.25rem);
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero .eyebrow {
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  .date-block {
    width: min(520px, 100%);
    gap: 1.25rem 1.75rem;
  }

  .date-block-side {
    font-size: 0.82rem;
  }

  .date-month,
  .date-year {
    font-size: 0.85rem;
  }

  .date-day {
    font-size: clamp(3.75rem, 6vw, 5rem);
  }

  .date-rule {
    max-width: 88px;
  }

  .hero-venue {
    font-size: 1rem;
    max-width: 36rem;
  }

  .hero-actions .btn {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .site-nav a {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: clamp(2.25rem, 3vw, 3.25rem);
  }

  .section-lead {
    font-size: 1.12rem;
  }

  .hero {
    padding: 3.5rem 0 5rem;
  }

  .hero-layout {
    gap: 2rem;
  }

  .hero-script {
    font-size: 6rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
  }

  .date-block {
    width: min(580px, 100%);
  }

  .date-day {
    font-size: 5.25rem;
  }

  .date-block-side {
    font-size: 0.88rem;
  }

  .hero-venue {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .hero-actions .btn {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
  }

  .countdown-value {
    font-size: 2.75rem;
  }

  .countdown-item {
    padding: 1.5rem 0.75rem;
  }

  .invite-highlight {
    font-size: 1.35rem;
  }

  .dress-title {
    font-size: 3.5rem;
  }

  .dress-line {
    font-size: 0.9rem;
  }
}

@media (min-width: 1280px) {
  .hero-script {
    font-size: 6.75rem;
  }

  .date-day {
    font-size: 5.75rem;
  }

  .narrow {
    width: min(720px, 88vw);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1rem 4vw 1.25rem;
    border-bottom: 1px solid rgba(44, 51, 48, 0.08);
    display: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Telas largas: texto à esquerda, foto inteira à direita (sem véu sobre o rosto/canudo) */
@media (min-width: 900px) {
  .hero {
    justify-content: center;
    padding: 3rem 0;
  }

  .hero-photo {
    display: none;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    width: 64%;
    background: var(--hero-image) 50% 45% / cover no-repeat;
    transform: scale(1.04);
    transform-origin: right center;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      var(--bg) 36%,
      rgba(250, 248, 245, 0.8) 44%,
      rgba(250, 248, 245, 0) 56%
    );
  }

  .hero-layout {
    flex: 0 1 auto;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
  }

  .hero-intro,
  .hero-details {
    width: min(500px, 44%);
    text-align: center;
  }

  .hero-details {
    margin-top: 0;
  }

  .hero-script {
    font-size: clamp(3.25rem, 5vw, 5rem);
    line-height: 1.05;
  }

  .date-block {
    width: 100%;
  }

  .date-day {
    font-size: clamp(3.75rem, 5vw, 5rem);
  }
}
