:root {
  --paper: #f3eee4;
  --card: #fffdf8;
  --ink: #1a2114;
  --muted: #2a3824;
  --forest: #1c4632;
  --forest-deep: #123226;
  --line: #d5cbb8;
  --gold: #f3d48a;
  --gold-ink: #3d2c08;
  --focus: #8a4b08;
  --shadow: 0 1px 0 rgba(18, 50, 38, 0.04);
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img,
svg,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
.brand-name {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: 3rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
}

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

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--forest-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0c2418;
}

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

::selection {
  background: #c9ddc8;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 0.6rem;
}

.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;
}

.preview-banner {
  margin: 0;
  padding: 0.7rem 1.25rem;
  background: var(--gold);
  color: var(--gold-ink);
  text-align: center;
  font-size: 1.1rem;
}

.site-header {
  background: var(--forest-deep);
  color: #f6f1e7;
}

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 0 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #f6f1e7;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: none;
}

.brand-name {
  display: block;
  font-size: 1.45rem;
  white-space: nowrap;
}

.brand-place {
  display: block;
  font-size: 1.05rem;
  color: #e4efe6;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.4rem 0.8rem;
  color: #f6f1e7;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.15rem;
}

nav a:hover,
nav a[aria-current="page"] {
  background: rgba(246, 241, 231, 0.14);
  text-decoration: underline;
}

main {
  padding: 2rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}

.lede,
.prose p,
.placeholder-box p,
.page-intro {
  max-width: 68ch;
}

.hero-actions,
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button,
button.buy,
.play-label {
  font: inherit;
}

.button,
button.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  border: 2px solid var(--forest);
  background: var(--forest);
  color: #f6f1e7;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--forest-deep);
}

.button:hover {
  background: var(--forest-deep);
  color: #fff;
}

.button.secondary:hover {
  background: #e7f0e8;
  color: var(--forest-deep);
}

button.buy:disabled {
  background: #e6e0d4;
  border-color: #6f675c;
  color: #2c291f;
  cursor: not-allowed;
}

.hero-art {
  justify-self: end;
  width: min(100%, 280px);
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(18, 50, 38, 0.08));
}

.section {
  margin-top: 2.75rem;
}

.hero + .section {
  margin-top: 0.25rem;
}

.placeholder-flag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.placeholder-box {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem 0.3rem;
  background: #fff8e8;
  border: 2px dashed #8a6a22;
  border-radius: 14px;
}

.feed-note,
.meta,
.fine {
  color: var(--muted);
}

.feed-note {
  max-width: 75ch;
}

.featured-wrap {
  margin: 1.2rem 0 1.4rem;
}

.video-grid,
.product-grid,
.short-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.15rem;
}

.video-card,
.product,
.path-list li,
.episode,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.video-card {
  overflow: hidden;
}

.video-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0.5rem 1.2rem;
  align-items: center;
  padding-right: 0.4rem;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #122117;
  overflow: hidden;
}

.video-card:not(.is-featured) .player-frame,
.episode .player-frame,
.short-card .player-frame {
  border-radius: 16px 16px 0 0;
}

.is-featured .player-frame {
  border-radius: 16px 0 0 16px;
}

.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #122117;
  cursor: pointer;
}

.play-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 4.4rem;
  height: 4.4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(18, 50, 38, 0.9);
  box-shadow: inset 0 0 0 3px #f6f1e7;
}

.play-button::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: calc(50% + 0.15rem);
  top: 46%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.75rem 0 0.75rem 1.2rem;
  border-color: transparent transparent transparent #f6f1e7;
}

.play-label {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f6f1e7;
  color: var(--ink);
  font-weight: 800;
}

.play-button:hover .play-label,
.play-button:focus-visible .play-label {
  background: #fff;
}

.play-button:focus-visible {
  outline-offset: -6px;
}

.video-card-body,
.product,
.episode-body {
  padding: 1rem 1.15rem 1.15rem;
}

.badge,
.file-type {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: #e7f0e8;
  color: var(--forest-deep);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.video-card p:last-child,
.product p:last-child,
.episode p:last-child {
  margin-bottom: 0;
}

.experience {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  max-width: 68ch;
}

.experience li {
  margin: 0.5rem 0;
  padding-left: 0.35rem;
}

.series-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.2rem;
  margin: 0 0 1.15rem;
}

.puzzle-feature {
  border: 4px solid var(--forest);
  background: #f4faf5;
}

.puzzle-lead {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--forest-deep);
}

.honeypot {
  display: none;
}

.series-card h3 {
  margin-top: 0.15rem;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1.15rem;
  margin-bottom: 0.4rem;
}

.series-grid .series-card {
  margin: 0;
}

.rough {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--forest);
}

.episode-list,
.topic-list {
  margin: 0.35rem 0 0.8rem;
  padding-left: 1.4rem;
}

.episode-list li,
.topic-list li {
  margin: 0.4rem 0;
}

.path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.path-list li {
  padding: 1rem 1.15rem 0.35rem;
  border-left: 6px solid var(--forest);
}

.episode {
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.episode-kicker {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--forest);
}

.short-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.short-card .video-card-body h3 {
  font-size: 1.25rem;
}

.product-grid {
  align-items: stretch;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px dashed #8a6a22;
  padding-top: 2.6rem;
}

.product .buy {
  margin-top: auto;
  align-self: flex-start;
}

.example-stamp {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.1rem 1.15rem 1.15rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 2px solid #8d8678;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.request-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.request-block .contact-form {
  margin-top: 0.4rem;
}

.optional {
  font-weight: 600;
  color: var(--muted);
}

.choice-group {
  margin: 0;
  padding: 0.85rem 1rem 0.5rem;
  border: 2px solid #8d8678;
  border-radius: 12px;
}

.choice-group legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.choice-group .meta {
  margin-top: 0;
}

label.choice {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  font-weight: 700;
}

label.choice input {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
  padding: 0;
  flex: none;
  accent-color: var(--forest);
}

input[type="date"] {
  min-height: 48px;
}

input:disabled,
textarea:disabled {
  color: var(--ink);
  background: #f3eee4;
  opacity: 1;
  cursor: not-allowed;
}

fieldset:disabled {
  opacity: 1;
}

fieldset:disabled legend,
fieldset:disabled p,
fieldset:disabled label {
  color: var(--ink);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.site-footer {
  background: var(--forest-deep);
  color: #f6f1e7;
  padding: 1.6rem 0 2rem;
}

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

.footer-name {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0.8rem 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 1.15rem;
}

.footer-note {
  margin: 0.4rem 0 0;
  max-width: 70ch;
  color: #e4efe6;
}

.missing {
  padding: 2rem 0 3rem;
}

@media (max-width: 840px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero,
  .video-card.is-featured {
    grid-template-columns: 1fr;
  }

  .hero-art {
    justify-self: start;
    width: min(100%, 210px);
  }

  .is-featured .player-frame,
  .video-card:not(.is-featured) .player-frame {
    border-radius: 16px 16px 0 0;
  }

  .header-inner,
  .wrap,
  .footer-inner {
    width: min(1120px, calc(100% - 1.4rem));
  }
}

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