/* Raphaël — homepage. Built from DESIGN.md. No external requests. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #F5F5F3; --ink: #1A1A1A; --card: #FFFFFF;
  --muted: #6B6B72; --muted-on-ink: #A9A49A;
  --rule: rgba(26,26,26,.16); --rule-on-ink: rgba(245,245,243,.18);
  --terracotta: #CE6B4C; --terracotta-deep: #A84A2C;
  --blue: #4F7FD6; --blue-deep: #2F5FB8; --lime: #A6C02A;
  --ph: #DCDCD8; --ph-on-ink: rgba(245,245,243,.12);
  --display: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 48px; --container: 1240px; --section: 128px;
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
@media (max-width: 800px) { :root { --gutter: 20px; --section: 72px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (max-width: 800px) { body { font-size: 17px; line-height: 1.6; } }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
.band-ink :focus-visible { outline-color: var(--paper); }

/* language switch */
html[data-lang="fr"] body [lang="en"], html[data-lang="en"] body [lang="fr"] { display: none !important; }

.wrap { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 100; }

/* type */
.display, .h1, .h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; margin: 0;
  font-optical-sizing: auto; text-wrap: balance; }
.display { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; }
.h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; }
.h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.14; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(20px, 1.8vw, 22px); line-height: 1.3; margin: 0; }
.lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; }
.small { font-size: 15px; line-height: 1.5; }
.label { font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; }
.measure { max-width: 62ch; }
.muted { color: var(--muted); }
.band-ink .muted { color: var(--muted-on-ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.wordmark img { width: 30px; height: 30px; }
.wordmark .dot { color: var(--terracotta); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid transparent;
  transition: border-color .15s ease-out; }
.nav-links a:hover { border-bottom-color: var(--ink); }
.lang { display: inline-flex; gap: 2px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; color: var(--muted); cursor: pointer;
  min-width: 44px; min-height: 44px; padding: 0 6px; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: calc(-1 * var(--gutter)); top: 60px; width: 100vw; background: var(--paper);
  border-bottom: 1px solid var(--ink); padding: 8px var(--gutter) 16px; }
.menu-panel a { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .nav-links { display: none; } .menu { display: block; } .nav-right { gap: 8px; } }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s ease-out, color .15s ease-out; }
.btn:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.band-ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band-ink .btn:hover { background: #fff; }
.arrow { display: inline-block; transition: transform .15s ease-out; margin-left: .35em; }
.textlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 500; }
.textlink:hover .arrow { transform: translateX(4px); }

/* eyebrow */
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 48px; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.band-ink .eyebrow::after { background: var(--rule-on-ink); }
.eyebrow .n { color: var(--muted); }
.band-ink .eyebrow .n { color: var(--muted-on-ink); }

/* sections */
section { padding: var(--section) 0; }
.band-ink { background: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 800px) { .grid { display: block; } }

/* placeholders */
.ph { display: flex; align-items: center; background: var(--ph); color: #4a4741; padding: 20px 24px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; line-height: 1.5; border-radius: 0; }
.band-ink .ph { background: var(--ph-on-ink); color: var(--muted-on-ink); }

/* hero */
.hero { padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 42vw; align-items: stretch;
  min-height: min(calc(100vh - 73px), 820px); border-bottom: 1px solid var(--rule); }
.hero-text { padding: 96px 64px 96px var(--edge); display: flex; flex-direction: column; justify-content: center; }
.hero-text .label { margin: 0 0 32px; color: var(--muted); }

.hero-text .lead { margin: 40px 0 8px; max-width: 34ch; }
.hero-text .by { color: var(--muted); margin: 0 0 40px; max-width: 46ch; }
.hero-photo { margin: 0; position: relative; min-height: 420px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-text { padding: 56px var(--gutter) 48px; }
  .hero-photo { height: 118vw; max-height: 620px; min-height: 0; }
}

/* evidence */
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.evidence > div { padding: 0 48px 0 0; }
.evidence > div + div { padding: 0 0 0 48px; border-left: 1px solid var(--rule-on-ink); }
.figure { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 9vw, 120px); line-height: .9; letter-spacing: -0.03em;
  color: var(--terracotta); margin: 0 0 32px; white-space: nowrap; }
.evidence .lead { max-width: 30ch; margin: 0 0 28px; }
.evidence .ref { color: var(--muted-on-ink); margin: 0; line-height: 1.6; max-width: 46ch; }
.evidence .ph + .ph { margin-top: 12px; }
@media (max-width: 800px) {
  .evidence { display: block; }
  .evidence > div, .evidence > div + div { padding: 0; border: 0; }
  .evidence > div + div { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--rule-on-ink); }
}

/* rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.band-ink .rows { border-top-color: var(--rule-on-ink); }
.row { border-bottom: 1px solid var(--rule); transition: border-color .15s ease-out; }
.row a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline;
  padding: 36px 0; text-decoration: none; }
.row:hover { border-bottom-color: var(--ink); }
.row:hover .arrow { transform: translateX(4px); }
.row .kicker { grid-column: 1 / span 2; color: var(--muted); }
.row .title { grid-column: 3 / span 4; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.row .desc { grid-column: 7 / span 4; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.row .go { grid-column: 11 / span 2; justify-self: end; font-weight: 600; font-size: 15px; white-space: nowrap; }
.row .sig { display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: middle; }
@media (max-width: 800px) {
  .row a { display: block; padding: 28px 0; }
  .row .kicker { display: block; margin-bottom: 10px; }
  .row .desc { margin: 12px 0 16px; }
}

/* journal band */
.journal-head .h1 { grid-column: 1 / span 6; }
.journal-head .text { grid-column: 8 / span 5; }
.journal-head .text p { color: #E4E0D6; }
@media (max-width: 800px) { .journal-head .text { margin-top: 28px; } }
.sheet-wrap { margin: 80px 0; }
.sheet-cap { color: var(--muted-on-ink); margin: 0 0 16px; }
.sheet { background: var(--card); color: #141414; max-width: 860px; margin: 0 auto; padding: 40px 44px 28px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 2px 0 rgba(0,0,0,.2); font-size: 14.5px; line-height: 1.5; }
.sheet-mast { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-bottom: 18px; border-bottom: 2px solid #141414; }
.sheet-brand { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #5c5c5c; }
.sheet-title { font-family: var(--display); font-size: 28px; letter-spacing: -0.015em; line-height: 1.15; margin-top: 4px; }
.sheet-who { text-align: right; font-size: 13px; color: #5c5c5c; }
.sheet-who b { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; color: #141414; }
.sheet-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px;
  color: #5c5c5c; padding: 10px 0; border-bottom: 1px solid #dcdcdc; }
.sheet-meta b { color: #141414; font-weight: 500; }
.sheet-status { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #dcdcdc; }
.sheet-flag { flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid #141414; padding: 4px 8px; white-space: nowrap; }
.sheet h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #5c5c5c; margin: 18px 0 10px; }
.sheet-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #141414; border-bottom: 1px solid #dcdcdc; }
.sheet-tiles > div { padding: 12px 14px 14px 0; }
.sheet-tiles > div + div { padding-left: 14px; border-left: 1px solid #dcdcdc; }
.sheet-tiles .n { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.sheet-tiles .n small { font-size: 13px; font-family: var(--sans); }
.sheet-tiles .k { font-weight: 600; font-size: 13.5px; margin-top: 6px; }
.sheet-tiles .s { font-size: 12.5px; color: #5c5c5c; }
.sheet-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.sheet-adh { display: flex; gap: 16px; align-items: center; font-size: 13.5px; }
.sheet-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border: 1px solid #141414; }
.sheet ol { margin: 0; padding-left: 20px; } .sheet li { margin-bottom: 6px; } .sheet p { margin: 0; }
.sheet-foot { display: flex; justify-content: space-between; gap: 24px; margin-top: 22px; padding-top: 12px; border-top: 1px solid #dcdcdc;
  font-size: 11.5px; color: #5c5c5c; }
.sheet-foot .u { font-family: var(--mono); white-space: nowrap; }
@media (max-width: 700px) {
  .sheet { padding: 24px 20px 20px; font-size: 14px; }
  .sheet-status { display: block; } .sheet-status > span { display: block; } .sheet-status .sheet-flag { display: inline-block; margin-bottom: 10px; }
  .sheet-mast { display: block; } .sheet-who { text-align: left; margin-top: 12px; }
  .sheet-title { font-size: 23px; }
  .sheet-tiles { grid-template-columns: 1fr 1fr; }
  .sheet-tiles > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sheet-tiles > div:nth-child(n+3) { border-top: 1px solid #dcdcdc; }
  .sheet-cols { display: block; } .sheet-foot { display: block; } .sheet-foot .u { margin-top: 6px; }
  .sheet-wrap { margin: 56px 0; }
}
.caps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--rule-on-ink); margin: 0; }
.caps > div { padding: 28px 0; border-bottom: 1px solid var(--rule-on-ink); }
.caps dt { font-weight: 600; font-size: clamp(20px, 1.8vw, 22px); line-height: 1.3; margin-bottom: 6px; }
.caps dd { margin: 0; color: var(--muted-on-ink); max-width: 44ch; font-size: 17px; line-height: 1.55; }
@media (max-width: 800px) { .caps { display: block; } }
.journal-close { margin-top: 72px; }
.journal-close .h2 { grid-column: 1 / span 8; }
.journal-close .cta { grid-column: 10 / span 3; justify-self: end; align-self: end; }
@media (max-width: 800px) { .journal-close .cta { margin-top: 32px; } }

/* why */
.why .h1 { grid-column: 1 / span 5; }
.why .text { grid-column: 7 / span 6; }
.why .pull { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.01em;
  margin: 40px 0; padding-top: 32px; border-top: 1px solid var(--ink); }
@media (max-width: 800px) { .why .text { margin-top: 32px; } }

/* mission */
.mission .statement { grid-column: 1 / span 10; }
.mission .text { grid-column: 7 / span 6; margin-top: 56px; }
.mission .text p:last-child { font-weight: 500; }

/* take part */
.part .h1 { grid-column: 1 / span 6; }
.part .text { grid-column: 8 / span 5; }
.part .text .lead { margin-bottom: 32px; }
.part .next { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 800px) { .part .text { margin-top: 28px; } }

/* footer */
footer { background: var(--ink); color: var(--paper); padding: 80px 0 40px; }
footer .wordmark { font-size: 34px; }
footer .wordmark img { width: 38px; height: 38px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.foot-grid .a { grid-column: 1 / span 5; }
.foot-grid .b { grid-column: 6 / span 3; }
.foot-grid .c { grid-column: 9 / span 4; }
footer li a { overflow-wrap: anywhere; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li a { display: inline-block; padding: 8px 0; text-decoration: none; }
footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer .label { color: var(--muted-on-ink); margin: 0 0 12px; }
.notice { margin-top: 64px; padding: 20px 0; border-top: 1px solid var(--rule-on-ink); border-bottom: 1px solid var(--rule-on-ink); }
.legal { margin-top: 20px; color: var(--muted-on-ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .foot-grid { display: block; } .foot-grid > div + div { margin-top: 36px; } footer { padding-top: 56px; } }

/* motion */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .js .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}
