:root {
  --plaster: #f3efe6;
  --paper: #faf7f2;
  --ink: #14241c;
  --stone: #5c665e;
  --cedar: #9a431c;
  --line: #ddd4c6;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  text-wrap: pretty;
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, a.btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 60; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--plaster);
  border-bottom: 1px solid var(--line);
}
.bar.is-stuck {
  background: color-mix(in srgb, var(--plaster) 92%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.bar-row, .brand, .actions, .row, .foot { display: flex; align-items: center; gap: 0.75rem; }
.bar-row { min-height: 4.25rem; }
.brand { gap: 0.55rem; text-decoration: none; font-family: var(--display); font-size: 1.05rem; min-width: 0; }
.brand span, .brand strong { white-space: nowrap; }
.mark { width: 1.75rem; height: 1.75rem; flex: none; }
.mark rect { fill: var(--ink); }
.mark path { fill: var(--plaster); }
.nav { display: none; gap: 1.25rem; margin-left: 1rem; }
.nav a { color: var(--stone); text-decoration: none; font-size: 0.92rem; }
.nav a:hover { color: var(--ink); }
.actions { margin-left: auto; }
.num { display: none; text-decoration: none; font-weight: 500; letter-spacing: 0.02em; }
.num:hover, .fine a:hover, .foot a:hover { color: var(--cedar); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 2.75rem; padding: 0 0.9rem;
  text-decoration: none; font: 500 0.92rem/1 var(--sans);
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, scale 150ms ease;
}
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.btn:active { scale: 0.96; }
.solid { background: var(--ink); color: var(--plaster); }
.solid:hover { background: var(--cedar); }
.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.ghost:hover { background: var(--ink); color: var(--plaster); }
.paper { background: var(--plaster); color: var(--ink); }
.paper:hover { background: var(--paper); }
.ghost-light { color: var(--plaster); border-color: color-mix(in srgb, var(--plaster) 40%, transparent); background: transparent; }
.ghost-light:hover { background: var(--plaster); color: var(--ink); }
.hero { display: grid; gap: 2rem; padding: 2rem 0 2.5rem; }
.kicker { color: var(--cedar); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
.lede, .narrow { max-width: 36rem; color: var(--stone); font-size: 1.12rem; }
.row { flex-wrap: wrap; margin-top: 1.6rem; }
.fine { margin-top: 0.9rem; color: var(--stone); font-size: 0.95rem; }
.fine a { font-weight: 600; color: var(--ink); }
.frame { overflow: hidden; margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform 700ms cubic-bezier(0.2,0,0,1); }
.hero .frame img { aspect-ratio: 16/9; height: 18rem; }
.frame:hover img { transform: scale(1.045); }
.facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts-grid { list-style: none; margin: 0; padding: 0; display: grid; }
.facts-grid li { padding: 1.4rem 0.2rem; }
.facts-grid h2 { font-size: 1.35rem; font-weight: 500; }
.facts-grid p { margin-top: 0.4rem; color: var(--stone); font-size: 0.95rem; }
.block { padding: 4rem 0; }
.display { font-size: clamp(2.1rem, 4vw, 3.3rem); max-width: 16ch; }
.split { display: grid; gap: 1.4rem; align-items: center; margin-top: 3rem; }
.split h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.4rem 0 0.8rem; }
.split p { color: var(--stone); max-width: 38rem; }
.trio { display: grid; gap: 2rem; }
.trio h2 { font-size: 2rem; margin: 0.2rem 0 0.6rem; }
.trio p:last-child { color: var(--stone); }
.ink { background: var(--ink); color: var(--plaster); padding: 3.5rem 0; }
.jobs-list { margin-top: 1.6rem; }
.ink .muted, .book .muted { color: color-mix(in srgb, var(--plaster) 78%, transparent); margin-top: 0.8rem; }
.ink .split p { color: color-mix(in srgb, var(--plaster) 78%, transparent); }
.jobs-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.jobs-list li { border-top: 1px solid color-mix(in srgb, var(--plaster) 16%, transparent); padding-top: 0.7rem; font-size: 0.95rem; }
.jobs-list li::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; background: var(--cedar); margin-right: 0.6rem; }
.paper { background: var(--paper); }
section.paper { border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.8rem; }
.steps span { font-family: var(--display); font-size: 3rem; color: var(--cedar); }
.steps h3 { font-size: 1.6rem; margin: 0.4rem 0; }
.steps p { color: var(--stone); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); margin-top: 2rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 1.7rem; padding: 0.8rem 0.7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.faq { max-width: 44rem; padding-bottom: 1rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 1.2rem; }
summary { cursor: pointer; list-style: none; padding: 1rem 0; font-size: 1.15rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cedar); font-family: var(--display); font-size: 1.6rem; font-weight: 500; }
details[open] summary::after { content: "+"; rotate: 45deg; }
details p { color: var(--stone); padding-bottom: 1rem; }
.book { background: var(--ink); color: var(--plaster); margin: 2rem 1rem 0; padding: 3rem 0; }
.book h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.book h2 a { display: block; margin-top: 0.35rem; text-decoration: none; }
.book h2 a:hover { color: var(--cedar); }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 1.4rem; }
#copy { background: none; border: 0; color: color-mix(in srgb, var(--plaster) 80%, transparent); text-decoration: underline; text-underline-offset: 4px; font: inherit; min-height: 2.75rem; }
.foot { justify-content: space-between; padding: 2.2rem 0 2.6rem; flex-wrap: wrap; }
.foot strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.foot span { color: var(--stone); font-size: 0.92rem; }
.foot a { font-weight: 600; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; }
.rise { animation: rise 720ms cubic-bezier(0.2,0,0,1) both; }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 170ms; }
.d3 { animation-delay: 260ms; }
.d4 { animation-delay: 360ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } }
.js .reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 640ms cubic-bezier(0.2,0,0,1), transform 640ms cubic-bezier(0.2,0,0,1), filter 640ms cubic-bezier(0.2,0,0,1); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (min-width: 720px) {
  .nav { display: flex; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .facts-grid li + li { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .jobs-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .book-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; }
  .book-actions { justify-content: flex-end; margin-top: 0; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .num { display: inline; margin-right: 0.4rem; }
  .hero { min-height: 0; padding: 3.5rem 0 2rem; }
  .hero .frame img { height: 100%; min-height: 28rem; aspect-ratio: auto; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .flip figure { order: 2; }
  .patio { margin: 4rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .frame img { transition: none; }
}
