/* ============================================================
   CODE GAIA RESEARCH ARCHIVE — styles.css
   codegaia.deniardente.com
   ============================================================ */

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* 2. TOKENS */
:root {
  /* backgrounds */
  --bg:         #10161c;
  --bg-2:       #131a22;
  --bg-card:    #18202b;
  --bg-raised:  #1c2534;
  /* text */
  --tx:         #d9dde2;
  --tx-2:       #9ba3ae;
  --tx-3:       #6a7280;
  --tx-4:       #444e5c;
  /* accent */
  --ac:         #7d8ea2;
  --ac-hi:      #a6bace;
  --ac-warm:    #c3a77e;
  /* borders */
  --ln:         #262d38;
  --ln-2:       #313b47;
  /* type */
  --ui:         'Inter', system-ui, sans-serif;
  --serif:      'EB Garamond', Georgia, serif;
  /* misc */
  --r:          3px;
  --t:          0.18s ease;
  --ts:         0.38s ease;
  --w:          1360px;
  --wm:         700px;
}

/* 3. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--ui);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* 4. TYPOGRAPHY */
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--tx);
}
h3, h4 {
  font-family: var(--ui);
  font-weight: 500;
  line-height: 1.2;
  color: var(--tx);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: -0.005em; }
p {
  font-family: var(--ui);
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height: 1.8;
  color: var(--tx-2);
  margin-bottom: 1.1rem;
}
p:last-child { margin-bottom: 0; }

/* 5. LAYOUT */
.wrap       { width: 100%; max-width: var(--w);  margin: 0 auto; padding: 0 2rem; }
.wrap--mid  { width: 100%; max-width: 960px;     margin: 0 auto; padding: 0 2rem; }
.wrap--text { width: 100%; max-width: var(--wm); margin: 0 auto; padding: 0 2rem; }

/* 6. HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 58px;
  background: rgba(16,22,28,0.93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ln);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--w); margin: 0 auto; padding: 0 2rem;
}
.site-logo { display: flex; flex-direction: column; gap: 1px; }
.logo-name   { font-family: var(--serif); font-size: 1rem; font-weight: 500; letter-spacing: 0.03em; line-height: 1; }
.logo-sub    { font-family: var(--ui); font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--tx-3); line-height: 1; }
.site-nav    { display: flex; align-items: center; gap: 0.15rem; }
.nav-link    { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--tx-3); padding: 0.38rem 0.65rem; border-radius: var(--r); transition: color var(--t); }
.nav-link:hover, .nav-link.is-active { color: var(--tx); }
.nav-access  {
  margin-left: 0.5rem; font-size: 0.7rem; letter-spacing: 0.07em;
  border: 1px solid var(--ln-2); padding: 0.35rem 0.9rem; border-radius: var(--r);
  color: var(--tx-2); transition: border-color var(--t), color var(--t);
}
.nav-access:hover { border-color: var(--ac); color: var(--ac-hi); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--tx-2); transition: var(--t); }
.page-body  { padding-top: 58px; }

/* 7. HERO */
.hero {
  position: relative; padding: 8rem 0 6rem; border-bottom: 1px solid var(--ln); overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(125,142,162,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 88% 110%, rgba(195,167,126,0.06) 0%, transparent 55%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ac);
  margin-bottom: 2rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--ac); }
.hero h1 { max-width: 650px; margin-bottom: 1.75rem; }
.hero h1 em { font-style: italic; color: var(--tx-2); }
.hero-desc { font-family: var(--ui); font-size: clamp(1.05rem, 1.3vw, 1.12rem); line-height: 1.85; color: var(--tx-2); max-width: 520px; margin-bottom: 2.75rem; }
.hero-actions { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; }

/* 8. BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--ui); font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.72rem 1.5rem; border-radius: var(--r); transition: all var(--t); white-space: nowrap; }
.btn-primary { background: var(--tx); color: var(--bg); border: 1px solid transparent; }
.btn-primary:hover { background: var(--ac-hi); }
.btn-ghost { background: transparent; color: var(--tx-2); border: 1px solid var(--ln-2); }
.btn-ghost:hover { color: var(--tx); border-color: var(--ac); }
.btn-text { background: transparent; border: none; color: var(--ac); font-family: var(--ui); font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0; display: inline-flex; align-items: center; gap: 0.35rem; }
.btn-text:hover { color: var(--ac-hi); }
.btn-text .arr { transition: transform var(--t); }
.btn-text:hover .arr { transform: translateX(4px); }

/* 9. SECTION */
.section { padding: 5.5rem 0; border-bottom: 1px solid var(--ln); }
.section:last-child { border-bottom: none; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.75rem; gap: 1rem; flex-wrap: wrap; }
.sec-label { font-size: 0.63rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 0.35rem; }
.sec-title { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 400; }

/* 10. FEATURED GRID (homepage) */
.feat-grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  border: 1px solid var(--ln); gap: 1px; background: var(--ln);
}
.feat-primary {
  background: var(--bg); padding: 2.5rem; display: flex; flex-direction: column; gap: 0.9rem;
  text-decoration: none; transition: background var(--t);
}
.feat-primary:hover { background: var(--bg-card); }
.feat-stack { display: flex; flex-direction: column; }
.feat-item {
  background: var(--bg); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem;
  flex: 1; border-bottom: 1px solid var(--ln); text-decoration: none; transition: background var(--t);
}
.feat-item:last-child { border-bottom: none; }
.feat-item:hover { background: var(--bg-card); }
.feat-kicker { font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ac); }
.feat-title  { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.22; }
.feat-item .feat-title { font-size: 1.05rem; }
.feat-desc   { font-family: var(--ui); font-size: 0.94rem; line-height: 1.78; color: var(--tx-2); flex: 1; }
.feat-cta    { font-family: var(--ui); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ac); margin-top: auto; }

