/* TÖRÜ / editorial refinement. Keep the approved emblem and its timing. */
body[data-page] {
  --mute: #9e9e9e;
  --reading: #c2c2c2;
  --header-height: 72px;
}
body[data-page] .site-header { position: sticky; top: 0; height: var(--header-height); min-height: var(--header-height); padding-block: 0; }
body[data-page] .site-header::before { background: var(--black); left: 0; width: 100%; transform: none; box-shadow: 0 0 0 100vmax var(--black); clip-path: inset(0 -100vmax); }
body[data-page] main { min-width: 0; }
body[data-page] .nav-links a:hover { transform: none; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--platinum); color: var(--black); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 1px solid var(--platinum); outline-offset: 6px; }
main:focus { outline: none; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.lang button { min-width: 44px; min-height: 44px; transition: color .25s ease, transform .3s var(--ease); }
.lang button:hover, .lang button:focus-visible { transform: scale(1.05); }
.m-ig { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
html[lang="tr"] [data-lang-only="en"] { display: none; }

/* One centered composition, independent of the length of either language. */
body[data-page="home"] .hero {
  --hero-lift: clamp(1rem, 2.8svh, 1.75rem);
  flex: none;
  min-height: calc(100svh - var(--header-height));
  padding: calc(4.5rem - var(--hero-lift)) var(--pad-x) calc(6rem + var(--hero-lift));
  gap: 0;
  scroll-margin-top: var(--header-height);
}
.hero-core { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero-core .hero-id { margin-top: .65rem; gap: .8rem; }
.hero-copy { width: 100%; max-width: 640px; gap: .8rem; margin-top: clamp(1.7rem, 3.6vh, 2.4rem); }
body[data-page="home"] .tagline { font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 2.3rem); line-height: 1.25; letter-spacing: .025em; text-wrap: balance; }
body[data-page="home"] .subline { max-width: 44ch; color: #b7b7b7; font-size: clamp(.9rem, 1.1vw, .98rem); line-height: 1.75; letter-spacing: .01em; white-space: pre-line; text-wrap: balance; }
.scroll-cue { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: .5rem 1rem; color: #adadad; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 24px; background: linear-gradient(var(--silver), transparent); }

/* Protect the letterforms themselves, without black panels or blurred scrims. */
.hero-copy, .hero-id, .reading-copy, .pillar-copy, .excerpt-lead,
.philosophy-page .body-copy, .inscription {
  text-shadow: 0 1px 3px #000;
}

/* Restrained, wider composition. The text itself keeps a comfortable measure. */
.editorial-section { position: relative; z-index: 10; width: calc(100% - 2 * var(--pad-x)); max-width: 1076px; margin-inline: auto; padding: clamp(5rem, 10vw, 8rem) 0; border-top: 1px solid rgba(237,237,236,.22); scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.editorial-section::before { content: none; }
.editorial-section h2 { font: 500 clamp(2.5rem, 4.5vw, 4rem)/1.08 var(--serif); letter-spacing: -.02em; }
.editorial-section .section-label, .philosophy-page .section-label { font: 400 .7rem/1.6 var(--sans); color: #bdbdbd; letter-spacing: .18em; text-transform: uppercase; }
.meaning-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.meaning-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.runic-signature { font: 1.8rem/1.4 "Noto Sans Old Turkic", sans-serif; letter-spacing: .32em; color: #959595; }
.excerpt-lead { font: 400 clamp(1.75rem, 2.6vw, 2.25rem)/1.3 var(--serif); color: var(--platinum); max-width: 30ch; text-wrap: pretty; }
.reading-copy { max-width: 66ch; color: var(--reading); font-size: 1.0625rem; line-height: 1.85; font-weight: 400; margin-top: 1.6rem; text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 2rem; border: 1px solid #5a5a5a; padding: .85rem 1.15rem; margin-top: 1.8rem; font-size: .75rem; letter-spacing: .08em; background: rgba(237,237,236,.012); transform-origin: center; transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease, color .3s ease; }
.text-link:hover, .text-link:focus-visible { transform: scale(1.025); border-color: #ababab; background: rgba(237,237,236,.045); color: var(--platinum); }
.text-link > span:last-child { font-size: 1.1rem; transition: transform .3s var(--ease); }
.text-link:hover > span:last-child { transform: translateX(3px); }
.foundation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: 3rem; }
.foundation-pillar { min-width: 0; scroll-margin-top: calc(var(--header-height) + 2rem); }
body[data-page="home"] .foundation-grid { gap: 0; margin-top: 3.5rem; }
body[data-page="home"] .foundation-pillar { padding: .25rem clamp(1.5rem, 3.5vw, 3.5rem) .6rem; }
body[data-page="home"] .foundation-pillar:first-child { padding-left: 0; }
body[data-page="home"] .foundation-pillar:last-child { padding-right: 0; }
body[data-page="home"] .foundation-pillar + .foundation-pillar { border-left: 1px solid rgba(237,237,236,.17); }
.foundation-pillar h3 { font: 400 clamp(3.6rem, 6vw, 5.4rem)/1 var(--serif); letter-spacing: -.035em; }
.foundation-pillar h3[data-rune] { position: relative; }
.pillar-rune { position: absolute; top: -1.2em; left: .02em; font: 400 .38em/1 "Noto Sans Old Turkic", sans-serif; letter-spacing: .08em; white-space: nowrap; color: #808080; opacity: 0; transform: translateY(5px); text-shadow: 0 -1px 1px rgba(234,240,244,.4), 0 2px 1px #000; transition: opacity .4s ease, transform .4s var(--ease); pointer-events: none; }
.foundation-pillar h3[data-rune]:hover .pillar-rune, .foundation-pillar h3[data-rune]:focus-within .pillar-rune { opacity: 1; transform: translateY(0); }
.foundation-pillar h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; text-decoration-color: transparent; transition: text-decoration-color .25s ease; }
.foundation-pillar h3 a:hover { text-decoration-color: var(--platinum); }
.pillar-gloss { font-size: .61rem; letter-spacing: .25em; text-transform: uppercase; color: #aeaeae; margin-top: 1rem; }
.pillar-meaning { font: italic 400 1.3rem/1.45 var(--serif); color: #e3e3e3; margin-top: 2.1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pillar-copy { font-size: 1.0625rem; line-height: 1.85; font-weight: 400; color: var(--reading); margin-top: 1.25rem; text-wrap: pretty; }
body[data-page="home"] .pillar-meaning { border-top: 0; padding-top: 0; margin-top: 1.7rem; }
.home-closing .closing-motto { font-size: clamp(2.65rem, 6.2vw, 5rem); line-height: 1.12; letter-spacing: -.025em; }
.home-closing .section-label { margin-bottom: 1.8rem; }
.closing-copy { max-width: 58ch; margin-top: 2rem; font: 400 1.0625rem/1.85 var(--sans); letter-spacing: 0; color: var(--reading); text-wrap: pretty; }
.closing-motto > span { display: block; }
.closing-motto > span + span { color: #adadad; }
.home-history .reading-copy { max-width: 66ch; }
.home-history .reading-copy:first-child { margin-top: 0; }
.home-history .inscription { max-width: 760px; margin: 3rem 0; }
.inscription cite { line-height: 1.8; }

/* Living folio. Distinct compositions, one material and one typographic system.
   No extra slogans, opaque reading panels or ornamental card grid. */
body[data-page="home"] .editorial-section { padding-block: clamp(5.5rem,11vw,9rem); }
.meaning-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(3rem,7vw,6rem); }
.meaning-heading { gap: 2rem; }
.meaning-heading .runic-signature { font-size: clamp(2.5rem,4.5vw,4rem); letter-spacing: .18em; color: #929292; text-shadow: 0 -1px 0 #b9b9b933,0 2px 1px #000; }
.meaning-heading h2 { font-size: clamp(3.5rem,6vw,5.5rem); max-width: 8ch; line-height: .98; text-wrap: balance; }
.meaning-excerpt .excerpt-lead { font-size: clamp(2rem,3.25vw,2.8rem); line-height: 1.22; letter-spacing: -.015em; }
.text-link { position: relative; gap: 2.75rem; min-height: 52px; padding: .9rem 1.1rem .9rem 1.2rem; border-color: #616161; background: transparent; }
.text-link::before { content: ""; position: absolute; top: -1px; left: -1px; width: 18px; height: 18px; border-top: 1px solid #cbcbcb; border-left: 1px solid #cbcbcb; transition: width .35s var(--ease),height .35s var(--ease); }
.text-link > span:last-child { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-left: 1px solid #616161; padding-left: 13px; }
.text-link:hover::before,.text-link:focus-visible::before { width: 32px; height: 24px; }
.home-history { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: 1.5rem; }
.home-history > .reading-copy:first-child { grid-column: 1 / 9; max-width: 62ch; }
.home-history .inscription { grid-column: 1 / -1; max-width: none; margin: clamp(3rem,7vw,5rem) 0; padding: 0; border: 0; }
.home-history .inscription blockquote { max-width: 33ch; font-size: clamp(2.1rem,4.2vw,3.6rem); font-weight: 400; line-height: 1.32; letter-spacing: -.02em; }
.home-history .inscription .translation { max-width: 61ch; margin-top: 2rem; font-size: 1.0625rem; line-height: 1.8; }
.home-history .inscription figcaption { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #71717166; width: fit-content; min-width: 160px; }
.home-history > .reading-copy:last-child { grid-column: 5 / -1; max-width: 58ch; margin-top: 0; }
body[data-page="home"] .foundation-grid { margin-top: clamp(3.25rem,7vw,5rem); }
body[data-page="home"] .foundation-pillar { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-block: 2.5rem 2rem; border-block: 1px solid #7d7d7d4f; transition: border-color .4s ease; }
body[data-page="home"] .foundation-pillar::after { content: "↗"; display: block; margin-top: auto; padding-top: 2.5rem; font: 400 1.2rem/1 var(--sans); color: #989898; transition: color .35s ease,transform .35s var(--ease); }
body[data-page="home"] .foundation-pillar:hover::after,body[data-page="home"] .foundation-pillar:focus-within::after { color: #e8e8e8; transform: translate(3px,-3px); }
body[data-page="home"] .foundation-pillar:hover,body[data-page="home"] .foundation-pillar:focus-within { border-block-color: #bebebe; }
body[data-page="home"] .foundation-pillar h3[data-rune] { position: static; }
body[data-page="home"] .foundation-pillar h3 a { display: inline-block; text-decoration: none; transition: transform .35s var(--ease),color .35s ease; }
body[data-page="home"] .foundation-pillar h3 a::after { content: ""; position: absolute; inset: 0; }
body[data-page="home"] .foundation-pillar:hover h3 a,body[data-page="home"] .foundation-pillar:focus-within h3 a { color: #fff; }
body[data-page="home"] .foundation-pillar .pillar-rune { top: .65rem; left: auto; font-size: 1.05rem; }
body[data-page="home"] .foundation-pillar:hover .pillar-rune,body[data-page="home"] .foundation-pillar:focus-within .pillar-rune { opacity: 1; transform: translateY(0); }
.home-closing { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.home-closing .section-label,.home-closing .closing-motto { grid-column: 1 / -1; }
.home-closing .closing-motto { font-size: clamp(3.2rem,7vw,6rem); letter-spacing: -.035em; line-height: 1.06; }
.home-closing .closing-copy { grid-column: 2; margin-top: 3rem; }
.home-closing .text-link { grid-column: 2; justify-self: start; }
.closing-actions { grid-column: 2; margin-top: 2rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .875rem; }
:root { --action-fill: #0d0d0d; --action-hover: #171717; --action-border: #6e6e6e; }
.text-link,.manifesto-link { display: inline-flex; position: relative; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 56px; padding: .9rem 1.15rem; border: 1px solid var(--action-border); background: var(--action-fill); color: #dfdfdf; font: 500 .75rem/1.5 var(--sans); letter-spacing: .035em; transform-origin: center; transition: transform .3s var(--ease),border-color .3s ease,background-color .3s ease; }
.text-link:hover,.text-link:focus-visible,.manifesto-link:hover,.manifesto-link:focus-visible { transform: scale(1.025); background: var(--action-hover); border-color: #bdbdbd; }
.text-link::before,.manifesto-link::before { content: ""; position: absolute; top: -1px; left: -1px; width: 18px; height: 18px; border-top: 1px solid #cbcbcb; border-left: 1px solid #cbcbcb; transition: width .35s var(--ease),height .35s var(--ease); }
.manifesto-link:hover::before,.manifesto-link:focus-visible::before { width: 32px; height: 24px; }
.text-link > span:last-child,.manifesto-link > span:last-child { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; padding-left: 13px; border-left: 1px solid var(--action-border); font: 400 1.1rem/1 var(--sans); color: inherit; transition: transform .3s var(--ease); }
.manifesto-link:hover > span:last-child { transform: translate(2px,-2px); }
.home-closing .closing-actions > a { width: 100%; margin-top: 0; grid-column: auto; }
.scroll-cue { min-height: 44px; border: 0; background: transparent; transition: color .4s ease; }
.scroll-cue:hover .scroll-line { transform: scaleY(1.15); }
.scroll-line { transition: transform .6s var(--ease); transform-origin: top; }

/* The margin rail is a reading instrument, not a second header. */
.section-rail { position: fixed; right: max(18px,calc((100vw - 1320px)/2)); top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 8px; }
.section-rail::before { content: ""; position: absolute; width: 1px; top: 20px; bottom: 20px; left: 19px; background: #9797972e; }
.section-rail a { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.section-rail a::before { content: ""; width: 5px; height: 5px; border: 1px solid #828282; background: var(--black); transform: rotate(45deg); transition: transform .35s var(--ease),background .35s ease; }
.section-rail a[aria-current="location"]::before { background: #e1e1e1; border-color: #e1e1e1; transform: rotate(45deg) scale(1.4); }
.section-rail span { position: absolute; right: 45px; max-width: 32ch; width: max-content; padding: .5rem .75rem; background: var(--action-fill); border: 1px solid #6e6e6e4f; font: 400 .65rem/1.5 var(--sans); letter-spacing: .04em; color: #d0d0d0; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.section-rail a:hover span,.section-rail a:focus-visible span { opacity: 1; }
body.m-open .section-rail { visibility: hidden; }
.section-rail.is-dormant { opacity: 0; visibility: hidden; pointer-events: none; }
.section-rail { transition: opacity .4s ease,visibility .4s ease; }
@media (max-width: 1300px) {
  .section-rail { top: auto; bottom: max(14px,env(safe-area-inset-bottom)); right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 0; width: max-content; max-width: calc(100% - 32px); padding: 3px 7px; overflow-x: auto; background: #0c0c0c; border: 1px solid #555; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain; user-select: none; }
  .section-rail::-webkit-scrollbar { display: none; }
  .section-rail::before { display: none; }
  .section-rail a { flex: none; width: auto; height: 44px; gap: 10px; padding: 0 12px; }
  .section-rail span { position: static; opacity: 1; border: 0; padding: 0; max-width: 26ch; background: transparent; font-size: .65rem; white-space: nowrap; }
  .section-rail a[aria-current="location"] span { color: var(--platinum); }
  body.has-section-rail .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* Replace title ink with its rune, preserving the accessible name and layout. */
body[data-page="home"] .foundation-pillar h3[data-rune],.foundation-pillar h3[data-rune] { position: relative; }
body[data-page] .foundation-pillar h3 .pillar-rune { top: 50%; left: 0; font-size: .48em; transform: translateY(-50%); opacity: 0; }
body[data-page] .foundation-pillar h3 > a { transition: opacity .35s ease; }
body[data-page] .foundation-pillar:hover .pillar-rune { opacity: 0; transform: translateY(-50%); }
body[data-page] .foundation-pillar h3:hover .pillar-rune,body[data-page] .foundation-pillar h3:focus-within .pillar-rune { opacity: 1; transform: translateY(-50%); }
body[data-page] .foundation-pillar h3:hover > a,body[data-page] .foundation-pillar h3:focus-within > a { opacity: 0; }
body[data-page="home"] .foundation-pillar h3 a::after { display: none; }

/* A quiet page map accompanies the reading column on wider screens. */
.philosophy-page { position: relative; z-index: 10; width: 100%; max-width: var(--maxw); padding: 3rem var(--pad-x) 7rem; margin-inline: auto; }
.philosophy-layout { display: grid; grid-template-columns: 160px minmax(0,760px); gap: clamp(2.5rem,5vw,4rem); justify-content: center; align-items: start; }
.philosophy-content { min-width: 0; }
.chapter-nav { position: sticky; top: calc(var(--header-height) + 3rem); padding-top: .3rem; }
.chapter-index > summary { list-style: none; cursor: default; }
.chapter-index > summary::-webkit-details-marker { display: none; }
.chapter-chevron { display: none; }
.chapter-nav ul { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.5rem; list-style: none; }
.chapter-nav a { display: flex; align-items: center; min-height: 44px; padding: .2rem 0; font-size: .82rem; color: #adadad; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.chapter-nav a:hover, .chapter-nav a:focus-visible { color: var(--platinum); text-decoration: underline; }
.philosophy-heading, .chapter-memory, .philosophy-closing { width: min(100%, 760px); margin-inline: auto; }
.philosophy-heading { padding-bottom: 3.8rem; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .75rem; color: var(--mute); margin-bottom: 2.5rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--platinum); }
.philosophy-heading h1 { font: 400 clamp(3.3rem, 6.5vw, 5.25rem)/1.04 var(--serif); letter-spacing: -.035em; }
.philosophy-heading .lead { max-width: 34ch; font-style: normal; font-size: clamp(1.7rem, 3vw, 2.15rem); color: var(--platinum); font-weight: 400; }
.philosophy-page .body-copy { max-width: 66ch; color: var(--reading); font-size: 1.0625rem; font-weight: 400; line-height: 1.85; letter-spacing: 0; margin-top: 1.5rem; text-wrap: pretty; }
.philosophy-page strong { color: var(--platinum); font-weight: 500; }
.chapter { position: relative; padding: 4rem 0 4.5rem; border-top: 1px solid rgba(237,237,236,.26); scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.chapter::before { content: none; }
.word-origin { display: flex; align-items: baseline; gap: 1.75rem; margin-top: 2.2rem; color: var(--silver); }
.word-origin dfn { font: italic 400 2rem/1.2 var(--serif); color: var(--platinum); }
.word-origin span { font: 400 .73rem/1.7 var(--sans); letter-spacing: .055em; }
.history-detail { margin-top: 3rem; }
.history-detail h3 { font: 400 1.8rem/1.2 var(--serif); color: var(--platinum); }
.philosophy-page .history-detail .body-copy { margin-top: 1rem; }
.philosophy-foundation { max-width: 760px; margin: 1rem auto 0; }
.philosophy-foundation .foundation-grid { grid-template-columns: 1fr; gap: 0; margin-top: 1.5rem; }
.philosophy-foundation .foundation-pillar { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); padding-block: 3rem; }
.philosophy-foundation .foundation-pillar + .foundation-pillar { border-top: 1px solid rgba(237,237,236,.17); }
.philosophy-foundation .foundation-pillar h3 { font-size: 3.9rem; }
.philosophy-foundation .pillar-meaning { border-top: 0; padding-top: 0; margin-top: 1.5rem; max-width: 18ch; font-size: 1.22rem; }
.philosophy-foundation .pillar-copy { margin-top: .3rem; }
.philosophy-closing { border-top: 1px solid rgba(237,237,236,.22); padding-top: .5rem; margin-top: 2rem; }
.philosophy-closing .inscription { max-width: 100%; margin-left: 0; margin-top: 3rem; }
.inscription .runic-quote { font: 400 clamp(1.25rem,2.4vw,1.8rem)/1.9 "Noto Sans Old Turkic", sans-serif; text-align: left; color: #bebebe; letter-spacing: .1em; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.inscription cite a { text-decoration: underline; text-decoration-color: #545454; text-underline-offset: .3em; transition: color .25s ease; }
.inscription cite a:hover { color: var(--platinum); }
.chapter-today { margin-top: 4rem; padding-bottom: 0; }
.chapter-today h2 { margin-top: 2rem; font: 400 clamp(2.7rem,4.8vw,4.5rem)/1.12 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.chapter-today .body-copy { margin-top: 2rem; font-size: clamp(1.0625rem,1.4vw,1.2rem); }

/* Inset rule, quiet type and a stable three-part footer. */
body[data-page] .site-footer { border-top: 0; padding: 0 var(--pad-x) calc(1.25rem + env(safe-area-inset-bottom)); font-size: .72rem; letter-spacing: .025em; }
body[data-page] .foot-inner { max-width: 1076px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 1.25rem; border-top: 1px solid rgba(237,237,236,.17); padding-top: 1.25rem; }
body[data-page] .foot-link { min-height: 44px; width: fit-content; color: #b7b7b7; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .35em; transition: color .25s ease, text-decoration-color .25s ease; }
body[data-page] .foot-link:hover { color: var(--platinum); text-decoration-color: #747474; }
body[data-page] .foot-link:last-child { justify-self: end; }
body[data-page] .foot-copy { color: #939393; font-size: .72rem; letter-spacing: .025em; }
body[data-page] .foot-ic { width: 13px; height: 13px; }

@media (max-width: 1000px) {
  .philosophy-layout { display: block; }
  .philosophy-content { max-width: 760px; margin-inline: auto; }
  .chapter-nav { position: static; max-width: 760px; margin: 0 auto 2.5rem; padding-top: 0; border-block: 1px solid rgba(237,237,236,.17); }
  .chapter-index > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-size: .7rem; letter-spacing: .13em; }
  .chapter-chevron { display: block; width: 7px; height: 7px; margin-right: 3px; border-right: 1px solid #a1a1a1; border-bottom: 1px solid #a1a1a1; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
  .chapter-index[open] .chapter-chevron { transform: rotate(225deg) translateY(-2px); }
  .chapter-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem 1.5rem; margin: .5rem 0 1.1rem; padding-top: .7rem; border-top: 1px solid rgba(237,237,236,.1); }
  .chapter-nav a { display: flex; align-items: center; min-height: 44px; width: 100%; font: 400 1.3rem/1.2 var(--serif); color: #c7c7c7; }
}

/* Repeat on every pass through the viewport. Content remains available to
   assistive technology and stays visible without JS or with reduced motion. */
/* Opacity-only keeps the observed bounds stable, preventing edge flicker. */
[data-reveal] { transition: opacity .85s ease; }
[data-reveal].reveal-pending { opacity: 0; transition-duration: .4s; pointer-events: none; }
[data-reveal]:focus-within { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) {
  /* Real phones use overlay scrollbars. Do not reserve a desktop gutter that
     offsets the hero and makes a fixed menu use a different center. */
  html { scrollbar-gutter: auto; scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  body[data-page] { --header-height: 66px; }
  body[data-page] .site-header { padding-block: .6rem; }
  body[data-page="home"] .hero { padding: calc(3rem - var(--hero-lift)) var(--pad-x) calc(4.75rem + var(--hero-lift)); }
  .hero-core .hero-id { margin-top: .8rem; }
  .hero-copy { max-width: 520px; gap: .85rem; margin-top: 1.8rem; }
  body[data-page="home"] .tagline { font-size: clamp(1.35rem,5.7vw,2rem); letter-spacing: .015em; }
  body[data-page="home"] .subline { max-width: 35ch; font-size: .9rem; }
  .editorial-section { padding-block: 4.5rem; }
  .meaning-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .meaning-heading { gap: 1rem; }
  .excerpt-lead { max-width: 31ch; }
  .reading-copy { margin-top: 1.35rem; }
  body[data-page="home"] .editorial-section { padding-block: 4.5rem; }
  .meaning-heading { gap: 1.25rem; }
  .meaning-heading h2 { max-width: none; font-size: clamp(3.1rem,12vw,4.5rem); }
  .meaning-heading .runic-signature { font-size: 2.4rem; }
  .meaning-excerpt .excerpt-lead { font-size: 2.1rem; }
  .home-history { display: block; }
  .home-history .inscription { margin-block: 3rem; }
  .home-history .inscription blockquote { font-size: clamp(1.95rem,7.5vw,2.65rem); }
  .home-history > .reading-copy:last-child { margin-top: 0; }
  .home-closing { display: block; }
  .home-closing .closing-motto { font-size: clamp(2.7rem,10.5vw,4rem); }
  .home-closing .closing-copy { margin-top: 2rem; }
  .closing-actions { margin-top: 1.5rem; grid-template-columns: 1fr; }
  .foundation-grid { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 2.5rem; }
  body[data-page="home"] .foundation-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 2.5rem; }
  body[data-page="home"] .foundation-pillar,
  body[data-page="home"] .foundation-pillar:first-child,
  body[data-page="home"] .foundation-pillar:last-child { padding: 2.25rem clamp(.65rem,2.7vw,1.6rem) 1.25rem; }
  body[data-page="home"] .foundation-pillar:first-child { padding-left: 0; }
  body[data-page="home"] .foundation-pillar:last-child { padding-right: 0; }
  body[data-page="home"] .foundation-pillar + .foundation-pillar { border-left: 1px solid rgba(237,237,236,.17); border-top: 1px solid #7d7d7d4f; }
  body[data-page="home"] .foundation-pillar .pillar-rune { font-size: .65rem; top: .7rem; }
  body[data-page="home"] .foundation-pillar::after { font-size: 1rem; padding-top: 1.75rem; }
  body[data-page="home"] .foundation-pillar h3 { font-size: clamp(2rem,7.4vw,3.7rem); }
  body[data-page="home"] .pillar-gloss { font-size: clamp(.52rem,1.6vw,.61rem); letter-spacing: .13em; }
  body[data-page="home"] .pillar-meaning { font-size: clamp(1rem,2.8vw,1.3rem); margin-top: 1.5rem; text-wrap: balance; }
  .foundation-pillar { max-width: 560px; width: 100%; margin-inline: auto; }
  .foundation-pillar h3 { font-size: 3.7rem; }
  .pillar-meaning { margin-top: 1.5rem; padding-top: 1.1rem; }
  .pillar-copy { font-size: 1.0625rem; margin-top: 1rem; line-height: 1.85; }
  .philosophy-foundation .foundation-pillar { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .philosophy-foundation .foundation-pillar h3 { font-size: 3.7rem; }
  .philosophy-foundation .pillar-meaning { max-width: none; margin-top: 1.2rem; }
  .philosophy-foundation .pillar-copy { margin-top: 1.4rem; }
  .philosophy-page { padding-top: 1.8rem; padding-bottom: 4rem; }
  .philosophy-heading { padding-bottom: 2.8rem; }
  .breadcrumb { margin-bottom: 2rem; }
  .chapter { padding-block: 2.8rem; }
  .philosophy-page .body-copy { font-size: 1.0625rem; }
  .philosophy-closing { margin-top: 1rem; }
  body[data-page] .foot-inner { grid-template-columns: minmax(0,1fr) auto; gap: .5rem 1rem; padding-top: .8rem; }
  body[data-page] .foot-link { font-size: .72rem; }
  body[data-page] .foot-link:last-child { grid-column: 2; grid-row: 1; }
  body[data-page] .foot-copy { grid-column: 1 / -1; grid-row: 2; order: 0; margin-top: .2rem; width: 100%; text-align: center; white-space: normal; line-height: 1.6; }
}
@media (max-width: 360px) {
  body[data-page="home"] .tagline { font-size: 1.31rem; }
  body[data-page="home"] .foundation-pillar h3 { font-size: 1.75rem; }
  body[data-page="home"] .subline { font-size: .86rem; }
}
@media (max-height: 650px) and (max-width: 760px) {
  body[data-page="home"] .hero { padding-top: calc(2rem - var(--hero-lift)); padding-bottom: calc(7rem + var(--hero-lift)); }
  .hero-core .hero-id { margin-top: .3rem; }
  .hero-core .mark { width: 96px; }
  .hero-copy { gap: .65rem; margin-top: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .runes { transition: none; }
  [data-reveal], .text-link, .text-link > span:last-child { transition: none; }
  .text-link:hover, .text-link:focus-visible, .lang button:hover, .lang button:focus-visible { transform: none; }
  .menu-icon::before, .menu-icon::after { transition: none; }
  .chapter-chevron { transition: none; }
  .rune-active, .pillar-rune { transition: none; }
  .section-rail a::before,.section-rail span,.foundation-pillar,.foundation-pillar h3 a,.foundation-pillar::after,.text-link::before,.manifesto-link,.manifesto-link::before { transition: none !important; }
  .manifesto-link:hover,.manifesto-link:focus-visible { transform: none; }
  [data-reveal].reveal-pending { opacity: 1; transform: none; pointer-events: auto; }
}
@media print {
  [data-reveal].reveal-pending { opacity: 1; transform: none; pointer-events: auto; }
  .runes, .scroll-cue { display: none; }
}

/* Whole-pillar hit area; the rune and word share the same grid cell. */
body[data-page="home"] .foundation-pillar h3[data-rune] { position: static; display: grid; }
body[data-page="home"] .foundation-pillar h3 > a { grid-area: 1 / 1; }
body[data-page="home"] .foundation-pillar h3 a::after { display: block; position: absolute; inset: 0; }
body[data-page="home"] .foundation-pillar h3 .pillar-rune { position: static; grid-area: 1 / 1; align-self: center; transform: none; }
body[data-page="home"] .foundation-pillar:hover h3 .pillar-rune,
body[data-page="home"] .foundation-pillar:focus-within h3 .pillar-rune { opacity: 1; transform: none; }
body[data-page="home"] .foundation-pillar:hover h3 > a,
body[data-page="home"] .foundation-pillar:focus-within h3 > a { opacity: 0; }
body[data-page="home"] .home-closing { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
body[data-page="home"] .home-closing .closing-copy { margin-inline: auto; }
body[data-page="home"] .home-closing .closing-actions { width: min(100%,620px); margin-inline: auto; }
.section-rail span { text-transform: uppercase; letter-spacing: .1em; }
