/* Shared shell for the homepage, project collection and information pages. */
:root {
  color-scheme: dark;
  --bg: #191722;
  --panel: #252c36;
  --line: #48515f;
  --text: #f6f7fb;
  --muted: #c8d1dc;
  --accent: #ffc782;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 16px; }
p, ul, figure { margin: 0 0 16px; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: 6px; background: var(--accent); color: #191722; font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: #191722; }
.studio-header { position: sticky; top: 0; z-index: 20; background: #22262d; border-bottom: 1px solid #ffffff12; }
.studio-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; max-width: 1160px; margin: auto; padding: 8px 24px; }
.studio-brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 44px; color: var(--text); font-size: 18px; font-weight: 750; letter-spacing: -.3px; text-decoration: none; }
.studio-brand img { display: block; width: 56px; height: auto; }
.studio-nav { display: flex; align-items: center; justify-content: center; gap: 4px 24px; flex-wrap: wrap; }
.studio-nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.studio-nav a:hover, .studio-nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.studio-footer { display: block; margin-top: 0; padding: 40px 24px 24px; background: #22262d; border-top: 1px solid var(--line); font-size: 14px; }
.studio-footer-inner { max-width: 1000px; margin: auto; }
.studio-footer p { margin: 2px 0 16px; color: var(--muted); }
.studio-footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; font-size: 14px; }
.studio-footer-links a, .studio-footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.studio-social { margin-top: 12px; font-size: 13px; color: var(--muted); }
.studio-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.info-main { max-width: 1000px; margin: auto; padding: 44px 24px 64px; }
.info-eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.info-main > h1 { font-size: clamp(30px, 4vw, 44px); }
.info-lead { max-width: 65ch; color: var(--muted); font-size: 18px; }
.info-card { max-width: 760px; margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.info-card h2 { font-size: 23px; }
.info-card a { overflow-wrap: anywhere; }
.info-card p:last-child { margin-bottom: 0; }
.info-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: 12px 18px; margin: 4px 0 16px; border-radius: 7px; background: #bb303d; color: #fff; font-weight: 650; text-decoration: none; }
.info-button:hover { background: #a62633; color: #fff; }
.policy-main { max-width: 1000px; margin: auto; padding: 32px 24px 64px; }
.policy-document { color-scheme: light; padding: 40px; border-radius: var(--radius); background: #fff; color: #30343a; overflow-wrap: anywhere; line-height: 1.75; }
.policy-document * { font-family: inherit !important; }
.policy-document [data-custom-class='body_text'], .policy-document [data-custom-class='body_text'] * { font-size: 16px !important; line-height: 1.75 !important; }
.policy-document h1 { font-size: 34px !important; line-height: 1.2; letter-spacing: -.5px; }
.policy-document [role='heading'][aria-level='2'] { display: block; font-size: 21px !important; line-height: 1.4; }
.policy-document [role='heading'][aria-level='3'] { display: block; font-size: 18px !important; line-height: 1.4; }
.policy-document a { color: #234d93 !important; text-decoration: underline; }
.policy-document :where([id], [role='heading']) { scroll-margin-top: 12px; }
.policy-document table { width: 100% !important; table-layout: fixed; border-collapse: collapse; }
.policy-document td { padding: 10px !important; }
.policy-document ul { padding-left: 24px; }
.policy-document a:focus-visible { outline-color: #234d93; }
@media (max-width: 700px) {
  html { scroll-padding-top: 125px; }
  .studio-header-inner { flex-direction: column; gap: 0; padding: 4px 16px; }
  .studio-brand { font-size: 16px; min-height: 36px; }
  .studio-brand img { width: 44px; }
  .studio-nav { width: 100%; gap: 0; justify-content: space-around; }
  .studio-nav a { font-size: 12px; min-height: 40px; }
  .studio-footer { padding: 28px 20px 20px; }
  .studio-footer-bottom { align-items: flex-start; flex-direction: column; }
  .info-main { padding: 28px 20px 40px; }
  .info-card { padding: 22px 20px; }
  .info-button { width: 100%; }
  .policy-main { padding: 20px 12px 40px; }
  .policy-document { padding: 24px 18px; }
  .policy-document h1 { font-size: 28px !important; }
  .policy-document td { padding: 6px !important; }
  .policy-document :where([id], [role='heading']) { scroll-margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
