/* Refined local studio portfolio. Shared legacy styles remain in styles.css. */
:root {
  --wrap: 1360px;
  --ink: #0f141a;
  --cream: #edf0e9;
  --lime: #b2dcd1;
  --muted: #b1bdc2;
  --rule: #303a43;
  --label: #a1b0b7;
}
.studio-page .wrap { padding-inline: 3rem; }
.studio-page .top { padding-block: 0 1.75rem; }
.logo { font-size: 1.4rem; line-height: 1.1; letter-spacing: 0.025em; }
.logo img { display: block; width: 10.5rem; height: auto; }
.studio-page .top nav { gap: 2.5rem; }
.studio-page .top nav a { color: var(--muted); }
.studio-page .top nav a:hover { color: var(--cream); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: var(--lime); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { top: 20px; }

/* Type and artwork occupy separate horizontal space, while sharing one canvas. */
.studio-page .hero { position: relative; display: block; min-height: clamp(540px, 44vw, 620px); padding: 3rem 0 4rem; isolation: isolate; }
.studio-page .hero-copy { position: relative; z-index: 2; max-width: 55%; }
.studio-page h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); letter-spacing: -0.055em; line-height: 1.06; color: var(--cream); }
.studio-page h1 span { max-width: 100%; text-wrap: initial; color: var(--lime); }
.studio-page .hero-art { position: absolute; width: 44%; max-width: 620px; right: -1%; top: 1.5rem; z-index: 1; }
.hero-bottom { position: relative; z-index: 2; max-width: 45%; margin-top: 2rem; }
.hero-bottom > p { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 25rem; }

.studio-page .band-purple { padding-block: 0; }
.section-heading { margin-bottom: 2.25rem; }
.section-heading h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: -0.035em; margin: 0; }
.releases-heading h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.studio-page .games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.studio-page .game { display: flex; flex-direction: column; min-width: 0; border-radius: 0; background: transparent; overflow: visible; }
.game-media { display: block; overflow: hidden; aspect-ratio: 2 / 1; }
.studio-page .game-art { display: block; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; object-fit: cover; object-position: center; }
.studio-page .game-body { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.4rem 0 0; flex: 1; }
.studio-page .game-title h3 { font-family: var(--body); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.8rem); text-transform: none; letter-spacing: -0.025em; margin-bottom: 0.45rem; }
.studio-page .game .meta { color: var(--label); font-size: 0.875rem; line-height: 1.6; }
.studio-page .game-body > p { line-height: 1.75; font-size: 1rem; max-width: 34rem; }
.studio-page .game-actions { display: flex; justify-content: flex-start; align-items: flex-start; margin: auto 0 0; padding-top: 0.5rem; }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.75rem; align-self: flex-start; width: fit-content; min-height: 48px; padding: 0.7rem 1rem; border: 1px solid #8eb9ad; border-radius: 0; background: transparent; color: var(--lime); font-size: 0.95rem; line-height: 1.5; font-weight: 500; text-decoration: none; transition: background-color 0.16s, border-color 0.16s; }
.action-link span { font-size: 1.1rem; line-height: 1; }
.action-link:hover { background: #1b2b2c; border-color: var(--lime); }
.action-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.development-heading { margin-top: 6rem; scroll-margin-top: 2rem; }
.development-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; padding: 3rem; background: #151e25; }
.signature-project { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.signature-title { min-width: 0; }
.signature-title h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.25rem); text-transform: uppercase; letter-spacing: -0.035em; line-height: 1.25; margin: 0 0 1rem; }
.signature-title .meta { color: var(--label); font-size: 0.875rem; }
.signature-details { display: flex; flex-direction: column; gap: 1.5rem; }
.signature-details > p { color: var(--muted); line-height: 1.8; max-width: 29rem; }
.development-actions { grid-column: 1 / -1; }

