:root {
  color-scheme: light;
  --paper: #f4f2eb;
  --paper-soft: #ebe9df;
  --ink: #252922;
  --muted: #62665c;
  --line: #d3d3c8;
  --accent: #59654e;
  --dark: #28312b;
  --dark-text: #f4f2eb;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }

.site-header { display: flex; width: min(100% - 48px, 1280px); min-height: 82px; justify-content: space-between; align-items: center; gap: 30px; margin: auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; width: 42px; height: 42px; object-fit: cover; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .67rem; letter-spacing: .06em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.6vw, 34px); }
.site-header nav a, .site-footer a { color: var(--muted); font-size: .67rem; font-weight: 650; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); text-decoration: underline; }

.hero { padding-block: clamp(86px, 13vw, 170px) clamp(90px, 12vw, 148px); }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 870px; margin-bottom: 28px; font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: .99; }
.hero-lead { max-width: 730px; margin-bottom: 20px; color: #454a42; font: clamp(1.2rem, 2.3vw, 1.75rem)/1.55 var(--serif); }
.hero-note { max-width: 650px; color: var(--muted); font-size: .87rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.text-link span { font-size: 1.2rem; }

.section { padding-block: clamp(75px, 10vw, 126px); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .eyebrow { color: #bdc6ad; }
.section h2, .closing h2 { max-width: 850px; margin-bottom: 26px; font-size: clamp(2.5rem, 5.3vw, 4.7rem); line-height: 1.05; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 80px); max-width: 1000px; color: #e1e4db; }
.columns p { margin-bottom: 0; }
.statement { max-width: 850px; margin: 56px 0 0; padding-top: 24px; border-top: 1px solid #566057; color: #c8d0bf; font: clamp(1.25rem, 2.3vw, 1.8rem)/1.5 var(--serif); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; column-gap: 70px; margin-bottom: 48px; }
.section-heading .eyebrow, .section-heading h2 { grid-column: 1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { margin-bottom: 4px; color: var(--muted); }
.relation-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.relation-grid article { min-height: 220px; padding: 25px 22px 28px; border-right: 1px solid var(--line); }
.relation-grid article:first-child { padding-left: 0; }
.relation-grid article:last-child { padding-right: 0; border-right: 0; }
.number { color: var(--accent); font: 1rem var(--serif); }
.relation-grid h3 { margin: 23px 0 8px; font: 400 1.55rem var(--serif); }
.relation-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.method-note { max-width: 850px; margin: 26px 0 0; color: var(--muted); font-size: .8rem; }
.section-soft { background: var(--paper-soft); }
.scope-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 8vw, 112px); }
.scope-layout h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.scope-layout > div > p:last-child { max-width: 490px; color: var(--muted); }
.scope-list { margin: 5px 0 0; padding: 0; list-style: none; }
.scope-list li { position: relative; padding: 0 0 19px 26px; border-bottom: 1px solid #d1d0c5; }
.scope-list li + li { padding-top: 19px; }
.scope-list li::before { position: absolute; left: 0; color: var(--accent); content: "—"; }
.objectives { margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: objective; }
.objectives li { display: grid; grid-template-columns: minmax(210px, .8fr) 1.2fr; gap: 26px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: objective; }
.objectives li strong::before { margin-right: 16px; color: var(--accent); content: "0" counter(objective); font: .8rem var(--serif); }
.objectives li span { color: var(--muted); font-size: .9rem; }
.hypotheses-intro { max-width: 700px; margin-bottom: 34px; color: #e1e4db; }
.hypotheses details { border-top: 1px solid #566057; }
.hypotheses details:last-of-type { border-bottom: 1px solid #566057; }
.hypotheses summary { padding: 17px 32px 17px 0; cursor: pointer; font: 1.13rem/1.45 var(--serif); list-style: none; }
.hypotheses summary::-webkit-details-marker { display: none; }
.hypotheses summary::after { float: right; color: #bdc6ad; content: "+"; font: 1.3rem var(--sans); }
.hypotheses details[open] summary::after { content: "−"; }
.hypotheses details p { max-width: 800px; margin: 0; padding: 0 0 18px; color: #d3d8ce; font-size: .86rem; }
.caution { max-width: 820px; margin: 28px 0 0; color: #bdc6ad; font-size: .8rem; }
.closing { padding-block: clamp(75px, 10vw, 125px); }
.closing > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.publication-steps { margin: 42px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.publication-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--accent); font: 1rem var(--serif); }
.publication-steps h3 { margin: 0 0 4px; font: 400 1.45rem var(--serif); }
.publication-steps p { max-width: 720px; margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer { display: flex; width: min(100% - 48px, 1280px); justify-content: space-between; align-items: center; gap: 20px; margin: auto; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.error-page { display: grid; min-height: 100vh; place-items: center; padding-block: 35px; }
.error-card { max-width: 760px; padding: clamp(34px, 8vw, 78px); border: 1px solid var(--line); background: #faf9f4; text-align: center; }
.error-code { margin: 0; color: var(--accent); font: 400 clamp(5rem, 19vw, 11rem)/.8 var(--serif); letter-spacing: -.09em; }
.error-kicker { margin: 35px 0 13px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.error-card h1 { max-width: none; margin: 0; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.error-copy { margin: 20px auto 0; color: var(--muted); }
.error-link { display: inline-flex; margin-top: 26px; padding: 11px 17px; border: 1px solid var(--accent); color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.error-link:hover, .error-link:focus-visible { background: var(--accent); color: white; }

@media (max-width: 760px) {
  .site-header { min-height: auto; flex-wrap: wrap; gap: 12px; padding-block: 15px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; padding: 5px 0 2px; }
  .site-header nav a { font-size: .58rem; }
  .section-heading, .scope-layout { grid-template-columns: 1fr; gap: 22px; }
  .section-heading { align-items: start; }
  .section-heading > p:last-child { max-width: 620px; }
  .relation-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .relation-grid article { min-height: 190px; padding: 22px 18px; border-bottom: 1px solid var(--line); }
  .relation-grid article:nth-child(2) { border-right: 0; }
  .relation-grid article:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .relation-grid article:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .wrap, .site-header, .site-footer { width: min(100% - 36px, 1120px); }
  .hero { padding-block: 76px 82px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .columns { grid-template-columns: 1fr; gap: 18px; }
  .statement { margin-top: 35px; }
  .relation-grid { grid-template-columns: 1fr; }
  .relation-grid article, .relation-grid article:first-child, .relation-grid article:nth-child(3), .relation-grid article:last-child { min-height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .relation-grid article:last-child { border-bottom: 0; }
  .relation-grid h3 { margin-top: 12px; }
  .objectives li { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
