/* © 2025 'Of A Space LTD.' */

/* ==============================================
   FONT DECLARATIONS
   ============================================== */
@font-face {
  font-family: "LetterGothicStd";
  src: url("/src/assets/brand/fonts/lettergothicstd-webfont.woff2") format("woff2"),
    url("/src/assets/brand/fonts/lettergothicstd-webfont.woff") format("woff"),
    url("/src/assets/brand/fonts/lettergothicstd-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LetterGothicStd";
  src: url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.woff2")
      format("woff2"),
    url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.woff") format("woff"),
    url("/src/assets/brand/fonts/lettergothicstd-bold-webfont.ttf")
      format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ==============================================
   CSS RESET & BASE STYLES (from globals.css)
   ============================================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --mobile-scale: 1.3; /* Scale factor for mobile readability */
  --base-line-height: 18px; /* Global value for line height */
  --base-letter-spacing: 0.1px; /* Global value for letter spacing */
}

html {
  font-size: 14px; /* Global value for font size - ##px =1rem */
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "LetterGothicStd", "Courier New", monospace;
  background-color: #f2f2f2;
  color: #000;
  line-height: 1.4;
  font-weight: normal;
  min-height: 100vh;
  min-height: 100dvh; /* iOS 26 - dynamic viewport for scrolling pages */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
  margin: 0px;
}

button:focus-visible {
  outline: none !important;
}

button:focus {
  outline: none !important;
}

button {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

button::-moz-focus-inner {
  border: 0;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
button,
input,
select,
textarea,
label,
a {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
}

/* ==============================================
   HERO IMAGE
   ============================================== */

.hero-image {
  position: absolute;
  top: 0;
  left: calc(50% - 300px);
  width: 500px;
  height: auto;
  object-fit: cover;
}

/* ==============================================
   MAIN LAYOUT STYLES
   ============================================== */

.exhibition-layout {
  margin: 16px auto 0 auto;
  width: 700px;
  min-height: 1200px;
  padding-bottom: 50px;
  position: relative;
  transition: min-height 0.3s ease;
}

.exhibition-layout.acts-expanded {
  min-height: 1596px;
}

/* Left Side Content */
.exhibition-content {
  width: 100%;
  align-items: flex-start;
  gap: 15px;
  top: 570px;
  left: calc(50% - 300px);
  display: flex;
  flex-direction: column;
  position: absolute;
}

.event-description {
  position: relative;
  width: 65%;
  margin-top: -1px;
  margin-right: -228.83px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

/* ==============================================
   VENUE INFORMATION SECTION
   ============================================== */

/* Right Side Content */
.venue-info {
  width: 100%;
  align-items: flex-end;
  gap: 184px;
  top: 535px;
  left: calc(50% + 70px);
  display: flex;
  flex-direction: column;
  position: absolute;
}

.venue-title {
  position: relative;
  width: 100%;
  margin-top: -1px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.venue-details {
  position: relative;
  width: 100%;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: 500;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  font-style: normal;
  padding-top: 80px;
}

/* ==============================================
   ACTS TOGGLE SECTION
   ============================================== */

.acts-toggle {
  display: inline-flex;
  align-items: flex-end;
  gap: 9px;
  position: relative;
  flex: 0 0 auto;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.acts-toggle:hover {
  opacity: 0.8;
}

.acts-label {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: 500;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.toggle-icon {
  position: relative;
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.acts-placeholder {
  width: 100%;
  height: 140px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: 500;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  position: relative;
  margin-right: -131.83px;
}

.acts-content {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  flex: 0 0 auto;
  position: relative;
  margin-right: -131.83px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.acts-content.show {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.statement-divider {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
  color: #000000;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin-top: 8px;
}

/* ==============================================
   ACTS CONTENT ITEMS
   ============================================== */

.act-item,
.curatorial-statement {
  position: relative;
  width: 300px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.act-item:first-child {
  margin-top: -1px;
}

.acts-content article h3 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 0 0 15px 0;
}

.acts-content article h3::before {
  content: "——————————————————————————————————————";
  display: block;
  margin-bottom: 10px;
}

.acts-content article p {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
  line-height: var(--base-line-height);
  margin: 0;
}

/* ==============================================
   EVENT ACTIONS SECTION
   ============================================== */

.press-buttons {
  display: none;
}

.press-buttons.show {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}

.press-buttons .action-button {
  margin-top: 0;
  width: 100% !important;
  align-self: stretch;
  box-sizing: border-box;
}

/* RSVP Section Styles (similar to press buttons) */
.rsvp-section {
  display: none;
}

.rsvp-section.show {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}

.rsvp-section .action-button {
  margin-top: 0;
  width: 100% !important;
  align-self: stretch;
  box-sizing: border-box;
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.rsvp-section .action-button:hover {
  background-color: #333;
}

.rsvp-section .action-button .button-text {
  color: #fff;
}

/* RSVP Section Desktop - similar to press buttons desktop */
.rsvp-section-desktop {
  display: none;
}

.rsvp-section-desktop.show {
  display: block;
  max-width: 180px;
  padding-top: 20px;
}

.rsvp-section-desktop .action-button {
  margin-top: 0;
  width: 100% !important;
  align-self: stretch;
  box-sizing: border-box;
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.rsvp-section-desktop .action-button:hover {
  background-color: #333;
}

.rsvp-section-desktop .action-button .button-text {
  color: #fff;
}

/* Press buttons - desktop and mobile versions */
.press-buttons-desktop {
  display: none;
}

.press-buttons-desktop.show {
  display: block;
  max-width: 180px;
  padding-top: 20px;
}

.press-buttons-mobile {
  display: none;
}

.press-buttons-mobile.show {
  display: block;
  max-width: 180px;
  padding-top: 20px;
}

/* RSVP conditional content - only show when rsvp-section is shown */
.rsvp-conditional {
  display: none;
  padding-top: 10px;
}

.rsvp-section.show ~ .rsvp-conditional,
.rsvp-section-desktop.show ~ .rsvp-conditional,
.rsvp-section-mobile.show ~ .rsvp-conditional {
  display: block;
}

/* ==============================================
   VISITOR INFORMATION POPUP
   ============================================== */

.visitor-info-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f2f2f2;
  opacity: 1;
}

.popup-content {
  position: relative;
  max-width: 400px;
  max-height: calc(80vh + 50px);
  margin: 5vh auto;
  background-color: #f2f2f2;
  z-index: 1001;
  margin-left: 20%; /* Slightly towards the left on desktop */
  display: flex;
  flex-direction: column;
}

.popup-header {
  position: relative;
  padding: 20px 30px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
}

.popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.popup-footer {
  position: relative;
  padding: 15px 30px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.popup-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.2);
}

.popup-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
  font-family: "LetterGothicStd", "Courier New", monospace;
  padding: 0;
  margin: 0;
}

.popup-close:hover {
  opacity: 0.7;
}

.scroll-indicator {
  font-size: 16px;
  color: #000;
  font-family: "LetterGothicStd", "Courier New", monospace;
  cursor: default;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.visitor-info-text {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.popup-header h2 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 0;
  text-align: left;
}

.visitor-info-text h2 {
  display: none; /* Hide as it's now in header */
}

.visitor-info-text h3 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 20px 0 8px 0;
}

.visitor-info-text p {
  margin: 0 0 16px 0;
}

.event-actions {
  display: flex;
  flex-direction: column;
  width: 35%;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  flex: 0 0 auto;
  margin-right: -26.83px;
  padding-bottom: 150px;
}

.action-button {
  display: flex;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 45px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  border: 0.5px solid #000000;
  background: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.action-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.action-button:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.button-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -5.5px;
  margin-bottom: -2.5px;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: 700;
  color: #000000;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 12px;
  white-space: nowrap;
}

.launch-event-info,
.partner-acknowledgment {
  position: relative;
  align-self: stretch;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: 500;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.partner-acknowledgment {
  padding-top: 70px;
}

.launch-event-info {
  padding-bottom: 10px;
}

.partner-acknowledgment span {
  letter-spacing: 0.01px;
}

.partner-link {
  letter-spacing: 0.01px;
  text-decoration: underline;
  color: #000000;
  transition: opacity 0.2s ease;
}

.partner-link:hover {
  opacity: 0.7;
}

/* ==============================================
   MOBILE RESPONSIVE STYLES
   ============================================== */
@media (max-width: 767px) {
  html {
    font-size: calc(
      12px * var(--mobile-scale)
    ); /* Scales with mobile-scale variable */
  }

  /* Remove all touch highlights on mobile devices and prevent overflow */
  * {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Visitor Info Popup Mobile */
  .popup-content {
    margin: 5vh auto; /* Center on mobile */
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }

  .popup-header {
    padding: 15px 20px;
  }

  .popup-header::after {
    left: 20px;
    right: 20px;
  }

  .popup-body {
    padding: 15px 20px;
  }

  .popup-footer {
    padding: 10px 20px;
  }

  .popup-footer::before {
    left: 20px;
    right: 20px;
  }

  /* Specific touch highlight removal for interactive elements */
  button,
  a,
  .acts-toggle,
  .action-button,
  .partner-link {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
  }

  /* Prevent horizontal overflow on mobile */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .exhibition-layout {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    margin: 0;
    padding: 20px 20px 90px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: static;
  }

  .hero-image {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 0.98;
    object-fit: cover;
    order: 1;
  }

  .venue-info {
    display: none;
  }

  .venue-title-mobile {
    display: block !important;
    order: 2;
    width: 100%;
    margin: 0;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: bold;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
    text-align: left;
  }

  .event-description {
    display: none;
  }

  .event-description-mobile {
    display: block !important;
    order: 3;
    width: 95%;
    margin: 0;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: normal;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
    text-align: left;
    margin-top: -10px;
  }

  .venue-details-mobile {
    display: block !important;
    order: 4;
    width: 100%;
    margin: 0;
    margin-left: 45%;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: 500;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
    text-align: left;
    font-style: normal;
  }

  .exhibition-content {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 5;
  }

  .acts-toggle {
    align-self: flex-start;
    margin-top: 0;
  }

  .acts-content,
  .acts-placeholder {
    width: 100%;
    margin-right: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fix any remaining elements with negative margins */
  .acts-link {
    margin-right: 0 !important;
    max-width: 100%;
  }

  .acts-placeholder {
    height: 40px;
  }

  .acts-content {
    margin-bottom: 20px;
  }

  .act-item,
  .curatorial-statement {
    width: 100%;
    margin-bottom: 20px;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: 500;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
  }

  .acts-content article h3,
  .act-item h3,
  .curatorial-statement h3 {
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: normal;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
    margin: 0 0 10px 0;
  }

  .acts-content article p {
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-size: 1rem !important;
    line-height: var(--base-line-height);
    margin: 0;
  }

  .event-actions {
    width: 100%;
    margin-right: 0;
    gap: 16px;
  }

  .action-button {
    width: 100%;
    padding: 15px 45px 10px;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-size: 1rem;
    border: 0.5px solid #000000;
  }

  .press-buttons.show {
    width: 100%;
  }

  .press-buttons .action-button {
    width: 100%;
    margin-top: 0;
  }

  .rsvp-section.show {
    width: 100%;
  }

  .rsvp-section .action-button {
    width: 100%;
    margin-top: 0;
    background-color: #000;
    color: #fff;
    border-color: #000;
  }

  .rsvp-section .action-button:hover {
    background-color: #333;
  }

  .rsvp-section .action-button .button-text {
    color: #fff;
  }

  /* Mobile press and RSVP buttons visibility */
  .press-buttons-desktop,
  .press-buttons-desktop.show,
  .rsvp-section-desktop,
  .rsvp-section-desktop.show {
    display: none !important;
  }

  .rsvp-section-mobile {
    display: none;
  }

  .rsvp-section-mobile.show {
    display: block;
    max-width: 180px;
    padding-top: 20px;
  }

  .rsvp-section-mobile .action-button {
    width: 100%;
    margin-top: 0;
    background-color: #000;
    color: #fff;
    border-color: #000;
  }

  .rsvp-section-mobile .action-button:hover {
    background-color: #333;
  }

  .rsvp-section-mobile .action-button .button-text {
    color: #fff;
  }

  .launch-event-info-mobile {
    display: none;
    padding-top: 10px;
    max-width: 180px;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: 500;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
  }

  .rsvp-section-mobile.show ~ .launch-event-info-mobile {
    display: block;
  }

  .press-buttons-mobile.show {
    display: block;
    width: 100%;
  }

  .press-buttons-mobile .action-button {
    width: 100%;
    margin-top: 0;
  }

  .button-text {
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
  }

  .launch-event-info,
  .partner-acknowledgment {
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-weight: 500;
    color: #000000;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
    line-height: var(--base-line-height);
    text-align: left;
  }
  
  .partner-link {
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-size: 1rem;
    letter-spacing: var(--base-letter-spacing);
  }
}

/* ==============================================
   RSVP PAGE STYLES
   ============================================== */

/* RSVP Main Container */
.rsvp-container {
  min-height: 100vh;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.rsvp-card {
  /* background-color: #FFFFFF; */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  width: 100%;
  max-width: 500px;
  padding: 50px;
  overflow: hidden;
  position: relative;
}

.rsvp-header {
  text-align: left;
  margin-bottom: 30px;
}

.rsvp-header h1 {
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.rsvp-description {
  opacity: 0.7;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 30px;
  font-size: 1rem;
}

.rsvp-description a {
  color: inherit;
  text-decoration: none;
}

.rsvp-description a:hover,
.rsvp-description a:active {
  color: #000000;
  text-decoration: underline;
}

/* Desktop/Mobile specific descriptions */
.rsvp-description-mobile {
  display: none;
}

.rsvp-description-desktop {
  display: block;
}

/* RSVP Form Styles */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  padding: 12px 15px;
  /* border: 2px solid #ddd; */
  border: none;
  background-color: #fff;
  width: 100%;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: #000;
}

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

.rsvp-form button {
  margin-top: 10px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.form-disclaimer {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
  margin-top: 15px;
}

.form-disclaimer .event-website {
  font-size: inherit;
}

/* Guest Checkbox Styling */
.guest-checkbox-container {
  margin: 10px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  /* border: 2px solid #ddd; */
  border-radius: 3px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
  border-color: #000;
}

.checkbox-label input:checked ~ .checkmark {
  background-color: #000;
  border-color: #000;
}

.checkbox-label input:checked ~ .checkmark:after {
  content: "✓";
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

.checkbox-label:has(input:checked) {
  color: #000;
}

/* Guest Name Field */
.guest-name-container {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.guest-name-container.show {
  opacity: 1;
  max-height: 60px;
}

/* RSVP Buttons - matching index.html style */
.btn {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 45px;
  position: relative;
  align-self: stretch;
  width: 100%;
  border: 0.5px solid #000000;
  background: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.btn:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.btn-primary:hover {
  background-color: #333;
}

.btn-secondary {
  background-color: transparent;
  color: #000;
  border: 0.5px solid #000;
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Event Website Links */
.event-website {
  color: inherit;
  text-decoration: none;
  opacity: 1;
  padding: 4px 4px;
  margin: -4px -4px;
  display: inline-block;
  min-height: 22px;
  line-height: 1.4;
  font-size: 1rem;
}

.event-website:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* Back Link */
.back-link {
  text-align: left;
  max-width: 500px;
  width: 100%;
}

.back-link a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  padding: 8px 12px;
  margin: -8px -12px;
  display: inline-block;
  min-height: 22px;
  line-height: 1.4;
  font-size: 1rem;
}

.back-link a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9e9e9;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-modal .modal-content {
  /* background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  padding: 20px;
  max-width: 400px;
  width: 100%;
  position: relative;
  text-align: center;
}

.success-content h3 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1rem;
}

.success-content p {
  margin-bottom: 30px;
  opacity: 0.8;
  line-height: 1.6;
  font-size: 1rem;
  text-align: left;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* RSVP Mobile Styles */
@media (max-width: 767px) {
  /* Switch to mobile description layout */
  .rsvp-description-desktop {
    display: none;
  }

  .rsvp-description-mobile {
    display: block;
  }

  .rsvp-container {
    padding: 10px;
    justify-content: flex-start;
  }

  .rsvp-card {
    max-width: 100%;
    padding: 30px 10px 10px 10px;
  }

  .form-actions {
    gap: 12px;
  }

  .success-modal .modal-content {
    padding: 20px;
  }

  .back-link {
    max-width: 85%;
  }

  .btn {
    width: 100%;
    padding: 15px 45px 10px;
    font-family: "LetterGothicStd", "Courier New", monospace;
    font-size: 1rem;
    border: 0.5px solid #000000;
  }
}

/* ==============================================
   ACCESSIBILITY STYLES
   ============================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .action-button,
  .btn-secondary {
    border-width: 3px;
  }

  .event-description,
  .launch-event-info,
  .partner-acknowledgment,
  .venue-details,
  .rsvp-description,
  .form-disclaimer {
    opacity: 1;
  }
}

/* ==============================================
   OVERVIEW PAGE STYLES
   ============================================== */

/* Overview Layout */
.overview-layout {
  min-height: 100vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  justify-content: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.overview-content {
  width: 100%;
  max-width: 700px;
}

.overview-content .description {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.overview-content .description h3 {
  font-family: "LetterGothicStd", "Courier New", monospace; 
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 25px 0 10px 0;
}

.overview-content .description p {
  margin-bottom: 15px;
}

/* Section Divider */
.section-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin: 0;
  width: 100%;
}

/* Small Text */
.small-text {
  font-size: 0.875rem;
  opacity: 0.8;
}

.small-text a,
.small-text .partner-link {
  font-size: 0.875rem !important;
}

/* Act Images */
.act-image {
  width: 100%;
  height: auto;
  margin: 20px 0 20px 0;
  display: block;
  border-radius: 0;
}

/* Gallery Main Image Link */
.gallery-main-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gallery-main-link:hover {
  opacity: 0.9;
}

.gallery-main-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* Back Link Alignment */
.overview-layout .back-link {
  max-width: 700px;
  width: 100%;
  text-align: left;
}

.overview-layout .event-website {
  font-family: "LetterGothicStd", "Courier New", monospace;
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.overview-layout .event-website:hover {
  opacity: 1;
}

/* Overview Mobile Responsive */
@media (max-width: 767px) {
  .overview-layout {
    padding: 20px;
    gap: 40px;
  }

  .overview-content {
    width: 100%;
  }

  .overview-layout .back-link {
    max-width: 100%;
  }

  .overview-content .act-image {
    margin: 15px 0 15px 0;
  }
}

/* ==============================================
   GUIDE PAGE STYLES
   ============================================== */

/* Guide Layout */
.guide-layout {
  min-height: 100vh;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  justify-content: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.guide-content {
  width: 100%;
  max-width: 600px;
}

.guide-title {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin-bottom: 30px;
  text-align: left;
}

.guide-text {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
}

.guide-text h2 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 0 0 20px 0;
}

.guide-text h3 {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin: 25px 0 10px 0;
}

.guide-text p {
  margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
  width: 100%;
  max-width: 600px;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.newsletter-container {
  width: 100%;
}

.newsletter-title {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  margin-bottom: 10px;
  text-align: left;
}

.newsletter-description {
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-weight: normal;
  color: #000000;
  font-size: 1rem;
  letter-spacing: var(--base-letter-spacing);
  line-height: var(--base-line-height);
  opacity: 0.7;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  background-color: #fff;
  width: 100%;
  font-family: "LetterGothicStd", "Courier New", monospace;
  font-size: 1rem;
  box-sizing: border-box;
}

.newsletter-form input:focus {
  outline: none;
  border: 1px solid #000;
}

.newsletter-link {
  color: inherit;
  text-decoration: none;
  opacity: 1;
}

.newsletter-link:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* Guide Back Link Alignment */
.guide-layout .back-link {
  max-width: 600px;
  width: 100%;
  text-align: left;
}

/* Guide Mobile Responsive */
@media (max-width: 767px) {
  .guide-layout {
    padding: 20px;
    gap: 40px;
  }

  .newsletter-section {
    padding: 30px 0;
  }

  .guide-content,
  .newsletter-container {
    width: 100%;
  }

  .guide-layout .back-link {
    max-width: 100%;
  }

  .form-disclaimer .newsletter-link {
    font-size: inherit;
  }
}
