/* Tethered — tetheredbook.com
   Design system carried over from the approved mockups. The book's own identity:
   paper/ink ground, gold structure, crimson action. Courier New bold for the
   typewriter/slab character of the wordmark and headings, Georgia for reading,
   Arial for compact controls. All three are local system faces — no remote font
   request, so nothing here depends on a third-party host being up. */

:root{
  --paper:#FBF8F2;
  --ink:#1D1913;
  --gold:#EEB64A;
  --shadow:#B58851;
  --deep:#756036;
  --red:#C23434;
  --red-text:#B32C2C;   /* crimson as TEXT on paper/sand: AA at 5.08:1 */
  --line:#d7cbbb;
  --sand:#eee5d7;
  --muted:#655b50;
  --field-border:#8b7961;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:20px/1.6 Georgia,'Times New Roman',serif;
}
h1,h2,h3,.wordmark{font-family:'Courier New',Courier,monospace;line-height:1.08;letter-spacing:-.055em}
h1{font-size:clamp(44px,5.3vw,78px);margin:18px 0 24px}
h2{font-size:clamp(32px,3.4vw,49px);margin:0 0 24px}
h3{font-size:26px;margin:0 0 14px}
p{margin:0 0 22px;max-width:65ch}
a{color:inherit;text-underline-offset:4px}
button,input,select,textarea{font:inherit}
button,a,input,textarea,summary,select{touch-action:manipulation}
button,.button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
:focus-visible{outline:3px solid var(--red);outline-offset:5px}
img{max-width:100%;display:block}
figure{margin:0}
figcaption{font:14px/1.5 Arial,sans-serif;color:var(--muted);margin-top:10px}
.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.wrap{max-width:1180px;margin:auto;padding:0 40px}

/* Crisis support. Sticky so it stays reachable; it never covers content
   because it participates in flow at the top of the document. */
.carebar{
  position:sticky;top:env(safe-area-inset-top,0px);z-index:20;
  background:var(--ink);color:var(--paper);
  font:14px/1.4 Arial,sans-serif;padding:10px 20px;
  display:flex;justify-content:center;gap:8px;flex-wrap:wrap;
}
.carebar a{font-weight:bold;color:var(--gold)}

header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand img{width:52px;height:52px}
.wordmark{font-size:34px;letter-spacing:.025em;color:var(--red);font-weight:bold}
nav{display:flex;align-items:center;gap:26px;font:15px Arial,sans-serif}
nav a{text-decoration:none}

/* Crimson = action, white text. Gold = structure; when gold is a button it
   always carries dark text. Gold is never used for essential copy on paper. */
