/*
Theme Name: Ryan Leadership
Theme URI: https://ryanleadership.ai
Author: Ryan Wang
Author URI: https://ryanleadership.ai
Description: Senior-consultant theme for technical leadership, AI-era organization design and enterprise AI transformation.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: ryan-leadership
*/

:root {
  --ink: #f4f1ea;
  --muted: #a6a7ad;
  --dim: #73757e;
  --night: #090a0f;
  --night-2: #101117;
  --night-3: #15171f;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #27b6d7;
  --bronze: #c69268;
  --paper: #f2efe8;
  --paper-ink: #17191e;
  --serif: Georgia, 'Songti SC', 'STSong', serif;
  --sans: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--cyan); color: var(--night); }

.site-nav { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.brand small { display: block; margin-top: 4px; font: 9px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--cyan); color: var(--cyan); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 13px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { padding: 9px 18px; border: 1px solid rgba(198,146,104,.5); color: var(--bronze); font: 11px/1 var(--mono); letter-spacing: .08em; }

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 150px clamp(24px, 7vw, 110px) 70px; background: var(--night); }
.hero::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(9,10,15,.96) 0%, rgba(9,10,15,.82) 44%, rgba(9,10,15,.18) 78%, transparent 100%); pointer-events: none; }
.hero::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 36%; background: linear-gradient(transparent, rgba(9,10,15,.9)); pointer-events: none; }
.hero-network { position: absolute; z-index: 0; inset: 92px 0 0; width: 100%; height: calc(100% - 92px); opacity: .82; }
.hero-content { position: relative; z-index: 2; width: min(860px, 86vw); }
.eyebrow { margin: 0 0 24px; color: var(--cyan); font: 10px/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 860px; font: 400 clamp(40px, 4.2vw, 64px)/1.14 var(--serif); letter-spacing: -.03em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em { display: block; max-width: 10.5em; color: var(--bronze); font-weight: 400; }
.hero-lead { max-width: 660px; margin: 34px 0 0; color: var(--muted); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 15px 26px; text-decoration: none; font: 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #071015; }
.text-link { color: var(--muted); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hero-note { position: relative; z-index: 2; display: flex; justify-content: space-between; margin-top: auto; padding-top: 70px; color: var(--dim); font: 9px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night-2); }
.proof-strip > div { min-height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px clamp(24px, 5vw, 72px); border-right: 1px solid var(--line); text-align: center; }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { font: 400 clamp(25px, 3vw, 40px)/1.1 var(--serif); color: var(--ink); }
.proof-strip span { margin-top: 10px; color: var(--dim); font-size: 12px; }
.proof-domain strong { font-size: clamp(24px, 2.25vw, 34px); }

.section { padding: clamp(90px, 11vw, 150px) clamp(24px, 5vw, 76px); }
.section-heading { display: grid; grid-template-columns: 1fr 1.5fr; column-gap: 8vw; align-items: start; }
.section-heading .eyebrow { grid-column: 1; }
.section-heading h2 { grid-column: 1; margin: 0; max-width: 17ch; font: 400 clamp(34px, 4vw, 58px)/1.2 var(--serif); letter-spacing: -.025em; }
.section-heading > p:last-child { grid-column: 2; grid-row: 2; margin: 8px 0 0; max-width: 54ch; color: var(--muted); }
.practice { background: var(--night); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; border: 1px solid var(--line); background: var(--line); }
.practice-card { position: relative; min-height: 430px; padding: 38px 34px; background: var(--night); color: inherit; text-decoration: none; transition: background .25s; }
.practice-card:hover { background: var(--night-2); }
.practice-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.practice-card:hover::before { transform: scaleX(1); }
.card-index { color: var(--dim); font: 10px/1 var(--mono); letter-spacing: .15em; }
.card-kicker { margin: 82px 0 14px; color: var(--bronze); font: 9px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.practice-card h3 { margin: 0; font: 400 31px/1.25 var(--serif); }
.practice-card > p:not(.card-kicker) { margin: 24px 0 36px; color: var(--muted); font-size: 14px; }
.practice-card-link { position: absolute; bottom: 34px; color: var(--cyan); font: 11px/1 var(--mono); }

.perspective { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; background: var(--paper); color: var(--paper-ink); }
.perspective .eyebrow { color: #167c92; }
.perspective blockquote { margin: 0; max-width: 17ch; font: 400 clamp(32px, 4vw, 56px)/1.35 var(--serif); letter-spacing: -.025em; }
.perspective-copy { padding-top: 34px; }
.perspective-copy h2 { margin: 0 0 28px; font: 400 30px/1.3 var(--serif); }
.perspective-copy p { color: #575a62; font-size: 15px; }

.cta-section { text-align: center; background: radial-gradient(circle at 50% 30%, rgba(198,146,104,.1), transparent 34%), var(--night-2); border-top: 1px solid var(--line); }
.cta-section h2 { margin: 0 0 48px; font: 400 clamp(38px, 5vw, 72px)/1.18 var(--serif); letter-spacing: -.03em; }
.cta-section h2 em { color: var(--bronze); font-weight: 400; }
footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 32px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--dim); }
footer p { margin: 0; font: 9px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
footer p:last-child { text-align: right; }
.footer-brand { color: var(--ink); }
.footer-external { color: var(--cyan); font: 9px/1.5 var(--mono); letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.footer-external:hover { color: var(--ink); }

.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; }

.library-page { min-height: 100vh; background: var(--night); }
.library-hero { min-height: 700px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; padding: 180px clamp(24px, 6vw, 92px) 92px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 35%, rgba(39,182,215,.1), transparent 28%); }
.library-hero-copy h1 { margin: 0; font: 400 clamp(54px, 6vw, 88px)/1.08 var(--serif); letter-spacing: -.04em; }
.library-hero-copy h1 em { color: var(--bronze); font-weight: 400; }
.library-hero-copy > p:last-child { max-width: 620px; margin: 32px 0 0; color: var(--muted); font-size: 17px; }
.library-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.library-stats > div { position: relative; min-height: 190px; padding: 24px 20px; border-right: 1px solid var(--line); }
.library-stats > div:last-child { border-right: 0; }
.library-stats span { display: block; color: var(--dim); font: 9px/1 var(--mono); }
.library-stats strong { display: block; margin-top: 50px; font: 400 40px/1 var(--serif); }
.library-stats p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.library-content { padding: 64px clamp(24px, 6vw, 92px) 130px; }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-group button, .empty-state button { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 10px 16px; font: 11px/1 var(--sans); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.filter-group button:hover, .filter-group button.active { color: var(--night); border-color: var(--cyan); background: var(--cyan); }
.search-box { width: min(320px, 100%); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 10px 0; font-family: var(--sans); }
.search-box input::placeholder { color: var(--dim); }
.search-box > span:last-child { color: var(--cyan); font-size: 22px; }
.results-note { margin: 32px 0 18px; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .16em; }
.results-note span { color: var(--cyan); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-card { position: relative; min-height: 370px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--night); transition: background .2s; }
.article-card:hover { background: var(--night-2); }
.article-card.featured::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 34px; height: 2px; background: var(--bronze); }
.article-meta { display: flex; justify-content: space-between; gap: 14px; color: var(--dim); font: 9px/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-meta span:first-child { color: var(--cyan); }
.article-card h2 { margin: 62px 0 20px; font: 400 clamp(22px, 2vw, 30px)/1.35 var(--serif); letter-spacing: -.018em; }
.article-card > p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.75; }
.article-card-footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; color: var(--dim); font: 9px/1 var(--mono); letter-spacing: .1em; }
.article-card-footer span:last-child { color: var(--cyan); font-size: 14px; }
.empty-state { padding: 100px 0; text-align: center; color: var(--muted); }
.empty-state button { color: var(--cyan); margin-top: 10px; }

.site-nav-light { position: absolute; color: var(--paper-ink); border-bottom-color: rgba(17,19,24,.12); }
.site-nav-light .brand small, .site-nav-light .nav-links { color: #686b72; }
.site-nav-light .nav-links a:hover { color: var(--paper-ink); }
.article-page { background: var(--paper); color: var(--paper-ink); }
.article-hero { min-height: 570px; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px clamp(24px, 8vw, 126px) 64px; border-bottom: 1px solid rgba(17,19,24,.16); background: linear-gradient(125deg, rgba(39,182,215,.08), transparent 48%), var(--paper); }
.back-link { align-self: flex-start; margin-bottom: auto; color: #62656c; font: 10px/1 var(--mono); letter-spacing: .1em; text-decoration: none; }
.article-hero-meta { display: flex; gap: 22px; color: #676a72; font: 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-hero-meta span:first-child { color: #167c92; }
.article-hero-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(17,19,24,.2); }
.article-hero h1 { max-width: 24ch; margin: 22px 0 22px; font: 400 clamp(38px, 4.4vw, 60px)/1.22 var(--serif); letter-spacing: -.03em; }
.article-hero > p { max-width: 760px; margin: 0; color: #5b5e65; font-size: 15.5px; line-height: 1.85; }
.article-illustration { width: min(1120px, calc(100% - 48px)); margin: 76px auto 0; }
.article-illustration img { display: block; width: 100%; max-height: 610px; object-fit: cover; border: 1px solid rgba(17,19,24,.12); background: #ece7de; }
.article-illustration figcaption { display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 16px 0 0; color: #686b72; font-size: 12px; line-height: 1.7; }
.article-illustration figcaption span { color: #167c92; font: 9px/1.5 var(--mono); letter-spacing: .12em; }
.insight-map { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: .8fr 2.2fr; gap: 56px; margin: 82px auto 0; padding: 44px 0; border-top: 1px solid rgba(17,19,24,.16); border-bottom: 1px solid rgba(17,19,24,.16); }
.insight-map header > span { color: #167c92; font: 9px/1.5 var(--mono); letter-spacing: .12em; }
.insight-map header h2 { margin: 16px 0 0; font: 400 24px/1.4 var(--serif); }
.insight-map > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(17,19,24,.15); border: 1px solid rgba(17,19,24,.15); }
.insight-map article { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: var(--paper); }
.insight-map article span { color: #167c92; font: 9px/1 var(--mono); }
.insight-map article p { margin: 28px 0 0; font: 400 15px/1.55 var(--serif); }
.article-layout { display: grid; grid-template-columns: minmax(150px, .55fr) minmax(0, 2fr) minmax(80px, .45fr); gap: 5vw; padding: 82px clamp(24px, 8vw, 126px) 130px; }
.article-aside { position: sticky; top: 38px; align-self: start; display: flex; flex-direction: column; gap: 10px; color: #8a8b8e; font: 9px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-aside p { color: #167c92; margin: 0 0 16px; }
.article-body { grid-column: 2; width: min(100%, 760px); font: 400 16.5px/1.95 var(--sans); color: #2f3238; }
.article-body > p:first-child { margin-top: 0; font-size: 18.5px; line-height: 1.9; color: #202329; }
.article-body h2 { scroll-margin-top: 30px; margin: 66px 0 22px; font: 400 30px/1.4 var(--serif); color: #17191e; letter-spacing: -.015em; }
.article-body h3 { margin: 42px 0 18px; font: 500 20px/1.45 var(--serif); }
.article-body p { margin: 0 0 25px; }
.article-body strong { color: #16181d; font-weight: 600; }
.article-body blockquote { margin: 42px 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--bronze); font: 400 25px/1.65 var(--serif); color: #3e4147; }
.article-body ul, .article-body ol { margin: 20px 0 28px; padding-left: 1.3em; }
.article-body a { color: #126f83; text-underline-offset: 3px; }
.article-body hr { margin: 58px 0; border: 0; border-top: 1px solid rgba(17,19,24,.16); }
.article-body table { width: 100%; margin: 30px 0 38px; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.article-body th, .article-body td { padding: 14px 16px; border: 1px solid rgba(17,19,24,.15); text-align: left; vertical-align: top; }
.article-body th { background: #e5e0d6; color: #1a1c21; font-weight: 600; }
.article-body td:first-child { width: 34%; font-family: var(--serif); color: #202329; }
.article-author { margin-top: 86px; padding: 34px 36px; border-top: 1px solid rgba(17,19,24,.18); border-bottom: 1px solid rgba(17,19,24,.18); background: rgba(255,255,255,.24); }
.article-author-label { margin: 0 0 14px !important; color: #167c92; font: 9px/1.5 var(--mono); letter-spacing: .14em; }
.article-body .article-author h2 { margin: 0 0 12px; font-size: 27px; }
.article-author > p:not(.article-author-label) { margin: 0 0 18px; color: #555860; font-size: 14px; line-height: 1.8; }
.article-author > a { font: 10px/1.5 var(--mono); letter-spacing: .08em; text-decoration: none; }
.related-section { padding: 100px clamp(24px, 8vw, 126px); border-top: 1px solid rgba(17,19,24,.14); background: #e9e5dc; }
.related-section .eyebrow { color: #167c92; }
.related-section > h2 { margin: 0 0 46px; font: 400 38px/1.25 var(--serif); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(17,19,24,.16); border-left: 1px solid rgba(17,19,24,.16); }
.related-grid a { min-height: 250px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid rgba(17,19,24,.16); border-bottom: 1px solid rgba(17,19,24,.16); text-decoration: none; transition: background .2s; }
.related-grid a:hover { background: rgba(255,255,255,.38); }
.related-grid span, .related-grid p { color: #777980; font: 9px/1.4 var(--mono); letter-spacing: .1em; }
.related-grid h3 { margin: 42px 0 22px; font: 400 23px/1.4 var(--serif); }
.related-grid p { margin-top: auto; }
.footer-light { border-top-color: rgba(17,19,24,.14); color: #73757b; background: var(--paper); }
.footer-light .footer-brand { color: var(--paper-ink); }

.profile-page { min-height: 100vh; background: var(--night); color: var(--ink); }
.profile-hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); align-items: end; gap: clamp(60px, 9vw, 150px); padding: 170px clamp(24px, 7vw, 110px) 92px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 72% 18%, rgba(39,182,215,.1), transparent 32%), linear-gradient(125deg, rgba(197,137,91,.04), transparent 42%); }
.profile-intro h1 { margin: 26px 0 14px; font: 400 clamp(68px, 9vw, 132px)/.95 var(--serif); letter-spacing: -.045em; }
.profile-role { margin: 0 0 30px; color: var(--bronze); font: 400 clamp(27px, 3vw, 42px)/1.35 var(--serif); }
.profile-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.profile-actions { display: flex; align-items: center; gap: 36px; margin-top: 46px; }
.profile-facts { display: grid; align-self: stretch; border-left: 1px solid var(--line); }
.profile-facts > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 30px 0 30px 34px; border-bottom: 1px solid var(--line); }
.profile-facts > div:last-child { border-bottom: 0; }
.profile-facts strong { font: 400 38px/1 var(--serif); }
.profile-facts span { max-width: 230px; color: var(--dim); font-size: 11px; line-height: 1.6; }
.profile-practice { padding-block: 120px; }
.profile-practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 78px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.profile-practice-grid article { min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-practice-grid span { color: var(--cyan); font: 10px/1 var(--mono); }
.profile-practice-grid h3 { margin: 78px 0 24px; font: 400 28px/1.4 var(--serif); }
.profile-practice-grid p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.8; }
.profile-writing { padding-block: 110px 140px; border-top: 1px solid var(--line); }
.profile-writing-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.profile-writing-heading h2 { margin: 16px 0 0; font: 400 46px/1.2 var(--serif); }
.profile-writing-heading > a { color: var(--cyan); font-size: 12px; text-decoration: none; }

@media (max-width: 860px) {
  .site-nav { height: 76px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero { padding-top: 126px; }
  .hero-network { inset: 76px 0 0; height: calc(100% - 76px); opacity: .68; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(36px, 8vw, 50px); }
  .hero h1 > span { white-space: normal; }
  .hero h1 em { max-width: 100%; }
  .hero-note { flex-direction: column; gap: 8px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip > div { min-height: 128px; padding-inline: clamp(24px, 7vw, 48px); border-bottom: 1px solid var(--line); }
  .proof-strip > div:nth-child(even) { border-right: 0; }
  .proof-strip > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .section-heading, .perspective { grid-template-columns: 1fr; }
  .section-heading .eyebrow, .section-heading h2, .section-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .section-heading > p:last-child { margin-top: 28px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 380px; }
  .perspective-copy { padding-top: 64px; }
  .library-hero { min-height: 880px; grid-template-columns: 1fr; gap: 70px; padding-top: 150px; }
  .library-stats { max-width: 620px; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .insight-map { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { display: none; }
  .article-body { grid-column: 1; margin: 0 auto; }
  .related-grid { grid-template-columns: 1fr; }
  .profile-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }
  .profile-facts { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 0; }
  .profile-facts > div { justify-content: flex-start; padding: 26px 20px; border-right: 1px solid var(--line); border-bottom: 0; }
  .profile-facts > div:last-child { border-right: 0; }
  .profile-practice-grid { grid-template-columns: 1fr; }
  .profile-practice-grid article { min-height: 250px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 560px) {
  .brand > span:last-child { display: none; }
  .nav-links { gap: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero { min-height: 920px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .proof-strip > div:last-child { border-bottom: 0; }
  .library-hero { min-height: 940px; }
  .library-hero-copy h1 { font-size: 48px; }
  .library-stats { grid-template-columns: 1fr; }
  .library-stats > div { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .library-stats > div:last-child { border-bottom: 0; }
  .library-stats strong { margin-top: 22px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 340px; }
  .article-hero { min-height: 640px; }
  .article-hero-meta { flex-wrap: wrap; }
  .article-hero h1 { font-size: 38px; }
  .article-illustration { width: calc(100% - 32px); margin-top: 48px; }
  .article-illustration img { max-height: none; object-fit: contain; }
  .article-illustration figcaption { grid-template-columns: 1fr; gap: 8px; }
  .insight-map { width: calc(100% - 32px); margin-top: 56px; }
  .insight-map > div { grid-template-columns: 1fr; }
  .insight-map article { min-height: 116px; }
  .article-layout { padding-top: 70px; }
  .article-body { font-size: 15.5px; }
  .article-body > p:first-child { font-size: 17px; }
  .article-body h2 { font-size: 26px; }
  .article-author { margin-top: 64px; padding: 26px 22px; }
  .profile-intro h1 { font-size: 62px; }
  .profile-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-facts > div:last-child { border-bottom: 0; }
  .profile-writing-heading { align-items: flex-start; flex-direction: column; }
}

body.admin-bar .site-nav { top: 32px; }
[hidden] { display: none !important; }
.fallback-page { min-height: 75vh; padding-top: 92px; }
.fallback-page h1 { font: 400 clamp(42px, 6vw, 82px)/1.15 var(--serif); }
.fallback-page article { max-width: 850px; padding: 30px 0; border-top: 1px solid var(--line); }
.fallback-page article h2 { font: 400 30px/1.35 var(--serif); }
.fallback-page article a { text-decoration: none; }
@media (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }
