/* ZEROT — Editorial pages / Concept 09.
   The essay bodies and their reading typography follow the ORIGINAL article design.
   Only the surrounding site chrome, header, background and footer use the Zerot homepage identity. */

/* Shared page rhythm: the header uses the same large/pill transitions as the homepage. */
.editorial-page .page-backdrop {height:790px;background:radial-gradient(ellipse 52% 65% at 85% 19%,rgba(95,60,170,.15),transparent 75%),radial-gradient(ellipse 36% 45% at 3% 0%,rgba(71,48,119,.10),transparent 80%)}
.editorial-page .site-layout {min-height:100vh;display:flex;flex-direction:column}
.editorial-page .nav-wrap {flex:none}
.editorial-page .site-footer {margin-top:auto}
.editorial-crumbs {display:flex;align-items:center;gap:12px;color:#85849b;font-size:12px;font-weight:570;letter-spacing:.025em}
.editorial-crumbs a {transition:color .2s}
.editorial-crumbs a:hover {color:#e7d9ff}
.editorial-crumbs span[aria-hidden] {color:#515164}

/* Editorial index: deliberately an editorial front page, rather than a third portfolio project. */
.editorial-main {padding:193px 0 120px}
.editorial-masthead {padding:0 0 85px;border-bottom:1px solid var(--rule-strong)}
.editorial-masthead h1 {margin:46px 0 25px;font-size:clamp(76px,10vw,148px);letter-spacing:-.088em;line-height:.93;font-weight:710}
.editorial-masthead>p {margin:0;color:var(--body);font-size:clamp(16px,2vw,20px)}
.editorial-issue {margin:0}
.editorial-story {position:relative;display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;padding:59px 0 72px;border-bottom:1px solid var(--rule)}
.editorial-story-kicker {padding-top:11px;color:#9e95b9;font-size:11px;letter-spacing:.12em;font-weight:650;text-transform:uppercase}
.editorial-story-content {max-width:920px}
.editorial-story h2 {margin:0 0 23px;max-width:870px;font-size:clamp(36px,4.2vw,63px);line-height:1.1;letter-spacing:-.066em;font-weight:630}
.editorial-story h2 a {transition:color .25s}
.editorial-story h2 a:hover {color:#d7bbfb}
.editorial-story p {max-width:690px;margin:0 0 37px;color:#a4a5b5;font-size:17px;line-height:1.75}
.editorial-story-link {display:inline-flex;align-items:center;gap:24px;color:#d1b9fa;font-size:13px;font-weight:650;transition:color .2s}
.editorial-story-link:hover {color:#fff}
.editorial-story-link span {transition:transform .2s}
.editorial-story-link:hover span {transform:translate(2px,-2px)}
.editorial-story-featured h2 {font-size:clamp(48px,5.6vw,88px);max-width:860px}

/* Reading pages: exact essay content / typographic ratios / spacing / closing cards
   retained from the site's existing styles.css. Scoped variables preserve the reading palette. */
.reading-main {--text:#f5f7ff;--muted:#a7b0c6;--line:rgba(160,215,255,.18);--cyan:#17c8ff;
 width:min(100%,808px);margin:0 auto;padding:192px 0 104px}
.reading-main .editorial-crumbs {margin-bottom:43px}
.reading-hero {padding-bottom:46px;border-bottom:1px solid var(--line);margin-bottom:50px}
.reading-hero .eyebrow {margin:0 0 22px;color:var(--cyan);font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.reading-hero h1 {max-width:none;margin:0 0 22px;font-size:clamp(2.85rem,6.8vw,5.2rem);font-weight:700;line-height:1.04;letter-spacing:-.06em;color:var(--text)}
.reading-intro {max-width:680px;margin:0;color:var(--muted);line-height:1.7}
.reading-translation-note {margin:28px 0 0;color:rgba(217,231,255,.55);font-size:.82rem;line-height:1.6}
.article-body {font-size:1.09rem;line-height:1.86;color:#dce3f2}
.article-body h2 {margin:60px 0 24px;max-width:700px;font-size:clamp(1.85rem,3.5vw,2.5rem);line-height:1.16;letter-spacing:-.043em;font-weight:700;color:var(--text)}
.article-body h2:first-child {margin-top:0}
.article-body p {margin:0 0 25px;line-height:inherit;overflow-wrap:anywhere}
.article-body a {color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.article-closing {position:relative;margin:52px 0 8px;padding:clamp(26px,4vw,40px);border-left:3px solid var(--cyan);border-radius:0 22px 22px 0;background:linear-gradient(120deg,rgba(23,200,255,.085),rgba(255,255,255,.023) 75%)}
.article-body .article-closing p:first-child {margin-bottom:22px;color:var(--text);font-size:clamp(1.45rem,3vw,1.95rem);font-weight:700;letter-spacing:-.035em;line-height:1.45}
.article-body .article-closing p:last-child {margin-bottom:0;color:var(--muted);font-size:clamp(1rem,1.6vw,1.12rem);line-height:1.75;font-style:italic}
.article-body .article-closing--question p:first-child {margin-bottom:14px;color:var(--muted);font-size:clamp(1.03rem,1.8vw,1.15rem);font-weight:450;letter-spacing:normal;line-height:1.7}
.article-body .article-closing--question p:last-child {margin-bottom:0;color:var(--text);font-size:clamp(1.5rem,3vw,2rem);font-style:normal;font-weight:750;letter-spacing:-.035em;line-height:1.45}
.article-end {margin-top:62px;padding-top:24px;border-top:1px solid var(--line);display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.article-end .card-link {display:inline-flex;align-items:center;margin-top:0;color:var(--cyan);font-weight:800}
.article-end .card-link::after {margin-left:9px;content:"→";transition:transform 160ms ease}
.article-end .card-link:hover::after {transform:translateX(4px)}

@media(max-width:880px){
 .editorial-main {padding-top:169px}
 .editorial-story {grid-template-columns:156px 1fr}
 .reading-main {padding-top:168px}
}
@media(max-width:640px){
 .editorial-main {padding:150px 0 76px}
 .editorial-masthead {padding-bottom:52px}
 .editorial-masthead h1 {font-size:clamp(66px,17vw,96px);margin:42px 0 22px}
 .editorial-masthead>p {font-size:15px}
 .editorial-story {grid-template-columns:1fr;gap:17px;padding:36px 0 49px}
 .editorial-story-kicker {padding-top:0}
 .editorial-story h2,.editorial-story-featured h2 {font-size:clamp(32px,9.5vw,46px);margin-bottom:17px}
 .editorial-story p {font-size:14px;margin-bottom:24px}
 .reading-main {padding:155px 3px 74px}
 .reading-main .editorial-crumbs {margin-bottom:36px}
 .reading-hero {margin-bottom:36px;padding-bottom:34px}
 .article-body {font-size:1.025rem;line-height:1.78}
 .article-body h2 {margin-top:46px}
 .article-closing {margin-top:38px;padding:24px 20px;border-radius:0 18px 18px 0}
}


/* Concept 09 — Articles is a compact collection, not a second marketing hero. */
.editorial-main{padding:140px 0 90px}
.editorial-masthead{padding:0 0 20px;border-bottom:1px solid var(--rule-strong)}
.editorial-masthead .editorial-crumbs{margin-bottom:34px}
.editorial-heading{display:flex;align-items:baseline;gap:24px;justify-content:space-between}
.editorial-masthead h1{margin:0;font-size:clamp(40px,5vw,65px);line-height:1.04;letter-spacing:-.066em;font-weight:710}
.editorial-heading>p{font-size:13px;letter-spacing:.08em;font-weight:700;color:#c9affd;margin:0}
.editorial-heading>p span{font-weight:550;letter-spacing:0;color:#8f8fa3}
.journal-collection{margin-top:8px}
.journal-row{display:grid;grid-template-columns:58px minmax(0,1fr) 36px;gap:18px;padding:25px 13px 25px 2px;border-bottom:1px solid var(--rule);align-items:center;transition:background .2s,border-color .2s}
.journal-row:hover,.journal-row:focus-visible{background:linear-gradient(90deg,rgba(150,107,239,.075),transparent 80%);border-color:rgba(189,155,253,.24)}
.journal-number{font-size:12px;color:#77738b;font-variant-numeric:tabular-nums;align-self:start;margin-top:4px}
.journal-entry{display:flex;flex-direction:column;gap:7px;min-width:0}
.journal-category{font-size:10px;color:#ac96d7;text-transform:uppercase;letter-spacing:.14em;font-weight:740}
.journal-entry h2{margin:0;display:block;font-size:clamp(21px,2.3vw,29px);line-height:1.17;letter-spacing:-.04em;font-weight:640;color:#f0eef9}
.journal-summary{font-size:13px;line-height:1.5;color:#9897a8;max-width:780px}
.journal-arrow{color:#a991ea;justify-self:end;font-size:17px;transition:transform .22s}
.journal-row:hover .journal-arrow{transform:translate(2px,-3px)}
.journal-collection[hidden],.journal-reader[hidden]{display:none!important}
/* One visible essay at a time. Other pieces remain in the tiny switcher, not as huge headings. */
.journal-reader{padding-top:16px}
.reader-tabs{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 15px;border-bottom:1px solid var(--rule);margin-bottom:14px}
.reader-all{color:#cbb5f3;font-size:12px;font-weight:660;white-space:nowrap}
.reader-all:hover{color:#fff}
.reader-tab-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.reader-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:650;color:#918fa4;transition:color .2s,background .2s,border-color .2s}
.reader-tab-index{color:#777187;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums}
.reader-tab:hover,.reader-tab:focus-visible{color:#f9f4ff;background:rgba(160,117,246,.08)}
.reader-tab.is-current{border-color:rgba(184,149,249,.25);color:#eadcfe;background:rgba(144,111,207,.12)}
.journal-reader .reading-main{padding:34px 0 50px;width:min(100%,808px);margin:0 auto}
.journal-reader .reading-hero{padding-bottom:38px;margin-bottom:40px}
.reader-endnav{max-width:808px;margin:0 auto 35px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--rule);padding-top:22px}
.reader-endnav a{color:#c8b1fa;font-size:13px;font-weight:650}
.reader-endnav a:hover{color:#fff}
/* Preserve the original essay layout and text; recolor blue accents for Zerot's palette. */
.reading-main{--text:#f5f2ff;--muted:#aba9bf;--line:rgba(195,173,237,.18);--cyan:#b89afa}
.article-body{color:#d9d6e5}
.reading-translation-note{color:rgba(220,211,241,.58)}
.article-closing{background:linear-gradient(120deg,rgba(151,109,245,.095),rgba(255,255,255,.018) 78%)}
.reading-main .article-body a{color:#c3a5ff}
.reading-main .article-body a:hover{color:#e2d3ff}
/* Story transferred verbatim from iOS: preserve paragraphs and feature callouts,
   but use the Zerot editorial visual system instead of the old orange product styling. */
.story-article{--zerot-orange:#b89afa;--zerot-white:#f4f1ff;max-width:808px;margin:auto}
.story-article p{font-size:1.03rem;line-height:1.86;color:#d9d6e5;margin:0 0 25px}
.story-article .story-lead{font-size:clamp(1.13rem,1.55vw,1.30rem);line-height:1.75;color:#f1ecff}
.story-article a{color:#c3a5ff;text-decoration:underline;text-underline-offset:3px}
.story-article a:hover{color:#e2d3ff}
.story-pullquote{margin:34px 0;padding:21px 27px;border-left:3px solid #af8cf6;background:linear-gradient(120deg,rgba(154,109,245,.1),rgba(255,255,255,.018) 78%);border-radius:0 18px 18px 0}
.story-pullquote span{font-size:clamp(1.22rem,2vw,1.65rem);font-weight:740;letter-spacing:-.025em;color:#f4f1ff;line-height:1.32}
.story-note-card,.story-release-card{padding:24px 27px;margin:28px 0;border:1px solid rgba(195,173,237,.18);border-radius:16px;background:rgba(146,112,216,.062)}
.story-note-card h3,.story-continuation>h3{margin:0 0 14px;letter-spacing:-.04em;line-height:1.14;color:#f4f1ff;font-weight:710;font-size:clamp(1.45rem,2.4vw,2rem)}
.story-card-label{display:block;color:#b89afa;text-transform:uppercase;font-size:11px;letter-spacing:.13em;font-weight:740;margin-bottom:12px}
.story-note-card p,.story-release-card p{margin-bottom:0}
.story-closing{color:#f2eaff!important}
.story-final-line{font-weight:740;font-size:clamp(1.4rem,2.3vw,1.9rem);letter-spacing:-.04em;color:#f4f1ff!important}
.story-continuation{border-top:1px solid rgba(195,173,237,.18);padding-top:38px;margin-top:40px}
.origin-essay-page .story-article,.journal-reader .story-article{padding:0;background:none;border:0;box-shadow:none;border-radius:0}
/* Direct story URLs keep the original standalone article body and get the same switcher. */
.essay-page .reader-tabs{width:min(100%,1040px);margin:0 auto 32px}
.essay-page .reading-main .reader-tabs{width:min(calc(100vw - 2 * var(--side)),1040px);position:relative;left:50%;transform:translateX(-50%)}
@media(max-width:880px){
 .editorial-main{padding-top:132px}
 .reading-main{padding-top:163px}
 .reader-tabs{flex-wrap:wrap;gap:8px}
 .reader-tab-links{justify-content:flex-start}
 .reader-tab{padding:8px 10px}
}
@media(max-width:640px){
 .editorial-main{padding:126px 0 65px}
 .editorial-masthead{padding-bottom:19px}
 .editorial-masthead .editorial-crumbs{margin-bottom:29px}
 .editorial-masthead h1{font-size:clamp(39px,11vw,54px);margin:0}
 .journal-row{grid-template-columns:27px minmax(0,1fr) 16px;gap:9px;padding:19px 3px 20px 1px}
 .journal-number{font-size:10px;margin-top:4px}
 .journal-entry{gap:8px}
 .journal-entry h2{margin:0;font-size:clamp(19px,5.5vw,24px)}
 .journal-summary{font-size:12px;line-height:1.5}
 .journal-arrow{font-size:13px}
 .reader-tabs{align-items:flex-start;gap:12px}
 .reader-all{font-size:12px}
 .reader-tab-links{width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;justify-content:initial;margin-inline:-1px}
 .reader-tab-links::-webkit-scrollbar{display:none}
 .reader-tab{flex:none;white-space:nowrap;font-size:11px;padding:9px 10px}
 .journal-reader .reading-main{padding:28px 0 45px}
 .journal-reader .reading-hero h1{font-size:clamp(2.25rem,8.5vw,3.3rem)}
 .story-pullquote,.story-note-card,.story-release-card{padding:17px 18px}
 .essay-page .reading-main{padding-top:142px}
}

/* Tighten the index preview without shortening the real article text. */
.journal-summary{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journal-reader .reading-hero h1{font-size:clamp(2.5rem,5.7vw,4rem)}
@media(max-width:640px){.journal-reader .reading-hero h1{font-size:clamp(2rem,7.6vw,2.95rem)}}
