:root {
  --paper: #f6f0e6;
  --paper-2: #efe6d6;
  --ink: #2a241c;
  --ink-soft: #5c5348;
  --line: #d8ccb6;
  --olive: #3f4f38;
  --olive-deep: #2c3826;
  --rust: #8d4328;
  --gold: #b58a3d;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(42, 36, 28, 0.12);
  --serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #fff8ea 0%, transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-deep); }
a:hover { color: var(--rust); }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.header-inner,
.footer-inner,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner { min-height: 4.4rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.nav { gap: 1.4rem; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-cta {
  color: var(--olive-deep) !important;
  border-bottom: 1px solid var(--gold);
}

.hero { padding: 3.2rem 0 2.2rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}
.pills span {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--olive-deep);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.15; }

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin: 0 0 0.9rem;
}

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

.lead, .section-lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.lead-sub {
  color: var(--ink-soft);
  max-width: 36rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background: var(--olive);
  color: var(--paper);
}
.btn-primary:hover { background: var(--olive-deep); color: var(--paper); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--olive); color: var(--olive-deep); }

.hero-photo {
  margin: 0;
}
.hero-video {
  position: relative;
  display: block;
  color: inherit;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.45;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.35s ease;
}
.hero-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4.2rem;
  height: 4.2rem;
  margin: -2.1rem 0 0 -2.1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--olive-deep) 78%, transparent);
  border: 2px solid color-mix(in srgb, var(--paper) 80%, transparent);
  box-shadow: 0 8px 24px rgba(42, 36, 28, 0.28);
  pointer-events: none;
}
.hero-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent var(--paper);
  transform: translate(-40%, -50%);
}
.hero-video:hover img,
.hero-video:focus-visible img {
  transform: scale(1.03);
}
.hero-video:hover .hero-play,
.hero-video:focus-visible .hero-play {
  background: var(--olive-deep);
}
.hero-video:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about, .who, .signup { padding: 4.2rem 0; }
.about { border-top: 1px solid var(--line); }

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.6rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem 1.15rem 1.3rem;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.topics li {
  background: var(--paper-2);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  color: var(--ink-soft);
}

.who { background: color-mix(in srgb, var(--paper-2) 70%, var(--paper)); }
.who-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.6rem;
  align-items: start;
}
.who-photo { margin: 0; }
.who-photo img {
  width: 100%;
  border-radius: 1.3rem;
  object-fit: cover;
  object-position: 72% 28%;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.who-photo figcaption {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.signup-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0.9rem;
  margin: 1.3rem 0 1rem;
}
label span {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}
label em { font-weight: 400; color: var(--ink-soft); font-style: normal; }
input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
input:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note, .form-status { color: var(--ink-soft); font-size: 0.95rem; }
.form-status.is-ok { color: var(--olive-deep); font-weight: 600; }
.form-status.is-err { color: var(--rust); font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal { padding: 4rem 0 5rem; }
.legal p { max-width: 42rem; }

@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid,
  .who-grid,
  .cards,
  .fields { grid-template-columns: 1fr; }
  .hero { padding-top: 1.8rem; }
  .header-inner { min-height: 3.8rem; }
}

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