:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --ink: #092f3c;
  --muted: #435b60;
  --green: #23685b;
  --mint: #a1e2cf;
  --line: #dbe2db;
  --display: "Geist", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #4ba897; outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.063em; }
em { color: var(--green); font-style: normal; }
.shell { width: min(100% - 72px, 1392px); margin-inline: auto; }

.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header { min-height: 90px; }
.header img, .footer img { height: auto; }
nav { display: flex; align-items: center; gap: 27px; }
nav a { font-size: .88rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--green); }
.nav-form { border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(590px, 75svh, 800px);
  overflow: hidden;
  border-radius: 26px;
  background: #142e38;
  color: white;
}
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 60% 56%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #0b2028de, #0b202875 48%, transparent 80%),
              linear-gradient(0deg, #0b2028e8, transparent 65%);
}
.hero-copy { padding: clamp(34px, 6vw, 92px); }
.hero h1 { font-size: clamp(3.4rem, 7vw, 7.2rem); max-width: 13ch; }
.hero h1 em { color: var(--mint); }
.hero-copy > p:not(.hero-note) { max-width: 43ch; margin-block: 20px 26px; color: #f3f7f5; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 14px 20px; border-radius: 999px; background: var(--mint); color: #0a2f36; font-size: .93rem; font-weight: 800; text-align: center; text-decoration: none; }
.button:hover { background: #c6f1e3; }
.hero-note { color: #f3f7f5; font-size: .82rem; margin-top: 10px; }

.story { scroll-margin-top: 18px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: clamp(35px, 7vw, 105px); padding: clamp(56px, 8vw, 118px) clamp(0px, 3vw, 42px); }
.story h2, .capture h2 { font-size: clamp(2.55rem, 4.5vw, 4.9rem); }
.story h2 em, .capture h2 em { display: block; }
.story-copy { color: var(--muted); max-width: 59ch; }
.story-copy p + p { margin-top: 16px; }
.story-intro { display: grid; grid-template-rows: auto 1fr; }
.photo-strip { display: grid; grid-auto-rows: minmax(82px, 1fr); gap: 12px; margin-top: 24px; }
.photo-frame { position: relative; overflow: hidden; border-radius: 14px; }
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture { display: grid; gap: clamp(22px, 4vw, 42px); justify-items: center; padding: clamp(22px, 5vw, 68px); border-radius: 24px; background: #e7f2ed; scroll-margin-top: 20px; }
.capture h2 { text-align: center; }
.form-panel { width: min(100%, 760px); padding: clamp(12px, 2.5vw, 29px); background: #fff; border: 1px solid var(--line); border-radius: 15px; min-width: 0; }
.form-panel iframe { display: block; border: 0; }
.footer { padding-block: 30px; }
.footer p { color: var(--muted); font-size: .84rem; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 42px); }
  .hero { min-height: 620px; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 28px); }
  .header { min-height: 72px; }
  .header img { width: 143px; }
  .nav-story { display: none; }
  .nav-form { padding: 7px 11px; font-size: .79rem; }
  .hero { min-height: 590px; border-radius: 18px; }
  .hero-photo { object-position: 54% 28%; }
  .hero::after { background: linear-gradient(0deg, #0b2028f5, #0b2028c9 42%, transparent 83%); }
  .hero-copy { padding: 23px 22px 35px; }
  .hero h1 { font-size: clamp(2.5rem, 10.3vw, 4.2rem); }
  .desktop-break { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 23px; padding-inline: 9px; }
  .photo-strip { grid-auto-rows: auto; margin-top: 19px; }
  .photo-frame { height: clamp(124px, 29vw, 176px); }
  .capture { border-radius: 18px; }
}

@media (max-width: 380px) {
  .footer { align-items: flex-start; flex-direction: column; }
}

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