.early-access-container, .trust-container { width: min(1320px, calc(100% - 48px)); }
.early-access-intro h1, .trust-hero h1 { font-size: 58px; max-width: 980px; line-height: 1.08; }
.early-access-intro .early-access-container { padding-block: 56px; }
.early-access-intro { min-height: 0; }
.trust-hero { padding: 56px 0; background: none; }
.early-access-lead, .trust-intro { font-size: 18px; max-width: 760px; }
.early-access-meaning, .early-access-request, .trust-section { padding-block: 52px; }
.early-access-section-heading h2, .early-access-form-intro h2, .trust-section h2 { font-size: 34px; }
.story-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.story-layout > * { min-width: 0; }
.story-title { font-size: 32px; line-height: 1.2; margin: 0 0 18px; }
.story-copy { color: var(--nrj-muted); line-height: 1.7; max-width: 60ch; }
.story-band { padding: 48px 0; border-bottom: 1px solid var(--nrj-line); }
.story-options { display: grid; gap: 12px; margin: 24px 0; border: 0; padding: 0; }
.story-options legend { font-weight: 750; margin-bottom: 12px; }
.story-options label { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--nrj-line); cursor: pointer; }
.story-options input { width: 19px; height: 19px; accent-color: #2ec4d3; flex: 0 0 auto; }
.story-options label:has(input:checked) { color: var(--nrj-accent-2); }
.story-answer { border-top: 3px solid #2ec4d3; padding-top: 24px; }
.story-answer h3 { font-size: 24px; margin: 0 0 20px; }
.story-answer dl { margin: 0; }
.story-answer dt { color: var(--nrj-accent-2); font-weight: 800; margin: 18px 0 6px; }
.story-answer dd { margin: 0; line-height: 1.65; color: var(--nrj-muted); }
.story-feedback { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.story-feedback article { border-top: 2px solid #2ec4d3; padding-top: 20px; }
.story-feedback span { font-size: 12px; font-weight: 800; color: var(--nrj-accent-2); text-transform: uppercase; }
.story-feedback h3 { margin: 12px 0; font-size: 22px; }
.story-feedback p { color: var(--nrj-muted); line-height: 1.6; }
.story-feedback a, .story-answer a { color: var(--nrj-accent-2); text-underline-offset: 4px; }
.story-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.story-links a { color: var(--nrj-accent-2); text-underline-offset: 5px; }
.story-selection-summary { border-left: 3px solid #2ec4d3; padding: 8px 0 8px 18px; margin-bottom: 12px; }
.story-selection-summary p { margin: 8px 0 0; color: var(--early-muted); line-height: 1.6; }
.story-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.story-gallery figure { margin: 0; min-width: 0; }
.story-preview { --frame-accent: #16d9f5; --frame-corner: 16px; position: relative; isolation: isolate; display: block; width: 100%; padding: 12px; border: 0; border-radius: 0; overflow: visible; background: transparent; filter: drop-shadow(0 0 5px rgba(0, 194, 255, .5)) drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); cursor: zoom-in; transition: filter 150ms; }
.story-gallery [data-gallery="jobs"] .story-preview { --frame-accent: #189fff; }
.story-preview::before, .story-preview::after { content: ''; position: absolute; z-index: -1; pointer-events: none; clip-path: polygon(var(--frame-corner) 0, calc(100% - var(--frame-corner)) 0, 100% var(--frame-corner), 100% calc(100% - var(--frame-corner)), calc(100% - var(--frame-corner)) 100%, var(--frame-corner) 100%, 0 calc(100% - var(--frame-corner)), 0 var(--frame-corner)); }
.story-preview::before { inset: 0; background: var(--frame-accent); }
.story-preview::after { inset: 3px; --frame-corner: 14px; background: linear-gradient(135deg, #91ecff 0 15px, transparent 15px) top left / 40px 28px no-repeat, linear-gradient(225deg, #91ecff 0 15px, transparent 15px) top right / 40px 28px no-repeat, linear-gradient(45deg, var(--frame-accent) 0 15px, transparent 15px) bottom left / 40px 28px no-repeat, linear-gradient(315deg, var(--frame-accent) 0 15px, transparent 15px) bottom right / 40px 28px no-repeat, #082333; }
.story-preview:hover { filter: drop-shadow(0 0 9px rgba(0, 194, 255, .75)) drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); }
.story-preview img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; outline: 1px solid #2684a4; outline-offset: 3px; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); transition: opacity 150ms; }
.story-gallery [data-gallery="founder"] .story-preview img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.story-gallery [data-gallery="jobs"] .story-preview img { object-fit: contain; object-position: center; }
.story-preview:hover img { opacity: .88; }
.story-preview:focus-visible { outline: 3px solid #2ec4d3; outline-offset: 4px; }
.story-gallery h3 { margin: 18px 0 8px; font-size: 21px; }
.story-gallery p { color: var(--early-muted); line-height: 1.6; }
.story-gallery a { color: var(--nrj-accent-2); text-underline-offset: 4px; }
.story-gallery-dialog { width: min(1200px, calc(100% - 32px)); max-height: 92vh; padding: 18px; border: 1px solid #697c88; border-radius: 8px; background: #fff; color: #1a2a35; }
.story-gallery-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.story-gallery-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.story-gallery-dialog-head h2 { font-size: 22px; margin: 0; }
.story-gallery-dialog-head button { width: 40px; height: 40px; flex: 0 0 auto; font-size: 26px; color: #1a2a35; background: #edf2f5; border: 1px solid #aab8c2; border-radius: 4px; cursor: pointer; }
.story-gallery-dialog-media > img { display: block; width: 100%; height: auto; }
.story-slide-caption { min-height: 26px; margin: 12px 0 8px; font-size: 14px; }
.story-gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; font-size: 14px; }
.story-gallery-controls[hidden] { display: none; }
.story-gallery-controls button { width: 40px; height: 40px; border: 1px solid #607984; border-radius: 4px; background: transparent; color: inherit; font-size: 22px; cursor: pointer; }
.story-gallery-controls button:hover { background: rgba(46, 196, 211, .15); }
.story-gallery-controls button:focus-visible { outline: 3px solid #2ec4d3; outline-offset: 3px; }
.story-gallery-dialog-head { position: sticky; top: -18px; padding-block: 12px; background: #fff; z-index: 1; }
.story-gallery-dialog #galleryDialogControls { position: sticky; bottom: -18px; background: #fff; padding-block: 12px; }

@media (min-width: 851px) {
  .story-gallery-dialog {
    box-sizing: border-box;
    height: min(920px, 92dvh);
    overflow: hidden;
  }
  .story-gallery-dialog[open] {
    display: grid;
    grid-template-rows: 72px minmax(0, 1fr) 64px;
  }
  .story-gallery-dialog-head {
    position: static;
    min-width: 0;
    margin: 0;
  }
  .story-gallery-dialog-head h2 { overflow-wrap: anywhere; }
  .story-gallery-dialog-media { min-height: 0; overflow: auto; }
  .story-gallery-dialog #galleryDialogControls { position: static; margin: 0; }
}
@media (max-width: 850px) {
  .story-gallery { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; gap: 24px; }
  .story-feedback { grid-template-columns: 1fr; gap: 24px; }
  .early-access-container, .trust-container { width: calc(100% - 36px); }
  .early-access-intro h1, .trust-hero h1 { font-size: 38px; }
  .early-access-section-heading h2, .early-access-form-intro h2, .trust-section h2, .story-title { font-size: 28px; }
  .story-band { padding-block: 36px; }
}
