/* ============================================================
   TJ TOCE — Author Hub
   Shares its gold accent with howtheworldgetshigh.com on purpose;
   everything else inverts (light hub vs. dark book site) so the
   two read as a family without looking like the same site.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root{
  --cream:   #FBF7EF;   /* page background */
  --cream2:  #F1E8D6;   /* card / stripe background */
  --ink:     #201613;   /* body text — warm near-black, echoes the book site's --ox */
  --ink-soft:#4A3B34;   /* secondary text */
  --gold:    #A9782F;   /* accent, links, buttons — deepened for contrast on a light page */
  --gold-hi: #C99A4A;   /* hover / decorative */
  --line:    rgba(32,22,19,.14);
  --max:     1080px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--cream);
  color:var(--ink);
  font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight:300;
  line-height:1.65;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
}
h1,h2,h3,.display{
  font-family:"Playfair Display",Georgia,serif;
  font-weight:700;
  color:var(--ink);
  line-height:1.18;
}
a{color:var(--gold); text-decoration-thickness:1px}
a:hover{color:var(--gold-hi)}
img{display:block; max-width:100%; height:auto}
.wrap{max-width:var(--max); margin:0 auto; padding:0 24px}
.narrow{max-width:760px}
section{padding:64px 0}
.center{text-align:center}
.eyebrow{
  font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold); font-weight:600; margin-bottom:10px; display:block;
}

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,247,239,.98);
  border-bottom:1px solid var(--line);
}
.bar{
  display:flex; align-items:center; gap:20px;
  padding:16px 0;
}
.mark{
  font-family:"Playfair Display",serif; font-weight:700;
  font-size:19px; letter-spacing:.03em; color:var(--ink);
  text-decoration:none; white-space:nowrap;
}
.mark span{color:var(--gold)}

nav.primary{
  display:flex; align-items:center; gap:28px;
  margin-left:auto;
}
nav.primary a{
  color:var(--ink-soft); text-decoration:none;
  font-size:13px; letter-spacing:.09em; text-transform:uppercase;
  padding:10px 2px; border-bottom:2px solid transparent;
  transition:.2s;
}
nav.primary a:hover, nav.primary a.on{ color:var(--ink); border-color:var(--gold) }