.button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:56px;padding:14px 25px;
  background:var(--red);border:2px solid var(--red);color:#fff;
  font:700 17px/1.4 Arial,sans-serif;text-decoration:none;border-radius:3px;gap:10px;
}
.button.gold{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.button.outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.button.small{min-height:44px;padding:10px 16px;font-size:14px}

.micro{font:14px/1.55 Arial,sans-serif;color:var(--muted);margin:14px 0 0;max-width:58ch}
.kicker{font:16px/1.4 Arial,sans-serif;color:var(--deep);margin-bottom:18px}
.hero .kicker,.question-hero .kicker,.family-hero .kicker{margin-bottom:10px}

.hero{padding:65px 0 72px;display:grid;grid-template-columns:1.05fr 1fr;gap:62px;align-items:center}
.lead{font-size:23px;line-height:1.55;max-width:48ch}
.hero-photo{width:100%;height:565px;object-fit:cover}
.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;display:flex;justify-content:space-between;gap:22px;font:15px/1.4 Arial,sans-serif}
.section{padding:88px 0;border-bottom:1px solid var(--line)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.split .art{max-width:420px;width:100%;margin:auto}
.split .portrait{width:100%;height:460px;object-fit:cover;object-position:center 65%}
.prose{max-width:730px;margin:auto}
.prose h2{max-width:24ch}
.gold-rule{border-left:3px solid var(--gold);padding-left:32px}
.mirror{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}
.mirror.four{grid-template-columns:repeat(4,1fr)}
.mirror p{font-size:18px}
.mirror h3{font-size:24px}
.chapter{padding:22px 0;border-top:1px solid var(--line)}
.chapter p{margin:8px 0 0;font-size:18px}
.chapter span{font:14px Arial,sans-serif;color:var(--deep)}
blockquote{margin:0;font-size:clamp(28px,3vw,44px);line-height:1.35}
blockquote cite{display:block;font:15px Arial,sans-serif;margin-top:24px}
details{border-top:1px solid var(--line);padding:20px 0}
summary{cursor:pointer;font-weight:bold}
details p{font-size:18px;padding-top:16px}
.close{text-align:center;padding:90px 28px;background:var(--ink);color:var(--paper)}
.close h2{max-width:26ch;margin:0 auto 24px}
.close p{max-width:52ch;margin:0 auto 25px}
.close .micro{color:#d7cbbb}
.duty{padding:36px 0;font:15px/1.65 Arial,sans-serif}
.duty p{max-width:85ch}
.footer{font:14px Arial,sans-serif;display:flex;justify-content:space-between;padding:24px 0 40px;gap:20px;border-top:1px solid var(--line)}

/* Borrowed Calm hero */
.dog-hero{gap:50px}
.dog-hero h1{max-width:12ch}
.dog-hero figure{position:relative}
.dog-hero .hero-photo{height:auto;aspect-ratio:1;object-fit:cover}
.photo-caption{background:var(--gold);padding:17px 22px;font:16px/1.4 Arial,sans-serif;margin:0;color:var(--ink)}

/* Tether Map hero */
.question-hero{text-align:center;padding:60px 0 0}
.question-hero h1{font-size:clamp(48px,6.3vw,88px);max-width:14ch;margin:18px auto 24px}
.question-hero .lead,.question-hero .micro{margin-left:auto;margin-right:auto}
.tether-diagram{display:flex;align-items:center;justify-content:center;margin:42px auto 0;max-width:950px;padding-bottom:45px}
.tether-node{flex:1;font:17px/1.5 Arial,sans-serif}
.tether-node strong{display:block;font:26px/1.2 'Courier New',Courier,monospace;margin-bottom:6px}
.tether-node.center{flex:0 0 150px}
.tether-node.center img{width:120px;height:120px;margin:auto}
.tether-line{height:2px;background:var(--gold);width:90px;flex-shrink:1}

/* What Comes Next hero */
.family-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;padding:0;gap:0}
.family-hero .family-copy{padding:64px 60px 68px 0}
.family-hero h1{max-width:12ch}
.family-quote{background:var(--red);color:#fff;padding:65px 48px;display:flex;flex-direction:column;justify-content:center}
.family-quote blockquote{font-size:clamp(32px,3.4vw,50px)}
.family-quote .mini-brand{width:92px;margin-bottom:34px}
.family-quote cite{color:#fff}
.family-quote .rule{height:2px;background:var(--gold);width:100px;margin:30px 0}

/* Founding 75 */
.founder-top{background:var(--ink);color:var(--paper)}
.founder-top header{border-color:#5b4a31}
.founder-top .wordmark{color:var(--gold)}
.founder-top .kicker,.founder-top .micro{color:#dbc69f}
.founder-top h1{max-width:11ch}
.book-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:515px;margin-bottom:40px}
.book{
  background:#090909;color:var(--paper);width:310px;min-height:438px;
  padding:34px 25px 25px;text-align:center;border-left:12px solid #332b21;
  box-shadow:14px 14px 0 #d4c8b6,27px 25px 38px rgba(0,0,0,.2);transform:rotate(-5deg);
}
.book .book-title{font:700 43px 'Courier New',Courier,monospace;letter-spacing:.05em;color:var(--gold)}
.book img{width:240px;margin:14px auto}
.book .book-author{font:17px/1.5 Georgia,serif}
.book .book-sub{font:14px/1.5 Georgia,serif;margin:12px 0}
.book-stage figcaption{position:absolute;bottom:-36px;text-align:center;color:inherit;opacity:.75}
.edition{
  position:absolute;right:-14px;top:7px;width:126px;height:126px;border-radius:50%;
  background:var(--gold);color:var(--ink);display:flex;align-items:center;
  justify-content:center;flex-direction:column;z-index:2;font:15px Arial,sans-serif;
}
.edition b{font:66px/.95 Georgia,serif}
.offer-pair{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.offer-pair ul{padding-left:22px}
.offer-pair li{margin-bottom:14px}
.offer-panel{background:var(--sand);padding:36px;border-top:5px solid var(--gold)}

/* Forms, reflection, and the lead state machine */
.form-grid{display:grid;gap:18px}
.form-grid label{font:16px/1.5 Arial,sans-serif}
.form-grid input,.form-grid select{
  display:block;margin-top:8px;width:100%;min-height:52px;
  border:1px solid var(--field-border);background:#fff;padding:12px;
  color:var(--ink);border-radius:2px;
}
.form-grid input[aria-invalid="true"]{border:2px solid var(--red)}
.field-error{font:14px/1.5 Arial,sans-serif;color:var(--red);margin:6px 0 0}
.notice{padding:18px 22px;background:var(--sand);border-left:3px solid var(--gold);font:15px/1.6 Arial,sans-serif}
.notice p{margin:0}
.notice + .notice{margin-top:14px}

/* Failure is crimson-edged and keeps the visitor's inputs. Never a dead end. */
.formstate{
  margin:18px 0 0;padding:16px 20px;font:15px/1.6 Arial,sans-serif;
  border-left:3px solid var(--field-border);background:var(--sand);
}
.formstate[data-state="error"]{border-left-color:var(--red)}
.formstate[data-state="working"]{border-left-color:var(--gold)}
.formstate p{margin:0 0 10px}
.formstate p:last-child{margin:0}
.formstate .button{margin-top:6px}

.reflection-shell{max-width:820px;margin:48px auto 75px;padding:0 32px}
.progress{height:5px;background:#e8e2d9;margin:20px 0 38px}
.progress div{height:100%;background:var(--red)}
.option-list{display:grid;gap:12px;margin:30px 0}
.option{background:#fff;border:1px solid #b8aa95;display:flex;gap:14px;padding:16px 20px;cursor:pointer;font-size:19px;align-items:center}
.option:has(input:checked){border:2px solid var(--deep);padding:15px 19px;background:#f7edd5}
.option input{width:20px;height:20px;accent-color:var(--red);flex-shrink:0}
.actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px}
.text-button{background:transparent;border:0;text-decoration:underline;min-height:48px;padding:8px;color:var(--ink)}
.result-item{padding:22px 0;border-top:1px solid var(--line)}
.result-item strong{display:block;font:24px/1.3 'Courier New',Courier,monospace;margin-bottom:8px}
.result-item p{margin:0}

/* An offer we cannot honestly sell yet says so, in place, without a dead CTA. */
.pending-offer{border:2px solid var(--line);background:#fff;padding:26px 28px;margin-top:28px}
.pending-offer h3{margin-bottom:10px}
.pending-offer p{font:16px/1.6 Arial,sans-serif;margin-bottom:0}

/* --- the offer -------------------------------------------------------------
   The hero states what is for sale before it finishes making its argument.
   A visitor who already knows they want the book should be able to act on
   that without reading the page or completing the reflection. The offer is
   boxed and gold-ruled so it reads as the transaction, distinct from the
   surrounding prose. */
.offer{
  margin:24px 0 0;padding:22px 26px;
  background:var(--sand);border:1px solid var(--line);border-left:4px solid var(--gold);
}
.offer-meta{font:15px/1.55 Arial,sans-serif;color:var(--muted);margin:0 0 15px;max-width:46ch}
.offer-meta strong{font-family:'Courier New',Courier,monospace;letter-spacing:.04em;color:var(--ink);font-size:17px}
.offer-date{color:var(--red-text);font-weight:bold;white-space:nowrap}
.offer .micro{margin-top:12px}
.offer-alt{font:15px/1.6 Arial,sans-serif;color:var(--muted);margin:16px 0 0;max-width:52ch;
  padding-top:16px;border-top:1px solid var(--line)}
.offer-alt a{color:var(--ink)}

/* Book-intent destination. Two columns so the jacket and the form sit side by
   side; the jacket is what makes the page legible as a book launch at a glance. */
.getbook{display:grid;grid-template-columns:.85fr 1fr;gap:70px;align-items:center}
.getbook h2{margin-bottom:20px}
.getbook .form-grid{margin-top:26px}
.getbook .book-stage{margin-bottom:46px}

/* The closing band is on ink; its inline link needs to clear AA against it. */
.close .micro a{color:var(--gold)}

/* Hero headlines are set smaller than section headings on purpose. At the
   shared h1 scale the longest hero line wrapped to seven lines on a 1440px
   laptop and pushed the offer 370px below the fold — a visitor who already
   wanted the book could not see how to get it without scrolling. Section h2s
   keep the larger scale because nothing has to stay above them. */
.hero h1,.question-hero h1,.family-hero h1{font-size:clamp(34px,3.3vw,52px);margin:10px 0 16px}
.hero{padding-top:26px}
.question-hero,.family-hero{padding-top:30px}
.hero .lead,.question-hero .lead,.family-hero .lead{margin-bottom:18px}

@media(min-width:1500px){
  .wrap{max-width:1270px}
  .hero-photo{height:610px}
}

@media(max-width:800px){
  .getbook{grid-template-columns:1fr;gap:42px}
  .offer{padding:22px 20px}
  body{font-size:19px}
  .wrap{padding:0 24px}
  header{min-height:86px;gap:12px}
  .brand img{width:42px;height:42px}
  .wordmark{font-size:27px}
  nav a:not(.button){display:none}
  nav{gap:0}
  .button.small{font-size:12px;padding:9px}
  .hero{grid-template-columns:1fr;gap:34px;padding:38px 0 48px}
  .lead{font-size:21px}
  h1{font-size:48px}
  .hero-photo{height:420px}
  .section{padding:56px 0}
  .split{grid-template-columns:1fr;gap:32px}
  .mirror,.mirror.four{grid-template-columns:1fr 1fr;gap:28px}
  .strip{flex-wrap:wrap;font-size:14px}
  .strip span{flex:1 1 40%}
  .book-stage{min-height:430px}
  .book{width:255px;min-height:360px;padding:25px 20px}
  .book img{width:185px}
  .book .book-title{font-size:34px}
  .book .book-author{font-size:14px}
  .edition{right:4%;top:0;width:103px;height:103px}
  .edition b{font-size:54px}
  .offer-pair{grid-template-columns:1fr;gap:28px}
  .offer-panel{padding:26px}
  .question-hero{padding-top:38px}
  .question-hero h1{font-size:52px}
  .tether-diagram{margin-top:34px;padding-bottom:36px}
  .tether-node{font-size:13px}
  .tether-node strong{font-size:17px}
  .tether-node.center{flex-basis:85px}
  .tether-node.center img{width:75px;height:75px}
  .tether-line{width:20px}
  .family-hero{grid-template-columns:1fr}
  .family-hero .family-copy{padding:38px 0}
  .family-quote{padding:38px 28px}
  .family-quote blockquote{font-size:34px}
  .family-quote .mini-brand{width:70px}
  .reflection-shell{padding:0 24px;margin-top:35px}
  .footer{flex-wrap:wrap}
  .close{padding:56px 24px}
  .duty{font-size:14px}
}

@media(max-width:420px){
  h1{font-size:43px}
  .question-hero h1{font-size:44px}
  .mirror,.mirror.four{grid-template-columns:1fr}
  .brand{gap:8px}
  .wordmark{font-size:23px}
  .brand img{width:36px;height:36px}
  .carebar{font-size:12px}
  .hero-photo{height:355px}
  .button{width:100%}
  nav .button,.actions .button{width:auto}
  .tether-node strong{font-size:16px}
}

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