/* Paul Cooper AI — the approved midnight, ivory and gold identity.
   Kept separate from the geometry, publication text and original artwork. */
:root {
  color-scheme: dark;
  --paper: #0b1122;
  --ink: #f1eee7;
  --muted: #a5b0c6;
  --rule: #d9bf722d;
  --cobalt: #d9bf72;
  --copper: #d9bf72;
  --night: #101a30;
  --bone: #f1eee7;
  --indigo: #1b2c4d;
  --gold: #d9bf72;
}
body { background: var(--paper); }
::selection { background: #d9bf7240; color: #fffaf0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline-color: var(--gold);
}
.sitehead {
  background: #0b1122f5;
  border-bottom-color: #d9bf722b;
}
.brand img { filter: drop-shadow(0 0 12px #d9bf7230); }
.brand-name { font-weight: 400; letter-spacing: .02em; }
.brand-name small { font-family: var(--display); font-weight: 400; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--gold); }
.eyebrow { color: var(--gold); letter-spacing: .16em; }
.button-link {
  color: #0b1122;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 4px 24px #0002;
}
.button-link:hover { background: #e9d498; border-color: #e9d498; }
.textlink:hover { color: #f6dfa1; border-color: #f6dfa1; }
.hero {
  min-height: 660px;
  max-height: 860px;
  background: radial-gradient(ellipse at 78% 42%, #243657 0, #192846 36%, #111b33 67%, #0b1122 100%);
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22% -10% -22% 29%;
  background: url('assets/sphere-background.png') center / contain no-repeat;
  opacity: .55;
  pointer-events: none;
}
.hero-copy { width: 68%; padding-top: 46px; padding-bottom: 68px; }
.hero .eyebrow { color: #b0bbd0; font-size: 10px; margin-bottom: 31px; }
.hero h1 {
  font-size: clamp(60px, 6.3vw, 96px);
  line-height: 1.1;
  letter-spacing: -.025em;
  white-space: nowrap;
  max-width: none;
  margin-bottom: 15px;
  text-shadow: 0 3px 24px #0b112255;
}
.hero h1 small {
  font-family: var(--display);
  font-size: .26em;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 2px;
}
.hero-tagline {
  color: var(--gold);
  font: 400 clamp(27px, 2.8vw, 43px)/1.3 var(--display);
  letter-spacing: -.01em;
  margin-bottom: 32px;
}
.hero-question {
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.hero-intro { color: #b6c0d2; max-width: 450px; font-size: 17px; }
.hero .actions { max-width: 490px; gap: 19px 25px; }
.heroart { right: 1%; width: 42%; }
.heroart:has([data-sphere-mark])::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('assets/sphere-halo.png') center / contain no-repeat;
  pointer-events: none;
}
.heroart .mark-host { width: 92%; height: 73%; }
.heroart .marktools { color: #bcc6d8; }
.heroart .marktools button { border-bottom-color: #d9bf7255; }
.heroart .marktools button:hover { color: var(--gold); }
.heroart .sphere-hint { color: #a5b0c6; }
.hero-foot { color: #a5b0c6; border: 0; bottom: 25px; }
[data-sphere-mark] canvas:focus-visible { outline-color: var(--gold); }
.featured { background: #0e172b; }
.feature-visual, .work-image { border: 1px solid #e4d7b21c; }
.feature-visual img, .work-item img { filter: none; }
.play-bubble { background: var(--gold); color: #0b1122; }
.featured .eyebrow, .newsletter .eyebrow { color: var(--gold); }
.featured .textlink { color: var(--gold); border-color: #d9bf7288; }
.selected { background: #101a2f; }
.selected .work-item h3, .path-row h3 { color: var(--ink); }
.paths { background: #0b1122; }
.path-row { transition: background .2s; }
.path-row:hover { background: #d9bf7206; }
.books { background: #17243e; border-block: 1px solid var(--rule); }
.book-item { border-top-color: #d9bf7250; }
.book-item h3 { color: var(--ink); }
.current { background: #10192d; }
.current-list h3 { color: #e5dfcf; }
.about-home { background: #0b1122; }
.newsletter {
  background: radial-gradient(ellipse at 80% 80%, #243556, #17243e 55%, #111b31);
  border-top: 1px solid var(--rule);
}
.newsletter .button-link { background: var(--gold); border-color: var(--gold); color: #0b1122; }
.newsletter .button-link:hover { background: #e9d498; }
.footer { background: #090f1d; }
.footer > p { color: var(--gold); }
.footer a:hover { color: var(--ink); }
.work-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #17243f, #111b32 68%, #0c1529);
}
.work-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -42%; bottom: -62%; right: -8%;
  width: 52%;
  background: url('assets/sphere-background.png') center / contain no-repeat;
  opacity: .25;
  pointer-events: none;
}
.work-hero .work-lead { color: #b6c0d2; }
.work-body { background: #0e172a; }
.reading { color: #dddfe5; }
.reading h2, .reading h3 { color: var(--ink); }
.reading .large-quote { color: var(--gold); }
.reading a.button-link { color: #0b1122; }
.chart-lab { background: #16243d; border: 1px solid #d9bf7240; }
.lab-controls input { accent-color: var(--gold); }
.lab-controls button:hover { background: #263b5e; }
.media-error { background: #17243e; color: var(--ink); }
.about-story { background: #0e172a; }
.about-narrative { color: #dddfe5; }
.about-signature { color: var(--gold); }
.about-books { background: #14203a; }
.book-detail { background: #101a2f; }
.book-detail:nth-of-type(even) { background: #0b1427; }
.book-detail .display { color: var(--ink); }
.book-detail .book-availability { color: var(--gold); }
.press-sections .section { background: #0f192e; }
.press-sections .section:nth-of-type(even) { background: #111d34; }
.press-sections .tab-buttons button[aria-pressed="true"],
.press-sections .primary-download,
.support-main .primary-download,
.network-wrap .primary-download {
  background: var(--gold); color: #0b1122; border-color: var(--gold);
}
.press-sections .primary-download:hover,
.support-main .primary-download:hover,
.network-wrap .primary-download:hover { background: #e9d498; color: #0b1122; border-color: #e9d498; }
.press-sections .mark-assets > div { background: #0b1427; padding: 25px; border: 1px solid var(--rule); }
.press-sections .mark-assets .publisher { background: #111b30; }
.press-sections .mark-assets img[src*="paul-cooper-ai-mark"] { filter: drop-shadow(0 0 25px #d9bf722a); }
.support-main { background: linear-gradient(135deg, #15213b, #0b1122 660px); }
.support-main.press-sections .section { background: none; }
.network-intro { position: relative; isolation: isolate; }
.directory-mark { filter: drop-shadow(0 0 38px #d9bf7260); }
.directory-heading h2, .evidence-guide dt { color: var(--gold); }
.imprint-view .article-hero { background: linear-gradient(120deg, #182640, #0b1122); }
@media (max-width: 1000px) {
  .hero h1 { font-size: 7vw; }
  .hero-copy { width: 70%; }
  .hero-tagline { font-size: 3.1vw; }
  .hero-intro { max-width: 375px; }
  .heroart { right: 0; width: 42%; }
}
@media (max-width: 720px) {
  .mainnav { background: #111b31; box-shadow: 0 14px 25px #0004; }
  .hero { min-height: 0; max-height: none; }
  .hero::before { inset: 12% -70% -12% -15%; opacity: .32; }
  .hero-copy { width: 100%; padding: 39px 24px 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .11em; margin-bottom: 25px; }
  .hero h1 { font-size: clamp(34px, 9.2vw, 65px); margin-bottom: 13px; letter-spacing: -.025em; }
  .hero h1 small { font-size: .27em; }
  .hero-tagline { font-size: clamp(21px, 5.6vw, 32px); margin-bottom: 26px; }
  .hero-question { font-size: 19px; }
  .hero-intro { font-size: 16px; max-width: 460px; }
  .hero .actions { gap: 18px 20px; }
  .heroart { width: 100%; right: auto; height: 360px; margin-top: 10px; }
  .heroart .mark-host { height: 280px; }
  .heroart:has([data-sphere-mark])::before { width: 360px; max-width: 110%; top: 41%; }
  .hero-foot { position: static; padding: 16px 24px 25px; line-height: 1.8; font-size: 9px; letter-spacing: .6px; }
  .work-hero::after { width: 85%; right: -37%; opacity: .17; }
  .press-sections .mark-assets > div { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .path-row { transition: none; }
}
