@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3efe6;
  --raised: #fbfaf6;
  --ink: #14233a;
  --muted: #3e4a5c;
  --line: #ddd6c8;
  --teal: #1a615c;
  --teal-ink: #0e4440;
  --footer: #101a2c;
  --focus: #0e4440;
  --shadow: 0 18px 40px rgba(20, 35, 58, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-ink);
}

a:hover {
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--raised);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

.preview-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.preview-banner p {
  margin: 0 auto;
  max-width: 46rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-ink);
}

.button,
.video-toggle {
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.05rem;
  min-height: 44px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-button {
  display: none;
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  min-height: 44px;
}

.button-small {
  padding: 0.55rem 0.9rem;
  min-height: 44px;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.video-toggle:hover {
  background: #243652;
}

.button-ghost:hover {
  background: rgba(20, 35, 58, 0.06);
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 3.2rem 0 4.2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.55rem;
  margin: 0.85rem 0 0.45rem;
}

.lede,
.prose p,
.card p,
.step p,
.note p,
.pilot p,
.inquiry-copy p,
dialog p {
  color: var(--muted);
}

.lede {
  font-size: 1.2rem;
  max-width: 38rem;
  margin: 1.25rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.video-frame {
  position: relative;
  background: #d7d0c3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d7d0c3;
}

.video-toggle {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: var(--raised);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(16, 26, 44, 0.16);
}

.video-toggle:hover {
  background: white;
}

.caption {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

section {
  padding: 1rem 0 4.5rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.prose p,
.card p,
.note p,
.pilot p,
.inquiry-copy p {
  margin: 0 0 1rem;
}

.prose p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.step {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.note,
.pilot,
.inquiry-panel {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 0.4rem;
  margin-top: 1.25rem;
}

.note h3,
.pilot h3 {
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1rem 1.2rem;
}

.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #e7e1d6;
}

.card .kicker {
  margin: 0.9rem 0 0;
  color: var(--teal-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fine {
  font-size: 0.92rem;
}

.pilot-label {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(26, 97, 92, 0.1);
  color: var(--teal-ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.price-line {
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.price-line span {
  font-weight: 600;
}

.questions {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
}

.questions details {
  border-bottom: 1px solid var(--line);
}

.questions summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  font-weight: 600;
  color: var(--ink);
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-0.15rem) rotate(45deg);
}

.questions details[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

.questions details p {
  margin: 0 0 1.1rem;
  max-width: 44rem;
  color: var(--muted);
}

.demo-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.demo-lines li {
  padding: 0.25rem 0;
  color: var(--ink);
}

dialog {
  border: none;
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.2rem;
  width: min(36rem, calc(100% - 1.5rem));
  max-height: min(90vh, 42rem);
  overflow: auto;
  background: var(--raised);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(16, 26, 44, 0.48);
}

dialog h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.page-intro {
  padding: 3.2rem 0 1rem;
  max-width: 42rem;
}

.page-intro h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.page-body {
  max-width: 42rem;
  padding-bottom: 4rem;
}

.site-footer {
  background: var(--footer);
  color: #f6f3ec;
  padding: 2.8rem 0 2.2rem;
}

.site-footer a {
  color: #f6f3ec;
}

.site-footer :focus-visible {
  outline-color: #f3efe6;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #f6f3ec;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.footer-brand img {
  width: 2.1rem;
  height: 2.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

.footer-meta {
  margin: 1.4rem 0 0;
  color: #d9d3c6;
  font-size: 0.95rem;
}

.hero-copy {
  animation: rise 0.6s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .steps,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding-top: 4.2rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

@media (max-width: 879px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .button {
    width: 100%;
  }
}

@media (max-width: 719px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
