@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #10263a;
    --muted: #52677a;
    --blue: #315675;
    --blue-dark: #203c55;
    --line: #c9d6e1;
    --paper: #f7f9fb;
    --white: #fff;
    --shadow: 0 9px 22px rgba(28, 54, 76, .12);
    --shell-width: 1180px;
    --reading-width: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--muted);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(73, 111, 143, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 111, 143, .045) 1px, transparent 1px);
    background-size: 32px 32px;
    font-family: Inter, Arial, sans-serif;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.9), transparent 56%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
main :is(p, h1, h2, h3, li, a, small) { overflow-wrap: anywhere; }
.shell { width: min(var(--shell-width), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: #fff; color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(248, 250, 252, .62);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    border-top: 1px solid rgba(31, 61, 86, .55);
    box-shadow: 0 3px 14px rgba(21, 46, 66, .08);
}

.development-banner {
    min-height: 30px;
    overflow: hidden;
    color: #fff;
    background: #b71922;
    border-bottom: 1px solid #7f0d14;
    box-shadow: inset 0 -1px rgba(0, 0, 0, .12);
    font-size: 11px;
    letter-spacing: .055em;
    line-height: 20px;
    text-transform: uppercase;
}

.development-ticker { width: max-content; display: flex; animation: development-ticker-scroll 18s linear infinite; will-change: transform; }
.development-ticker-group { display: flex; align-items: center; }
.development-ticker-item { min-height: 30px; padding: 5px 24px; display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; }
.development-ticker-separator { color: #ffbec2; font-size: 8px; }
.development-banner strong { font-weight: 800; }

@keyframes development-ticker-scroll {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}

main { padding-top: 246px; }

.logo-bar { position: relative; z-index: 1; height: 170px; display: grid; place-items: center; overflow: visible; perspective: 1200px; }
.logo-bar > a {
    position: relative;
    display: block;
    transform-style: preserve-3d;
    animation: max-logo-orbit 65s linear infinite;
    animation-delay: var(--logo-animation-delay, 0ms);
    will-change: transform;
}
.site-logo {
    width: min(670px, 72vw);
    max-height: 132px;
    object-fit: contain;
    transform-origin: center;
}

@keyframes max-logo-orbit {
    0%, 7.692% { transform: translate3d(0, 0, 0) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }

    12.308% { transform: translate3d(0, -9px, 32px) scale(1.06) rotateX(0deg) rotateY(0deg) rotateZ(4.5deg); }
    16.923% { transform: translate3d(0, 4px, -20px) scale(.95) rotateX(0deg) rotateY(0deg) rotateZ(-4deg); }
    21.538% { transform: translate3d(0, -6px, 24px) scale(1.045) rotateX(0deg) rotateY(0deg) rotateZ(3.2deg); }
    26.154%, 33.846% { transform: translate3d(0, 0, 0) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }

    36.923% { transform: translate3d(0, -2px, -10px) scale(.94) rotateX(50deg) rotateY(0deg) rotateZ(.6deg); }
    40% { transform: translate3d(0, -3px, -28px) scale(.86) rotateX(140deg) rotateY(0deg) rotateZ(1deg); }
    43.077% { transform: translate3d(0, 0, -42px) scale(.8) rotateX(240deg) rotateY(0deg) rotateZ(0deg); }
    44.615% { transform: translate3d(0, -3px, -24px) scale(.88) rotateX(325deg) rotateY(0deg) rotateZ(-.8deg); }
    46.154%, 53.846% { transform: translate3d(0, 0, 0) scale(1) rotateX(360deg) rotateY(0deg) rotateZ(0deg); }

    58.462% { transform: translate3d(0, -9px, 32px) scale(1.06) rotateX(360deg) rotateY(0deg) rotateZ(4.5deg); }
    63.077% { transform: translate3d(0, 4px, -20px) scale(.95) rotateX(360deg) rotateY(0deg) rotateZ(-4deg); }
    67.692% { transform: translate3d(0, -6px, 24px) scale(1.045) rotateX(360deg) rotateY(0deg) rotateZ(3.2deg); }
    72.308%, 80% { transform: translate3d(0, 0, 0) scale(1) rotateX(360deg) rotateY(0deg) rotateZ(0deg); }

    83.077% { transform: translate3d(0, -1px, -10px) scale(.94) rotateX(360deg) rotateY(50deg) rotateZ(.6deg); }
    86.154% { transform: translate3d(0, -2px, -30px) scale(.86) rotateX(360deg) rotateY(140deg) rotateZ(1deg); }
    89.231% { transform: translate3d(0, 0, -46px) scale(.79) rotateX(360deg) rotateY(240deg) rotateZ(0deg); }
    90.769% { transform: translate3d(0, -2px, -26px) scale(.88) rotateX(360deg) rotateY(325deg) rotateZ(-.8deg); }
    92.308%, 100% { transform: translate3d(0, 0, 0) scale(1) rotateX(360deg) rotateY(360deg) rotateZ(0deg); }
}

.site-nav {
    position: relative;
    z-index: 5;
    color: #eaf2f8;
    background: linear-gradient(rgba(69, 105, 133, .9), rgba(41, 74, 102, .9));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-block: 1px solid #1b374e;
    box-shadow: 0 2px 5px rgba(13, 33, 50, .2);
}

.nav-links {
    width: min(760px, calc(100% - 40px));
    min-height: 44px;
    margin: auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    list-style: none;
}

.nav-links > li { position: relative; display: flex; align-items: stretch; }
.nav-links > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.nav-links > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: transparent; }
.nav-links > li:hover > a, .nav-links > li.active > a { color: #fff; }
.nav-links > li.active > a::after { background: #fff; }
.arrow { margin-left: 8px; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-2px); }

.dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% - 1px);
    width: 145px;
    margin: 0;
    padding: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    background: #385a75;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--shadow);
    transition: .18s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; text-transform: uppercase; }
