html {
  font-size: clamp(16px, 1.25vw + 1rem, 44px);
}

:root {
  --bg-dark: #0b0f21;
  --overlay: rgba(7, 10, 25, 0.8);
  --accent: #c9f0ff;
  --accent-strong: #83e0ff;
  --text: #f7f8fc;
  --muted: rgba(247, 249, 254, 0.8);
  --panel-shadow: 0 25px 55px rgba(5, 5, 25, 0.55);
  --card-shadow: 0 15px 35px rgba(8, 10, 36, 0.4);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page {
  max-width: 1920px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 0.5rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: 0.15em;
  z-index: 2;
}

.brand {
  font-weight: 600;
}

.tagline {
  color: var(--muted);
  font-size: 0.81rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  min-height: 88vh;
  padding: 2rem 4vw 2rem;
  background-image: linear-gradient(144deg, rgba(9, 15, 35, 0.85) 0%, rgba(12, 17, 40, 0.65) 55%, rgba(11, 13, 31, 0.85) 100%),
    url("../img/hero-titanic-mars.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: .5rem 2rem;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: rgba(3, 8, 20, 0.25);
  z-index: -1;
  box-shadow: 0 25px 50px rgba(3, 3, 12, 0.45);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(201, 240, 255, 0.2), transparent 45%);
  mix-blend-mode: screen;
}

.subheadline {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.69rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
h1 {
  font-size: 1.63rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.supporting-line {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.9rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.81rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #02304a;
  box-shadow: 0 15px 35px rgba(201, 240, 255, 0.45);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(3, 3, 28, 0.45);
}

.selection-warning {
  min-height: 1.2rem;
  color: #ffc896;
  font-size: 0.56rem;
}

.options-section {
  padding: 2.5rem 2vw 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 2.1vw, 1.75rem);
  margin: 0.35rem 0 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 0.81rem;
  color: var(--muted);
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.option-card {
  background: rgba(22, 26, 62, 0.92);
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.option-card:hover,
.option-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(201, 240, 255, 0.8);
}

.option-card.selected {
  border-color: var(--accent-strong);
  background: rgba(124, 226, 255, 0.08);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.option-card h3 {
  margin: 0;
  font-size: 0.65rem;
}

.option-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.62rem;
}

.panel-strip {
  padding: 3rem 4vw 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.panel-heading h3 {
  margin: 0.35rem 0 0;
  font-size: 1.12rem;
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.81rem;
  color: var(--muted);
}

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

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.panel-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}

.panel-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.panel-copy {
  padding: 1.2rem 1.4rem 1.6rem;
  background: rgba(7, 8, 25, 0.55);
}

.panel-copy strong {
  display: block;
  font-size: 0.69rem;
  margin-bottom: 0.4rem;
}

.site-footer {
  padding: 1.5rem 4vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.56rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 10, 0.85);
  padding: 2rem;
  z-index: 10;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #0b1023;
  border-radius: 1.25rem;
  padding: 2rem;
  width: min(768px, 100%);
  box-shadow: var(--panel-shadow);
  position: relative;
  font-size: 0.75rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.94rem;
  cursor: pointer;
}

.modal-selection {
  font-size: 0.6rem;
  color: var(--muted);
  margin: 0.2rem 0 1rem;
}

form {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  font-size: 0.48rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

input {
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

input:focus-visible {
  outline: 2px solid var(--accent-strong);
  border-color: transparent;
}

.thank-you {
  display: none;
  margin-top: 1.2rem;
  font-size: 0.62rem;
  color: var(--accent);
}

.thank-you.visible {
  display: block;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero {
    padding-top: 3rem;
  }
}
