/* Ninth Signal editorial layouts. The game site keeps its own layout. */
.studio {
 --studio-ink: #0b0b0a;
 --studio-line: #2b2a27;
 --studio-muted: #bab7ae;
 --studio-warm: #c5ad8d;
}
.studio .site-header nav { gap: clamp(12px, 2.1vw, 36px); }
.studio .site-header nav a[aria-current="page"] { color: #f1eee8; }
.ns-hero {
 display: grid;
 grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
 align-items: center;
 gap: clamp(28px, 5vw, 100px);
 padding: clamp(40px, 6vw, 112px) max(5%, calc((100vw - 1580px) / 2));
 border-bottom: 1px solid var(--studio-line);
 background: radial-gradient(ellipse at 71% 34%, #1b1916 0, var(--studio-ink) 66%);
}
.ns-hero h1 {
 font: 400 clamp(52px, 6.85vw, 122px)/.91 Georgia, serif;
 letter-spacing: -.067em;
 margin: 24px 0 22px;
}
.ns-hero h1 em, .ns-intro h1 em { color: var(--studio-warm); }
.ns-hero-copy > p { color: #d2cec4; max-width: 39ch; font-size: clamp(16px, 1.27vw, 21px); line-height: 1.58; }
.ns-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 12px; margin-top: 25px; }
.ns-actions .button { font-size: 12px; padding: 15px 20px; justify-content: center; }
.ns-actions .text-link { gap: 13px; }
.ns-hero-media { margin: 0; min-width: 0; }
.ns-hero-media picture { display: block; overflow: hidden; border: 1px solid #39332b; }
.ns-hero-media img { display: block; width: 100%; aspect-ratio: 1.42; height: auto; object-fit: cover; object-position: 53% center; }
.ns-hero-media figcaption {
 display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px;
 padding-top: 12px; color: #e0dbd1; font: 11px/1.6 monospace;
}
.ns-hero-media figcaption span { color: var(--studio-muted); }
.ns-section, .ns-essay, .ns-belief, .ns-lab-callout {
 padding-top: clamp(42px, 6.5vw, 104px);
 padding-bottom: clamp(42px, 6.5vw, 104px);
}
.ns-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px 24px; margin-bottom: 32px; }
.ns-heading h2, .ns-belief h2, .ns-essay h2, .ns-lab-callout h2, .ns-series h2 {
 margin: 0; font: 400 clamp(31px, 4.25vw, 62px)/1.04 Georgia, serif; letter-spacing: -.055em;
}
.ns-project-grid, .ns-lab-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px clamp(20px, 3vw, 55px); }
.ns-project { min-width: 0; }
.ns-project picture, .ns-project-image { display: block; }
.ns-project img { display: block; width: 100%; height: auto; }
.ns-project-copy { border-top: 1px solid var(--studio-line); padding: 22px 0 0; }
.ns-project-copy h2, .ns-project-copy h3 { font: 400 clamp(26px,3.1vw,50px)/1.05 Georgia,serif; letter-spacing: -.045em; margin: 10px 0; }
.ns-project-copy p { color: var(--studio-muted); font-size: 15px; line-height: 1.6; max-width: 47ch; margin: 0; }
.ns-project-copy .ns-actions { margin-top: 10px; }
.ns-project-copy a:hover, .ns-feature-link:hover h3, .ns-archive-entry a:hover { color: var(--studio-warm); }
.ns-game-index > .ns-project { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 36px; align-items: center; margin-bottom: 65px; }
.ns-game-index > .ns-project .ns-project-copy { border: 0; padding: 0; }
.ns-belief, .ns-essay {
 display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(22px,6vw,95px);
 border-top: 1px solid var(--studio-line);
}
.ns-belief { background: #12110f; }
.ns-belief h2 { margin-top: 14px; max-width: 13ch; }
.ns-belief p, .ns-essay p, .ns-intro > p:not(.lead) { color: #c8c4b9; font-size: clamp(16px, 1.33vw, 20px); line-height: 1.66; max-width: 65ch; }
.ns-belief p:first-child, .ns-essay p:first-child { margin-top: 0; }
.ns-essay a:not(.text-link):not(.button) { color: #ede2d3; text-decoration: underline; text-underline-offset: .22em; }
.ns-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2.4vw, 42px); }
.ns-feature-grid article { min-width: 0; }
.ns-feature-link { display: block; height: 100%; border-bottom: 1px solid var(--studio-line); padding-bottom: 17px; }
.ns-feature-link img { display: block; width: 100%; height: auto; aspect-ratio: 1.78; object-fit: cover; margin-bottom: 16px; }
.ns-feature-link h3 { font: 400 clamp(20px, 2vw, 33px)/1.12 Georgia, serif; letter-spacing: -.035em; margin: 8px 0; }
.ns-feature-link p, .ns-lab-callout p, .ns-series-intro p, .ns-archive-entry p { color: var(--studio-muted); font-size: 15px; line-height: 1.6; }
.ns-feature-link p { margin: 0; }
.ns-lab-callout { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; border-top: 1px solid var(--studio-line); }
.ns-lab-callout p { max-width: 55ch; margin: 10px 0 0; }
.ns-intro { padding-top: clamp(48px,6vw,90px); padding-bottom: clamp(34px,4vw,60px); }
.ns-game-index, .ns-lab-grid { padding-top: 0; }
.ns-essay p + p, .ns-belief p + p { margin-top: 1em; }
.ns-intro .lead { max-width: 50ch; }
.ns-project-actions { padding: 0 8% 36px; }
.ns-project-actions .ns-actions { margin: 0; }
.ns-wide-figure { margin: 0 8% clamp(18px,4vw,55px); }
.ns-wide-figure img { display: block; width: 100%; height: auto; }
.ns-wide-figure figcaption, .ns-signal figcaption { color: var(--studio-muted); font: 11px/1.6 monospace; padding-top: 9px; }
.ns-trailer-poster { display: block; position: relative; }
.ns-trailer-poster > span { position: absolute; bottom: 16px; left: 16px; background: #0b0b0a; padding: 11px 13px; font-size: 13px; color: #f1eee8; }
.ns-trailer-poster:hover > span { text-decoration: underline; text-underline-offset: .22em; }
.ns-home-signal, .ns-home-engine { border-top: 1px solid var(--studio-line); }
.ns-home-signal { align-items: center; }
.ns-home-signal h2 { margin-bottom: 24px; }
.ns-signal { margin: 0; min-width: 0; }
.ns-signal figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; }
.ns-signal .sculpture { position: relative; inset: auto; width: 100%; min-height: 260px; height: clamp(260px, 38vw, 540px); background: #080808; border: 1px solid var(--studio-line); }
.ns-signal .scene-caption { right: 4%; bottom: 6%; }
.ns-signal .sculpture canvas { display: block; width: 100%; height: 100%; }
.ns-journal-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 28px; }
.ns-journal-nav .text-link { gap: 10px; }
.ns-journal-feature { padding-top: 30px; }
.ns-series { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 24px clamp(25px,6vw,100px); border-top: 1px solid var(--studio-line); }
.ns-series-intro p { max-width: 35ch; }
.ns-archive-entry { border-bottom: 1px solid var(--studio-line); padding: 19px 0 21px; }
.ns-archive-entry:first-child { padding-top: 0; }
.ns-archive-entry h3 { margin: 7px 0; font: 400 clamp(21px,2.4vw,33px)/1.14 Georgia,serif; letter-spacing: -.034em; }
.ns-archive-entry h3 span { color: var(--studio-warm); font: 13px monospace; padding-left: 4px; }
.ns-archive-entry p { margin: 0; }
.ns-asset-study { width: min(88%,1400px); margin: 0 auto 35px; border-top: 1px solid var(--studio-line); padding-top: 28px; }
.ns-asset-study h2 { font: 400 clamp(26px,3vw,45px)/1.1 Georgia,serif; letter-spacing: -.045em; margin: 0 0 20px; }
.ns-asset-study > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ns-asset-study figcaption strong { color: #e3ded3; display: block; }
@media (max-width: 940px) {
 .ns-hero { gap: 24px; }
 .ns-hero .ns-actions { column-gap: 18px; }
}
@media (max-width: 760px) {
 .ns-hero { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0 6% 36px; }
 .ns-hero-media { order: -1; margin: 0 -6.82%; }
 .ns-hero-media picture { border-width: 0 0 1px; }
 .ns-hero-media img { aspect-ratio: 16/9; }
 .ns-hero-media figcaption { margin: 0 6%; padding-top: 8px; }
 .ns-hero h1 { font-size: clamp(50px, 12vw, 76px); margin: 15px 0; }
 .ns-hero .ns-actions { margin-top: 16px; }
 .ns-hero .ns-actions .button { gap: 12px; padding-inline: 14px; }
 .ns-intro.eden-intro h1 { font-size: clamp(40px,14vw,60px); }
 .ns-heading { flex-wrap: wrap; margin-bottom: 22px; }
 .ns-project-grid, .ns-lab-grid, .ns-feature-grid, .ns-belief, .ns-essay, .ns-series,
 .ns-game-index > .ns-project, .ns-asset-study > div { grid-template-columns: minmax(0,1fr); }
 .ns-game-index > .ns-project { gap: 20px; margin-bottom: 45px; }
 .ns-wide-figure { margin-right: 6%; margin-left: 6%; }
 .ns-lab-callout { align-items: flex-start; flex-direction: column; gap: 8px; }
 .ns-feature-link img { max-height: 260px; }
}

@media (max-width: 390px) {
 .studio .story-header h1 { font-size: clamp(38px, 14vw, 54px); overflow-wrap: anywhere; }
}
