/* Bounded refinements for the existing story and notebook.
   Keep this after the original page styles; experiment modules own their controls. */
:root {
  --text: var(--ink);
  --font-sans: var(--sans);
  --font-display: var(--sans);
  --font-mono: var(--mono);
}

/* The opening should feel like a person inviting you into their workshop. */
.story-site .header {
  height: auto;
  min-height: 106px;
  gap: 26px;
  padding-block: 22px;
}
.story-site .header .brand { font-size: 10px; line-height: 1.45; }
.story-site .header nav { font-size: 12px; gap: 30px; }
.story-site .header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.story-site .opening { padding-top: 30px; }
.story-site .opening-top,
.story-site .opening-bottom { font-size: 10px; line-height: 1.7; letter-spacing: .07em; gap: 24px; }
.story-site .opening-top { color: #adb99f; }
.story-site .opening-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 760px;
  gap: clamp(28px, 3.4vw, 54px);
  padding-block: 54px 64px;
  align-items: center;
}
.story-site .opening-copy { min-width: 0; padding: 0; }
.story-site .opening-copy h1 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -.06em;
  font-weight: 500;
  margin: 0 0 34px;
  text-wrap: balance;
}
.story-site .opening-copy h1 em { color: var(--accent); font-style: normal; }
.story-site .opening-copy h2 {
  font-size: clamp(26px, 2.15vw, 33px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.story-site .opening-copy > p {
  max-width: 490px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.012em;
  color: #b3bea9;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.story-site .opening-copy > p strong { color: var(--ink); font-weight: 500; }
.story-site .opening-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 25px; margin-top: 24px; }
.story-site .opening-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding-block: 9px;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid #6e7c5a;
  margin: 0;
}
.story-site .opening-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.story-site .opening-links a > span { color: var(--accent); }
.story-site .opening-grid > .curiosity-figure.brandon-field {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  align-self: center;
}
.story-site .opening-bottom { padding-block: 25px; color: #aab69e; }

/* Keep the cream AI chapter, with a clearer reading scale. */
.story-site .question-section { padding-block: clamp(68px, 7vw, 108px) 88px; }
.story-site .section-kicker { font-size: 10px; line-height: 1.7; letter-spacing: .08em; color: #5c674e; gap: 20px; }
.story-site .question-section h2 {
  font-size: clamp(94px, 12.7vw, 188px);
  margin-block: 66px 42px;
  line-height: .95;
}
.story-site .question-intro > p { font-size: 17px; line-height: 1.75; max-width: 560px; }
.story-site .question-intro > .mono { font-size: 10px; line-height: 1.7; white-space: normal; }
.story-site .possibility-tabs button { min-height: 76px; font-size: 11px; padding: 22px 20px; gap: 15px; }
.story-site .possibility-tabs button span { font-size: 24px; }
.story-site #possibility-panel { gap: clamp(32px, 5vw, 80px); padding-top: 50px; }
.story-site .possibility-copy h3 { font-size: clamp(34px, 3.3vw, 46px); letter-spacing: -.045em; line-height: 1.1; }
.story-site .possibility-copy > p { font-size: 15px; line-height: 1.8; max-width: 440px; }
.story-site .possibility-copy .possibility-limit { font-size: 12px; line-height: 1.75; }
.story-site .input-signal b { font-size: 9px; }
.story-site .output-pattern .output-label { font-size: 9px; letter-spacing: .055em; }
.story-site .output-pattern .output-caption { font-size: 8px; letter-spacing: 0; }
.story-site .art-footnote { font-size: 8px; letter-spacing: .06em; }

/* Let the questions lead; the career story stays a set of visual investigations. */
.story-site .exploration { padding-block: clamp(92px, 10vw, 150px); }
.story-site .exploration > .mono,
.story-site .journey-heading > .mono { font-size: 10px; line-height: 1.7; letter-spacing: .08em; }
.story-site .exploration h2 { font-size: clamp(64px, 8.4vw, 122px); line-height: 1.04; }
.story-site .exploration-orbit { top: 146px; bottom: auto; }
.story-site .explore-copy { max-width: 455px; font-size: 17px; line-height: 1.8; color: #abb9a0; }
.story-site .chapter-jump { font-size: 10px; min-height: 35px; line-height: 1.7; }
.story-site .exploration .question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 52px; position: relative; z-index: 2; }
.story-site .exploration .question-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px 27px 29px; border: 1px solid #49543b; background: #131c10; text-decoration: none; transition: border-color .2s, background-color .2s; }
.story-site .exploration .question-card + .question-card { margin-left: -1px; }
.story-site .exploration .question-card::after { content: "↗"; position: absolute; top: 27px; right: 23px; color: #a8b68e; font-size: 20px; line-height: 1; transition: transform .2s, color .2s; }
.story-site .exploration .question-index, .story-site .exploration .question-tags { font: 10px/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.story-site .exploration .question-index { color: var(--accent); margin: 0 32px 31px 0; }
.story-site .exploration .question-card h3 { font-size: clamp(26px, 2.25vw, 34px); font-weight: 450; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 19px; text-wrap: balance; }
.story-site .exploration .question-card > p:not(.question-index):not(.question-tags) { color: #afbaa3; font-size: 15px; line-height: 1.8; margin: 0 0 32px; }
.story-site .exploration .question-card .question-tags { color: #b9cba3; margin: auto 0 0; font-size: 9px; }
.story-site .exploration .question-card:hover, .story-site .exploration .question-card:focus-visible { background: #233019; border-color: #9eb56d; z-index: 1; }
.story-site .exploration .question-card:focus-visible { outline: 2px solid var(--accent); outline-offset: -5px; }
.story-site .exploration .question-card:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.story-site .journey { padding-top: 74px; }
.story-site .journey-heading { grid-template-columns: 1.1fr 1fr; gap: 24px 55px; padding-bottom: 76px; }
.story-site .journey-heading h2 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.05em; }
.story-site .journey-heading > p:last-child { font-size: 15px; line-height: 1.8; max-width: 400px; }
.story-site .chapter { padding-block: clamp(70px, 7.5vw, 108px); gap: 8%; }
.story-site .chapter-index { font-size: 10px; letter-spacing: .07em; margin-bottom: 29px; }
.story-site .chapter h3 { font-size: clamp(43px, 4.3vw, 65px); line-height: 1.08; letter-spacing: -.045em; }
.story-site .chapter-copy > p { font-size: 16px; line-height: 1.8; max-width: 455px; color: #b0bba7; }
.story-site .chapter-takeaway { font-size: 9px; line-height: 1.75; letter-spacing: .06em; max-width: 455px; }
.story-site .chapter-art figcaption { font-size: 8px; line-height: 1.7; letter-spacing: .05em; }
.story-site .data-origins span { font-size: 9px; }
.story-site .data-engine small { font-size: 8px; }
.story-site .data-exit > span { font-size: 8px; line-height: 1.6; }
.story-site .model-label { font-size: 9px; letter-spacing: .05em; }
.story-site .model-core span { font-size: 8px; letter-spacing: .06em; }
.story-site .media-screen > .mono { font-size: 8px; letter-spacing: .05em; }
.story-site .timeline-label { font-size: 8px; letter-spacing: .025em; }
.story-site .contact-top .eyebrow,
.story-site .contact-top > .mono { font-size: 10px; line-height: 1.7; }
.story-site .contact-bottom { flex-wrap: wrap; row-gap: 16px; }
.story-site .contact .email-link { font-size: 16px; overflow-wrap: anywhere; }
.story-site .contact .copy-button { font-size: 12px; min-height: 44px; padding: 10px 14px; }
.story-site .contact-bottom p { font-size: 11px; line-height: 1.7; }
.story-site .footer { font-size: 11px; line-height: 1.8; padding-block: 24px; }

/* Notebook refinements are opt-in: this file must also be linked on that page.
   Experiments, games and research documents keep their own application layouts. */
.notebook .header nav { font-size: 12px; }
.notebook .eyebrow,
.notebook .interest-number { font-size: 10px; line-height: 1.7; letter-spacing: .07em; }
.notebook .hero-note { font-size: 17px; line-height: 1.8; }
.notebook .notebook-path { font-size: 10px; line-height: 1.8; gap: 20px; flex-wrap: wrap; }
.notebook .section-title > p:not(.eyebrow),
.notebook .interest-grid p,
.notebook .card-copy p { font-size: 15px; line-height: 1.8; }
.notebook .interest-grid p { max-width: 460px; }
.notebook .topic-links { font-size: 12px; gap: 16px 24px; }
.notebook .topic-links a { padding-block: 4px 7px; }
.notebook .open-question { font-size: 9px; line-height: 1.7; }
.notebook .card-copy > .mono,
.notebook .card-copy .card-cta { font-size: 10px; line-height: 1.7; }
.notebook .play-card:focus-visible { outline-offset: 6px; }
.notebook .project-strip p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.notebook .project-strip > a { font-size: 12px; }
.notebook .paper-number { font-size: 9px; line-height: 1.8; }
.notebook .paper-row p { font-size: 15px; line-height: 1.8; }
.notebook .paper-row div > .mono { font-size: 9px; line-height: 1.8; }
.notebook .papers-section .featured-paper .paper-number { color: #4d632d; }
.notebook .papers-section .paper-row:focus-visible { outline-color: #4d632d; }
.notebook .research-footnote p { font-size: 13px; line-height: 1.8; }
.notebook .research-footnote > a { font-size: 12px; }
.notebook .footer { font-size: 11px; line-height: 1.8; }

@media (max-width: 1100px) {
  .story-site .opening-grid { min-height: 700px; gap: 30px; }
  .story-site .opening-copy h1 { font-size: 5.25vw; }
  .story-site .opening-copy > p { font-size: 15px; }
  .story-site .opening-links { gap: 8px 20px; }
  .story-site .opening-links a { font-size: 12px; }
  .story-site .chapter { gap: 5%; }
}

@media (max-width: 900px) {
  .story-site .opening-grid { grid-template-columns: 1fr; min-height: 0; gap: 38px; padding-block: 55px; }
  .story-site .opening-copy { max-width: 650px; }
  .story-site .opening-copy h1 { font-size: clamp(50px, 8vw, 72px); }
  .story-site .opening-copy > p { max-width: 590px; font-size: 17px; }
  .story-site .opening-grid > .curiosity-figure.brandon-field { max-width: 680px; justify-self: center; }
  .story-site .opening-links a { font-size: 14px; }
  .story-site .exploration-orbit { opacity: .35; }
  .story-site .exploration .question-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .story-site .exploration .question-card { padding: 28px; }
  .story-site .exploration .question-card + .question-card { margin-left: 0; margin-top: -1px; }
  .story-site .exploration .question-card h3 { max-width: 540px; font-size: 32px; }
  .story-site .exploration .question-card > p:not(.question-index):not(.question-tags) { max-width: 540px; }
  .story-site .data-origins { width: 78px; }
  .story-site .data-origins span { font-size: 8px; padding: 12px 8px; }
  .story-site .data-engine { width: 80px; height: 80px; }
  .story-site .data-exit > span { font-size: 7px; padding: 12px 6px; }
}

@media (max-width: 700px) {
  .story-site .header { min-height: 88px; padding-block: 17px; gap: 18px; }
  .story-site .header .brand { font-size: 9px; line-height: 1.5; gap: 11px; letter-spacing: .06em; }
  .story-site .header nav { font-size: 11px; gap: 10px; }
  .story-site .opening { padding-top: 24px; }
  .story-site .opening-top { font-size: 9px; letter-spacing: .04em; gap: 12px; flex-wrap: wrap; }
  .story-site .opening-grid { display: grid; padding-block: 42px; gap: 34px; }
  .story-site .opening-copy { padding: 0; }
  .story-site .opening-copy h1 { font-size: clamp(36px, 10.8vw, 67px); margin-bottom: 30px; line-height: 1.05; }
  .story-site .opening-copy h2 { font-size: 28px; margin-bottom: 17px; }
  .story-site .opening-copy > p { font-size: 16px; line-height: 1.75; max-width: 580px; }
  .story-site .opening-links { margin-top: 20px; column-gap: 22px; }
  .story-site .opening-links a { font-size: 13px; }
  .story-site .opening-grid > .curiosity-figure.brandon-field { max-width: none; margin: 0; }
  .story-site .opening-bottom { font-size: 9px; letter-spacing: .04em; padding-block: 22px; }
  .story-site .question-section { padding-block: 48px 56px; }
  .story-site .section-kicker { font-size: 9px; letter-spacing: .04em; gap: 20px; flex-wrap: wrap; }
  .story-site .question-section h2 { font-size: clamp(71px, 18.3vw, 125px); margin-block: 47px 32px; }
  .story-site .question-intro > p { font-size: 16px; line-height: 1.75; }
  .story-site .question-intro > .mono { font-size: 10px; margin-top: 24px; }
  .story-site .possibility-tabs button { min-height: 85px; padding: 15px 9px; gap: 7px; font-size: 9px; line-height: 1.4; justify-content: space-between; }
  .story-site .possibility-tabs button span { flex-basis: 100%; order: 1; font-size: clamp(13px, 3.7vw, 19px); line-height: 1.3; letter-spacing: -.035em; }
  .story-site #possibility-panel { padding-top: 32px; }
  .story-site .possibility-copy h3 { font-size: 35px; }
  .story-site .possibility-copy > p { font-size: 15px; line-height: 1.8; }
  .story-site .possibility-copy .possibility-limit { font-size: 12px; }
  .story-site .process-art { margin-top: 30px; min-height: 265px; }
  .story-site .output-pattern .output-label { font-size: 8px; letter-spacing: 0; }
  .story-site .output-pattern .output-caption { font-size: 8px; letter-spacing: -.025em; white-space: normal; }
  .story-site .input-signal b { font-size: 8px; }
  .story-site .art-footnote { font-size: 8px; letter-spacing: .04em; }
  .story-site .exploration { padding-block: 84px; }
  .story-site .exploration > .mono { font-size: 9px; margin-bottom: 30px; }
  .story-site .exploration h2 { font-size: clamp(49px, 11.6vw, 76px); line-height: 1.05; letter-spacing: -.055em; }
  .story-site .explore-copy { font-size: 16px; max-width: 430px; line-height: 1.8; }
  .story-site .exploration-orbit { top: 100px; opacity: .18; }
  .story-site .exploration .question-card { padding: 26px 23px; }
  .story-site .exploration .question-card h3 { font-size: 30px; }
  .story-site .chapter-jump { font-size: 10px; }
  .story-site .journey { padding-top: 49px; }
  .story-site .journey-heading { padding-bottom: 43px; }
  .story-site .journey-heading > .mono { font-size: 10px; }
  .story-site .journey-heading h2 { font-size: clamp(40px, 10vw, 60px); letter-spacing: -.05em; }
  .story-site .journey-heading > p:last-child { font-size: 15px; line-height: 1.8; text-align: left; margin-top: 24px; }
  .story-site .chapter, .story-site .chapter:nth-of-type(even) { padding-block: 49px; gap: 29px; }
  .story-site .chapter-index { font-size: 10px; margin-bottom: 25px; }
  .story-site .chapter h3 { font-size: clamp(42px, 10.2vw, 61px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 24px; }
  .story-site .chapter-copy > p { font-size: 16px; line-height: 1.8; max-width: 560px; }
  .story-site .chapter-takeaway { font-size: 9px; line-height: 1.75; margin-top: 24px; }
  .story-site .chapter-art { max-width: 480px; }
  .story-site .data-origins { width: 80px; }
  .story-site .data-engine { width: 86px; height: 86px; }
  .story-site .contact-top { gap: 20px; flex-wrap: wrap; }
  .story-site .contact-top .eyebrow, .story-site .contact-top > .mono { font-size: 9px; }
  .story-site .contact h2 { font-size: clamp(37px, 9.3vw, 61px); line-height: 1.1; }
  .story-site .contact .email-link { font-size: 14px; }
  .story-site .contact .copy-button { font-size: 11px; }
  .story-site .footer { font-size: 10px; line-height: 1.8; min-height: 108px; }
  .notebook .header .brand { font-size: 9px; }
  .notebook .notebook-hero > .eyebrow { font-size: 9px; }
  .notebook .hero-note { font-size: 16px; }
  .notebook .notebook-path { font-size: 10px; gap: 15px 22px; }
  .notebook .section-title h2 { font-size: 38px; line-height: 1.12; }
  .notebook .section-title > p:not(.eyebrow), .notebook .interest-grid p, .notebook .card-copy p { font-size: 15px; }
  .notebook .interest-grid h3 { font-size: 33px; }
  .notebook .paper-row p { font-size: 14px; }
  .notebook .paper-row div > .mono { font-size: 9px; }
  .notebook .research-footnote p { font-size: 13px; }
  .notebook .research-footnote > a { white-space: normal; }
  .notebook .footer { font-size: 10px; }
}

@media (max-width: 400px) {
  .story-site .header .brand { font-size: 8px; letter-spacing: .04em; }
  .story-site .header nav .nav-contact { padding-inline: 10px; }
  .story-site .opening-copy h1 { font-size: clamp(34px, 10.7vw, 43px); }
  .story-site .opening-copy h2 { font-size: 26px; }
  .story-site .opening-links { gap: 8px 18px; }
  .story-site .opening-links a { font-size: 12px; }
  .story-site .data-origins { width: 68px; }
  .story-site .data-origins span { font-size: 7px; padding-inline: 7px; }
  .story-site .data-lines { width: 11%; }
  .story-site .data-engine { width: 74px; height: 74px; }
  .story-site .data-engine small { font-size: 7px; }
  .story-site .data-exit > span { font-size: 7px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-site .opening-links a { transition: none; }
  .story-site .exploration .question-card, .story-site .exploration .question-card::after { transition: none; }
  .story-site .exploration .question-card:hover::after { transform: none; }
}

.opening-copy .proverb-credit{font-size:13px;line-height:1.5;color:var(--muted,#adb4a7);margin:10px 0 22px}.proverb-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
