/* Shared editorial layout and player-facing pages. */
:root { --max: 1240px; --radius: 6px; --radius-small: 4px; }
[hidden] { display: none !important; }
html { overflow-x: clip; background: var(--bg); }
body { min-height: 100svh; overflow-x: visible; }
body, #app { display: flex; flex-direction: column; }
#app { min-height: 100svh; }
main { flex: 1; }
h1, h2, h3, h4 { letter-spacing: 0; line-height: 1.15; overflow-wrap: anywhere; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.8rem; }
figure { margin: 0; }
input, textarea, select { min-height: 48px; font-size: 1rem; }
textarea { line-height: 1.5; }
button, a, summary { touch-action: manipulation; }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }
.button { min-height: 48px; padding: 12px 20px; font-size: .85rem; letter-spacing: 0; box-shadow: none; }
.section-shell { padding-block: 80px; }
.section-heading { margin-bottom: 36px; }
.section-index { margin-bottom: 32px; letter-spacing: .06em; }
.section-index::before { content: none; }
.eyebrow { letter-spacing: .08em; }
.site-header { gap: 24px; background: rgba(14,13,13,.96); }
.site-header.is-scrolled, .site-header.is-scrolled:hover { background: rgba(14,13,13,.96); border-bottom-color: var(--line); }
.skip-link { transform: translateY(calc(-100% - 24px)); }
.skip-link:focus { transform: none; }
.brand span { display: inline; text-transform: none; font-size: 1.15rem; letter-spacing: 0; }
.brand { letter-spacing: 0; gap: 10px; }
.main-nav { gap: 24px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; letter-spacing: 0; text-transform: none; font-size: .875rem; font-weight: 500; }
.main-nav a:not(.nav-discord)::after { bottom: 3px; }
.nav-discord { border-radius: 4px; padding-inline: 14px; }
.hero-orbit { display: none; }
.hero-logo-mark { opacity: .09; filter: none; }
.hero h1 { font-size: 5.6rem; letter-spacing: 0; text-shadow: none; }
.hero h2 { font-size: 2.5rem; max-width: none; }
.hero-title-line { display: block; }
.hero-lead { font-size: 1.05rem; max-width: 49ch; }
.hero-planet { box-shadow: none; }
.hero-stats { border: 0; background: rgba(14,13,13,.78); border-radius: 4px; }
.hero-stats span { letter-spacing: .03em; }
.intro { grid-template-columns: 1fr 1fr; gap: 32px 64px; }
.intro h2 { font-size: 2.6rem; }
.intro-links { margin-top: 0; }
.released-feature { display: block; width: 100%; min-height: 0; border-radius: 0; box-shadow: none; isolation: isolate; }
.released-feature > picture { position: relative; inset: auto; z-index: auto; width: min(100%, var(--max)); margin-inline: auto; }
.released-feature > picture img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.released-feature::after { content: none; }
.released-feature > div { max-width: none; margin-inline: max(22px, calc((100% - var(--max)) / 2)); padding: 28px 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.released-feature > div > :not(.button) { grid-column: 1; margin: 0; }
.released-feature > div > p:not(.eyebrow) { max-width: 62ch; color: var(--muted); }
.released-feature > div > .button { grid-column: 2; grid-row: 1 / 4; }
.project-list { gap: 64px; }
.project-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; outline: none; padding-top: 32px; overflow: visible; }
.project-card:nth-child(3) { border-color: var(--line); box-shadow: none; }
.project-visual { min-height: 0; height: auto; aspect-ratio: 16 / 10; border-radius: 4px; }
.project-visual img { position: absolute; inset: 0; }
.project-soulmaster .project-visual { aspect-ratio: 16 / 9; }
.project-soulmaster .project-visual img { object-position: center; }
#windwaves .project-visual { aspect-ratio: 2 / 1; }
#windwaves .project-visual img { object-fit: contain; }
.project-copy { padding: 10px 0 24px; }
.project-summary-compact, .project-summary-expanded { display: none; }
.project-copy > h3 { font-size: 2.35rem; }
.project-name-note { font-size: .8rem; line-height: 1.5; color: var(--muted); }
.project-copy > .project-name-note { margin-block: 10px 18px; }
.project-page-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 24px; }
.project-page-actions a { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent-2); font-weight: 600; }
.project-meta { margin-block: 24px; border-left: 0; }
.project-meta div { padding-inline: 0; border-right: 0; }
.project-meta dt { letter-spacing: .04em; }
.project-meta dd { overflow-wrap: anywhere; padding-right: 12px; }
.project-details { margin-top: 16px; }
.project-details > summary { padding-inline: 0; text-transform: none; letter-spacing: 0; }
.project-details-body { background: transparent; padding: 28px 0; }
.project-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 28px; }
.project-gallery-group { min-width: 0; }
.project-details[open] > summary [data-disclosure-label] { transform: none; }
.project-details .detail-columns { border-top: 1px solid var(--line); padding-top: 28px; }
.gallery-heading h4 { font-size: 1rem; }
.gallery-image { border-radius: 4px; }
.project-soulmaster .gallery-image img { object-fit: cover; }
.concept-note { letter-spacing: 0; text-transform: none; }
.preamverse { width: 100%; border-radius: 0; border-inline: 0; min-height: 400px; margin-top: 48px; box-shadow: none; }
.preamverse > div:last-child { padding: 64px max(22px, calc((100vw - var(--max)) / 2)); max-width: none; }
.preamverse > div:last-child p { max-width: 62ch; }
.team-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
.team-image { height: auto; min-height: 0; aspect-ratio: 3 / 2; border-radius: 4px; }
.team-image img { object-position: center; }
.team-copy { padding: 0; min-width: 0; }
.team-copy h3 { font-size: 2rem; }
.team-copy h3 small { display: block; margin-top: 8px; font-size: .85rem; line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--muted); }
.team-copy blockquote { line-height: 1.6; }
.team-principles { margin-top: 40px; }
.team-principles h3 { font-size: 1.3rem; }
.faq-grid { align-items: start; }
.questions-more { margin-top: 20px; }
.team-background > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding-block: 14px; list-style: none; cursor: pointer; font-size: .9rem; }
.team-background > summary::-webkit-details-marker { display: none; }
.team-background[open] > summary .disclosure-chevron { transform: rotate(180deg); }
.disclosure-chevron { flex: 0 0 auto; font-size: 1.2rem; }
@media (min-width: 761px) {
  [data-mobile-details][data-compact-ready] > summary { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-portrait-image { transform: scale(1.025); filter: brightness(1.08); }
}
.accordion-item summary { font-size: 1rem; line-height: 1.5; }
.site-footer { width: 100%; margin: auto 0 0; padding: 48px max(22px, calc((100% - var(--max)) / 2)) calc(24px + env(safe-area-inset-bottom)); background: #111010; }
.site-footer nav { margin-block: 28px; gap: 10px 26px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; letter-spacing: 0; text-transform: none; font-size: .85rem; }
.site-footer > p { margin-bottom: 0; }
.legal-grid article { border-radius: 4px; }
.privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal-grid dl { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.legal-grid dd { overflow-wrap: anywhere; padding-left: 16px; }
.lightbox { max-height: calc(100dvh - 24px); border-radius: 4px; overflow: auto; }
.lightbox img { max-height: calc(100dvh - 28px); height: auto; }

.soul-hero { position: relative; isolation: isolate; min-height: 620px; min-height: min(780px, max(620px, calc(100svh - var(--header-height) - 24px))); display: flex; align-items: center; }
.soul-hero > picture { position: absolute; inset: 0; z-index: -2; }
.soul-hero > picture img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.soul-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,19,24,.4), transparent 65%); }
.soul-hero-copy { width: min(560px, 46%); margin-left: max(24px, calc((100% - var(--max)) / 2)); padding-block: 60px; }
.soul-hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; font-weight: 400; color: #f6d19c; margin-bottom: 24px; }
.soul-hero-copy h2 { font-size: 2.1rem; max-width: 20ch; }
.soul-hero-copy > p:not(.eyebrow) { max-width: 42ch; color: #edf0ee; }
.soul-hero-copy .eyebrow { color: #f6d19c; }
.soul-hero-copy .project-name-note { font-size: .8rem; line-height: 1.5; margin-bottom: 20px; color: #edf0ee; }
.test-phase-notice { border-left: 3px solid var(--accent-2); padding: 12px 16px; margin-block: 24px; background: rgba(8, 14, 18, .8); }
.test-phase-notice strong { display: block; color: #f6d19c; font-size: 1rem; }
.test-phase-notice p { margin: 6px 0 0; font-size: .85rem; line-height: 1.6; color: #edf0ee; }
.soul-text-link { padding-block: 12px; font-size: .9rem; }
.art-caption { position: absolute; bottom: 12px; right: 24px; left: 24px; text-align: right; margin: 0; color: #fff; font-size: .7rem; text-shadow: 0 1px 5px #000; }
.soul-facts { padding-block: 28px; border-bottom: 1px solid var(--line); }
.soul-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.soul-facts dt { color: var(--muted); font-size: .8rem; }
.soul-facts dd { margin: 4px 0 0; font-weight: 600; }
.soul-intro, .soul-story, .playtest, .soul-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 64px; }
.soul-intro p, .soul-story p { color: var(--muted); }
.soul-story { border-top: 1px solid var(--line); }
.soul-story figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
figcaption { margin-top: 12px; color: var(--muted); font-size: .75rem; }
.editorial-list { padding: 0; margin: 32px 0 0; list-style: none; }
.editorial-list li { border-top: 1px solid var(--line); padding-top: 22px; }
.editorial-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.soul-gallery-section { border-top: 1px solid var(--line); }
.soul-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.soul-gallery button { display: block; padding: 0; background: transparent; border: 0; border-radius: 4px; cursor: zoom-in; overflow: hidden; }
.soul-gallery button img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s; }
.soul-partners { border-top: 1px solid var(--line); }
.soul-partners .section-heading { max-width: 760px; }
.partner-intro, .partner-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.partner-intro p, .partner-process p { color: var(--muted); }
.partner-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 32px 40px; }
.partner-packages article { padding: 24px 0; border-block: 1px solid var(--line); min-width: 0; }
.partner-packages h3, .partner-process h3 { font-size: 1.35rem; }
.partner-packages p, .partner-packages li, .partner-process li { color: var(--muted); font-size: .9rem; line-height: 1.7; overflow-wrap: anywhere; }
.partner-packages ul, .partner-process ol { padding-left: 20px; }
.partner-packages li, .partner-process li { margin-bottom: 10px; }
.partner-packages a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-2); font-size: .9rem; }
.input-note, .optional-copy { font-size: .85rem; line-height: 1.65; color: var(--muted); }
.optional-label { color: var(--muted); font-weight: 400; }
.playtest { border-block: 1px solid var(--line); gap: 56px; }
.playtest-copy > p { color: var(--muted); }
.test-steps { counter-reset: step; padding: 0; list-style: none; margin: 32px 0; }
.test-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; padding-block: 18px; border-top: 1px solid var(--line); }
.test-steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / 3; color: var(--accent-2); }
.test-steps span { grid-column: 2; color: var(--muted); font-size: .9rem; }
.tester-form { min-width: 0; }
.tester-form h3 { font-size: 1.4rem; margin-bottom: 28px; }
.tester-fields, .interest-fields, .applicant-switch, .preference-fields { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.interest-fields legend, .applicant-switch legend { font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.interest-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.interest-options .checkbox-label { margin: 0; padding-block: 8px; min-height: 44px; }
.applicant-switch { display: flex; gap: 20px; }
.applicant-switch label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; }
.applicant-switch input { width: 20px; height: 20px; min-height: 20px; margin: 0; accent-color: var(--accent); }
.tester-form > .interest-fields { padding-block: 20px; border-block: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 500; }
.checkbox-label { display: flex; align-items: start; gap: 10px; font-size: .8rem; font-weight: 400; line-height: 1.6; }
.checkbox-label input { width: 20px; min-height: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0; accent-color: var(--accent); }
.character-count { margin: -10px 0 22px; text-align: right; font-size: .8rem; color: var(--muted); }
.form-trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.form-feedback { margin-block: 16px 0; min-height: 1.5em; font-size: .9rem; color: var(--accent-2); overflow-wrap: anywhere; }
.is-error { color: #ff9f9f; }
.soul-faq { gap: 64px; }
.soul-faq h2 { font-size: 2rem; }
.discord-link { color: var(--text); }

.account-main { padding-top: 48px; padding-bottom: 80px; }
.account-heading { max-width: 720px; margin-bottom: 24px; }
.account-heading h1 { font-size: 2.8rem; margin-bottom: 16px; }
.account-heading > p:last-child { color: var(--muted); }
.account-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 64px; margin-top: 28px; }
.account-aside { position: relative; isolation: isolate; min-height: 550px; border-radius: 4px; overflow: hidden; display: flex; align-items: end; }
.account-aside img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.account-aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.92), transparent 90%); }
.account-aside > div { padding: 28px; }
.account-aside h2 { font-size: 2rem; }
.account-aside p { max-width: 36ch; }
.account-aside a { display: inline-flex; min-height: 44px; align-items: center; color: #f6d19c; }
.auth-surface { min-width: 0; padding: 12px 0; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.auth-tabs button { flex: 1; min-height: 48px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--text); }
.auth-surface h2 { font-size: 1.6rem; margin-bottom: 24px; }
.input-help { margin: -10px 0 20px; color: var(--muted); font-size: .75rem; }
.auth-surface .button { width: 100%; }
.profile-extras { border-block: 1px solid var(--line); margin-block: 24px; }
.profile-extras > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding-block: 16px; min-height: 48px; font-size: .95rem; font-weight: 600; list-style: none; }
.profile-extras > summary::-webkit-details-marker { display: none; }
.profile-extras[open] > summary span { transform: rotate(45deg); }
.preference-fields { margin-block: 8px 20px; }
.birthday-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.birthday-fields label { min-width: 0; }
.profile-preferences { margin-top: 40px; max-width: 760px; }
.profile-preferences h2 { font-size: 1.6rem; }
.preference-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.preference-actions .button { flex: 1 1 210px; }
.dashboard-top, .identity, .dashboard-actions, .profile-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.identity { justify-content: start; }
.identity h2 { margin: 0; font-size: 2rem; }
.identity .eyebrow { margin-bottom: 4px; }
.avatar-initial { display: grid; place-items: center; width: 64px; height: 64px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; color: var(--accent-2); }
.dashboard-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-block: 36px; margin-top: 28px; border-block: 1px solid var(--line); }
.dashboard-summary h3 { font-size: 1.2rem; }
.dashboard-summary p { color: var(--muted); font-size: .9rem; }
.account-data { margin: 0; }
.account-data > div { padding-block: 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.account-data dt { color: var(--muted); font-size: .85rem; }
.account-data dd { margin: 0; overflow-wrap: anywhere; }
.profile-games { padding-top: 48px; }
.profile-games > .sync-note { margin-bottom: 24px; max-width: 76ch; color: var(--muted); line-height: 1.6; }
.profile-section-heading { margin-bottom: 24px; }
.profile-section-heading h2 { font-size: 2rem; margin: 0; }
.profile-section-heading label { min-width: min(210px, 100%); margin: 0; }
.empty-state { padding: 32px 0; border-block: 1px solid var(--line); }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { max-width: 66ch; color: var(--muted); }
.empty-state a { display: inline-flex; align-items: center; min-height: 44px; }
.linked-game { padding: 28px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.linked-game > header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 16px; }
.linked-game h3 { font-size: 1.5rem; margin-bottom: 8px; }
.linked-game p { color: var(--muted); overflow-wrap: anywhere; }
.connected-label { color: var(--success); font-size: .8rem; padding: 6px 0; }
.game-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-block: 1px solid var(--line); padding-block: 24px; }
.game-data dt { color: var(--muted); font-size: .8rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.game-data dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap; }
.sync-note { font-size: .75rem; margin: 0; }
.profile-applications { margin-top: 48px; }
.profile-applications h2 { font-size: 1.7rem; }
.application-status { border-top: 1px solid var(--line); padding-top: 16px; }
.account-deletion { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.account-deletion > div { flex: 1 1 420px; min-width: 0; max-width: 68ch; }
.account-deletion h2 { font-size: 1.25rem; }
.account-deletion p { color: var(--muted); overflow-wrap: anywhere; }
.button-danger-outline { color: #ffaaa2; border: 1px solid var(--line); background: transparent; }
.button-danger { color: #fff; background: #9c2e26; border: 1px solid #9c2e26; }
.delete-dialog { width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 24px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.delete-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.delete-dialog h2 { font-size: 1.5rem; }
.delete-dialog p { font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; }
.delete-policy { padding-block: 16px; border-block: 1px solid var(--line); }
.delete-dialog form, .delete-dialog fieldset { display: grid; gap: 16px; }
.delete-dialog fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.delete-dialog label { margin: 0; }
.delete-dialog input { width: 100%; min-width: 0; }
.delete-dialog .checkbox-label input { width: 20px; min-height: 20px; flex: 0 0 20px; }
.delete-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.delete-actions .button { flex: 1 1 180px; min-width: 0; }

@media (hover: hover) and (pointer: fine) {
  .soul-gallery button:hover img { opacity: .86; }
  .button:hover { transform: translateY(-1px); }
}
@media (max-width: 980px) {
  .main-nav { inset: var(--header-height) 0 auto; padding: 12px 24px 20px; display: none; transform: none; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; background: #111010; transition: none; }
  .main-nav.is-open { display: grid; }
  .main-nav a { width: 100%; padding: 12px 0; }
  .nav-discord { border-inline: 0; border-top: 0; background: transparent; }
  .site-header { min-height: var(--header-height); }
  .nav-toggle { margin-left: auto; border-radius: 4px; }
  .hero h1 { font-size: 4.6rem; }
  .hero h2 { font-size: 2rem; }
  .project-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .project-visual { max-height: none; aspect-ratio: 16 / 10; }
  .project-card:nth-child(even) .project-visual { order: 2; }
  .project-copy > h3 { font-size: 1.8rem; }
  .team-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
  .soul-intro, .soul-story, .playtest, .soul-faq { gap: 32px; }
  .partner-packages { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .partner-packages article + article { border-top: 0; }
  .interest-options { grid-template-columns: minmax(0, 1fr); }
  .soul-hero-copy { width: 48%; }
  .soul-hero-copy h1 { font-size: 3.5rem; }
  .soul-hero-copy h2 { font-size: 1.7rem; }
  .soul-hero > picture img { object-position: 58% center; }
  .account-layout, .dashboard-summary { gap: 32px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 760px) {
  .project-card, .team-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-card:nth-child(even) .project-visual { order: 0; }
  .project-copy { padding: 0; }
  .project-summary-full { display: none; }
  .project-summary-compact, .project-summary-expanded { display: block; }
  .project-details { margin-top: 0; }
  .project-details > summary { padding-inline: 0; min-height: 48px; }
  .project-details-body { padding-inline: 0; }
  .project-overview, .detail-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-meta { margin-block: 14px; }
  .project-page-actions { margin-block: 12px 0; gap: 4px 20px; }
  .project-list { gap: 40px; }
  .team-list { gap: 40px; }
  .team-background { border-top: 1px solid var(--line); }
  .team-faq { margin-top: 0; }
  .team-copy h3 { margin-bottom: 20px; }
  .team-image { min-height: 0; height: auto; }
  .released-feature > div { display: block; }
  .released-feature > div > :not(.button) { margin-bottom: 12px; }
  .released-feature > div > .button { margin-top: 8px; }
  .accordion-item summary { min-height: 60px; padding-block: 14px; font-size: .9rem; gap: 16px; }
  .team-background > ul { padding-left: 20px; }
}
@media (max-width: 650px) {
  :root { --radius: 6px; --radius-small: 4px; }
  h2 { font-size: 2rem; }
  .section-shell { padding-block: 48px; }
  .site-header { padding-inline: max(15px, env(safe-area-inset-left)); }
  .hero-content { padding-top: 40px; }
  .hero h1 { font-size: 3rem; }
  .hero h2 { font-size: 1.8rem; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .intro h2 { font-size: 2rem; }
  .released-feature { min-height: 0; }
  .released-feature > div { margin-inline: 20px; padding-block: 24px; }
  .project-copy > h3 { font-size: 2rem; }
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-details > summary, .project-details-body { padding-inline: 0; }
  .team-copy { padding: 0; }
  .team-copy h3 { font-size: 2rem; }
  .soul-hero { min-height: 700px; align-items: start; }
  .soul-hero > picture img { object-position: center; }
  .soul-hero::after { background: linear-gradient(180deg, rgba(8,19,24,.85), rgba(8,19,24,.45) 50%, transparent 85%); }
  .soul-hero-copy { width: calc(100% - 40px); margin-inline: 20px; padding-top: 30px; }
  .soul-hero-copy h1 { font-size: 3.2rem; margin-bottom: 12px; }
  .soul-hero-copy h2 { font-size: 1.6rem; max-width: 24ch; }
  .soul-hero-copy .hero-actions { margin-top: 20px; gap: 8px 16px; }
  .soul-hero-copy p { font-size: .9rem; }
  .soul-hero-copy .eyebrow { font-size: .65rem; }
  .soul-facts { padding-block: 24px; }
  .soul-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .soul-intro, .soul-story, .playtest, .soul-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .soul-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .partner-intro, .partner-process { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .birthday-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .birthday-fields label:last-child { grid-column: 1 / -1; }
  .account-main { padding-top: 32px; }
  .account-heading h1 { font-size: 2rem; }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .account-aside { min-height: 260px; }
  .account-aside img { object-position: center 60%; }
  .account-aside > div { padding: 20px; }
  .account-aside h2 { font-size: 1.5rem; margin-bottom: 8px; }
  .account-aside p { font-size: .85rem; margin-bottom: 8px; }
  .auth-surface { padding-top: 28px; }
  .dashboard-summary { grid-template-columns: minmax(0, 1fr); }
  .dashboard-actions { width: 100%; }
  .dashboard-actions .button { flex: 1; }
  .game-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linked-game { padding: 20px; }
  .account-data > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .profile-section-heading label { width: 100%; }
  .site-footer { padding-inline: 15px; }
  .footer-brand p { font-size: .85rem; }
  .footer-brand h2 { font-size: 1.6rem; }
  .legal-grid dl { grid-template-columns: minmax(0, 1fr); }
  .legal-grid dd { padding-left: 0; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .hero h2 { font-size: 1.55rem; line-height: 1.3; }
  .soul-hero-copy h1 { font-size: 2.8rem; }
  .soul-hero { min-height: 750px; }
  .game-data { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .project-gallery-track { will-change: auto; }
  .team-portrait-image { transition: none; }
}