/* 11. ARCHIVE GRID */
.archive-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
  border: 1px solid var(--ln); gap: 1px; background: var(--ln);
}
.arc-card {
  background: var(--bg); padding: 1.85rem; display: flex; flex-direction: column; gap: 0.65rem;
  text-decoration: none; transition: background var(--t);
}
.arc-card:hover { background: var(--bg-card); }
.arc-card.is-placeholder { opacity: 0.68; }
.card-top  { display: flex; align-items: center; gap: 0.75rem; }
.card-id   { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--tx-4); }
.card-cat  { font-size: 0.6rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ac); }
.card-prep { font-size: 0.58rem; letter-spacing: 0.07em; color: var(--tx-4); font-style: italic; margin-left: auto; }
.card-title { font-family: var(--serif); font-size: 1.08rem; line-height: 1.28; }
.card-desc  { font-family: var(--ui); font-size: 0.92rem; line-height: 1.75; color: var(--tx-2); flex: 1; }
.card-tags  { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.1rem; }
.no-results {
  grid-column: 1/-1; padding: 3.5rem; text-align: center;
  font-style: italic; color: var(--tx-3);
}

/* 12. TAG CHIPS */
.tag {
  font-size: 0.58rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--tx-3); border: 1px solid var(--ln); padding: 0.16rem 0.44rem;
  border-radius: 2px; cursor: pointer; transition: all var(--t); white-space: nowrap;
  background: transparent;
}
.tag:hover, .tag.is-active { color: var(--ac-hi); border-color: var(--ac); }

/* 13. JOURNAL TEASER */
.journal-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  background: var(--bg-2); border: 1px solid var(--ln); padding: 3rem;
}
.journal-kicker {
  font-size: 0.6rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--ac-warm);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem;
}
.journal-kicker::before { content: ''; display: block; width: 12px; height: 1px; background: var(--ac-warm); }
.journal-title { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.7rem; }
.journal-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 0.98rem; line-height: 1.9; color: var(--tx-2);
  border-left: 2px solid var(--ac-warm); padding-left: 1.15rem; margin: 1.2rem 0;
}

/* 14. READER QUESTIONS */
.rq-list { display: flex; flex-direction: column; gap: 1px; background: var(--ln); border: 1px solid var(--ln); }
.rq-item { background: var(--bg); padding: 1.8rem 2rem; display: flex; gap: 1.4rem; transition: background var(--t); }
.rq-item:hover { background: var(--bg-card); }
.rq-num  { font-size: 0.58rem; letter-spacing: 0.09em; color: var(--tx-4); flex-shrink: 0; width: 22px; padding-top: 0.3rem; }
.rq-body { flex: 1; }
.rq-q    { font-family: var(--ui); font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--tx); margin-bottom: 0.55rem; }
.rq-a    { font-family: var(--ui); font-size: 0.93rem; line-height: 1.8; color: var(--tx-2); }

/* 15. BOOK CTA */
.book-cta {
  background: var(--bg-2); border: 1px solid var(--ln); padding: 3.5rem; text-align: center;
}
.book-cta h2 { margin-bottom: 0.85rem; }
.book-cta > p { max-width: 420px; margin: 0 auto 2rem; font-size: 0.98rem; }
.store-row { display: flex; align-items: center; justify-content: center; gap: 0.65rem; flex-wrap: wrap; }
.store-btn {
  font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--tx-2); border: 1px solid var(--ln-2); padding: 0.52rem 1rem; border-radius: var(--r);
  transition: all var(--t);
}
.store-btn:hover { color: var(--tx); border-color: var(--ac); }

/* 16. SUBSCRIBE STRIP */
.sub-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--bg-2); border: 1px solid var(--ln); padding: 2.25rem 2.75rem; flex-wrap: wrap;
}
.sub-strip h3 { font-size: 1.18rem; font-weight: 500; }
.sub-form { display: flex; }
.sub-input {
  background: var(--bg); border: 1px solid var(--ln-2); border-right: none;
  color: var(--tx); padding: 0.72rem 0.9rem; font-size: 0.85rem;
  width: 220px; border-radius: var(--r) 0 0 var(--r); outline: none; transition: border-color var(--t);
}
.sub-input::placeholder { color: var(--tx-4); }
.sub-input:focus { border-color: var(--ac); }
.sub-btn {
  background: var(--tx); color: var(--bg); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.72rem 1.1rem; border-radius: 0 var(--r) var(--r) 0; white-space: nowrap;
  cursor: pointer; transition: background var(--t); border: 1px solid transparent;
}
.sub-btn:hover { background: var(--ac-hi); }

