/* Minimal Basics journal: readable content, restrained motion, no framework. */
:root {
  color-scheme: dark;
  --paper: #ededed;
  --ink: #111111;
  --muted: #a4a4a4;
  --line: #313131;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
a:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 2px solid #d8d8d8; outline-offset: 5px; }
::selection { background: #d6d6d6; color: #111111; }
.skip-link { position: absolute; top: 12px; left: 14px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.reading-progress { height: 2px; position: fixed; top: 0; left: 0; right: 0; z-index: 40; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: #cecece; }
.site-header { min-height: 88px; padding: 15px 5vw; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 40px; justify-content: space-between; background: #111111f5; }
.brand { flex-shrink: 0; }
.brand img { width: 142px; height: 56px; object-fit: contain; filter: invert(1) grayscale(1); }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav > a { text-transform: uppercase; font-size: 10px; letter-spacing: .1em; text-decoration: none; color: #b6b6b6; }
.site-header nav > a:hover, .site-header nav > a[aria-current='page'] { color: #fff; }
.site-header nav > .studio-link { color: var(--ink); background: var(--paper); padding: 14px 17px; border-radius: 2px; }
.studio-link > span { margin-left: 14px; font-size: 16px; }
.eyebrow { display: block; color: #a5a5a5; text-transform: uppercase; font-size: 10px; letter-spacing: .16em; line-height: 1.65; }
.article-top, .journal-intro { width: min(1120px, 90vw); margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 56px; font-size: 9px; letter-spacing: .06em; color: #878787; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--paper); }
h1, h2, h3, p, figure { margin: 0; }
.article-top h1 { font-weight: 430; font-size: clamp(35px, 4.7vw, 67px); line-height: 1.08; letter-spacing: -.05em; max-width: 1020px; margin: 21px 0 25px; text-wrap: balance; }
.article-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: #9e9e9e; font-size: 11px; line-height: 1.8; margin-bottom: 44px; }
.article-byline a { text-decoration: none; color: #d1d1d1; }
.article-image { width: min(1300px, 94vw); margin: 0 auto 66px; }
.article-image > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #c9c9c9; }
.article-image figcaption { text-align: right; font-size: 8px; color: #7c7c7c; letter-spacing: .12em; margin-top: 12px; line-height: 1.7; }
.reading-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 65px; width: min(1120px, 90vw); margin: 0 auto; align-items: start; }
.desktop-toc { position: sticky; top: 32px; max-height: calc(100dvh - 64px); overflow-y: auto; scrollbar-width: thin; }
.desktop-toc nav { display: flex; flex-direction: column; gap: 14px; }
.desktop-toc .eyebrow { margin-bottom: 6px; }
.desktop-toc nav a { text-decoration: none; font-size: 11px; line-height: 1.7; color: #8a8a8a; border-left: 1px solid #373737; padding-left: 14px; transition: color .15s, border-color .15s; }
.desktop-toc nav a:hover, .desktop-toc nav a[aria-current='location'] { color: #f2f2f2; border-left-color: #d4d4d4; }
.toc-studio { display: block; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; text-decoration: none; color: #d4d4d4; line-height: 1.8; }
.toc-studio span { margin-left: 8px; }
.article-column { min-width: 0; }
.article-body { color: #c1c1c1; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.article-body > p { margin-bottom: 23px; }
.article-body > p:first-child { font-size: 21px; line-height: 1.7; letter-spacing: -.02em; color: #e1e1e1; }
.article-body h2 { color: #eaeaea; font-weight: 470; font-size: 29px; letter-spacing: -.035em; line-height: 1.25; margin: 53px 0 20px; scroll-margin-top: 30px; text-wrap: balance; }
.article-body h3 { color: #e1e1e1; font-size: 20px; font-weight: 500; line-height: 1.5; margin: 30px 0 12px; scroll-margin-top: 30px; }
.article-body strong { color: #e4e4e4; font-weight: 600; }
.article-body a { text-decoration-color: #828282; text-underline-offset: 4px; }
.article-body a:hover { color: white; text-decoration-color: white; }
.article-body ul { padding-left: 24px; margin: 0 0 26px; }
.article-body li { padding-left: 6px; margin-bottom: 8px; }
.article-body li::marker { color: #9d9d9d; }
.article-body code { background: #272727; padding: 3px 6px; border-radius: 3px; font-size: .85em; color: #d6d6d6; }
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 4px; scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; }
th, td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: right; }
thead th { font-weight: 500; color: #e3e3e3; background: #222222; }
th:first-child { text-align: left; }
tbody th { font-weight: 450; color: #cacaca; }
tbody tr:last-child > * { border-bottom: 0; }
.article-note { margin-top: 45px; padding: 20px 22px; background: #1d1d1d; border-left: 1px solid #6f6f6f; }
.article-note > span { font-size: 8px; letter-spacing: .13em; color: #a5a5a5; }
.article-note > p { color: #989898; font-size: 11px; line-height: 1.9; margin-top: 8px; }
.studio-banner { background: radial-gradient(ellipse at 100% 0%, #5c5c5c30, transparent 70%), #1f1f1f; padding: 37px; border: 1px solid #3f3f3f; margin-top: 40px; }
.studio-banner h2 { font-weight: 450; letter-spacing: -.04em; font-size: 35px; line-height: 1.15; margin: 14px 0; }
.studio-banner p { color: #ababab; font-size: 13px; line-height: 1.9; max-width: 480px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 15px 20px; font-size: 11px; text-decoration: none; background: #e5e5e5; color: #1c1c1c; border-radius: 2px; margin-top: 23px; transition: background .15s; }
.button:hover { background: #fff; }
.back-link { display: inline-block; margin: 34px 0 0; color: #a6a6a6; font-size: 12px; text-decoration: none; }
.mobile-toc { display: none; }
.related, .stories { width: min(1120px, 90vw); margin: 100px auto; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: 38px; font-weight: 450; letter-spacing: -.04em; margin-top: 10px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.story-card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; min-width: 0; }
.story-image { width: 100%; overflow: hidden; aspect-ratio: 1.25; background: #cacaca; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-label { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 15px; justify-content: space-between; color: #919191; font-size: 8px; letter-spacing: .08em; margin: 23px 0 12px; }
.story-card h3 { color: #e6e6e6; font-size: 25px; line-height: 1.3; font-weight: 450; letter-spacing: -.035em; margin-bottom: 15px; }
.story-card > p { color: #9e9e9e; font-size: 12px; line-height: 1.85; margin-bottom: 25px; }
.read-link { display: flex; gap: 25px; margin-top: auto; color: #c7c7c7; border-bottom: 1px solid #696969; padding-bottom: 9px; font-size: 10px; }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-intro { padding: 80px 0 62px; }
.journal-intro h1 { font-size: clamp(47px, 7vw, 94px); letter-spacing: -.065em; line-height: 1.03; font-weight: 430; margin: 25px 0; }
.journal-intro > p { max-width: 560px; color: #a7a7a7; font-size: 16px; line-height: 1.9; }
.journal-categories { display: flex; flex-wrap: wrap; gap: 15px 35px; font-size: 9px; letter-spacing: .14em; color: #808080; margin-top: 38px; }
.stories { margin-top: 0; }
.index-studio { width: min(1120px, 90vw); margin: 0 auto 100px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.index-studio .button { flex-shrink: 0; margin: 0; }
.site-footer { margin-top: 90px; padding: 46px 5vw 28px; border-top: 1px solid #363636; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 35px; }
.site-footer > div > a { font-size: 15px; letter-spacing: .18em; text-decoration: none; }
.site-footer p { color: #8b8b8b; font-size: 11px; line-height: 1.9; margin-top: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 26px; max-width: 520px; }
.site-footer nav a { color: #a3a3a3; font-size: 11px; text-decoration: none; }
.site-footer nav a:hover { color: #eaeaea; }
.site-footer small { flex-basis: 100%; color: #929292; font-size: 9px; }
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .article-top h1, .journal-intro h1 { animation: article-arrival .45s ease both; }
}
@keyframes article-arrival { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
  .reading-layout { display: block; max-width: 760px; }
  .desktop-toc { display: none; }
  .mobile-toc { display: block; margin-bottom: 32px; border-block: 1px solid #464646; padding: 16px 0; color: #b4b4b4; }
  .mobile-toc summary { cursor: pointer; font-size: 12px; }
  .mobile-toc nav { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }
  .mobile-toc nav a { font-size: 12px; color: #a1a1a1; text-decoration: none; line-height: 1.8; }
  .story-grid { gap: 22px; }
  .story-card h3 { font-size: 23px; }
}
@media (max-width: 680px) {
  .site-header { gap: 18px; padding: 14px 5vw; align-items: center; flex-wrap: wrap; }
  .brand img { width: 114px; height: 45px; }
  .site-header nav { gap: 12px 20px; flex: 1; justify-content: flex-end; }
  .site-header nav > a { font-size: 8px; letter-spacing: .04em; }
  .site-header nav > a:first-child { display: none; }
  .site-header nav > .studio-link { padding: 11px 12px; }
  .studio-link > span { margin-left: 5px; font-size: 13px; }
  .breadcrumbs { margin: 23px 0 34px; font-size: 8px; }
  .eyebrow { font-size: 9px; }
  .article-top h1 { font-size: 37px; line-height: 1.1; margin-top: 17px; }
  .article-byline { gap: 9px; font-size: 10px; margin-bottom: 30px; }
  .article-image { width: 100%; margin-bottom: 36px; }
  .article-image > img { aspect-ratio: 3 / 2; }
  .article-image figcaption { margin-inline: 5vw; font-size: 7px; }
  .article-body { font-size: 16px; line-height: 1.9; }
  .article-body > p:first-child { font-size: 19px; }
  .article-body h2 { font-size: 26px; margin-top: 40px; }
  .article-body h3 { font-size: 19px; }
  th, td { padding: 12px 9px; font-size: 11px; }
  .studio-banner { padding: 27px 23px; }
  .studio-banner h2 { font-size: 31px; }
  .related, .stories { margin-bottom: 65px; }
  .related { margin-top: 65px; }
  .story-grid, .related-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-card h3 { font-size: 28px; }
  .story-card > p { font-size: 13px; }
  .story-label { font-size: 9px; }
  .journal-intro { padding-top: 52px; padding-bottom: 46px; }
  .journal-intro h1 { font-size: 52px; }
  .journal-intro > p { font-size: 14px; }
  .journal-categories { gap: 16px 23px; font-size: 8px; }
  .index-studio { flex-direction: column; align-items: flex-start; margin-bottom: 60px; gap: 25px; }
  .site-footer { padding-top: 34px; margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
