:root {
    --bg: #0b0c0d;
    --surface: #111315;
    --surface-2: #17191b;
    --text: #f1f0eb;
    --muted: #96999c;
    --line: rgba(255, 255, 255, 0.11);
    --line-soft: rgba(255, 255, 255, 0.07);
    --brand-orange: #f57c1f;
    --brand-amber: #efab20;
    --brand-red: #d6341c;
    --brand-teal: #36a191;
    --brand-teal-rgb: 54, 161, 145;
    --brand-orange-rgb: 245, 124, 31;
    --primary: var(--brand-orange);
    --content: 1560px;
    --gutter: clamp(20px, 4vw, 64px);
    --display-font: "Songti SC", "SimSun", serif;
    color-scheme: dark;
    font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html:lang(zh-Hant) { font-family: system-ui, "PingFang TC", "Microsoft JhengHei", sans-serif; --display-font: "Songti TC", "PMingLiU", serif; }
html:lang(en) { --display-font: "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
html:lang(ja) { font-family: system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; --display-font: "Hiragino Mincho ProN", "Yu Mincho", serif; }
html:lang(ko) { font-family: system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --display-font: "AppleMyungjo", "Batang", serif; word-break: keep-all; }

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(var(--brand-orange-rgb), 0.045), transparent 24rem),
        radial-gradient(circle at 88% 32%, rgba(var(--brand-teal-rgb), 0.035), transparent 28rem),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 999px;
    background: var(--primary);
    color: #0b0c0d;
    font-weight: 800;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.ambient-noise {
    position: fixed;
    z-index: 50;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(8, 9, 10, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner,
.showcase,
.studio,
.next-release,
.site-footer {
    width: min(100%, var(--content));
    margin-inline: auto;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 76px;
    padding-inline: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.brand-logo {
    width: 48px;
    height: 48px;
    flex: none;
    object-fit: cover;
    border-radius: 7px;
    image-rendering: auto;
    filter: drop-shadow(0 0 13px rgba(var(--brand-orange-rgb), 0.12));
}

.brand > span {
    display: grid;
    gap: 1px;
}

.brand strong {
    font-size: 13px;
    letter-spacing: 0.12em;
}

.brand small {
    color: #777b7d;
    font: 500 8px/1.3 "DM Mono", monospace;
    letter-spacing: 0.09em;
}

.header-inner nav {
    display: flex;
    gap: 32px;
    font-size: 12px;
    font-weight: 600;
}

.header-inner nav a {
    color: #979a9c;
    transition: color 180ms ease;
}

.header-inner nav a:hover {
    color: var(--text);
}

.header-tools {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switch {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-switch a,
.language-switch button {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #797d80;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.language-switch a:hover,
.language-switch a[aria-current="page"],
.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
    background: var(--text);
    color: var(--bg);
}

.header-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 36px;
    padding: 0 7px 0 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    transition: border-color 180ms ease, background 180ms ease;
}

.header-link svg {
    width: 24px;
    height: 24px;
    padding: 6px;
    border-radius: 50%;
    background: var(--primary);
    fill: none;
    stroke: #111;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.header-link:hover {
    border-color: rgba(var(--brand-orange-rgb), 0.52);
    background: rgba(var(--brand-orange-rgb), 0.07);
}

main {
    overflow: clip;
}

.showcase {
    position: relative;
    min-height: calc(100vh - 76px);
    padding: clamp(44px, 6vh, 74px) var(--gutter) 28px;
    isolation: isolate;
}

.showcase::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.023) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.showcase-glow {
    position: absolute;
    z-index: -1;
    top: -25%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 44%, rgba(var(--brand-orange-rgb), 0.065), transparent 42%),
        radial-gradient(circle at 62% 48%, rgba(var(--brand-teal-rgb), 0.045), transparent 48%);
    pointer-events: none;
}

.showcase-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
    gap: 60px;
    align-items: end;
    margin-bottom: clamp(30px, 4vh, 48px);
}

.kicker,
.section-label {
    margin: 0 0 15px;
    color: #818588;
    font: 500 9px/1.4 "DM Mono", monospace;
    letter-spacing: 0.16em;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 9px;
}

.kicker span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-teal);
    box-shadow: 0 0 0 5px rgba(var(--brand-teal-rgb), 0.09);
}

.showcase-title h1 {
    max-width: 900px;
    margin: 0;
    font: 800 clamp(42px, 5.4vw, 78px)/1.05 var(--display-font);
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.showcase-intro {
    padding-bottom: 6px;
}

.showcase-intro > p {
    max-width: 410px;
    margin: 0 0 24px;
    color: #a4a7a9;
    font-size: 13px;
    line-height: 1.9;
}

.collection-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #73777a;
    font: 500 9px/1 "DM Mono", monospace;
    letter-spacing: 0.08em;
}

