:root {
  --bg: #f6f1ea;
  --bg-strong: #efe6dc;
  --surface: #f6f1ea;
  --surface-strong: #fffcf8;
  --text: #221c1a;
  --muted: #675853;
  --line: rgba(72, 50, 46, 0.22);
  --accent: #6d2231;
  --accent-soft: #93606b;
  --shadow: 0 28px 72px rgba(40, 23, 23, 0.14);
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: var(--bg);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-top: 4.8rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  width: min(calc(100% - 2rem), var(--max-width));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 20px rgba(57, 30, 33, 0.04);
  transform: translateX(-50%);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
}

.lang-button {
  min-width: 2.1rem;
  padding: 0.2rem 0.35rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang-button.is-active {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.brand,
h1,
h2,
h3,
.time,
.day-pill {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-end;
}

.site-nav a,
.nav-toggle {
  font-size: 0.98rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-card {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#snabbfakta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#helgen {
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(90deg, rgba(109, 34, 49, 0.045), transparent 65%);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 4.5rem));
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #372b29;
  box-shadow: var(--shadow);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(0.94) brightness(0.7);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(29, 20, 18, 0.67) 0%, rgba(29, 20, 18, 0.34) 48%, rgba(29, 20, 18, 0.15) 100%),
    linear-gradient(0deg, rgba(29, 20, 18, 0.38), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  padding: clamp(2rem, 6vw, 5rem);
}

.hero-copy,
.gift-card,
.info-card,
.contact-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy {
  position: relative;
  max-width: 42rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fffaf6;
}

.eyebrow,
.label,
.placeholder,
.support-copy,
.hero-meta {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 0.92;
  font-weight: 600;
}

.hero-meta {
  margin: 1.1rem 0 0;
  font-size: 1.25rem;
}

.hero-intro {
  position: relative;
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: 1.15rem;
  line-height: 1.7;
  z-index: 1;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff8f5;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #571723;
}

.button-secondary {
  border-color: rgba(255, 250, 246, 0.48);
  background: rgba(255, 250, 246, 0.11);
  color: #fffaf6;
}

.countdown-panel {
  width: min(100%, 42rem);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.countdown div {
  padding: 1rem 0.65rem;
  border-radius: 0;
  background: rgba(32, 21, 20, 0.32);
  border: 1px solid rgba(255, 250, 246, 0.28);
  box-shadow: none;
  text-align: center;
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  color: #fffaf6;
}

.countdown span {
  font-size: 0.92rem;
  color: rgba(255, 250, 246, 0.74);
}

.hero .eyebrow,
.hero .hero-meta {
  color: rgba(255, 250, 246, 0.82);
}

.hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  z-index: 1;
  font-size: 0.72rem;
  color: rgba(255, 250, 246, 0.72);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 0.98;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  font-weight: 600;
}

.facts-grid,
.weekend-grid,
.golf-grid,
.info-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.facts-grid article,
.weekend-grid article {
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.section-heading + .facts-grid article,
.section-heading + .weekend-grid article {
  padding-top: 0;
  border-top: 0;
}

.facts-grid p,
.support-copy,
.gift-card p,
.info-card p,
.contact-card p,
.faq-list p,
.timeline-item p,
.weekend-grid p {
  margin: 0;
  line-height: 1.65;
}

.facts-grid article p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.timeline {
  display: grid;
  gap: 0;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-width: 0;
}

.photo-placeholder {
  display: grid;
  place-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 1.5rem;
  border: 1px dashed rgba(109, 34, 49, 0.42);
  background:
    linear-gradient(135deg, rgba(109, 34, 49, 0.12), rgba(255, 252, 248, 0.68)),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(109, 34, 49, 0.035) 12px 13px);
  color: var(--accent);
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.photo-placeholder span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.photo-placeholder figcaption {
  color: var(--muted);
  line-height: 1.45;
}

.photo-placeholder-portrait {
  min-height: 31rem;
  aspect-ratio: 3 / 4;
}

.photo-placeholder-landscape {
  min-height: 13rem;
  aspect-ratio: 16 / 10;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.time,
.day-pill {
  color: var(--accent);
}

.time {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.weekend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3rem);
}

.weekend-grid article h3,
.info-card h3,
.contact-card h3 {
  font-size: 1.7rem;
}

.day-pill {
  display: block;
  padding: 0;
  margin-bottom: 0.9rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.golf-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5rem);
  row-gap: 2.5rem;
}

.info-card,
.contact-card,
.gift-card {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.section-heading + .info-grid .info-card:nth-child(-n + 2),
.section-heading + .golf-grid .info-card:nth-child(-n + 2),
.section-heading + .contact-grid .contact-card {
  padding-top: 0;
  border-top: 0;
}

.gift-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.section-heading + .gift-card {
  padding-top: 0;
  border-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.map-embed {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.rsvp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 2px solid var(--accent);
  background: rgba(255, 252, 248, 0.56);
}

#osa {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--bg-strong);
  border-radius: 0;
}

#osa .section-heading {
  border-color: rgba(109, 34, 49, 0.3);
}

.rsvp-form label,
.rsvp-form fieldset {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.rsvp-form fieldset {
  padding: 1.15rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.rsvp-form legend {
  padding: 0 0.3rem;
  color: var(--muted);
}

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

.choice-group-single {
  grid-template-columns: 1fr;
}

.conditional-field[hidden] {
  display: none;
}

.checkbox-group {
  display: grid;
  gap: 0.9rem;
}

.choice-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 4.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(98, 74, 67, 0.18);
  border-radius: 0;
  background: rgba(255, 252, 248, 0.55);
  cursor: pointer;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-height: 4rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(98, 74, 67, 0.18);
  border-radius: 0;
  background: rgba(255, 252, 248, 0.55);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.checkbox-card:hover,
.checkbox-card:focus-within {
  border-color: rgba(109, 34, 49, 0.42);
  background: rgba(255, 252, 248, 0.88);
  box-shadow: none;
  transform: none;
}

.choice-card:hover,
.choice-card:focus-within {
  border-color: rgba(109, 34, 49, 0.42);
  background: rgba(255, 252, 248, 0.88);
  box-shadow: none;
  transform: none;
}

.choice-card span {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-indicator {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid rgba(109, 34, 49, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  flex: 0 0 auto;
}

.checkbox-indicator {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid rgba(109, 34, 49, 0.38);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  flex: 0 0 auto;
}

.checkbox-indicator::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.1rem;
  width: 0.4rem;
  height: 0.75rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) scale(0.4);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.choice-indicator::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.choice-card:has(input:checked) {
  border-color: rgba(109, 34, 49, 0.56);
  background: rgba(109, 34, 49, 0.08);
  box-shadow: inset 0 0 0 1px rgba(109, 34, 49, 0.14);
}

.checkbox-card:has(input:checked) {
  border-color: rgba(109, 34, 49, 0.56);
  background: rgba(109, 34, 49, 0.08);
  box-shadow: inset 0 0 0 1px rgba(109, 34, 49, 0.14);
}

.choice-card:has(input:checked) .choice-indicator {
  border-color: var(--accent);
}

.choice-card:has(input:checked) .choice-indicator::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.checkbox-card:has(input:checked) .checkbox-indicator {
  border-color: var(--accent);
}

.checkbox-card:has(input:checked) .checkbox-indicator::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.choice-card:focus-within .choice-indicator {
  box-shadow: 0 0 0 4px rgba(109, 34, 49, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.checkbox-card:focus-within .checkbox-indicator {
  box-shadow: 0 0 0 4px rgba(109, 34, 49, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.rsvp-form input[type="text"] {
  width: 100%;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(98, 74, 67, 0.25);
  border-radius: 0;
  background: rgba(255, 252, 248, 0.74);
  color: var(--text);
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: 2px solid rgba(109, 34, 49, 0.18);
  border-color: var(--accent-soft);
}

.form-status {
  min-height: 1.6rem;
  color: var(--muted);
}

.form-status.is-error {
  color: #7c1528;
}

.form-status.is-success {
  color: #27543c;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5rem);
  row-gap: 0;
}

.faq-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
  font-weight: 600;
}

.faq-item p {
  max-width: 44rem;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .schedule-layout,
  .rsvp-layout,
  .golf-grid,
  .info-grid,
  .contact-grid,
  .gift-card,
  .facts-grid,
  .weekend-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 670px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .section-heading + .facts-grid article,
  .section-heading + .weekend-grid article {
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
  }

  .section-heading + .facts-grid article:first-child,
  .section-heading + .weekend-grid article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .section-heading + .info-grid .info-card:nth-child(-n + 2),
  .section-heading + .golf-grid .info-card:nth-child(-n + 2),
  .section-heading + .contact-grid .contact-card {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }

  .section-heading + .info-grid .info-card:first-child,
  .section-heading + .golf-grid .info-card:first-child,
  .section-heading + .contact-grid .contact-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .faq-item:nth-child(-n + 2) {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .faq-item:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 4.4rem;
  }

  .site-header {
    top: 0;
    width: min(calc(100% - 1rem), var(--max-width));
    flex-wrap: nowrap;
    border-radius: 0;
    padding: 1rem 0;
  }

  .brand {
    font-size: 1.45rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.45rem 0;
    color: var(--accent);
    font-weight: 600;
    margin-left: auto;
  }

  .nav-toggle::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 220ms ease;
  }

  .nav-toggle[aria-expanded="true"]::after {
    transform: rotate(45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0 1rem;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: rgba(246, 241, 234, 0.98);
    box-shadow: 0 14px 24px rgba(57, 30, 33, 0.08);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: max-height 280ms ease, margin 280ms ease, padding 280ms ease, border-color 280ms ease, opacity 180ms ease, transform 280ms ease;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.55rem 0;
  }

  .site-nav.is-open {
    max-height: 30rem;
    margin-top: 0;
    padding: 0.8rem 1rem 0.45rem;
    border-top-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0.6rem;
  }

  .section-card,
  .hero-copy,
  .faq-item,
  .gift-card,
  .info-card,
  .contact-card {
    border-radius: 0;
  }

  .choice-group {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: max(590px, calc(100svh - 5rem));
  }

  .hero-content {
    padding: 2rem 1.25rem 2.75rem;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(29, 20, 18, 0.73), rgba(29, 20, 18, 0.22));
  }

  .hero-copy {
    max-width: 30rem;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .hero-intro {
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 0.7rem;
    margin-top: 1.6rem;
  }

  .button {
    min-height: 3rem;
    padding: 0.75rem 1.1rem;
  }

  .countdown {
    gap: 0.4rem;
  }

  .countdown div {
    padding: 0.75rem 0.2rem;
  }

  .countdown strong {
    font-size: 1.85rem;
  }

  .photo-placeholder-portrait {
    width: min(100%, 19rem);
    min-height: 24rem;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }

  .photo-placeholder-landscape {
    min-height: 11rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-card {
    padding: 3.75rem 0;
  }

  #helgen {
    padding: 3.75rem 1.25rem;
  }

  #osa {
    padding: 3.75rem 1.25rem;
  }

  .section-heading {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }

  .rsvp-form {
    padding: 1.25rem;
  }

  .choice-card,
  .checkbox-card {
    min-height: 3.7rem;
    padding: 0.85rem 0.95rem;
  }

  .map-embed iframe {
    height: 220px;
  }

  .site-footer {
    padding: 2rem 0 2.5rem;
  }

  .hero-meta {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .hero {
    min-height: 565px;
  }

  .countdown strong {
    font-size: 1.6rem;
  }

  .countdown span {
    font-size: 0.75rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  .reveal,
  .button,
  .site-nav a,
  .text-link {
    transition: none;
  }
}
