:root {
  --ink: #202021;
  --ink-soft: #505052;
  --paper: #f8f4ee;
  --paper-deep: #ece5dc;
  --white: #fffdf9;
  --orange: #e96c28;
  --orange-deep: #c74d14;
  --moss: #365247;
  --gold: #e5b954;
  --line: rgba(32, 32, 33, .14);
  --shadow: 0 18px 45px rgba(46, 34, 22, .12);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.shell { width: min(1180px, calc(100% - 42px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.prototype-bar { background: var(--ink); color: rgba(255,255,255,.74); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.prototype-bar__inner { display: flex; justify-content: space-between; gap: 14px; padding-block: 7px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248,244,238,.93); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-top { display: flex; justify-content: space-between; align-items: center; min-height: 88px; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; background: var(--orange); border-radius: 50%; color: white; font: 700 1.75rem/1 var(--serif); box-shadow: inset 0 0 0 4px rgba(255,255,255,.22); }
.brand strong { display: block; font-size: 1.12rem; letter-spacing: .025em; line-height: 1; }
.brand em { color: var(--orange); font-style: normal; font-size: .82em; }
.brand small { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.text-link { font-size: .87rem; font-weight: 700; }
.text-link:hover { color: var(--orange-deep); }
.main-menu { border-top: 1px solid var(--line); }
.main-menu__inner { display: flex; align-items: center; gap: 27px; min-height: 48px; }
.main-menu a { color: var(--ink-soft); font-size: .77rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.main-menu a:hover { color: var(--orange-deep); }
.mobile-actions, .menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 17px; border: 1px solid transparent; border-radius: 999px; font-size: .79rem; font-weight: 700; letter-spacing: .07em; line-height: 1.2; text-align: center; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: white; }
.button--primary:hover { background: var(--orange-deep); }
.button--ghost { border-color: var(--line); background: transparent; }
.button--ghost:hover { border-color: var(--orange); color: var(--orange-deep); }
.button--text { padding-inline: 0; color: var(--orange-deep); }
.button--dark { background: var(--ink); color: white; }
.button--light { background: var(--white); color: var(--ink); }
.button--outline-light { color: white; border-color: rgba(255,255,255,.55); }
.button--large { padding: 14px 22px; min-height: 52px; }

.eyebrow { margin: 0 0 11px; color: var(--orange-deep); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.16; }
h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.65rem); letter-spacing: -.065em; }
h1 span { color: var(--orange); }
h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.85rem); letter-spacing: -.055em; }
h3 { letter-spacing: -.035em; }

.hero { min-height: 665px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding-block: 76px 86px; }
.hero__intro { max-width: 620px; margin: 26px 0 29px; color: var(--ink-soft); font-size: 1.16rem; }
.hero__buttons { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__visual { position: relative; min-height: 465px; }
.hero-card--large { position: absolute; inset: 52px 35px 45px 50px; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 43px; overflow: hidden; color: white; background: linear-gradient(145deg, rgba(32,32,33,.88), rgba(54,82,71,.88)), url("../img/editorial-pattern.svg") center/cover; border-radius: 42% 6% 36% 8%; box-shadow: var(--shadow); }
.hero-card--large::before { content: ""; position: absolute; width: 230px; aspect-ratio: 1; top: -44px; right: -38px; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; }
.hero-card--large .eyebrow { color: var(--gold); }
.hero-card__quote { max-width: 430px; margin: 0; font: 700 clamp(1.35rem, 2.4vw, 2rem)/1.35 var(--serif); letter-spacing: -.03em; }
.hero-stat { position: absolute; z-index: 4; display: flex; flex-direction: column; min-width: 144px; padding: 17px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-stat strong { color: var(--orange-deep); font: 700 1.54rem/1 var(--serif); }
.hero-stat span { margin-top: 6px; color: var(--ink-soft); font-size: .68rem; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.hero-stat--one { top: 17px; right: 0; border-radius: 22px 4px 22px 22px; }
.hero-stat--two { left: 6px; bottom: 0; border-radius: 4px 22px 22px 22px; }
.hero-orb { position: absolute; right: 9px; bottom: 20px; width: 133px; aspect-ratio: 1; border: 2px solid var(--orange); border-radius: 50%; opacity: .44; }
.hero-orb::after { content: ""; position: absolute; inset: 17px; border: 2px solid var(--orange); border-radius: inherit; }

.topics-bar { background: var(--orange); color: white; border-block: 1px solid rgba(32,32,33,.16); }
.topics-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 14px; padding-block: 11px; }
.topics-bar__inner span { margin-right: 3px; color: rgba(255,255,255,.78); font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.topics-bar__inner a { padding: 5px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: white; font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.topics-bar__inner a:hover, .topics-bar__inner a:focus-visible { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); transform: translateY(-1px); }

.section { padding-block: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 34px; }
.editorial-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 17px; }
.feature-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 13px 27px rgba(46,34,22,.07); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card__image { position: relative; min-height: 192px; overflow: hidden; background-position: center; background-size: cover; }
.feature-card--lead .feature-card__image { min-height: 280px; }
.feature-card__image::after { content: ""; position: absolute; inset: auto -18px -54px auto; width: 146px; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; }
.feature-card__image--clown { background: linear-gradient(140deg, rgba(233,108,40,.45), rgba(32,32,33,.78)), url("../img/clown.svg") center/cover; }
.feature-card__image--ai { background: linear-gradient(140deg, rgba(54,82,71,.32), rgba(32,32,33,.82)), url("../img/ai.svg") center/cover; }
.feature-card__image--books { background: linear-gradient(140deg, rgba(229,185,84,.25), rgba(32,32,33,.8)), url("../img/books.svg") center/cover; }
.image-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 7px 10px; color: white; background: rgba(32,32,33,.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 99px; font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.feature-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.meta { margin: 0 0 9px; color: var(--orange-deep); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.feature-card h3 { margin: 0; font-size: 1.35rem; }
.feature-card--lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-card p:not(.meta) { color: var(--ink-soft); font-size: .92rem; }
.read-more { display: inline-flex; gap: 7px; align-items: center; margin-top: auto; padding-top: 17px; color: var(--orange-deep); font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 55px; border-block: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 40px 1fr 22px; gap: 12px; align-items: center; min-height: 118px; padding: 18px; border-right: 1px solid var(--line); transition: background .2s; }
.article-list a:last-child { border-right: 0; }
.article-list a:hover { background: rgba(255,253,249,.72); }
.article-list__number { color: var(--orange); font: 700 1.2rem/1 var(--serif); }
.article-list small { display: block; color: var(--orange-deep); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-list strong { display: block; margin-top: 7px; font: 700 .98rem/1.35 var(--serif); }
.article-list b { color: var(--orange-deep); }

.mission { overflow: hidden; background: var(--moss); color: white; }
.mission__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 68px; align-items: center; padding-block: 98px; }
.mission__visual { position: relative; min-height: 405px; }
.mission__shape { position: absolute; border-radius: 50%; }
.mission__shape--one { inset: 26px 82px 0 15px; background: var(--orange); border-radius: 48% 8% 48% 8%; }
.mission__shape--two { inset: 68px 14px 54px 82px; border: 2px solid rgba(255,255,255,.36); border-radius: 8% 48% 8% 48%; }
.mission__seal { position: absolute; left: 24%; top: 28%; z-index: 2; width: 190px; aspect-ratio: 1; display: grid; place-items: center; align-content: center; color: white; background: rgba(32,32,33,.82); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; text-align: center; box-shadow: 0 16px 35px rgba(0,0,0,.22); }
.mission__seal span { font: 700 3rem/1 var(--serif); }
.mission__seal small { margin-top: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.mission__content .eyebrow { color: var(--gold); }
.mission__content h2 { max-width: 700px; }
.mission__content p { max-width: 680px; color: rgba(255,255,255,.78); }
.mission__content .button { margin-top: 15px; }

.archives-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; }
.archives-intro p:not(.eyebrow) { max-width: 660px; color: var(--ink-soft); }
.archives-intro .button { margin-top: 13px; }
.archive-panel { display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.archive-panel div { padding: 26px 28px; background: var(--white); }
.archive-panel strong { display: block; color: var(--orange-deep); font: 700 2.25rem/1 var(--serif); }
.archive-panel span { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.topics { padding-block: 110px; background: var(--paper-deep); }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topic-card { min-height: 202px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: rgba(255,253,249,.72); border: 1px solid rgba(32,32,33,.1); border-radius: 15px; transition: transform .2s, background .2s, box-shadow .2s; }
.topic-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: var(--shadow); }
.topic-card span { margin-bottom: auto; color: var(--orange); font: 700 1.15rem/1 var(--serif); }
.topic-card strong { font: 700 1.65rem/1.2 var(--serif); letter-spacing: -.04em; }
.topic-card small { margin-top: 9px; color: var(--ink-soft); }

.participate { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; margin-block: 98px; padding: 47px; color: white; background: var(--orange); border-radius: 25px; box-shadow: var(--shadow); }
.participate .eyebrow { color: white; opacity: .78; }
.participate p:not(.eyebrow) { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,.88); }
.participate__actions { display: flex; flex-direction: column; gap: 12px; min-width: 235px; }

.site-footer { color: rgba(255,255,255,.74); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1fr; gap: 35px; padding-block: 65px; }
.brand--footer { color: white; }
.brand--footer small { color: rgba(255,255,255,.65); }
.footer-grid p { max-width: 360px; font-size: .86rem; }
.footer-grid h3 { margin: 0 0 15px; color: white; font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid a:not(.brand) { display: block; width: fit-content; margin-top: 8px; font-size: .83rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.11); font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }

@media (max-width: 980px) {
  .desktop-only { display: none; }
  .menu-toggle { width: 43px; height: 43px; display: grid; align-content: center; gap: 5px; padding: 9px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-menu { display: none; }
  .main-menu.is-open { display: block; }
  .main-menu__inner { display: grid; gap: 0; padding-block: 8px 16px; }
  .main-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-actions { display: flex; gap: 9px; flex-wrap: wrap; padding-top: 14px; }
  .mobile-actions .button { padding: 10px 15px; border-bottom: 1px solid transparent; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 61px 70px; }
  .hero__visual { min-height: 390px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--lead { grid-column: 1 / -1; }
  .article-list { grid-template-columns: 1fr; }
  .article-list a { border-right: 0; border-bottom: 1px solid var(--line); }
  .article-list a:last-child { border-bottom: 0; }
  .mission__grid, .archives-grid { grid-template-columns: 1fr; gap: 44px; }
  .mission__visual { min-height: 335px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .participate { grid-template-columns: 1fr; }
  .participate__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .prototype-bar__inner { display: block; padding-block: 6px; text-align: center; }
  .prototype-bar__inner span:last-child { display: none; }
  .header-top { min-height: 73px; }
  .brand__mark { width: 40px; }
  .brand strong { font-size: .94rem; }
  .brand small { margin-top: 5px; font-size: .56rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero { gap: 10px; padding-block: 50px 60px; }
  .hero__intro { font-size: 1rem; }
  .hero__visual { min-height: 340px; margin-top: 9px; }
  .hero-card--large { inset: 47px 11px 42px 18px; padding: 26px; border-radius: 34% 5% 31% 7%; }
  .hero-card__quote { font-size: 1.38rem; }
  .hero-stat { min-width: 126px; padding: 14px; }
  .hero-stat strong { font-size: 1.29rem; }
  .hero-stat--one { right: 0; }
  .hero-stat--two { left: 0; }
  .section, .topics { padding-block: 76px; }
  .section-heading { align-items: start; flex-direction: column; }
  .editorial-grid { grid-template-columns: 1fr; }
  .feature-card--lead { grid-column: auto; }
  .feature-card__image, .feature-card--lead .feature-card__image { min-height: 218px; }
  .mission__grid { padding-block: 75px; }
  .mission__visual { min-height: 275px; }
  .mission__shape--one { inset: 16px 49px 0 4px; }
  .mission__shape--two { inset: 45px 0 35px 54px; }
  .mission__seal { left: 17%; top: 22%; width: 162px; }
  .mission__seal span { font-size: 2.45rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 159px; }
  .participate { gap: 22px; margin-block: 65px; padding: 28px 22px; border-radius: 18px; }
  .participate__actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 23px; padding-block: 51px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
