/* --- Root Variables & Theme --- */
:root {
  --bg-main: #faf8f5;
  --bg-card: #ffffff;
  --text-primary: #322b38;
  --text-muted: #736c78;
  --accent-gold: #c2a478;
  --accent-purple: #a282b9;
  --accent-coral: #de9c83;
  --accent-gradient: linear-gradient(135deg, #de9c83 0%, #a282b9 100%);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Alex Brush", cursive;
  --font-sans: "Jost", sans-serif;

  --radius-lg: 24px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-primary);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Layout Utility Classes --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.small-container {
  max-width: 720px;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: rgba(255, 255, 255, 0.5);
}

.center-text {
  text-align: center;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 2px;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--accent-coral);
  border-color: var(--accent-coral);
}

/* --- Password Gate Effect --- */
.content-blurred {
  filter: blur(16px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.8s ease-out;
}

.content-unlocked {
  filter: blur(0);
  pointer-events: auto;
  user-select: auto;
}

.gatekeeper-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 43, 56, 0.4);
  backdrop-filter: blur(8px);
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}

.gatekeeper-modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.gatekeeper-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gatekeeper-card input {
  width: 100%;
  padding: 12px 16px;
  margin: 20px 0 15px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  text-align: center;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--text-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-gold);
}

.error-text {
  color: var(--accent-coral);
  font-size: 0.8rem;
  margin-top: 10px;
}

/* --- Sticky Header --- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000; /* Stays above blur content */
  padding: 24px 0;
  color: #ffffff;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

#site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: inherit;
  z-index: 10002;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-left: 28px;
  font-weight: 500;
  color: inherit;
  transition: var(--transition);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#site-header.scrolled .nav-links a {
  text-shadow: none;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 10002;
  color: inherit;
}

.mobile-menu-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
}

/* X Transformation on Open */
.mobile-menu-toggle.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobile Responsive Navigation Overrides --- */
@media (max-width: 768px) {
  #site-header.menu-open {
    color: var(--text-primary) !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10001;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    margin-left: 0;
    font-size: 1.25rem;
    letter-spacing: 3px;
    font-weight: 500;
    color: var(--text-primary);
    text-shadow: none;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
      transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active a:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active a:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav-links.active a:nth-child(3) {
    transition-delay: 0.2s;
  }
  .nav-links.active a:nth-child(4) {
    transition-delay: 0.25s;
  }
  .nav-links.active a:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition:
      width 0.3s ease,
      left 0.3s ease;
  }

  .nav-links a:hover::after {
    width: 100%;
    left: 0;
  }

  .grid-two-col,
  .map-split-card,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .script-title {
    font-size: 3.8rem;
  }
}

/* --- Hero Section --- */
.hero-section {
  height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(30, 20, 25, 0.45), rgba(30, 20, 25, 0.45)),
    url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 3px;
}

.script-title {
  font-family: var(--font-script);
  font-size: 5.8rem;
  color: #ffffff;
  line-height: 1.1;
  margin: 10px 0;
}

/* Animated Letter Styling */
.script-title span.char {
  display: inline-block;
  transition:
    color 0.6s ease,
    transform 0.6s ease,
    text-shadow 0.6s ease;
}

.script-title span.char.highlight {
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.sub-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.location-divider {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  display: inline-block;
}

.location-divider span {
  font-size: 0.75rem;
  letter-spacing: 2px;
}

/* --- Hero Scroll Down Indicator (Central Bottom Position) --- */
.scroll-indicator {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: #ffffff;
  text-decoration: none;
  z-index: 10;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  cursor: pointer;
}

.scroll-indicator .arrow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: heroBounce 2.2s infinite ease-in-out;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-indicator .arrow-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(222, 156, 131, 0.6);
  opacity: 0;
  animation: ripplePulse 2.2s infinite ease-out;
}

.scroll-indicator .scroll-arrow {
  stroke: #ffffff;
  transition:
    transform 0.3s ease,
    stroke 0.3s ease;
}

.scroll-indicator .scroll-label {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition:
    color 0.3s ease,
    letter-spacing 0.3s ease;
}

/* Hover Interactions */
.scroll-indicator:hover {
  transform: translateX(-50%) translateY(3px);
}

.scroll-indicator:hover .arrow-circle {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(222, 156, 131, 0.5);
  animation-play-state: paused;
}

.scroll-indicator:hover .scroll-arrow {
  transform: translateY(3px);
}

.scroll-indicator:hover .scroll-label {
  color: #ffffff;
  letter-spacing: 3.5px;
}

@keyframes heroBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

