:root {
  --ink: #172033;
  --ink-soft: #687184;
  --paper: #f8f9fc;
  --surface: #ffffff;
  --cold: #eef1f7;
  --line: rgba(23,32,51,.14);
  --accent: #4c56d7;
  --accent-bright: #707aff;
  --serif: "EB Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: min(1160px, calc(100vw - 48px));
  --reading: min(690px, calc(100vw - 42px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light dark; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sprite-defs, svg[hidden].sprite-defs { position: absolute !important; width: 0 !important; height: 0 !important; display: none !important; overflow: hidden !important; }
.skip { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--accent); transform: translateY(-150%); }
.skip:focus { transform: none; }
.topbar { position: sticky; z-index: 20; top: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1160px)/2)); color: var(--ink); background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); font: 650 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 500 1rem var(--serif); letter-spacing: .02em; text-transform: none; }
.brand-mark { width: 16px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.topnav { display: flex; align-items: center; gap: 1.5rem; }
.topnav a { text-decoration: none; }
.open-app { padding: .75rem 1rem; color: #fff; background: var(--accent); border-radius: 999px; }
.theme-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; overflow: hidden; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font: 700 .62rem var(--sans); letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.hero { position: relative; min-height: 690px; overflow: hidden; display: grid; align-items: end; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,249,252,.99) 0%, rgba(248,249,252,.91) 43%, rgba(248,249,252,.25) 78%), linear-gradient(0deg, rgba(248,249,252,.8), transparent 58%); }
.thread { position: absolute; z-index: 2; right: -5%; bottom: 6%; width: 55%; height: 48%; fill: none; stroke: var(--accent-bright); stroke-width: 2; opacity: .72; }
.thread path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .25s var(--ease) forwards; }
.hero-copy { position: relative; z-index: 3; width: var(--content); margin: 0 auto; padding: 120px 0 90px; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font: 700 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(4.8rem, 9vw, 8.2rem); font-weight: 400; line-height: .78; letter-spacing: -.045em; }
.hero h1 em { display: block; margin-left: .55em; color: var(--accent); font-weight: 400; }
.hero-lede { max-width: 560px; margin: 2.25rem 0; color: var(--ink-soft); font-size: 1.3rem; line-height: 1.55; }
.feature { max-width: 660px; display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.feature small, .card small, .article-date { display: block; color: var(--accent); font: 700 .62rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.feature strong { display: block; margin-top: .35rem; font-size: 1.35rem; font-weight: 500; }
.journal { width: var(--content); margin: 0 auto; padding: 100px 0 120px; }
.manifesto { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.manifesto h2 { max-width: 700px; margin: 0; font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 400; line-height: .95; }
.manifesto p:last-child { max-width: 580px; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.55; }
.collection-nav { position: sticky; z-index: 10; top: 64px; display: flex; gap: clamp(1rem, 4vw, 3rem); overflow-x: auto; margin: 0 calc((var(--content) - 100vw)/2) 80px; padding: 22px max(24px, calc((100vw - 1160px)/2)); background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); font: 650 .66rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.collection-nav a { white-space: nowrap; text-decoration: none; }
.collection { margin-top: 110px; scroll-margin-top: 145px; }
.collection-head { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; align-items: start; margin-bottom: 36px; }
.collection-number { color: var(--accent); font: 700 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.collection-head h2, .archive-head h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 400; line-height: .9; }
.collection-head p, .archive-head p { max-width: 620px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.55; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4vw, 54px); }
.card { min-width: 0; color: var(--ink); text-decoration: none; }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1200 / 630; display: block; margin-bottom: 1.2rem; background: var(--cold); border-radius: 3px; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease), filter .5s var(--ease); }
.card-image.collection-visual img { object-fit: cover; }
.card:hover .card-image img { transform: scale(1.025); }
.card h3 { margin: .55rem 0 .45rem; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 500; line-height: 1.03; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }
.collection-more { display: inline-block; margin-top: 32px; color: var(--accent); font: 700 .68rem var(--sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.archive-head { width: var(--content); margin: 0 auto; padding: 100px 0 60px; }
.archive-head .back { display: inline-block; margin-bottom: 2rem; color: var(--accent); font: 700 .64rem var(--sans); letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.archive-grid { width: var(--content); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 70px 34px; margin: 0 auto; padding: 0 0 110px; }
.pagination { width: var(--content); display: flex; justify-content: center; gap: .6rem; margin: -55px auto 100px; font: 700 .72rem var(--sans); }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.pagination [aria-current="page"] { color: #fff; background: var(--accent); }
.article-source-hero { position: relative; min-height: 570px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; margin: 0 calc((100vw - 100%)/-2) 65px; padding: 100px max(24px, calc((100vw - 1160px)/2)) 75px; color: var(--ink); background: var(--cold) var(--article-image) center/cover no-repeat; }
.article-source-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb,var(--paper) 98%,transparent), color-mix(in srgb,var(--paper) 82%,transparent) 55%, transparent), linear-gradient(0deg, color-mix(in srgb,var(--paper) 78%,transparent), transparent); }
.article-source-hero > * { position: relative; z-index: 1; max-width: 780px; }
.article-source-hero .marque { display: none; }
.article-source-hero h1 { margin: 1.3rem 0 0; font-size: clamp(3.7rem, 8vw, 7rem); font-weight: 400; line-height: .86; letter-spacing: -.035em; }
.article-source-hero h1 .doux { display: block; max-width: 670px; margin-top: .42em; color: var(--ink-soft); font-size: .38em; line-height: 1.12; letter-spacing: -.015em; }
.source-article { overflow: hidden; }
.source-article > .page { width: 100%; margin: 0; }
.source-article > .page > :not(header):not(footer):not(.cta) { width: var(--reading); margin-left: auto; margin-right: auto; }
.source-article > .page > p { font-size: 1.18rem; line-height: 1.75; }
.source-article > .page > p:first-of-type { font-size: 1.38rem; line-height: 1.62; }
.source-article > .page > h2 { margin-top: 4.2rem; margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; line-height: 1; }
.source-article > .page > h3 { margin-top: 2.8rem; font-size: 1.65rem; font-weight: 500; }
.source-article > .page blockquote { padding-left: 1.5rem; color: var(--ink-soft); border-left: 2px solid var(--accent); font-size: 1.3rem; }
.source-article .fleuron { margin-top: 5rem !important; margin-bottom: 5rem !important; text-align: center; }
.source-article .fleuron::after { content: "◆"; color: var(--accent); }
.source-article .cta, .final-cta { width: var(--reading); margin: 5rem auto; padding: 2rem; text-align: center; color: var(--ink); background: var(--cold); border: 1px solid var(--line); border-radius: 12px; }
.source-article .cta a, .final-cta a { display: inline-block; padding: .85rem 1.2rem; color: #fff; background: var(--accent); border-radius: 999px; font: 700 .72rem var(--sans); text-decoration: none; }
.source-article .cta span { display: block; margin-top: .8rem; color: var(--ink-soft); }
.source-article footer { width: var(--reading); margin: 5rem auto 0; padding: 2rem 0 4rem; color: var(--ink-soft); border-top: 1px solid var(--line); line-height: 1.7; }
.article-meta-strip { position: relative; z-index: 1; color: var(--accent); font: 700 .62rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.article-tools { width: var(--reading); display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: -35px auto 55px; padding: 20px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); font: 650 .67rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.article-tools a { color: var(--accent); text-decoration: none; }
.related { padding: 85px 0 100px; background: var(--cold); border-top: 1px solid var(--line); }
.related-inner { width: var(--content); margin: 0 auto; }
.related h2 { margin: 0 0 2rem; font-size: clamp(2.5rem,5vw,4rem); font-weight: 400; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.related-card { padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.related-card small { color: var(--accent); font: 700 .6rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.related-card strong { display: block; margin-top: .6rem; font-size: 1.35rem; font-weight: 500; }
.site-footer { padding: 65px max(24px,calc((100vw - 1160px)/2)); color: rgba(244,246,252,.64); background: #080b12; font: 500 .7rem var(--sans); }
.site-footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.site-footer a { color: inherit; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
html[data-theme="dark"] { --ink: #edf1f8; --ink-soft: #a7b0c0; --paper: #0d1118; --surface: #151c29; --cold: #131925; --line: rgba(255,255,255,.14); }
html[data-theme="dark"] .hero::after { background: linear-gradient(90deg,rgba(13,17,24,.99),rgba(13,17,24,.86) 48%,rgba(13,17,24,.2)),linear-gradient(0deg,rgba(13,17,24,.85),transparent); }
html[data-theme="dark"] .hero-image, html[data-theme="dark"] .card-image img { filter: saturate(.72) brightness(.82); }
html[data-theme="dark"] .article-source-hero::before { background: linear-gradient(90deg,rgba(13,17,24,.99),rgba(13,17,24,.84) 58%,rgba(13,17,24,.2)),linear-gradient(0deg,rgba(13,17,24,.82),transparent); }
@media (max-width: 800px) {
  :root { --content: calc(100vw - 30px); }
  .topbar { height: 56px; padding: 0 16px; }
  .topnav { gap: .5rem; }
  .topnav > a:not(.open-app) { display: none; }
  .theme-toggle { max-width: 78px; padding: 0 .68rem; font-size: .56rem; }
  .open-app { padding: .72rem .8rem; white-space: nowrap; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(0deg,rgba(248,249,252,.99),rgba(248,249,252,.84) 57%,rgba(248,249,252,.18)); }
  html[data-theme="dark"] .hero::after { background: linear-gradient(0deg,rgba(13,17,24,.99),rgba(13,17,24,.87) 58%,rgba(13,17,24,.22)); }
  .hero-copy { padding: 100px 0 65px; }
  .hero h1 { font-size: clamp(4.1rem,20vw,6rem); }
  .manifesto, .collection-head { grid-template-columns: 1fr; gap: 18px; }
  .collection-nav { top: 56px; }
  .story-grid, .archive-grid, .related-grid { grid-template-columns: 1fr; }
  .archive-grid { gap: 55px; }
  .article-source-hero { min-height: 610px; margin-bottom: 60px; padding-bottom: 60px; }
  .article-source-hero::before { background: linear-gradient(0deg,color-mix(in srgb,var(--paper) 99%,transparent),color-mix(in srgb,var(--paper) 84%,transparent) 62%,transparent); }
  .article-source-hero h1 { font-size: clamp(3.5rem,16vw,5.5rem); }
  .article-source-hero h1 .doux { margin-top: .5em; font-size: .42em; line-height: 1.15; }
  .article-tools { margin-top: -30px; }
  .site-footer-inner { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .thread path { stroke-dashoffset: 0; }
  .reveal,.js .reveal { opacity: 1; transform: none; }
}
