:root {
  --ink: #111111;
  --paper: #f7f7f4;
  --white: #ffffff;
  --muted: #696966;
  --line: #deded9;
  --red: #ef2b16;
  --red-dark: #c91e0d;
  --max: 1240px;
  --article: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.container--article { width: min(calc(100% - 40px), var(--article)); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--white); }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Impact, "Noto Sans SC", sans-serif; letter-spacing: 0; line-height: .98; }
h1 { font-size: clamp(3.2rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h3 { font-size: 1.8rem; }

.site-header { position: sticky; top: 0; z-index: 30; height: 76px; border-bottom: 1px solid transparent; background: rgba(247,247,244,.92); backdrop-filter: blur(16px); }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { width: 210px; height: 56px; object-fit: contain; object-position: left center; }
.brand { position: relative; display: block; width: 210px; height: 56px; }
.brand img { position: absolute; inset: 0; }
.brand__light { opacity: 0; }
.site-header__nav { display: flex; align-items: center; gap: 34px; }
.site-header nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-header nav a, .account-nav > a:not(.button) { font-size: .9rem; font-weight: 700; }
.site-header nav a:hover, .account-nav > a:not(.button):hover { color: var(--red); }
.account-nav { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; font-size: .88rem; font-weight: 800; }
.button--small { min-height: 40px; padding-inline: 16px; }
.button--primary { background: var(--red); color: var(--white); }
.button--primary:hover { background: var(--red-dark); }
.button--glass { border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.18); color: var(--white); backdrop-filter: blur(8px); }
.button--light { background: var(--white); color: var(--ink); }
.button--outline { border-color: var(--line); }

.hero { position: relative; min-height: min(780px, calc(100vh - 76px)); display: flex; align-items: flex-end; overflow: hidden; background: #242421; color: var(--white); }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.08) 100%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 55%); }
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(54px, 9vw, 110px); }
.hero h1 { max-width: 780px; text-transform: uppercase; }
.hero__content > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.topic-nav { border-bottom: 1px solid var(--line); background: var(--white); overflow-x: auto; }
.topic-nav__inner { display: flex; min-width: max-content; }
.topic-nav a { padding: 19px 28px 19px 0; margin-right: 28px; font-size: .88rem; font-weight: 800; }
.topic-nav a:hover { color: var(--red); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--muted { background: #eeeeea; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.text-link { border-bottom: 2px solid var(--red); font-size: .9rem; font-weight: 800; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.feature-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }

.post-card { min-width: 0; }
.post-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #d9d9d2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__fallback { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(17,17,17,.12); font: 800 8rem "Arial Narrow", Impact, sans-serif; }
.post-card__flag, .post-card__access { position: absolute; top: 12px; padding: 7px 10px; background: var(--red); color: white; font-size: .7rem; font-weight: 800; }
.post-card__flag { left: 12px; }
.post-card__access { right: 12px; background: var(--ink); }
.post-card__body { padding-top: 17px; }
.post-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.post-card__meta a { color: var(--red); }
.post-card h3 { margin-top: 10px; font-size: clamp(1.65rem, 3vw, 2.15rem); line-height: 1.05; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { margin: 12px 0; color: var(--muted); font-size: .92rem; }
.post-card__read { font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.feature-grid .post-card:first-child .post-card__media { aspect-ratio: 16 / 11; }

.page-head { padding: clamp(80px, 12vw, 150px) 0 72px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-head__inner { max-width: 900px; margin-left: max(20px, calc((100vw - var(--max)) / 2)); }
.page-head h1 { font-size: clamp(4rem, 10vw, 8rem); }
.page-head p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; }
.page-head--image { position: relative; color: white; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.25)), var(--tag-image) center/cover; }
.author-head { display: flex; align-items: center; gap: 32px; }
.author-head__image { width: 130px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }

.article { padding-top: clamp(70px, 9vw, 120px); background: var(--white); }
.article-head { text-align: center; }
.article-head h1 { font-size: clamp(3.4rem, 8vw, 6.7rem); }
.article-head__deck { margin: 24px auto 0; color: var(--muted); font-size: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.member-state { color: var(--red); }
.article-image { margin-top: 58px; }
.article-image img { width: 100%; max-height: 780px; object-fit: cover; }
.article-image figcaption { margin-top: 8px; color: var(--muted); font-size: .75rem; }
.gh-content { padding-top: 64px; padding-bottom: 70px; font-size: 1.05rem; }
.gh-content > * { margin-top: 0; margin-bottom: 1.6em; }
.gh-content h2 { margin-top: 1.4em; font-size: 2.5rem; }
.gh-content h3 { margin-top: 1.4em; font-size: 2rem; }
.gh-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote { margin-inline: 0; padding-left: 24px; border-left: 4px solid var(--red); font-family: "Arial Narrow", Impact, "Noto Sans SC", sans-serif; font-size: 2rem; line-height: 1.2; }
.gh-content img { width: auto; margin-inline: auto; }
.kg-width-wide { width: min(100vw - 40px, 1100px); margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.article-footer { padding-bottom: 90px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 7px 10px; border: 1px solid var(--line); font-size: .75rem; font-weight: 700; }
.article-author { display: flex; gap: 18px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.article-author p { margin: 8px 0 0; color: var(--muted); }

.post-template .article { padding-top: clamp(90px, 12vw, 170px); }
.post-template .article-head { width: min(calc(100% - 40px), 1040px); text-align: left; }
.post-template .article-head h1 { max-width: 1000px; font-size: clamp(4rem, 9vw, 8.5rem); text-transform: uppercase; }
.post-template .article-head__deck { max-width: 720px; margin-left: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.post-template .article-meta { justify-content: flex-start; padding-top: 18px; border-top: 1px solid var(--line); }
.post-template .article-image { width: min(calc(100% - 40px), 1500px); }
.post-template .article-image img { max-height: 860px; }

.membership-cta { padding: 72px 0; background: var(--red); color: var(--white); }
.membership-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.membership-cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.membership-cta p:not(.eyebrow) { margin: 16px 0 0; color: rgba(255,255,255,.8); }
.membership-cta .eyebrow { color: var(--white); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 56px; font-size: .82rem; font-weight: 700; }

.site-footer { padding: 72px 0 24px; background: var(--ink); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.site-footer__logo { width: 220px; }
.site-footer p { max-width: 420px; color: rgba(255,255,255,.58); }
.site-footer h3 { margin-bottom: 18px; color: rgba(255,255,255,.45); font: 700 .75rem Inter; text-transform: uppercase; }
.site-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__grid a:hover { color: var(--red); }
.site-footer__bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.4); font-size: .72rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-header__nav { position: fixed; inset: 76px 0 auto; display: none; padding: 30px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-header__nav.is-open { display: block; }
  .home-template .site-header__nav.is-open { color: var(--ink); }
  .site-header nav ul, .account-nav { align-items: stretch; flex-direction: column; }
  .site-header nav ul { gap: 0; }
  .site-header nav a { display: block; padding: 13px 0; font-size: 1.1rem; }
  .account-nav { gap: 12px; margin-top: 20px; }
  .account-nav .button { width: 100%; }
  .post-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid .post-card:first-child { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .container--article { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 172px; }
  .hero { min-height: 680px; }
  .hero__shade { background: linear-gradient(0deg, rgba(0,0,0,.86), rgba(0,0,0,.12) 80%); }
  .post-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .post-card:first-child { grid-column: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .membership-cta__inner { align-items: flex-start; flex-direction: column; }
  .membership-cta .button { width: 100%; }
  .author-head { align-items: flex-start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > div:first-child { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pagination { flex-wrap: wrap; }
}

/* Motolog editorial home */
.eyebrow--light { color: rgba(255,255,255,.72); }
.cover-story { position: relative; min-height: calc(100svh - 76px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: #111; }
.cover-story__media, .cover-story__veil { position: absolute; inset: 0; }
.cover-story__media img { width: 100%; height: 100%; object-fit: cover; animation: cover-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
.cover-story__veil { background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.45) 52%, rgba(0,0,0,.08) 82%), linear-gradient(0deg, rgba(0,0,0,.65), transparent 58%); }
.cover-story__content { position: relative; z-index: 2; padding-bottom: clamp(58px, 9vh, 110px); }
.cover-story__meta { display: flex; gap: 28px; margin-bottom: clamp(70px, 13vh, 150px); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cover-story h1 { max-width: 960px; font-size: clamp(4.2rem, 10vw, 9.5rem); text-transform: uppercase; text-wrap: balance; }
.cover-story h1 a:hover { color: #efefeb; }
.cover-story__content > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; }
.cover-story__read { display: inline-flex; align-items: center; gap: 18px; margin-top: 30px; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.circle-arrow, .circle-link { display: inline-grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: transform .25s, background .25s, color .25s; }
.cover-story__read:hover .circle-arrow, .circle-link:hover { transform: rotate(45deg); background: var(--white); color: var(--ink); }
.cover-story__index { position: absolute; right: -1vw; bottom: -9vw; z-index: 1; color: rgba(255,255,255,.08); font: 800 clamp(18rem, 42vw, 44rem)/.75 "Arial Narrow", Impact, sans-serif; }
.cover-story__scroll { position: absolute; right: 24px; top: 50%; z-index: 2; color: rgba(255,255,255,.55); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
@keyframes cover-in { from { opacity: .45; transform: scale(1.055); } to { opacity: 1; transform: scale(1); } }

.home-template .site-header { position: absolute; width: 100%; color: var(--white); background: transparent; }
.home-template .site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(247,247,244,.94); }
.home-template .brand__dark { opacity: 0; }
.home-template .brand__light { opacity: 1; }
.home-template .site-header.is-scrolled .brand__dark { opacity: 1; }
.home-template .site-header.is-scrolled .brand__light { opacity: 0; }
.home-template .nav-toggle span { background: var(--white); }
.home-template .site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--red); color: var(--white); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: 22px; padding: 13px 0; animation: ticker 24s linear infinite; font: 800 1rem "Arial Narrow", Impact, sans-serif; letter-spacing: .06em; }
.ticker__track i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
@keyframes ticker { to { transform: translateX(-50%); } }

.editorial { background: var(--paper); }
.editorial-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 60px; }
.editorial-head > p { max-width: 410px; justify-self: end; color: var(--muted); }
.editorial-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 24px; }
.editorial-card { min-width: 0; }
.editorial-card--1 { grid-column: 1 / span 7; }
.editorial-card--2 { grid-column: 9 / span 4; margin-top: 180px; }
.editorial-card--3 { grid-column: 2 / span 4; }
.editorial-card--4 { grid-column: 7 / span 6; margin-top: 80px; }
.editorial-card__image { position: relative; display: block; overflow: hidden; background: #ddd; }
.editorial-card--1 .editorial-card__image, .editorial-card--4 .editorial-card__image { aspect-ratio: 16 / 10; }
.editorial-card--2 .editorial-card__image, .editorial-card--3 .editorial-card__image { aspect-ratio: 4 / 5; }
.editorial-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.editorial-card:hover img { transform: scale(1.035); }
.editorial-card__number { position: absolute; right: 12px; bottom: -18px; color: var(--white); font: 800 clamp(4rem, 8vw, 7rem)/1 "Arial Narrow", Impact, sans-serif; }
.editorial-card__body { padding-top: 20px; }
.editorial-card h3 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3.5rem); }
.editorial-card p { max-width: 520px; margin: 14px 0 0; color: var(--muted); }

.route-ledger { padding: 110px 0 0; overflow: hidden; background: var(--ink); color: var(--white); }
.route-ledger__head { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 56px; }
.route-ledger h2 { font-size: clamp(4rem, 9vw, 9rem); text-transform: uppercase; }
.route-scroll { display: grid; grid-auto-columns: minmax(340px, 42vw); grid-auto-flow: column; gap: 2px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--red) #222; }
.route-panel > a { position: relative; display: block; height: min(72vh, 720px); overflow: hidden; }
.route-panel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .6s, filter .6s; }
.route-panel:hover img { transform: scale(1.035); filter: saturate(1); }
.route-panel__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.86), transparent 70%); }
.route-panel__count { position: absolute; top: 20px; right: 20px; font: 800 1rem "Arial Narrow", Impact, sans-serif; }
.route-panel__content { position: absolute; inset: auto 28px 34px; display: grid; gap: 12px; }
.route-panel__content strong { max-width: 520px; font: 800 clamp(2.4rem, 5vw, 4.8rem)/.95 "Arial Narrow", Impact, sans-serif; }
.route-panel__content > span:last-child { max-width: 420px; color: rgba(255,255,255,.64); font-size: .83rem; }

.review-index { background: var(--white); }
.review-index__head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 34px; }
.review-list { border-top: 1px solid var(--ink); }
.review-row { position: relative; display: grid; grid-template-columns: 70px 1fr 180px 50px; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.review-row:hover { padding-left: 12px; color: var(--red); }
.review-row__number, .review-row__tag { color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.review-row__title { font: 800 clamp(1.8rem, 4vw, 3.6rem)/1 "Arial Narrow", Impact, "Noto Sans SC", sans-serif; }
.review-row__arrow { font-size: 1.4rem; text-align: right; }
.review-row__preview { position: absolute; right: 90px; z-index: 2; width: 190px; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0; pointer-events: none; transform: rotate(-4deg) scale(.92); transition: opacity .25s, transform .25s; }
.review-row:hover .review-row__preview { opacity: 1; transform: rotate(-4deg) scale(1); }

.latest-journal { background: #e8e8e3; }
.journal-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.journal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 50px 24px; }
.journal-grid .post-card { grid-column: span 4; }
.journal-grid .post-card:nth-child(5n + 1) { grid-column: span 7; }
.journal-grid .post-card:nth-child(5n + 2) { grid-column: span 5; margin-top: 100px; }
.journal-grid .post-card:nth-child(5n + 1) .post-card__media { aspect-ratio: 16 / 10; }

.membership-cta { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--red); }
.membership-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; }
.membership-cta__copy { max-width: 850px; }
.membership-cta h2 { font-size: clamp(4.5rem, 11vw, 10rem); line-height: .82; text-transform: uppercase; }
.membership-cta__ghost { position: absolute; right: -7vw; bottom: -21vw; color: rgba(255,255,255,.09); font: 800 44vw/.7 Impact, sans-serif; }
.circle-join { display: grid; width: 150px; height: 150px; place-items: center; align-content: center; gap: 6px; border-radius: 50%; background: var(--white); color: var(--ink); font-weight: 800; transition: transform .3s; }
.circle-join:hover { transform: rotate(8deg) scale(1.04); }
.circle-join span:last-child { font-size: 1.4rem; }

@media (max-width: 900px) {
  .cover-story__meta { margin-bottom: 90px; }
  .editorial-card--1 { grid-column: 1 / span 8; }
  .editorial-card--2 { grid-column: 9 / span 4; margin-top: 100px; }
  .editorial-card--3 { grid-column: 1 / span 5; }
  .editorial-card--4 { grid-column: 6 / span 7; }
  .route-scroll { grid-auto-columns: 72vw; }
  .review-row { grid-template-columns: 55px 1fr 40px; }
  .review-row__tag { display: none; }
  .review-row__preview { display: none; }
  .journal-grid .post-card, .journal-grid .post-card:nth-child(5n + 1), .journal-grid .post-card:nth-child(5n + 2) { grid-column: span 6; margin-top: 0; }
}

@media (max-width: 620px) {
  .cover-story { min-height: 760px; }
  .cover-story__meta { margin-bottom: 120px; }
  .cover-story h1 { font-size: clamp(3.7rem, 18vw, 6.5rem); }
  .cover-story__scroll, .cover-story__index { display: none; }
  .editorial-head { grid-template-columns: 1fr; gap: 20px; }
  .editorial-head > p { justify-self: start; }
  .editorial-layout { display: block; }
  .editorial-card { margin: 0 0 54px; }
  .editorial-card--2 .editorial-card__image, .editorial-card--3 .editorial-card__image { aspect-ratio: 4 / 3; }
  .route-ledger { padding-top: 76px; }
  .route-scroll { grid-auto-columns: 86vw; }
  .route-panel > a { height: 580px; }
  .review-index__head { display: block; }
  .review-row { min-height: 92px; }
  .review-row__title { font-size: 1.8rem; }
  .journal-head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .journal-grid { display: block; }
  .journal-grid .post-card { margin-bottom: 44px !important; }
  .membership-cta { min-height: 680px; }
  .membership-cta__inner { display: flex; }
  .membership-cta h2 { font-size: clamp(4rem, 20vw, 7rem); }
  .circle-join { width: 122px; height: 122px; }
}

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

/* V3: Motolog information console */
:root {
  --shell: #e9ebec;
  --surface: #f8f8f6;
  --surface-2: #f0f1ef;
  --graphite: #17191a;
  --quiet: #777b7d;
  --console-line: #d5d8d8;
  --signal: #e83922;
  --map: #1d8a67;
  --amber: #bd7a16;
  --sidebar-width: 270px;
}

body { background: var(--shell); color: var(--graphite); font-size: 15px; }
h1, h2, h3 { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif; }
.app-shell { min-height: 100vh; }
.app-main { min-width: 0; margin-left: var(--sidebar-width); }
.app-main > main { min-height: 70vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; display: flex; width: var(--sidebar-width); flex-direction: column; padding: 28px 22px 20px; border-right: 1px solid #2b2e2f; background: var(--graphite); color: #f6f6f2; }
.sidebar__top { display: flex; align-items: center; justify-content: space-between; }
.sidebar__brand img { width: 192px; height: 48px; object-fit: contain; object-position: left; }
.sidebar__close { display: none; border: 0; background: transparent; color: white; font-size: 2rem; }
.sidebar__intro { margin: 30px 4px; color: #95999a; font-size: .79rem; line-height: 1.65; }
.sidebar__social { display: flex; gap: 8px; margin-top: auto; padding: 0 0 12px; }
.sidebar__social:empty { display: none; }
.sidebar__social a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #303435; background: #1d2021; color: #aeb2b3; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.sidebar__social a:hover { border-color: var(--signal); color: white; transform: translateY(-2px); }
.sidebar__social svg { width: 15px; height: 15px; fill: currentColor; }
.sidebar-link__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sidebar__nav { display: grid; gap: 4px; }
.sidebar-menu { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sidebar-link > a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; min-height: 48px; padding: 0 10px; border: 1px solid transparent; color: #d6d8d8; font-size: .84rem; font-weight: 600; transition: background .2s, border .2s, color .2s; }
.sidebar-link > a:hover, .sidebar-link.is-current > a { border-color: #363a3b; background: #202324; color: white; }
.sidebar-link.is-current > a { box-shadow: inset 2px 0 var(--signal); }
.sidebar-link__icon { color: #85898a; font-size: 1.05rem; }
.sidebar-link small { color: #666b6c; font-size: .63rem; font-weight: 600; text-transform: uppercase; }
.sidebar__member { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; padding: 16px 10px; border: 1px solid #303435; background: #1d2021; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--map); box-shadow: 0 0 0 4px rgba(29,138,103,.12); }
.sidebar__member strong, .sidebar__member small { display: block; }
.sidebar__member strong { font-size: .72rem; }
.sidebar__member small { margin-top: 3px; color: #777c7d; font-size: .61rem; }
.sidebar__member > a { color: var(--signal); font-size: .68rem; font-weight: 800; }
.sidebar__footer { display: flex; justify-content: space-between; margin-top: 18px; color: #5f6465; font-size: .62rem; }
.sidebar-scrim, .mobile-header { display: none; }

.dashboard { padding: 34px; }
.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: 1420px; margin: 0 auto 28px; padding: 36px 40px; border: 1px solid var(--console-line); background: var(--surface); }
.dashboard-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--quiet); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-head h1 { max-width: 770px; font-size: clamp(3.1rem, 6vw, 6.3rem); font-weight: 650; letter-spacing: -.045em; line-height: .95; }
.dashboard-head > div > p:last-child { max-width: 600px; margin: 22px 0 0; color: var(--quiet); }
.dashboard-head__actions { display: flex; gap: 8px; }
.action-pill { display: inline-flex; min-height: 42px; align-items: center; gap: 26px; padding: 0 15px; border: 1px solid var(--console-line); background: white; font-size: .72rem; font-weight: 750; }
.action-pill--red { border-color: var(--signal); background: var(--signal); color: white; }

.overview-grid { display: grid; max-width: 1420px; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 14px; margin: 0 auto; }
.panel, .spotlight, .board-column { border: 1px solid var(--console-line); background: var(--surface); }
.panel-head { display: flex; min-height: 70px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--console-line); }
.panel-head > div { display: flex; align-items: center; gap: 12px; }
.panel-head h2 { font-size: 1rem; font-weight: 700; }
.panel-head > a { color: var(--quiet); font-size: .67rem; font-weight: 700; }
.panel-head > a:hover { color: var(--signal); }
.panel-index { display: grid; width: 28px; height: 28px; place-items: center; background: var(--signal); color: white; font-size: .6rem; font-weight: 800; }
.panel-index--green { background: var(--map); }
.panel-index--amber { background: var(--amber); }
.overview-feed { padding: 0 24px 10px; }
.compact-feed { display: grid; }
.compact-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--console-line); }
.compact-item:last-child { border-bottom: 0; }
.compact-item__image { display: block; height: 64px; overflow: hidden; background: #ddd; }
.compact-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.compact-item:hover img { transform: scale(1.04); }
.compact-item__image span { display: grid; height: 100%; place-items: center; color: #aaa; font-weight: 800; }
.compact-item__meta { color: var(--quiet); font-size: .59rem; font-weight: 700; text-transform: uppercase; }
.compact-item h3 { margin: 5px 0 4px; font-size: .94rem; line-height: 1.25; }
.compact-item h3 a:hover { color: var(--signal); }
.compact-item > div > span { color: var(--quiet); font-size: .58rem; }

.spotlight { min-height: 510px; }
.spotlight__media { position: relative; display: block; height: 100%; min-height: 510px; overflow: hidden; color: white; }
.spotlight__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.spotlight:hover img { transform: scale(1.025); }
.spotlight__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 68%); }
.spotlight__badge { position: absolute; top: 20px; left: 20px; padding: 8px 10px; background: rgba(20,22,23,.88); font-size: .61rem; font-weight: 700; text-transform: uppercase; }
.spotlight__copy { position: absolute; right: 28px; bottom: 28px; left: 28px; display: grid; gap: 10px; }
.spotlight__copy > span { color: rgba(255,255,255,.65); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.spotlight__copy strong { max-width: 650px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.spotlight__copy small { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.5; }
.spotlight__arrow { position: absolute; top: 18px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }

.metric-strip { display: grid; max-width: 1420px; grid-template-columns: repeat(4, 1fr); margin: 14px auto; border: 1px solid var(--console-line); background: var(--surface); }
.metric-strip a { display: grid; grid-template-columns: 1fr auto; align-items: end; min-height: 105px; padding: 18px 20px; border-right: 1px solid var(--console-line); }
.metric-strip a:last-child { border-right: 0; }
.metric-strip span { color: var(--quiet); font-size: .68rem; font-weight: 700; }
.metric-strip strong { grid-row: span 2; font-size: 2.6rem; font-weight: 500; line-height: 1; }
.metric-strip small { color: #a1a4a5; font-size: .58rem; text-transform: uppercase; }
.metric-strip a:hover { background: white; }

.content-board { display: grid; max-width: 1420px; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 auto; }
.board-column { padding: 0 24px 24px; }
.board-card { margin-top: 18px; }
.board-card > a { display: grid; grid-template-columns: 190px 1fr; gap: 18px; }
.board-card img { width: 190px; height: 130px; object-fit: cover; }
.board-card__body { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.board-card__body small { color: var(--map); font-size: .59rem; font-weight: 750; text-transform: uppercase; }
.board-card__body strong { margin-top: 7px; font-size: 1.15rem; line-height: 1.25; }
.board-card__body > span { margin-top: 7px; color: var(--quiet); font-size: .7rem; }
.board-card:hover strong { color: var(--signal); }
.panel-head--second { margin-top: 30px; border-top: 1px solid var(--console-line); }
.data-list a { display: grid; grid-template-columns: 34px minmax(0,1fr) 65px 20px; align-items: center; min-height: 57px; border-bottom: 1px solid var(--console-line); }
.data-list__number, .data-list small { color: var(--quiet); font-size: .59rem; font-weight: 700; }
.data-list strong { overflow: hidden; font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.data-list a > span:last-child { color: #aaa; }
.data-list a:hover strong, .data-list a:hover > span:last-child { color: var(--signal); }

.dashboard .membership-cta { min-height: auto; max-width: 1420px; margin: 14px auto 0; padding: 44px 40px; border: 1px solid #c42d1a; }
.dashboard .membership-cta__inner { width: 100%; display: flex; }
.dashboard .membership-cta h2 { font-size: clamp(2.7rem, 5vw, 5rem); line-height: .95; }
.dashboard .membership-cta__ghost { display: none; }
.dashboard .circle-join { width: 104px; height: 104px; }

.app-main .site-footer { padding: 40px 34px 20px; background: transparent; color: var(--quiet); }
.app-main .site-footer__grid { display: none; }
.app-main .site-footer__bottom { max-width: 1420px; margin: 0 auto; border-color: var(--console-line); color: var(--quiet); }

/* Inner pages share the console shell */
.app-main .page-head { margin: 34px 34px 0; padding: 70px 0 50px; border: 1px solid var(--console-line); background: var(--surface); }
.app-main .page-head__inner { margin-left: max(24px, calc((100vw - var(--sidebar-width) - 1240px) / 2)); }
.app-main .page-head h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); letter-spacing: -.04em; }
.app-main > main > .section { margin: 0 34px; padding: 50px 0; }
.app-main .article { margin: 34px; border: 1px solid var(--console-line); }
.app-main .article-head h1 { letter-spacing: -.045em; text-transform: none; }

/* About */
.about-page, .plans-page { padding: 34px; }
.about-intro, .plans-head { display: grid; max-width: 1420px; grid-template-columns: 1.2fr .8fr; gap: 70px; margin: 0 auto 14px; padding: 72px 60px; border: 1px solid var(--console-line); background: var(--surface); }
.about-intro h1, .plans-head h1 { font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 620; letter-spacing: -.05em; line-height: .92; }
.about-intro__copy { align-self: end; }
.about-intro__copy p { margin: 0 0 20px; color: var(--quiet); font-size: .95rem; line-height: 1.8; }
.about-manifesto { display: grid; max-width: 1420px; grid-template-columns: 180px 1fr; align-items: center; gap: 40px; margin: 0 auto 14px; padding: 60px; border: 1px solid #292c2d; background: var(--graphite); color: white; }
.about-manifesto__index { color: #414647; font-size: 6rem; font-weight: 300; }
.about-manifesto h2 { max-width: 920px; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 520; letter-spacing: -.04em; line-height: 1.05; }
.about-values { display: grid; max-width: 1420px; grid-template-columns: repeat(4, 1fr); margin: 0 auto 14px; border: 1px solid var(--console-line); background: var(--surface); }
.about-values article { min-height: 250px; padding: 28px; border-right: 1px solid var(--console-line); }
.about-values article:last-child { border-right: 0; }
.about-values article > span { color: var(--signal); font-size: .62rem; font-weight: 800; }
.about-values h3 { margin-top: 58px; font-size: 1.05rem; }
.about-values p { color: var(--quiet); font-size: .75rem; line-height: 1.7; }
.about-content { padding-block: 40px; }
.about-contact { display: grid; max-width: 1420px; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; margin: 0 auto; padding: 60px; border: 1px solid var(--console-line); background: var(--surface); }
.about-contact h2 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.045em; }
.about-contact > div:last-child { justify-self: end; }
.about-contact p { max-width: 430px; color: var(--quiet); }

/* Membership */
.plans-head { display: block; }
.plans-head h1 { max-width: 1050px; }
.plans-head > p:last-child { max-width: 720px; margin: 28px 0 0; color: var(--quiet); font-size: .95rem; line-height: 1.8; }
.plans-grid { display: grid; max-width: 1420px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 auto 14px; }
.plan-card { display: flex; min-height: 540px; flex-direction: column; padding: 36px; border: 1px solid var(--console-line); background: var(--surface); }
.plan-card--paid { border-color: #292c2d; background: var(--graphite); color: white; }
.plan-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--console-line); }
.plan-card--paid .plan-card__top { border-color: #343839; }
.plan-card__top span { color: var(--quiet); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.plan-card__top strong { font-size: .86rem; }
.plan-card__price { display: flex; align-items: baseline; gap: 10px; margin-top: 40px; }
.plan-card__price strong { font-size: clamp(3.2rem, 6vw, 6rem); font-weight: 450; letter-spacing: -.05em; line-height: 1; }
.plan-card__price span { color: var(--quiet); font-size: .7rem; }
.plan-card > p { color: var(--quiet); }
.plan-card ul { display: grid; gap: 14px; margin: 36px 0; padding: 0; list-style: none; }
.plan-card li { position: relative; padding-left: 21px; color: var(--quiet); font-size: .78rem; }
.plan-card li::before { position: absolute; left: 0; color: var(--map); content: "✓"; font-weight: 800; }
.plan-card__action { display: flex; min-height: 50px; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 16px; background: var(--signal); color: white; font-size: .74rem; font-weight: 800; }
.plan-card--paid .plan-card__action { background: white; color: var(--graphite); }
.plan-card__secondary { margin-top: 14px; color: var(--quiet); font-size: .68rem; text-align: center; }
.plans-note { display: grid; max-width: 1420px; grid-template-columns: 220px 1fr; gap: 40px; margin: 0 auto; padding: 34px 40px; border: 1px solid var(--console-line); background: var(--surface); }
.plans-note span { font-size: .78rem; font-weight: 800; }
.plans-note p { max-width: 800px; margin: 0; color: var(--quiet); font-size: .78rem; line-height: 1.75; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 230px; }
  .dashboard { padding: 22px; }
  .dashboard-head { padding: 30px; }
  .overview-grid { grid-template-columns: 1fr; }
  .spotlight { min-height: 460px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip a:nth-child(2) { border-right: 0; }
  .metric-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--console-line); }
  .content-board { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-values article:nth-child(2) { border-right: 0; }
  .about-values article:nth-child(-n+2) { border-bottom: 1px solid var(--console-line); }
}

@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body.nav-open { overflow: hidden; }
  .app-main { margin-left: 0; }
  .sidebar { width: min(310px, 88vw); transform: translateX(-102%); transition: transform .25s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__close { display: block; }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 55; display: block; background: rgba(0,0,0,.46); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sidebar-scrim.is-open { opacity: 1; pointer-events: auto; }
  .mobile-header { position: sticky; top: 0; z-index: 45; display: flex; height: 66px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--console-line); background: rgba(248,248,246,.95); backdrop-filter: blur(12px); }
  .mobile-header img { width: 170px; height: 42px; object-fit: contain; }
  .mobile-header button { width: 40px; height: 40px; padding: 10px; border: 0; background: transparent; }
  .mobile-header button span { display: block; height: 2px; margin: 6px 0; background: var(--graphite); }
  .dashboard { padding: 12px; }
  .dashboard-head { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
  .dashboard-head h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .dashboard-head > div > p:last-child { font-size: .86rem; line-height: 1.65; }
  .dashboard-head__actions { width: 100%; }
  .action-pill { flex: 1; justify-content: space-between; }
  .overview-grid { gap: 12px; }
  .overview-feed { padding-inline: 16px; }
  .spotlight, .spotlight__media { min-height: 430px; }
  .spotlight__copy { right: 20px; bottom: 22px; left: 20px; }
  .spotlight__copy strong { font-size: 1.75rem; }
  .spotlight__copy small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .metric-strip { margin-block: 12px; }
  .metric-strip a { min-height: 88px; padding: 14px; }
  .metric-strip strong { font-size: 2rem; }
  .board-column { padding-inline: 16px; }
  .board-card > a { grid-template-columns: 120px 1fr; }
  .board-card img { width: 120px; height: 105px; }
  .dashboard .membership-cta { margin-top: 12px; padding: 34px 22px; }
  .dashboard .membership-cta__inner { align-items: flex-start; flex-direction: column; }
  .dashboard .membership-cta__copy { width: 100%; }
  .dashboard .membership-cta h2 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .dashboard .circle-join { width: 88px; height: 88px; flex: 0 0 88px; }
  .app-main .page-head, .app-main .article { margin: 12px; }
  .app-main > main > .section { margin: 0 12px; }
  .post-template .article-head, .container--article { width: min(calc(100% - 28px), var(--article)); }
  .post-template .article-head h1 { overflow-wrap: anywhere; font-size: clamp(2.8rem, 13vw, 4.7rem); }
  .article-image { width: calc(100% - 28px); }
  .kg-width-wide, .kg-width-full { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .gh-content pre { max-width: 100%; overflow-x: auto; }
  .gh-content table { display: block; max-width: 100%; overflow-x: auto; }
  .about-page, .plans-page { padding: 12px; }
  .about-intro, .plans-head { padding: 42px 24px; }
  .about-intro h1, .plans-head h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .about-manifesto { grid-template-columns: 1fr; gap: 10px; padding: 40px 24px; }
  .about-manifesto__index { font-size: 3rem; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article, .about-values article:nth-child(2) { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--console-line); }
  .about-values article:last-child { border-bottom: 0; }
  .about-contact { grid-template-columns: 1fr; padding: 42px 24px; }
  .about-contact > div:last-child { justify-self: start; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 500px; padding: 28px 22px; }
  .plans-note { grid-template-columns: 1fr; gap: 12px; padding: 28px 22px; }
}

@media (max-width: 500px) {
  .dashboard-head__actions { flex-direction: column; }
  .compact-item { grid-template-columns: 74px 1fr; }
  .compact-item__image { height: 58px; }
  .metric-strip span { max-width: 48px; }
  .metric-strip a { grid-template-columns: minmax(0, 1fr) auto; }
  .metric-strip strong { font-size: 1.75rem; }
  .board-card__body > span { display: none; }
  .board-card__body strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .data-list a { grid-template-columns: 28px minmax(0,1fr) 45px 15px; }
  .dashboard .membership-cta__inner { align-items: flex-start; }
}

@media (max-width: 370px) {
  .dashboard { padding: 8px; }
  .dashboard-head { padding: 22px 18px; }
  .dashboard-head h1 { font-size: 2.75rem; }
  .compact-item { grid-template-columns: 64px minmax(0,1fr); gap: 12px; }
  .compact-item__image { height: 54px; }
  .compact-item h3 { font-size: .84rem; }
  .board-card > a { grid-template-columns: 100px minmax(0,1fr); gap: 12px; }
  .board-card img { width: 100px; height: 92px; }
  .data-list strong { font-size: .73rem; }
}
