/* soulsensis: shared styles for the reading pages (essays.html and essays/<slug>/). Generated pages link this file. */
:root { --ground: #000; --raised: #0e0e12; --ink: #F5F2EA; --muted: #9d998f; --line: #24242a; --heart: #E63946;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif; --serif: "Source Serif 4", Georgia, serif; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.g { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1160px; margin: 0 auto; }
.col { max-width: 680px; margin: 0 auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #000; font-size: 13px; text-decoration: none; }
.skip:focus-visible { top: 12px; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px); background: rgba(0,0,0,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(36,36,42,.6); }
nav.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 12px; }
.mark { display: flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 300; letter-spacing: .2em; text-decoration: none; font-size: 15px; flex: none; }
nav.top .links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
nav.top .links a { text-decoration: none; transition: color .2s; white-space: nowrap; } nav.top .links a:hover, nav.top .links a[aria-current] { color: var(--ink); }
nav.top .links a.buy { color: #fff; background: var(--heart); border-radius: 999px; padding: 8px 14px; font-weight: 500; }
@media (max-width: 520px) { nav.top .links { gap: 14px; } nav.top .links a.far { display: none; } .mark { letter-spacing: .14em; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, box-shadow .25s ease, border-color .25s ease; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--heart); color: #fff; } .btn.primary:hover { box-shadow: 0 0 0 8px rgba(230,57,70,.12); }
.btn.quiet { border: 1px solid #3a3a42; color: var(--ink); background: none; } .btn.quiet:hover { border-color: var(--ink); }
.label { font-size: 11px; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; margin: 0 0 14px; }

/* essay page */
.essay-head { padding-block: clamp(48px, 9vw, 96px) clamp(28px, 4vw, 40px); text-align: center; position: relative; overflow: hidden; }
.essay-head .art { position: absolute; left: 50%; top: 50%; width: min(900px, 160vw); aspect-ratio: 1; transform: translate(-50%, -52%); opacity: .16; pointer-events: none; }
.essay-head .col { position: relative; }
.kicker { display: inline-block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 22px; line-height: 1.8; }
.kicker:hover { color: var(--ink); }
.essay-head h1 { margin: 0; font-weight: 200; font-size: clamp(38px, 7vw, 68px); line-height: 1.06; letter-spacing: .005em; text-wrap: balance; }
.dek { margin: 20px auto 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.45; color: #d9d5cb; max-width: 34ch; }
.meta { margin: 22px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.meta span + span::before { content: "·"; margin: 0 10px; }

.video { display: block; position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 920px; margin: 8px auto 0; border-radius: 6px; overflow: hidden; background: var(--raised); border: 1px solid var(--line); }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.video:hover img { opacity: 1; transform: scale(1.015); }
.video .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid rgba(245,242,234,.7); display: grid; place-items: center; backdrop-filter: blur(4px); }
.video .play::after { content: ""; margin-left: 5px; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video .cap { position: absolute; left: 14px; bottom: 12px; font-size: 12px; letter-spacing: .06em; color: var(--ink); background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 999px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrap { padding-bottom: clamp(28px, 5vw, 48px); }

.prose { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 21px); line-height: 1.75; color: #ebe7de; }
.prose p { margin: 0 0 1.15em; }
.prose p:first-child::first-letter { float: left; font-size: 3.3em; line-height: .9; padding: .08em .1em 0 0; color: var(--ink); font-weight: 400; }
.prose.opening { position: relative; }
.prose.opening::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.8em; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

.inbook { margin: 8px 0 0; padding: clamp(24px, 4vw, 34px); border: 1px solid var(--line); border-radius: 8px; background: var(--raised); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; }
.inbook img { width: 96px; height: auto; border-radius: 2px 4px 4px 2px; box-shadow: 10px 14px 30px -8px rgba(0,0,0,.9), 0 0 50px -10px rgba(230,57,70,.25); }
.inbook h2 { margin: 0 0 8px; font-weight: 300; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; }
.inbook p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.inbook .acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 520px) { .inbook { grid-template-columns: 1fr; text-align: center; } .inbook img { margin: 0 auto; width: 110px; } .inbook .acts { justify-content: center; } }

.bookline { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--muted); }
.bookline a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--heart); }
.also { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.also a { color: var(--muted); }

.orn { display: block; width: 64px; height: 64px; margin: clamp(40px, 6vw, 64px) auto; opacity: .7; }

.next { display: grid; gap: 12px; }
.next a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color .25s ease, background .25s ease; }
.next a:hover { border-color: #4a4a52; background: var(--raised); }
.next small { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.next b { display: block; font-weight: 300; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.25; }
.next .arrow { font-size: 22px; transition: transform .3s ease; } .next a:hover .arrow { transform: translateX(6px); }
.next a.back { padding: 14px 24px; } .next a.back b { font-size: 16px; }

.letters { margin-top: clamp(56px, 8vw, 96px); padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); text-align: center; }
.letters h2 { margin: 0 0 10px; font-weight: 200; font-size: clamp(30px, 4.4vw, 44px); }
.letters p { margin: 0 auto 22px; color: var(--muted); max-width: 44ch; line-height: 1.6; font-size: 15px; }
.signup { display: flex; gap: 10px; width: min(460px, 100%); margin: 0 auto; padding: 6px; border: 1px solid #3a3a42; border-radius: 999px; background: rgba(10,10,12,.7); }
.signup:focus-within { border-color: var(--ink); }
.signup input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 16px; padding: 0 16px; outline: none; }
.signup input::placeholder { color: var(--muted); }
.signup .btn { min-height: 44px; flex: none; padding: 0 20px; justify-content: center; }
p.offer, .letters p.offer { color: var(--ink); }
.offer strong { color: #E63946; font-weight: 600; }
.fine { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* topics page */
.topics-head { padding-block: clamp(56px, 10vw, 110px) clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.topics-head .art { position: absolute; right: -18%; top: 50%; width: min(760px, 120vw); aspect-ratio: 1; transform: translateY(-50%); opacity: .18; pointer-events: none; }
.topics-head .wrap { position: relative; }
.topics-head h1 { margin: 0; font-weight: 200; font-size: clamp(44px, 8vw, 92px); line-height: 1; }
.topics-head .lede { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: #ddd9cf; max-width: 40ch; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { font-size: 13px; padding: 9px 14px; border: 1px solid #3a3a42; border-radius: 999px; text-decoration: none; color: #d9d5cb; transition: border-color .2s; }
.jump a:hover { border-color: var(--ink); }
.topic { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.topic-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); }
@media (max-width: 820px) { .topic-grid { grid-template-columns: 1fr; } }
.topic h2 { margin: 0; font-weight: 200; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; }
.topic .about { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 40ch; }
.topic .count { margin: 16px 0 0; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .3s ease; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row:hover { padding-left: 8px; }
.row b { display: block; font-weight: 400; font-size: 18px; line-height: 1.35; }
.row p { margin: 6px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: #b9b5ab; }
.tag { flex: none; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; border-radius: 999px; padding: 6px 10px; border: 1px solid #3a3a42; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.tag.full { border-color: var(--ink); color: var(--ink); }
.tag.watch { border-color: var(--heart); color: var(--heart); }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; gap: 10px; } .row .tag { justify-self: start; } }

.bookband { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.bookband .wrap { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; max-width: 900px; }
.bookband img { width: 180px; height: auto; border-radius: 2px 5px 5px 2px; box-shadow: 18px 24px 50px -10px rgba(0,0,0,.95), 0 0 90px -10px rgba(230,57,70,.25); }
.bookband h2 { margin: 0 0 12px; font-weight: 200; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; }
.bookband p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; font-size: 15px; max-width: 48ch; }
.bookband .acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 620px) { .bookband .wrap { grid-template-columns: 1fr; text-align: center; } .bookband img { margin: 0 auto; width: 150px; } .bookband p { margin-inline: auto; } .bookband .acts { justify-content: center; } }

footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; line-height: 1.9; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* funnel (28 Oct 2026): one wide primary button, the ask that closes an essay, the link-in-bio page */
.btn.wide { width: 100%; max-width: 420px; min-height: 56px; font-size: 17px; }
.sub-yt { text-align: center; margin: 16px 0 0; }
.letters.inline { margin-top: clamp(40px, 6vw, 64px); padding-block: clamp(36px, 6vw, 56px) 0; }
.letters .askq { margin: 18px 0 0; font-size: 15px; }
.letters .askq a { display: inline-block; padding: 12px 0; line-height: 20px; color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--heart); }

/* mobile (audit 28 Oct 2026) */
nav.top .links a { display: inline-flex; align-items: center; min-height: 44px; }
nav.top .links a.buy { min-height: 44px; padding: 0 16px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer .wrap { gap: 0 20px; }
.jump a { min-height: 44px; display: inline-flex; align-items: center; }
.kicker { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-bottom: 14px; }
.also a { display: inline-block; padding: 10px 0; line-height: 24px; }
.bookline a { display: inline-block; padding: 10px 0; line-height: 24px; }
@media (max-width: 480px) {
  .signup { flex-direction: column; border-radius: 28px; padding: 8px; gap: 8px; }
  .signup input { min-height: 48px; padding: 0 16px; text-align: center; }
  .signup .btn { width: 100%; min-height: 48px; }
  .label, .tag { font-size: 12px; }
  .fine { font-size: 13px; }
  nav.top .links { font-size: 14px; }
}
/* 28 Oct 2026: wide background art made phones lay the page out wider than the screen; the anti-spam field showed */
html { overflow-x: clip; }
.g, .solo, header { overflow-x: clip; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* 29 Oct 2026: the question form ran label, box and email together on one line; each field now stands on its own */
.qform { display: grid; gap: 18px; margin-top: 22px; }
.qform label { display: grid; gap: 8px; font-size: 15px; color: var(--ink); }
.qform textarea, .qform input[type="email"] { width: 100%; box-sizing: border-box; font: 16px/1.55 var(--serif, Georgia, serif);
  color: var(--ink); background: rgba(245,242,234,.05); border: 1px solid rgba(245,242,234,.22); border-radius: 8px; padding: 14px 16px; }
.qform textarea { min-height: 170px; resize: vertical; }
.qform textarea:focus, .qform input[type="email"]:focus { outline: none; border-color: rgba(245,242,234,.6); }
.qform .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.qform .row .count { font-size: 13px; color: var(--muted, #a29e96); }