.collection-meta span {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.collection-meta b {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.collection-meta i {
    font-style: normal;
}

.collection-meta .meta-line {
    width: 32px;
    height: 1px;
    background: var(--line);
}

.rail-shell {
    position: relative;
}

.product-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
    padding: 1px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.product-rail::-webkit-scrollbar {
    display: none;
}

.product-card {
    --accent: #e2b349;
    --accent-rgb: 226, 179, 73;
    --visual-bg: #ece8df;
    min-width: 0;
    height: clamp(390px, 49vh, 520px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    scroll-snap-align: start;
}

.theme-gold {
    --accent: #e5b346;
    --accent-rgb: 229, 179, 70;
    --visual-bg: #ece8df;
}

.theme-red {
    --accent: #ef6653;
    --accent-rgb: 239, 102, 83;
    --visual-bg: #74100b;
}

.theme-green {
    --accent: #45b9a7;
    --accent-rgb: 69, 185, 167;
    --visual-bg: #155f25;
}

.theme-ink {
    --accent: #9ac5e0;
    --accent-rgb: 154, 197, 224;
    --visual-bg: #202b36;
}

.product-card > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
}

.card-art {
    position: absolute;
    z-index: -3;
    inset: 0 0 auto;
    width: 100%;
    height: 69%;
    object-fit: contain;
    object-position: center;
    background: var(--visual-bg);
    filter: saturate(0.94) contrast(1.02);
    transition: transform 700ms cubic-bezier(0.2, 0.75, 0, 1), filter 500ms ease;
}

.card-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 9, 10, 0.04) 0%, rgba(8, 9, 10, 0.08) 28%, rgba(8, 9, 10, 0.92) 66%, rgba(8, 9, 10, 0.99) 100%),
        linear-gradient(125deg, rgba(var(--accent-rgb), 0.18), transparent 48%);
}

.card-shine {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at 80% 15%, rgba(var(--accent-rgb), 0.3), transparent 36%);
    transition: opacity 350ms ease;
}

