/* ==========================================================================
   Kaumudi & Leon Wedding Website
   Direction: Nagaon Beach / Arabian Sea + Maharashtrian Lagnapatrika
   ========================================================================== */

:root {
  --ground: #F8FAFA;
  --paper: #FFFFFF;
  --sea: #163B49;
  --sea-ink: #F5F7F7;
  --sea-muted: #C6D5DB;

  --ink: #12232B;
  --ink-muted: #465B64;
  --ink-soft: #546872;

  --garnet: #8B1E3F;
  --garnet-hover: #6E1530;
  --garnet-tint: #FBF2F5;

  --halad: #9B5D07;
  --halad-tint: #FDF7EC;

  --rule: #DCE4E6;
  --rule-strong: #B8C7CB;

  --font-display: "Cormorant Garamond", "Tiro Devanagari Marathi", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-control: 4px;
  --header-offset: 7.25rem;
}

/* Dedicated Devanagari typography tuning for Marathi */
html[lang="mr"] {
  --font-display: "Tiro Devanagari Marathi", "Noto Sans Devanagari", Georgia, serif;
  --font-body: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html[lang="mr"] body {
  line-height: 1.82;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, dt, address, figure {
  margin: 0;
}

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

ul, ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: var(--garnet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--garnet-hover);
}

:focus-visible {
  outline: 2px solid var(--garnet);
  outline-offset: 3px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-control);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

/* Varied Width Shells by Section Role */
.shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.shell--wide {
  max-width: 1180px;
}

.shell--program {
  max-width: 1040px;
}

.shell--narrow {
  max-width: 680px;
}

/* ==========================================================================
   Persistent Solid Header & Language Switcher
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding-block: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.brand-mark:hover .brand-name {
  color: var(--garnet);
}

html[lang="mr"] .brand-name {
  font-size: clamp(1rem, 3.2vw, 1.22rem);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-control);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.lang-btn[lang="mr"] {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-weight: 600;
}

.lang-btn:hover {
  color: var(--ink);
  background: var(--ground);
}

.lang-btn.is-active {
  color: var(--garnet);
  font-weight: 600;
  background: var(--garnet-tint);
}

.lang-sep {
  color: var(--rule-strong);
  font-size: 0.8rem;
  user-select: none;
}

/* Navigation: extra horizontal padding for longer German strings */
.site-nav {
  order: 3;
  flex: 1 0 100%;
  border-top: 1px solid var(--rule);
  padding-top: 0.55rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-control);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-link:hover {
  color: var(--garnet);
  background: var(--ground);
}

.nav-link--rsvp {
  color: var(--garnet);
  font-weight: 600;
}

.nav-link--rsvp:hover {
  background: var(--garnet-tint);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.8rem;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: var(--garnet);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--garnet-hover);
  color: var(--paper);
}

.btn-primary:active {
  background: #591026;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-secondary:hover {
  border-color: var(--garnet);
  color: var(--garnet);
  background: var(--garnet-tint);
}

/* ==========================================================================
   Hero Section: Unboxed Open Editorial Split
   ========================================================================== */

