/* Align this event experience with the current joinimhere.com visual system. */
:root {
  --olive: #8b8b4e;
  --olive-brand: #6b7040;
  --yellow: #f2c84b;
  --cream: #f5f0e8;
  --cream-dark: #ede6d6;
  --red: #e84b1a;
  --red-dark: #c93e15;
  --brown: #3a2e1a;
  --muted: #7a7060;
  --blue: #7eb5c2;
  --brand-stripe: linear-gradient(90deg, var(--olive) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--red) 75% 100%);
}

html,
body {
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
}

body.is-loading { overflow: hidden; }

#view-event {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.event-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  background: #f7f1e8;
  opacity: 1;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.event-loader.is-leaving {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.event-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 390px);
  text-align: center;
  animation: loader-arrive 650ms ease-out both;
}

.event-loader-kicker {
  margin: 0 0 12px;
  color: var(--olive-brand);
  font-family: "League Spartan", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
}

.event-loader h1 {
  max-width: 370px;
  margin: 0 auto 16px;
  color: #342b1c;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.event-loader h1 > span {
  display: block;
  white-space: nowrap;
}

.event-loader h1 em {
  color: var(--red);
  font-style: italic;
}

.event-loader-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 30px;
}

.event-loader-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.event-loader-dots i:nth-child(1) { background: var(--red); }
.event-loader-dots i:nth-child(2) { background: var(--yellow); }
.event-loader-dots i:nth-child(3) { background: var(--blue); }

.event-loader-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 286px);
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--olive);
  box-shadow: 0 10px 22px rgba(58, 46, 26, 0.12);
  font-family: "League Spartan", sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.event-loader-progress:hover {
  background: var(--olive-brand);
  box-shadow: 0 13px 27px rgba(58, 46, 26, 0.16);
  transform: translateY(-2px);
}

.event-loader-progress:focus-visible,
.event-loader-signin:focus-visible {
  outline: 3px solid rgba(232, 75, 26, 0.4);
  outline-offset: 4px;
}

.event-loader-progress span {
  animation: loader-arrow 900ms ease-in-out infinite alternate;
}