.card-top {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-number {
    color: var(--accent);
    font: 500 11px/1 "DM Mono", monospace;
}

.card-category {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(10, 11, 12, 0.45);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    font-weight: 600;
}

.card-copy {
    position: absolute;
    right: 24px;
    bottom: 74px;
    left: 24px;
}

.card-copy p {
    margin: 0 0 7px;
    color: var(--accent);
    font: 500 8px/1.3 "DM Mono", monospace;
    letter-spacing: 0.16em;
}

.card-copy h2 {
    margin: 0 0 12px;
    font: 800 clamp(30px, 3vw, 46px)/1.08 var(--display-font);
    letter-spacing: -0.045em;
}

.card-tagline {
    display: block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.card-description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.65;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.card-action {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.card-action > span {
    font-size: 10px;
    font-weight: 700;
}

.card-action i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    transition: transform 220ms ease;
}

.card-action svg {
    width: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.product-card a:hover .card-art {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.035);
}

.product-card a:hover .card-shine {
    opacity: 1;
}

.product-card a:hover .card-action i {
    transform: rotate(45deg);
}

.product-card a:focus-visible,
.header-inner a:focus-visible,
.language-switch a:focus-visible,
.rail-controls button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.rail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
}

.rail-footer > p {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #626669;
    font: 500 8px/1 "DM Mono", monospace;
    letter-spacing: 0.1em;
}

.rail-footer b {
    color: #8b8e91;
    font-weight: 500;
}

.rail-footer i {
    font-style: normal;
}

.rail-controls {
    display: flex;
    gap: 6px;
}

.rail-controls button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.rail-controls button:hover:not(:disabled) {
    border-color: rgba(var(--brand-teal-rgb), 0.55);
    background: rgba(var(--brand-teal-rgb), 0.09);
}

.rail-controls button:disabled {
    opacity: 0.24;
    cursor: default;
}

.rail-controls svg {
    width: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.noscript-links {
    display: flex;
    gap: 10px;
}

.noscript-links a {
    padding: 12px;
    border: 1px solid var(--line);
}

.title-ribbon {
    overflow: hidden;
    border-block: 1px solid var(--line-soft);
    background:
        linear-gradient(90deg, rgba(var(--brand-orange-rgb), 0.035), rgba(var(--brand-teal-rgb), 0.035)),
        #0f1112;
}

.title-ribbon > div {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 26px;
    padding: 13px 0;
    color: #5e6265;
    font: 500 9px/1 "DM Mono", monospace;
    letter-spacing: 0.12em;
    animation: ribbon 34s linear infinite;
}

.title-ribbon i {
    color: var(--brand-amber);
    font-style: normal;
    opacity: 0.65;
}

.studio {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(64px, 10vw, 170px);
    padding: clamp(100px, 12vw, 180px) var(--gutter);
}

.studio-heading h2 {
    margin: 0;
    font: 800 clamp(42px, 5.2vw, 72px)/1.16 var(--display-font);
    letter-spacing: -0.055em;
}

.studio-content {
    padding-top: 28px;
}

.studio-lead {
    max-width: 690px;
    margin: 0 0 62px;
    color: #c8c9c6;
    font-size: clamp(17px, 1.8vw, 24px);
    font-weight: 500;
    line-height: 1.8;
}

.studio-summary {
    max-width: 720px;
    margin: 0 0 20px;
    color: #8f9395;
    font-size: 12px;
    line-height: 1.9;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.principles article {
    padding: 22px 22px 0 0;
}

.principles article + article {
    padding-left: 22px;
    border-left: 1px solid var(--line);
}

.principles span {
    color: var(--brand-teal);
    font: 500 9px/1 "DM Mono", monospace;
}

.principles h3 {
    margin: 30px 0 10px;
    font-size: 16px;
}

.principles p {
    margin: 0;
    color: #777b7e;
    font-size: 11px;
    line-height: 1.7;
}

.next-release {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(90px, 10vw, 150px);
    padding: clamp(28px, 4vw, 52px) var(--gutter);
    border-block: 1px solid var(--line);
    background:
        radial-gradient(circle at 90% 50%, rgba(var(--brand-teal-rgb), 0.09), transparent 22%),
        linear-gradient(90deg, rgba(var(--brand-orange-rgb), 0.035), transparent 35%),
        var(--surface);
}

.next-index {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.next-index span {
    color: var(--brand-orange);
    font: 500 clamp(44px, 5vw, 70px)/1 "DM Mono", monospace;
}

.next-index i,
.next-copy p {
    color: #717579;
    font: 500 8px/1 "DM Mono", monospace;
    font-style: normal;
    letter-spacing: 0.16em;
}

.next-copy p {
    margin: 0 0 9px;
}

.next-copy h2 {
    margin: 0;
    font: 700 clamp(24px, 3.4vw, 46px)/1.2 var(--display-font);
    letter-spacing: -0.04em;
}

.next-pulse {
    display: flex;
    gap: 6px;
}

.next-pulse i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-teal);
    animation: pulse 1.2s ease-in-out infinite;
}

.next-pulse i:nth-child(2) { animation-delay: 120ms; }
.next-pulse i:nth-child(3) { animation-delay: 240ms; }

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 100px;
    padding-inline: var(--gutter);
    border-top: 1px solid var(--line-soft);
    color: #686c6f;
    font: 500 9px/1.4 "DM Mono", monospace;
}

.footer-brand {
    color: var(--text);
}

.footer-brand .brand-logo {
    width: 42px;
    height: 42px;
}

.site-footer p {
    margin: 0;
}

.site-footer > p:last-child {
    justify-self: end;
}

@keyframes ribbon {
    to { transform: translateX(-50%); }
}

@keyframes pulse {
    0%,
    100% { opacity: 0.25; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-6px); }
}

.language-suggestion {
    width: min(100%, var(--content));
    margin: 0 auto;
    padding: 12px var(--gutter) 0;
    color: var(--brand-orange);
    font-size: 13px;
}

.language-suggestion a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.studio-faq {
    width: min(100%, var(--content));
    margin: 0 auto;
    padding: 30px var(--gutter) 70px;
}

.studio-faq h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
}

.faq-intro,
.faq-list p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.faq-list {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.faq-list p {
    max-width: 90ch;
    margin: 14px 0 0;
}

.faq-list summary:focus-visible,
.language-suggestion a:focus-visible {
    outline: 2px solid var(--brand-orange);
    outline-offset: 6px;
}

.game-reference {
    width: min(100%, var(--content));
    margin: 0 auto;
    padding: 20px var(--gutter) 64px;
}

.game-reference h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
    text-wrap: balance;
}

.reference-intro {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.comparison-scroll {
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.comparison-scroll table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.8;
    text-align: start;
}

.comparison-scroll th,
.comparison-scroll td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.comparison-scroll th:first-child { min-width: 140px; }
.comparison-scroll td:last-child { min-width: 105px; }
.comparison-scroll tbody tr:last-child > * { border-bottom: 0; }
.comparison-scroll td { color: var(--muted); }
.comparison-scroll a,
.text-link { color: var(--brand-orange); text-decoration: underline; text-underline-offset: 4px; }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0;
}