.hero-section {
  padding-block: 2.25rem 3.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.25rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-kicker {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.guest-greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

html[lang="mr"] .guest-greeting {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.12rem;
}

.guest-name {
  font-style: normal;
  font-weight: 600;
  color: var(--garnet);
  overflow-wrap: anywhere;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11.5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

html[lang="mr"] .hero-title {
  font-size: clamp(2.45rem, 9vw, 4.15rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-invite-line {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 30rem;
  margin-bottom: 1.25rem;
}

.seats-note {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid #E2C79A;
  background: var(--halad-tint);
  color: #6F4204;
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: 34rem;
  padding-block: 1.35rem;
  margin-bottom: 1.85rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hero-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-detail-item dt {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-detail-item dd {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

html[lang="mr"] .hero-detail-item dd {
  font-size: 1.28rem;
  line-height: 1.5;
}

.hero-detail-item .hero-venue-sub {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.hero-actions .btn {
  flex: 1 1 11rem;
  max-width: 16rem;
}

/* Framed Print Portrait (crisp mat border, no floating SaaS card) */
.hero-media {
  order: -1;
}

.hero-photo-frame {
  width: min(100%, 420px);
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: 50% 34%;
}

/* ==========================================================================
   Shared Sections & Varied Rhythm
   ========================================================================== */

.section {
  padding-block: 4rem;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section--sea {
  background: var(--sea);
  color: var(--sea-ink);
  padding-block: 4.75rem;
}

.section-header {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--garnet);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-title--light {
  color: var(--sea-ink);
}

html[lang="mr"] .section-title {
  line-height: 1.35;
}

.section-subtitle {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.events-notice {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(139, 30, 63, 0.28);
  background: var(--garnet-tint);
  color: var(--garnet);
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================================================
   Events / Two-Day Printed Program
   ========================================================================== */

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.program-day-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.25rem;
}

html[lang="mr"] .program-day-title {
  font-size: 1.55rem;
  line-height: 1.45;
}

.program-list {
  display: flex;
  flex-direction: column;
}

.program-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-block: 1.65rem;
  border-bottom: 1px solid var(--rule);
}

.program-time {
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--garnet);
}

.program-item--haldi .program-time {
  color: var(--halad);
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.program-item--wedding .event-title {
  color: var(--garnet);
}

html[lang="mr"] .event-title {
  font-size: 1.5rem;
  line-height: 1.4;
}

.program-venue {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.inline-icon {
  flex: 0 0 auto;
  color: var(--sea);
}

.event-desc {
  font-size: 0.97rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.event-attire {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.event-attire strong {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   Venue & Travel: Open Editorial Layout with Bare Line Icons
   ========================================================================== */

.venue-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--rule);
}

.venue-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.travel-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.heading-icon {
  flex: 0 0 auto;
  color: var(--garnet);
}

.venue-name {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--sea);
}

.venue-address {
  color: var(--ink);
  font-size: 0.96rem;
}

.travel-text {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.venue-actions {
  margin-top: 0.5rem;
}

.venue-map-frame {
  width: 100%;
  min-height: 270px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.venue-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  border: 0;
}

.travel-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-top: 2.5rem;
}

.travel-note-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Gifts Section: Full-Bleed Deep Arabian Sea Band
   ========================================================================== */

.gifts-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.75rem;
}

.gifts-mark {
  color: #E2BE7C;
  margin-bottom: 0.25rem;
}

.gifts-kicker {
  font-size: 0.94rem;
  font-weight: 600;
  color: #E2BE7C;
}

.gifts-text {
  font-size: 1.04rem;
  color: var(--sea-muted);
  max-width: 36rem;
}

.gifts-text--emphasis {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 1.7rem);
  line-height: 1.4;
  color: var(--sea-ink);
  margin-top: 0.25rem;
}

html[lang="mr"] .gifts-text--emphasis {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.75;
}

/* ==========================================================================
   RSVP Section & Native Form
   ========================================================================== */

.rsvp-deadline {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.rsvp-deadline strong {
  color: var(--garnet);
}

.rsvp-guest-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  font-size: 0.95rem;
}

.rsvp-guest-label {
  color: var(--ink-muted);
}

.rsvp-guest-seats {
  padding: 0.18rem 0.65rem;
  background: var(--halad-tint);
  border: 1px solid #E2C79A;
  border-radius: var(--radius-control);
  color: #6F4204;
  font-size: 0.85rem;
  font-weight: 600;
}

.rsvp-panel {
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-fieldset legend {
  padding: 0;
  margin-bottom: 0.65rem;
}

.form-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}

.required-mark {
  color: var(--garnet);
}

.form-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-control);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.form-input::placeholder {
  color: var(--ink-soft);
}

.form-input:hover {
  border-color: var(--sea);
}

.form-input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--garnet);
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.form-hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Tactile Radio & Checkbox Choices */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.choice-card-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding: 0.85rem 1rem;
  background: var(--ground);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-control);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.choice-card:hover .choice-card-box {
  border-color: var(--sea);
}

.choice-card input:focus-visible + .choice-card-box {
  outline: 2px solid var(--garnet);
  outline-offset: 2px;
}

.choice-card input:checked + .choice-card-box {
  background: var(--garnet-tint);
  border-color: var(--garnet);
}

.choice-indicator,
.choice-check {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1.6px solid var(--rule-strong);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.choice-indicator {
  border-radius: 50%;
}

.choice-check {
  border-radius: 3px;
}

.choice-card input:checked + .choice-card-box .choice-indicator {
  border-color: var(--garnet);
  box-shadow: inset 0 0 0 5px var(--garnet);
}

.choice-card input:checked + .choice-card-box .choice-check {
  border-color: var(--garnet);
  background: var(--garnet);
}

.choice-card input:checked + .choice-card-box .choice-check::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.choice-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.choice-text {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.choice-sub {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* Additional Guests Stepper */
.rsvp-attending-fields {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.stepper {
  display: inline-flex;
  align-items: stretch;
  max-width: 11.5rem;
  border-radius: var(--radius-control);
  overflow: hidden;
  border: 1.5px solid var(--rule-strong);
  background: var(--paper);
}

.stepper-btn {
  appearance: none;
  border: 0;
  background: var(--ground);
  color: var(--ink);
  width: 46px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.stepper-btn:hover {
  background: var(--garnet);
  color: var(--paper);
}

.stepper-input {
  border: 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-radius: 0;
  text-align: center;
  font-weight: 600;
  padding-inline: 0.5rem;
  background: var(--paper);
  -moz-appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-error {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  background: var(--garnet-tint);
  border: 1px solid var(--garnet);
  color: var(--garnet-hover);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.rsvp-submit-btn {
  width: 100%;
}

.rsvp-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Inline Confirmation State */
.rsvp-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 0;
}

.rsvp-success-icon {
  color: var(--sea);
}

.rsvp-success-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.rsvp-success-text {
  max-width: 32rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 3rem 3.25rem;
  background: var(--ground);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-names {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer-message {
  color: var(--ink-muted);
  max-width: 30rem;
  font-size: 0.96rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-top-link {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First)
   ========================================================================== */

@media (min-width: 640px) {
  .shell {
    padding-inline: 1.75rem;
  }

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

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

  .travel-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  :root {
    --header-offset: 4.75rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0.9rem;
  }

  .site-nav {
    order: 0;
    flex: 0 1 auto;
    border-top: none;
    padding-top: 0;
  }

  .section {
    padding-block: 5rem;
  }

  .section--sea {
    padding-block: 5.5rem;
  }

  .program-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
  }

  .venue-feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    align-items: stretch;
    gap: 2.75rem;
  }

  .venue-details {
    justify-content: center;
  }

  .venue-map-frame,
  .venue-map-iframe {
    min-height: 320px;
  }

  .rsvp-submit-btn {
    width: auto;
    min-width: 13.5rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .hero-section {
    padding-block: 4rem 5.25rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5rem;
  }

  .hero-media {
    order: 0;
    display: flex;
    justify-content: flex-end;
  }

  .hero-photo-frame {
    width: min(100%, 440px);
    padding: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