.dropdown-menu a:hover { background: #29475f; }
.menu-toggle { display: none; }

.hero { min-height: 385px; display: grid; grid-template-columns: .95fr 1.2fr; align-items: center; gap: 20px; padding-block: 48px 18px; }
.hero-copy { position: relative; z-index: 2; padding-left: 20px; }
.eyebrow { margin-bottom: 14px; color: #52749a; font-family: "Barlow Condensed", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); }
.hero h1, .page-hero h1, .computer-story-intro h1, .project-story-intro h1 { font-size: clamp(38px, 4.6vw, 54px); line-height: .98; letter-spacing: -.045em; }
.hero h1 { margin-bottom: 15px; }
.hero-intro { max-width: 490px; margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
.button {
    display: inline-flex;
    min-width: 205px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: white;
    background: linear-gradient(#416681, #294961);
    border: 1px solid #17364e;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
    box-shadow: var(--shadow);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.button:hover { filter: brightness(1.1); }
.hero-art { align-self: end; min-width: 0; }
.hero-art img { width: 100%; margin-left: -12px; mix-blend-mode: multiply; }

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 0;
    margin-bottom: 24px;
    padding: 14px 26px 10px;
    background: rgba(255,255,255,.62);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: 0 5px 18px rgba(31, 60, 85, .05);
}
.timeline::before { content: ""; position: absolute; top: 76px; left: 68px; right: 68px; height: 1px; background: #aabac8; }
.timeline-item { position: relative; text-align: center; padding: 0 12px; }
.timeline-icon {
    width: 62px;
    height: 56px;
    margin-inline: auto;
    display: grid;
    place-items: center;
}
.timeline-icon img {
    width: auto;
    height: auto;
    max-width: 56px;
    max-height: 52px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 2px 1px rgba(28, 52, 72, .18));
}
.timeline-dot { position: relative; z-index: 1; display: block; width: 9px; height: 9px; margin: 2px auto 7px; border: 2px solid #7190aa; border-radius: 50%; background: #274b69; }
.timeline h2 { margin-bottom: 0; font-size: 17px; }
.timeline p { margin: 0; font-size: 10px; line-height: 1.35; }

.home-sections { padding-bottom: 18px; }
.content-section { margin: 23px 0 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: .055em; text-transform: uppercase; }
.section-heading > a { color: #315e83; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.compact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compact-card { min-width: 0; min-height: 136px; display: flex; overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 3px 12px rgba(31, 60, 84, .035); }
.compact-media { width: 50%; flex: 0 0 50%; min-height: 136px; display: grid; place-items: center; padding: 10px; border-right: 1px solid rgba(170, 188, 203, .55); background: linear-gradient(135deg, rgba(218,231,241,.55), rgba(255,255,255,.2)); }
.computers-home-section .compact-media {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: transparent;
    background-image: none;
}
.computers-home-section .compact-media::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: 0;
    background-image: url('pictures/computers/bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.computers-home-section .compact-media img { position: relative; z-index: 1; }
.compact-media img { width: auto; height: auto; max-width: 88%; max-height: 112px; object-fit: contain; }
.compact-copy { min-width: 0; flex: 1; padding: 13px 12px; display: flex; flex-direction: column; align-items: flex-start; }
.compact-copy h3 { margin: 0 0 3px; font-size: 18px; }
.compact-copy p { margin: 0 0 8px; font-size: 10px; line-height: 1.4; }
.compact-copy a, .compact-copy em { margin-top: auto; color: #315e83; font-size: 10px; font-style: normal; font-weight: 700; }

.project-art { position: relative; width: 50%; flex: 0 0 50%; min-height: 136px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #07090b; color: #e2443d; border-right: 1px solid rgba(170, 188, 203, .35); }
.project-art::before, .project-art::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.project-art::before { opacity: .9; background: radial-gradient(circle at 50% 52%, rgba(200,43,37,.38), transparent 62%); }
.project-art::after { background-image: linear-gradient(rgba(226,68,61,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(226,68,61,.055) 1px, transparent 1px); background-size: 8px 8px; }
.project-art span { padding: 8px; font-family: "Barlow Condensed", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .05em; text-align: center; text-transform: uppercase; text-shadow: 0 2px 4px #000; }
.project-preview .project-art.with-image { background: #000; }
.project-preview .project-art.with-image::before { background: #000; opacity: 1; }
.project-preview .project-art.with-image::after { background: none; }
.project-preview .project-art.with-image img { position: relative; z-index: 1; width: auto; height: auto; max-width: 94%; max-height: 122px; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.1) saturate(1.03); }
.project-preview { border-bottom: 2px solid #7892a6; }
.project-preview .compact-copy { padding-block: 11px; }
.project-preview .compact-copy h3 { margin-bottom: 5px; }
.project-preview .compact-copy p { margin-top: 6px; font-size: 9px; }
.project-progress { margin: 14px 0 16px; }
.project-progress > span:first-child { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; }
.project-progress strong { color: var(--ink); font-size: 13px; }
.progress-track { position: relative; height: 6px; margin-top: 7px; display: block; overflow: hidden; background: #dce5ec; border: 1px solid #c5d3de; border-radius: 999px; }
.progress-track > span { display: block; height: 100%; background: linear-gradient(90deg, #315b79, #d64b43); border-radius: inherit; }
.progress-track.unknown { background-image: repeating-linear-gradient(135deg, #e5ebf0 0, #e5ebf0 5px, #d7e0e8 5px, #d7e0e8 10px); }
.project-progress.compact { width: 100%; margin: 0; }
.project-progress.compact > span:first-child { font-size: 8px; text-transform: uppercase; }
.project-progress.compact strong { font-size: 11px; }
.project-progress.compact .progress-track { height: 5px; margin-top: 3px; }

.link-preview { align-items: center; padding: 10px; }
.link-badge { width: 72px; aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #4f7390, #294a65); border: 3px solid #dae5ee; border-radius: 9px; box-shadow: 0 0 0 1px #9fb3c4; font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 700; }
.link-preview strong { color: var(--ink); font-size: 13px; }
.link-preview .compact-copy > span { font-size: 10px; line-height: 1.4; }
.link-rotator-viewport { width: 100%; }
.link-rotator.is-ready .link-rotator-viewport { position: relative; overflow: hidden; transition: height .55s ease; }
.link-rotator.is-ready .link-rotator-track { position: relative; height: 100%; }
.link-slide { width: 100%; }
.link-rotator.is-ready .link-slide { position: absolute; top: 0; left: 0; right: 0; z-index: 0; opacity: 0; pointer-events: none; transform: translateY(0); transition: transform .9s cubic-bezier(.55,.04,.38,.98); will-change: transform; }
.link-rotator.is-ready .link-slide.is-current { z-index: 2; opacity: 1; pointer-events: auto; }
.link-rotator.is-ready .link-slide.is-entering { z-index: 1; opacity: 1; }
.link-rotator.is-ready .link-slide.is-leaving { z-index: 3; opacity: 1; pointer-events: none; transform: translateY(calc(100% + 18px)); }
@media (prefers-reduced-motion: reduce) {
    .link-rotator.is-ready .link-slide { transition: none; transform: none; }
}

.page-hero { padding: 68px 20px 40px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero > p:last-child { max-width: min(100%, var(--reading-width)); font-size: 16px; }
.links-page-hero > p:last-child { max-width: var(--reading-width); }
.story { padding-bottom: 65px; }
.story-chapter { display: grid; grid-template-columns: 135px 1fr; gap: 40px; padding: 42px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.story-chapter > div:last-child { width: min(100%, var(--reading-width)); }
.story-marker { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 700; }
.story-marker img {
    width: auto;
    height: auto;
    max-width: 92px;
    max-height: 72px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 3px 2px rgba(28, 52, 72, .16));
}
.story-chapter h2 { font-size: 26px; }

.news-feed { padding-bottom: 70px; }
.news-entry { width: min(100%, var(--reading-width)); padding: 34px 38px 38px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-bottom: 3px solid #b71922; border-radius: 9px; box-shadow: 0 8px 24px rgba(31, 60, 84, .07); }
.news-entry time { display: block; margin-bottom: 10px; color: #b71922; font-family: "Barlow Condensed", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-entry h2 { margin-bottom: 16px; font-size: 30px; }
.news-entry p + p { margin-top: 14px; }

.feature-list { padding-bottom: 70px; }
.feature-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 330px; margin-bottom: 26px; overflow: hidden; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 10px; scroll-margin-top: 20px; }
.feature-card.reverse .feature-image { order: 2; }
.feature-image { height: 100%; min-height: 330px; display: grid; place-items: center; padding: 48px; background-color: transparent; background-image: url('pictures/computers/bg.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.feature-image img { width: auto; height: auto; max-width: 88%; max-height: 225px; object-fit: contain; }
.feature-copy { padding: 40px; }
.feature-number { color: #9bb0c1; font-family: "Barlow Condensed", sans-serif; font-size: 17px; letter-spacing: .14em; }
.feature-copy h2 { margin: 4px 0 12px; font-size: 36px; }
.feature-copy a { color: #315e83; font-size: 12px; font-weight: 700; text-transform: uppercase; }

.computer-story { padding: 55px 0 75px; }
.computer-story-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }
.computer-story-image { min-height: 430px; display: grid; place-items: center; padding: 60px; background-image: url('pictures/computers/bg.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.computer-story-image img { width: auto; height: auto; max-width: 88%; max-height: 285px; object-fit: contain; }
.computer-story-intro h1 { margin-bottom: 18px; }
.computer-story-intro > p:not(.eyebrow) { font-size: 16px; }
.back-link { display: inline-block; margin-top: 18px; color: #315e83; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.computer-story-body { margin-top: 45px; }
.computer-story-body > section { padding: 34px 0; border-top: 1px solid var(--line); }
.computer-story-body > section h2 { margin-bottom: 10px; font-size: 28px; }
.computer-story-body > section > p { max-width: var(--reading-width); }
.project-story-body > section > p { max-width: var(--reading-width); }
.computer-creations { margin-top: 18px; scroll-margin-top: 240px; }
.computer-creations-heading { width: 100%; margin: 0 0 24px; }
.computer-creations-heading > p:last-child { max-width: var(--reading-width); }
.computer-creation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.computer-creation-card { min-width: 0; padding: 24px; background: rgba(255,255,255,.76); border: 1px solid #b9cad7; border-bottom: 3px solid #315a78; border-radius: 10px; box-shadow: 0 12px 28px rgba(32, 59, 79, .08); }
.computer-creation-card:not(.has-video) { grid-column: 1 / -1; }
.computer-video-frame { margin: -24px -24px 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #05080b; border-bottom: 1px solid #294a63; border-radius: 9px 9px 0 0; }
.computer-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.computer-creation-card h3 { margin: 10px 0 2px; color: var(--ink); font-size: 25px; }
.computer-creation-card > p:not(.computer-creation-date) { max-width: var(--reading-width); margin-top: 17px; }
.computer-creation-type { display: inline-block; color: #315a78; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.computer-creation-date { color: #63788a; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.computer-creation-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.computer-creation-actions a { color: #254f70; font-size: 11px; font-weight: 800; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 20px; padding-bottom: 70px; }
.project-card-large { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 9px; scroll-margin-top: 230px; }
.project-art.large { width: 100%; min-height: 220px; flex-basis: auto; border-right: 0; }
.project-grid .project-art.large { min-height: 0; aspect-ratio: 4 / 3; background: #000; }
.project-grid .project-art.large::before { background: #000; opacity: 1; }
.project-grid .project-art.large::after { background: none; }
.project-art.large span { font-size: 29px; }
.project-art.large img { position: relative; z-index: 1; width: auto; height: auto; max-width: 92%; max-height: 92%; object-fit: contain; image-rendering: auto; mix-blend-mode: screen; filter: contrast(1.35) saturate(1.04) drop-shadow(0 5px 9px rgba(0,0,0,.72)); }
.project-art.large.with-banner { padding: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
.project-art.large.with-banner .project-card-banner { width: 94%; height: auto; max-width: none; max-height: none; flex: 0 0 auto; mix-blend-mode: normal; filter: none; }
.project-art.large.with-banner .project-card-title-image { width: auto; height: auto; max-width: 72%; max-height: 57%; }
.project-card-large > div:last-child { height: 100%; padding: 24px; }
.project-card-copy { display: flex; flex-direction: column; align-items: flex-start; }
.project-card-large h2 { margin-bottom: 8px; font-size: 25px; }
.project-card-large h2 a:hover { color: #315e83; }
.project-card-large .project-progress { width: 100%; margin-top: auto; padding-top: 12px; }
.project-card-link { color: #315e83; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.card-kicker { margin-bottom: 6px; color: #5d7f9c; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.draft-note { padding-top: 14px; border-top: 1px solid #dce4eb; font-size: 11px; }

.project-story { padding: 55px 0 75px; }
.project-story-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }
.project-story-art { width: 100%; min-height: 430px; border: 1px solid rgba(170, 188, 203, .35); border-radius: 10px; }
.project-story-art span { max-width: 88%; font-size: clamp(34px, 5vw, 62px); line-height: .95; }
.project-story-art.with-image { background: #000; }
.project-story-art.with-image::before { background: #000; opacity: 1; }
.project-story-art.with-image::after { background: none; }
.project-story-art.with-image img { position: relative; z-index: 1; width: 92%; height: 84%; object-fit: contain; image-rendering: auto; mix-blend-mode: screen; filter: contrast(1.35) saturate(1.04) drop-shadow(0 7px 13px rgba(0,0,0,.75)); }
.project-story-art.with-banner { padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.project-story-art.with-banner .project-story-banner { width: 96%; height: auto; flex: 0 0 auto; mix-blend-mode: normal; filter: none; }
.project-story-art.with-banner .project-story-title-image { width: auto; height: auto; max-width: 72%; max-height: 62%; }
.project-story-art.wide-image { min-height: 260px; }
.project-story-intro h1 { margin-bottom: 18px; }
.project-story-intro > p:not(.eyebrow) { font-size: 16px; }
.project-progress.featured { max-width: 430px; margin-block: 22px 0; }
.project-progress.featured strong { font-family: "Barlow Condensed", sans-serif; font-size: 25px; }
.project-progress.featured .progress-track { height: 9px; }
.project-progress.featured small { display: block; margin-top: 8px; font-size: 11px; }
.project-story-body { margin-top: 45px; }
.project-story-body section { padding: 36px 0; border-top: 1px solid var(--line); }
.project-story-body h2 { margin-bottom: 10px; font-size: 29px; }
.project-support-image { min-height: 290px; margin: 12px 0 38px; display: grid; place-items: center; overflow: hidden; background: #000; border: 1px solid #182531; border-radius: 8px; box-shadow: 0 7px 18px rgba(29, 45, 59, .12); }
.project-support-image img { width: auto; height: auto; max-width: 88%; max-height: 270px; object-fit: contain; mix-blend-mode: screen; filter: contrast(1.25) saturate(1.04); }
.project-release-box { margin-top: 16px; padding: 34px !important; background: rgba(255,255,255,.66); border: 1px solid var(--line) !important; border-radius: 9px; }
.muted-button { cursor: default; opacity: .72; }
.project-map-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px !important; background: linear-gradient(135deg, rgba(236,244,249,.94), rgba(255,255,255,.8)); border: 1px solid #aac0d0 !important; border-left: 5px solid #315a78 !important; border-radius: 9px; box-shadow: 0 10px 26px rgba(32, 59, 79, .08); }
.project-map-callout > div { max-width: 590px; }
.project-map-callout h2 { margin-bottom: 8px; }
.project-map-callout p:last-child { margin-bottom: 0; }
.project-map-callout .button { min-width: 230px; flex: 0 0 auto; }

.illusion-map-hero .back-link { margin-top: 8px; }
.map-archive { padding-bottom: 76px; }
.map-archive-empty { padding-bottom: 76px; }
.map-archive-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) 220px auto; align-items: end; gap: 14px; margin-bottom: 34px; padding: 18px; background: rgba(255,255,255,.86); border: 1px solid #b8cad7; border-radius: 10px; box-shadow: 0 8px 22px rgba(34, 63, 83, .07); }
.map-search-field, .map-disk-filter { display: grid; gap: 6px; color: #526b7e; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.map-search-field input, .map-disk-filter select { width: 100%; min-height: 42px; padding: 8px 11px; color: var(--ink); background: #fff; border: 1px solid #aebfcd; border-radius: 6px; font: 500 13px Inter, sans-serif; text-transform: none; }
.map-search-field input:focus, .map-disk-filter select:focus { outline: 3px solid rgba(66,111,142,.2); border-color: #426f8e; }
.map-result-count { min-width: 105px; margin: 0; padding-bottom: 9px; color: #617789; font-size: 11px; text-align: right; }
.map-result-count strong { color: var(--ink); font-size: 20px; }
.map-disk-list { display: grid; gap: 42px; }
.map-disk-section { scroll-margin-top: 280px; }
.map-disk-heading { display: flex; align-items: end; gap: 12px; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 2px solid #315a78; }
.map-disk-heading .card-kicker { margin: 0 auto 3px 0; }
.map-disk-heading h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; }
.map-disk-heading > span { margin-bottom: 4px; color: #6c8192; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.map-location-list { display: grid; gap: 9px; }
.map-location { overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid #bccbd7; border-radius: 9px; box-shadow: 0 4px 13px rgba(32, 59, 79, .045); }
.map-location[open] { border-color: #8eaabd; box-shadow: 0 10px 27px rgba(32, 59, 79, .1); }
.map-location summary { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 16px; min-height: 61px; padding: 11px 48px 11px 14px; cursor: pointer; list-style: none; }
.map-location summary::-webkit-details-marker { display: none; }
.map-location summary::after { content: "+"; position: absolute; right: 17px; top: 50%; width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: #315a78; border-radius: 50%; font-size: 17px; transform: translateY(-50%); }
.map-location[open] summary::after { content: "-"; }
.map-location-code { display: grid; place-items: center; min-height: 36px; color: #fff; background: #294e69; border-radius: 5px; font-family: "Barlow Condensed", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.map-location-name { color: var(--ink); font-size: 14px; font-weight: 700; }
.map-layer-count { color: #607789; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.map-location-content { padding: 22px; background: #eaf0f5; border-top: 1px solid #c4d2dc; }
.map-location-comment { max-width: var(--reading-width); }
.map-layer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.map-layer-grid.single-layer { grid-template-columns: minmax(0, 1fr); }
.map-figure { min-width: 0; margin: 0; overflow: hidden; background: #fff; border: 1px solid #afc2d0; border-radius: 8px; }
.map-combined-figure { margin-bottom: 20px; border: 2px solid #315a78; }
.map-figure figcaption { min-height: 53px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #b8c9d5; }
.map-figure figcaption strong { color: var(--ink); font-size: 13px; }
.map-figure figcaption span { overflow: hidden; color: #6b7f8f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.map-image-frame { display: block; max-height: min(72vh, 820px); overflow: auto; background: #080b0e; overscroll-behavior: contain; scrollbar-color: #55758d #172733; }
.map-image-frame img { width: auto; max-width: none; height: auto; display: block; image-rendering: pixelated; transition: filter .18s ease; }
.map-image-frame:hover img { filter: brightness(1.08); }

.project-story-body-wide { width: 100%; }
.project-story-body-wide > .project-release-box { width: min(780px, 100%); margin-inline: auto; }
.psy-project-overview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: end; }
.psy-project-overview h2 { max-width: 470px; margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.psy-project-overview > p { margin-bottom: 3px; font-size: 15px; }

.project-story-body .translation-gallery {
    margin-top: 10px;
    padding: 0 !important;
    overflow: visible;
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
}
.translation-gallery-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; padding: 25px 27px; background: rgba(255,255,255,.9); border: 1px solid rgba(176, 197, 213, .8); border-radius: 9px; box-shadow: 0 6px 17px rgba(37, 67, 90, .07); }
.translation-gallery-header > div:first-child { max-width: 780px; }
.translation-gallery-header h2 { margin-bottom: 8px; font-size: clamp(29px, 3.2vw, 40px); line-height: 1.04; white-space: nowrap; }
.translation-gallery-header p:last-child { margin-bottom: 0; font-size: 13px; }
.gallery-view-controls { flex: 0 0 auto; display: flex; padding: 4px; background: #e6eef4; border: 1px solid #c5d4df; border-radius: 7px; }
.gallery-view-controls button { padding: 8px 11px; color: #536c80; background: transparent; border: 0; border-radius: 5px; font: 700 10px Inter, sans-serif; letter-spacing: .035em; cursor: pointer; }
.gallery-view-controls button:hover { color: var(--ink); }
.gallery-view-controls button.is-active { color: #fff; background: var(--blue); box-shadow: 0 2px 5px rgba(29, 60, 84, .22); }
.translation-parts { display: grid; gap: 34px; }
.project-story-body .translation-part, .project-story-body .translation-chapter { padding: 0; border: 0; }
.translation-part { overflow: hidden; background: #f8fafc; border: 1px solid #c9d7e2 !important; border-radius: 9px; }
.translation-part-heading { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-bottom: 1px solid #c9d7e2; }
.translation-part-heading > span { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 7px; font-family: "Barlow Condensed", sans-serif; font-size: 21px; font-weight: 700; }
.translation-part-heading p { margin: 0 0 1px; color: #718799; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.translation-part-heading h3 { margin: 0; color: var(--ink); font-size: 28px; line-height: 1; text-transform: uppercase; }
.translation-part-groups { display: grid; gap: 22px; padding: 12px; }
.translation-chapter-heading { margin-bottom: 12px; padding: 12px 15px; background: #eaf0f5; border-left: 4px solid var(--blue); }
.translation-chapter-heading h4 { margin: 0; color: var(--ink); font-family: "Barlow Condensed", sans-serif; font-size: 22px; letter-spacing: .035em; text-transform: uppercase; }
.translation-scenes { display: grid; gap: 24px; }
.translation-scene { padding: 12px; background: rgba(255,255,255,.76); border: 1px solid rgba(170, 193, 210, .9); border-radius: 9px; box-shadow: 0 7px 18px rgba(38, 69, 92, .08); }
.translation-scene-header { display: flex; align-items: center; gap: 15px; margin-bottom: 13px; padding: 0 2px; }
.translation-scene-header span { color: var(--ink); font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.screenshot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.translation-shot { min-width: 0; margin: 0; }
.screenshot-window { position: relative; min-width: 0; padding: 36px 5px 5px; background: #000; border: 1px solid #203746; border-radius: 10px; box-shadow: inset 0 0 30px rgba(50, 95, 126, .08); }
.frame-language-tag { position: absolute; top: 9px; left: 11px; z-index: 2; min-width: 34px; height: 20px; padding: 0 7px; display: inline-grid; place-items: center; color: #fff; background: #426f90; border: 1px solid #5686a8; border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.screenshot-open { position: relative; width: 100%; max-width: 544px; margin: auto; padding: 0; display: block; overflow: hidden; background: #000; border: 0; cursor: zoom-in; }
.screenshot-open img { width: 100%; height: auto; display: block; image-rendering: auto; mix-blend-mode: screen; }
.screenshot-open.cropped { aspect-ratio: 544 / var(--crop-height); }
.screenshot-open.cropped img { position: absolute; top: 0; left: 0; transform: translateY(calc(-1 * var(--crop-top-percent))); }
.screenshot-open span { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; color: #fff; background: rgba(19, 48, 70, .88); border: 1px solid rgba(255,255,255,.3); border-radius: 4px; font-size: 8px; font-weight: 800; letter-spacing: .08em; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; text-transform: uppercase; }
.screenshot-open:hover span, .screenshot-open:focus-visible span { opacity: 1; transform: translateY(0); }
.screenshot-open:focus-visible { outline: 3px solid #6fa0c4; outline-offset: 3px; }
.screenshot-placeholder { width: 100%; max-width: 544px; aspect-ratio: 544 / 480; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: #7590a3; background: #030506; border: 1px dashed #29485d; text-align: center; }
.screenshot-placeholder > span { width: 42px; height: 42px; margin-bottom: 12px; display: grid; place-items: center; color: #86a6bc; background: #101c24; border: 1px solid #29485d; border-radius: 50%; font-size: 25px; font-weight: 300; }
.screenshot-placeholder strong { color: #b9cbd8; font-size: 12px; }
.screenshot-placeholder small { max-width: 300px; margin-top: 6px; font-size: 9px; }
.screenshot-placeholder code { color: #75a8cd; font-size: inherit; }
.translation-gallery[data-view="japanese"] .translation-shot[data-language="english"],
.translation-gallery[data-view="english"] .translation-shot[data-language="japanese"] { display: none; }
.translation-gallery[data-view="japanese"] .screenshot-pair,
.translation-gallery[data-view="english"] .screenshot-pair { grid-template-columns: minmax(0, 520px); justify-content: center; }
.translation-gallery[data-view="flash"] .screenshot-pair { grid-template-columns: minmax(0, 544px); justify-content: center; }
.translation-gallery[data-view="flash"] .translation-shot { grid-area: 1 / 1; width: 100%; }
.translation-gallery[data-view="flash"] .translation-shot[data-language="english"] { z-index: 1; }
.translation-gallery[data-view="flash"] .translation-shot[data-language="japanese"] { z-index: 2; animation: translation-flash-compare 2.4s steps(1, end) infinite; }
@keyframes translation-flash-compare {
    0%, 49.999% { opacity: 1; visibility: visible; }
    50%, 100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .translation-gallery[data-view="flash"] .translation-shot[data-language="japanese"] { animation: none; opacity: 0; visibility: hidden; }
}
.gallery-empty-state { padding: 60px 20px; color: #60788b; background: rgba(255,255,255,.8); border: 1px dashed #9eb6c8; border-radius: 8px; text-align: center; }
.gallery-empty-state strong { color: var(--ink); font-size: 18px; }
.gallery-empty-state p { margin: 5px 0 0; }
.translation-chapter-empty { padding: 30px; color: #708494; background: #fff; border: 1px solid #d2dde6; border-radius: 7px; text-align: center; }
.translation-chapter-empty strong { display: block; color: var(--ink); font-size: 14px; }
.translation-chapter-empty small { display: block; margin-top: 5px; font-size: 9px; }
.translation-chapter-empty code { color: #315e83; font-size: inherit; }

.screenshot-lightbox { width: min(1100px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 40px; overflow: auto; color: #dce8f1; background: #0a1117; border: 1px solid #58748a; border-radius: 10px; box-shadow: 0 25px 80px rgba(0,0,0,.48); }
.screenshot-lightbox::backdrop { background: rgba(6, 15, 22, .78); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.screenshot-lightbox figure { margin: 0; display: grid; place-items: center; }
.screenshot-lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 135px); image-rendering: auto; }
.screenshot-lightbox figcaption { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; color: #fff; background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }

.links-directory { padding-bottom: 70px; }
.tools-intro { padding-bottom: 70px; }
.tool-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr); overflow: hidden; background: rgba(255,255,255,.78); border: 1px solid #b9cad7; border-bottom: 4px solid #1b3d56; border-radius: 12px; box-shadow: 0 16px 34px rgba(26, 54, 75, .12); }
.tool-card-copy { padding: 42px; align-self: center; }
.tool-card-copy h2 { margin: 5px 0 14px; color: var(--ink); font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.tool-workbench { min-width: 0; padding: 28px; color: #d9e8f2; background: linear-gradient(145deg, #172b3b, #0c1822); }
.scl-drop { min-height: 245px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 28px; text-align: center; cursor: pointer; background: rgba(255,255,255,.035); border: 2px dashed #63839a; border-radius: 9px; transition: border-color .18s, background .18s, transform .18s; }
.scl-drop:hover, .scl-drop.is-dragging { background: rgba(100, 174, 220, .1); border-color: #9ed9fc; transform: translateY(-2px); }
.scl-drop strong { color: #f4f9fc; font-size: 18px; }
.scl-drop small { color: #9db2c1; }
.scl-format-mark { margin-bottom: 18px; color: #f5f8fa; font-family: "Barlow Condensed", sans-serif; font-size: 31px; font-weight: 800; letter-spacing: .08em; }
.scl-format-mark b { color: #7fc9f5; }
[data-scl-picker] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.scl-result { margin-top: 18px; padding: 19px; background: rgba(0,0,0,.2); border: 1px solid #344f62; border-radius: 8px; }
.scl-status { display: block; margin-bottom: 11px; color: #8de2ac; }
.scl-status[data-state="warning"] { color: #f2cf6b; }
.scl-status[data-state="error"] { color: #ff8c91; }
.scl-result dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 15px; font-size: 12px; }
.scl-result dt { color: #8fa8b9; }
.scl-result dd { margin: 0; overflow-wrap: anywhere; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.tool-button { min-height: 44px; padding: 0 20px; color: #fff; background: linear-gradient(#47799b, #315a78); border: 1px solid #20445e; border-bottom: 3px solid #17384f; border-radius: 6px; font: 800 11px Inter, sans-serif; letter-spacing: .045em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.14); }
.tool-button:hover, .tool-button:focus-visible { filter: brightness(1.1); }
.tool-button:disabled { cursor: wait; filter: grayscale(.35); opacity: .68; }
.tool-button.secondary { color: #cdeafa; background: #172d3d; border-color: #49718d; }

.speccy-intro-section { margin-top: 18px; scroll-margin-top: 240px; }
.speccy-intro-heading { margin-bottom: 23px; }
.speccy-intro-heading h2 { margin: 5px 0 10px !important; font-size: clamp(30px, 4vw, 42px) !important; }
.speccy-intro-heading > p:last-child { max-width: var(--reading-width); }
.speccy-archive-grid { display: grid; gap: 18px; }
.speccy-intro-player { padding: 30px; color: #dce9f1; background: linear-gradient(135deg, #162b3a, #0a151e); border: 1px solid #102c40; border-bottom: 4px solid #071823; border-radius: 11px; box-shadow: 0 15px 32px rgba(18, 44, 63, .18); }
.speccy-player-heading { margin-bottom: 19px; }
.speccy-player-heading .eyebrow { margin-bottom: 4px; color: #76b9df; }
.speccy-player-heading h3 { margin: 0; color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 25px; letter-spacing: .015em; }
.speccy-intro-player > label { display: block; margin-bottom: 9px; color: #9fc1d8; font-family: "Barlow Condensed", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.speccy-intro-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.speccy-intro-controls select { min-width: 0; height: 48px; padding: 0 42px 0 15px; color: #10263a; background: #f6fafc; border: 2px solid #789bb3; border-radius: 6px; font: 700 14px Inter, sans-serif; }
.speccy-intro-controls .tool-button { min-width: 220px; }
.speccy-intro-status { min-height: 22px; margin: 15px 0 0; color: #9fc1d8; font-size: 12px; font-weight: 700; }
.speccy-intro-player[data-state="ready"] .speccy-intro-status { color: #8de2ac; }
.speccy-intro-player[data-state="error"] .speccy-intro-status { color: #ff9aa0; }
.speccy-intro-source { margin: 14px 0 0; padding-top: 14px; color: #829cab; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.speccy-intro-source a { color: #b9e3fc; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.link-group { margin-bottom: 38px; }
.link-group > h2 { margin-bottom: 12px; font-family: "Barlow Condensed", sans-serif; font-size: 18px; letter-spacing: .07em; text-transform: uppercase; }
.link-group > h3 { margin-bottom: 12px; color: #385f7e; font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: .09em; text-transform: uppercase; }
.links-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.link-page-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 9px; transition: transform .2s, box-shadow .2s; }
.link-page-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-badge.large { width: 82px; }
.link-page-card strong, .link-page-card small { display: block; }
.link-page-card strong { color: var(--ink); font-size: 17px; }
.link-page-card small { margin-top: 3px; }
.platform-link-nav { position: sticky; top: 262px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 18px 0 36px; padding: 6px; overflow: visible; background: rgba(18, 31, 42, .94); border: 1px solid #071a28; border-bottom: 3px solid #071a28; border-radius: 11px; box-shadow: 0 12px 28px rgba(13, 35, 51, .24), inset 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.platform-link-nav::before { content: "SELECT PLATFORM"; position: absolute; left: 16px; top: -11px; padding: 1px 9px; color: #284d68; background: var(--paper); border: 1px solid #8da8bb; border-radius: 4px; font-family: "Barlow Condensed", sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .12em; line-height: 18px; }
.platform-link-nav a { padding: 11px 18px; color: #eaf4fa; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; transition: color .18s, background .18s, border-color .18s, box-shadow .18s; }
.platform-link-nav a:hover, .platform-link-nav a:focus-visible { color: #fff; background: #426f8e; border-color: #8cb4cf; box-shadow: inset 0 -3px #b9ddf4; }
.platform-link-nav a.is-active { color: #102b3f; background: #eef8fe; border-color: #b9d9ec; box-shadow: inset 0 -4px #4e87ab, 0 2px 8px rgba(0,0,0,.18); }
.platform-link-section { margin-bottom: 46px; padding: 30px; scroll-margin-top: 334px; background: rgba(244, 248, 251, .76); border: 1px solid #b9cad7; border-bottom: 3px solid #315a78; border-radius: 11px; box-shadow: 0 14px 34px rgba(32, 59, 79, .08); }
.platform-link-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid #c6d5df; }
.platform-link-heading .eyebrow { margin-bottom: 2px; font-size: 11px; }
.platform-link-heading h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: 29px; letter-spacing: .05em; text-transform: uppercase; }
.link-platform-mark { display: grid; place-items: center; width: 76px; height: 56px; color: #eef6fb; background: linear-gradient(145deg, #426b89, #203f59); border: 1px solid #173248; border-radius: 7px; box-shadow: inset 0 1px rgba(255,255,255,.25), 0 5px 12px rgba(26, 53, 73, .18); font-family: "Barlow Condensed", sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .07em; }
.platform-link-section .link-group:last-child { margin-bottom: 0; }
.personal-production-links { position: relative; margin-bottom: 38px; padding: 22px; overflow: hidden; background: linear-gradient(135deg, #172f43, #315a78); border: 1px solid #10283a; border-bottom: 4px solid #10283a; border-radius: 10px; box-shadow: 0 14px 28px rgba(21, 48, 69, .2); }
.personal-production-links::after { content: attr(data-showcase-label); position: absolute; right: 16px; top: 11px; color: rgba(255,255,255,.09); font-family: "Barlow Condensed", sans-serif; font-size: 32px; font-weight: 800; letter-spacing: .065em; pointer-events: none; }
.personal-production-links > h3 { position: relative; z-index: 1; margin-bottom: 17px; color: #eef7fd; }
.personal-production-links .links-page-grid { position: relative; z-index: 1; grid-template-columns: repeat(3, 1fr); }
.personal-production-links .link-page-card { min-width: 0; grid-template-columns: 66px 1fr auto; gap: 15px; padding: 16px; background: rgba(248, 252, 255, .96); border: 1px solid #83a4bc; border-bottom: 3px solid #76a8ca; box-shadow: 0 7px 16px rgba(7, 25, 39, .2); }
.personal-production-links .link-badge.large { width: 66px; color: #bde5ff; background: linear-gradient(145deg, #244d69, #0d2232); border-color: #82a8c2; box-shadow: 0 0 0 1px #102d42, inset 0 1px rgba(255,255,255,.2); font-size: 17px; }

.site-footer { position: relative; overflow: hidden; color: #d5e0e8; background: linear-gradient(100deg, #294b67, #355e7c); border-top: 1px solid #17364e; }
.site-footer::before, .site-footer::after { content: ""; position: absolute; width: 130px; height: 75px; opacity: .18; background-image: radial-gradient(circle, #fff 1px, transparent 2px); background-size: 12px 12px; transform: rotate(25deg); }
.site-footer::before { left: -20px; bottom: -18px; }
.site-footer::after { right: -15px; top: -18px; }
.footer-inner { width: min(var(--shell-width), calc(100% - 40px)); min-height: 82px; margin: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; font-size: 10px; }
.footer-inner p { margin: 0; text-align: center; }
.footer-inner p:last-child { text-align: right; }
.social-links { display: flex; gap: 14px; align-items: center; }
.x-account { display: inline-flex; align-items: center; gap: 9px; color: #f3f7fa; font-size: 11px; font-weight: 500; }
.x-account:hover { color: #fff; }
.x-account-icon { position: relative; width: 27px; height: 27px; flex: 0 0 27px; background: #101820; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; box-shadow: 0 2px 6px rgba(0,0,0,.22); }
.x-account-icon::before, .x-account-icon::after { content: ""; position: absolute; top: 5px; left: 12px; width: 2px; height: 15px; background: #fff; border-radius: 2px; transform: rotate(39deg); }
.x-account-icon::after { transform: rotate(-39deg); }
.footer-copyright { font-size: 12px; font-weight: 400; }

@media (max-width: 820px) {
    main { padding-top: 201px; }
    .logo-bar { height: 125px; }
    .site-logo { width: min(560px, 86vw); }
    .hero { grid-template-columns: 1fr; padding-top: 46px; }
    .hero-copy { padding: 0; }
    .hero-art { width: min(660px, 100%); margin: -15px auto 0; }
    .timeline { overflow-x: auto; grid-template-columns: repeat(5, 160px); }
    .compact-grid, .project-grid { grid-template-columns: 1fr; }
    .compact-card { min-height: 145px; }
    .compact-media, .project-art { width: 50%; flex-basis: 50%; }
    .feature-card { grid-template-columns: 1fr; }
    .feature-card.reverse .feature-image { order: 0; }
    .feature-image { min-height: 270px; }
    .computer-story-hero { grid-template-columns: 1fr; gap: 20px; }
    .computer-story-image { min-height: 340px; }
    .computer-creation-grid { grid-template-columns: 1fr; }
    .project-story-hero { grid-template-columns: 1fr; gap: 28px; }
    .project-story-art { min-height: 340px; }
    .psy-project-overview { grid-template-columns: 1fr; gap: 15px; }
    .translation-gallery-header { align-items: flex-start; flex-direction: column; }
    .links-page-grid { grid-template-columns: 1fr; }
    .personal-production-links .links-page-grid { grid-template-columns: 1fr; }
    .platform-link-nav { top: 217px; }
    .tool-card { grid-template-columns: 1fr; }
    .project-map-callout { align-items: flex-start; flex-direction: column; }
    .map-archive-toolbar { grid-template-columns: 1fr 180px; }
    .map-result-count { grid-column: 1 / -1; padding: 0; text-align: left; }
}

@media (max-width: 640px) {
    main { padding-top: 177px; }
    .development-banner { min-height: 28px; font-size: 9px; line-height: 18px; }
    .development-ticker-item { min-height: 28px; padding: 4px 18px; gap: 10px; }
    .shell, .narrow { width: min(100% - 28px, var(--shell-width)); }
    .logo-bar { height: 100px; }
    .site-logo { max-height: 76px; }
    .site-nav { position: relative; }
    .menu-toggle { width: 100%; height: 46px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: white; background: transparent; border: 0; font: 600 12px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
    .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: white; }
    .menu-lines { position: relative; }
    .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
    .menu-lines::before { top: -6px; }
    .menu-lines::after { top: 6px; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; min-height: 0; display: none; background: #294a66; box-shadow: var(--shadow); }
    .nav-links.is-open { display: block; }
    .nav-links > li, .nav-links > li > a { width: 100%; }
    .nav-links > li > a { min-height: 44px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-links > li > a::after { display: none; }
    .dropdown-menu { position: static; width: 100%; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
    .dropdown:focus-within .dropdown-menu { display: block; }
    .hero { min-height: auto; gap: 0; padding-top: 38px; }
    .hero h1, .page-hero h1, .computer-story-intro h1, .project-story-intro h1 { font-size: 40px; }
    .hero-art { margin-top: 5px; }
    .timeline { width: calc(100% - 28px); padding-inline: 12px; }
    .timeline::before { left: 80px; right: 80px; }
    .section-heading > a { display: none; }
    .compact-card { flex-direction: column; }
    .compact-media, .project-art { width: 100%; min-height: 170px; flex-basis: auto; border-right: 0; border-bottom: 1px solid rgba(170, 188, 203, .45); }
    .compact-copy { min-height: 130px; }
    .link-preview { flex-direction: row; }
    .link-preview .compact-copy { min-height: 0; }
    .story-chapter { grid-template-columns: 1fr; gap: 18px; }
    .story-marker { align-items: flex-start; }
    .news-entry { padding: 26px 22px 30px; }
    .feature-copy { padding: 28px; }
    .page-hero { padding: 46px 0 28px; }
    .tool-card-copy, .tool-workbench, .speccy-intro-player { padding: 24px; }
    .speccy-intro-controls { grid-template-columns: 1fr; }
    .speccy-intro-controls .tool-button { width: 100%; min-width: 0; }
    .computer-story { padding-top: 28px; }
    .computer-story-image { min-height: 270px; padding: 42px; }
    .project-story { padding-top: 28px; }
    .project-story-art { min-height: 270px; }
    .project-map-callout { padding: 25px !important; }
    .project-map-callout .button { width: 100%; min-width: 0; }
    .map-archive-toolbar { grid-template-columns: 1fr; }
    .map-disk-heading { align-items: flex-start; flex-wrap: wrap; }
    .map-disk-heading .card-kicker { width: 100%; }
    .map-location summary { grid-template-columns: 58px 1fr; gap: 11px; padding-right: 45px; }
    .map-layer-count { grid-column: 2; }
    .map-location-content { padding: 13px; }
    .map-layer-grid { grid-template-columns: 1fr; }
    .project-support-image { min-height: 230px; }
    .project-support-image img { max-height: 215px; }
    .project-release-box { padding: 25px !important; }
    .project-story-body .translation-gallery { width: 100%; margin-left: 0; padding: 0 !important; }
    .translation-gallery-header { margin-bottom: 14px; padding: 20px; }
    .translation-gallery-header h2 { white-space: normal; }
    .gallery-view-controls { width: 100%; }
    .gallery-view-controls button { flex: 1; padding-inline: 5px; }
    .translation-scene { padding: 11px; }
    .screenshot-pair { grid-template-columns: 1fr; }
    .screenshot-window { padding: 36px 9px 9px; }
    .screenshot-lightbox { padding: 40px 12px 18px; }
    .footer-inner { padding: 20px 0; grid-template-columns: 1fr; }
    .footer-inner p, .footer-inner p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .logo-bar > a { animation: none; transform: none; }
    .development-ticker { width: 100%; animation: none; will-change: auto; }
    .development-ticker-group { width: 100%; justify-content: center; }
}
