:root {
  --ink: #241c17;
  --muted: #5e534a;
  --paper: #f6f0e6;
  --card: #fffaf3;
  --cobalt: #1d4e89;
  --cobalt-deep: #143864;
  --apricot: #e07a3d;
  --line: #e4d8c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a[href^="mailto:"] { white-space: nowrap; }
h1, h2, h3 {
  font-family: Syne, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 12px; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }
[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--cobalt);
  color: #f6f0e6;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f6f0e6;
}
.mark { width: 42px; height: 42px; flex: none; }
.brand strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 5px;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: #f0c7b0;
}
.nav-btn {
  display: none;
  margin-left: auto;
  border: 1px solid #f6f0e6;
  background: transparent;
  color: #f6f0e6;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
}
.rail nav { display: flex; flex-direction: column; gap: 4px; }
.rail nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.rail nav a.is-current,
.rail nav a:hover { background: rgba(255, 255, 255, 0.12); }
.mail {
  margin-top: auto;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.stage { min-width: 0; }
.wrap { width: min(980px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--apricot);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero, .block { padding: 56px 0; }
.hero-grid, .split, .reach, .form-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn.quiet {
  background: transparent;
  color: var(--cobalt);
  box-shadow: inset 0 0 0 1.5px var(--cobalt);
}
.band .btn { background: var(--apricot); color: #241c17; }

.shot img {
  width: 100%;
  height: auto;
  background: var(--card);
  border-radius: 8px 48px 8px 8px;
  border: 1px solid var(--line);
}
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cobalt-deep);
  color: #f6f0e6;
}
.facts div { padding: 20px 22px; }
.facts div + div { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.facts span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c7b0;
  font-weight: 700;
}
.facts b { display: block; margin-top: 6px; font-family: Syne, sans-serif; font-size: 1.15rem; }
.facts a { color: #fff; text-decoration: none; }

.pair, .who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.pair article, .who article, .lot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px 8px;
}
.pair article:first-child { border-top: 6px solid var(--cobalt); }
.pair article:last-child { border-top: 6px solid var(--apricot); }
.who { grid-template-columns: 1fr 1fr; }

.lots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lot span {
  display: block;
  font-family: Syne, sans-serif;
  color: var(--apricot);
  font-weight: 700;
  margin-bottom: 6px;
}

.steps { list-style: none; margin: 12px 0 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding-bottom: 16px;
}
.steps li::before { content: none; }
.dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--apricot);
  color: #241c17;
  display: grid;
  place-items: center;
  font-family: Syne, sans-serif;
  font-weight: 700;
}

.plain { margin: 8px 0 0; padding: 0; list-style: none; }
.plain li {
  padding: 10px 0 10px 14px;
  border-top: 1px solid var(--line);
  position: relative;
}
.plain li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apricot);
  position: absolute;
  left: 0;
  top: 1.05rem;
}

.band { background: var(--cobalt); color: #f6f0e6; }
.band p, .band .lead { color: #e7eef6; }
.sand { background: #f3e2d2; }

.card {
  background: var(--cobalt);
  color: #f6f0e6;
  border-radius: 8px;
  padding: 22px;
}
.card dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #f0c7b0; }
.card dd { margin: 4px 0 14px; font-family: Syne, sans-serif; font-size: 1.35rem; }
.card a { color: #fff; }

details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: var(--muted); }

form { display: grid; gap: 12px; background: var(--card); border-left: 6px solid var(--cobalt); padding: 20px; border-radius: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
}
textarea { resize: vertical; }
form .btn { justify-self: start; }

.policy .block { padding: 22px 0; border-top: 1px solid var(--line); }

footer { padding: 28px 0 40px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
footer strong { font-family: Syne, sans-serif; font-size: 1.3rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.foot-links a { text-decoration: none; font-weight: 600; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 56, 100, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 40;
}
.modal-box {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 8px;
  padding: 26px;
  border-top: 6px solid var(--apricot);
}
.modal-box p { color: var(--muted); }

@media (max-width: 900px) {
  body { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px;
    gap: 10px 14px;
  }
  .nav-btn { display: inline-flex; }
  .rail nav { display: none; flex-basis: 100%; }
  .rail nav.is-open { display: flex; }
  .mail { margin-top: 0; flex-basis: 100%; }
  .hero-grid, .split, .reach, .form-grid, .pair, .who, .lots, .facts, .form-row { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .hero, .block { padding: 40px 0; }
  .wrap { width: min(980px, calc(100% - 32px)); }
  .foot { flex-direction: column; align-items: flex-start; }
}
