:root {
  --ink: #080808;
  --paper: #f0eee9;
  --white: #fff;
  --red: #e3261c;
  --muted: #aaa8a3;
  --line: rgba(255,255,255,.17);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.inline-logo {
  display: inline-block;
  width: 2.35em;
  height: 2.35em;
  margin: -.68em .08em -.68em -.12em;
  object-fit: contain;
  vertical-align: middle;
}
.inline-logo--heading {
  width: 1.85em;
  height: 1.85em;
  margin: -.48em .02em -.48em -.08em;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--white); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.scrolled { height: 5rem; background: rgba(8,8,8,.93); backdrop-filter: blur(16px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 1.2rem; text-decoration: none; }
.brand img { width: 4.5rem; height: 3.2rem; object-fit: contain; }
.brand span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #d1cfca; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.8rem); }
nav a { text-decoration: none; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #d2d0cb; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--white); }
nav a[aria-current="page"] { color: var(--white); }
.nav-cta { border: 1px solid rgba(255,255,255,.5); padding: .8rem 1.15rem; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 9rem clamp(1.25rem, 7vw, 8rem) 5rem;
  isolation: isolate;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: -3; background: #080808 url("field-heritage.webp") center 55% / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,4,4,.98) 0%, rgba(4,4,4,.91) 38%, rgba(4,4,4,.48) 70%, rgba(4,4,4,.32) 100%), linear-gradient(0deg, rgba(4,4,4,.9) 0%, transparent 48%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); }
.hero-content { width: min(56rem, 76vw); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.8rem; color: var(--red); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8.8vw, 9.5rem); line-height: .85; font-weight: 400; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--red); font-style: italic; }
.hero-statement { margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.15; color: #b9b7b2; }
.hero-intro { max-width: 40rem; margin: 2rem 0 2.5rem; color: #c7c5c0; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--white); text-decoration: none; text-transform: uppercase; font-size: .75rem; letter-spacing: .18em; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: .45rem; }
.text-link span { color: var(--red); font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(.25rem); }
.hero-mark { position: absolute; right: -2rem; bottom: -3rem; width: clamp(18rem, 38vw, 42rem); opacity: .30; user-select: none; pointer-events: none; }
.hero-mark img { width: 100%; mix-blend-mode: screen; }

.section { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.section-label { display: flex; gap: .7rem; align-items: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #777570; }
.section-label span { color: var(--red); }
.manifesto { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(9rem, .7fr) 2fr; gap: clamp(2rem, 6vw, 7rem); }
.manifesto-copy { max-width: 68rem; }
.manifesto-copy p { max-width: 54rem; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: #55534f; }
.manifesto-copy .lead { max-width: 64rem; margin: 0 0 2.5rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5.6rem); line-height: 1.02; color: var(--ink); }
.manifesto-copy strong { color: var(--red); font-weight: 500; }
.core-values { grid-column: 2; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.core-values span { padding: .55rem .85rem; border: 1px solid #c8c5bf; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.photo-sequence { display: grid; grid-template-columns: repeat(3, 1fr); background: #080808; padding: 0; }
.photo-sequence figure { margin: 0; height: clamp(20rem, 34vw, 38rem); position: relative; overflow: hidden; border-right: 1px solid rgba(255,255,255,.18); }
.photo-sequence figure:last-child { border-right: 0; }
.photo-sequence img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.72); transition: transform .9s ease, filter .45s ease; }
.photo-sequence figure:nth-child(1) img { object-position: 47% center; }
.photo-sequence figure:nth-child(2) img { object-position: 63% center; }
.photo-sequence figure:nth-child(3) img { object-position: 63% center; }
.photo-sequence figure:hover img { transform: scale(1.03); filter: saturate(.92) brightness(.85); }
.photo-sequence figcaption { position: absolute; inset: auto 0 0; padding: 5rem 1.8rem 1.6rem; background: linear-gradient(0deg, rgba(0,0,0,.92), transparent); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.photo-sequence figcaption span { color: var(--red); margin-right: .8rem; }

.systems { background: #101010; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: clamp(4rem, 7vw, 7rem); }
.section-heading h2 { margin: -.25rem 0 0; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 7rem); line-height: .92; font-weight: 400; }
.system-grid { border-top: 1px solid var(--line); }
.system-card { min-height: 19rem; display: grid; grid-template-columns: 5rem minmax(0, 1fr) 14rem; align-items: center; gap: clamp(1rem, 4vw, 5rem); border-bottom: 1px solid var(--line); position: relative; transition: background .25s ease; color: inherit; text-decoration: none; }
.system-card:hover { background: rgba(255,255,255,.025); }
.card-number { font-family: var(--serif); font-size: 2rem; color: #5f5d59; }
.card-kicker { margin: 0 0 .35rem; color: var(--red); font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; }
.system-card h3 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 4rem); font-weight: 400; line-height: 1; }
.system-card p:last-child { max-width: 45rem; margin: 0; color: #a6a49f; }
.card-link { justify-self: end; color: #cfcdc8; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: .45rem; }
.card-link span { color: var(--red); margin-left: .5rem; }

.principles { background: var(--ink); }
.principle-feature { max-width: 78rem; margin: clamp(4rem, 8vw, 8rem) auto; text-align: center; position: relative; }
.quote-mark { margin: 0; font-family: var(--serif); color: var(--red); font-size: 8rem; line-height: .45; }
blockquote { margin: 1rem 0 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 5.6rem); line-height: 1.04; }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-item { min-height: 18rem; padding: clamp(2rem, 4vw, 4.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .25s ease; }
.principle-item:hover, .principle-item:focus-visible { background: rgba(255,255,255,.03); }
.principle-list span { color: var(--red); font-size: .72rem; letter-spacing: .18em; }
.principle-list h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.7rem); font-weight: 400; margin: 2.5rem 0 1rem; }
.principle-list p { color: #9e9c98; max-width: 32rem; margin: 0; }

.event-section { background: var(--paper); color: var(--ink); }
.event-panel { background: var(--ink); color: var(--white); min-height: 35rem; padding: clamp(2rem, 6vw, 7rem); display: grid; grid-template-columns: minmax(12rem, .7fr) 1.5fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; position: relative; overflow: hidden; }
.event-panel::after { content: ""; position: absolute; right: -5rem; bottom: -5rem; width: min(42vw, 36rem); aspect-ratio: 1; background: url("m100-logo-transparent.png") center / contain no-repeat; opacity: .035; mix-blend-mode: screen; }
.event-panel img { width: min(100%, 22rem); mix-blend-mode: screen; }
.event-panel > div { position: relative; z-index: 1; }
.event-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: .98; font-weight: 400; }
.event-panel div > p:not(.eyebrow) { max-width: 41rem; margin: 2rem 0 0; color: #aeaca7; font-size: 1.05rem; }
.event-panel .text-link { margin-top: 2rem; color: var(--white); }

/* Editorial subpages */
.detail-page .site-header { background: rgba(8,8,8,.93); backdrop-filter: blur(16px); border-color: var(--line); }
.page-hero { min-height: 78svh; padding: 11rem clamp(1.25rem, 7vw, 8rem) 5rem; display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--page-image); background-position: var(--page-position, center); background-size: cover; filter: saturate(.72); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,4,4,.97) 0%, rgba(4,4,4,.78) 48%, rgba(4,4,4,.28) 100%), linear-gradient(0deg, rgba(4,4,4,.94), transparent 65%); }
.page-hero-content { width: min(74rem, 92vw); }
.page-hero h1 { max-width: 70rem; font-size: clamp(4rem, 8vw, 8.5rem); }
.page-hero .hero-intro { max-width: 51rem; margin-bottom: 0; }
.page-hero--system { --page-image: url("field-engineering.webp"); --page-position: center 62%; }
.page-hero--classic { --page-image: url("system-classic.webp"); --page-position: center 58%; }
.page-hero--race { --page-image: url("system-race.webp"); --page-position: center 52%; }
.page-hero--hypercar { --page-image: url("system-hypercar.webp"); --page-position: center 54%; }
.page-hero--process { --page-image: url("field-design.webp"); --page-position: center 55%; }
.page-hero--about { --page-image: url("field-heritage.webp"); --page-position: center 54%; }
.page-hero--who { --page-image: url("hero-heritage.webp"); --page-position: center 55%; }
.page-hero--resources { --page-image: url("field-design.webp"); --page-position: center 48%; }

.subnav { padding: 1.35rem clamp(1.25rem, 7vw, 8rem); border-bottom: 1px solid var(--line); display: flex; gap: 1.5rem 2.5rem; flex-wrap: wrap; position: sticky; top: 5rem; z-index: 10; background: rgba(8,8,8,.96); backdrop-filter: blur(14px); }
.subnav a { color: #aaa8a3; text-decoration: none; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.subnav a:hover, .subnav a:focus-visible { color: var(--white); }

.editorial { background: var(--paper); color: var(--ink); }
.content-layout { display: grid; grid-template-columns: minmax(9rem, .65fr) minmax(0, 2fr); gap: clamp(2rem, 7vw, 8rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.content-aside { position: sticky; top: 9.5rem; align-self: start; }
.content-aside p { margin: 0 0 1rem; color: #8a8781; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.content-aside strong { display: block; color: var(--red); font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 6.5rem); line-height: .9; font-weight: 400; }
.content-aside .aside-logo { width: min(100%, 10rem); background: var(--paper); padding: .35rem; }
.content-main { max-width: 74rem; }
.content-section { padding: 0 0 clamp(5rem, 8vw, 8rem); margin-bottom: clamp(5rem, 8vw, 8rem); border-bottom: 1px solid #cbc8c2; scroll-margin-top: 10rem; }
.content-section:last-child { margin-bottom: 0; border-bottom: 0; }
.overline { margin: 0 0 1.25rem; color: var(--red); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.content-section h2 { max-width: 58rem; margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .98; font-weight: 400; }
.content-section h3 { margin: 3rem 0 1rem; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.8rem); line-height: 1.08; font-weight: 400; }
.content-section > p, .content-section li { max-width: 52rem; color: #54514c; font-size: clamp(1.02rem, 1.25vw, 1.18rem); }
.content-section ul { margin: 1.5rem 0 0; padding-left: 1.3rem; }
.content-section li + li { margin-top: .75rem; }
.lead-copy { max-width: 64rem !important; color: var(--ink) !important; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.9rem) !important; line-height: 1.08; }
.pull-quote { max-width: 66rem; margin: 3.5rem 0; padding: 2.5rem 0 2.5rem clamp(1.5rem, 4vw, 4rem); border-left: 2px solid var(--red); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.3rem); line-height: 1.1; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: #c8c5bf; border: 1px solid #c8c5bf; }
.fact-card { background: var(--paper); padding: clamp(1.8rem, 3.5vw, 3.2rem); }
.fact-card .fact-number { margin: 0 0 1.2rem; color: var(--red); font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.5rem); line-height: .85; }
.fact-card .fact-logo { width: min(10rem, 78%); height: clamp(4.25rem, 7vw, 6rem); margin: 0 0 1.2rem; padding: .25rem .4rem; background: var(--paper); object-fit: contain; object-position: left center; }
.fact-card h3 { margin: 0 0 .8rem; }
.fact-card p { margin: 0; color: #65625d; }
.steps { counter-reset: m100-step; margin-top: 3rem; border-top: 1px solid #c8c5bf; }
.step { counter-increment: m100-step; display: grid; grid-template-columns: 4rem 1fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid #c8c5bf; }
.step::before { content: counter(m100-step, decimal-leading-zero); color: var(--red); font-size: .76rem; letter-spacing: .16em; }
.step h3 { margin: 0 0 .7rem; }
.step p { margin: 0; max-width: 52rem; color: #605d58; }
.example { margin-top: 3rem; padding: clamp(2rem, 4vw, 4rem); background: var(--ink); color: var(--white); }
.example .overline { margin-bottom: 1rem; }
.example h3 { margin: 0 0 1.2rem; }
.example p { max-width: 54rem; margin: 0; color: #b8b5af; }
.example p + p { margin-top: 1rem; }
.timeline { margin-top: 3rem; }
.timeline-row { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid #c8c5bf; }
.timeline-row:last-child { border-bottom: 1px solid #c8c5bf; }
.timeline-row strong { color: var(--red); font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.timeline-row p { margin: 0; color: #5d5a55; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 74rem; gap: clamp(1.25rem, 2.4vw, 2.25rem); margin: 3rem 0 3.5rem; }
.person-card { margin: 0; background: var(--ink); color: var(--white); overflow: hidden; }
.person-card > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.88); }
.person-card--christian > img { object-position: center 44%; }
.person-card--nigel > img { object-position: center 43%; }
.person-card--ed > img { object-position: center 32%; }
.person-card figcaption { padding: 1.15rem 1.2rem 1.3rem; border-top: 2px solid var(--red); }
.person-card h3 { margin: 0 0 .35rem; color: var(--white); font-size: 1.35rem; line-height: 1.1; }
.person-card p { margin: 0; color: #aaa8a3; font-size: .69rem; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: #c8c5bf; border: 1px solid #c8c5bf; }
.resource-grid--forms { grid-template-columns: 1fr; gap: 1.35rem; background: transparent; border: 0; }
.resource-grid--forms .resource-card--form { min-height: 0; padding: clamp(1.8rem, 3vw, 3rem); border: 1px solid #c8c5bf; }
.resource-grid--forms .resource-card--form h3 { font-size: clamp(1.55rem, 2.4vw, 2.35rem); }
.resource-grid--forms .resource-card--form > p:not(.resource-type) { max-width: 54rem; font-size: .98rem; }
.resource-grid--forms .form-preview { margin-top: 1rem; padding-top: 1.35rem; }
.resource-grid--forms .form-preview[open] { width: 100%; }
.resource-grid--forms .protected-preview { width: 100%; margin-top: 1.5rem; padding: clamp(.45rem, .8vw, .8rem); }
.resource-grid--forms .protected-preview img { width: 100%; max-width: none; }
.resource-grid--secondary { margin-top: 1.35rem; }
.resource-card { min-height: 14rem; padding: clamp(1.5rem, 2.4vw, 2.25rem); background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; }
.resource-card .resource-type { margin: 0 0 1.35rem; color: var(--red); font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.resource-card h3 { margin: 0 0 .7rem; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.14; }
.resource-card > p:not(.resource-type) { margin: 0; color: #65625d; font-size: .9rem; line-height: 1.55; }
.resource-card--available { position: relative; background: #ebe8e2; }
.resource-card--available .resource-type { padding-right: 6rem; }
.resource-card--available::before { content: "Available"; position: absolute; top: 1.6rem; right: 1.6rem; color: #78746e; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.form-preview { width: 100%; margin-top: auto; padding-top: 1.5rem; }
.form-preview summary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: .7rem 1rem; color: #fff; background: var(--red); border: 1px solid var(--red); cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .13em; list-style: none; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease; }
.form-preview summary::-webkit-details-marker { display: none; }
.form-preview summary:hover { background: #151515; border-color: #151515; }
.protected-preview { position: relative; width: 100%; margin-top: 1.4rem; padding: .55rem; background: #171717; box-shadow: 0 1.4rem 4rem rgba(0,0,0,.2); overflow: hidden; user-select: none; -webkit-user-select: none; }
.protected-preview::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.protected-preview img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.preview-open { position: absolute; right: 1rem; bottom: 1rem; z-index: 4; display: inline-flex; align-items: center; justify-content: center; min-height: 2.55rem; padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.2); background: rgba(8,8,8,.88); color: #fff; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.preview-open:hover, .preview-open:focus-visible { background: var(--red); border-color: var(--red); }
.preview-note { margin: .9rem 0 0; color: #77736c !important; font-size: .75rem !important; line-height: 1.5; }
.preview-modal { position: fixed; inset: 0; z-index: 120; display: none; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(5,5,5,.97); }
.preview-modal.is-open { display: block; }
.preview-modal__panel { display: flex; flex-direction: column; width: min(100%, 1500px); height: 100%; margin: 0 auto; }
.preview-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.preview-modal__header h2 { margin: .15rem 0 0; color: #fff; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 400; line-height: 1; }
.preview-modal__eyebrow { margin: 0; color: var(--red); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.preview-modal__close, .preview-modal__controls button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.18); background: #141414; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.preview-modal__close:hover, .preview-modal__close:focus-visible, .preview-modal__controls button:hover, .preview-modal__controls button:focus-visible { background: var(--red); border-color: var(--red); }
.preview-modal__hint { margin: 0 0 1rem; max-width: 56rem; color: #b8b5af; font-size: .85rem; }
.preview-modal__viewport { flex: 1; min-height: 0; overflow: auto; padding: .8rem; background: #0d0d0d; border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.preview-modal__image { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; user-select: none; -webkit-user-drag: none; }
.preview-modal__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem; padding-top: 1rem; }
.preview-modal__zoom-display { min-width: 4.5rem; color: #d2d0cb; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-align: center; }
body.preview-modal-open { overflow: hidden; }
.resource-status { margin-top: auto; padding-top: 2rem; color: #77736c; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.youtube-placeholder { min-height: 22rem; margin-top: 3rem; padding: clamp(2rem, 5vw, 5rem); background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; border-top: 2px solid var(--red); }
.youtube-placeholder .resource-type, .contact-panel .resource-type { margin: 0 0 1.25rem; color: var(--red); font-size: .7rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.youtube-placeholder h3 { margin: 0 0 1rem; color: var(--white); }
.youtube-placeholder > p:not(.resource-type) { max-width: 48rem; margin: 0; color: #b8b5af; }
.youtube-placeholder .resource-status { color: #8f8c87; }
.contact-panel { margin-top: 3rem; padding: clamp(2rem, 4vw, 4rem); background: #e5e2dc; border-top: 2px solid var(--red); }
.contact-address { margin: 0; color: var(--ink) !important; font-family: var(--serif); font-size: clamp(1.65rem, 3.7vw, 3.5rem) !important; line-height: 1.05; overflow-wrap: anywhere; }
.next-page { background: #101010; color: var(--white); padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 7vw, 8rem); display: flex; justify-content: space-between; gap: 2rem; align-items: end; text-decoration: none; }
.next-page p { margin: 0 0 .8rem; color: var(--red); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
.next-page h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.5rem); font-weight: 400; line-height: 1; }
.next-page > span { color: var(--red); font-size: 3rem; transition: transform .25s ease; }
.next-page:hover > span { transform: translateX(.5rem); }

footer { padding: 3rem clamp(1.25rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr auto auto auto; gap: 2rem 3rem; align-items: end; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 1.2rem; }
.footer-brand img { width: 5rem; }
.footer-brand p, .footer-note, .site-version, .copyright { margin: 0; color: #74726e; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-note { color: #aaa8a3; }
.site-version { color: var(--red); white-space: nowrap; }
.copyright a { color: inherit; text-underline-offset: .3em; transition: color .2s ease; }
.copyright a:hover, .copyright a:focus-visible { color: var(--white); }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 850px) {
  .site-header { height: 5rem; }
  .brand span { display: none; }
  .brand img { width: 4rem; }
  .menu-toggle { display: grid; gap: .38rem; border: 0; background: transparent; padding: .7rem; }
  .menu-toggle span:not(.sr-only) { width: 1.6rem; height: 1px; background: var(--white); transition: transform .2s ease; }
  nav { display: none; position: absolute; top: 5rem; left: 0; width: 100%; padding: 2rem 1.25rem 3rem; background: rgba(8,8,8,.98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  nav.open { display: flex; }
  nav a { font-size: 1rem; }
  .hero { align-items: end; padding-top: 8rem; }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(3.6rem, 16vw, 6.8rem); }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,4,4,.97) 0%, rgba(4,4,4,.8) 70%, rgba(4,4,4,.42) 100%); }
  .manifesto { grid-template-columns: 1fr; }
  .core-values { grid-column: 1; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 2rem; }
  .photo-sequence { grid-template-columns: 1fr; }
  .photo-sequence figure { height: 72vw; min-height: 20rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .system-card { grid-template-columns: 3rem 1fr; padding: 2.5rem 0; }
  .card-link { grid-column: 2; justify-self: start; }
  .principle-list { grid-template-columns: 1fr; }
  .event-panel { grid-template-columns: 1fr; }
  .event-panel img { width: 9rem; }
  footer { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .page-hero { min-height: 70svh; padding-top: 9rem; }
  .page-hero h1 { font-size: clamp(3.4rem, 14vw, 6.2rem); }
  .page-hero::after { background: linear-gradient(0deg, rgba(4,4,4,.97) 0%, rgba(4,4,4,.75) 72%, rgba(4,4,4,.42) 100%); }
  .subnav { top: 5rem; flex-wrap: nowrap; overflow-x: auto; }
  .subnav a { flex: 0 0 auto; }
  .content-layout { grid-template-columns: 1fr; }
  .content-aside { position: static; }
  .fact-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .next-page { align-items: center; }
}

@media (min-width: 851px) and (max-width: 1320px) {
  .site-header { padding-inline: 1.5rem; }
  .brand span { display: none; }
  nav { gap: .8rem; }
  nav a { font-size: .66rem; letter-spacing: .08em; }
  footer { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 851px) and (max-width: 1100px) {
  .people-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid--forms { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .preview-open { left: .9rem; right: .9rem; bottom: .9rem; }
  .preview-modal { padding: max(.6rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right)) max(.8rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left)); }
  .preview-modal__header { align-items: center; }
  .preview-modal__close { flex: 0 0 auto; }
  .preview-modal__hint { font-size: .78rem; }
  .preview-modal__viewport { padding: .4rem; }
}

@media (max-width: 480px) {
  .hero-statement { margin-top: 1.5rem; }
  .hero-intro { margin-top: 1.5rem; }
  .system-card { grid-template-columns: 1fr; }
  .card-number { font-size: 1.2rem; }
  .principle-item { min-height: auto; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
  .step, .timeline-row { grid-template-columns: 1fr; gap: .8rem; }
  .inline-logo { width: 2.15em; height: 2.15em; margin-top: -.58em; margin-bottom: -.58em; }
}
