:root {
  --maroon: #641022;
  --maroon-deep: #4a0b18;
  --maroon-soft: #7b152d;
  --cream: #f8efe8;
  --rose: #edd7d2;
  --gold: #cda35d;
  --gold-soft: #e7c77d;
  --text: #3d1d1f;
  --muted: #7d6461;
  --card: rgba(255, 249, 244, 0.92);
  --line: rgba(107, 25, 44, 0.16);
  --shadow: 0 24px 60px rgba(61, 29, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf7 0%, #f7ede7 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.95rem 2.1rem;
  background: linear-gradient(180deg, #681124 0%, #5b0d1d 100%);
  color: #fdf2e6;
  box-shadow: 0 8px 24px rgba(51, 8, 18, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.brand-mark {
  font-weight: 600;
}

.brand-heart {
  color: #f3c271;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(0.05em);
}

.icon-svg {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  opacity: 0.92;
}

.primary-nav a[aria-current="page"] {
  color: #f4d48a;
  opacity: 1;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #f4d48a 25%, #f4d48a 75%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d58d 0%, #e8bf67 100%);
  color: #5a1020;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-icon {
  width: 1rem;
  height: 1rem;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin: auto;
  color: #fff2df;
}

.hero {
  position: relative;
  min-height: 46rem;
  padding: 4rem 4.2rem 4.6rem;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.1) 0%, rgba(255, 250, 244, 0.02) 54%, rgba(255, 250, 244, 0.98) 63%),
    url("images/homepage-hero-section-bg.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 24%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(46rem, 45%);
  margin-left: auto;
  padding: 1.15rem 0 0;
  text-align: center;
  color: #5b1320;
}

.eyebrow,
.section-label {
  margin: 0 0 0.8rem;
  font-size: 0.93rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #7d4f4e;
}

.hero h1,
.story-copy h2,
.section-heading h2,
.gallery-intro h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.hero h1 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  font-size: clamp(4.1rem, 7vw, 7.6rem);
  font-weight: 600;
}

.hero-and {
  margin: -0.1rem 0 0.15rem;
  color: var(--gold);
  font-family: "Great Vibes", cursive;
  font-size: 1.1em;
  line-height: 0.75;
}

.hero-signature {
  margin: 0.2rem 0 0.8rem;
  color: #7c2b35;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 4vw, 4.35rem);
}

.hero-tagline {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  font-size: 0.9rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #7e6a67;
}

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

.countdown-card {
  padding: 1rem 0.55rem 0.9rem;
  border: 1px solid rgba(155, 83, 77, 0.15);
  border-radius: 0.55rem;
  background: rgba(250, 237, 233, 0.92);
  box-shadow: 0 10px 26px rgba(92, 24, 43, 0.08);
}

.countdown-card strong {
  display: block;
  color: #5a1020;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.countdown-card span {
  font-size: 0.8rem;
  color: #7c6a67;
}

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

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  justify-content: center;
  text-align: left;
}

.detail-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  color: #ad7b33;
}

.detail-item p,
.detail-item strong {
  margin: 0;
}

