/* Reading scale and editorial composition. Loaded after component styles. */
:root {
  --radius-card: 20px;
  --muted: #536360;
}
body { font-size: 16px; }
p { text-wrap: pretty; }
h2, h3 { text-wrap: balance; }
.site-header, .home-page .site-header { height: 84px; }
.site-header nav, .home-page .site-header nav { font-size: 15px; gap: 28px; }
.site-header .nav-idea, .home-page .nav-idea { font-size: 14px; min-height: 44px; }
.button { font-size: 15px; min-height: 48px; }
.eyebrow { letter-spacing: .1em; }
.section-heading, .materials-heading { gap: 48px; margin-bottom: 36px; }
.section-heading > p, .materials-heading > p,
.active-studies .materials-heading > p { font-size: 16px; line-height: 1.85; }
.section-heading h2, .materials-heading h2 { letter-spacing: -.035em; }
.footer-links { flex-wrap: wrap; gap: 16px 24px; line-height: 1.8; }
.site-footer { padding-block: 32px; }
.site-footer > span, .home-page .site-footer > span { font-size: 13px; letter-spacing: 0; line-height: 1.8; }
.site-footer > div:first-child > p { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Product opening: a calm title spread, followed by an uninterrupted image. */
.product-intro { background: var(--paper); color: var(--ink); padding-top: 32px; padding-bottom: 44px; }
.back-link { color: var(--muted); }
.back-link:hover { color: var(--link); }
.product-title-row { flex-direction: row; justify-content: space-between; align-items: end; text-align: left; padding-top: 48px; gap: 48px; }
.product-title-row .eyebrow { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.product-title-row h1 { font-size: clamp(56px, 6vw, 80px); line-height: 1.1; letter-spacing: -.04em; }
.product-title-row h1 > span { display: block; color: var(--muted); font-size: 20px; letter-spacing: .14em; margin: 18px 0 0; }
.product-intro-copy { max-width: 480px; padding-bottom: 4px; }
.product-intro-copy > p { font-size: clamp(23px, 2.4vw, 32px); line-height: 1.65; color: var(--ink); font-weight: 550; }
.product-intro-copy > span:last-child { font-size: 16px; color: var(--muted); margin-top: 14px; }
.product-page .gallery { width: calc(100% - var(--space) * 2); max-width: 1200px; border-radius: 20px; overflow: hidden; margin-bottom: 36px; }
.product-page .gallery-stage { aspect-ratio: 2.3; }
.product-page .gallery-stage > img { object-fit: contain; }
.product-page .gallery-bottom { padding: 22px 32px; border-top: 1px solid #ffffff1f; }
.gallery-bottom > p { color: #c5cdcd; font-size: 15px; line-height: 1.7; }
.gallery-counter { font-size: 13px; color: #c5cdcd; }
.gallery-thumbnails button { width: 68px; height: 48px; }
.project-nav { background: #f8faf8f2; border-color: var(--line); }
.project-nav nav { font-size: 14px; gap: 32px; }
.project-nav nav a { min-height: 44px; }
.project-nav .button { font-size: 14px; min-height: 42px; }
.film-section { padding-block: 72px 48px; }
.film-frame { border-radius: 18px; }
.film-caption, .film-caption > span { font-size: 14px; line-height: 1.8; letter-spacing: .02em; }
.film-caption, .film-caption > div { flex-wrap: wrap; }
.film-toolbar > span { font-size: 12px; }
.film-transcript { font-size: 16px; padding-block: 20px; }
.film-transcript > p { font-size: 16px; line-height: 1.9; max-width: 70ch; }
.film-version { font-size: 13px; }
.palm-actions { padding-block: 56px 16px; }
.palm-actions-heading { gap: 48px; margin-bottom: 32px; }
.palm-actions-heading h2 { font-size: clamp(34px, 3.5vw, 48px); }
.palm-actions-heading > p { font-size: 17px; line-height: 1.85; }
.palm-action { border-radius: 18px; }
.palm-action-label { font-size: 13px; letter-spacing: .1em; }
.palm-action figcaption > p { font-size: 16px; line-height: 1.85; max-width: 30em; }
.palm-actions-footnote { font-size: 14px; }

/* Keep interaction and explanation readable alongside the product render. */
.mode-layout { grid-template-columns: 1fr 1.12fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.mode-panel { color: var(--ink); padding: 36px; }
.mode-tabs { padding: 0; gap: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); }
.mode-tabs > button { flex: 1; font-size: 15px; color: var(--muted); padding: 12px 8px; min-height: 48px; border-radius: 0; border-bottom: 2px solid transparent; }
.mode-tabs > button[aria-selected=true] { background: transparent; color: var(--link); border-bottom-color: var(--accent); }
.mode-code { color: var(--muted); font-size: 13px; margin-top: 32px; }
.mode-panel h3 { font-size: 30px; line-height: 1.5; }
.mode-panel p { font-size: 16px; line-height: 1.9; color: var(--muted); min-height: 96px; }
.mode-note { font-size: 14px; color: var(--muted); margin-top: 24px; }
.product-page .mode-image { background: #0c1113; }
.material-story { display: grid; grid-template-columns: 1.4fr 1fr; aspect-ratio: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; }
.material-story > img { position: static; z-index: auto; width: 100%; height: 100%; min-height: 340px; object-position: 30% center; }
.material-story > div { position: static; width: auto; padding: 44px 40px; align-self: center; }
.material-story .eyebrow { color: var(--muted); font-size: 12px; }
.material-story h2 { font-size: 36px; line-height: 1.4; }
.material-story p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.85; }
.material-story::after { display: none; }
.energy-inner { gap: 8%; align-items: start; }
.energy-copy > p, .energy-copy > .subtle, .energy-copy details { font-size: 16px; line-height: 1.9; }
.calculator { border: 1px solid #d5dfd7; box-shadow: 0 12px 36px #17232b04; }
.calculator-label, .calculator-footnote { font-size: 13px; line-height: 1.8; }
.energy-results > div > span, .energy-balance { font-size: 14px; }
.origin-study { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8%; padding-block: 88px; }
.origin-study > .eyebrow, .origin-study > h2 { grid-column: 1; }
.origin-study > .origin-quote { grid-column: 1; font-size: 23px; margin-block: 24px; }
.origin-study > p:not(.eyebrow):not(.origin-quote) { grid-column: 1; font-size: 16px; line-height: 1.9; }
.origin-proof { grid-column: 2; grid-row: 1/5; align-self: start; margin-top: 0; padding: 32px; background: #fff; border: 1px solid var(--line); }
.origin-proof p { font-size: 16px; line-height: 1.9; }
.origin-proof > a { font-size: 14px; }
.origin-checks { grid-column: 1/-1; font-size: 14px; gap: 20px; line-height: 1.8; }
.timeline li { padding-block: 32px; }
.timeline p { font-size: 16px; line-height: 1.85; }
.timeline .eyebrow { font-size: 13px; }
.document-card { grid-template-columns: 35% 1fr; border-radius: 16px; box-shadow: none; }
.document-info { padding: 28px; }
.document-info > p { font-size: 16px; line-height: 1.85; }
.document-info h3 { font-size: 22px; }
.document-meta { font-size: 13px; letter-spacing: 0; }
.document-actions { font-size: 15px; gap: 16px 24px; }
.document-preview { height: auto; padding: 24px 16px 36px; }
.document-preview > span { font-size: 13px; }
.materials-date, .participate-inner small { font-size: 14px; }
.tread-numbers p, .engineering-note > p, .engineering-note details p,
.revision-note > p { font-size: 16px; line-height: 1.9; }
.tread-numbers > article { box-shadow: none; }

/* A consistent reading rhythm across the studio and the notebook. */
.hero-description { font-size: 18px; line-height: 1.85; }
.hero-eyebrow, .hero-caption { font-size: 12px; letter-spacing: .13em; }
.hero-bottom { font-size: 14px; }
.hero-secondary, .hero-actions .button { font-size: 15px; }
.discovery-heading > p, .studio-copy > p:not(.eyebrow),
.notebook-heading > div > p:last-child { font-size: 17px; line-height: 1.85; }
.studio-copy > p:not(.eyebrow) { max-width: 34em; }
.feature-topline, .feature-topline > a, .feature-content .eyebrow { font-size: 13px; }
.feature-description { font-size: 16px; }
.feature-bottom { flex-wrap: wrap; }
.collection-note, .collection-note > p { font-size: 14px; line-height: 1.8; }
.collection-note > p { text-align: right; }
.studio-section { gap: 7%; }
.studio-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.studio-art > p { font-size: 12px; letter-spacing: .06em; }
.collection-intro { padding-block: 64px 48px; }
.collection-intro p:not(.eyebrow) { font-size: 17px; }
.contribution-steps { border-block: 1px solid var(--line); background: transparent; border-radius: 0; padding: 22px 0; font-size: 15px; gap: 16px; flex-wrap: wrap; }
.contribution-steps b { background: transparent; font-size: 13px; margin-right: 8px; width: auto; height: auto; }
.chapter-row, .chapter-invite, .direction-card, .idea-entry { box-shadow: none; }
.chapter-list { gap: 24px; }
.chapter-number, .chapter-number > span { font-size: 12px; letter-spacing: .04em; flex-wrap: wrap; }
.chapter-subtitle, .invite-description { font-size: 16px; line-height: 1.85; }
.chapter-tagline { font-size: 19px; min-height: 0; }
.chapter-action { font-size: 15px; }
.chapter-evidence span, .invite-prompts > span { font-size: 13px; }
.study-status { font-size: 12px; }
.invite-bottom > p { font-size: 13px; }
.direction-card { border-radius: 18px; padding: 30px; }
.direction-card > p, .direction-card > details, .direction-card > details p,
.direction-question { font-size: 16px; line-height: 1.85; }
.direction-card > .direction-scene { min-height: 88px; }
.category-filters button { font-size: 14px; min-height: 44px; }
.board-meta { font-size: 14px; flex-wrap: wrap; }
.idea-entry > p, .research-method article > p { font-size: 16px; line-height: 1.85; }
.board-empty, .home-page .board-empty { font-size: 16px; }
.research-method article { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 24px 0; border-radius: 0; }
.note-dialog input:not([type=range]), .note-dialog textarea, .note-dialog select { font-size: 16px; }
.note-dialog label, .note-dialog > p, .submission-guide { font-size: 15px; }
.note-dialog label small, .form-help, .submission-guide > summary,
.submission-guide > p { font-size: 13px; }
.stats-summary > article > span, .stats-table th { font-size: 14px; }
.stats-table td { font-size: 16px; }
.stats-table td.stats-path { font-size: 14px; }
.counting-note p { font-size: 16px; }

/* Brand library: the same readable scale, without importing product layouts. */
.brand-page .intro > div > p:last-child, .brand-page .mark-panel p,
.brand-page .type-grid p, .brand-page .library-intro p,
.brand-page .brand-media-card h3 + p { font-size: 16px; }
.brand-page .asset-meta, .brand-page .asset-credit { font-size: 13px; }
.brand-page .asset-links, .brand-page .brand-audio-grid a,
.brand-page .brand-audio-grid p, .brand-page .product-film-grid p { font-size: 14px; }
.brand-page .section-title h2 { font-size: 16px; }
.brand-page .section-title > span { font-size: 12px; }
.brand-page .section-title { flex-wrap: wrap; }
.brand-page .brand-media-card h3 + p { min-height: 60px; }

@media (max-width: 1100px) {
  .product-title-row { gap: 32px; }
  .product-intro-copy { max-width: 420px; }
  .mode-panel { padding: 28px; }
  .material-story > div { padding: 32px; }
  .material-story h2 { font-size: 30px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { grid-template-columns: 30% 1fr; }
  .document-preview img { max-height: 250px; }
  .origin-study { gap: 0 40px; }
  .origin-proof { padding: 28px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .mode-layout { grid-template-columns: 1fr; }
  .mode-image { aspect-ratio: 16/9; }
}
@media (max-width: 767px) {
  .site-header, .home-page .site-header { height: 72px; }
  .site-header nav, .home-page .site-header nav { font-size: 13px; gap: 12px; }
  .site-header .nav-idea, .home-page .nav-idea { font-size: 13px; padding: 10px 13px; gap: 8px; }
  .site-header .brand-logo { width: 120px; }
  .section-heading, .materials-heading { gap: 20px; }
  .section-heading > p, .materials-heading > p,
  .active-studies .materials-heading > p { font-size: 16px; }
  .product-intro { padding: 24px var(--space) 32px; }
  .product-title-row { flex-direction: column; align-items: start; gap: 28px; padding-top: 32px; }
  .product-title-row h1 { font-size: 56px; }
  .product-title-row h1 > span { font-size: 17px; margin-top: 14px; }
  .product-intro-copy > p { font-size: 24px; line-height: 1.6; }
  .product-intro-copy > span:last-child { font-size: 15px; }
  .product-page .gallery { border-radius: 14px; margin-bottom: 24px; }
  .product-page .gallery-stage { aspect-ratio: 1.5; }
  .product-page .gallery-stage > img[src] { object-fit: contain; }
  .product-page .gallery-bottom { padding: 18px 14px; gap: 16px; }
  .gallery-bottom > p { font-size: 14px; }
  .gallery-counter { top: 12px; left: 14px; font-size: 12px; }
  .gallery-thumbnails { width: 100%; justify-content: center; gap: 6px; }
  .gallery-thumbnails button { width: min(48px, 18%); height: 38px; }
  .project-nav-inner { width: calc(100% - 24px); }
  .project-nav nav { font-size: 13px; gap: 12px; overflow-x: auto; scrollbar-width: none; }
  .project-nav nav a { flex-shrink: 0; }
  .film-section { padding-block: 48px 24px; }
  .film-toolbar { align-items: start; flex-wrap: wrap; }
  .film-toolbar > span { padding-top: 12px; }
  .film-toolbar button { font-size: 14px; }
  .film-caption > div { gap: 12px 24px; }
  .palm-actions { padding-block: 40px 8px; }
  .palm-actions-heading { gap: 20px; }
  .palm-actions-heading > p { font-size: 16px; }
  .palm-action figcaption { padding: 24px; }
  .palm-action-label { font-size: 12px; }
  .palm-actions-footnote { font-size: 14px; line-height: 1.85; }
  .mode-layout { grid-template-columns: 1fr; }
  .mode-panel { padding: 24px; }
  .mode-panel h3 { font-size: 27px; }
  .mode-tabs > button { font-size: 14px; padding-inline: 6px; }
  .mode-panel p { min-height: 0; }
  .mode-image { aspect-ratio: 16/9; }
  .material-story { grid-template-columns: 1fr; min-height: 0; }
  .material-story > img { min-height: 0; height: auto; aspect-ratio: 1.7; }
  .material-story > div { padding: 28px; }
  .energy-inner { gap: 32px; }
  .calculator { padding: 24px; }
  .energy-results strong { font-size: 38px; }
  .origin-study { display: block; padding-block: 56px; }
  .origin-proof { margin-top: 28px; padding: 24px; }
  .origin-checks { gap: 12px; }
  .document-card { grid-template-columns: 1fr; }
  .document-preview { height: 240px; padding: 24px 24px 36px; }
  .document-preview img { max-width: 150px; margin-inline: auto; }
  .document-info { padding: 24px; }
  .participate-inner small { text-align: left; }
  .hero-description { font-size: 17px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .08em; }
  .hero-content h1 { font-size: clamp(42px, 9.5vw, 64px); }
  .hero-actions { flex-wrap: wrap; gap: 12px 20px; }
  .hero-actions .button, .hero-secondary { font-size: 14px; }
  .hero-bottom { gap: 12px; font-size: 12px; }
  .discovery-heading > p { font-size: 16px; }
  .palmform-feature { min-height: 720px; }
  .feature-topline { padding-inline: 24px; flex-wrap: wrap; gap: 12px; }
  .feature-topline, .feature-topline > a { font-size: 12px; }
  .feature-content { padding: 28px 24px 0; }
  .feature-image-link { top: 350px; bottom: 60px; }
  .feature-content .button { font-size: 14px; min-height: 44px; }
  .feature-bottom { left: 24px; right: 24px; bottom: 24px; }
  .feature-tags { flex-wrap: wrap; max-width: calc(100% - 48px); }
  .feature-tags > span { font-size: 12px; }
  .collection-note > p { text-align: left; }
  .studio-art > p { font-size: 11px; }
  .studio-principles { flex-wrap: wrap; gap: 12px 20px; }
  .collection-intro { padding-block: 36px; }
  .contribution-steps { display: grid; grid-template-columns: 1fr 1fr; font-size: 13px; gap: 14px 8px; }
  .chapter-tagline { min-height: 0; }
  .direction-card { padding: 24px; }
  .direction-card > .direction-scene { min-height: 0; }
  .home-page .board-meta { font-size: 13px; }
  .idea-list { grid-template-columns: 1fr; }
  .brand-page .brand-media-card h3 + p { min-height: 0; }
  .brand-page .intro { gap: 12px; }
  .brand-page .intro > img { width: 48px; }
  .brand-page .library-intro h3 { font-size: 26px; }
  .brand-page .type-grid h3 { font-size: 30px; }
}
@media (max-width: 380px) {
  .section-heading h2, .materials-heading h2 { font-size: 29px; line-height: 1.45; }
  .site-header, .home-page .site-header { padding-inline: 16px; gap: 8px; }
  .site-header .brand-logo { width: 96px; }
  .site-header nav { gap: 8px; }
  .site-header .nav-idea { font-size: 12px; padding-inline: 10px; }
  .nav-notebook-icon { width: 17px; height: 17px; }
  .chapter-number > span { font-size: 12px; }
  .contribution-steps { font-size: 12px; }
  .contribution-steps b { margin-right: 4px; font-size: 12px; }
  .calculator { padding: 20px; }
  .energy-results strong { font-size: 34px; }
  .mode-panel { padding: 22px; }
  .hero-bottom { flex-wrap: wrap; }
}
