/* Riften / editorial system. Monochrome, compact, and consistent. */
:root{--bg:#080808;--surface:#080808;--ink:#f1f1f1;--text:#f1f1f1;--muted:#aaa;--line:#555;--sans:'Courier New',Courier,monospace;--font-body:'Courier New',Courier,monospace;--font-display:'Courier New',Courier,monospace;color-scheme:dark}
body.riften-index,body.inner-page{background:#080808;color:#eee;font-family:'Courier New',Courier,monospace}
body.riften-index :is(p,a,h1,h2,h3,aside),body.inner-page :is(p,a,h1,h2,h3,h4,span,li,label,input,textarea,button,summary,small){font-family:'Courier New',Courier,monospace!important;letter-spacing:0}
body.riften-index .index-text p{color:#eee;font-size:15px;line-height:1.4}body.riften-index .index-meta svg{stroke:#eee}.riften-index .index-skip{background:#080808}
.editorial-nav{max-width:1120px;width:calc(100% - 64px);margin:0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:30px;padding:48px 0 24px;border-bottom:1px dashed #555;text-transform:uppercase;font-size:13px;line-height:1.5}
.editorial-nav a{color:#eee;text-decoration:none}.editorial-nav a:hover{text-decoration:underline;text-underline-offset:5px}.editorial-nav a[aria-current=page]{text-decoration:underline}
body.inner-page main{width:calc(100% - 64px);max-width:1120px;margin:0 auto;padding:0}
body.inner-page main>header,body.inner-page :is(.page-heading,.article-heading,.detail-hero,.company-introduction,.contact-composition,.careers-intro,.platform-hero,.post-training-hero){padding-top:44px;padding-bottom:32px;margin:0;min-height:0;background:none;border:0}
body.inner-page h1{font-size:26px!important;line-height:1.3!important;font-weight:400!important;letter-spacing:0!important;max-width:760px;text-transform:none}
body.inner-page h2{font-size:18px!important;line-height:1.4!important;font-weight:400!important;letter-spacing:0!important}
body.inner-page h3{font-size:15px!important;line-height:1.4!important;font-weight:400!important;letter-spacing:0!important}
body.inner-page :is(p,li){font-size:14px!important;line-height:1.6!important;color:#ccc!important;max-width:690px}
body.inner-page :is(.eyebrow,.kicker,.microlabel){font-size:11px!important;text-transform:uppercase;color:#aaa!important;margin-bottom:18px}
body.inner-page :is(.detail-summary,.page-summary,.contact-lead,.company-opening){font-size:14px;line-height:1.6;max-width:650px;margin:20px 0 0}
body.inner-page .riften-art{max-width:580px;margin:0 0 36px!important;background:none;border:0}
body.inner-page .riften-art img{aspect-ratio:1.5;filter:grayscale(1);object-fit:cover;width:100%;height:auto;max-height:370px}
body.inner-page :is(.detail-section,.company-argument article,.platform-section,.company-trajectory,.writing-row){padding-block:28px;border-top:1px dashed #555}
body.inner-page :is(.company-essay-layout,.company-argument,.audience-paths){display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:0;padding:0}
body.inner-page .company-argument{grid-column:1/-1}.inner-page .company-argument>div{margin:0}
body.inner-page :is(.trajectory,.company-signoff){padding-block:30px;margin:0}
body.inner-page :is(.button,.primary-action,.quiet-action,.text-link){background:transparent!important;color:#eee!important;border:0!important;padding:8px 0!important;font-size:13px!important;min-height:36px;text-decoration:underline;text-underline-offset:5px;box-shadow:none!important}
body.inner-page :is(input,textarea,select){background:#101010!important;border:1px solid #555!important;border-radius:0!important;color:#eee!important;font-size:14px!important}
body.inner-page :is(pre,.code-sample){background:#101010;color:#eee;border:1px solid #444;border-radius:0;font:12px/1.7 Menlo,monospace}
body.inner-page :is(.art-light,.hero-orbit,.art-caption){display:none}body.inner-page [data-reveal]{opacity:1!important;transform:none!important;filter:none!important;animation:none!important}
.editorial-footer{max-width:1120px;width:calc(100% - 64px);margin:30px auto 0;padding:24px 0 40px;border-top:1px dashed #555;display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px;font-size:12px}.editorial-footer a{color:#eee;text-underline-offset:4px}
body.inner-page a:focus-visible,.editorial-nav a:focus-visible{outline:1px solid white;outline-offset:5px}
@media(max-width:600px){.editorial-nav{width:calc(100% - 40px);gap:14px 20px;padding-top:26px;font-size:12px}.editorial-footer,body.inner-page main{width:calc(100% - 40px)}body.inner-page :is(.company-essay-layout,.company-argument,.audience-paths){grid-template-columns:1fr;gap:24px}body.inner-page h1{font-size:23px!important}body.inner-page :is(.detail-layout,.contact-composition){display:block}body.inner-page .detail-toc{margin-bottom:24px}}
/* All interior pages use the same small editorial shell, without legacy layouts. */
body.editorial-page{margin:0}body.editorial-page *{box-sizing:border-box}body.editorial-page a{color:#eee;text-underline-offset:4px}body.editorial-page p{margin:16px 0}body.editorial-page h1,body.editorial-page h2{margin:0 0 16px}body.editorial-page .skip-link{position:absolute;top:-60px;left:20px;background:#080808;padding:10px}body.editorial-page .skip-link:focus{top:5px}
body.editorial-page .editorial-opening{display:grid;grid-template-columns:36% minmax(0,1fr);gap:48px;padding:50px 0 30px;border-bottom:1px dashed #555;align-items:start}
.editorial-opening>img{display:block;width:100%;height:auto;aspect-ratio:1.22;object-fit:cover;filter:grayscale(1)}.editorial-opening>div{padding-top:10px;max-width:510px}
body.editorial-page h1{font-size:17px!important;line-height:1.45!important;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px}.editorial-opening .eyebrow{margin:0 0 16px}
body.editorial-page .editorial-body{margin:0;padding:0}.editorial-body .detail-section{display:grid;grid-template-columns:36% minmax(0,1fr);column-gap:48px;padding:28px 0;border-top:0;border-bottom:1px dashed #555}.editorial-body .detail-section>h2{grid-column:1}.editorial-body .detail-section>p,.editorial-body .detail-section>a{grid-column:2;margin-top:0}.editorial-body .detail-content{grid-column:2}.editorial-body .detail-content p:first-of-type{margin-top:0}.editorial-body .eyebrow{margin:0}.editorial-body h2{font-size:15px!important;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px}.editorial-body .related-links{display:flex;flex-wrap:wrap;gap:20px;padding:26px 0;font-size:13px}.editorial-body .related-links span{margin-left:7px}
.editorial-page .button svg{width:18px;height:18px;stroke:currentColor;fill:none;vertical-align:middle;margin-left:10px}.editorial-page pre{padding:20px;overflow:auto;max-width:100%}.editorial-page li+li{margin-top:8px}.editorial-page details{padding:24px 0;border-bottom:1px dashed #555}.editorial-page summary{cursor:pointer;font-size:15px}.editorial-page details>div{max-width:680px;margin:20px 0 0 auto}.editorial-page .editorial-note-heading,.editorial-page .editorial-article{max-width:720px;margin:0 auto;padding:40px 0}.editorial-page .editorial-article{padding-top:0}.editorial-article h2{margin-top:32px!important}.editorial-article pre{white-space:pre-wrap}.editorial-body .writing-row,.editorial-body .writing-item{display:block;padding:24px 0;border-bottom:1px dashed #555}.editorial-page .writing-summary{display:block}.editorial-page .writing-type{font-size:11px}.editorial-page .writing-title{display:block;margin:12px 0;font-size:17px}
@media(max-width:600px){body.editorial-page .editorial-opening{display:block;padding:25px 0}.editorial-opening>img{aspect-ratio:1.4;margin-bottom:24px}.editorial-body .detail-section{display:block;padding:24px 0}.editorial-body .detail-section>.eyebrow{margin-bottom:14px}.editorial-page .editorial-note-heading{padding-top:28px}}
/* Responsive content geometry and complete editorial card layout. */
.editorial-opening>div,.editorial-body .detail-content,.editorial-body .detail-section,.editorial-article{min-width:0;overflow-wrap:anywhere}
.editorial-page .note-art{max-width:720px;margin:0 auto 32px}.editorial-page .note-art img,.editorial-page .writing-cover img{display:block;width:100%;height:auto;filter:grayscale(1)}
body.editorial-page .editorial-body .writing-row{display:grid;grid-template-columns:36% minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:12px 48px;padding:30px 0;text-decoration:none;min-width:0}
.writing-row .writing-cover{grid-column:1;grid-row:1/5}.writing-row .writing-cover img{aspect-ratio:1.5;object-fit:cover}.writing-row .writing-type,.writing-row .writing-title,.writing-row .writing-summary,.writing-row .writing-arrow{grid-column:2;margin:0}.writing-row .writing-title{text-decoration:underline;text-underline-offset:4px}.writing-row .writing-summary{font-size:14px;line-height:1.6;color:#ccc}.writing-row .writing-arrow{align-self:end}
.editorial-page pre{overflow:auto;white-space:pre;overflow-wrap:normal}.editorial-page code{overflow-wrap:normal;font:12px/1.7 Menlo,Consolas,monospace}
@media(max-width:600px){body.editorial-page .editorial-body .writing-row{display:block}.writing-row .writing-cover{display:block;margin-bottom:20px}.writing-row .writing-type,.writing-row .writing-title,.writing-row .writing-summary{display:block;margin-bottom:12px}.editorial-page .note-art{margin-bottom:24px}}
.riften-index a:focus-visible{outline:1px solid #fff;outline-offset:5px}.riften-index .editorial-nav{font-size:13px;line-height:1.5}.riften-index .editorial-footer{font-family:'Courier New',Courier,monospace}.editorial-nav a[aria-current=page]{text-underline-offset:5px}.editorial-page .editorial-body .writing-row:hover{opacity:.8}
@media(max-width:600px){.riften-index .editorial-nav{font-size:12px}}

/* Every editorial product row has a real artwork column. */
.editorial-page .section-art{grid-column:1;margin:0;min-width:0;align-self:start}
.editorial-page .section-art img{display:block;width:100%;height:auto;aspect-ratio:1.22;object-fit:cover;filter:grayscale(1)}
.editorial-page .section-art figcaption{font:11px/1.5 'Courier New',Courier,monospace;text-transform:uppercase;color:#aaa;margin-top:12px}
.editorial-page .detail-section>.detail-content{grid-column:2;min-width:0}
@media(max-width:600px){.editorial-page .section-art{margin-bottom:24px}.editorial-page .section-art img{aspect-ratio:1.4}}

/* A short introduction; artwork belongs to the editorial rows below. */
body.editorial-page .editorial-opening:not(:has(>img)){display:block;padding:38px 0 28px}
.editorial-opening:not(:has(>img))>div{max-width:680px;padding:0}
.editorial-opening:not(:has(>img)) .eyebrow{margin-bottom:12px}
/* The homepage's small regular type scale is shared by every marketing page. */
body.inner-page.editorial-page main :is(h1,h2,h3){font-family:'Courier New',Courier,monospace!important;font-size:14px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:0!important}

.page-reader-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.editorial-page main{padding-top:30px}
body.unique-platform .platform-cycle,body.unique-contact .contact-sheet{border-top:0}
body.editorial-page .trust-opening-art{margin:0 0 28px;max-width:520px}.trust-opening-art img{display:block;width:100%;height:auto;filter:grayscale(1)}

/* Compact product stories; implementation detail stays in documentation. */
.editorial-page .detail-content{align-self:center;max-width:470px}
.editorial-page .detail-content h2{margin:0 0 16px}
.editorial-page .detail-content p{margin:0;line-height:1.65}
.editorial-page .section-art img{aspect-ratio:1.6}
body.trust-page main{display:grid;grid-template-columns:42% minmax(0,1fr);gap:48px;align-items:start}
body.trust-page .trust-opening-art{margin:0;max-width:none;position:sticky;top:30px}
.trust-summary{padding:22px 0;border-bottom:1px dashed #555}
.trust-summary:first-child{padding-top:0}
.trust-summary h2{margin:0 0 12px}
.trust-summary p{margin:0;line-height:1.65}
@media(max-width:600px){body.trust-page main{display:block}body.trust-page .trust-opening-art{position:static;margin:0 0 28px}.editorial-page .detail-content{max-width:none}}

/* Final spacing pass: one separator per row, consistent entry and exit rhythm. */
body.editorial-page .editorial-body .detail-section{border-top:0}
body.editorial-page .editorial-body .detail-section:first-child{padding-top:0}
body.editorial-page .editorial-body .related-links{gap:12px 24px;padding:24px 0 8px;line-height:1.6}
body.riften-index .editorial-footer{border-top:0;margin-top:0}
body.unique-company .company-principle:nth-child(-n+2){padding-top:0}
body.unique-careers .careers-invitation{padding-top:0}
body.unique-platform .platform-cycle{padding-top:0}
body.unique-contact .contact-sheet{padding-top:0}
@media(max-width:600px){body.unique-company .company-principle:nth-child(2){padding-top:24px}.editorial-footer{gap:18px 24px}.editorial-footer a{display:inline-block;line-height:1.6}}

body.trust-page .trust-opening-art img{aspect-ratio:4/5;object-fit:cover;object-position:center}
@media(max-width:600px){body.trust-page .trust-opening-art img{aspect-ratio:1.5}}
