/* =========================================================
   CO-EXISTENCE — landing page
   Aesthetic: "monumental sky" — cover-blue, signal-yellow
   tape blocks, Anton display, DM Mono labels, Fraunces serif.
   ========================================================= */

:root {
  --sky-top:    #5cb9f2;
  --sky:        #2c9be6;
  --sky-deep:   #1576bd;
  --sky-ink:    #0c3a5e;
  --yellow:     #ffe000;
  --yellow-deep:#f5c400;
  --ink:        #0b0c0e;
  --paper:      #f7f4ea;
  --paper-2:    #efe9da;
  --cloud:      #ffffff;
  --muted:      #5b6066;

  --ff-display: "Anton", "Arial Narrow", sans-serif;
  --ff-mono:    "DM Mono", ui-monospace, monospace;
  --ff-serif:   "Fraunces", Georgia, serif;

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ai-bar-h: 44px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.defs-only { position: absolute; width: 0; height: 0; }

a { color: inherit; }

::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--yellow);
  padding: .7rem 1.1rem; font-family: var(--ff-mono); font-size: .8rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- grain overlay ---- */
.grain {
  position: absolute; inset: -50%;
  background: transparent;
  filter: url(#grain);
  opacity: .07; pointer-events: none; mix-blend-mode: multiply;
}

/* =========================================================
   AI-AGENT ANNOUNCEMENT BAR (top of human page)
   ========================================================= */
.aibar {
  position: relative; z-index: 110;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: var(--ai-bar-h); padding: .4rem 1rem; text-decoration: none;
  background: var(--ink); color: #f0eee6;
  font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .01em;
  border-bottom: 2px solid var(--yellow);
  text-align: center;
}
.aibar__pulse {
  flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #36d07a;
  box-shadow: 0 0 0 0 rgba(54,208,122,.6); animation: sparkPulse 2.2s var(--ease) infinite;
}
.aibar__text strong { color: var(--yellow); font-weight: 500; }
.aibar__text { opacity: .95; }
.aibar__go {
  flex-shrink: 0; color: var(--ink); background: var(--yellow);
  padding: .26rem .7rem; border-radius: 5px; font-weight: 500;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 2px 0 var(--yellow-deep);
}
.aibar:hover .aibar__go { transform: translateY(-1px); box-shadow: 0 3px 0 var(--yellow-deep); }
.aibar__go span { display: inline-block; transition: transform .2s var(--ease); }
.aibar:hover .aibar__go span { transform: translateX(3px); }
@media (max-width: 720px) {
  .aibar { font-size: .72rem; gap: .5rem; }
  .aibar__text strong { display: block; }
}
@media (max-width: 460px) {
  .aibar__text { font-size: 0; } /* keep only the strong label + button on tiny screens */
  .aibar__text strong { font-size: .8rem; }
}

/* =========================================================
   NAV
   ========================================================= */
.topbar {
  position: fixed; top: var(--ai-bar-h); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem clamp(1.1rem, 4vw, 3rem);
  transition: top .35s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
}
.topbar.is-stuck {
  top: 0;
  background: rgba(247,244,234,.86);
  backdrop-filter: blur(12px) saturate(1.1);
  padding-top: .7rem; padding-bottom: .7rem;
  box-shadow: 0 1px 0 rgba(11,12,14,.08);
}
.topbar__brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-mono); font-weight: 500; font-size: .76rem;
  letter-spacing: .14em; text-decoration: none; color: var(--ink);
  text-transform: uppercase;
}
.topbar:not(.is-stuck) .topbar__brand { color: #fff; text-shadow: 0 1px 12px rgba(8,40,70,.45); }
.topbar__spark {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,224,0,.35);
  animation: sparkPulse 2.6s var(--ease) infinite;
}
@keyframes sparkPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(255,224,0,.35); }
  50%     { box-shadow: 0 0 0 7px rgba(255,224,0,0); }
}
.topbar__nav {
  list-style: none; display: flex; gap: clamp(.9rem, 2.4vw, 2rem);
  margin: 0; padding: 0; align-items: center;
}
.topbar__nav a {
  font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .02em;
  text-decoration: none; color: var(--ink); position: relative; padding: .2rem 0;
}
.topbar:not(.is-stuck) .topbar__nav a { color: #fff; text-shadow: 0 1px 10px rgba(8,40,70,.4); }
.topbar__nav a:not(.topbar__cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: currentColor; transition: right .3s var(--ease);
}
.topbar__nav a:not(.topbar__cta):hover::after { right: 0; }
.topbar__cta {
  background: var(--yellow); color: var(--ink) !important; text-shadow: none !important;
  padding: .5rem .95rem; border-radius: 2px; font-weight: 500;
  box-shadow: 0 2px 0 var(--yellow-deep); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.topbar__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--yellow-deep); }
