:root {
  --lake: #0b7a95;
  --lake-dark: #095f74;
  --ink: #14303a;
  --muted: #4d6670;
  --hill: #8a5a3c;
  --mist: #eef4f5;
  --paper: #ffffff;
  --line: #cfdde1;
  --radius: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

/* ---------- Banner ---------- */
.hero { position: relative; }

.hero img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 440px);
  object-fit: cover;
  object-position: center 60%;
}

.hero::after {               /* darkens the sky so the title stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 36, 50, 0.62) 0%, rgba(6, 36, 50, 0.25) 38%, rgba(6, 36, 50, 0) 60%);
  pointer-events: none;
}

.hero-text {
  position: absolute;
  top: clamp(14px, 3vw, 40px);
  left: clamp(18px, 4vw, 56px);
  right: 18px;
  z-index: 1;
  color: #fff;
}

.hero-text h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-text p {
  margin: 0.45rem 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 96px) 20px; }
.section.alt { background: var(--mist); }

.wrap { max-width: 1000px; margin: 0 auto; }
.wrap.narrow { max-width: 640px; }

h2 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--ink);
}

.text { max-width: 680px; }
.text p { margin: 0 0 1rem; color: var(--muted); }
.lead { color: var(--muted); margin: 0 0 1.8rem; }

/* Section 1 - horizontal video (16:9) */
.video-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d2530;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.8rem;
}

/* Section 2 - vertical video (9:16) with text beside it */
.split {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
/* To put the video on the right instead, add: .split { direction: rtl; } .split > * { direction: ltr; } */

.video-tall {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0d2530;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wide iframe,
.video-tall iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Form ---------- */
form label {
  display: block;
  margin: 1.1rem 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

form textarea { resize: vertical; min-height: 140px; }

form input:focus,
form textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(11, 122, 149, 0.45);
  outline-offset: 1px;
  border-color: var(--lake);
}

button {
  margin-top: 1.5rem;
  padding: 0.85rem 1.8rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--lake);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: var(--lake-dark); }
button:disabled { opacity: 0.6; cursor: wait; }

#form-status { margin: 1rem 0 0; min-height: 1.5em; font-weight: 500; }
#form-status.success { color: #1d7a3e; }
#form-status.error { color: #b3261e; }

/* honeypot - hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
footer {
  padding: 28px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  background: var(--ink);
}
footer p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .video-tall { max-width: 320px; margin: 0 auto; }
}