.detail-item p {
  color: #7d6461;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.detail-item strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.primary-cta,
.secondary-cta,
.gallery-btn,
.event-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-cta {
  width: min(100%, 28rem);
  margin-top: 0.35rem;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(180deg, #8d2437 0%, #6f1426 100%);
  color: #fff7eb;
  box-shadow: 0 16px 34px rgba(91, 16, 32, 0.22);
}

.cta-icon {
  width: 1rem;
  height: 1rem;
}

.primary-cta:hover,
.secondary-cta:hover,
.gallery-btn:hover,
.event-card a:hover {
  transform: translateY(-1px);
}

.floating-note {
  position: absolute;
  right: 2.1rem;
  bottom: 2.3rem;
  z-index: 1;
  color: #b08a36;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.4rem, 3.1vw, 3.7rem);
  text-align: center;
  transform: rotate(-10deg);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

.story-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.9fr;
  min-height: 27rem;
}

.story-copy {
  padding: 4rem 3rem 4rem 4rem;
  background: #f6e8e4;
}

.story-copy h2 {
  margin-bottom: 1rem;
  max-width: 11ch;
  font-size: clamp(3rem, 4.7vw, 4.6rem);
  color: #5b1320;
}

.story-copy p {
  max-width: 30rem;
  margin: 0 0 1.35rem;
  color: #6d5a58;
  line-height: 1.7;
}

.secondary-cta,
.gallery-btn,
.event-card a {
  width: fit-content;
  padding: 0.8rem 1.15rem;
  border-color: rgba(109, 27, 44, 0.28);
  color: #5c1020;
  background: transparent;
}

.story-image {
  margin: 0;
  overflow: hidden;
  background: #d7b0a6;
}

.story-image img,
.event-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  text-align: center;
  color: #f8ebdf;
  background: linear-gradient(180deg, #6c0f24 0%, #560a1b 100%);
}

.quote-text {
  max-width: 10ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-style: italic;
}

.quote-ref {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #f1d6b6;
}

.quote-heart {
  color: var(--gold-soft);
  width: 1.25rem;
  height: 1.25rem;
}

.quote-signature {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 3vw, 3rem);
  color: #f6dfc7;
}

.events-section {
  padding: 3.8rem 2rem 4rem;
  background: linear-gradient(180deg, #fbf5ef 0%, #f5ebe5 100%);
}

.section-heading {
  margin-bottom: 1.6rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(2.4rem, 3.8vw, 3.45rem);
  color: #5b1320;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem 1.25rem 1.35rem;
  border: 1px solid rgba(104, 17, 36, 0.12);
  border-radius: 0.9rem;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.event-icon {
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 0.8rem;
  color: #ad7b33;
}

.event-icon svg {
  width: 100%;
  height: 100%;
}

.event-card h3 {
  margin: 0 0 0.9rem;
  color: #5c1020;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-card ul {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.event-card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0;
  font-size: 0.92rem;
  color: #5f5453;
}

.list-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  color: #b17d36;
}

.event-card li span {
  width: 1rem;
  text-align: center;
}

.event-card a {
  margin-top: auto;
}

.event-feature {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.gallery-section {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 1.25rem;
  padding: 1.2rem 0 0;
  background: #6b0d21;
  color: #fbf0e5;
}

.gallery-intro {
  padding: 3.2rem 2.2rem 3rem 3rem;
}

.gallery-intro h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.9rem, 4.8vw, 4.5rem);
}

.gallery-btn {
  border-color: rgba(246, 225, 192, 0.35);
  color: #f7e4c4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.7rem 2rem 1.2rem 0;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(26, 2, 8, 0.22);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 2rem 1.35rem;
  background: #f6eee7;
  border-top: 1px solid rgba(102, 20, 35, 0.1);
}

.footer-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #6e5a57;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-values span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-icon {
  width: 1rem;
  height: 1rem;
  color: #b68a36;
}

.footer-signoff {
  text-align: right;
}

.footer-signature {
  margin: 0;
  color: #6f1727;
  font-family: "Great Vibes", cursive;
  font-size: 2.4rem;
}

.footer-signoff p:last-child {
  margin: 0.15rem 0 0;
  color: #786665;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-mobile-art {
  display: none;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 25rem;
  align-content: center;
  justify-items: center;
  padding: 4rem 1.2rem;
  padding-left: 50%;
  text-align: center;
  color: #5b1320;
  background: linear-gradient(90deg, #6b1024 0 50%, #fbf3ec 50% 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: url("images/homepage-hero-section-bg.png") left center / cover no-repeat;
}

.page-hero > * {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
}

.page-hero .section-label {
  color: #8a5a55;
}

.page-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 500;
  line-height: 0.86;
}

.page-hero h1 em {
  color: #e9c16e;
  font-family: "Great Vibes", cursive;
  font-size: 1.05em;
  font-weight: 400;
}

