:root {
  --bg: #080b14;
  --bg-2: #0c1020;
  --surface: #111827;
  --surface-soft: #172033;
  --surface-light: #fff8e8;
  --text: #f8fafc;
  --text-dark: #111827;
  --muted: #aab3c5;
  --muted-dark: #4b5563;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 24, 39, 0.14);
  --accent: #f5b82e;
  --accent-dark: #c98310;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  position: fixed;
  inset: 0 0 auto 0;
  height: 38px;
  z-index: 1100;
  background: var(--accent);
  color: #17120a;
  font-weight: 900;
  font-size: 0.86rem;
}

.strip-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-inner a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(8, 11, 20, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  width: 190px;
  height: 74px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-button,
.primary-button,
.secondary-button,
.fee-card a,
.floating-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.nav-button,
.primary-button,
.floating-register {
  background: var(--accent);
  color: #17120a !important;
  box-shadow: 0 14px 30px rgba(245, 184, 46, 0.22);
}

.nav-button {
  padding: 10px 16px;
}

.primary-button,
.secondary-button {
  padding: 14px 24px;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover,
.fee-card a:hover,
.floating-register:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 184, 46, 0.32), transparent 32%),
    radial-gradient(circle at 82% 34%, rgba(245, 184, 46, 0.15), transparent 30%),
    linear-gradient(rgba(8, 11, 20, 0.48), rgba(8, 11, 20, 0.94)),
    url("images/itu-hero-hd.png") center/cover;
  padding: 140px 0 90px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 184, 46, 0.12);
  filter: blur(2px);
  z-index: -1;
}

.hero-shape-one {
  width: 360px;
  height: 360px;
  top: 18%;
  right: -120px;
}

.hero-shape-two {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: 18%;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.16;
  z-index: -1;
}

.hero-content {
  position: relative;
  text-align: left;
}

.hero-content > .hero-date,
.hero-content > h1,
.hero-content > .hero-subtitle,
.hero-content > .hero-info,
.hero-content > .hero-actions {
  opacity: 0;
  transform: translateX(-38px);
  transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-loaded .hero-content > .hero-date,
.hero-loaded .hero-content > h1,
.hero-loaded .hero-content > .hero-subtitle,
.hero-loaded .hero-content > .hero-info,
.hero-loaded .hero-content > .hero-actions {
  opacity: 1;
  transform: translateX(0);
}

.hero-loaded .hero-content > .hero-date {
  transition-delay: 150ms;
}

.hero-loaded .hero-content > h1 {
  transition-delay: 400ms;
}

.hero-loaded .hero-content > .hero-subtitle {
  transition-delay: 650ms;
}

.hero-loaded .hero-content > .hero-info {
  transition-delay: 900ms;
}

.hero-loaded .hero-content > .hero-actions {
  transition-delay: 1150ms;
}

.floating-register {
  position: absolute;
  right: 0;
  top: -62px;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.hero-date,
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 9vw, 8.4rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  margin-bottom: 22px;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 34px;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-info div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-info span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 96px 0;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.countdown-card h2,
.location h2,
.about-card h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.05em;
}

.section-heading p,
.location p,
.about-card p,
.faq-answer p,
.committee-card p {
  color: var(--muted);
}

.committees {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 184, 46, 0.11), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(245, 184, 46, 0.07), transparent 25%),
    var(--bg);
}

.committee-grid,
.fee-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fee-grid {
  grid-template-columns: repeat(3, 1fr);
}

.committee-card,
.about-card,
.countdown-card,
.schedule-panel,
.faq-item,
.map-box {
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.committee-card {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.55s ease, border 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.committee-card::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -55%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(16deg);
  transition: left 0.65s ease;
}

.committee-card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(245, 184, 46, 0.65);
  background: linear-gradient(180deg, #1d2940, #101827);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42), 0 0 28px rgba(245, 184, 46, 0.08);
}

.committee-card:hover::after {
  left: 125%;
}

.topics-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.topics-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.committee-card.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition-delay: var(--reveal-delay, 0ms);
}

.committee-card.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.committee-card.reveal-item.is-visible:hover {
  transform: translateY(-7px) scale(1.015);
}

.section-sequence-item {
  opacity: 0;
  transform: translateX(-38px);
  transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--section-delay, 0ms);
}

.section-sequence-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.committee-card.wide {
  grid-column: span 2;
}

.committee-card h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

@media (min-width: 981px) {
  .committee-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .committee-card {
    grid-column: span 2;
  }

  .committee-card:nth-child(5) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .committee-card:nth-child(6) {
    grid-column: 4 / span 2;
    grid-row: 2;
  }

  .committee-card:nth-child(7) {
    grid-column: 6 / span 2;
    grid-row: 2;
  }
}