/* 17. FOOTER */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--ln); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-about { font-family: var(--ui); font-size: 0.88rem; line-height: 1.8; color: var(--tx-3); margin-top: 0.65rem; }
.footer-col-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-link { font-size: 0.78rem; color: var(--tx-2); transition: color var(--t); }
.footer-link:hover { color: var(--tx); }
.footer-bottom {
  border-top: 1px solid var(--ln); padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-copy   { font-size: 0.68rem; color: var(--tx-4); }
.footer-status { font-size: 0.6rem; letter-spacing: 0.09em; color: var(--tx-4); display: flex; align-items: center; gap: 0.45rem; }
.dot-live { width: 5px; height: 5px; border-radius: 50%; background: #4caf7d; animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* 18. ARCHIVE PAGE — HERO + CONTROLS */
.archive-hero { padding: 5rem 0 2.5rem; border-bottom: 1px solid var(--ln); }
.arc-stats { display: flex; gap: 2.25rem; margin-top: 1.6rem; }
.stat-n   { font-family: var(--serif); font-size: 1.55rem; line-height: 1; color: var(--tx); }
.stat-l   { font-size: 0.58rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--tx-3); margin-top: 0.2rem; }
.search-wrap { position: relative; max-width: 440px; margin-top: 1.75rem; }
.search-input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--ln-2);
  color: var(--tx); padding: 0.82rem 2.4rem 0.82rem 1rem;
  font-family: var(--ui); font-size: 0.88rem; border-radius: var(--r);
  outline: none; transition: border-color var(--t);
}
.search-input::placeholder { color: var(--tx-4); }
.search-input:focus { border-color: var(--ac); }
.search-ico { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); color: var(--tx-4); pointer-events: none; font-size: 0.85rem; }
.cat-nav { border-bottom: 1px solid var(--ln); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: flex; gap: 0.35rem; padding: 1.1rem 2rem; min-width: max-content; max-width: var(--w); margin: 0 auto; }
.cat-btn {
  font-size: 0.67rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--tx-3); border: 1px solid var(--ln); padding: 0.3rem 0.72rem; border-radius: 2px;
  cursor: pointer; transition: all var(--t); background: transparent;
}
.cat-btn:hover, .cat-btn.is-active { color: var(--ac-hi); border-color: var(--ac); background: rgba(125,142,162,0.06); }
.tag-bar { padding: 1.1rem 0; border-bottom: 1px solid var(--ln); }
.tag-bar-label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); margin-right: 0.6rem; }
.arc-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; flex-wrap: wrap; }
.arc-count-txt { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--tx-3); }

/* 19. NOVEL PAGE */
.novel-hero { padding: 5.5rem 0 4rem; border-bottom: 1px solid var(--ln); }
.novel-layout { display: grid; grid-template-columns: 1fr 265px; gap: 4rem; align-items: start; }
.cover-ph {
  background: var(--bg-2); border: 1px solid var(--ln);
  aspect-ratio: 2/3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-4);
}
.theme-list { display: flex; flex-direction: column; gap: 1px; background: var(--ln); border: 1px solid var(--ln); }
.theme-item { background: var(--bg); padding: 1.35rem 1.5rem; display: flex; gap: 0.9rem; transition: background var(--t); }
.theme-item:hover { background: var(--bg-card); }
.theme-n { font-size: 0.58rem; letter-spacing: 0.08em; color: var(--tx-4); padding-top: 0.2rem; flex-shrink: 0; width: 24px; }
.theme-b h4 { font-family: var(--ui); font-size: 0.8rem; font-weight: 500; margin-bottom: 0.28rem; color: var(--tx); }
.theme-b p  { font-size: 0.88rem; line-height: 1.75; margin: 0; }

/* 20. ABOUT + SUBSCRIBE + STATIC */
.page-intro { padding: 5rem 0 3.5rem; border-bottom: 1px solid var(--ln); }
.page-intro h1 { margin-bottom: 1rem; }
.form-block { background: var(--bg-2); border: 1px solid var(--ln); padding: 2.25rem; max-width: 460px; }
.form-field { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 0.35rem; }
.form-input { width: 100%; background: var(--bg); border: 1px solid var(--ln-2); color: var(--tx); padding: 0.75rem 0.9rem; font-size: 0.9rem; border-radius: var(--r); outline: none; transition: border-color var(--t); }
.form-input::placeholder { color: var(--tx-4); }
.form-input:focus { border-color: var(--ac); }
.form-submit { width: 100%; background: var(--tx); color: var(--bg); font-size: 0.73rem; letter-spacing: 0.09em; text-transform: uppercase; padding: 0.86rem; border-radius: var(--r); cursor: pointer; margin-top: 0.5rem; transition: background var(--t); border: none; }
.form-submit:hover { background: var(--ac-hi); }
.form-note { font-size: 0.62rem; color: var(--tx-4); text-align: center; margin-top: 0.6rem; line-height: 1.65; }
.lead-block { background: var(--bg-2); border: 1px solid var(--ln); border-top: 2px solid var(--ac-warm); padding: 1.75rem; margin-bottom: 1.25rem; }
.lead-kicker { font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ac-warm); margin-bottom: 0.45rem; }
.benefits-list { display: flex; flex-direction: column; gap: 1px; background: var(--ln); border: 1px solid var(--ln); margin-bottom: 1.5rem; }
.benefit-item { background: var(--bg-card); padding: 1.1rem 1.35rem; }
.benefit-item h4 { font-family: var(--ui); font-size: 0.78rem; font-weight: 500; margin-bottom: 0.22rem; color: var(--tx); }
.benefit-item p  { font-size: 0.84rem; line-height: 1.65; margin: 0; }

/* 21. 404 */
.nf-page { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.nf-inner { max-width: 520px; }
.nf-emblem { font-size: 0.57rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tx-4); margin-bottom: 2.75rem; display: flex; align-items: center; justify-content: center; gap: 0.7rem; }
.nf-emblem::before,.nf-emblem::after { content:''; display:block; width:32px; height:1px; background:var(--ln-2); }
.nf-code  { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: 1; color: var(--tx-4); letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.nf-title { font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.65rem); margin-bottom: 0.85rem; }
.nf-desc  { font-family: var(--ui); font-size: 0.96rem; line-height: 1.82; color: var(--tx-2); margin-bottom: 2.25rem; }
.nf-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.nf-files { border-top: 1px solid var(--ln); padding-top: 2.5rem; }
.nf-files-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 1.15rem; }