.btn{
  display:inline-block;
  background:var(--gold); color:var(--cream);
  border:none; border-radius:3px;
  padding:12px 22px;
  font:600 12.5px/1 Poppins,sans-serif;
  letter-spacing:.1em; text-transform:uppercase;
  text-decoration:none; cursor:pointer;
  transition:.2s; white-space:nowrap;
  min-height:44px; display:inline-flex; align-items:center;
}
.btn:hover{ background:var(--gold-hi); color:#fff }
.btn.ghost{
  background:transparent; color:var(--ink);
  border:1.5px solid var(--ink);
}
.btn.ghost:hover{ background:var(--ink); color:var(--cream) }

/* mobile nav toggle (checkbox-driven, no JS required) */
#nav-toggle{ display:none }
.nav-toggle-label{
  display:none; margin-left:auto;
  width:44px; height:44px; align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after{
  content:""; display:block; width:24px; height:2px; background:var(--ink);
  position:relative; transition:.2s;
}
.nav-toggle-label span::before{ position:absolute; top:-8px }
.nav-toggle-label span::after{ position:absolute; top:8px }

/* ---------- hero ---------- */
.hero{ padding:72px 0 56px }
.hero-grid{
  display:grid; grid-template-columns:220px 1fr; gap:44px; align-items:center;
}
.hero-photo{
  width:220px; height:220px; border-radius:6px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 18px 40px -20px rgba(32,22,19,.35);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; max-height:220px }
.hero h1{ font-size:clamp(32px,5vw,48px); margin-bottom:10px }
.hero .role{ font-size:17px; color:var(--ink-soft); margin-bottom:18px }
.hero p.teaser{ font-size:17px; color:var(--ink-soft); max-width:560px }

/* ---------- book card ---------- */
.book-card{
  background:var(--cream2);
  border:1px solid var(--line);
  border-radius:8px;
  padding:40px;
  display:grid; grid-template-columns:170px 1fr; gap:36px; align-items:start;
}
.book-card .cover{
  width:170px; max-height:272px; border-radius:4px; overflow:hidden;
  box-shadow:0 16px 34px -16px rgba(32,22,19,.4);
}
.book-card .cover img{ width:100%; height:auto; max-height:272px; object-fit:cover }
.book-card h3{ font-size:26px; margin-bottom:10px }
.book-card p{ color:var(--ink-soft); margin-bottom:20px; max-width:520px }
.book-actions{ display:flex; flex-wrap:wrap; gap:14px }

/* ---------- about teaser ---------- */
.about-teaser{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
.about-teaser blockquote{
  font-family:"Playfair Display",serif; font-style:italic; font-size:22px;
  color:var(--ink); border-left:3px solid var(--gold); padding-left:22px;
  margin-bottom:18px;
}

/* ---------- newsletter ---------- */
.newsletter{
  background:var(--ink); color:var(--cream);
  border-radius:8px; padding:48px 40px;
  text-align:center;
}
.newsletter h2{ color:var(--cream) }
.newsletter p{ color:#D9CFC4; margin:10px auto 26px; max-width:480px }
form.signup{
  display:flex; gap:10px; max-width:420px; margin:0 auto; flex-wrap:wrap; justify-content:center;
}
form.signup input[type=email]{
  flex:1 1 220px; min-width:0;
  padding:13px 16px; border-radius:3px; border:1px solid rgba(251,247,239,.3);
  background:rgba(251,247,239,.08); color:var(--cream); font:400 15px Poppins,sans-serif;
  min-height:44px;
}
form.signup input[type=email]::placeholder{ color:#B9AEA2 }
form.signup .btn{ flex:0 0 auto }
.newsletter .fine{ font-size:12px; color:#9C9086; margin-top:14px; max-width:420px; margin-left:auto; margin-right:auto }

/* ---------- about page body ---------- */
.about-body h2{ font-size:22px; margin:34px 0 12px }
.about-body p{ color:var(--ink-soft); margin-bottom:16px; font-size:16.5px }
.about-body p:first-of-type{ font-size:19px; color:var(--ink) }
.pull{
  font-family:"Playfair Display",serif; font-style:italic; font-size:24px;
  color:var(--ink); border-left:3px solid var(--gold); padding-left:22px;
  margin:30px 0;
}
.tsuite{
  margin-top:56px; padding-top:36px; border-top:1px solid var(--line);
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.tsuite img{ height:64px; width:auto; max-height:64px }
.tsuite p{ color:var(--ink-soft); font-size:14px; max-width:420px }

/* ---------- footer ---------- */
footer{
  border-top:1px solid var(--line);
  padding:44px 0 60px;
  margin-top:40px;
}
.footer-grid{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:24px; flex-wrap:wrap;
}
footer .mark{ font-size:16px }
footer nav{ display:flex; gap:22px; flex-wrap:wrap }
footer nav a{ color:var(--ink-soft); text-decoration:none; font-size:13px }
footer nav a:hover{ color:var(--gold) }
.copyright{ color:var(--ink-soft); font-size:12.5px; margin-top:22px; width:100%; }

/* ---------- responsive ---------- */
@media (max-width:820px){
  .hero-grid{ grid-template-columns:1fr; text-align:center }
  .hero-photo{ margin:0 auto }
  .hero p.teaser{ margin:0 auto }
  .book-card{ grid-template-columns:1fr; text-align:center }
  .book-card .cover{ margin:0 auto }
  .book-actions{ justify-content:center }
  .about-teaser{ grid-template-columns:1fr }
}
@media (max-width:940px){
  nav.primary{
    position:fixed; inset:0 0 0 auto; top:64px; height:calc(100% - 64px);
    width:78vw; max-width:320px;
    background:var(--cream); border-left:1px solid var(--line);
    flex-direction:column; align-items:flex-start; gap:4px;
    padding:28px 28px; margin:0;
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto;
  }
  nav.primary a{ width:100%; padding:14px 0; font-size:15px; border-bottom:1px solid var(--line) }
  nav.primary .btn{ margin-top:14px }
  #nav-toggle:checked ~ nav.primary{ transform:translateX(0) }
  .nav-toggle-label{ display:flex }
}
@media (min-width:941px){
  .nav-toggle-label{ display:none }
}

/* ---------- second book (Street Names Exposed, Oct 2026) ---------- */
.book-card + .book-card{ margin-top:28px }
.book-card .cover img[src*="sne-cover"]{ max-height:none }
.book-actions + .book-actions{ margin-top:14px }
.new-tag{
  display:inline-block; font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  font-weight:600; color:var(--cream); background:var(--gold); border-radius:3px;
  padding:4px 9px; margin-bottom:10px;
}