.committee-dialog {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.committee-dialog::backdrop {
  background: rgba(2, 5, 12, 0.82);
  backdrop-filter: blur(6px);
}

.committee-dialog-grid {
  display: grid;
  grid-template-columns: minmax(460px, 1.3fr) minmax(360px, 1fr);
  min-height: 460px;
}

.committee-visual {
  display: grid;
  place-items: center;
  padding: 36px;
  overflow-wrap: anywhere;
  white-space: pre-line;
  text-align: center;
  color: #17120a;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(145deg, #ffe7a0, var(--accent) 55%, var(--accent-dark));
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.committee-visual.has-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.committee-dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
}

.committee-dialog .committee-visual,
.committee-dialog .committee-dialog-content > .eyebrow,
.committee-dialog .committee-dialog-content > h2,
.committee-dialog .committee-dialog-content > p:not(.eyebrow),
.committee-dialog .committee-files {
  opacity: 0;
  transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.committee-dialog .committee-visual {
  transform: scale(0.97);
}

.committee-dialog .committee-dialog-content > .eyebrow,
.committee-dialog .committee-dialog-content > h2,
.committee-dialog .committee-dialog-content > p:not(.eyebrow),
.committee-dialog .committee-files {
  transform: translateY(-24px);
}

.committee-dialog.dialog-animated .committee-visual,
.committee-dialog.dialog-animated .committee-dialog-content > .eyebrow,
.committee-dialog.dialog-animated .committee-dialog-content > h2,
.committee-dialog.dialog-animated .committee-dialog-content > p:not(.eyebrow),
.committee-dialog.dialog-animated .committee-files {
  opacity: 1;
  transform: none;
}

.committee-dialog.dialog-animated .committee-visual {
  transition-delay: 100ms;
}

.committee-dialog.dialog-animated .committee-dialog-content > .eyebrow {
  transition-delay: 400ms;
}

.committee-dialog.dialog-animated .committee-dialog-content > h2 {
  transition-delay: 650ms;
}

.committee-dialog.dialog-animated .committee-dialog-content > p:not(.eyebrow) {
  transition-delay: 900ms;
}

.committee-dialog.dialog-animated .committee-files {
  transition-delay: 1150ms;
}

.committee-dialog-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  line-height: 1.05;
}

.committee-dialog-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: pre-line;
}

.committee-files {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.committee-files a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--accent);
  color: #17120a;
  font-weight: 900;
  font-size: 0.86rem;
}

.committee-files .file-unavailable {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 11, 20, 0.76);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.schedule {
  background: #0c101a;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tab {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  min-width: 112px;
  transition: 0.2s ease;
}

.tab:hover {
  border-color: rgba(245, 184, 46, 0.65);
  transform: translateY(-2px);
}

.tab.active {
  background: var(--accent);
  color: #17120a;
  border-color: var(--accent);
}

.schedule-panel {
  display: none;
  padding: 34px;
}

.schedule-panel.active {
  display: block;
}

.schedule-sheet {
  display: grid;
  gap: 14px;
}

.schedule-title {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 120px 120px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
}

.schedule-row time {
  color: var(--accent);
  font-weight: 900;
}

.schedule-row strong {
  font-size: 1.02rem;
}

.schedule-head {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(245, 184, 46, 0.14);
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.countdown-section {
  padding: 60px 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 184, 46, 0.24), transparent 42%);
}

.countdown-card {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 92px);
  gap: 12px;
}

.countdown div {
  text-align: center;
  padding: 16px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.countdown strong {
  display: block;
  font-size: 2rem;
}

.countdown span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 900;
}

.fees {
  background: var(--bg);
}

.section-heading blockquote,
.conference-quote blockquote {
  color: var(--text);
  margin: 20px auto;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  text-align: left;
}

.section-heading blockquote span,
.conference-quote blockquote span {
  color: var(--accent);
  font-weight: 900;
}

.conference-quote {
  padding: 26px 0;
  background: var(--bg);
}

.fee-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  text-align: center;
  background: #090909;
  color: var(--accent);
  border: 1px solid rgba(245, 184, 46, 0.5);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.fee-card.featured {
  border-color: var(--accent);
  transform: none;
}

.fee-card h3 {
  min-height: 58px;
  margin-bottom: 12px;
  color: var(--accent);
}

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 14px;
}

.fee-card a {
  width: 100%;
  padding: 9px 12px;
  margin-top: 8px;
  background: #090909;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.fee-card a:first-of-type {
  margin-top: auto;
}