/* 22. UTILS + ANIMATIONS */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu   { animation: fade-up 0.55s ease both; }
.fu-1 { animation-delay: 0.08s; }
.fu-2 { animation-delay: 0.17s; }
.fu-3 { animation-delay: 0.27s; }
.fu-4 { animation-delay: 0.38s; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.divider { border: none; border-top: 1px solid var(--ln); }

/* 23. RESPONSIVE */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-stack { flex-direction: row; }
  .feat-item { border-bottom: none; border-right: 1px solid var(--ln); }
  .feat-item:last-child { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .novel-layout { grid-template-columns: 1fr; }
  .cover-ph { max-height: 220px; aspect-ratio: auto; height: 220px; }
  .journal-block { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
}

/* ============================================================
   PHASE 2 — ARCHIVE ARTICLE SYSTEM
   ============================================================ */

/* 24. ARTICLE BREADCRUMB + HEADER */
.arc-article-head {
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid var(--ln);
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tx-4); margin-bottom: 2rem;
}
.breadcrumb a { color: var(--tx-3); transition: color var(--t); }
.breadcrumb a:hover { color: var(--ac); }
.breadcrumb-sep { color: var(--tx-4); }
.arc-meta-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.arc-id-badge {
  font-family: var(--ui); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bg); background: var(--ac);
  padding: 0.18rem 0.5rem; border-radius: 2px;
}
.arc-cat-badge {
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ac); border: 1px solid var(--ln-2); padding: 0.18rem 0.5rem; border-radius: 2px;
}
.arc-status-dev   { font-size: 0.58rem; letter-spacing: 0.09em; color: #4caf7d; text-transform: uppercase; }
.arc-status-ph    { font-size: 0.58rem; letter-spacing: 0.09em; color: var(--tx-4); text-transform: uppercase; font-style: italic; }
.arc-article-head h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  max-width: 760px; margin-bottom: 1.2rem;
}
.arc-lead {
  font-family: var(--ui); font-size: clamp(1.04rem, 1.3vw, 1.13rem);
  line-height: 1.85; color: var(--tx-2); max-width: 680px;
}
.arc-tags-row {
  display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.5rem;
}

/* 25. ARTICLE LAYOUT — BODY + SIDEBAR */
.arc-layout {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 0;
  align-items: start;
}
.arc-body {
  padding: 3.5rem 4rem 4rem 0;
  border-right: 1px solid var(--ln);
}
.arc-sidebar {
  padding: 3.5rem 0 4rem 2.75rem;
  position: sticky; top: 78px;
}

/* 26. ARTICLE BODY TYPOGRAPHY */
.arc-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 3.25rem 0 1.1rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--ln);
  letter-spacing: -0.01em;
}
.arc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.arc-body p {
  font-family: var(--ui);
  font-size: clamp(1.04rem, 1.15vw, 1.09rem);
  line-height: 1.88; color: var(--tx-2);
  margin-bottom: 1.45rem;
}
.arc-body p:last-child { margin-bottom: 0; }
.arc-body strong { color: var(--tx); font-weight: 500; }
.arc-body em { font-style: italic; color: var(--tx); }
.arc-body a { color: var(--ac); border-bottom: 1px solid transparent; transition: border-color var(--t); }
.arc-body a:hover { border-color: var(--ac); }

/* Data table */
.data-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--ln); margin: 1.75rem 0;
  font-size: 0.84rem;
}
.data-table th {
  font-family: var(--ui); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tx-3); background: var(--bg-2); padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--ln); text-align: left; font-weight: 400;
}
.data-table td {
  padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--ln);
  font-family: var(--ui); color: var(--tx-2); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card); }
.data-table td:first-child { color: var(--tx-3); font-family: var(--ui); font-size: 0.74rem; letter-spacing: 0.04em; width: 38%; }

/* Pull quote */
.pull-quote {
  border-left: 2px solid var(--ac-warm);
  padding: 0.25rem 0 0.25rem 1.6rem;
  margin: 2.25rem 0;
}
.pull-quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.08rem, 1.4vw, 1.2rem);
  line-height: 1.82; color: var(--tx); margin-bottom: 0;
}
.pull-quote cite {
  display: block; margin-top: 0.6rem;
  font-size: 0.68rem; font-style: normal; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tx-3);
}

/* Signal figure / visual placeholder */
.signal-figure {
  background: var(--bg-2); border: 1px solid var(--ln);
  padding: 0; margin: 2rem 0; overflow: hidden;
}
.signal-figure-body {
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.signal-canvas {
  height: 88px; position: relative;
  display: flex; align-items: center; gap: 2px; overflow: hidden;
}
.signal-canvas-label {
  font-family: var(--ui); font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tx-4);
  position: absolute; top: 6px; left: 0;
}
.signal-bars {
  display: flex; align-items: center; gap: 2px;
  margin-top: 1.2rem; height: 54px; width: 100%;
}
.signal-bar {
  flex: 1; background: var(--ac); border-radius: 1px;
  opacity: 0.28; transition: opacity var(--t);
}
.signal-bar.peak { opacity: 0.75; }
.signal-bar.hi   { opacity: 0.52; }
.signal-caption {
  font-family: var(--ui); font-size: 0.63rem; letter-spacing: 0.06em;
  color: var(--tx-3); line-height: 1.5;
  border-top: 1px solid var(--ln); padding-top: 0.75rem;
}
.visual-ph {
  background: var(--bg-2); border: 1px solid var(--ln);
  padding: 3rem 2rem; margin: 2rem 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.visual-ph-icon { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-4); }
