/* Shared homepage styling for Writing, articles and About. */
body.editorial{background:#fff;background-image:none;--paper:#fff;--white:#fff;--blue-line:var(--line);--blue-soft:#f4f6ff}
.editorial header.nav{position:static;display:block;padding:0;background:transparent;border-bottom:1px solid var(--line)}
.editorial header.nav .brand{display:inline;color:var(--ink);font-size:20px;font-weight:700;letter-spacing:.02em}
.editorial header.nav nav a{font-size:15px;color:var(--ink)}
.editorial header.nav nav a.button{font-size:14px;color:#fff}
.editorial header.nav nav a.secondary{color:var(--blue)}
.editorial header.nav nav a:not(.button):hover{color:var(--blue)}
.editorial .wrap{width:min(1200px,calc(100% - 80px));max-width:none;padding-inline:0;margin-inline:auto}
.editorial-hero{padding:112px 0 80px;text-align:center}
.editorial-hero .eyebrow{margin-bottom:24px}
.editorial-hero h1{font-size:clamp(48px,6.4vw,88px);font-weight:400;line-height:1.02;letter-spacing:-.035em;max-width:1000px;margin-inline:auto}
.editorial-hero p{font-size:20px;line-height:1.6;max-width:660px;margin:28px auto 0}
.writing-page .filters{display:flex;flex-wrap:wrap;gap:10px;padding-bottom:40px}
.writing-page .filters span{font:12px/1.5 var(--mono);padding:9px 16px;border:1px solid var(--line);border-radius:100px;cursor:pointer;color:var(--muted)}
.writing-page .filters span:hover,.writing-page .filters .on{color:var(--blue);border-color:var(--blue);background:#f4f6ff}
.writing-page .list{margin-bottom:80px}
.writing-page .row{display:grid;grid-template-columns:160px 1fr auto;gap:32px;align-items:center;padding:32px 0;border-top:1px solid var(--line)}
.writing-page .row.has-thumb{grid-template-columns:160px 220px 1fr auto}
.writing-page .meta{font:12px/1.6 var(--mono);color:var(--muted)}
.writing-page .meta b{display:block;font-weight:500;color:var(--blue);margin-bottom:6px}
.writing-page .row h2{font-size:32px;line-height:1.12;margin-bottom:12px;font-weight:400}
.writing-page .row:hover h2{color:var(--blue)}
.writing-page .row p{font-size:15px;line-height:1.6}
.writing-page .arrow{font:12px var(--mono);color:var(--blue)}
.writing-page .thumb{aspect-ratio:3/2;overflow:hidden;border:1px solid var(--line);border-radius:12px}
.writing-page .thumb img{width:100%;height:100%;object-fit:cover}
.about-copy{max-width:760px;margin-inline:auto;padding-bottom:112px}
.about-copy h2{font-size:48px}
.about-copy a:not(.button){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.article-page .article-hero{padding:96px 0 56px;border-color:var(--line)}
.article-page .article-hero h1{font-size:clamp(44px,5.5vw,76px);max-width:1000px;line-height:1.05;font-weight:400}
.article-page .prose h2{font-size:36px;font-weight:400;line-height:1.15}
.article-page .prose h3{font-size:28px;font-weight:400;line-height:1.2}
.article-page .article-grid{padding-block:64px 80px}
.editorial .newsletter{background:none;border-top:1px solid var(--line)}
.editorial footer{border-top:0;background:#0e1116;color:#fff}
.editorial footer a{font-size:inherit;color:inherit}
.editorial footer a:hover{color:var(--blue)}
.editorial footer .footer-wordmark{font:196px/1 var(--serif);letter-spacing:-.045em}
@media(max-width:1100px){
 .editorial .wrap{width:calc(100% - 64px)}
 .writing-page .row.has-thumb{grid-template-columns:130px 180px 1fr;gap:24px}
 .writing-page .arrow{display:none}
 .editorial footer .footer-wordmark{font-size:150px}
}
@media(max-width:760px){
 .editorial .wrap{width:calc(100% - 40px)}
 .editorial-hero{padding:72px 0 52px}
 .editorial-hero h1{font-size:46px}
 .editorial-hero p{font-size:17px;margin-top:24px}
 .writing-page .row,.writing-page .row.has-thumb{grid-template-columns:1fr;gap:16px;padding:28px 0}
 .writing-page .thumb{max-width:none;width:100%}
 .writing-page .row h2{font-size:30px}
 .writing-page .filters{padding-bottom:28px}
 .about-copy{padding-bottom:72px}
 .about-copy h2{font-size:38px}
 .article-page .article-hero{padding:64px 0 40px}
 .article-page .article-hero h1{font-size:42px}
 .article-page .article-grid{padding-block:40px 56px}
 .article-page .prose h2{font-size:30px}
 .article-page .prose h3{font-size:25px}
 .editorial footer .footer-wordmark{font-size:clamp(48px,18vw,130px)}
}

.contact-page .contact-hero{padding:112px 0}
.contact-page .contact-hero h1{font-size:clamp(54px,6.4vw,88px);font-weight:400;line-height:1.02;letter-spacing:-.035em}
.contact-page .contact-hero .sub{font-size:20px;line-height:1.6;margin-top:28px}
.contact-page .form-card{border-radius:20px;padding:36px;background:var(--soft)}
.contact-page .field input,.contact-page .field textarea{background:#fff;border-color:#d9d9d4;font-size:16px;border-radius:8px}
.contact-page .field input:focus,.contact-page .field textarea:focus{border-color:var(--blue)}
.contact-page .button:disabled{opacity:.65;cursor:wait}
@media(max-width:760px){.contact-page .contact-hero{padding:72px 0}.contact-page .contact-hero h1{font-size:52px}.contact-page .contact-hero .sub{font-size:17px}.contact-page .form-card{padding:24px}}

/* Contact uses the homepage newsletter block without legacy paragraph spacing. */
.contact-page .newsletter{border-top:0}
.contact-page .newsletter p{font-size:17px;line-height:1.55;max-width:none;margin:0}
@media(max-width:760px){.contact-page .newsletter p{font-size:16px}}