.event-loader-signin {
  margin-top: 4px;
  padding: 3px 7px;
  border: 0;
  color: var(--olive-brand);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.event-loader-alt {
  margin: 15px 0 0;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
}

@keyframes loader-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-arrow {
  from { transform: translateX(0); }
  to { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .event-loader,
  .event-loader-inner,
  .event-loader-progress span { animation: none; transition: none; }
}

@media (max-height: 700px) {
  .event-loader h1 { margin-bottom: 12px; font-size: 31px; }
  .event-loader-dots { margin-bottom: 20px; }
  .event-loader-progress { min-height: 50px; }
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 300;
  background: var(--brand-stripe);
}

body::before { top: 0; }
body::after { bottom: 0; }

.site-header {
  min-height: 86px;
  height: auto;
  padding: 16px clamp(16px, 4vw, 34px) 12px;
  border: 0;
  background: rgba(245, 240, 232, 0.96);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-wordmark {
  color: var(--olive-brand);
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 31px;
  letter-spacing: -1.5px;
}

.brand-dots {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}

.brand-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.brand-dots i:nth-child(1) { background: var(--red); }
.brand-dots i:nth-child(2) { background: var(--yellow); }
.brand-dots i:nth-child(3) { background: var(--blue); }
.brand-dots i:nth-child(4) { background: var(--olive-brand); }

.site-header nav {
  align-items: center;
  gap: 4px;
}

.nav-link {
  border: 1.5px solid rgba(107, 112, 64, 0.3);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--olive-brand);
  background: rgba(255, 255, 255, 0.5);
  font-family: "League Spartan", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.view { min-height: calc(100vh - 86px); }

.hero {
  min-height: auto;
  width: 100%;
  max-width: 548px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
  align-items: center;
  color: var(--brown);
  background: transparent;
}

.hero-copy {
  padding: 0;
  text-align: center;
}

.event-hero-logo {
  display: block;
  width: min(100%, 218px);
  height: auto;
  margin: 0 auto 8px;
  background: transparent;
  mix-blend-mode: darken;
}

.hero-steps {
  display: grid;
  gap: 9px;
  width: min(100%, 470px);
  margin: 0 auto 22px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hero-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 53px;
  padding: 8px 16px 8px 14px;
  border: 1.5px solid rgba(107, 112, 64, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-steps li > span {
  display: block;
  color: var(--yellow);
  background: transparent;
  font-family: "League Spartan", sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-steps li:nth-child(2) > span { color: var(--red); }
.hero-steps li:nth-child(3) > span { color: var(--blue); }

.hero-steps p {
  margin: 0;
  color: var(--brown);
  font-size: 11px;
  line-height: 1.4;
}

.hero-steps strong { color: var(--red); }

.hero-quick-facts {
  display: grid;
  grid-template-columns: .8fr .8fr 1.4fr;
  gap: 0;
  width: min(100%, 470px);
  margin: 0 auto 22px;
  padding: 9px 0 10px;
  border-top: 1px solid rgba(107, 112, 64, 0.28);
  border-bottom: 1px solid rgba(107, 112, 64, 0.28);
}

.hero-quick-facts div {
  min-width: 0;
  padding: 3px 10px;
}

.hero-quick-facts div + div {
  border-left: 1px solid rgba(107, 112, 64, 0.2);
}

.hero-quick-facts dt {
  margin-bottom: 4px;
  color: var(--olive-brand);
  font-family: "League Spartan", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero-quick-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--brown);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.location-link {
  color: inherit;
  font-weight: inherit;
  text-decoration-color: rgba(107, 112, 64, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.location-link:hover { color: var(--red); }

.location-link:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--olive-brand);
  font-size: 10px;
  letter-spacing: 1.25px;
}

.hero h1 {
  margin: 0 0 19px;
  color: var(--brown);
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.8px;
}

.hero h1 em { color: var(--red); }

.hero-intro {
  max-width: 470px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.button {
  min-height: 48px;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 16px;
  box-shadow: none;
}

.button-primary { background: var(--red); }
.button-primary:hover { background: var(--red-dark); }

.hero-attendee-proof {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: min(100%, 330px);
  margin: 0 auto 13px;
  padding: 8px 12px;
  border: 1px solid #efeae0;
  border-radius: 12px;
  background: #faf8f4;
}

.hero-avatar-stack {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.hero-avatar-stack > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background: #d7c8b7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-avatar-stack > span:first-child { margin-left: 0; }

.hero-avatar-stack > span:not(.more)::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 51% 35%, #d4a07c 0 17%, transparent 19%),
    radial-gradient(ellipse at 50% 94%, #8b8b4e 0 47%, transparent 49%),
    linear-gradient(145deg, #e8d4bf, #9a735d);
  filter: blur(2.2px) saturate(0.82);
  transform: scale(1.12);
}

.hero-avatar-stack > span:nth-child(2)::before {
  background:
    radial-gradient(circle at 49% 34%, #8c5b42 0 17%, transparent 19%),
    radial-gradient(ellipse at 50% 94%, #e84b1a 0 47%, transparent 49%),
    linear-gradient(145deg, #4a322b, #c17e5f);
}

.hero-avatar-stack > span:nth-child(3)::before {
  background:
    radial-gradient(circle at 52% 35%, #efc3a4 0 17%, transparent 19%),
    radial-gradient(ellipse at 50% 94%, #7eb5c2 0 47%, transparent 49%),
    linear-gradient(145deg, #d1b7a4, #6f5145);
}

.hero-avatar-stack .more {
  color: var(--olive-brand);
  background: #fff;
  font-family: "League Spartan", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.hero-attendee-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-align: left;
}

.hero-attendee-proof strong,
.hero-attendee-proof p span { display: block; }

.hero-attendee-proof strong {
  color: var(--brown);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.experience h2 {
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.section-pad {
  max-width: 760px;
  padding: 78px 20px;
  text-align: center;
}

.experience h2 em { color: var(--red); }

.steps {
  gap: 11px;
  margin-top: 28px;
}

.steps article {
  padding: 21px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 17px;
}

.steps span { font-size: 27px; }
.steps h3 { margin: 9px 0 5px; font-size: 17px; }
.steps p { margin: 0; font-size: 12px; line-height: 1.55; }

.form-view {
  padding: 38px 14px 80px;
  background: var(--cream);
}

#view-auth {
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background: var(--cream);
}

.form-shell,
.form-shell.wide {
  width: min(100%, 500px);
  padding: clamp(22px, 6vw, 34px);
  border: 2px solid var(--cream-dark);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(58, 46, 26, 0.08);
}

.form-shell h1 { font-size: clamp(31px, 8vw, 43px); }
.form-lede { font-size: 13px; }

.auth-shell {
  position: relative;
  width: min(100%, 420px);
  padding: 52px 20px 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.auth-shell .back-button {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(107, 112, 64, 0.2);
  border-radius: 50%;
  color: var(--olive-brand);
  background: rgba(255, 255, 255, 0.48);
  font-size: 20px;
}

.auth-shell h1 {
  margin-bottom: 26px;
  font-size: clamp(32px, 9vw, 42px);
  letter-spacing: -1px;
}

.auth-shell h1 em {
  color: var(--red);
  font-style: italic;
}

.auth-shell form {
  gap: 12px;
  text-align: left;
}

.auth-shell input {
  min-height: 58px;
  margin-top: 6px;
  border: 1.5px solid rgba(107, 112, 64, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.auth-shell .button {
  min-height: 60px;
  margin-top: 8px;
  border: 1.5px solid var(--yellow);
  border-radius: 999px;
  background: var(--olive-brand);
  box-shadow: 0 8px 20px rgba(107, 112, 64, 0.2);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.auth-shell .button:hover { background: #5a5f36; }

.auth-shell .fine-print {
  max-width: 330px;
  margin: 20px auto 0;
  font-size: 11px;
  line-height: 1.55;
}

#view-rsvp {
  padding: 24px 16px 64px;
  background: var(--cream);
}

.form-shell.rsvp-shell {
  position: relative;
  width: min(100%, 680px);
  padding: 48px 12px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rsvp-shell > .back-button {
  position: absolute;
  top: 0;
  left: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(107, 112, 64, 0.2);
  border-radius: 50%;
  color: var(--olive-brand);
  background: rgba(255, 255, 255, 0.48);
  font-size: 20px;
}

.rsvp-header {
  margin-bottom: 24px;
  text-align: center;
}

.rsvp-header .eyebrow { margin-bottom: 8px; }

.rsvp-shell .rsvp-header h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.08;
}

.rsvp-header h1 em {
  color: var(--red);
  font-style: italic;
}

.rsvp-header > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.rsvp-shell form { gap: 14px; }

.rsvp-fields {
  display: grid;
  gap: 15px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(107, 112, 64, 0.2);
}

.rsvp-shell label,
.rsvp-shell legend {
  color: var(--brown);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.rsvp-shell input,
.rsvp-shell textarea {
  min-height: 48px;
  margin-top: 6px;
  border: 1.5px solid rgba(107, 112, 64, 0.24);
  border-radius: 12px;
  background: #fff;
}

.rsvp-shell input[readonly] { background: #f1ede5; }

.rsvp-shell small {
  margin-top: 5px;
  font-size: 10px;
}

.rsvp-optional {
  overflow: hidden;
  border-bottom: 1px solid rgba(107, 112, 64, 0.2);
}

.rsvp-fields + .rsvp-optional { margin-top: -14px; }

.rsvp-optional summary {
  align-items: center;
  min-height: 48px;
  padding: 10px 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.rsvp-optional summary::after {
  content: "+";
  color: var(--red);
  font-size: 20px;
}

.rsvp-optional[open] summary::after { content: "−"; }

.rsvp-optional summary small {
  display: inline;
  margin: 0 16px 0 auto;
  color: var(--olive-brand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rsvp-optional-inner {
  display: grid;
  gap: 15px;
  padding: 8px 0 20px;
}

.event-interest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-interest-heading > span {
  color: var(--brown);
  font-family: "League Spartan", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.event-interest-heading small {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.event-interest-search-wrap {
  position: relative;
  margin-top: 8px;
}

.event-interest-search-wrap > span {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: var(--olive-brand);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  transform: translateY(-53%);
  pointer-events: none;
}

#event-interest-search {
  min-height: 44px;
  margin: 0;
  padding-left: 38px;
  font-size: 12px;
}

.event-interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.event-interest-pill {
  min-height: 30px;
  padding: 6px 12px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 999px;
  color: var(--brown);
  background: #fff;
  font-family: "League Spartan", sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.event-interest-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.event-interest-pill.is-selected {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
  font-weight: 800;
  box-shadow: 0 3px 9px rgba(232, 75, 26, 0.2);
}

.event-interest-pill.is-create {
  border-style: dashed;
  border-color: var(--olive-brand);
  color: var(--olive-brand);
  background: transparent;
}

.event-interest-help {
  margin-top: 8px;
}

.profile-display-choice {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.profile-display-choice legend {
  margin-bottom: 8px;
}

.profile-display-choice .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-display-choice .choice span {
  padding: 10px 8px;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.profile-display-choice .choice input:checked + span {
  border-color: var(--olive-brand);
  color: #fff;
  background: var(--olive-brand);
}

.photo-controls {
  padding-top: 2px;
}

.photo-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}

.photo-preview {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 2px dashed rgba(107, 112, 64, 0.45);
  border-radius: 50%;
  color: var(--olive-brand);
  background: rgba(255, 255, 255, 0.75);
  cursor: grab;
}

.photo-preview > span {
  font-family: "DM Sans", sans-serif;
  font-size: 25px;
  font-weight: 400;
}

.photo-preview canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
}

.photo-preview canvas:active { cursor: grabbing; }

.photo-picker-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#rsvp-photo {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.photo-choose,
.photo-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(107, 112, 64, 0.3);
  border-radius: 999px;
  color: var(--olive-brand);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.photo-remove {
  color: var(--red);
  background: transparent;
}

.photo-adjustments {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.photo-adjustments > label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.photo-adjustments input[type="range"] {
  width: 100%;
  min-height: 0;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--olive-brand);
}

.photo-adjustments small {
  margin: 4px 0 0;
  text-align: center;
}

.rsvp-consent {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(107, 112, 64, 0.2);
}

.rsvp-optional + .rsvp-consent { margin-top: -14px; }

.rsvp-consent .check {
  gap: 10px;
  padding: 13px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rsvp-consent .check + .check {
  border-top: 1px solid rgba(107, 112, 64, 0.14);
}

.rsvp-consent .check strong {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.rsvp-consent .check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 1px;
}

.rsvp-submit {
  min-height: 58px;
  border: 1.5px solid var(--yellow);
  border-radius: 999px;
  background: var(--olive-brand);
  box-shadow: 0 8px 20px rgba(107, 112, 64, 0.2);
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.rsvp-submit:hover { background: #5a5f36; }

.rsvp-event-notice {
  max-width: 440px;
  margin: -2px auto 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

input,
textarea {
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.choice span { border: 2px solid var(--cream-dark); border-radius: 11px; }
.check { border: 1px solid var(--cream-dark); border-radius: 11px; }

.confirmation-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: max(32px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
  color: var(--brown);
  background: var(--cream);
}

.confirmation-shell { width: min(100%, 390px); margin: 0 auto 10px; padding: 24px 14px 14px; border: 1.5px solid var(--cream-dark); border-radius: 24px; text-align: center; background: #fff; box-shadow: 0 16px 40px rgba(58,46,26,.12); }
.confirmation-view .eyebrow { margin: 0 0 7px; color: var(--olive-brand); font-size: 13px; letter-spacing: 1.8px; }
.confirmation-view h1 { margin: 0 0 16px; color: var(--brown); font-family: "League Spartan", sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -0.7px; line-height: .98; }
.confirmation-card { position: relative; margin: 0 auto; padding: 18px 15px 14px; overflow: hidden; border: 1.5px solid var(--cream-dark); border-radius: 20px; color: var(--brown); text-align: center; background: #faf6ee; box-shadow: none; }
.confirmation-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--olive-brand) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--red) 75% 100%); }
.confirmation-card h2 { margin: 0 0 12px; font-family: "League Spartan", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: 0; }
.confirmation-detail-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; color: var(--brown); font-size: 13px; text-align: center; text-decoration: none; }
.confirmation-detail-row > span { text-align: center; }
.confirmation-detail-row svg { flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.confirmation-detail-row strong { font-weight: 700; }
.confirmation-detail-row small { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; }
.confirmation-location:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.calendar-save-button { display: flex; width: max-content; min-height: 42px; margin: 14px auto 0; padding: 11px 18px; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: var(--red); box-shadow: none; font-size: 12px; }
.calendar-save-button svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button-outline-light { color: var(--brown); border-color: var(--olive-brand); }
.confirmation-next { margin-top: 30px; text-align: left; }
.confirmation-next-label { margin: 0 0 10px 4px; color: var(--olive-brand); font-family: "League Spartan", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.confirmation-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 9px; }
.action-card { display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; gap: 13px; padding: 14px 16px; border: 1.5px solid var(--cream-dark); border-radius: 15px; background: #fff; box-shadow: none; }
.action-card:hover { border-color: var(--olive-brand); }
.action-card .action-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 50%; background: var(--yellow); color: var(--brown); font-size: 9px; letter-spacing: -1px; }
.action-card .invite-icon { background: var(--blue); color: #fff; font-size: 24px; letter-spacing: 0; }
.action-card .share-action-icon { background: var(--yellow); font-size: 20px; letter-spacing: 0; }
.action-card .action-copy { min-width: 0; }
.action-card strong { margin: 0 0 2px; font-size: 14px; }
.action-card small { margin: 0; font-size: 11px; }
.action-card .action-arrow { color: var(--olive-brand); font-size: 18px; }
.confirmation-links { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 auto; color: #a39a8b; }
.confirmation-view > .status { width: min(100%, 390px); margin: 8px auto 0; text-align: center; }
.confirmation-view > .status:empty { display: none; }
.confirmation-invite { display: inline-grid; grid-template-columns: 46px auto; align-items: center; gap: 12px; padding: 9px 13px 9px 9px; border: 0; border-radius: 999px; color: var(--brown); text-align: left; background: transparent; cursor: pointer; }
.confirmation-invite:hover { background: rgba(255,255,255,.68); }
.invite-bubble { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 25px; }
.invite-bubble svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.confirmation-invite strong,
.confirmation-invite small { display: block; }
.confirmation-invite strong { font-size: 14px; }
.confirmation-invite small { margin: 2px 0 0; font-size: 11px; }
.share-link.light,
.cancel-link { color: var(--muted); padding: 8px; font-size: 11px; font-weight: 600; }
.status.light { color: var(--red); }


@media (max-width: 760px) {
  .site-header { min-height: 74px; padding-top: 14px; }
  .brand-wordmark { font-size: 26px; }
  .nav-link { padding: 8px 10px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding: 24px 18px; }
  .hero-copy { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 520px) {
  .site-header { align-items: center; }
  .site-header nav { gap: 3px; }
  .site-header nav [data-action="show-directory"] { display: none !important; }
  .hero h1 { font-size: 39px; }
  .hero-intro { font-size: 12px; }
  .hero-quick-facts { grid-template-columns: .82fr .82fr 1.36fr; }
  .steps { grid-template-columns: 1fr; }
  .confirmation-actions { grid-template-columns: 1fr; }
  .confirmation-view { margin: 0; }
  .confirmation-view { padding-left: 24px; padding-right: 24px; }
  .confirmation-shell { padding: 26px 18px 20px; }
  #view-auth { padding: 18px; }
  .auth-shell { padding: 52px 22px 28px; }
  #view-rsvp {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    padding-left: max(20px, env(safe-area-inset-left));
    overflow-x: hidden;
  }
  .form-shell.rsvp-shell {
    width: min(100%, 380px);
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 0 18px;
  }
  .rsvp-shell > .back-button { left: 0; }
  .rsvp-shell .rsvp-header h1 { font-size: clamp(38px, 11vw, 46px); }
  .rsvp-shell input,
  .rsvp-shell textarea,
  #event-interest-search { width: 100%; min-width: 0; max-width: 100%; }
  .event-interest-pills { max-width: 100%; }
  .event-interest-pill { max-width: 100%; white-space: normal; }
  .rsvp-fields .field-grid { grid-template-columns: 1fr; }
  .rsvp-header { margin-bottom: 20px; }
}

@media (max-width: 370px) {
  #view-rsvp {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }
  .rsvp-shell .rsvp-header h1 { font-size: 36px; }
  .event-interest-pills { gap: 5px; }
  .event-interest-pill { padding: 6px 10px; font-size: 10.5px; }
}
