:root {
  --surface-light: #eef0e8;
  --surface-shadow: #183436;
  --text-on-light: #183436;
  --text-on-dark: #f8f6ee;
  --accent: #8da58e;
  --signal: #b97952;
  --paper: var(--surface-light);
  --ink: var(--surface-shadow);
  --ink-soft: #305d5c;
  --clay: var(--signal);
  --moss: var(--accent);
  --line: rgba(24, 52, 54, .2);
  --light: var(--text-on-dark);
  --rail: 18.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-left: var(--rail); background: var(--paper); color: var(--ink); font: 1rem/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
button, a { font: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: .25rem; }
.site-nav { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: var(--rail); min-height: 100vh; padding: 1.8rem 1.5rem; flex-direction: column; justify-content: space-between; background: var(--ink); color: var(--light); }
.brand-lockup { display: block; border-bottom: 1px solid rgba(248,246,238,.38); padding-bottom: 1.5rem; }
.brand-lockup img { display: block; width: 100%; height: auto; }
.brand-lockup span { display: block; margin-top: .9rem; color: #d6a76f; font-size: .73rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: grid; gap: .2rem; margin: 2rem 0 auto; }
.nav-links a { padding: .58rem 0; text-decoration: none; font-size: .92rem; }
.nav-links a[href="hofmann-v8-directed-rollout.html"] { color: #d6a76f; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; line-height: 1.1; }
.nav-contact { display: grid; gap: .45rem; padding-top: 1.25rem; border-top: 1px solid rgba(248,246,238,.38); }
.nav-contact strong { font: 400 1.45rem/1.05 Georgia, 'Times New Roman', serif; }
.nav-contact p { margin: 0; font-size: .85rem; }
.nav-contact a { color: #d6a76f; font-weight: 700; }
.mobile-nav-toggle { display: none; }
main { min-height: 100vh; }
.eyebrow, .art-label, .page-kicker { margin: 0; color: var(--clay); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.intro, .page-section { position: relative; overflow: clip; padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7.5rem); }
.intro { display: grid; min-height: min(53rem, 100svh); align-content: end; color: var(--light); background: var(--ink); }
.intro::before { position: absolute; inset: 0; z-index: -1; content: ''; opacity: .5; background: linear-gradient(90deg, rgba(8,29,30,.94), rgba(8,29,30,.45)), var(--hero-image) center/cover; }
.intro-content { display: grid; max-width: 44rem; gap: 1.2rem; }
h1, h2, h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
h1 { max-width: 12ch; font-size: clamp(4.25rem, 10vw, 9rem); }
h2 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 5.7rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.lead { max-width: 42rem; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); text-wrap: pretty; }
.text-link { display: inline-block; width: fit-content; margin-top: .4rem; padding-bottom: .35rem; border-bottom: 2px solid var(--clay); font-weight: 700; text-decoration: none; }
.chapter { position: relative; display: grid; min-height: max(42rem, 90svh); align-content: end; padding: clamp(4rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7.5rem); overflow: clip; color: var(--light); isolation: isolate; }
.chapter--light { color: var(--ink); }
.chapter-art { position: absolute; inset: 0; z-index: -2; margin: 0; background: var(--ink-soft); }
.chapter-art img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; animation: hofmann-ambient-drift 22s ease-in-out infinite alternate; }
@keyframes hofmann-ambient-drift {
  from { transform: scale(1.018) translate3d(-.35%, -.2%, 0); }
  to { transform: scale(1.055) translate3d(.35%, .2%, 0); }
}
.chapter-art::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(8,29,30,.9), rgba(8,29,30,.36) 58%, rgba(8,29,30,.04)); }
.chapter--right .chapter-art::after { background: linear-gradient(270deg, rgba(8,29,30,.88), rgba(8,29,30,.35) 58%, rgba(8,29,30,.04)); }
.chapter--light .chapter-art::after { background: linear-gradient(90deg, rgba(248,246,238,.94), rgba(248,246,238,.43) 58%, rgba(248,246,238,.08)); }
.chapter-content { display: grid; width: min(100%, 44rem); gap: 1rem; }
.chapter--right .chapter-content { margin-left: auto; }
.art-label { display: inline-flex; width: fit-content; padding: .28rem .5rem; border: 1px solid currentColor; background: rgba(24,52,54,.16); }
.process, .content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 75rem; margin-top: 2.3rem; padding-top: 1.2rem; border-top: 1px solid currentColor; }
.process p, .content-grid p { margin: 0; }
.process strong { display: block; margin-bottom: .45rem; }
.page-section { display: grid; gap: 2rem; background: var(--light); }
.page-section--ink { color: var(--light); background: var(--ink); }
.page-section--moss { background: #dfe7db; }
.page-section--image { min-height: 36rem; align-content: end; color: var(--light); background: linear-gradient(90deg, rgba(8,29,30,.9), rgba(8,29,30,.3)), var(--section-image) center/cover; }
.page-copy { display: grid; max-width: 47rem; gap: 1.1rem; }
.page-copy p { max-width: 39rem; margin: 0; }
.quiet-list { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.quiet-list li { padding: .8rem 0; border-top: 1px solid currentColor; }
.notice { max-width: 50rem; padding: 1.2rem; border-left: .32rem solid var(--clay); background: rgba(24,52,54,.07); }
.page-section--ink .notice { background: rgba(248,246,238,.11); }
.site-footer { padding: 1.5rem clamp(1.4rem, 7vw, 7.5rem); color: var(--light); background: #102829; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.signal-trigger { display: inline-grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; background: rgba(24,52,54,.12); color: inherit; cursor: pointer; }
.signal-panel { position: fixed; z-index: 40; right: clamp(1rem, 4vw, 4rem); bottom: 1.5rem; width: min(29rem, calc(100vw - 2rem)); padding: 1.5rem; color: var(--light); background: var(--ink); box-shadow: 0 1.5rem 4rem rgba(8,29,30,.4); }
.signal-panel h3 { margin: .3rem 0 .8rem; }
.panel-close { float: right; border: 0; color: inherit; background: transparent; cursor: pointer; }
@media (max-width: 760px) {
  body { padding-left: 0; }
  .site-nav { width: min(22rem, calc(100vw - 3.6rem)); padding-top: 5.8rem; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 1rem 0 3rem rgba(8,29,30,.36); }
  .site-nav.is-open { transform: translateX(0); }
  .mobile-nav-toggle { position: fixed; z-index: 30; top: 1rem; left: 1rem; display: inline-flex; min-height: 2.8rem; align-items: center; gap: .55rem; padding: .55rem .75rem; border: 1px solid rgba(248,246,238,.5); color: var(--light); background: rgba(24,52,54,.94); cursor: pointer; }
  .mobile-nav-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .chapter { min-height: 45rem; }
  .chapter-art::after, .chapter--right .chapter-art::after, .chapter--light .chapter-art::after { background: linear-gradient(0deg, rgba(8,29,30,.9), rgba(8,29,30,.32) 62%, rgba(8,29,30,.05)); }
  .chapter--light .chapter-art::after { background: linear-gradient(0deg, rgba(248,246,238,.93), rgba(248,246,238,.36) 62%, rgba(248,246,238,.06)); }
  .chapter--right .chapter-content { margin-left: 0; }
  .process, .content-grid { grid-template-columns: 1fr 1fr; }
  .signal-panel { right: 0; bottom: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .chapter-art img { animation: none; transform: none; }
}