.guide-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    background: var(--surface);
}

.guide-card h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.6; }
.guide-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.9; font-size: 14px; }
.guide-card > a { font-size: 14px; }
.guide-header { gap: 18px; }
.guide-home { font-size: 13px; }

.guide-page {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 32px var(--gutter) 70px;
    overflow-wrap: anywhere;
}

.guide-page .language-suggestion { padding: 0 0 20px; }
.guide-breadcrumb { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 36px; }
.guide-intro > img { border-radius: 14px; margin-bottom: 24px; }
.guide-intro h1 { font: 800 clamp(30px, 4vw, 48px)/1.4 var(--display-font); margin: 0 0 24px; text-wrap: balance; }
.guide-lead { font-size: 18px; line-height: 1.9; }
.guide-byline { font-size: 12px; color: var(--muted); line-height: 1.8; }
.guide-toc { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.guide-toc h2 { font-size: 18px; margin: 0 0 12px; }
.guide-toc ol { padding-inline-start: 22px; margin: 0; line-height: 2; }
.guide-section { margin-top: 42px; scroll-margin-top: 24px; }
.guide-section h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; text-wrap: balance; }
.guide-section p,
.guide-section li { color: #c1c3c4; font-size: 16px; line-height: 1.95; }
.guide-section a,
.guide-toc a { text-decoration: underline; text-underline-offset: 4px; }
.guide-section .guide-citations { font-size: 13px; color: var(--muted); }
.game-reference a:focus-visible,
.comparison-scroll:focus-visible,
.guide-page a:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 5px; }

@media (max-width: 760px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-home { display: none; }
    .comparison-scroll table { min-width: 540px; }
}

@media (max-width: 1020px) {
    .showcase {
        min-height: auto;
    }

    .showcase-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-intro {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 32px;
    }

    .showcase-intro > p {
        margin: 0;
    }

    .product-rail {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

    .product-card {
        height: 470px;
    }

    .studio {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .studio-heading h2 br {
        display: none;
    }
}

@media (max-width: 760px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        height: 66px;
    }

    .header-inner nav,
    .header-link {
        display: none;
    }

    .showcase {
        padding-top: 40px;
        padding-right: 0;
        padding-bottom: 18px;
    }

    .showcase::before {
        right: var(--gutter);
    }

    .showcase-heading {
        padding-right: var(--gutter);
        margin-bottom: 30px;
    }

    .showcase-title h1 {
        max-width: 480px;
        font-size: clamp(38px, 11vw, 58px);
    }

    .showcase-intro {
        display: block;
    }

    .showcase-intro > p {
        max-width: 330px;
        margin-bottom: 17px;
        font-size: 12px;
    }

    .product-rail {
        grid-auto-columns: min(84vw, 390px);
        padding-right: var(--gutter);
    }

    .product-card {
        height: min(58vh, 500px);
        min-height: 420px;
    }

    .card-copy h2 {
        font-size: 38px;
    }

    .rail-footer {
        padding-right: var(--gutter);
    }

    .rail-controls {
        display: none;
    }

    .title-ribbon > div {
        animation-duration: 25s;
    }

    .studio {
        padding-block: 92px;
    }

    .studio-content {
        padding-top: 0;
    }

    .studio-lead {
        margin-bottom: 46px;
        font-size: 16px;
    }

    .principles {
        grid-template-columns: 1fr;
    }

    .principles article {
        display: grid;
        grid-template-columns: 32px 110px 1fr;
        align-items: start;
        gap: 10px;
        padding: 20px 0;
    }

    .principles article + article {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .principles h3 {
        margin: 0;
        font-size: 14px;
    }

    .principles p {
        line-height: 1.6;
    }

    .next-release {
        grid-template-columns: auto 1fr;
    }

    .next-pulse {
        display: none;
    }

    .next-index {
        display: grid;
        gap: 7px;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
    }

    .site-footer > p:nth-child(2) {
        display: none;
    }
}

@media (max-width: 420px) {
    .brand small {
        display: none;
    }

    .showcase-title h1 {
        font-size: 36px;
    }

    .collection-meta .meta-line {
        width: 18px;
    }

    .product-rail {
        grid-auto-columns: 86vw;
    }

    .product-card {
        min-height: 410px;
    }

    .studio-heading h2 {
        font-size: 38px;
    }

    .next-index span {
        font-size: 40px;
    }

    .next-copy h2 {
        font-size: 22px;
    }

    .footer-brand strong {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
