@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:ital,opsz,wght@1,6..72,400&display=swap');

:root {
  --ink: #17201d;
  --forest: #1d2924;
  --paper: #f3f0e8;
  --cream: #e7e3d8;
  --white: #fbfaf6;
  --lime: #c7f542;
  --blue: #7b8ff1;
  --rust: #d45f42;
  --line: rgba(23, 32, 29, .18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 99; left: 16px; top: -80px; padding: 10px 16px; color: var(--ink); background: var(--lime); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--white); background: var(--forest); }
.header-inner { height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand strong { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 15px; }
.brand small { display: block; margin-top: 6px; color: rgba(255,255,255,.6); font: italic 15px/1 var(--serif); }
.brand-mark { position: relative; display: block; width: 36px; height: 36px; transform: rotate(18deg); }
.brand-mark i { position: absolute; border: 1px solid var(--lime); border-radius: 50% 48% 50% 45%; inset: 1px; }
.brand-mark i:nth-child(2) { inset: 7px; transform: rotate(38deg); }
.brand-mark i:nth-child(3) { inset: 13px; transform: rotate(72deg); background: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav a, .header-search { position: relative; text-decoration: none; font-size: 14px; letter-spacing: .03em; }
.site-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -9px; background: var(--lime); transition: right .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-search { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-search span { font-size: 20px; color: var(--lime); }
.menu-button { display: none; }

.hero { min-height: 680px; color: var(--white); background: var(--forest); overflow: hidden; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; font-size: 11px; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 700px; margin-bottom: 28px; font-size: clamp(60px, 7vw, 104px); font-weight: 500; letter-spacing: -.065em; line-height: .85; }
em { color: var(--lime); font-family: var(--serif); font-weight: 400; }
.hero-intro { max-width: 570px; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.65; }
.button-row { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 15px 20px; text-decoration: none; border: 1px solid; font-size: 13px; font-weight: 600; letter-spacing: .03em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); border-color: var(--lime); background: var(--lime); }
.button-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.text-link { text-decoration: none; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link span { margin-left: 8px; }
.hero-art { position: relative; height: 560px; }
.orb { position: absolute; border: 1px solid rgba(199,245,66,.8); border-radius: 44% 56% 63% 37% / 49% 32% 68% 51%; }
.orb::before, .orb::after { content: ""; position: absolute; inset: 13%; border: inherit; border-radius: inherit; transform: rotate(24deg); }
.orb::after { inset: 27%; transform: rotate(48deg); }
.orb-one { width: 400px; height: 400px; right: -20px; top: 60px; transform: rotate(18deg); }
.orb-two { width: 190px; height: 190px; left: 10px; top: 15px; border-color: rgba(123,143,241,.9); transform: rotate(52deg); }
.orb-three { width: 130px; height: 130px; left: 70px; bottom: 55px; border-color: rgba(212,95,66,.9); }
.line { position: absolute; height: 1px; background: rgba(255,255,255,.16); transform-origin: left; }
.line-one { width: 460px; top: 220px; left: -20px; transform: rotate(27deg); }
.line-two { width: 410px; top: 370px; left: 40px; transform: rotate(-25deg); }
.hero-art p { position: absolute; right: 10px; bottom: 18px; color: rgba(255,255,255,.5); font: italic 15px/1.5 var(--serif); }

.manifesto { padding: 120px 0; background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.section-number { text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 600; }
.manifesto h2, .about-story h2, .licence-section h2 { margin: 0 0 28px; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.manifesto h2 em, .about-story h2 em { color: var(--rust); }
.manifesto-grid > div > p { max-width: 720px; color: rgba(23,32,29,.68); font-size: 18px; }

.collections { padding: 105px 0 120px; border-top: 1px solid var(--line); background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 12px; color: rgba(23,32,29,.55); }
.section-heading h2 { margin: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.category-card { min-height: 300px; display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: color .2s, background .2s; }
.category-card:hover { color: var(--white); background: var(--forest); }
.category-card > span { font: italic 18px var(--serif); }
.category-card h3 { margin: auto 0 12px; font-size: 25px; font-weight: 500; letter-spacing: -.02em; }
.category-card p { color: rgba(23,32,29,.6); font-size: 13px; }
.category-card:hover p { color: rgba(255,255,255,.65); }
.category-card b { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 15px; border-top: 1px solid currentColor; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.category-card i { color: var(--lime); font-style: normal; font-size: 16px; }

.featured, .related { padding: 110px 0; background: var(--paper); }
.featured-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.resource-card { min-height: 280px; padding: 38px; background: var(--paper); }
.resource-card-large { grid-row: span 2; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--blue); }
.resource-meta { text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 600; color: rgba(23,32,29,.55); }
.resource-card h3 { max-width: 620px; margin: 12px 0 18px; font-size: 33px; line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.resource-card-large h3 { font-size: clamp(45px, 5vw, 70px); }
.resource-card h3 a { text-decoration: none; }
.resource-card > p:not(.resource-meta) { max-width: 620px; color: rgba(23,32,29,.65); font-size: 14px; }
.card-link { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 14px; border-top: 1px solid currentColor; text-transform: uppercase; text-decoration: none; letter-spacing: .1em; font-size: 10px; font-weight: 600; }

.invitation { padding: 130px 0; text-align: center; color: var(--white); background: var(--rust); }
.invitation-inner { max-width: 900px; }
.invitation blockquote { margin: 20px 0 30px; font: italic clamp(60px, 8vw, 108px)/.84 var(--serif); letter-spacing: -.05em; }
.invitation > div > p:not(.section-number) { max-width: 600px; margin: 0 auto 32px; color: rgba(255,255,255,.76); }

.page-hero, .resource-hero { padding: 105px 0 90px; color: var(--white); background: var(--forest); }
.page-hero h1, .resource-hero h1 { margin-bottom: 24px; font-size: clamp(60px, 8vw, 110px); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.page-hero .eyebrow, .resource-hero .resource-meta { color: var(--lime); }
.page-hero > div > p:last-child, .resource-hero-inner > div > p:last-child { max-width: 660px; color: rgba(255,255,255,.65); font-size: 18px; }
.page-hero .button { margin-top: 24px; }
.library-section { padding: 80px 0 120px; }
.library-layout { display: grid; grid-template-columns: 240px 1fr; gap: 80px; }
.filters { position: sticky; top: 30px; align-self: start; }
.filters h2 { margin-bottom: 22px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; }
.filters a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: rgba(23,32,29,.6); font-size: 13px; }
.filters a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.filters b { font-size: 10px; font-weight: 500; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid var(--ink); height: 58px; background: var(--white); }
.search-box > span:first-child { font-size: 24px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-box kbd { padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: rgba(23,32,29,.5); font-size: 10px; }
.results-heading { display: flex; justify-content: space-between; align-items: end; margin: 55px 0 20px; }
.results-heading h2 { margin: 0; font-size: 38px; font-weight: 500; letter-spacing: -.03em; }
.results-heading p { margin: 0; color: rgba(23,32,29,.55); font-size: 12px; }
.resource-list { border-top: 1px solid var(--ink); }
.resource-list article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; min-height: 190px; padding: 30px 8px; border-bottom: 1px solid var(--line); }
.resource-list article[hidden] { display: none; }
.resource-list h3 { margin: 7px 0 10px; font-size: 29px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.resource-list h3 a { text-decoration: none; }
.resource-list article > div > p:last-child { max-width: 680px; margin: 0; color: rgba(23,32,29,.6); font-size: 13px; }
.round-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; text-decoration: none; transition: color .2s, background .2s; }
.round-link:hover { color: var(--ink); background: var(--lime); }
.empty-state { padding: 60px 0; }

.resource-hero { padding-bottom: 75px; }
.resource-hero-inner { display: grid; grid-template-columns: 1fr 240px; align-items: end; gap: 60px; }
.resource-hero h1 { max-width: 850px; font-size: clamp(52px, 7vw, 92px); }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 60px; font-size: 11px; }
.breadcrumbs a { color: rgba(255,255,255,.6); }
.breadcrumbs span { color: var(--lime); }
.resource-symbol { position: relative; width: 210px; height: 210px; }
.resource-symbol i { position: absolute; inset: 0; border: 1px solid var(--lime); border-radius: 45% 55% 52% 48%; transform: rotate(12deg); }
.resource-symbol i:nth-child(2) { inset: 35px; transform: rotate(45deg); }
.resource-symbol i:nth-child(3) { inset: 78px; transform: rotate(76deg); background: var(--lime); }
.reading-progress { position: sticky; z-index: 8; top: 0; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--lime); }
.resource-reading { padding: 90px 0 120px; background: var(--white); }
.reading-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: space-between; gap: 80px; }
.reading-aside { position: sticky; top: 45px; align-self: start; }
.reading-aside p { margin-bottom: 8px; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; color: rgba(23,32,29,.5); }
.reading-aside h2 { font-size: 17px; font-weight: 500; }
.reading-aside a, .reading-aside button { display: flex; width: 100%; justify-content: space-between; margin-top: 24px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); text-decoration: none; background: transparent; font-size: 11px; cursor: pointer; }
.prose { font: 19px/1.75 Georgia, serif; }
.prose p { margin-bottom: 1.5em; }
.prose h2 { margin: 2.2em 0 .7em; font: 500 35px/1.15 var(--sans); letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose .internal-heading { margin: 2.1em 0 .65em; font: 600 21px/1.25 var(--sans); letter-spacing: -.015em; }
.prose .resource-list-items { margin: 1.2em 0 1.8em; padding-left: 1.6em; }
.prose .resource-list-items li { margin: .55em 0; padding-left: .45em; }
.prose ol.resource-list-items li::marker { color: var(--rust); font: 600 13px var(--sans); }
.prose ul.resource-list-items li::marker { color: var(--rust); }
.prose .attribution { margin: -.7em 0 2.4em; color: #4a504d; font-size: 16px; }
.prose .attribution em { color: #4a504d; }
.prose .reference { margin: -.7em 0 2.4em; color: #4a504d; font-size: 16px; }
.prose .reference cite { color: #4a504d; font-style: italic; }
.prose figure { margin: 0 0 55px; }
.prose figure img { width: 100%; max-height: 520px; object-fit: cover; }
.prose figcaption { margin-top: 8px; color: rgba(23,32,29,.5); font: 10px var(--sans); }
.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.related-grid a { min-height: 240px; display: flex; flex-direction: column; padding: 25px; border-right: 1px solid var(--line); text-decoration: none; }
.related-grid a:last-child { border: 0; }
.related-grid span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; color: rgba(23,32,29,.5); }
.related-grid h3 { margin: auto 0; font-size: 28px; line-height: 1.08; font-weight: 500; }
.related-grid b { border-top: 1px solid var(--line); padding-top: 12px; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }

.about-hero > div { max-width: 900px; }
.about-story { padding: 120px 0; }
.prose-wide { max-width: 760px; }
.prose-wide h2 { margin-top: 0; }
.prose blockquote { margin: 70px 0; padding: 45px 0; border-block: 1px solid var(--line); color: var(--rust); font: italic 40px/1.2 var(--serif); }
.licence-section { padding: 120px 0; color: var(--white); background: var(--blue); }
.licence-section h2 em { color: var(--lime); }
.licence-section a:not(.button) { color: var(--white); }
.licence-section .button { margin-top: 20px; }

.site-footer { padding: 85px 0 25px; color: var(--white); background: var(--forest); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 90px; padding-bottom: 65px; }
.brand-footer { margin-bottom: 24px; }
.footer-grid > div:first-child p { max-width: 390px; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-grid h2 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; color: var(--lime); }
.footer-grid > div:not(:first-child) a { display: block; margin: 10px 0; text-decoration: none; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-base { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-base p { margin: 0; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; font-size: 8px; }

@media (max-width: 850px) {
  :root { --wrap: min(100% - 32px, 680px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-search { display: none; }
  .menu-button { justify-self: end; display: grid; width: 42px; height: 42px; place-content: center; gap: 4px; border: 0; color: var(--white); background: transparent; }
  .menu-button span { display: block; width: 22px; height: 1px; background: currentColor; }
  .menu-button b { position: absolute; overflow: hidden; width: 1px; height: 1px; }
  .site-nav { display: none; position: absolute; inset: 88px 0 auto; padding: 25px 16px; flex-direction: column; align-items: flex-start; gap: 22px; background: var(--forest); }
  .site-nav.is-open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-art { height: 430px; max-width: 500px; }
  .manifesto-grid, .library-layout, .reading-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .resource-card-large { min-height: 470px; }
  .filters { position: static; }
  .filters a:not([aria-current="page"]) { display: none; }
  .resource-hero-inner { grid-template-columns: 1fr; }
  .resource-symbol { display: none; }
  .breadcrumbs { margin-bottom: 40px; }
  .reading-aside { position: static; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero, .hero-grid { min-height: 0; }
  .hero-grid { padding-top: 65px; }
  .hero h1 { font-size: 56px; }
  .hero-art { height: 360px; transform: scale(.85); transform-origin: left top; }
  .button-row, .section-heading, .footer-base { align-items: flex-start; flex-direction: column; }
  .manifesto, .collections, .featured, .related, .about-story, .licence-section { padding: 80px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .page-hero { padding: 75px 0; }
  .page-hero h1 { font-size: 56px; }
  .library-section { padding-top: 55px; }
  .resource-list article { min-height: 165px; }
  .resource-list h3 { font-size: 24px; }
  .resource-list article > div > p:last-child { display: none; }
  .resource-hero h1 { font-size: 48px; }
  .resource-reading { padding: 65px 0 90px; }
  .prose { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-base { gap: 8px; }
}

@media print {
  .site-header, .site-footer, .reading-aside, .related, .reading-progress { display: none; }
  .resource-hero { padding: 30px 0; color: var(--ink); background: white; }
  .resource-hero h1 { font-size: 42px; }
  .resource-hero p { color: var(--ink) !important; }
  .resource-reading { padding: 30px 0; }
  .reading-layout { display: block; }
  .prose { max-width: none; font-size: 11pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
