:root {
  --navy: #0b2a3d;
  --deep: #123a52;
  --blue: #1d6a8a;
  --sky: #cfe8f2;
  --sand: #f4efe6;
  --ink: #12202a;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6vw;
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.45rem;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: #7ec8e3;
}

.nav nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--sky);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.hero {
  min-height: 72vh;
  background:
    linear-gradient(180deg, rgb(11 42 61 / 60%), rgb(11 42 61 / 78%)),
    radial-gradient(ellipse at 70% 80%, #2a7ea0 0%, transparent 55%),
    url("/assets/hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, #0b2a3d, #1d6a8a 55%, #8bb8c9);
  color: var(--white);
  display: grid;
  place-items: end start;
  padding: 8vh 6vw 10vh;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  max-width: 12ch;
}

.lede {
  max-width: 36rem;
  margin: 1.1rem 0 1.6rem;
  font-size: 1.15rem;
  color: var(--sky);
}

.btn {
  display: inline-block;
  background: #e8f4f8;
  color: var(--navy);
  text-decoration: none;
  border: none;
  font: inherit;
  font-weight: 600;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(0.96);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7ec8e3;
  outline-offset: 3px;
}

.section {
  padding: 4.5rem 6vw;
  max-width: 1100px;
  margin: 0 auto;
}

.section.alt {
  background: var(--white);
  max-width: none;
  padding-left: max(6vw, calc(50vw - 550px + 6vw));
  padding-right: max(6vw, calc(50vw - 550px + 6vw));
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

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

.card {
  background: var(--white);
  padding: 1.3rem 1.2rem;
  border-radius: 14px;
  border: 1px solid #e3d9c8;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--blue);
}

.note,
.fine {
  margin-top: 1.25rem;
  color: #4a5a64;
  font-size: 0.95rem;
}

.book-form {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.optional {
  color: #60717b;
  font-weight: 400;
}

input,
textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c9bba6;
  border-radius: 8px;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.book-form .btn {
  justify-self: start;
}

.book-form .btn:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.turnstile-widget {
  min-height: 65px;
}

.form-note,
.form-status {
  max-width: 34rem;
  color: #4a5a64;
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4em;
  font-weight: 600;
}

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

.form-status.is-success {
  color: #17603a;
}

footer {
  background: var(--navy);
  color: var(--sky);
  padding: 2rem 6vw;
  font-size: 0.92rem;
}

footer .fine {
  color: #8aa8b6;
}

@media (max-width: 640px) {
  .nav nav {
    display: none;
  }

  .hero {
    min-height: 62vh;
  }
}

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