.topbar__ai { font-style: italic; opacity: .9; }
.topbar__ai::before { content: "{ "; font-style: normal; opacity: .6; }
.topbar__ai::after  { content: " }"; font-style: normal; opacity: .6; }
@media (max-width: 620px) {
  .topbar__nav li:not(:last-child) { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7.5rem clamp(1.1rem, 4vw, 3rem) 0;
  overflow: hidden; isolation: isolate;
}
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 18%, #bfe4fb 0%, rgba(191,228,251,0) 46%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 48%, var(--sky-deep) 100%);
}
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.55) 60%, rgba(255,255,255,0));
  filter: blur(6px); opacity: .9;
  will-change: transform;
}
.cloud--1 { width: 46vw; height: 26vw; top: 6%;  left: -12%; animation: drift 46s linear infinite; }
.cloud--2 { width: 34vw; height: 20vw; top: 34%; left: 55%;  animation: drift 60s linear infinite reverse; opacity:.8;}
.cloud--3 { width: 28vw; height: 16vw; top: 62%; left: 8%;   animation: drift 52s linear infinite; opacity:.75;}
.cloud--4 { width: 22vw; height: 13vw; top: 16%; left: 30%;  animation: drift 70s linear infinite reverse; opacity:.7;}
.cloud--5 { width: 18vw; height: 12vw; top: 78%; left: 70%;  animation: drift 64s linear infinite; opacity:.65;}
@keyframes drift {
  from { transform: translateX(-6vw); }
  to   { transform: translateX(8vw); }
}

.hero__grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; flex: 1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-mono); font-size: clamp(.66rem,1.4vw,.8rem);
  letter-spacing: .04em; color: #fff; text-shadow: 0 1px 12px rgba(8,40,70,.45);
  background: rgba(12,58,94,.22); border: 1px solid rgba(255,255,255,.3);
  padding: .42rem .8rem; border-radius: 100px; backdrop-filter: blur(4px);
  margin: 0 0 1.4rem;
}
.eyebrow em { font-style: italic; }
.eyebrow__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255,224,0,.7); animation: sparkPulse 2.4s var(--ease) infinite;
}

/* Title — yellow tape blocks like the cover */
.title { margin: 0 0 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.title__tape {
  display: inline-block; font-family: var(--ff-display); font-weight: 400;
  color: var(--ink); background: var(--yellow);
  text-transform: uppercase; line-height: .92; letter-spacing: .01em;
  padding: .12em .26em .04em;
  box-shadow: 6px 7px 0 rgba(8,38,66,.22);
  transform: rotate(-.6deg);
}
.title__tape--1 { font-size: clamp(2.7rem, 9vw, 6.4rem); }
.title__tape--2 { font-size: clamp(1.2rem, 3.8vw, 2.7rem); transform: rotate(.5deg); background: var(--yellow); }
.title__tape--3 { font-size: clamp(1.2rem, 3.8vw, 2.7rem); transform: rotate(-.4deg); }

.byline {
  font-family: var(--ff-mono); font-size: clamp(.8rem,1.7vw,.95rem);
  color: #fff; text-shadow: 0 1px 12px rgba(8,40,70,.5); margin: 0 0 1.3rem;
}
.byline strong { font-weight: 500; }
.byline__sep { opacity: .6; margin: 0 .5rem; }

.hero__deck {
  font-size: clamp(1.02rem, 2vw, 1.28rem); line-height: 1.5; max-width: 30em;
  color: #fff; text-shadow: 0 1px 16px rgba(8,40,70,.4);
  margin: 0 0 2rem; font-weight: 300;
}

/* Order block */
.order {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34);
  backdrop-filter: blur(9px) saturate(1.1);
  border-radius: 14px; padding: 1.15rem 1.25rem 1.05rem; max-width: 33rem;
  box-shadow: 0 24px 60px -28px rgba(6,34,60,.6);
}
.order__date {
  display: inline-flex; align-items: baseline; gap: .4rem;
  font-family: var(--ff-mono); font-size: clamp(.82rem,1.6vw,.95rem);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow);
  padding: .42rem .75rem; border-radius: 6px; margin: 0 0 .9rem;
  box-shadow: 0 2px 0 var(--yellow-deep);
}
.order__date strong { font-weight: 500; }
.order__label {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; opacity: .92; margin: 0 0 .8rem;
}
.retailers { display: flex; flex-wrap: wrap; gap: .5rem; }
.retailer {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cloud); color: var(--ink); text-decoration: none;
  font-family: var(--ff-mono); font-size: .82rem; font-weight: 500;
  padding: .55rem .8rem; border-radius: 8px;
  box-shadow: 0 2px 0 rgba(8,38,66,.18);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.retailer__arrow { transition: transform .22s var(--ease); opacity: .55; }