.studio-page .foot .wrap { padding-top: 5.5rem; padding-bottom: 2rem; }
.studio-page .foot-kicker { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.05em; text-transform: uppercase; margin: 0 0 1rem; }
.contact-intro { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.studio-page .mail { font-size: clamp(1rem, 2.4vw, 1.8rem); margin-bottom: 3.5rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: #58766e; }
.studio-page .mail:hover { color: var(--lime); text-decoration-color: var(--lime); }
.studio-page .foot-row { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.foot-row a { text-underline-offset: 4px; }
.foot-row a:hover { text-decoration: underline; }

.legal-content { border-radius: 0; background: transparent; padding: 0; color: var(--muted); font-size: 1rem; }
.legal-content h2, .legal-content h3, .legal-content strong { color: var(--cream); }
.legal-content a { color: var(--lime); }
.legal-content :focus-visible { outline-color: var(--lime); }
.legal-footer { font-size: 0.875rem; }

/* The same studio shell, with a readable measure for long policy documents. */
.legal-page .legal-band { padding: 2rem 0 0; }
.legal-page .legal-main { width: min(100%, 860px); padding: 3rem 3rem 5rem; margin-inline: auto; }
.legal-page .legal-header { margin-bottom: 1.5rem; }
.legal-page .legal-header h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.1; letter-spacing: -0.045em; }
.legal-page .legal-content { font-size: 1.05rem; line-height: 1.85; overflow-wrap: anywhere; }
.legal-page .legal-content > p:first-child { color: var(--label); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal-page .legal-content h2 { font-family: var(--body); font-weight: 500; font-size: 1.4rem; line-height: 1.4; letter-spacing: -0.02em; text-transform: none; margin: 2.75rem 0 1rem; }
.legal-page .legal-content h3 { font-weight: 500; font-size: 1.1rem; line-height: 1.5; margin: 1.75rem 0 0.75rem; }
.legal-page .legal-content li { padding-left: 0.25rem; margin-block: 0.4rem; }
.legal-page .legal-content a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-page .legal-content a:hover { color: var(--cream); }
.legal-page .foot .wrap { padding-top: 0; }
.foot-row [aria-current="page"] { color: var(--cream); font-weight: 500; }

@media (max-width: 1100px) {
  .studio-page .wrap { padding-inline: 2rem; }
  .studio-page .hero { min-height: clamp(440px, 46vw, 530px); }
  .studio-page .hero-art { top: 3rem; }
  .studio-page .games { gap: 2rem; }
  .development-projects { padding: 2rem; gap: 2rem; }
}
@media (max-width: 740px) {
  .studio-page .wrap { padding-inline: 1.5rem; }
  .studio-page .top { padding-bottom: 1.25rem; }
  .studio-page .top nav { gap: 1.5rem; }
  .studio-page .hero { min-height: 0; padding-top: 2rem; padding-bottom: 3rem; }
  .studio-page .hero-copy { max-width: 100%; }
  .studio-page h1 { font-size: clamp(2.3rem, 8.4vw, 4.5rem); line-height: 1.08; }
  .studio-page .hero-art { position: relative; top: auto; right: auto; width: 78%; max-width: 390px; margin: 1rem 0 1.25rem auto; }
  .hero-bottom { max-width: 100%; margin-top: 0; }
  .hero-bottom > p { max-width: 25rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .studio-page .game-body { padding-top: 1.25rem; }
  .studio-page .games { grid-template-columns: 1fr; gap: 3rem; }
  .development-heading { margin-top: 4rem; }
  .development-projects { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
  .signature-title h3 { font-size: clamp(1.35rem, 5.5vw, 1.8rem); }
  .studio-page .foot .wrap { padding-top: 4rem; }
  .studio-page .mail { margin-bottom: 2.5rem; }
  .logo { font-size: 1.25rem; }
  .logo img { width: 10rem; }
  .legal-page .legal-band { padding-top: 1.5rem; }
  .legal-page .legal-main { padding: 2rem 1.5rem 3.5rem; }
  .legal-page .legal-content { padding: 0; font-size: 1rem; }
  .legal-page .legal-content h2 { font-size: 1.25rem; margin-top: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .action-link { transition: none; } }
