/* Project NJOL hub and shared product bar.
   Flat pigment, 1px ink lines, tone steps. No shadows, gradients or glass in this file. */

/* Shared bar on the three product pages: one row, the same three names everywhere. */
.world-switcher{background:#191421;backdrop-filter:none;-webkit-backdrop-filter:none}
.world-switcher-home{display:inline-flex;align-items:center;gap:.6em;min-height:32px}
.world-links{display:flex;align-items:stretch;gap:0;border:1px solid #88738f}
.world-links a{display:flex;align-items:center;min-height:32px;padding:6px 14px;font-family:'Space Mono',monospace;font-size:10px;letter-spacing:.07em;line-height:1.3;color:#e6d7d7;border-left:1px solid #88738f;transition:background .2s,color .2s}
.world-links a:first-child{border-left:0}
.world-links a:hover{background:#342a3d;color:#fff}
.world-links a[aria-current="page"],.world-links a[aria-current="page"]:hover{background:var(--purple);color:#17131e}
@media(max-width:700px){.world-links a{min-height:36px;padding:6px 10px;font-size:9px}}
@media(max-width:400px){.header .project-return{display:none}.world-switcher-home span{display:none}.world-links a{padding:6px 8px;letter-spacing:.04em}}

/* Hub heading: a little lower, so the three blocks start on the first screen.
   The gate grows with its content: it is never clipped to the screen height. */
.project-gate{height:auto;max-height:none;justify-content:flex-start}
.project-gate .gate-heading{padding:44px 0 38px}
.project-gate .gate-heading h1{font-size:clamp(64px,7.4vw,124px)}
.project-index span:last-child{text-align:right}

/* Three blocks: NORDIC 5, the two browsers, what comes next. */
.project-choices{grid-template-columns:minmax(0,1fr) minmax(0,1.62fr) minmax(0,.7fr)}
article.project-choice{min-height:0;justify-content:flex-start;transition:none}
article.project-choice::before{display:none}
article.project-choice+article.project-choice{border-left:1px solid #17131e}
article.choice-nordic{border-left:0}
article.choice-nordic:hover{background:#342b40}
article.choice-browser:hover{background:#3b3049}
article.project-choice:hover .choice-banner img{transform:none}
article.project-choice .choice-top{min-height:44px}
article.project-choice .choice-number{white-space:nowrap}
article.project-choice .choice-state{max-width:none}
article.project-choice .choice-state .mono{white-space:nowrap}
.choice-banner a{display:block;width:100%;height:100%}
.choice-browser .choice-banner{aspect-ratio:5.2/1}
article.project-choice .choice-bottom{display:flex;flex-direction:column;flex:1;padding-top:26px}
article.project-choice .project-nordic-lockup{max-width:340px}

/* Download block: one button per product, then version, state and size. */
.hub-get{margin-top:auto;padding-top:24px}
.hub-edition .hub-get{margin-top:0}
.hub-get .button{width:100%;justify-content:space-between;min-height:52px}
.hub-meta{display:block;margin-top:11px;font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.07em;line-height:1.7;color:#cabbd0}
article.project-choice .choice-action{margin-top:18px;transition:color .2s}
article.project-choice a.choice-action:hover{color:#fff}
article.project-choice a.choice-action:hover b{transform:translate(3px,-3px)}

/* Browsers: two editions side by side, each with its own facts and its own download. */
.hub-lead{margin:22px 0 0;max-width:none!important;font-size:12px!important;line-height:1.7}
.hub-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:1;margin-top:20px;border-top:1px solid #b49abd66}
.hub-edition{display:flex;flex-direction:column;min-width:0;padding:22px 24px 0 0}
.hub-edition+.hub-edition{padding:22px 0 0 24px;border-left:1px solid #b49abd66}
.hub-edition h2{margin:0 0 12px!important;height:30px;display:flex;align-items:center}
.hub-edition h2 img{display:block;height:100%;width:auto;max-width:100%;object-fit:contain;object-position:left center}
.hub-kind{display:block;margin-bottom:12px;font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.07em;line-height:1.6;color:#efc09c}
.hub-edition p{font-size:12px!important;line-height:1.7!important;margin-bottom:16px}
.hub-facts{margin:auto 0 0;border-top:1px solid #b49abd40}
.hub-facts div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid #b49abd40}
.hub-facts dt{flex:none;font-family:'Space Mono',monospace;font-size:8px;letter-spacing:.07em;color:#cbb9d6}
.hub-facts dd{margin:0;text-align:right;font-size:11px;line-height:1.4;color:#f2e8d5}

/* NORDIC 5 page: space between the two download paragraphs. */
.nordic-download .release-highlights{margin-top:16px}

/* Next: a grey, non-interactive block. */
article.choice-next{background:#444248;color:#eceaf0}
article.choice-next:hover{background:#444248}
.choice-next .choice-number,.choice-next .choice-state{color:#cfccd4}
.next-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;flex:1;min-height:170px;padding:26px 0 8px}
.next-mark{display:block;width:min(150px,62%);height:auto}
.next-wordmark{width:54px;height:42px;margin:0;background:#cfccd4}
.choice-next .choice-bottom{flex:none!important;padding-top:20px!important;border-top:1px solid #8c8992}
.choice-next h2{margin:0 0 12px;font-size:clamp(26px,2.5vw,40px);font-weight:650;letter-spacing:-.05em;line-height:1.05;color:#f4f2f7}
.choice-next p{color:#d6d3db;font-size:12px;line-height:1.7}
.next-soon{display:block;margin-top:22px;padding:15px 10px;border:1px solid #a6a3ab;text-align:center;font-size:10px;letter-spacing:.32em;color:#f4f2f7;cursor:default;user-select:none}

/* Radkrona: a grey, non-interactive bar under the three blocks. Its text sits on their column lines. */
article.choice-radkrona{--pad:32px;grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:start;border-left:0!important;border-top:1px solid #17131e;background:#444248;color:#eceaf0;cursor:default}
article.choice-radkrona:hover{background:#444248}
.choice-radkrona .choice-number,.choice-radkrona .choice-state{color:#cfccd4}
.choice-radkrona .choice-number{grid-area:1/1}
.choice-radkrona .choice-state{grid-area:1/2;text-align:right}
.choice-radkrona h2{grid-area:2/1/auto/-1;margin:34px 0 0;font-size:clamp(30px,2.3vw,44px);font-weight:650;letter-spacing:-.02em;line-height:1;color:#f4f2f7}
.choice-radkrona p{grid-area:3/1/auto/-1;max-width:none;margin:14px 0 0;font-size:13px;line-height:1.7;color:#d6d3db}
.choice-radkrona .next-soon{grid-area:4/1/auto/-1;margin-top:24px}
@media(min-width:901px){article.choice-radkrona{grid-template-columns:minmax(0,1fr) minmax(0,1.62fr);column-gap:0;row-gap:14px;align-items:baseline;padding:28px 0}.choice-radkrona>*{margin:0 var(--pad)!important}.choice-radkrona .choice-state,.choice-radkrona p{margin-left:calc(var(--pad) + 1px)!important}.choice-radkrona .choice-state{text-align:left}.choice-radkrona h2{grid-area:2/1}.choice-radkrona p{grid-area:2/2;font-size:clamp(14px,1.05vw,18px);line-height:1.5}.choice-radkrona .next-soon{grid-area:3/2;justify-self:start;width:min(320px,calc(100% - var(--pad)*2));margin-top:8px!important;margin-left:calc(var(--pad) + 1px)!important}}
@media(min-width:1181px){article.choice-radkrona{grid-template-columns:minmax(0,1fr) minmax(0,1.62fr) minmax(0,.7fr)}.choice-radkrona .next-soon{grid-area:1/3/3/3;align-self:center;justify-self:stretch;width:auto;margin-top:0!important}}
@media(max-width:1000px) and (min-width:901px){article.choice-radkrona{--pad:25px}}

@media(min-width:1900px){article.project-choice{padding:40px}article.choice-radkrona{--pad:40px;padding:34px 0}.hub-edition p,.hub-lead{font-size:14px!important}.hub-facts dd{font-size:13px}.hub-facts dt,.hub-meta,.hub-kind{font-size:10px}.hub-edition h2{height:38px}}
@media(max-width:1180px){.project-choices{grid-template-columns:minmax(0,1fr) minmax(0,1.62fr)}article.choice-next{grid-column:1/-1;border-left:0!important;border-top:1px solid #17131e;display:grid;grid-template-columns:auto 1fr;column-gap:32px;align-items:center}.choice-next .choice-top{grid-column:1/-1}.next-stage{flex-direction:row;min-height:0;padding:14px 0 0}.next-mark{width:96px}.choice-next .choice-bottom{border-top:0;padding-top:14px!important}.next-soon{max-width:320px}}
@media(max-width:900px){.project-choices{grid-template-columns:minmax(0,1fr)}article.project-choice+article.project-choice{border-left:0;border-top:1px solid #17131e}article.choice-nordic{border-top:0}.choice-browser .choice-banner{aspect-ratio:3/1}article.project-choice .project-nordic-lockup{max-width:300px}}
@media(max-width:700px){.project-gate .gate-heading{padding:34px 0 26px}.project-gate .gate-heading h1{font-size:clamp(52px,13vw,84px)}.hub-get .button{font-size:12px;padding:15px 17px;flex:none}}
@media(max-width:560px){.hub-pair{grid-template-columns:minmax(0,1fr)}.hub-edition{padding:22px 0 0}.hub-edition+.hub-edition{margin-top:26px;padding:24px 0 0;border-left:0;border-top:1px solid #b49abd66}article.choice-next{grid-template-columns:minmax(0,1fr)}.next-stage{justify-content:flex-start}.next-soon{max-width:none}}
@media(max-width:420px){.choice-browser .choice-state .mono{display:none}}
@media(prefers-reduced-motion:reduce){.world-links a,article.project-choice .choice-action{transition:none}article.project-choice a.choice-action:hover b{transform:none}}
