:root {
  --paper: #f3efe6;
  --paper-deep: #e8e0d2;
  --ink: #191713;
  --ink-soft: #4e4941;
  --muted: #71695f;
  --line: #d2c8b8;
  --bronze: #8a633d;
  --bronze-dark: #664526;
  --white: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(72, 52, 31, .045) .7px, transparent .7px);
  background-size: 7px 7px;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #bf8c58; outline-offset: 4px; }

.site-header {
  width: min(100% - 40px, 1080px);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark,
.site-nav,
.eyebrow,
.button,
.text-link,
.format-label,
.fine-print,
.page-kicker,
.footer-links {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wordmark {
  color: var(--ink);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span { color: var(--bronze); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }

.home-main { overflow: hidden; }

.hero {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0 clamp(58px, 8vw, 94px);
  display: grid;
  grid-template-columns: minmax(190px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 94px);
}

.cover-wrap { position: relative; justify-self: center; }
.cover-wrap::after {
  content: "";
  position: absolute;
  inset: 8% -13% -7%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(138, 99, 61, .13);
  filter: blur(25px);
}

.cover {
  display: block;
  width: min(100%, 260px);
  height: auto;
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(40, 29, 18, .22);
}

.eyebrow, .page-kicker {
  margin: 0 0 13px;
  color: var(--bronze);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1, h2, p { text-wrap: pretty; }

.hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 6.7rem);
  font-weight: 680;
  line-height: .9;
  letter-spacing: -.055em;
}

.dek {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.context {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.58;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--bronze-dark);
  border-radius: 4px;
  color: var(--bronze-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}
.button.primary { background: var(--bronze-dark); color: var(--white); }
.button.secondary { background: transparent; }
.button:hover { transform: translateY(-1px); }

.fine-print { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bronze-dark);
  font-size: .79rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.lower-deck {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .42);
}

.lower-inner {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 76px) 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 6vw, 66px);
  align-items: stretch;
}

.opening {
  padding: clamp(25px, 4vw, 42px);
  border-left: 3px solid var(--bronze);
  background: var(--white);
}
.opening blockquote { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.25; }
.opening p { margin: 15px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }

.quiz-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(25px, 4vw, 38px);
  border-radius: 6px;
  background: #2d255f;
  color: #fff;
}
.quiz-card::after {
  content: "?";
  position: absolute;
  right: -6px;
  bottom: -42px;
  color: #ffc94a;
  font: 900 13rem/1 ui-sans-serif, sans-serif;
  opacity: .12;
}
.quiz-card .eyebrow { color: #ffdd77; }
.quiz-card h2 { max-width: 370px; margin: 0; font-size: clamp(2.15rem, 5vw, 3.7rem); line-height: .98; letter-spacing: -.04em; }
.quiz-card p { max-width: 390px; margin: 16px 0 22px; color: rgba(255,255,255,.8); font: 600 .94rem/1.5 ui-sans-serif, sans-serif; }
.quiz-card .button { position: relative; z-index: 1; align-self: flex-start; border-color: #ffc94a; background: #ffc94a; color: #29235d; }

.site-footer {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
}
.site-footer p { margin: 0; font-size: .82rem; line-height: 1.45; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-underline-offset: 4px; }

.simple-main {
  width: min(100% - 40px, 900px);
  min-height: calc(100dvh - 178px);
  margin: 0 auto;
  padding: clamp(44px, 8vw, 86px) 0;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 84px);
}
.simple-main .cover { width: min(100%, 220px); }
.simple-copy h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 680; line-height: .94; letter-spacing: -.05em; }
.simple-copy .dek { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.simple-copy .context { max-width: 540px; }
.format-label { margin: 0 0 9px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.bridge-main {
  width: min(100% - 40px, 700px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  place-items: center;
}
.bridge-card {
  width: 100%;
  padding: clamp(30px, 7vw, 58px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(53, 39, 24, .11);
  text-align: center;
}
.bridge-card h1 { margin: 0; font-size: clamp(3.4rem, 10vw, 6rem); line-height: .9; letter-spacing: -.055em; }
.bridge-card .dek, .bridge-card .context { margin-inline: auto; }
.bridge-card .actions { justify-content: center; }
.bridge-card .text-link { margin-top: 10px; }

@media (max-width: 720px) {
  .site-header { width: min(100% - 32px, 520px); min-height: 64px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: .68rem; }
  .hero { width: min(100% - 34px, 520px); grid-template-columns: 1fr; gap: 34px; padding-top: 34px; }
  .cover { width: min(54vw, 220px); }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: clamp(3.65rem, 18vw, 5.4rem); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .lower-inner { width: min(100% - 34px, 520px); grid-template-columns: 1fr; }
  .quiz-card { min-height: 285px; }
  .site-footer { width: min(100% - 34px, 520px); display: block; }
  .footer-links { justify-content: flex-start; margin-top: 16px; }
  .simple-main { width: min(100% - 34px, 520px); grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .simple-main .cover { width: min(50vw, 200px); margin: 0 auto; }
  .simple-main .actions { justify-content: center; }
  .simple-main .text-link { justify-content: center; }
  .bridge-main { width: min(100% - 24px, 520px); padding: 12px 0; }
  .bridge-card { padding: 34px 22px; }
}

@media (max-width: 430px) {
  .site-nav a:nth-child(2) { display: none; }
  .dek { font-size: 1.32rem; }
  .context { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
