:root {
  --stone: #ECEEE6; --paper: #FAFAF6; --ink: #1E1420; --fig: #3A1D3A; --fig-deep: #2B142C;
  --wheat: #E0A93B; --olive: #66733F; --soft: #5F5664; --rule: rgba(30, 20, 32, .16);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; }
img, canvas { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.mark svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-family: var(--display); font-weight: 600; font-size: .98rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
@media (max-width: 620px) { .nav-links .opt { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1;
  padding: 17px 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.gold { background: var(--wheat); border-color: var(--wheat); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 10px 16px; font-size: .9rem; border-width: 1.5px; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.on-fig .btn.ghost { color: var(--paper); border-color: rgba(250, 250, 246, .5); }

/* hero */
.hero { padding: clamp(28px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.7rem, 8.6vw, 7.4rem); line-height: .93; letter-spacing: -.045em; max-width: 13ch; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 28px 48px; align-items: end; margin-top: clamp(22px, 3vw, 40px); }
.hero-foot p { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; margin: 0; color: #33283a; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero-foot { grid-template-columns: 1fr; } }

/* the table: manuscript in, twelve baskets out */
.table { background: var(--fig); color: var(--paper); padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 5vw, 72px); }
.table-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.sheet { background: var(--paper); color: var(--ink); padding: 26px 24px 30px; font-size: .86rem; line-height: 1.55; transform: rotate(-1.6deg); box-shadow: 0 18px 0 -8px rgba(0, 0, 0, .28); position: sticky; top: 24px; }
.sheet b { font-family: var(--display); font-size: 1.15rem; display: block; line-height: 1.1; }
.sheet i { color: var(--olive); font-style: normal; font-weight: 600; display: block; margin: 2px 0 12px; }
.sheet p { margin: 0 0 .8em; }
.sheet .fade { color: rgba(30, 20, 32, .35); }
.baskets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; counter-reset: b; }
.baskets li { counter-increment: b; opacity: 0; transform: translateY(14px); animation: land .5s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 85ms + 250ms); }
@keyframes land { to { opacity: 1; transform: none; } }
.frame { aspect-ratio: 4 / 3; background: var(--fig-deep); display: grid; place-items: center; padding: 9%; overflow: hidden; border-radius: 3px; }
.frame canvas { max-height: 100%; width: auto; max-width: 100%; height: auto; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.frame.tall canvas { height: 100%; }
.frame .note { background: var(--paper); color: var(--ink); font-size: clamp(.5rem, .78vw, .7rem); line-height: 1.42; padding: 9% 9% 0; width: 100%; height: 100%; overflow: hidden; white-space: pre-line; text-align: left; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.frame .note strong { font-family: var(--display); display: block; margin-bottom: .4em; font-size: 1.15em; }
.baskets figcaption, .baskets .cap { font-family: var(--display); font-weight: 600; font-size: .92rem; margin-top: 9px; display: flex; gap: 8px; line-height: 1.2; }
.baskets .cap::before { content: counter(b); color: var(--wheat); min-width: 1.2em; font-variant-numeric: tabular-nums; }
.epigraph { margin: clamp(28px, 4vw, 56px) 0 0; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--wheat); max-width: 30ch; }
.epigraph cite { display: block; font-style: normal; font-family: var(--display); font-weight: 600; font-size: .9rem; color: #CDB8C9; margin-top: 8px; }
@media (max-width: 900px) { .table-grid { grid-template-columns: 1fr; } .sheet { position: static; max-width: 420px; max-height: 250px; overflow: hidden; } .baskets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .baskets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .baskets li { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* sections */
.band { padding: clamp(56px, 9vw, 128px) 0; }
.band .lede { max-width: 38rem; font-size: 1.2rem; margin-top: 18px; color: #33283a; }
.week { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); gap: 18px; margin-top: 40px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
.day { scroll-snap-align: start; }
.day h3 { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 12px; font-size: 1.1rem; }
.day h3 span { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: .92rem; color: var(--soft); letter-spacing: 0; }
.day p { font-size: .92rem; line-height: 1.5; white-space: pre-line; margin: 12px 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; line-clamp: 9; overflow: hidden; }
.slides-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin-top: 40px; align-items: end; }
@media (max-width: 760px) { .slides-row { grid-template-columns: 1fr; } }

.paper { background: var(--paper); }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 4.4rem; line-height: .9; color: var(--olive); display: block; margin-bottom: 12px; }
.steps p { margin: 8px 0 0; font-size: 1.02rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.reasons { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); }
.reasons dl { margin: 0; }
.reasons dt { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.15; margin-top: 28px; }
.reasons dt:first-child { margin-top: 0; }
.reasons dd { margin: 8px 0 0; max-width: 36rem; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }

.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.price-card { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.4vw, 44px); border-radius: 4px; }
.price-card .amt { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.4rem); letter-spacing: -.04em; line-height: .9; }
.price-card .amt small { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }
.price-card ul { padding-left: 1.1em; margin: 18px 0 24px; }
.price-card li { margin: 4px 0; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input { flex: 1 1 200px; }
.form-msg { font-size: .95rem; margin: 10px 0 0; min-height: 1.4em; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

.faq { max-width: 46rem; margin-top: 36px; }
.faq details { border-top: 1.5px solid var(--rule); padding: 18px 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--rule); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 600; color: var(--olive); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 10px 0 0; }

.foot { padding: 40px 0 56px; font-size: .95rem; color: var(--soft); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; border-top: 1.5px solid var(--rule); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* forms (shared) */
label { font-family: var(--display); font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid rgba(30, 20, 32, .3); border-radius: 6px; padding: 12px 13px; }
textarea { line-height: 1.5; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--wheat); outline-offset: 1px; border-color: var(--ink); }
.hint { font-size: .88rem; color: var(--soft); margin: 6px 0 0; }

/* legal pages */
.legal { max-width: 44rem; padding-bottom: 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 30px 0 20px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 10px; max-width: none; }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: 80px; }
@media (max-width: 980px) { .studio { grid-template-columns: 1fr; } }
.panel { background: var(--paper); padding: clamp(18px, 2.4vw, 28px); border-radius: 6px; }
.panel h1 { font-size: 1.9rem; margin-bottom: 6px; }
.field { margin-top: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
#sermon { min-height: 260px; font-size: .98rem; }
.count { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--soft); margin-top: 6px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--fig); text-decoration: underline; cursor: pointer; font-size: inherit; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch span { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border: 1.5px solid rgba(30, 20, 32, .25); border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .86rem; background: #fff; }
.swatch i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.swatch input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid var(--wheat); outline-offset: 2px; }
.swatch input[type=color] { position: static; opacity: 1; width: 26px; height: 26px; padding: 0; border: 0; background: none; }
.check { display: flex; gap: 9px; align-items: flex-start; font-family: var(--serif); font-weight: 400; font-size: .96rem; margin-top: 14px; }
.check input { margin-top: 5px; }
.go { width: 100%; margin-top: 20px; }
.status { margin-top: 12px; font-size: .95rem; min-height: 1.5em; }
.status.err { color: #8E2B1D; }

.empty { border: 2px dashed rgba(30, 20, 32, .28); border-radius: 6px; padding: clamp(28px, 6vw, 72px); }
.empty h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 16ch; }
.empty ol { margin: 18px 0 0; padding-left: 1.2em; max-width: 34rem; }
.result-head { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.result-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 20ch; }
.result-head p { margin: 6px 0 0; font-size: .98rem; color: var(--soft); }
.note-bar { background: #F5E7C4; border-left: 4px solid var(--wheat); padding: 10px 14px; font-size: .95rem; margin-bottom: 16px; border-radius: 0 4px 4px 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); margin-bottom: 22px; position: sticky; top: 0; background: var(--stone); z-index: 3; padding-top: 8px; }
.tabs button { font-family: var(--display); font-weight: 700; font-size: .98rem; background: none; border: 0; padding: 11px 14px; cursor: pointer; color: var(--soft); border-radius: 6px 6px 0 0; }
.tabs button[aria-selected=true] { background: var(--ink); color: var(--paper); }
.tabpanel[hidden] { display: none; }
.sub { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 30px 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sub:first-child { margin-top: 0; }
.sub small { font-family: var(--serif); font-weight: 400; font-size: .88rem; color: var(--soft); }
.gfx { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gfx.stories { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.g canvas { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 24px -12px rgba(30, 20, 32, .45); }
.g-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: .88rem; }
.g-bar div { display: flex; gap: 12px; }
.g textarea { margin-top: 8px; font-size: .92rem; min-height: 74px; }
.post { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1.5px solid var(--rule); }
.post:first-of-type { border-top: 0; padding-top: 0; }
.post h3 span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .92rem; color: var(--soft); margin-left: 8px; }
@media (max-width: 620px) { .post { grid-template-columns: 1fr; } .post canvas { max-width: 240px; } }
.copybox { background: var(--paper); border-radius: 6px; padding: 16px 18px; margin-top: 8px; }
.copybox textarea { border: 0; padding: 0; background: transparent; width: 100%; font-size: 1rem; line-height: 1.55; resize: none; overflow: hidden; }
.copybox textarea:focus { outline: none; }
.copybox .row { display: flex; justify-content: flex-end; gap: 14px; margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: .88rem; }
.doc { background: var(--paper); border-radius: 6px; padding: clamp(18px, 3vw, 34px); max-width: 46rem; }
.doc h3 { margin-bottom: 10px; }
.doc ol { padding-left: 1.2em; margin: 0; }
.doc li { margin-bottom: 10px; }
.paywall { background: var(--fig); color: var(--paper); padding: 28px; border-radius: 6px; margin-bottom: 20px; }
.paywall h2 { font-size: 1.8rem; margin-bottom: 8px; }