.visual-ph-label { font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--tx-3); }

/* Research question */
.research-q {
  background: var(--bg-2); border: 1px solid var(--ln);
  border-left: 3px solid var(--ac);
  padding: 1.5rem 1.75rem; margin: 2.75rem 0 0;
}
.research-q-label {
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 0.55rem;
}
.research-q p { font-family: var(--ui); font-size: 1.02rem; line-height: 1.82; color: var(--tx); margin: 0; }

/* Footnotes */
.footnotes {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ln);
}
.footnotes-label {
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tx-4); margin-bottom: 0.75rem;
}
.footnote-item {
  font-family: var(--ui); font-size: 0.84rem; line-height: 1.75;
  color: var(--tx-3); padding: 0.4rem 0;
  display: flex; gap: 0.6rem;
}
.fn-n { color: var(--ac); flex-shrink: 0; width: 18px; }

/* 27. SIDEBAR COMPONENTS */
.sidebar-block {
  background: var(--bg-2); border: 1px solid var(--ln);
  padding: 1.35rem; margin-bottom: 1.25rem;
}
.sidebar-label {
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tx-3); margin-bottom: 0.85rem;
}
.meta-row {
  display: flex; justify-content: space-between;
  padding: 0.45rem 0; border-bottom: 1px solid var(--ln);
  gap: 0.5rem;
}
.meta-row:last-child { border-bottom: none; }
.meta-key { font-size: 0.65rem; letter-spacing: 0.06em; color: var(--tx-3); }
.meta-val { font-size: 0.72rem; color: var(--tx); text-align: right; }

/* Related files */
.related-list { display: flex; flex-direction: column; gap: 1px; background: var(--ln); border: 1px solid var(--ln); }
.related-item {
  background: var(--bg-2); padding: 0.9rem 1.05rem;
  display: flex; flex-direction: column; gap: 0.2rem;
  text-decoration: none; transition: background var(--t);
}
.related-item:hover { background: var(--bg-raised); }
.related-item-id  { font-size: 0.57rem; letter-spacing: 0.09em; color: var(--tx-4); }
.related-item-ttl { font-family: var(--ui); font-size: 0.88rem; line-height: 1.3; color: var(--tx); }
.related-item-cat { font-size: 0.6rem; color: var(--tx-3); margin-top: 0.1rem; }

/* Novel CTA sidebar */
.novel-cta-block {
  background: var(--bg-2); border: 1px solid var(--ln);
  border-top: 2px solid var(--ac-warm);
  padding: 1.35rem;
}
.novel-cta-kicker {
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ac-warm); margin-bottom: 0.55rem;
}
.novel-cta-block h4 {
  font-family: var(--ui); font-size: 1rem; font-weight: 500;
  line-height: 1.35; margin-bottom: 0.65rem;
}
.novel-cta-block p {
  font-size: 0.86rem; line-height: 1.78; margin-bottom: 1rem;
}

/* Status banner for placeholder pages */
.status-banner {
  background: var(--bg-2); border: 1px solid var(--ln);
  border-left: 3px solid var(--tx-4);
  padding: 1rem 1.35rem; margin-bottom: 2.25rem;
  display: flex; align-items: center; gap: 0.85rem;
}
.status-banner-icon { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-4); flex-shrink: 0; }
.status-banner p { font-size: 0.88rem; line-height: 1.72; color: var(--tx-3); margin: 0; }

/* 28. JOURNAL PAGE */
.journal-hero { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--ln); }
.journal-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.9rem; }
.journal-layout { display: grid; grid-template-columns: 1fr 310px; gap: 0; align-items: start; }
.journal-main { padding: 3.5rem 4rem 4rem 0; border-right: 1px solid var(--ln); }
.journal-aside { padding: 3.5rem 0 4rem 2.75rem; position: sticky; top: 78px; }
.entry-card {
  background: var(--bg-2); border: 1px solid var(--ln);
  padding: 2.25rem; margin-bottom: 1px; position: relative;
}
.entry-card + .entry-card { margin-top: 1px; }
.entry-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap;
}
.entry-meta-left { display: flex; flex-direction: column; gap: 0.25rem; }
.entry-num  { font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-4); }
.entry-date { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--tx-3); }
.entry-loc  { font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ac); border: 1px solid var(--ln-2); padding: 0.18rem 0.5rem; border-radius: 2px; white-space: nowrap; }
.entry-body p { font-family: var(--ui); font-size: 1.04rem; line-height: 1.88; color: var(--tx-2); margin-bottom: 1.3rem; }
.entry-body p:last-child { margin-bottom: 0; }
.entry-body em { font-style: italic; color: var(--tx); }
.entry-footer { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--ln); }
.entry-signal { font-size: 0.62rem; letter-spacing: 0.08em; color: var(--tx-4); display: flex; align-items: center; gap: 0.5rem; }
.entry-signal::before { content: ''; display: block; width: 18px; height: 1px; background: var(--ln-2); }
.journal-download {
  background: var(--bg-2); border: 1px solid var(--ln); border-top: 2px solid var(--ac-warm);
  padding: 1.75rem; margin-top: 2.5rem; text-align: center;
}
.journal-download h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.7rem; }
.journal-download p { font-size: 0.92rem; line-height: 1.78; margin-bottom: 1.35rem; }

