@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --paper: #f9faf6;
  --white: #fff;
  --ink: #172b22;
  --text: #30443a;
  --muted: #516158;
  --forest: #1b432f;
  --green: #447348;
  --lime: #d6ef94;
  --wash: #edf2e7;
  --line: #d2dacf;
  --wide: 80rem;
  --gutter: clamp(1.15rem, 4.8vw, 4.5rem);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  font: 100%/1.55 var(--font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 590; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .23em; }
button, input, textarea { font: inherit; color: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button, summary, a { touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: #163522; background: #d8efa2; }
:focus-visible { outline: 3px solid #417728; outline-offset: 4px; }
.values :focus-visible { outline-color: var(--lime); }
main:focus:not(:focus-visible) { outline: 0; }
.wrap { width: min(var(--wide), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; left: 1rem; top: -8rem; padding: .7rem 1.1rem; background: white; color: var(--ink); }
.skip-link:focus { top: .65rem; }
.masthead { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; }
.monogram { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 .13rem .27rem 0; background: var(--forest); border-radius: .2rem; color: #fff; font-size: 1.82rem; font-weight: 690; line-height: 1; letter-spacing: -.095em; }
.monogram > span { color: var(--lime); }
.brand-name { font-size: .96rem; line-height: 1.09; letter-spacing: -.035em; font-weight: 695; }
.wide-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.7vw, 2.85rem); }
.wide-nav a, .compact-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .94rem; font-weight: 575; }
.wide-nav a:hover, .compact-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.wide-nav .nav-contact { border: 1px solid var(--forest); border-radius: 3rem; padding: .55rem 1.35rem; }
.wide-nav .nav-contact:hover { color: #fff; background: var(--forest); text-decoration: none; }
.compact-nav { display: none; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--green); font-size: .79rem; line-height: 1.5; font-weight: 730; letter-spacing: .135em; text-transform: uppercase; }
.ruled::before { content: ""; display: block; width: 2.1rem; height: 2px; background: currentColor; flex: none; }
.hero { padding-block: clamp(2.3rem, 4.3vw, 4.25rem) clamp(3rem, 4.6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(2.2rem, 5vw, 5rem); }
.hero-copy { padding-block: .2rem .8rem; }
.slogan { margin-block: 1.35rem 1.4rem; color: var(--ink); font-size: clamp(3.2rem, 6.56vw, 6.55rem); line-height: .97; letter-spacing: -.076em; font-weight: 580; }
.slogan span { display: block; }
.slogan span:last-child, .accent { color: var(--green); }
.hero-intro { max-width: 37ch; color: var(--text); font-size: clamp(1.03rem, 1.28vw, 1.24rem); line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.65rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 2.95rem; padding: .71rem 1.35rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .3rem; font-weight: 650; font-size: .96rem; line-height: 1.4; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #2c593c; }
.text-link { display: inline-flex; align-items: center; width: fit-content; min-height: 2.75rem; font-size: .96rem; font-weight: 640; text-decoration: underline; text-decoration-color: #87978a; text-underline-offset: .34em; }
.text-link:hover { color: #386939; text-decoration-color: currentColor; }
.hero-figure { min-width: 0; }
.hero-image { aspect-ratio: 1.31; overflow: hidden; background: #dde5d4; border-radius: .3rem; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.portrait .hero-image img { object-position: 50% 32%; }
.marktplatz .hero-image { aspect-ratio: 1.25; }
.marktplatz .hero-image img { object-position: 57% 47%; }
figcaption { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.hero-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-block: .7rem 0; }
.hero-figure .portrait-caption { justify-content: space-between; flex-wrap: nowrap; gap: 1rem; padding-top: .85rem; }
.signature { width: clamp(8rem, 11vw, 10.25rem); height: auto; filter: brightness(.19); }
.portrait-caption > span { text-align: right; font-size: .91rem; color: var(--text); }
.portrait-caption small { display: block; color: var(--muted); font-size: .84rem; }
.journal { background: #fff; border-block-start: 1px solid var(--line); padding-block: clamp(2.8rem, 5vw, 4.6rem) clamp(3.6rem, 6vw, 6rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.6rem, 2.9vw, 2.6rem); }
.section-head h2, .values h2, .profile h2 { font-size: clamp(2.25rem, 3.85vw, 3.8rem); line-height: 1.04; letter-spacing: -.065em; }
.section-head h2 { margin-top: .65rem; }
.archive-link { flex: none; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.18rem, 2.1vw, 2rem); row-gap: 2.25rem; }
.story-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.story-cover { aspect-ratio: 1.64; margin: 0 0 1.1rem; border-radius: .25rem; overflow: hidden; background: var(--wash); }
.story-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card:hover .story-cover img { transform: scale(1.025); }
.story-type { color: var(--green); font-size: .78rem; font-weight: 715; letter-spacing: .11em; text-transform: uppercase; margin-bottom: .48rem; }
.story-card h3 { font-size: clamp(1.44rem, 2.1vw, 2.05rem); line-height: 1.12; letter-spacing: -.052em; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: .25rem; }
.story-card h3 a:focus-visible { outline: none; }
.story-card h3 a:focus-visible::after { outline: 3px solid var(--green); outline-offset: 5px; }
.story-card h3 a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.story-desc { margin: .64rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 41ch; }
.workbook-feature { margin-top: clamp(2.75rem, 4.5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.2rem); padding: clamp(1.5rem, 3.25vw, 3rem); background: #f0f3e8; border-top: 2px solid #829b78; border-radius: .25rem; }
.workbook-feature h3 { font-size: clamp(1.85rem, 2.8vw, 2.75rem); letter-spacing: -.05em; line-height: 1.1; margin: .7rem 0; }
.workbook-feature p:not(.eyebrow) { max-width: 49ch; color: var(--text); }
.workbook-feature .text-link { margin-top: .35rem; }
.workbook-feature img { width: 100%; }
.values { padding-block: clamp(3.5rem, 6.8vw, 6.8rem); background: #173e2d; color: #f6f8ef; }
.values-grid { display: grid; align-items: start; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 8.3vw, 8rem); }
.values .eyebrow { color: #d4ebb0; }
.values h2 { margin-block: 1.1rem 1.2rem; }
.values h2 span { color: var(--lime); }
.values-intro > p:last-child { color: #deeadf; font-size: 1.13rem; line-height: 1.55; max-width: 33ch; }
.value { border-block-start: 1px solid #74907b; }
.value:last-child { border-block-end: 1px solid #74907b; }
.value summary, .compact-nav summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; }
.value summary::-webkit-details-marker, .compact-nav summary::-webkit-details-marker { display: none; }
.value summary { min-height: 4.75rem; gap: 1.2rem; padding-block: .8rem; font-size: clamp(1.65rem, 2.35vw, 2.15rem); line-height: 1.2; letter-spacing: -.048em; font-weight: 550; }
.value summary:hover { color: var(--lime); }
.value[open] summary { color: var(--lime); }
.toggle-mark { position: relative; width: 2rem; height: 2rem; flex: none; border: 1px solid #829c84; border-radius: 50%; }
.toggle-mark::before, .toggle-mark::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: .78rem; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.toggle-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.value[open] .toggle-mark::after { display: none; }
.value p { margin: .35rem 0 1.5rem; max-width: 55ch; padding-right: 2.5rem; color: #e5eee4; font-size: 1.04rem; line-height: 1.65; }
.profile { padding-block: clamp(3.7rem, 6.5vw, 6.5rem); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(2rem, 8vw, 9rem); }
.profile h2 { margin: 1rem 0 1.1rem; }
.profile-role { color: var(--forest); font-weight: 650; }
.fotowand { padding-block: clamp(3.3rem, 6vw, 6rem); background: #fff; border-bottom: 1px solid var(--line); }
.photo-head { align-items: end; }
.photo-head h2 { max-width: 16ch; }
.wall-intro { max-width: 36ch; font-size: 1.02rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.55rem,1.25vw,1.12rem); }
.photo-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; isolation: isolate; border-radius: .28rem; background: var(--wash); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.photo-tile:hover img { transform: scale(1.025); }
.tile-caption { position: absolute; inset: auto 0 0; padding: 2.1rem .8rem .65rem; font-weight: 650; font-size: clamp(.9rem,1.2vw,1.06rem); line-height: 1.25; color: white; background: linear-gradient(transparent,rgba(12,23,18,.85)); }
.photo-dialog { width: min(52rem,calc(100% - 1.4rem)); max-height: 95vh; max-height: 95dvh; padding: clamp(.8rem,2vw,1.35rem); border: 0; border-radius: .45rem; color: var(--ink); background: var(--paper); overflow: auto; }
.photo-dialog:not([open]) { display: none; }
.photo-dialog::backdrop { background: rgba(13,25,19,.83); }
.photo-dialog[open] { display: grid; gap: .6rem; }
.viewer-bar,.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.viewer-count,.viewer-credit { color: var(--muted); font-size: .94rem; }
.photo-dialog button { min-height: 44px; border: 1px solid var(--line); padding: .42rem .8rem; border-radius: .3rem; background: white; font-weight: 610; }
.photo-dialog button:hover { border-color: var(--green); }
.viewer-image { width: 100%; height: min(58vh,38rem); height: min(58dvh,38rem); object-fit: contain; background: #e7ebe4; }
.photo-dialog figcaption { display: grid; gap: .14rem; padding-top: .65rem; line-height: 1.4; }
.photo-dialog figcaption strong { color: var(--ink); font-size: 1.1rem; }
.read-prose .archiv-bilder { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,11rem),1fr)); align-items: start; gap: 1rem; margin: 1.5rem 0 1.8rem; }
.archiv-bilder figure { min-width: 0; }
.archiv-bilder img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .25rem; }
.archiv-bilder figcaption,.archiv-tabelle caption { margin-top: .45rem; font-size: .91rem; color: var(--muted); }
.read-prose .archiv-buecher { grid-template-columns: repeat(auto-fit,minmax(min(100%,7.8rem),1fr)); }
.archiv-buecher img { object-fit: contain; background: #f5f5f1; }
.read-prose .archiv-tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 1.1rem 0 1.5rem; }
.archiv-tabelle caption { text-align: left; margin-bottom: .4rem; }
.archiv-tabelle th,.archiv-tabelle td { padding: .42rem .35rem; border-bottom: 1px solid var(--line); text-align: right; }
.archiv-tabelle th:first-child,.archiv-tabelle td:first-child { text-align: left; }
.read-prose .archiv-hinweis { margin-block: 1.25rem; padding: .9rem 1rem; background: var(--wash); border-left: 3px solid var(--green); }
.archiv-hinweis summary { cursor: pointer; font-weight: 650; }
@media (max-width: 55rem) {
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .photo-head { display: grid; }
  .wall-intro { max-width: 52ch; }
}
@media (min-width: 47.5rem) and (max-width: 60rem) {
  .wide-nav { gap: .9rem; }
  .wide-nav a { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-tile img { transition: none; }
}
.profile-copy > p:not([class]) { margin-block: .6rem .65rem; max-width: 52ch; color: var(--muted); font-size: 1.06rem; }
.contact-panel { background: var(--wash); border-top: 3px solid #90ac77; border-radius: .22rem; padding: clamp(1.65rem, 3.1vw, 3.1rem); }
.contact-panel h3 { font-size: clamp(1.8rem, 2.7vw, 2.75rem); line-height: 1.1; letter-spacing: -.055em; margin: 1rem 0; }
.contact-panel > p:not(.eyebrow) { color: var(--text); max-width: 39ch; }
.contact-panel .button { margin-top: 1.45rem; }
.contact-other { display: flex; margin-top: .25rem; }
.foot { border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.55rem; }
.foot a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot-name { text-decoration: none; font-weight: 680; letter-spacing: -.03em; }
.foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.7rem; }
.foot nav a { font-size: .9rem; color: var(--muted); }
.read-top { padding-block: clamp(2rem, 3.4vw, 3.6rem); }
.read-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2.2rem, 6vw, 6rem); }
.read-top .back-link { margin: 0 0 1.3rem; color: var(--muted); }
.read-top h1, .sheet-main h1, .generic h1 { font-size: clamp(2.5rem, 4.8vw, 4.9rem); line-height: 1.03; font-weight: 590; letter-spacing: -.061em; margin: .85rem 0 1.2rem; overflow-wrap: break-word; }
.lead { max-width: 55ch; color: var(--text); font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; }
.read-media img { width: 100%; height: auto; border-radius: .25rem; }
.read-media figcaption { padding-top: .5rem; }
.read-body { padding-block: clamp(2.5rem, 5.5vw, 5.5rem); background: #fff; border-block: 1px solid var(--line); }
.read-columns { display: grid; grid-template-columns: minmax(10rem, .65fr) minmax(0, 1.35fr); max-width: 71rem; gap: clamp(2rem, 5vw, 5.5rem); }
.toc { margin: .2rem 0 0; padding-right: .75rem; }
.toc > p { margin-bottom: .65rem; }
.toc a { display: block; padding: .42rem 0; max-width: 27ch; color: var(--muted); font-size: .96rem; text-decoration-color: #9baba0; }
.read-prose { width: 100%; max-width: 65ch; color: var(--text); font-size: clamp(1.0625rem, 1.24vw, 1.17rem); line-height: 1.7; overflow-wrap: break-word; }
.read-prose h2 { font-size: clamp(1.6rem, 2.35vw, 2.15rem); line-height: 1.16; letter-spacing: -.045em; margin: 2.1rem 0 .8rem; color: var(--ink); }
.read-prose h2:first-child, .read-prose > :first-child { margin-top: 0; }
.read-prose p { margin-block: 0 1rem; }
.read-prose ul, .read-prose ol { padding-inline-start: 1.4rem; }
.read-prose li + li { margin-top: .68rem; }
.read-prose strong { font-weight: 680; }
.read-prose a { text-decoration-color: #7f9684; }
.read-prose .tool-call { border-left: .22rem solid var(--green); background: var(--wash); padding: 1.3rem 1.5rem; margin-block: 2rem; }
.tool-call h2 { font-size: 1.45rem; margin: 0 0 .55rem; }
.tool-call .button { color: white; text-decoration: none; }
.source-note { padding-top: 1.1rem; margin-top: 2rem; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.source-note a { display: block; margin-top: .2rem; }
.source-note > p { margin-top: .3rem; }
.next-read { padding-block: 1.35rem; }
.sheet-main, .generic { padding-block: clamp(2rem, 4vw, 4.5rem); }
.sheet-wrap, .generic-inner { max-width: 63rem; }
.sheet-intro { max-width: 53rem; }
.workbook-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-block: clamp(1.8rem, 3vw, 3rem) 1.5rem; }
.workbook-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: .3rem; overflow: hidden; }
.workbook-card > img { width: 100%; background: #f0f3e8; }
.workbook-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1.15rem, 2.2vw, 1.9rem); }
.workbook-meta { font-size: .9rem; color: var(--green); font-weight: 670; }
.workbook-content h2 { margin: .55rem 0 .8rem; font-size: clamp(1.75rem, 2.7vw, 2.5rem); letter-spacing: -.05em; line-height: 1.12; }
.workbook-content p:not(.workbook-meta) { color: var(--text); line-height: 1.65; margin-bottom: 1.4rem; max-width: 46ch; }
.workbook-content .button { margin-top: auto; max-width: 100%; text-align: center; }
.wide-nav a[aria-current="page"], .compact-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .42em; }
.generic .read-prose { margin-top: 1.7rem; }
.archive-stories { margin-block: 2rem; }
.byline { margin-bottom: .9rem; color: var(--muted); font-size: .94rem; }
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-block: 1.35rem; }
.search-form label { display: grid; gap: .4rem; font-weight: 600; }
.search-form input, .comments textarea, .comments input:not([type="submit"],[type="checkbox"]) { width: 100%; min-height: 2.75rem; max-width: 100%; padding: .5rem .7rem; border: 1px solid #85998a; border-radius: .2rem; background: white; }
.comments .submit { border: 0; border-radius: .2rem; padding: .65rem 1rem; color: #fff; background: var(--forest); }
.comments p { margin-block: .75rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.nav-links a, .nav-links .current { padding: .55rem .4rem; }
.read-prose :where(video, iframe, table, pre) { max-width: 100%; }
.read-prose pre, .read-prose .wp-block-table { overflow-x: auto; }
:where(.read-prose, .generic) :where(figure, img, video) { max-width: 100%; height: auto; }
@media (min-width: 100rem) {
  .hero { padding-block: 4.8rem 5.25rem; }
}
@media (min-width: 47.5rem) and (max-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.8rem; }
  .slogan { font-size: clamp(3.1rem, 6.95vw, 4.5rem); }
  .hero-image { aspect-ratio: 1.04; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.1rem 1.45rem; }
  .story-card h3 { font-size: 1.5rem; }
  .values-grid { gap: 3rem; }
}
@media (max-width: 47.499rem) {
  .masthead-inner { min-height: 4.2rem; }
  .brand-name { font-size: .89rem; }
  .monogram { width: 2.45rem; height: 2.45rem; font-size: 1.65rem; }
  .wide-nav { display: none; }
  .compact-nav { display: block; }
  .compact-nav summary { min-height: 2.75rem; padding: .45rem .8rem; gap: .62rem; border: 1px solid #a3b2a4; border-radius: .25rem; font-size: .95rem; font-weight: 600; }
  .menu-icon { display: block; width: .94rem; height: .52rem; border-block: 1.5px solid currentColor; }
  .compact-nav[open] .menu-icon { height: 0; border-bottom: 0; }
  .compact-nav > nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: .45rem var(--gutter) .8rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 16px #1a30200c; }
  .compact-nav nav a { padding: .5rem 0; }
  .hero-grid, .values-grid, .profile-grid, .read-grid, .read-columns { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.3rem 2.55rem; }
  .hero-grid { gap: 1.8rem; }
  .hero-copy { padding: 0; }
  .slogan { font-size: clamp(3.5rem, 11vw, 5.3rem); margin-block: 1rem 1.1rem; }
  .hero-intro { font-size: 1.08rem; max-width: 44ch; }
  .actions { margin-top: 1.3rem; }
  .hero-image { aspect-ratio: 1.7; }
  .portrait .hero-image { aspect-ratio: 1.48; }
  .marktplatz .hero-image { aspect-ratio: 1.35; }
  .hero-figure figcaption { padding-top: .45rem; }
  .section-head { flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
  .section-head h2 { max-width: 17ch; }
  .section-head .archive-link { min-height: 2.75rem; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-card { padding-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
  .story-card:last-child { padding-bottom: 0; border: 0; }
  .story-cover { aspect-ratio: 1000 / 610; }
  .story-card h3 { font-size: 1.8rem; }
  .workbook-feature { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .workbook-feature img { max-width: 32rem; }
  .workbook-library { grid-template-columns: minmax(0, 1fr); }
  .values-grid { gap: 1.6rem; }
  .profile-grid { gap: 2rem; }
  .value p { padding-right: 1.2rem; }
  .value summary { min-height: 4.1rem; }
  .read-grid { gap: 1.4rem; }
  .read-columns { gap: 1.8rem; }
  .toc { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .toc a { max-width: none; }
  .foot-inner { gap: 0 2rem; }
}
@media (min-width: 34rem) and (max-width: 47.499rem) {
  .story-card { display: grid; grid-template-columns: minmax(9rem, .8fr) minmax(0, 1.2fr); column-gap: 1.4rem; align-content: start; }
  .story-cover { grid-row: 1 / 4; align-self: start; margin: 0; }
  .story-card h3 { font-size: 1.5rem; }
}
@media (max-width: 30rem) {
  .sheet-main h1 { font-size: clamp(1.65rem, 10vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  @page { margin: 16mm; }
  html, body { background: white; color: black; }
  .masthead, .foot, .back-link, .skip-link, .toc, .next-read { display: none !important; }
  .wrap { width: 100%; max-width: none; }
  .sheet-main { padding: 0; }
  .sheet-main h1 { max-width: none; font-size: 23pt; margin: .2rem 0 .5rem; }
  .sheet-intro .lead { font-size: 10pt; max-width: none; }
  .read-grid, .read-columns { display: block; }
  .read-media { display: none; }
  .read-top, .read-body { padding-block: 0 1rem; }
  .read-top h1 { font-size: 25pt; }
  .read-prose { max-width: none; font-size: 11pt; }
  .tool-call .button { display: none; }
  .sheet-intro .eyebrow { color: black; }
  .workbook-card { break-inside: avoid; }
}