.page-hero > p:last-child {
  margin: 1.2rem 0 0;
  color: #f5e3d3;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-content {
  width: min(74rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.page-content > .section-heading {
  margin-bottom: 2rem;
}

.story-page,
.form-page,
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.page-content h2,
.info-card h2 {
  margin: 0 0 1rem;
  color: #5b1320;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.page-content p:not(.section-label),
.info-card p:not(.section-label) {
  color: #6d5a58;
  line-height: 1.75;
}

.page-image {
  margin: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.page-image img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.quote-band {
  padding: 4rem 1.2rem;
  text-align: center;
  color: #fff0e3;
  background: linear-gradient(180deg, #6c0f24 0%, #560a1b 100%);
}

.quote-band p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-style: italic;
}

.quote-band span {
  display: block;
  margin-top: 0.7rem;
  color: #f1d6b6;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 28ch;
}

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

.event-card p {
  margin: 0;
  color: #6d5a58;
  line-height: 1.8;
}

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

.info-card {
  padding: 2.5rem;
  border: 1px solid rgba(104, 17, 36, 0.12);
  border-radius: 0.9rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.info-card:first-child {
  background: #f6e8e4;
}

.info-card:nth-child(2) {
  background: #fffaf7;
}

.gallery-page {
  width: min(78rem, calc(100% - 2.4rem));
}

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

.gallery-page .gallery-grid figure {
  min-height: 20rem;
}

.centered-page {
  max-width: 52rem;
  text-align: center;
}

.centered-page .primary-cta {
  margin-top: 1rem;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 0.9rem;
  background: #f6e8e4;
  box-shadow: var(--shadow);
}

.rsvp-form label {
  display: grid;
  gap: 0.4rem;
  color: #6d5a58;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(104, 17, 36, 0.18);
  border-radius: 0.45rem;
  padding: 0.85rem 0.9rem;
  color: var(--text);
  background: #fffaf7;
  font: inherit;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: 2px solid rgba(173, 123, 51, 0.45);
  outline-offset: 2px;
}

.rsvp-form textarea {
  resize: vertical;
}

.rsvp-form .primary-cta {
  cursor: pointer;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 1.2rem;
  }

  .primary-nav {
    gap: 1rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 40rem;
    padding-inline: 1.4rem;
  }

  .hero-copy {
    width: min(46rem, 50%);
  }

  .story-section,
  .events-layout,
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 20rem;
  }

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

  .event-feature {
    min-height: 24rem;
  }

  .gallery-intro {
    padding-bottom: 0;
  }

  .gallery-grid {
    padding: 0 1.2rem 1.2rem;
  }
}

@media (max-width: 1040px) and (min-width: 821px) {
  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav";
    padding-inline: 1rem;
  }

  .primary-nav {
    justify-content: flex-end;
    gap: 0.72rem;
    font-size: 0.68rem;
  }

  .rsvp-btn {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand menu"
      "nav nav";
    row-gap: 0.75rem;
  }

  .brand {
    grid-area: brand;
  }

  .menu-toggle {
    display: inline-block;
    grid-area: menu;
  }

  .rsvp-btn {
    display: none;
  }

  .primary-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 0 0 2rem;
    background: none;
  }

  .hero::before,
  .floating-note {
    display: none;
  }

  .hero-mobile-art {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: left center;
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 1.4rem 1.05rem 0;
    background: linear-gradient(180deg, rgba(255, 248, 243, 0.98), rgba(250, 239, 232, 0.98));
  }

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

  .hero-details {
    grid-template-columns: 1fr;
  }

  .story-copy,
  .gallery-intro,
  .site-footer {
    padding-inline: 1.05rem;
  }

  .story-copy {
    padding-top: 2.8rem;
    padding-bottom: 2.4rem;
  }

  .story-copy h2 {
    max-width: 100%;
  }

  .story-quote {
    min-height: 18rem;
  }

  .events-section {
    padding-inline: 1.05rem;
  }

  .event-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .footer-signoff {
    text-align: left;
  }

  .page-hero {
    min-height: 32rem;
    align-content: end;
    padding: 4rem 1.05rem 3rem;
    background: linear-gradient(180deg, #6b1024 0 48%, #fbf3ec 48% 100%);
  }

  .page-hero::before {
    inset: 0 0 52% 0;
    background-position: left center;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .page-hero .section-label {
    color: #8a5a55;
  }

  .page-content,
  .gallery-page {
    width: min(100% - 2.1rem, 74rem);
    padding-block: 3rem;
  }

  .story-page,
  .form-page,
  .contact-page,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .event-page-grid,
  .gallery-page .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-grid figure {
    min-height: 16rem;
  }

  .info-card,
  .rsvp-form {
    padding: 1.4rem;
  }

  .rsvp-form .primary-cta,
  .centered-page .primary-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.8rem 0.9rem;
  }

  .brand {
    font-size: 1.75rem;
  }

  .hero-copy {
    padding-top: 1.2rem;
  }

  .eyebrow,
  .section-label {
    letter-spacing: 0.24em;
    font-size: 0.76rem;
  }

  .hero-tagline {
    letter-spacing: 0.22em;
    font-size: 0.72rem;
  }

  .countdown-card {
    padding-block: 0.85rem 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-values {
    gap: 0.9rem 1.1rem;
  }
}