/* 29. AUDIO PAGES */
.audio-hero { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--ln); }
.audio-layout { display: grid; grid-template-columns: 1fr 296px; gap: 0; align-items: start; }
.audio-main { padding: 3.5rem 4rem 4rem 0; border-right: 1px solid var(--ln); }
.audio-aside { padding: 3.5rem 0 4rem 2.75rem; position: sticky; top: 78px; }
.audio-player {
  background: var(--bg-2); border: 1px solid var(--ln);
  padding: 2rem; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 1.35rem;
}
.audio-waveform {
  height: 72px; display: flex; align-items: center; gap: 2px;
  overflow: hidden; background: var(--bg); padding: 0.5rem;
  border: 1px solid var(--ln);
}
.audio-controls {
  display: flex; align-items: center; gap: 1rem;
}
.audio-play-btn {
  background: var(--tx); color: var(--bg);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; cursor: pointer; transition: background var(--t); border: none;
}
.audio-play-btn:hover { background: var(--ac-hi); }
.audio-info { flex: 1; }
.audio-info-title { font-size: 0.78rem; color: var(--tx); margin-bottom: 0.2rem; }
.audio-info-meta  { font-size: 0.62rem; letter-spacing: 0.06em; color: var(--tx-3); }
.audio-progress { height: 2px; background: var(--ln-2); border-radius: 1px; position: relative; }
.audio-progress-fill { height: 100%; width: 35%; background: var(--ac); border-radius: 1px; }
.audio-ph-note { font-size: 0.68rem; letter-spacing: 0.05em; color: var(--tx-4); font-style: italic; text-align: center; }
.spec-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--ln); margin-bottom: 1.75rem;
}
.spec-table td { padding: 0.72rem 0.9rem; border-bottom: 1px solid var(--ln); font-family: var(--ui); font-size: 0.92rem; color: var(--tx-2); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { width: 42%; font-family: var(--ui); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--tx-3); }

/* 30. RESPONSIVE — ARTICLE + JOURNAL + AUDIO */
@media (max-width: 1024px) {
  .arc-layout, .journal-layout, .audio-layout {
    grid-template-columns: 1fr;
  }
  .arc-body, .journal-main, .audio-main {
    padding-right: 0; border-right: none; padding-bottom: 0;
  }
  .arc-sidebar, .journal-aside, .audio-aside {
    padding-left: 0; position: static;
    border-top: 1px solid var(--ln); padding-top: 2.5rem;
  }
}

/* ============================================================
   PHASE 3 — CTA BRIDGES + REFINEMENTS
   ============================================================ */

/* 31. CTA BRIDGE BLOCKS */
.cta-bridge {
  margin-top: 3.5rem;
  border-top: 1px solid var(--ln);
  padding-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-bridge-label {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-4);
  margin-bottom: 0.15rem;
}
.cta-bridge-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.cta-card {
  flex: 1; min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--ln);
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: background var(--t), border-color var(--t);
}
.cta-card:hover {
  background: var(--bg-raised);
  border-color: var(--ln-2);
}
.cta-card--warm {
  border-left: 2px solid var(--ac-warm);
}
.cta-card--cool {
  border-left: 2px solid var(--ac);
}
.cta-card-kicker {
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-4);
}
.cta-card--warm .cta-card-kicker { color: var(--ac-warm); }
.cta-card--cool .cta-card-kicker { color: var(--ac); }
.cta-card-title {
  font-family: var(--ui);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tx);
}
.cta-card-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--tx-3);
  margin-top: 0.2rem;
}
.cta-card-action {
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ac);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* 32. SUBSCRIBE PAGE — VALUE BLOCK */
.value-block {
  background: var(--bg-2);
  border: 1px solid var(--ln);
  border-top: 2px solid var(--ac-warm);
  padding: 2.5rem;
  margin-bottom: 2rem;
}
.value-block-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.value-block p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 0;
}
.deliverables {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--ln);
  border: 1px solid var(--ln);
  margin: 1.75rem 0;
}
.deliverable {
  background: var(--bg);
  padding: 1.1rem 1.35rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.deliverable-mark {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-warm);
  flex-shrink: 0;
  padding-top: 0.22rem;
  width: 24px;
}
.deliverable-body h4 {
  font-family: var(--ui);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--tx);
  margin-bottom: 0.25rem;
}
.deliverable-body p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--tx-3);
  margin: 0;
}
.privacy-note {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--tx-4);
  line-height: 1.7;
  text-align: center;
  margin-top: 0.5rem;
}

/* 33. NOVEL PAGE — REFINED */
.novel-positioning {
  background: var(--bg-2);
  border: 1px solid var(--ln);
  padding: 2.25rem;
  margin: 2.5rem 0;
}
.novel-positioning-label {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 0.7rem;
}
.novel-positioning p {
  font-family: var(--ui);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--tx-2);
  margin-bottom: 1rem;
}
.novel-positioning p:last-child { margin-bottom: 0; }
.primary-cta-block {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--ln);
  background: var(--bg-2);
}
.primary-cta-block h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
}
.primary-cta-block > p {
  font-family: var(--ui);
  font-size: 0.95rem;
  color: var(--tx-2);
  margin-bottom: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.retailers-note {
  margin-top: 1rem;
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  color: var(--tx-4);
  line-height: 1.75;
}
.retailers-note a {
  color: var(--tx-3);
  border-bottom: 1px solid var(--ln-2);
  transition: color var(--t), border-color var(--t);
}
.retailers-note a:hover { color: var(--ac-hi); border-color: var(--ac); }

/* 34. JOURNAL PAGE — REFINED */
.journal-gate {
  background: var(--bg-2);
  border: 1px solid var(--ln);
  border-top: 2px solid var(--ac-warm);
  padding: 2.25rem;
  margin-top: 2.5rem;
  text-align: center;
}
.journal-gate h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.journal-gate p {
  font-size: 0.96rem;
  line-height: 1.82;
  max-width: 440px;
  margin: 0 auto 1.35rem;
}
.journal-entry-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-4);
  margin-bottom: 2rem;
}
.journal-entry-count::before,
.journal-entry-count::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ln-2);
}

