:root {
  --bg-deep: #081820;
  --bg-mid: #112833;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.2);
  --text-main: #f2f8fb;
  --text-muted: #c6d5de;
  --accent: #f5b13a;
  --accent-alt: #66d6a7;
  --shadow-lg: 0 22px 46px rgba(4, 9, 12, 0.42);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 22% 11%, #1f4659 0%, var(--bg-mid) 38%, var(--bg-deep) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.background-frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  filter: blur(72px);
  border-radius: 50%;
}

.glow-a {
  width: min(44vw, 560px);
  aspect-ratio: 1;
  background: rgba(102, 214, 167, 0.24);
  top: -10%;
  right: -8%;
}

.glow-b {
  width: min(48vw, 620px);
  aspect-ratio: 1;
  background: rgba(245, 177, 58, 0.2);
  bottom: -18%;
  left: -14%;
}

.mesh {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 78%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(8, 24, 32, 0.9), rgba(8, 24, 32, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 30;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  text-decoration: none;
}

.brand-mark {
  width: 1.9rem;
  aspect-ratio: 1;
  border-radius: 6px;
  transform: rotate(45deg);
  background:
    linear-gradient(135deg, var(--accent) 0%, rgba(245, 177, 58, 0.5) 52%, transparent 52%),
    linear-gradient(315deg, var(--accent-alt) 0%, rgba(102, 214, 167, 0.5) 52%, transparent 52%),
    #09232e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.17), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
}

.site-nav a {
  color: var(--text-main);
  text-decoration: none;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 220ms ease, color 220ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 600;
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.1vw, 2rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 80%);
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 4rem);
  margin: 0.65rem 0 1rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 54ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.66rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 230ms ease, box-shadow 230ms ease, background-color 230ms ease;
}

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

.btn-primary {
  color: #102029;
  background: linear-gradient(145deg, #ffd484, var(--accent));
  box-shadow: 0 10px 22px rgba(245, 177, 58, 0.35);
}

.btn-ghost {
  color: var(--text-main);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel h2 {
  margin-bottom: 0.8rem;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  color: var(--text-muted);
}

.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.66rem;
}

.alan-mini {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.07);
}

.alan-mini img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.alan-mini p {
  margin: 0;
  color: var(--text-muted);
}

.alan-title {
  color: var(--text-main) !important;
  font-weight: 800;
  margin-bottom: 0.2rem !important;
}

.bullet {
  margin-top: 0.36rem;
  width: 0.66rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-alt));
  flex: none;
}

.hero-wave {
  width: 100%;
  margin-top: 1rem;
}

.hero-wave path {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke: url(#no-gradient);
}

.hero-wave path:first-child {
  stroke: var(--accent-alt);
  opacity: 0.85;
}

.hero-wave path:last-child {
  stroke: var(--accent);
  opacity: 0.78;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 20ch;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-card,
.panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 75%);
  box-shadow: var(--shadow-lg);
}

.event-card {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.event-type {
  margin: 0;
  font-size: 0.77rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-alt);
  font-weight: 700;
}

.event-card p {
  margin: 0;
  color: var(--text-muted);
}

.event-card a {
  margin-top: auto;
  width: fit-content;
  text-decoration: none;
  color: #ffdfa3;
  border-bottom: 1px solid rgba(255, 223, 163, 0.45);
  font-weight: 700;
}

.accent-card {
  position: relative;
  overflow: hidden;
}

.accent-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(102, 214, 167, 0.38), transparent 68%);
  top: -3rem;
  right: -3rem;
}

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

.panel {
  padding: 1.4rem;
}

.panel p {
  color: var(--text-muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.timeline li {
  position: relative;
  border-left: 2px solid rgba(255, 255, 255, 0.24);
  padding-left: 1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.44rem;
  top: 0.26rem;
  width: 0.76rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-alt));
}

.timeline h3 {
  margin-bottom: 0.3rem;
}

.timeline p {
  margin: 0;
}

.contact-band {
  padding-top: 2.6rem;
}

.capture-hero {
  padding-top: 5.5rem;
  padding-bottom: 2.2rem;
}

.capture-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
}

.embed-shell {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
}

.form-frame {
  width: 100%;
  min-height: 1700px;
  border: 0;
  display: block;
  background: #ffffff;
}

.entry-form {
  padding: 1.4rem;
}

.form-head {
  margin-top: 1.5rem;
  margin-bottom: 0.9rem;
}

.form-head:first-child {
  margin-top: 0;
}

.form-head h2 {
  margin-bottom: 0.35rem;
}

.form-head p {
  margin: 0;
  color: var(--text-muted);
}

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

.form-grid label,
.fee-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.form-grid .span-2 {
  grid-column: span 2;
}

.form-grid input,
.form-grid select,
.fee-grid input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 16, 20, 0.55);
  color: #f6fbff;
  padding: 0.68rem 0.75rem;
  font: inherit;
}

.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: rgba(102, 214, 167, 0.8);
  box-shadow: 0 0 0 3px rgba(102, 214, 167, 0.2);
}

.form-grid small {
  color: var(--text-muted);
  font-weight: 500;
}

.consent-block {
  margin: 0.8rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 0.65rem;
}

.consent-block legend {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  padding: 0 0.25rem;
}

.consent-block label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-muted);
}

.consent-block input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: #66d6a7;
}

.fee-offer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(102, 214, 167, 0.4);
  background: rgba(102, 214, 167, 0.14);
  color: #dbffef;
  font-weight: 600;
}

.fee-offer input[type="checkbox"] {
  accent-color: #66d6a7;
  width: 1rem;
  height: 1rem;
  flex: none;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.fee-grid input[readonly] {
  font-weight: 700;
}

.submit-row {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  color: #b6f6da;
  font-weight: 600;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 1rem;
  align-items: start;
}

.policy-side ul,
.policy-content ul,
.policy-content ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.policy-side li,
.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-side a,
.policy-content a {
  color: #ffdfa3;
}

.policy-content h2 {
  margin-top: 1.35rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--text-muted);
}

.contact-wrap {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem;
  padding: 1.2rem 0 2rem;
}

.footer-wrap {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.footer-wrap a {
  color: var(--text-muted);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .event-grid,
  .split-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }

  h1 {
    max-width: 100%;
  }

  .contact-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 4vw;
    left: 4vw;
    background: rgba(8, 24, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.4rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 9px;
  }

  .brand-text {
    font-size: 1.7rem;
  }

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

  .form-grid .span-2 {
    grid-column: auto;
  }

  .fee-grid {
    grid-template-columns: 1fr;
  }

  .alan-mini {
    grid-template-columns: 1fr;
  }

  .alan-mini img {
    width: 100%;
    max-width: 190px;
    height: auto;
    aspect-ratio: 1;
  }

  .fee-offer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