.fee-card:nth-child(-n + 2) a {
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.location {
  background: #0c101a;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

address {
  margin-top: 22px;
  font-style: normal;
  color: var(--text);
  font-weight: 800;
}

.map-box {
  overflow: hidden;
  height: 420px;
}

.map-box iframe {
  border: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.15) contrast(1.05);
}

.support {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 184, 46, 0.14), transparent 30%),
    var(--bg);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: center;
}

.support-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin-top: 16px;
  color: var(--muted);
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 900;
}

.support-email > span:first-child {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 184, 46, 0.45);
  border-radius: 50%;
  background: rgba(245, 184, 46, 0.1);
  font-size: 1.25rem;
}

.support-email > span:last-child {
  display: grid;
}

.support-email small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.support-form {
  display: grid;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
  box-shadow: var(--shadow);
}

.support-form-content {
  display: grid;
  gap: 18px;
}

.support-form-content[hidden] {
  display: none;
}

.support-success {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  min-height: 412px;
  padding: 30px 0;
  text-align: center;
}

.support-success[hidden] {
  display: none;
}

.support-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(245, 184, 46, 0.1);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.support-success h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.support-success p {
  max-width: 480px;
  color: var(--muted);
}

.support-success .support-submit {
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field > span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(8, 11, 20, 0.7);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  height: 50px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 145px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #778196;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.12);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
}

.form-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
}

.support-submit {
  flex: 0 0 auto;
  min-width: 155px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #17120a;
  box-shadow: 0 14px 30px rgba(245, 184, 46, 0.18);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.support-submit:hover {
  transform: translateY(-2px);
}

.support-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.submit-loading,
.support-submit.is-loading .submit-label {
  display: none;
}

.support-submit.is-loading .submit-loading {
  display: inline;
}

.form-status {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.form-status.is-success {
  color: #86efac;
}

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

.form-status a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 22px 54px 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
}

.faq-item.active .faq-answer {
  display: block;
}

.memories {
  background: var(--bg);
}

.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 18px;
}

.gallery-item {
  flex: 0 0 calc((100% - 54px) / 4);
  height: 230px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: brightness(1.08);
}

.gallery-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: #090909;
  font-size: 1.25rem;
  cursor: pointer;
}

.gallery-lightbox {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05070c;
  box-shadow: var(--shadow);
}

.gallery-lightbox::backdrop {
  background: rgba(2, 5, 12, 0.9);
  backdrop-filter: blur(7px);
}

.gallery-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 32px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 11, 20, 0.8);
  font-size: 1.7rem;
  cursor: pointer;
}

.about-card {
  padding: 38px;
}

.social-links {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--accent);
  font-weight: 900;
  border-bottom: 1px solid rgba(245, 184, 46, 0.4);
}

.footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 96px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 22px;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .committee-grid,
  .fee-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-card,
  .location-grid,
  .support-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
  }

  .floating-register {
    position: static;
    margin-bottom: 24px;
  }

  .committee-dialog-grid {
    grid-template-columns: 1fr;
  }

  .committee-visual {
    min-height: 300px;
  }

  .gallery-item {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    inset: 0 0 auto 0;
  }

  .navbar {
    height: 72px;
  }

  .brand {
    width: 165px;
    height: 66px;
  }

  .nav-links {
    top: 84px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-info,
  .committee-grid,
  .fee-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .committee-dialog-grid {
    grid-template-columns: 1fr;
  }

  .committee-visual {
    min-height: 210px;
  }

  .committee-dialog-content {
    padding: 32px 24px;
  }

  .committee-files {
    flex-direction: column;
  }

  .gallery-slider {
    gap: 7px;
  }

  .gallery-arrow {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .gallery-item {
    flex-basis: 100%;
    height: 250px;
  }

  .committee-card.wide {
    grid-column: span 1;
  }

  .schedule-panel {
    padding: 20px;
  }

  .schedule-row,
  .schedule-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .schedule-head {
    display: none;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-card {
    padding: 24px;
  }

  .map-box {
    height: 320px;
  }

  .support-grid {
    gap: 32px;
  }

  .support-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .support-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > .hero-date,
  .hero-content > h1,
  .hero-content > .hero-subtitle,
  .hero-content > .hero-info,
  .hero-content > .hero-actions,
  .topics-reveal,
  .committee-card.reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-sequence-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .committee-dialog .committee-visual,
  .committee-dialog .committee-dialog-content > .eyebrow,
  .committee-dialog .committee-dialog-content > h2,
  .committee-dialog .committee-dialog-content > p:not(.eyebrow),
  .committee-dialog .committee-files {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .committee-card::after {
    display: none;
  }
}