/* 35. AUDIO PAGE — REFINED */
.audio-note {
  background: var(--bg-2);
  border: 1px solid var(--ln);
  border-left: 2px solid var(--ac);
  padding: 1.15rem 1.4rem;
  margin: 1.5rem 0;
}
.audio-note p {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--tx-3);
  margin: 0;
}

/* ============================================================
   MOBILE READABILITY — consolidated responsive pass
   Increases reading comfort without altering visual identity.
   ============================================================ */

/* ── 768px — layout collapses + readability base ── */
@media (max-width: 768px) {

  /* Base scale — 18px target for comfortable reading */
  html { font-size: 18px; -webkit-text-size-adjust: 100%; }
  body { line-height: 1.8; }

  /* Navigation */
  .site-nav {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: rgba(16,22,28,0.98); border-bottom: 1px solid var(--ln);
    padding: 1rem 1.5rem; backdrop-filter: blur(12px); gap: 0.1rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-burger { display: flex; }

  /* Layout collapses */
  .archive-grid { grid-template-columns: 1fr; }
  .feat-stack { flex-direction: column; }
  .feat-item { border-right: none; border-bottom: 1px solid var(--ln); }
  .sub-strip { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .sub-input { flex: 1; width: auto; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .nf-actions { flex-direction: column; align-items: center; }

  /* Section spacing */
  .section { padding: 3.75rem 0; }
  .hero { padding: 5rem 0 4rem; }
  .archive-hero { padding: 3.5rem 0 2rem; }
  .arc-article-head { padding: 2.75rem 0 2.25rem; }
  .journal-hero, .audio-hero { padding: 3.5rem 0 2.5rem; }
  .page-intro { padding: 3.5rem 0 2.75rem; }

  /* Article + journal + audio panes */
  .arc-body, .journal-main, .audio-main { padding: 2.75rem 0 2.25rem; }
  .arc-sidebar, .journal-aside, .audio-aside { padding-top: 2.5rem; }

  /* Article headings */
  .arc-body h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.42rem);
    margin: 2.5rem 0 1rem;
    padding-top: 2.5rem;
  }

  /* Main body reading text — uniform comfortable size at 18px base */
  .arc-body p,
  .entry-body p,
  .audio-note p,
  .novel-positioning p,
  .value-block p,
  .journal-gate p,
  .arc-lead,
  .hero-desc {
    font-size: 1rem;     /* = 18px at 18px base */
    line-height: 1.85;
    letter-spacing: 0.003em;
  }
  .arc-body p  { margin-bottom: 1.3rem; }
  .entry-body p { margin-bottom: 1.25rem; }

  /* Pull quote */
  .pull-quote p { font-size: 1.04rem; line-height: 1.78; }

  /* Research question */
  .research-q p { font-size: 1rem; line-height: 1.82; }

  /* Footnotes */
  .footnote-item { font-size: 0.84rem; line-height: 1.75; }

  /* Cards — more comfortable padding */
  .entry-card  { padding: 1.65rem; }
  .arc-card    { padding: 1.4rem; }
  .cta-card    { padding: 1.25rem 1.35rem; }
  .sidebar-block { padding: 1.15rem; }
  .audio-player  { padding: 1.5rem; }

  /* CTA card desc */
  .cta-card-desc { font-size: 0.9rem; line-height: 1.72; }

  /* Tags and badges */
  .tag, .arc-id-badge, .arc-cat-badge {
    font-size: 0.72rem;
    padding: 0.38rem 0.58rem;
    line-height: 1.25;
  }

  /* Inputs — comfortably touchable */
  .search-input,
  .form-input,
  .sub-input {
    font-size: 1rem;
    min-height: 3.1rem;
    padding: 0.88rem 1rem;
  }

  /* Buttons */
  .btn { min-height: 3rem; padding: 0.88rem 1.3rem; font-size: 0.82rem; }
  .btn-text { font-size: 0.78rem; }
  .form-submit { padding: 0.9rem; font-size: 0.8rem; min-height: 3rem; }
  .sub-btn { padding: 0 1.1rem; font-size: 0.76rem; }
  .audio-play-btn { width: 42px; height: 42px; }

  /* Data and spec tables */
  .data-table td:first-child { width: 44%; }
  .data-table td, .spec-table td { font-size: 0.88rem; padding: 0.68rem 0.78rem; }

  /* Footer */
  .site-footer { padding-top: 2.75rem; padding-bottom: 2.5rem; }

  /* Subscribe, novel, journal phase 3 blocks */
  .value-block    { padding: 1.75rem; }
  .deliverable    { padding: 1rem 1.2rem; }
  .primary-cta-block { padding: 2.25rem 1.5rem; }
  .novel-positioning { padding: 1.75rem; }
  .journal-gate   { padding: 2rem; }
  .form-block     { padding: 1.75rem; }

  /* CTA bridge */
  .cta-bridge-row { flex-direction: column; }
  .cta-card { min-width: 0; }
}

/* ── 480px — tightest viewport, floor at 17px ── */
@media (max-width: 480px) {

  /* Floor: 17px to stay readable without zoom */
  html { font-size: 17px; }
  .wrap, .wrap--mid, .wrap--text { padding: 0 1.15rem; }

  /* Layout */
  .arc-stats { gap: 1.25rem; }
  .store-row { flex-direction: column; align-items: stretch; }
  .store-btn { text-align: center; }

  /* Section padding tighter */
  .section { padding: 2.75rem 0; }
  .arc-body, .journal-main, .audio-main { padding: 2.25rem 0 1.75rem; }

  /* Body text — floor at 1rem / 17px base */
  .arc-body p,
  .entry-body p,
  .audio-note p,
  .novel-positioning p,
  .arc-lead {
    font-size: 1rem;
    line-height: 1.82;
  }

  /* Article headings */
  .arc-body h2 { font-size: clamp(1.12rem, 5vw, 1.28rem); }

  /* Buttons — full width at narrowest */
  .btn { width: 100%; justify-content: center; }
  .btn-text { width: auto; }
  .form-submit { width: 100%; }

  /* Cards */
  .entry-card { padding: 1.35rem; }
  .cta-card   { padding: 1.1rem; }

  /* Audio player */
  .audio-player { padding: 1.15rem; gap: 1rem; }
  .audio-info-title { font-size: 0.78rem; }
  .audio-ph-note { font-size: 0.7rem; }

  /* Journal gate */
  .journal-gate { padding: 1.5rem; }
  .journal-gate h3 { font-size: 1.05rem; }

  /* Value block / deliverables */
  .value-block { padding: 1.35rem; }
  .deliverable { padding: 0.9rem 1rem; }
}

/* 36. RQ-A INLINE PARAGRAPH SPACING */
.rq-a { line-height: 1.8; }

/* ════════════════════════════════════════════════════════
   ARCHIVE CARD STATES
   ════════════════════════════════════════════════════════ */

/* ── LOCKED (B1/B2/B3) ───────────────────────────────────── */
.arc-card.is-locked {
  opacity: 0.45;
  position: relative;
  transition: opacity var(--t);
  cursor: pointer;
}
.arc-card.is-locked:hover {
  opacity: 0.72;
}
.arc-card.is-locked .card-id {
  color: var(--tx-4);
}
.arc-card.is-locked .card-title {
  color: var(--tx-3);
  filter: blur(0px);
}
.arc-card.is-locked .card-desc {
  color: var(--tx-4);
  opacity: 0.6;
}
.arc-card.is-locked .card-tags {
  opacity: 0.4;
}

/* Lock badge — gold */
.card-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c3a77e;
  background: rgba(195,167,126,0.1);
  border: 1px solid rgba(195,167,126,0.35);
  padding: 0.15rem 0.5rem 0.15rem 0.4rem;
  border-radius: 2px;
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--ui, 'Inter', sans-serif);
}
.card-lock-badge svg {
  flex-shrink: 0;
  stroke: #c3a77e;
}