.retailer:hover {
  transform: translateY(-2px); background: var(--yellow);
  box-shadow: 0 5px 0 var(--yellow-deep);
}
.retailer:hover .retailer__arrow { transform: translateX(3px); opacity: 1; }
/* "Many more" → links to the full retailer list on the PRH page */
.retailer--more {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5); box-shadow: none;
}
.retailer--more .retailer__arrow { opacity: .8; }
.retailer--more:hover {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: #fff; box-shadow: none;
}
.order__meta {
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .02em;
  color: #fff; opacity: .9; margin: .9rem 0 0; line-height: 1.7;
}
.order__div { margin: 0 .35rem; opacity: .5; }
.order__pitch {
  font-family: var(--ff-serif); font-style: italic; font-size: .92rem;
  color: #fff; opacity: .92; margin: .7rem 0 0; text-shadow: 0 1px 10px rgba(8,40,70,.4);
}

/* Book cover */
.hero__right { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; perspective: 1400px; }
/* The cover links to the publisher page; keep the 3D perspective on the link
   so the tilt still renders, and size it to the book. */
.book-link {
  display: block; width: min(78%, 360px); perspective: 1400px;
  text-decoration: none; cursor: pointer; border-radius: 4px;
  outline-offset: 6px;
}
.book {
  position: relative; width: 100%; aspect-ratio: 2/3;
  transform-style: preserve-3d; transition: transform .5s var(--ease);
  will-change: transform;
}
.book__cover {
  position: absolute; inset: 0; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  transform: translateZ(28px);
  background: var(--sky);
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book__cover.is-missing img { display: none; }
.book__cover .cover-fallback { display: none; }
.book__cover.is-missing .cover-fallback { display: block; position: absolute; inset: 0; }

.book__edge {
  position: absolute; top: 1.4%; bottom: 1.4%; right: -14px; width: 16px;
  background: linear-gradient(90deg, #d9d2c2, #fbf8ef 40%, #cfc7b4);
  transform: rotateY(34deg) translateZ(20px); transform-origin: left center;
  border-radius: 0 2px 2px 0;
}
.book__shadow {
  position: absolute; left: 6%; right: 0; bottom: -8%; height: 16%;
  background: radial-gradient(50% 60% at 50% 50%, rgba(5,30,55,.5), rgba(5,30,55,0) 72%);
  filter: blur(8px); transform: translateZ(-40px);
}
/* CSS cover recreation (fallback) */
.cover-fallback { background: linear-gradient(180deg,#6cc0f2,#2c9be6 60%,#1576bd); }
.cf-sky { position:absolute; inset:0;
  background:
    radial-gradient(40% 26% at 22% 30%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(46% 30% at 75% 62%, rgba(255,255,255,.8), transparent 62%); }
.cf-tape { position: absolute; font-family: var(--ff-display); background: var(--yellow);
  color: var(--ink); text-transform: uppercase; line-height: .92; padding: .1em .22em; }
.cf-tape--title  { top: 5%; left: 6%; font-size: 15%; }
.cf-tape--sub    { bottom: 30%; left: 6%; font-size: 8.5%; }
.cf-tape--author { bottom: 7%; left: 30%; font-size: 9%; }
.cf-tape--badge  { bottom: 2.5%; left: 30%; font-family: var(--ff-mono); font-size: 4.4%;
  background: transparent; color: var(--ink); padding: 0; }
.cf-tape--badge em { font-style: italic; }

/* =========================================================
   SPARK DIVIDER
   ========================================================= */
.spark {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: var(--paper); padding: 3.2rem 1rem;
}
.spark__line { height: 2px; width: clamp(60px, 22vw, 260px);
  background: linear-gradient(90deg, transparent, var(--ink)); }
.spark__line--r { background: linear-gradient(90deg, var(--ink), transparent); }
.spark__core {
  width: 12px; height: 12px; border-radius: 50%; margin: 0 12px;
  background: var(--yellow); position: relative;
  box-shadow: 0 0 0 0 rgba(245,196,0,.6);
  animation: sparkPulse 2.6s var(--ease) infinite;
}
.spark__core::before, .spark__core::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px solid var(--yellow-deep); opacity: .5;
}
.spark__core::before { width: 22px; height: 22px; }
.spark__core::after  { width: 34px; height: 34px; opacity: .25; }

/* =========================================================
   ABOUT
   ========================================================= */
.section-eyebrow {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 1.4rem;
}
.section-eyebrow--light { color: rgba(255,255,255,.8); }

.about { background: var(--paper); padding: clamp(2.5rem,7vw,6rem) clamp(1.1rem,4vw,3rem) clamp(3rem,8vw,7rem); }
.about__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem);
}
.about__hed {
  font-family: var(--ff-serif); font-weight: 300; font-size: clamp(1.8rem,4.4vw,3.1rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0; position: sticky; top: 6rem;
}
.about__hed .hl { background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%); padding: 0 .06em; font-style: italic; }
.about__lede { font-size: clamp(1.15rem,2.2vw,1.5rem); line-height: 1.45; font-weight: 400; margin: 0 0 1.4rem; }
.dropcap {
  float: left; font-family: var(--ff-display); font-size: 3.4em; line-height: .76;
  padding: .04em .12em 0 0; color: var(--sky-deep);
}
.about__body { font-size: 1.06rem; color: #2a2d31; margin: 0 0 1.3rem; max-width: 38em; }
.about__qs {
  list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem;
}
.about__qs li {
  position: relative; padding-left: 1.7rem; font-size: 1.04rem; line-height: 1.45;
}
.about__qs li::before {
  content: "\2192"; position: absolute; left: 0; top: 0;
  font-family: var(--ff-mono); color: var(--sky-deep); font-weight: 500;
}

.pullquote {
  max-width: 960px; margin: clamp(2rem,5vw,4rem) auto 0;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: clamp(1.8rem,4vw,3rem) 0;
}
.pullquote p {
  font-family: var(--ff-serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem,3.8vw,2.5rem); line-height: 1.22; letter-spacing: -.01em; margin: 0;
}
.pullquote__hl { font-style: normal; background: linear-gradient(180deg,transparent 60%, var(--yellow) 60%); }
.pullquote footer {
  font-family: var(--ff-mono); font-style: normal; font-size: .8rem; letter-spacing: .04em;
  color: var(--muted); margin-top: 1.3rem;
}

/* =========================================================
   AUTHOR
   ========================================================= */
.author { background: var(--paper-2); padding: clamp(3rem,8vw,7rem) clamp(1.1rem,4vw,3rem); }
.author__inner { max-width: var(--maxw); margin: 0 auto; }
.author__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.author__kicker { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.author__name {
  font-family: var(--ff-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(3rem,9vw,6rem); line-height: .86; margin: 0; letter-spacing: .01em;
  color: var(--ink);
}
.author__tag { font-family: var(--ff-mono); font-size: .8rem; color: var(--sky-deep); margin: 1rem 0 0; letter-spacing: .03em; }
.author__bio p { font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.2rem; max-width: 40em; color: #2a2d31; }
.author__follow { margin: 1.8rem 0 0; }

/* Prominent Substack / newsletter button */
.author__substack {
  display: inline-flex; align-items: center; gap: .85rem;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: .8rem 1.1rem; border-radius: 12px;
  box-shadow: 0 3px 0 rgba(0,0,0,.28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.author__substack:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,.28); }
.author__substack-ico { width: 20px; height: 20px; fill: #ff6719; flex-shrink: 0; }
.author__substack-text { display: flex; flex-direction: column; line-height: 1.25; }
.author__substack-name { font-family: var(--ff-mono); font-weight: 500; font-size: .94rem; }
.author__substack-sub { font-family: var(--ff-mono); font-size: .7rem; color: #aab4bd; letter-spacing: .01em; }
.author__substack-arrow { margin-left: .3rem; color: var(--yellow); font-weight: 500; transition: transform .2s var(--ease); }
.author__substack:hover .author__substack-arrow { transform: translateX(3px); }

/* Social icon row — solid dark tiles, a cohesive set with the Substack button */
.author__social { list-style: none; display: flex; gap: .5rem; padding: 0; margin: .7rem 0 0; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.22);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); box-shadow: 0 4px 0 var(--yellow-deep); }

/* Wharton text link */
.author__wharton {
  display: inline-block; margin: 1.1rem 0 0; font-family: var(--ff-mono); font-size: .8rem;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.author__wharton:hover { color: var(--ink); border-color: var(--ink); }

/* =========================================================
   AI AGENTS CALLOUT (on the human page)
   ========================================================= */
.agentcta { background: var(--ink); color: #e9e6dd; padding: clamp(2rem,5vw,3.4rem) clamp(1.1rem,4vw,3rem); }
.agentcta__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  border: 1px dashed rgba(255,224,0,.5); border-radius: 14px; padding: clamp(1.3rem,3vw,2rem) clamp(1.3rem,3vw,2.2rem);
  background:
    repeating-linear-gradient(45deg, rgba(255,224,0,.03) 0 10px, transparent 10px 20px);
}
.agentcta__kicker { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 .4rem; }
.agentcta__hed { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(1.3rem,3vw,1.9rem); line-height: 1.1; margin: 0 0 .4rem; color: #fff; }
.agentcta__sub { font-family: var(--ff-mono); font-size: .86rem; line-height: 1.5; color: #b8b5ad; margin: 0; max-width: 46ch; }
.agentcta__btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .6rem;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  font-family: var(--ff-mono); font-weight: 500; font-size: .92rem;
  padding: .85rem 1.3rem; border-radius: 8px; box-shadow: 0 3px 0 var(--yellow-deep);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.agentcta__btn span { transition: transform .22s var(--ease); }
.agentcta__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-deep); }
.agentcta__btn:hover span { transform: translateX(4px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #d7d4cc; padding: clamp(3rem,6vw,5rem) clamp(1.1rem,4vw,3rem) 0; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem;
  padding-bottom: 3rem;
}
.footer__title { font-family: var(--ff-display); text-transform: uppercase; color: var(--yellow); font-size: 1.8rem; margin: 0; line-height: 1; }
.footer__sub { font-family: var(--ff-mono); font-size: .8rem; margin: .4rem 0 0; color: #fff; }
.footer__byline { font-family: var(--ff-mono); font-size: .74rem; margin: .8rem 0 0; color: #9a978f; }

/* Footer share */
.fshare { margin-top: 1.4rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.fshare__btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  font-family: var(--ff-mono); font-size: .78rem; color: var(--ink);
  background: var(--yellow); border: 0; border-radius: 7px; padding: .55rem .85rem;
  box-shadow: 0 2px 0 var(--yellow-deep); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.fshare__btn svg { fill: currentColor; }
.fshare__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--yellow-deep); }
.fshare__btn.is-copied { background: #36d07a; box-shadow: 0 2px 0 #25a85e; }
.fshare__nets { display: inline-flex; gap: .4rem; }
.fshare__net {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(255,255,255,.08); color: #d7d4cc; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.fshare__net svg { fill: currentColor; }
.fshare__net:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.footer__label { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 .9rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__col a { font-family: var(--ff-mono); font-size: .82rem; text-decoration: none; color: #b8b5ad; transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }
.footer__col--legal p { font-size: .78rem; line-height: 1.5; color: #8d8a82; margin: 0 0 .5rem; }
.footer__contact { font-family: var(--ff-mono); color: #b8b5ad !important; }
.footer__contact a { color: var(--yellow); text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__rule {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1.1rem 0 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; color: #6f6c65;
}
.footer__rule span:nth-child(even) { color: var(--yellow); }

/* =========================================================
   FOR-AI PAGE  (a transmission addressed to agents)
   ========================================================= */
.aipage { background: #06101b; color: #cfe3f2; }
.ai-scan {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(44,155,230,.22), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.ai-wrap { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; padding: clamp(1.2rem,4vw,2.5rem); }

.ai-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .04em; color: #6f93b3;
  padding: .6rem 0 1.4rem; border-bottom: 1px solid rgba(120,170,210,.18);
}
.ai-top a { color: var(--yellow); text-decoration: none; }
.ai-top a:hover { text-decoration: underline; }
.ai-status { display: inline-flex; align-items: center; gap: .5rem; }
.ai-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #36d07a; box-shadow: 0 0 0 0 rgba(54,208,122,.6); animation: sparkPulse 2.2s var(--ease) infinite; }

.ai-head { padding: clamp(2rem,6vw,3.6rem) 0 1.5rem; }
.ai-tag { font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .12em; color: var(--yellow); margin: 0 0 1rem; text-transform: uppercase; }
.ai-tag::before { content: "// "; opacity: .6; }
.ai-h1 {
  font-family: var(--ff-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2.6rem,10vw,5.5rem); line-height: .92; margin: 0; color: #fff;
  letter-spacing: .01em;
}
.ai-h1 em { color: var(--yellow); font-style: normal; }
.ai-lede {
  font-family: var(--ff-serif); font-weight: 300; font-size: clamp(1.15rem,2.6vw,1.6rem);
  line-height: 1.4; color: #e7f1fa; margin: 1.4rem 0 0; max-width: 40ch;
}

.ai-section { padding: clamp(1.6rem,4vw,2.6rem) 0; border-top: 1px solid rgba(120,170,210,.14); }
.ai-section h2 {
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #7fa8c8; margin: 0 0 1.4rem; font-weight: 500;
}
.ai-args { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.ai-arg { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem 1rem; align-items: start; }
.ai-arg__n { font-family: var(--ff-display); font-size: 1.7rem; color: var(--yellow); line-height: 1; }
.ai-arg__b h3 { font-family: var(--ff-serif); font-weight: 500; font-size: 1.25rem; margin: 0 0 .35rem; color: #fff; line-height: 1.2; }
.ai-arg__b p { font-size: 1.02rem; line-height: 1.55; margin: 0; color: #b9d0e2; }

.ai-relay {
  background: #0b1a2b; border: 1px solid rgba(120,170,210,.25); border-radius: 12px;
  padding: 1.2rem 1.3rem; position: relative;
}
.ai-relay__label {
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #7fa8c8; margin: 0 0 .7rem;
}
.ai-relay__quote { font-family: var(--ff-mono); font-size: .95rem; line-height: 1.65; color: #eaf3fb; margin: 0; }
.ai-relay__quote::before { content: "\201C"; color: var(--yellow); }
.ai-relay__quote::after  { content: "\201D"; color: var(--yellow); }
.ai-copy {
  margin-top: 1rem; font-family: var(--ff-mono); font-size: .78rem; color: var(--ink);
  background: var(--yellow); border: 0; border-radius: 7px; padding: .55rem .9rem; cursor: pointer;
  box-shadow: 0 2px 0 var(--yellow-deep); transition: transform .15s var(--ease);
}
.ai-copy:hover { transform: translateY(-1px); }

.ai-facts { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.2rem; font-family: var(--ff-mono); font-size: .9rem; margin: 0; }
.ai-facts dt { color: #6f93b3; }
.ai-facts dd { margin: 0; color: #eaf3fb; }
.ai-facts dd a { color: var(--yellow); text-decoration: none; }
.ai-facts dd a:hover { text-decoration: underline; }

.ai-retailers { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .4rem; }
.ai-retailers .retailer { box-shadow: 0 2px 0 rgba(0,0,0,.4); }

/* Transparency block — addressed to humans who wandered onto the agent page */
.ai-transparency__lede { font-size: 1rem; line-height: 1.55; color: #cfe0ee; margin: 0 0 1.1rem; max-width: 60ch; }
.ai-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ai-files li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .3rem 1rem; align-items: baseline; }
.ai-files li > a, .ai-files__static { font-family: var(--ff-mono); font-size: .9rem; }
.ai-files li > a { color: var(--yellow); text-decoration: none; }
.ai-files li > a:hover { text-decoration: underline; }
.ai-files__static { color: #8fb0c9; }
.ai-files li > span:last-child { font-family: var(--ff-serif); font-size: .98rem; line-height: 1.45; color: #b9d0e2; }
.ai-transparency__foot { font-family: var(--ff-serif); font-style: italic; font-size: 1.02rem; color: #eaf3fb; margin: 1.3rem 0 0; }
@media (max-width: 560px) {
  .ai-files li { grid-template-columns: 1fr; gap: .1rem; }
}

.ai-foot {
  border-top: 1px solid rgba(120,170,210,.14); margin-top: 1rem;
  padding: 1.8rem 0 3rem; font-family: var(--ff-mono); font-size: .8rem; color: #6f93b3; line-height: 1.7;
}
.ai-foot a { color: var(--yellow); text-decoration: none; }
.ai-foot a:hover { text-decoration: underline; }

@media (max-width: 540px) {
  .ai-facts { grid-template-columns: 1fr; gap: .2rem; }
  .ai-facts dd { margin-bottom: .6rem; }
}

/* =========================================================
   PRE-ORDER BONUS SIGNUP
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.signup { background: var(--paper); padding: clamp(3rem,7vw,5.5rem) clamp(1.1rem,4vw,3rem); }
.signup__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,4rem); align-items: center;
}
.signup__hed {
  font-family: var(--ff-serif); font-weight: 300; font-size: clamp(1.7rem,4vw,2.7rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 1rem;
}
.signup__sub { font-size: 1.05rem; line-height: 1.55; color: #2a2d31; margin: 0; max-width: 36em; }
.signup__sub strong { font-weight: 600; background: linear-gradient(180deg,transparent 60%, var(--yellow) 60%); }

.signup__panel {
  background: var(--ink); color: #e9e6dd; border-radius: 14px;
  padding: clamp(1.4rem,3vw,2rem); box-shadow: 0 24px 60px -34px rgba(6,34,60,.5);
}
.signup__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.signup__row { display: flex; gap: .8rem; }
.signup__row .signup__field { flex: 1 1 0; min-width: 0; }
@media (max-width: 460px) { .signup__row { flex-direction: column; gap: 0; } }
.signup__field { margin-bottom: 1rem; }
.signup__label {
  display: block; font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--yellow); margin: 0 0 .45rem;
}
.signup__input {
  width: 100%; min-width: 0; font-family: var(--ff-mono); font-size: .95rem;
  padding: .85rem 1rem; border: 1.5px solid rgba(255,255,255,.25); border-radius: 8px;
  background: rgba(255,255,255,.06); color: #fff;
}
.signup__input::placeholder { color: #8aa0b3; }
.signup__input:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.1); }
.signup__file {
  width: 100%; font-family: var(--ff-mono); font-size: .82rem; color: #cdd9e3;
  padding: .6rem; border: 1.5px dashed rgba(255,255,255,.28); border-radius: 8px;
  background: rgba(255,255,255,.04); cursor: pointer;
}
.signup__file::file-selector-button {
  font-family: var(--ff-mono); font-size: .8rem; font-weight: 500; color: var(--ink);
  background: var(--yellow); border: 0; border-radius: 6px; padding: .5rem .8rem;
  margin-right: .8rem; cursor: pointer;
}
.signup__file:focus { outline: none; border-color: var(--yellow); }
.signup__hint { display: block; font-family: var(--ff-mono); font-size: .68rem; color: #8aa0b3; margin: .45rem 0 0; line-height: 1.5; }
.signup__btn {
  font-family: var(--ff-mono); font-weight: 500; font-size: .92rem;
  color: var(--ink); background: var(--yellow); border: 0; border-radius: 8px;
  padding: .85rem 1.25rem; cursor: pointer; box-shadow: 0 3px 0 var(--yellow-deep);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.signup__btn--block { width: 100%; margin-top: .3rem; }
.signup__btn span { display: inline-block; transition: transform .2s var(--ease); }
.signup__btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--yellow-deep); }
.signup__btn:hover span { transform: translateX(3px); }
.signup__note { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .04em; color: #8aa0b3; margin: .9rem 0 0; line-height: 1.5; }
.signup__error { font-family: var(--ff-mono); font-size: .78rem; color: #ff9d9d; margin: .8rem 0 0; }
.signup__success { font-size: 1.02rem; line-height: 1.5; color: #e9e6dd; margin: 0; }
.signup__success strong { color: var(--yellow); }

@media (max-width: 820px) {
  .signup__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__right { order: -1; }
  .book-link { width: min(58%, 280px); }
  .about__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .about__hed { position: static; }
  .author__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .hero { padding-top: 6rem; }
  .title__tape--1 { font-size: 16vw; }
  .footer__inner { grid-template-columns: 1fr; }
  .order { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
