:root {
  --navy: #07566a;
  --navy-2: #053b4a;
  --ink: #10333d;
  --muted: #63747a;
  --gold: #f2654d;
  --gold-2: #ffb19a;
  --cream: #fbf6ef;
  --white: #ffffff;
  --soft: #f6eee5;
  --line: #e9ddd2;
  --shadow: 0 24px 70px rgba(7, 86, 106, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--gold-2);
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 246, 239, 0.94);
  color: var(--navy);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 86, 106, 0.14);
  box-shadow: 0 10px 30px rgba(7, 86, 106, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: rgba(16, 51, 61, 0.66);
  font-size: 0.76rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-links {
  display: none;
  gap: 24px;
  color: rgba(16, 51, 61, 0.72);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.language-toggle {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(242, 101, 77, 0.48);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(242, 101, 77, 0.08);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  background: rgba(242, 101, 77, 0.16);
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 75% 12%, rgba(242, 101, 77, 0.32), transparent 28%),
    linear-gradient(145deg, #03242d 0%, var(--navy-2) 52%, #0a7182 100%);
  padding: 0 0 32px;
}

.hero-video-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 87px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030913;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 36, 45, 0.16) 0%, rgba(3, 36, 45, 0.12) 52%, rgba(3, 36, 45, 0.9) 100%),
    linear-gradient(90deg, rgba(3, 36, 45, 0.64), rgba(3, 36, 45, 0.12));
}

.sound-button {
  position: absolute;
  right: clamp(18px, 5vw, 56px);
  bottom: clamp(18px, 5vw, 54px);
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.sound-button:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(34px, 6vw, 72px) auto 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 9vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
}

.hero-event {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  margin: 22px 0 4px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 12px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 34px rgba(242, 101, 77, 0.28);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(242, 101, 77, 0.38);
}

.section {
  padding: clamp(68px, 11vw, 132px) clamp(18px, 5vw, 64px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto clamp(28px, 5vw, 52px);
}

.section-heading h2,
.signup-content h2,
.about-panel h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.card-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 48px rgba(7, 22, 47, 0.08);
}

.feature-card {
  min-height: 260px;
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 101, 77, 0.7);
}

.card-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #f6ead0;
  font-size: 1.45rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
}

.feature-card p,
.about-panel p {
  color: var(--muted);
}

.meeting-section {
  background: var(--soft);
}

.meeting-section .section-heading {
  margin-bottom: 28px;
}

.event-details {
  display: grid;
  width: min(920px, 100%);
  margin: 0 auto 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-detail {
  padding: 18px 0;
}

.event-detail + .event-detail {
  border-top: 1px solid var(--line);
}

.event-label {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-detail time,
.event-detail address {
  color: var(--navy);
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.timeline {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(242, 101, 77, 0.12));
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.timeline span {
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 850;
}

.timeline p {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}

.note {
  width: min(920px, 100%);
  margin: 28px auto 0;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.signup-section {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 760px;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  background: var(--navy-2);
}

.signup-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: contain;
  object-position: right center;
  opacity: 0.34;
  filter: saturate(0.75) contrast(1.1);
}

.signup-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 59, 74, 0.96), rgba(7, 86, 106, 0.72), rgba(5, 59, 74, 0.92)),
    linear-gradient(125deg, rgba(242, 101, 77, 0.26), transparent 36%);
}

.signup-content {
  width: min(660px, 100%);
  align-self: center;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.signup-content > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.signup-form {
  margin-top: 26px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}

label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(242, 101, 77, 0.28);
  border-color: var(--gold);
}

.checkbox-label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.checkbox-label span {
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.honey-field {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-button {
  width: 100%;
  margin-top: 20px;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-success {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #0f5132;
  background: #dff4e8;
  font-weight: 750;
}

.form-error {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #842029;
  background: #f8d7da;
  font-weight: 750;
}

.about-section {
  background: linear-gradient(180deg, var(--cream), var(--soft));
}

.about-panel {
  width: min(920px, 100%);
  margin: 0 auto;
}

.about-panel p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.legal-section {
  scroll-margin-top: 100px;
  background: var(--white);
}

.legal-panel {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-panel h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-grid {
  display: grid;
  gap: 30px;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-block h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.12rem;
}

.legal-block h3:not(:first-child) {
  margin-top: 28px;
}

.legal-block p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.legal-block strong {
  color: var(--ink);
}

.legal-block a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin: 12px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  background: var(--soft);
  font-weight: 700;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: #03242d;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.site-footer a:hover {
  color: var(--gold-2);
}

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

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

@media (max-width: 719px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .brand small {
    display: none;
  }

  .language-toggle {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .signup-media {
    object-position: center center;
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .event-detail {
    padding: 20px 24px;
  }

  .event-detail:first-child {
    padding-left: 0;
  }

  .event-detail + .event-detail {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .legal-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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