/* ── SEALED (B4–B9) ──────────────────────────────────────── */
.arc-card.is-sealed {
  background: var(--bg-card);
  border: 1px solid var(--ln);
  border-radius: var(--r, 3px);
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 164px;
  cursor: default;
  pointer-events: none;
  opacity: 0.28;
}
.sealed-label {
  font-family: var(--ui, 'Inter', sans-serif);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-4);
  margin-bottom: 0.45rem;
}
.sealed-sub {
  font-size: 0.67rem;
  color: var(--tx-4);
  opacity: 0.55;
  letter-spacing: 0.04em;
}

/* ── ACCESS WALL ─────────────────────────────────────────── */
#accessWall {
  max-width: 520px;
  margin: 4rem auto;
  padding: 0 2rem;
}
#accessWall > div {
  background: var(--bg-2);
  border: 1px solid var(--ln);
  border-top: 2px solid #c3a77e;
  padding: 2.5rem 2rem;
  text-align: center;
}
.wall-icon {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  display: block;
}
.wall-level {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-4);
  margin-bottom: 0.55rem;
}
.wall-q {
  font-family: var(--serif, 'Libre Baskerville', serif);
  font-size: 1rem;
  color: var(--tx-2);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.access-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.access-input {
  background: #0a0f14;
  border: 1px solid var(--ln-2);
  color: #d9dde2;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  border-radius: 2px;
  flex: 1;
  max-width: 280px;
  outline: none;
  font-family: var(--ui, 'Inter', sans-serif);
}
.access-input::placeholder {
  color: var(--tx-4);
}
.access-input:focus {
  border-color: #c3a77e;
  color: #ffffff;
}
.access-btn {
  background: #c3a77e;
  color: #0a0f14;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.15s;
}
.access-btn:hover { filter: brightness(1.12); }
.access-error {
  font-size: 0.75rem;
  color: #e07070;
  opacity: 0;
  transition: opacity 0.3s;
  min-height: 1.2em;
  margin-bottom: 0.2rem;
}
.wall-cta {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ln);
  font-size: 0.78rem;
  color: var(--tx-4);
}
.wall-cta a {
  color: #c3a77e;
  text-decoration: none;
}
.wall-cta a:hover { text-decoration: underline; }
#accessWall.unlocked > div { border-top-color: #4caf7d; }
