/* Ask John public page: aligned with www.grouppartners.online & johncaswell.com
   Master Hero Typography Lock: Archivo GP sentence case, ultra-condensed (62%),
   tight leading (0.88), tight tracking (-0.032em), light + heavy bold contrast. */

@font-face {
  font-family: "Archivo GP";
  src: url("archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Plex Mono GP";
  src: url("plexmono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #000000;
  --surface: #0b0b0b;
  --surface-raised: #111111;
  --field-bg: #343438;
  --field-bg-hover: #3b3b40;
  --field-bg-focus: #424248;
  --field-border: rgba(242, 240, 235, 0.38);
  --field-border-hover: rgba(242, 240, 235, 0.54);
  --ink: #f2f0eb;
  --ink-soft: rgba(242, 240, 235, 0.78);
  --dim: rgba(242, 240, 235, 0.56);
  --hair: rgba(242, 240, 235, 0.14);
  --hair-strong: rgba(242, 240, 235, 0.26);
  --gold: #c99c45;
  --gold-deep: #b8873b;
  --gold-soft: rgba(201, 156, 69, 0.22);
  --sans: "Archivo GP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Plex Mono GP", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
  --pad-x: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 92%;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.aj-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 2px;
  text-decoration: none;
}

.aj-skip:focus {
  top: 16px;
}

.aj-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.aj-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ==========================================================================
   TOP BAR (TWIN OF JOHNCASWELL.COM)
   ========================================================================== */

.aj-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.48) 72%, rgba(0, 0, 0, 0) 100%);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.aj-bar.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(242, 240, 235, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.aj-bar-in {
  position: relative;
  width: 100%;
  height: 64px;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aj-bar-top {
  display: flex;
  align-items: center;
}

.aj-brand {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 72%;
  text-transform: uppercase;
  letter-spacing: 0.30em;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}

.aj-brand:hover {
  opacity: 0.78;
}

.twin-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.twin-link {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 88%;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(242, 240, 235, 0.72);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.twin-link:hover,
.twin-link:focus-visible {
  color: var(--ink);
}

.twin-link.is-active {
  color: #c99c45;
  font-weight: 600;
  border-bottom-color: #c99c45;
}

.twin-sep {
  color: rgba(242, 240, 235, 0.28);
  font-size: 13px;
  line-height: 1;
  user-select: none;
}

@media (max-width: 899px) {
  .aj-bar {
    background: rgba(0, 0, 0, 0.78);
    border-bottom: 1px solid rgba(242, 240, 235, 0.10);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .aj-bar-in {
    height: auto;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .aj-bar-top {
    height: 52px;
    padding: 0 var(--pad-x);
  }

  .twin-nav {
    position: static;
    transform: none;
    width: 100%;
    height: 36px;
    padding: 0 var(--pad-x);
    border-top: 1px solid rgba(242, 240, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .twin-link {
    font-size: 12.5px;
    padding: 5px 2px;
  }
}

.aj-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 92%;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.aj-nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.aj-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.aj-nav-cta:hover .aj-arrow,
.aj-inline-link:hover .aj-arrow,
.aj-btn-primary:hover .aj-arrow,
.aj-btn-quiet:hover .aj-arrow {
  transform: translateX(3px);
}

.aj-hero-actions .aj-btn-primary:hover .aj-arrow,
.aj-hero-actions .aj-btn-quiet:hover .aj-arrow {
  transform: translateY(2px);
}

/* ==========================================================================
   SHARED TYPOGRAPHY PRIMITIVES (LOCKED MASTER HERO RULE, TWIN OF JOHNCASWELL.COM)
   ========================================================================== */

.aj-kicker {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.aj-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  margin-top: 0.72em;
  background: var(--gold);
  flex-shrink: 0;
}

.aj-h1 {
  font-family: var(--sans);
  font-weight: 260;
  font-stretch: 62%;
  text-transform: none;
  font-size: clamp(50px, 7.4vw, 110px);
  line-height: 0.88;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.aj-h1 strong,
.aj-h1 b {
  font-weight: 800;
}

.aj-h1 .aj-line-two {
  display: block;
  margin-top: 0.24em;
  font-size: 0.56em;
  line-height: 0.94;
  font-weight: 300;
  font-stretch: 62%;
  letter-spacing: -0.022em;
  color: rgba(242, 240, 235, 0.84);
}

.aj-h2 {
  font-family: var(--sans);
  font-weight: 280;
  font-stretch: 62%;
  text-transform: none;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.90;
  letter-spacing: -0.028em;
  word-spacing: 0.04em;
  color: var(--ink);
  max-width: 15em;
  text-wrap: balance;
}

.aj-h2 strong,
.aj-h2 b {
  font-weight: 800;
}

.aj-rule {
  width: 72px;
  height: 2px;
  background: var(--gold);
  margin-top: clamp(20px, 2.8vh, 30px);
}

/* ==========================================================================
   TWIN HERO (MATCHED PORTRAIT, VIGNETTE & SCALE WITH JOHNCASWELL.COM)
   ========================================================================== */

.aj-hero {
  position: relative;
  min-height: clamp(620px, 86svh, 800px);
  min-height: clamp(620px, 86vh, 800px);
  background: var(--black);
  color: var(--ink);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.aj-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--black);
}

.aj-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.aj-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  opacity: 0.96;
  filter: contrast(1.04);
}

/* Exact 10-stop cosine GP dark vignette into #000000 (twin of johncaswell.com) */
.aj-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 14%,
      rgba(0, 0, 0, 0.86) 28%,
      rgba(0, 0, 0, 0.66) 42%,
      rgba(0, 0, 0, 0.34) 52%,
      rgba(0, 0, 0, 0.10) 62%,
      rgba(0, 0, 0, 0.00) 74%,
      rgba(0, 0, 0, 0.00) 100%
    ),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.46) 0%,
      rgba(0, 0, 0, 0.18) 10%,
      rgba(0, 0, 0, 0.00) 22%,
      rgba(0, 0, 0, 0.00) 62%,
      rgba(0, 0, 0, 0.06) 68%,
      rgba(0, 0, 0, 0.18) 74%,
      rgba(0, 0, 0, 0.38) 80%,
      rgba(0, 0, 0, 0.64) 86%,
      rgba(0, 0, 0, 0.86) 93%,
      #000000 100%
    );
}

.aj-hero-wrap {
  position: relative;
  z-index: 2;
  padding-top: calc(96px + env(safe-area-inset-top));
  padding-bottom: clamp(52px, 6.5vh, 76px);
}

.aj-hero-copy {
  max-width: 720px;
}

.aj-lede {
  margin-top: clamp(16px, 2.2vh, 24px);
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 86%;
  font-size: clamp(19px, 1.75vw, 25px);
  line-height: 1.38;
  color: rgba(242, 240, 235, 0.86);
  max-width: 28em;
}

.aj-hero-actions {
  margin-top: clamp(24px, 3.2vh, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.aj-hero-actions .aj-btn-quiet {
  border: 1px solid var(--hair-strong);
  border-radius: 2px;
  padding: 13px 20px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.42);
}

.aj-hero-actions .aj-btn-quiet:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.aj-hero-cue {
  position: absolute;
  left: max(20px, calc((100% - var(--wrap)) / 2 + 24px));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.aj-hero-cue i {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   TWO-MODE THINKING WORKBENCH (ASK A QUESTION / TEST AN EXAM QUESTION)
   ========================================================================== */

.aj-workbench {
  padding: clamp(32px, 5vh, 56px) 0 clamp(64px, 8vw, 100px);
  background: var(--black);
  border-top: 1px solid var(--hair);
  scroll-margin-top: 64px;
}

.aj-wb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 0;
  margin-bottom: clamp(26px, 3.8vh, 40px);
}

.aj-tabs {
  display: flex;
  gap: 4px;
  align-items: stretch;
}

.aj-tab {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 86%;
  font-size: 16px;
  letter-spacing: 0.005em;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.aj-tab:first-child {
  padding-left: 0;
}

.aj-tab-idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
  transition: color 0.22s var(--ease);
}

.aj-tab:hover {
  color: var(--ink);
}

.aj-tab[aria-selected="true"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.aj-tab[aria-selected="true"] .aj-tab-idx {
  color: var(--gold);
}

.aj-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.aj-wb-hint {
  padding-bottom: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--dim);
  max-width: 48em;
}

.aj-panel[hidden] {
  display: none;
}

.aj-ask-core {
  max-width: 820px;
}

.gp-exam-host {
  display: block;
  width: 100%;
}

.aj-form {
  margin-top: 0;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.aj-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 1px solid var(--field-border);
  border-radius: 2px;
  background: var(--field-bg);
  color: var(--ink);
  caret-color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-stretch: 92%;
  font-size: 17px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.aj-form input::placeholder {
  color: rgba(242, 240, 235, 0.72);
}

.aj-form input:hover:not(:focus):not(:disabled) {
  background: var(--field-bg-hover);
  border-color: var(--field-border-hover);
}

.aj-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--field-bg-focus);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.aj-form input:disabled {
  opacity: 0.52;
}

.aj-go {
  flex: 0 0 auto;
  height: 58px;
  min-width: 104px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 82%;
  font-size: 16px;
  letter-spacing: 0.03em;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.aj-go:hover:not([disabled]) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.aj-go[disabled] {
  opacity: 0.48;
  cursor: default;
}

.aj-meta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--dim);
}

/* Starter questions */

.aj-start {
  margin-top: clamp(28px, 4vh, 42px);
}

.has .aj-start {
  display: none;
}

.aj-start-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.aj-starters {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}

.aj-starters li {
  border-bottom: 1px solid var(--hair);
}

.aj-starters li:nth-child(odd) {
  border-right: 1px solid var(--hair);
}

.aj-starters button {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 90%;
  font-size: 16px;
  line-height: 1.38;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.aj-starters li:nth-child(even) button {
  padding-left: 20px;
  padding-right: 0;
}

.aj-starters button:hover {
  color: var(--ink);
}

.aj-s-arrow {
  flex: 0 0 auto;
  color: var(--dim);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.aj-starters button:hover .aj-s-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* Live interrogation log */

.aj-log:not(:empty) {
  margin-top: clamp(30px, 4.5vh, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}

.aj-ex {
  margin-bottom: 40px;
  animation: aj-in 0.4s var(--ease) both;
}

.aj-ex:last-child {
  margin-bottom: 0;
}

@keyframes aj-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.aj-q {
  margin: 0 0 18px auto;
  max-width: 84%;
  text-align: right;
  font-family: var(--sans);
  font-weight: 400;
  font-stretch: 90%;
  font-size: 15px;
  line-height: 1.45;
  color: var(--dim);
  overflow-wrap: anywhere;
}

.aj-a {
  border-left: 2px solid var(--gold);
  padding-left: clamp(16px, 2.4vw, 24px);
}

.aj-a p {
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 92%;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--ink);
  max-width: 39em;
}

.aj-a p + p {
  margin-top: 0.9em;
}

.aj-a .aj-close {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.aj-a .aj-close a {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 156, 69, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.aj-a .aj-close a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.aj-a .aj-src {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 56em;
}

.aj-think {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}

.aj-think i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: aj-pulse 1.15s infinite ease-in-out;
}

.aj-think i:nth-child(2) {
  animation-delay: 0.16s;
}

.aj-think i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aj-pulse {
  0%, 80%, 100% {
    opacity: 0.22;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   BELOW THE INTERROGATION: TIMELINE, BOOKS, WRITING, INDEPENDENT ADVICE
   ========================================================================== */

.aj-sec {
  padding: clamp(56px, 8vw, 96px) 0;
}

.aj-sec-bordered {
  border-top: 1px solid var(--hair);
}

.aj-sec-lede {
  margin-top: clamp(16px, 2.2vh, 24px);
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 88%;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.48;
  color: var(--ink-soft);
  max-width: 40em;
}

/* 50-year timeline */

.aj-timeline {
  list-style: none;
  margin-top: clamp(32px, 4.5vh, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}

.aj-era {
  padding: 26px 24px 28px 24px;
  border-bottom: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aj-era:nth-child(3n+1) {
  padding-left: 0;
  border-left: 0;
}

.aj-era:nth-child(3n) {
  padding-right: 0;
}

.aj-era-num {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.aj-era h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 74%;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.10;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.aj-era p {
  font-family: var(--sans);
  font-weight: 300;
  font-stretch: 92%;
  font-size: 14.5px;
  line-height: 1.52;
  color: var(--ink-soft);
}

/* Corpus telemetry strip */

.aj-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.aj-stat {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.aj-stat dd {
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 72%;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.aj-stat dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Books & Weekly Writing */

.aj-books {
  margin-top: clamp(32px, 4.5vh, 48px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
}

.aj-book {
  padding: 30px 32px 32px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.aj-book:nth-child(even) {
  padding-left: 32px;
  padding-right: 0;
  border-left: 1px solid var(--hair);
}

.aj-book-media {
  width: 128px;
  background: var(--surface);
  border: 1px solid var(--hair);
  overflow: hidden;
}

.aj-book-media img {
  width: 100%;
  height: auto;
  display: block;
}

.aj-book-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.aj-book-tag.is-gold {
  color: var(--gold);
}

.aj-book-body h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 86%;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.aj-book-body p {
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--ink-soft);
}

.aj-writing-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.aj-writing-copy {
  max-width: 38em;
}

.aj-writing-copy h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
}

.aj-writing-copy p {
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--ink-soft);
}

.aj-writing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.aj-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 84%;
  font-size: 15px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 156, 69, 0.42);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.aj-inline-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Connect */

.aj-advice-inner,
.aj-advice-in {
  max-width: 760px;
}

.aj-actions,
.aj-advice-actions {
  margin-top: clamp(26px, 3.6vh, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

.aj-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--ink);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 92%;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.aj-btn-primary:hover {
  background: var(--gold);
  color: var(--black);
}

.aj-btn-quiet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 86%;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.aj-btn-quiet:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.aj-foot {
  border-top: 1px solid var(--hair);
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
}

.aj-foot-in {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.aj-foot-left {
  max-width: 44em;
}

.aj-foot-left p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--dim);
}

.aj-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.aj-foot-nav a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.aj-foot-nav a:hover {
  color: var(--gold);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1079px) {
  .aj-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-era,
  .aj-era:nth-child(3n+1),
  .aj-era:nth-child(3n) {
    padding: 22px 20px 24px 0;
    border-left: 0;
  }

  .aj-era:nth-child(even) {
    padding-left: 22px;
    padding-right: 0;
    border-left: 1px solid var(--hair);
  }
}

@media (max-width: 859px) {
  .aj-books {
    grid-template-columns: 1fr;
  }

  .aj-book {
    padding: 26px 0;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 20px;
  }

  .aj-book:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .aj-book-media {
    width: 108px;
  }
}


@media (max-width: 760px) {
  .aj-hero {
    min-height: min(90svh, 730px);
    align-items: flex-end;
  }

  .aj-hero-bg img {
    object-position: 50% 0%;
    opacity: 0.94;
  }

  .aj-hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.14) 11%,
        rgba(0, 0, 0, 0.00) 24%,
        rgba(0, 0, 0, 0.00) 34%,
        rgba(0, 0, 0, 0.18) 41%,
        rgba(0, 0, 0, 0.48) 47%,
        rgba(0, 0, 0, 0.78) 54%,
        rgba(0, 0, 0, 0.94) 62%,
        rgba(0, 0, 0, 0.99) 72%,
        #000000 100%
      );
  }

  .aj-hero-wrap {
    padding-top: 348px;
    padding-bottom: calc(38px + env(safe-area-inset-bottom));
  }

  .aj-h1 {
    font-size: clamp(46px, 13vw, 62px);
    line-height: 0.89;
    letter-spacing: -0.030em;
  }

  .aj-lede {
    font-size: 18px;
    line-height: 1.42;
  }

  .aj-hero-cue {
    display: none;
  }

  .aj-hero-actions .aj-btn-primary,
  .aj-hero-actions .aj-btn-quiet {
    width: 100%;
    justify-content: center;
  }

  .aj-tabs {
    width: 100%;
    gap: 0;
  }

  .aj-tab {
    flex: 1 1 50%;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 13px 6px 15px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .aj-tab:first-child {
    padding-left: 10px;
  }

  .aj-wb-hint {
    padding-bottom: 14px;
    font-size: 11px;
  }
}

@media (max-width: 639px) {
  .aj-brand {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .aj-nav-cta {
    font-size: 12px;
    padding: 6px 10px;
    gap: 5px;
  }

  .aj-kicker {
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .aj-form {
    flex-direction: column;
    gap: 10px;
  }

  .aj-form input {
    height: 54px;
    font-size: 16px;
  }

  .aj-go {
    width: 100%;
    height: 52px;
  }

  .aj-starters {
    grid-template-columns: 1fr;
  }

  .aj-starters li:nth-child(odd) {
    border-right: 0;
  }

  .aj-starters button,
  .aj-starters li:nth-child(even) button {
    padding: 15px 0;
  }

  .aj-timeline {
    grid-template-columns: 1fr;
  }

  .aj-era,
  .aj-era:nth-child(odd),
  .aj-era:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
  }

  .aj-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .aj-book {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
  }

  .aj-book-media {
    width: 92px;
  }

  .aj-q {
    max-width: 94%;
  }

  .aj-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aj-ex,
  .aj-think i {
    animation: none;
  }
}