@keyframes ripplePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- Grid & Cards Layout --- */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.stats-row {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-card);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  flex: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
}

/* --- Map Card Section --- */
.card-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-top: 40px;
}

.map-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.map-graphic-side {
  background: #f3efea;
  position: relative;
  min-height: 350px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
}

.node-icon {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-details-side {
  padding: 40px;
}

.venue-item {
  margin-bottom: 20px;
}

.item-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.gold-dot {
  background: var(--accent-gold);
}
.purple-dot {
  background: var(--accent-purple);
}
.coral-dot {
  background: var(--accent-coral);
}

.divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 20px 0;
}

/* --- Accordions --- */
.accordion {
  margin-top: 40px;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid #e5e0d8;
}

.accordion-header {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding-bottom: 20px;
}

/* --- RSVP Form & Luxury Controls --- */
.rsvp-card {
  padding: 50px;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(50, 43, 56, 0.06);
  border: 1px solid rgba(222, 156, 131, 0.2);
}

.corner-accent {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--accent-gold);
  pointer-events: none;
}
.top-left {
  top: 18px;
  left: 18px;
  border-right: none;
  border-bottom: none;
}
.bottom-right {
  bottom: 18px;
  right: 18px;
  border-left: none;
  border-top: none;
}

/* Attendance Choice Cards */
.attendance-group {
  margin-bottom: 25px;
}

.section-sublabel {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.attendance-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.attendance-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #faf8f5;
  border: 2px solid #eae4dc;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.attendance-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-card .card-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc5bc;
  transition: var(--transition);
}

.attendance-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  transition: color 0.3s;
}

.attendance-card .card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.attendance-card:hover {
  border-color: var(--accent-coral);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(222, 156, 131, 0.15);
}

.attendance-card.active {
  background: #ffffff;
  border-color: var(--accent-coral);
  box-shadow: 0 6px 20px rgba(222, 156, 131, 0.2);
}

.attendance-card.active .card-indicator {
  border-color: var(--accent-coral);
  background-color: var(--accent-coral);
  box-shadow: inset 0 0 0 3px #ffffff;
}

#card-attend-no.active {
  border-color: var(--accent-purple);
  box-shadow: 0 6px 20px rgba(162, 130, 185, 0.2);
}

#card-attend-no.active .card-indicator {
  border-color: var(--accent-purple);
  background-color: var(--accent-purple);
}

/* Form Grid & Inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.full-width {
  grid-column: span 2;
}

.full-width-nested {
  grid-column: span 2;
  transition: var(--transition);
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group .req {
  color: var(--accent-coral);
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d2c9;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(162, 130, 185, 0.15);
}

.form-group input.input-error,
.form-group select.input-error {
  border-color: #d32f2f;
  background-color: #fffbfa;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 35px;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  pointer-events: none;
  font-size: 1rem;
}

/* Guest 2 Sub-card */
.guest-sub-card {
  background: #fbf9f6;
  border: 1px dashed var(--accent-purple);
  border-radius: 12px;
  padding: 20px;
  margin-top: 5px;
  animation: fadeInDown 0.35s ease-out;
}

.sub-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sub-card-header h4 {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--accent-purple);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alert Error Banner */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fdf2f2;
  border: 1px solid #f5c2c2;
  color: #a82323;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px;
  animation: shake 0.4s ease;
}

.alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #a82323;
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}

/* Submit Button & Spinner */
.btn-gradient {
  width: 100%;
  margin-top: 30px;
  padding: 16px 24px;
  border: none;
  border-radius: 30px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(222, 156, 131, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-gradient:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(222, 156, 131, 0.45);
}

.btn-gradient:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-outline {
  margin-top: 25px;
  padding: 12px 28px;
  border: 1px solid var(--accent-gold);
  border-radius: 25px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

/* Success Celebration View */
.rsvp-state-card {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInDown 0.5s ease-out;
}

.rsvp-state-card h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin: 15px 0 10px;
  color: var(--text-primary);
}

.rsvp-state-card p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.checkmark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: block;
  stroke-width: 2.5;
  stroke: var(--accent-gold);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--accent-gold);
  animation:
    fillCircle 0.4s ease-in-out 0.4s forwards,
    scaleCircle 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: var(--accent-gold);
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #ffffff;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fillCircle {
  100% {
    box-shadow: inset 0px 0px 0px 40px var(--accent-gold);
  }
}

@keyframes scaleCircle {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  margin-top: 18px;
  color: var(--text-muted);
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Mobile Responsive Tweaks --- */
@media (max-width: 768px) {
  .grid-two-col,
  .map-split-card,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .script-title {
    font-size: 3.8rem;
  }
}
