@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #0a0d13;
  --midnight: #101826;
  --slate: #243348;
  --mist: #c7d0d7;
  --paper: #f3eee4;
  --amber: #f3ad3d;
  --ember: #d85b32;
  --acid: #d7dc75;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --page: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 42%, rgba(48, 67, 91, 0.34), transparent 34rem),
    var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.05;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--amber);
}

.site-header nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.site-header nav a {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:not(.nav-cta):hover {
  color: var(--amber);
}

.nav-cta {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 100px;
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background: url("images/hallen.webp") center 55% / cover no-repeat;
  animation: slow-push 18s ease-out both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 9, 14, 0.96) 0%, rgba(6, 9, 14, 0.75) 39%, rgba(6, 9, 14, 0.08) 72%),
    linear-gradient(0deg, var(--ink) 0%, transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 32%);
}

.hero-content {
  width: var(--page);
  margin: 0 auto;
  padding: 10rem 0 10.5rem;
}

.eyebrow,
.section-kicker,
.detail-label {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(4.25rem, 9.6vw, 8.8rem);
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mist);
  font-family: var(--sans);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 580px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 100px;
  font: 700 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  color: #19120b;
  background: var(--amber);
  box-shadow: 0 10px 32px rgba(243, 173, 61, 0.18);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(243, 173, 61, 0.3);
}

.text-link {
  font-size: 0.92rem;
  text-underline-offset: 0.35em;
}

.text-link span {
  color: var(--amber);
}

.countdown {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 4rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 17, 25, 0.72);
  backdrop-filter: blur(14px);
}

.countdown p {
  max-width: 120px;
  margin: 0;
  color: var(--mist);
  font-size: 0.7rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.countdown-numbers {
  display: flex;
  gap: 1.25rem;
}

.countdown-numbers span {
  display: grid;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-numbers strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 8rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  margin-bottom: 4rem;
}

.intro h2,
.practical h2,
.signup-panel h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.035em;
}

.intro-copy {
  padding-top: 0.5rem;
  color: var(--mist);
}

.intro-copy p:first-child {
  margin-top: 0;
  color: var(--paper);
  font-size: 1.16rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--midnight);
}

.story-card-link {
  display: block;
  min-height: inherit;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.story-card-tall {
  grid-column: span 5;
}

.story-card-wide {
  grid-column: span 7;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-card:hover img {
  transform: scale(1.035);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 7, 11, 0.94), transparent 64%);
}

.story-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
}

.story-copy span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.story-copy h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.story-copy strong {
  color: var(--paper);
  font-weight: 600;
}

.landing-parent-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--midnight);
}

.landing-parent-guide h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.landing-parent-guide p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--mist);
}

.practical {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1160px) / 2));
  background: var(--paper);
  color: #12161c;
}

.practical .section-kicker {
  color: #9e421d;
}

.practical-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  align-items: start;
}

.practical h2 {
  max-width: 800px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4.5rem;
  background: #c9c0b1;
  border: 1px solid #c9c0b1;
}

.detail-card {
  position: relative;
  min-height: 250px;
  padding: 2rem;
  background: var(--paper);
}

.detail-card::after {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  width: 40px;
  height: 1px;
  content: "";
  background: #9e421d;
}

.detail-number {
  color: #8d867c;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.detail-label {
  margin-top: 3rem;
  color: #9e421d;
}

.detail-card h3 {
  margin: 0;
  font-size: 2rem;
}

.detail-card p:last-child {
  margin: 0.5rem 0 0;
  color: #5d5b56;
}

.practical-note {
  max-width: 720px;
  margin: 2.5rem auto 0;
  color: #5d5b56;
  text-align: center;
}

.signup-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.signup-art {
  position: relative;
  align-self: stretch;
  min-height: 680px;
  overflow: hidden;
  background: var(--midnight);
}

.signup-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 10, 14, 0.8), transparent 45%);
}

.signup-art p {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  color: #fff3bc;
  font: italic 500 2rem/1 var(--display);
  text-align: center;
  transform: rotate(-2deg);
}

.signup-panel {
  max-width: 560px;
}

.signup-panel > p:not(.section-kicker, .privacy-note) {
  max-width: 510px;
  color: var(--mist);
  font-size: 1.05rem;
}

.signup-panel form {
  margin-top: 2.25rem;
}

.counter-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
}

.counter-field label {
  display: grid;
  gap: 0.15rem;
  font-weight: 600;
}

.counter-field small {
  color: #8e99a6;
  font-size: 0.74rem;
  font-weight: 400;
}

.counter-control {
  display: grid;
  grid-template-columns: 3rem 4.5rem 3rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
}

.counter-control button,
.counter-control input {
  height: 3rem;
  border: 0;
  color: var(--paper);
  background: transparent;
  font: 600 1.2rem var(--sans);
  text-align: center;
}

.counter-control button {
  cursor: pointer;
}

.counter-control button:hover {
  color: var(--amber);
  background: rgba(255, 255, 255, 0.06);
}

.counter-control input {
  width: 100%;
  border-inline: 1px solid rgba(255, 255, 255, 0.16);
  appearance: textfield;
}

.counter-control input::-webkit-inner-spin-button,
.counter-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-inline: 1.5rem;
}

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

.form-status {
  min-height: 1.6rem;
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--acid);
}

.form-status.error {
  color: #ff9e7b;
}

.privacy-note {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.5rem;
  color: #8e99a6;
  font-size: 0.78rem;
}

.privacy-note span {
  color: var(--amber);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  display: grid;
  width: var(--page);
  grid-template-columns: 1fr auto;
  gap: 0 1rem;
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #87919d;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

footer strong {
  color: var(--paper);
}

footer a {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--paper);
  text-underline-offset: 0.35em;
}

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

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

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

@keyframes slow-push {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (max-width: 900px) {
  .hero-shade {
    background: linear-gradient(0deg, var(--ink) 0%, rgba(6, 9, 14, 0.54) 75%, rgba(6, 9, 14, 0.52) 100%);
  }

  .hero-content {
    padding-bottom: 13rem;
  }

  .countdown {
    right: auto;
    bottom: 3.5rem;
    left: max(20px, calc((100vw - 1160px) / 2));
  }

  .intro-grid,
  .practical-heading,
  .signup-section {
    grid-template-columns: 1fr;
  }

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

  .detail-card {
    min-height: 210px;
  }

  .signup-art {
    min-height: 520px;
    max-height: 680px;
  }

  .signup-panel {
    max-width: none;
  }

  .landing-parent-guide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .site-header {
    padding-top: 1rem;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 5.7rem);
  }

  .hero-content {
    padding-top: 8rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .countdown {
    right: 16px;
    bottom: 2rem;
    left: 16px;
    justify-content: space-between;
  }

  .countdown p {
    display: none;
  }

  .countdown-numbers {
    width: 100%;
    justify-content: space-around;
  }

  .section {
    padding-block: 5.5rem;
  }

  .intro-grid {
    gap: 1.5rem;
  }

  .intro h2,
  .practical h2,
  .signup-panel h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .story-grid {
    display: block;
  }

  .story-card {
    min-height: 480px;
    margin-bottom: 1rem;
  }

  .story-copy {
    padding: 1.35rem;
  }

  .practical {
    padding-inline: 16px;
  }

  .counter-field {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  footer a {
    grid-column: 1;
    grid-row: auto;
  }
}

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

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

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