/* SAN PORTO: the friendly layer, loaded after style.css and additions.css. */
:root {
  --paper: #FCFBF8;
  --ink: #17213C;
  --navy: #111B34;
  --muted: #59647A;
  --accent: #2447E8;
  --line: #DDE2EB;
  --side: clamp(24px, 3.1vw, 40px);
  --max: 1240px;
  --sky: #EDF2FF;
  --cream: #FFF5D4;
  --pink: #FFF1F3;
  --round: 32px;
  --hot: #2447E8;
  --hot-hover: #1836BE;
}

html { scroll-padding-top: 108px; }
html { background: var(--paper); }
html::before { content: none; }
body { background: var(--paper); min-height: 100dvh; color: var(--ink); font-size: 16px; line-height: 1.65; }
main, section, article { min-width: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.1; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.18; }
h3 { font-size: 23px; line-height: 1.25; }
em, h1 em, h2 em { font-style: normal; font-weight: inherit; }
button, input, select, textarea { font: inherit; }
img { height: auto; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
a:hover > svg, button:hover > svg { transform: none; }
.section {
  max-width: calc(var(--max) + var(--side) * 2);
  margin-inline: auto;
  padding: 72px var(--side);
}
.section-heading { gap: 28px; margin: 0 0 30px; align-items: center; }
.section-heading h2 { font-size: clamp(30px, 3.4vw, 46px); }
.section-heading > p { max-width: 420px; font-size: 16px; color: var(--muted); }
.section-label, .eyebrow { font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 0; text-transform: none; }
.text-link { gap: 12px; min-height: 44px; font-size: 15px; font-weight: 800; padding-bottom: 3px; }
.button {
  min-height: 52px; padding: 14px 22px; gap: 16px;
  border-radius: 18px; font-size: 15px; font-weight: 800;
  justify-content: center; text-align: center;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button.dark { background: var(--hot); color: #fff; }
.button.dark:hover { background: var(--hot-hover); }
.button.light { background: #fff; color: var(--accent); }
.button.light:hover { background: var(--sky); color: var(--hot-hover); }
.button.outline { border-color: #B8C7ED; color: var(--accent); background: #fff; }
.button.outline:hover { border-color: var(--accent); background: var(--sky); color: var(--hot-hover); }

/* Seven navigation links fit on a 1280px desktop. */
.site-header {
  height: 88px; gap: 24px;
  padding-inline: max(var(--side), calc((100% - var(--max)) / 2));
  background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none;
}
.wordmark { width: 164px; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 14px; font-weight: 800; }
.desktop-nav a { padding: 11px 10px; border-radius: 13px; white-space: nowrap; transition: background-color .18s, color .18s; }
.desktop-nav a::after { content: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--sky); color: var(--accent); }
.header-actions { gap: 16px; margin-left: 2px; }
.language { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 14px; color: var(--accent); background: var(--sky); font-size: 13px; }
.language:hover { background: #DFE7FF; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--sky); }
.menu-toggle span { height: 2px; margin: 6px 0; background: var(--ink); }
.mobile-nav { background: #fff; border-color: var(--line); max-height: calc(100svh - 80px); overflow-y: auto; padding: 14px var(--side) 24px; }
.mobile-nav a { padding: 12px 16px; border: 0; border-radius: 16px; min-height: 50px; font-size: 21px; font-weight: 800; }
.mobile-nav a + a { margin-top: 4px; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--sky); color: var(--accent); }

/* Home: original character art stays the main visual. */
.friendly-home { overflow: clip; }
.about-hero {
  max-width: calc(var(--max) + var(--side) * 2); margin-inline: auto;
  padding: 56px var(--side) 46px; display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 44px; align-items: center;
}
.about-copy h1 { max-width: 590px; }
.about-copy p { max-width: 570px; margin-top: 23px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.about-copy .button { margin-top: 28px; }
.about-art { position: relative; min-width: 0; background: var(--sky); border-radius: 40px; }
.about-art .hero-family { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 40px; }
.about-art .hero-flat { position: absolute; right: -12px; bottom: -16px; z-index: 1; width: clamp(82px, 10vw, 130px); max-height: 180px; object-fit: contain; }
.about-brands { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 26px 42px; padding: 25px 32px; background: var(--accent); border-radius: 28px; }
.about-brands a { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.about-brands img { width: auto; height: auto; max-width: 208px; max-height: 72px; object-fit: contain; }
.page-intro { max-width: calc(var(--max) + var(--side) * 2); padding: 60px var(--side) 38px; margin-inline: auto; }
.page-intro h1 { max-width: 1000px; }
.page-intro > p { max-width: 820px; margin-top: 22px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.page-intro small { display: block; max-width: 800px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.page-intro + .section { padding-top: 12px; }
.page-intro + .music-section { padding-top: 36px; }
.home-metrics > h2, .watch-platforms > h2, .clips-section > h2 { margin-bottom: 28px; }

/* Metrics keep their sources and period next to each value. */
.home-metrics { padding-top: 34px; padding-bottom: 58px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.metric-card { padding: 30px 32px; border-radius: 32px; background: var(--sky); }
.metric-card:nth-child(2) { background: var(--cream); }
.metric-card h2, .metric-card h3, .metric-card .metric-label { margin-top: 15px; font-size: 20px; font-weight: 800; line-height: 1.35; }
.metric-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: var(--accent); font-size: clamp(48px, 5.4vw, 74px); line-height: 1.1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metric-value [data-metric-suffix] { font-size: .44em; letter-spacing: -.025em; }
.metric-period { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.metric-context { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.metric-sources { margin-top: 22px; padding: 0 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.metric-sources summary { width: fit-content; min-height: 44px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 800; }
.metric-sources h3, .metric-sources h4 { margin: 16px 0 7px; font-size: 16px; line-height: 1.4; font-weight: 800; }
.metric-sources p + p { margin-top: 10px; }
.metric-sources a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Character cards: photograph, original 2D character and original wordmark. */
.character-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; }
.character-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.character-art { display: block; position: relative; aspect-ratio: 1; background: var(--sky); overflow: hidden; }
.character-photo { width: 100%; height: 100%; object-fit: cover; }
.character-flat { position: absolute; right: 11px; bottom: 10px; width: 27%; height: 42%; object-fit: contain; object-position: center bottom; }
.character-caption { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; padding: 19px 20px 22px; }
.character-caption h2 { font-size: 21px; line-height: 1.25; }
.character-caption img { width: auto; height: auto; max-width: 160px; max-height: 46px; object-fit: contain; object-position: left center; }
.character-caption a:hover, .duo-names a:hover { color: var(--accent); }
.character-duo { grid-column: span 2; }
.character-duo:last-child { grid-column: 2 / span 2; }
.duo-art { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.duo-art > a { display: block; width: 100%; height: 100%; }
.duo-art .character-photo { width: 100%; height: 100%; object-fit: cover; }
.duo-art .duo-flat { position: absolute; bottom: 12px; width: 16%; height: 37%; object-fit: contain; object-position: center bottom; pointer-events: none; }
.duo-art .duo-shish { left: 14px; }
.duo-art .duo-twist { right: 14px; }
.duo-art .duo-wordmark { position: absolute; left: 50%; bottom: 16px; width: 39%; max-height: 70px; transform: translateX(-50%); object-fit: contain; }
.duo-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 14px 20px; }
.duo-names h2 { font-size: 20px; line-height: 1.3; }
.duo-names a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; font-size: 20px; font-weight: 800; }
.duo-names a:hover { background: var(--sky); }

.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.format-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.format-art { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.format-art > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.format-art .format-logo { position: absolute; left: 20px; bottom: 18px; width: 45%; height: auto; max-height: 78px; object-fit: contain; object-position: left bottom; }
.format-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px; }
.format-body h2 { font-size: 27px; line-height: 1.22; }
.format-body p { margin: 14px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.format-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; min-height: 116px; }
.format-actions .button { margin-top: 0; }
.watch-platforms { background: #fff; border-radius: 40px; }
.platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.platform-link { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; min-height: 122px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform .18s, border-color .18s; }
.platform-link img { width: auto; max-width: 135px; height: 42px; object-fit: contain; }
.platform-link span { font-size: 14px; line-height: 1.35; font-weight: 800; text-align: center; }
.platform-link:hover { transform: translateY(-4px); border-color: var(--accent); }
.watch-note { max-width: 850px; margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.clip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.clip-card { min-width: 0; }
.clip-card a { display: block; position: relative; border-radius: 24px; }
.clip-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; transition: transform .18s; }
.clip-card h3 { margin-top: 15px; font-size: 19px; line-height: 1.4; letter-spacing: -.02em; }
.clip-card a:hover img { transform: translateY(-4px); }
.clip-play { display: grid; place-items: center; position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; padding-left: 2px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 3px 12px #111B341A; font-size: 18px; line-height: 1; pointer-events: none; transition: background-color .18s, color .18s; }
.clip-card a:hover .clip-play, .clip-card a:focus-visible .clip-play { background: var(--accent); color: #fff; }
.music-section { background: var(--cream); border-radius: 40px; }
.music-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.music-link { display: block; min-width: 0; padding: 24px; border-radius: 26px; background: #fff; text-align: center; }
.music-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 0; transition: transform .18s; }
.music-link strong { display: block; margin-top: 15px; font-size: 18px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; }
.music-link:hover img { transform: translateY(-4px); }

/* Apps and games use official icons and real store links. */
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.game-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 32px; background: #fff; }
.game-icon { width: 112px; height: 112px; border-radius: 26px; object-fit: contain; }
.game-icon img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.game-content { min-width: 0; }
.game-content h2 { font-size: 28px; line-height: 1.2; }
.game-content > p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.game-status { display: inline-block; width: fit-content; margin-top: 18px; padding: 8px 12px; border-radius: 12px; color: #725015; background: var(--cream); font-size: 13px; line-height: 1.4; font-weight: 800; }
.store-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 13px; font-weight: 800; line-height: 1.4; transition: border-color .18s, background-color .18s; }
.store-links a:hover { background: var(--sky); border-color: var(--accent); }
.store-links img { width: auto; height: 40px; max-width: 145px; object-fit: contain; }
.store-links a:has(img) { padding: 0; border: 0; border-radius: 10px; overflow: hidden; }
.app-film-section .app-promo { margin-top: 0; }
.app-promo-heading { gap: 22px; margin-bottom: 22px; }
.app-promo-heading h2, .app-promo-heading h3 { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.app-promo-heading > span { font-size: 14px; white-space: normal; }
.app-promo-screen { border-radius: 32px; overflow: hidden; }
.app-promo-trigger { border-radius: inherit; }
.app-promo-trigger > img, .app-promo-trigger:hover > img { transform: none; transition: none; }
.app-promo-watch { bottom: 28px; right: 28px; gap: 15px; font-size: 16px; font-weight: 800; }
.app-promo-play { width: 60px; height: 60px; background: var(--hot); transition: background-color .18s; }
.app-promo-trigger:hover .app-promo-play { transform: none; background: var(--hot-hover); }
.app-promo-feedback { padding-top: 17px; font-size: 14px; }
.app-promo-feedback button { min-height: 44px; padding: 10px 17px; border-radius: 13px; font-size: 14px; }
.app-promo-feedback a, .app-promo-noscript a { font-size: 14px; }

.catalog-dialog { width: min(1080px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 20px; border: 1px solid var(--line); border-radius: 32px; background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 18px 70px #111B3433; }
.catalog-dialog::backdrop { background: #111B34B3; }
.catalog-player-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.catalog-player-header h2 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
.catalog-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 14px; background: var(--sky); color: var(--ink); font-size: 27px; font-weight: 700; line-height: 1; }
.catalog-close:hover { background: #DFE7FF; }
.catalog-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 70dvh; border-radius: 20px; background: #0D1426; object-fit: contain; }
.catalog-error { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--pink); color: #882f43; font-size: 14px; line-height: 1.7; }
.catalog-fallback { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Licensing is a practical invitation, supported by the existing toy photograph. */
.license-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.page-intro.license-intro { display: block; }
.license-photo { margin: 0; border-radius: 32px; overflow: hidden; background: var(--sky); }
.license-photo img, img.license-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.license-content h2 { margin-bottom: 22px; }
.license-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.license-content > p { font-size: 18px; line-height: 1.8; color: var(--muted); }
.license-content > div > p { font-size: 18px; line-height: 1.8; color: var(--muted); }
.license-content > p + p { margin-top: 18px; }
.license-content .button { margin-top: 26px; }
.license-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.license-stat { padding: 23px; border-radius: 24px; background: var(--sky); }
.license-stat:nth-child(2) { background: var(--pink); }
.license-stat strong { display: block; color: var(--accent); font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.04em; }
.license-stat h2 { margin-top: 12px; font-size: 21px; line-height: 1.3; }
.license-stat span, .license-stat p { display: block; margin-top: 10px; font-size: 14px; line-height: 1.6; }
.license-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; }
.license-categories > * { display: flex; align-items: center; min-width: 0; min-height: 94px; padding: 21px; border-radius: 23px; background: var(--cream); font-size: 16px; font-weight: 800; line-height: 1.45; }
.license-content .license-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.friendly-callout { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 38px; }
.friendly-callout p { max-width: 780px; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.4; font-weight: 800; letter-spacing: -.025em; }
.friendly-callout > a { flex-shrink: 0; }

/* The existing contact, consent and server feedback behaviour stays intact. */
.partners { color: var(--ink); background: var(--sky); border-radius: 40px; }
.partners-heading { grid-template-columns: 1.1fr 1fr; gap: 44px; margin: 22px 0 40px; }
.partners h2 { font-size: clamp(34px, 4vw, 52px); }
.partners-heading > p { max-width: 480px; font-size: 17px; color: var(--muted); }
.partner-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding-top: 0; border: 0; align-items: start; }
.partner-contact { padding-top: 16px; }
.partner-contact h3 { font-size: 28px; font-weight: 800; }
.partner-contact > p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.contact-mail { margin-top: 26px; font-size: clamp(20px, 2.3vw, 30px); font-weight: 800; gap: 12px; overflow-wrap: anywhere; }
.contact-phone { margin-top: 15px; font-size: 20px; font-weight: 700; }
.partner-directions { gap: 10px; margin-top: 28px; }
.partner-directions > span { padding: 9px 13px; border-color: var(--line); border-radius: 13px; background: #fff; font-size: 12px; line-height: 1.45; }
.partner-form { min-width: 0; margin: 0; padding: 32px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 32px; }
.partner-fields { border: 0; min-width: 0; margin: 0; padding: 0; }
.partner-form h3 { margin-bottom: 26px; font-size: 28px; font-weight: 800; }
.partner-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.partner-form label { gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.partner-form input:not([type="checkbox"]), .partner-form select, .partner-form textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px;
  border: 1px solid #8795AC; border-radius: 14px;
  background: #fff; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.5;
}
.partner-form input::placeholder, .partner-form textarea::placeholder { color: #657188; opacity: 1; }
.partner-form textarea { min-height: 130px; resize: vertical; }
.partner-form [aria-invalid="true"] { border-color: #b73545; }
.partner-form input[type="checkbox"], .privacy-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.partner-form .consent-field { flex-direction: row; align-items: flex-start; gap: 11px; margin: 4px 0 12px; font-size: 13px; font-weight: 400; line-height: 1.7; }
.partner-form .form-policy { margin: 0 0 22px 31px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.partner-form .form-note, .partner-form .captcha-note { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.partner-form .captcha-note { font-size: 11px; }
.partner-form a { text-underline-offset: 3px; }
.partner-form .button { width: 100%; min-height: 52px; font-size: 15px; }
.partner-form .button:disabled { cursor: not-allowed; opacity: .65; }
.partner-form[aria-busy="true"] .button { cursor: wait; }
.feedback-status { padding: 18px; border-radius: 16px; font-size: 14px; }
.feedback-status[data-state="success"] { color: #185a3b; background: #edf8f1; border-color: #b8dfc7; }
.feedback-status[data-state="error"] { color: #8b2433; background: #fff1f3; border-color: #efc1c8; }
.contact-page .page-intro { padding-bottom: 38px; }
.contact-page .partners { margin-bottom: 58px; }
.contact-address h2 { font-size: 28px; margin-bottom: 18px; }
.contact-address p { color: var(--muted); font-size: 16px; }
.contact-address > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--accent); font-size: 18px; font-weight: 800; }
.contact-address p:last-child { margin-top: 14px; font-size: 13px; }

.privacy-panel { padding: 27px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 12px 40px #111B341A; }
.privacy-panel h2 { font-size: 28px; font-weight: 800; }
.privacy-panel > p { font-size: 13px; line-height: 1.75; }
.privacy-eyebrow { font-size: 11px; letter-spacing: 0; text-transform: none; }
.privacy-consent { gap: 11px; font-size: 13px; line-height: 1.65; }
.privacy-actions { gap: 11px; }
.privacy-actions button { min-height: 48px; padding: 12px; border-color: #B8C7ED; border-radius: 14px; color: var(--accent); background: #fff; font-size: 12px; font-weight: 800; }
.privacy-actions button:first-child { border-color: var(--hot); background: var(--hot); color: #fff; }
.privacy-actions button:disabled { border-color: #E9EDF3; background: #E9EDF3; color: #647087; }
.privacy-panel .privacy-status { font-size: 12px; }
.privacy-links { gap: 18px; font-size: 11px; flex-wrap: wrap; }

/* Keep legal pages spacious and readable while retaining their contents. */
.legal-heading h1 { max-width: 1020px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; }
.legal-intro { font-size: 17px; line-height: 1.8; }
.legal-copy h2 { font-size: 26px; line-height: 1.3; font-weight: 800; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.85; }
.legal-toc a { font-size: 14px; line-height: 1.55; }
.legal-copy a { color: var(--accent); }

.footer { margin-top: 44px; padding: 46px max(var(--side), calc((100% - var(--max)) / 2)) 26px; color: #fff; background: var(--navy); border-radius: 40px 40px 0 0; }
.footer-top { gap: 30px; padding-bottom: 28px; border-color: #ffffff35; }
.footer-wordmark { display: block; width: 190px; max-width: 190px; }
.footer-top p { display: block; font-size: 14px; color: #E4E9F3; }
.footer-top > a:last-child { min-height: 44px; gap: 12px; font-size: 16px; font-weight: 700; }
.footer-top > a:not(.footer-wordmark) { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 16px; font-weight: 700; }
.footer-brand-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px 44px; padding-block: 30px; }
.footer-brand-links a { display: flex; align-items: center; min-height: 62px; }
.footer-brand-links img { width: 153.75px; height: 45px; max-width: 153.75px; object-fit: contain; flex: 0 0 auto; }
.footer-links { grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; padding: 30px 0; }
.footer-links > div { gap: 10px; color: #E4E9F3; font-size: 14px; }
.footer-links > div > span { margin-bottom: 5px; color: #C7D5FF; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 800; }
.footer-address p { max-width: 280px; }
.footer-bottom { border-color: #ffffff35; padding-top: 22px; gap: 14px 24px; flex-wrap: wrap; font-size: 12px; line-height: 1.65; color: #E4E9F3; }
.footer .back-top { min-height: 44px; font-size: 12px; }
.footer .legal-line { margin-top: 14px; color: #C7D1E3; font-size: 11px; }
.footer .privacy-settings { border-color: #ffffff75; }
.project-card:hover .project-picture > img { transform: none; }

@media (max-width: 1200px) and (min-width: 1051px) {
  .site-header { gap: 15px; }
  .wordmark { width: 150px; }
  .desktop-nav { gap: 1px; font-size: 13px; }
  .desktop-nav a { padding-inline: 8px; }
  .header-actions { gap: 10px; }
}

@media (max-width: 1050px) {
  html { scroll-padding-top: 96px; }
  .site-header { height: 80px; gap: 20px; }
  .wordmark { width: 158px; }
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; gap: 12px; }
  .menu-toggle { display: block; }
  .about-hero { gap: 30px; }
  .about-copy h1 { font-size: clamp(40px, 5.5vw, 58px); }
  .about-copy p { font-size: 17px; }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .character-duo, .character-duo:last-child { grid-column: 1 / -1; }
  .character-caption { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
  .character-caption img { max-width: 135px; max-height: 42px; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 128px minmax(0, 1fr); padding: 30px; gap: 28px; }
  .game-icon { width: 128px; height: 128px; }
  .partner-grid { gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .partner-form { padding: 26px; }
  .partner-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 900px) {
  .section { padding-block: 54px; }
  .about-hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 35px; gap: 32px; }
  .about-copy { max-width: 760px; }
  .about-copy h1 { max-width: 700px; font-size: clamp(42px, 7vw, 62px); }
  .about-copy p { max-width: 690px; margin-top: 20px; }
  .about-art .hero-family { aspect-ratio: 16 / 9; }
  .about-art .hero-flat { right: 10px; bottom: -14px; width: 110px; max-height: 150px; }
  .page-intro { padding-top: 43px; padding-bottom: 32px; }
  .page-intro > p { font-size: 18px; }
  .music-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .platform-grid { gap: 14px; }
  .platform-link { padding: 16px 12px; }
  .platform-link img { max-width: 110px; }
  .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .license-intro { grid-template-columns: 1fr; gap: 30px; }
  .license-content { grid-template-columns: 1fr; gap: 30px; }
  .license-content { max-width: 820px; }
  .license-photo img, img.license-photo { aspect-ratio: 16 / 9; }
  .license-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .partners-heading > p { max-width: 680px; }
  .partner-grid { grid-template-columns: 1fr; gap: 34px; }
  .partner-contact { padding-top: 0; }
  .partner-directions { max-width: 650px; }
  .partner-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .contact-mail { font-size: 28px; }
  .friendly-callout { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-top { flex-wrap: wrap; gap: 18px 30px; }
  .footer-top p { display: none; }
  .footer-top > a:last-child { margin-left: auto; }
}

@media (max-width: 680px) {
  .section { padding-block: 42px; }
  h1 { font-size: 42px; }
  h2, .section-heading h2 { font-size: 32px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
  .section-heading > p { max-width: 100%; font-size: 16px; }
  .site-header { height: 76px; }
  .wordmark { width: 146px; }
  .mobile-nav { max-height: calc(100svh - 76px); }
  .about-hero { padding-top: 34px; padding-bottom: 32px; gap: 28px; }
  .about-copy h1 { font-size: clamp(36px, 7.5vw, 48px); }
  .about-copy p { font-size: 17px; line-height: 1.7; }
  .about-copy .button { margin-top: 23px; }
  .about-art, .about-art .hero-family { border-radius: 28px; }
  .about-art .hero-family { aspect-ratio: 16 / 9; }
  .about-art .hero-flat { width: 82px; height: 120px; right: 4px; bottom: -12px; }
  .about-brands { padding: 22px; gap: 22px 28px; border-radius: 24px; }
  .about-brands img { max-width: 160px; max-height: 56px; }
  .about-brands a { min-height: 54px; }
  .page-intro { padding-top: 34px; padding-bottom: 28px; }
  .page-intro h1 { font-size: clamp(36px, 8vw, 46px); }
  .page-intro > p { margin-top: 18px; font-size: 17px; line-height: 1.7; }
  .page-intro small { font-size: 13px; }
  .metric-grid { grid-template-columns: 1fr; gap: 16px; }
  .metric-card { padding: 25px; border-radius: 26px; }
  .metric-value { font-size: 64px; }
  .metric-card h2, .metric-card h3, .metric-card .metric-label { font-size: 20px; }
  .metric-sources { margin-top: 16px; }
  .character-grid { gap: 18px; }
  .character-card { border-radius: 24px; }
  .character-caption { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .character-caption h2 { font-size: 18px; }
  .character-caption img { max-width: 125px; max-height: 38px; }
  .character-flat { right: 7px; bottom: 6px; width: 28%; }
  .duo-art .duo-flat { bottom: 8px; height: 36%; }
  .duo-art .duo-wordmark { bottom: 12px; width: 41%; max-height: 48px; }
  .duo-art .duo-shish { left: 8px; }
  .duo-art .duo-twist { right: 8px; }
  .duo-names { gap: 8px; padding: 10px 14px; }
  .duo-names a { font-size: 18px; }
  .format-grid, .clip-grid { grid-template-columns: 1fr; gap: 24px; }
  .format-actions { min-height: 0; }
  .format-card { border-radius: 28px; }
  .format-body { padding: 23px; }
  .format-body h2 { font-size: 28px; }
  .format-art { aspect-ratio: 16 / 10; }
  .watch-platforms, .music-section, .partners { border-radius: 28px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .platform-link { min-height: 112px; border-radius: 20px; gap: 10px; }
  .platform-link img { max-width: 108px; height: 38px; }
  .platform-link span { font-size: 13px; }
  .watch-note { font-size: 13px; }
  .clip-card h3 { font-size: 18px; }
  .clip-card img, .clip-card a { border-radius: 20px; }
  .music-grid { gap: 23px 16px; }
  .music-link { padding: 18px; border-radius: 20px; }
  .music-link strong { margin-top: 12px; font-size: 16px; }
  .game-card { grid-template-columns: 88px minmax(0, 1fr); padding: 23px; gap: 20px; border-radius: 28px; }
  .game-icon { width: 88px; height: 88px; border-radius: 21px; }
  .game-content h2 { font-size: 25px; }
  .game-content > p { font-size: 15px; }
  .store-links { gap: 9px; margin-top: 18px; }
  .store-links a { padding: 9px 11px; font-size: 12px; }
  .store-links img { max-width: 130px; height: 38px; }
  .app-promo-heading { display: block; margin-bottom: 20px; }
  .app-promo-heading h2, .app-promo-heading h3 { font-size: 25px; }
  .app-promo-heading > span { display: block; margin-top: 10px; font-size: 13px; }
  .app-promo-screen { border-radius: 24px; }
  .app-promo-watch { right: 17px; bottom: 17px; gap: 10px; font-size: 13px; }
  .app-promo-play { width: 44px; height: 44px; }
  .app-promo-play svg { width: 22px; height: 22px; }
  .catalog-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 12px; border-radius: 24px; }
  .catalog-player-header { gap: 12px; margin-bottom: 12px; }
  .catalog-player-header h2 { font-size: 18px; }
  .catalog-video { border-radius: 16px; }
  .license-content > p { font-size: 17px; }
  .license-content > div > p { font-size: 17px; }
  .license-photo { border-radius: 26px; }
  .license-stats { gap: 14px; }
  .license-stat { padding: 20px; border-radius: 22px; }
  .license-stat strong { font-size: 32px; }
  .license-categories { gap: 14px; }
  .license-categories > * { min-height: 84px; padding: 18px; border-radius: 20px; font-size: 15px; }
  .friendly-callout p { font-size: 25px; }
  .partners h2 { font-size: 35px; }
  .partners-heading > p { font-size: 16px; }
  .partner-contact h3 { font-size: 26px; }
  .contact-mail { font-size: clamp(20px, 5.5vw, 28px); }
  .partner-form { padding: 24px; border-radius: 26px; }
  .partner-form h3 { font-size: 26px; }
  .partner-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .partner-form .consent-field { font-size: 13px; }
  .contact-page .partners { margin-bottom: 34px; }
  .privacy-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 22px; max-height: calc(100dvh - 100px); }
  .privacy-panel h2 { font-size: 26px; }
  .privacy-actions button { font-size: 12px; }
  .footer { margin-top: 28px; padding-top: 35px; border-radius: 28px 28px 0 0; }
  .footer-top { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-top > a:last-child { margin: 0; font-size: 16px; }
  .footer-wordmark { width: 180px; }
  .footer-brand-links { gap: 22px 28px; padding-block: 26px; }
  .footer-brand-links img { width: 112.5px; height: 34.5px; max-width: 112.5px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .footer-links > div { font-size: 13px; }
  .footer-address { grid-column: 1 / -1; }
  .footer-bottom { font-size: 11px; gap: 13px 20px; }
  .footer-bottom > p { flex-basis: 100%; }
  .legal-copy h2 { font-size: 23px; }
  .legal-copy p, .legal-copy li { font-size: 15px; }
}

@media (max-width: 420px) {
  .site-header { gap: 12px; }
  .wordmark { width: 132px; }
  .header-actions { gap: 8px; }
  .language, .menu-toggle { min-width: 40px; width: 40px; }
  .character-grid { grid-template-columns: 1fr; }
  .character-duo, .character-duo:last-child { grid-column: 1; }
  .character-caption { flex-direction: row; align-items: center; justify-content: space-between; }
  .character-caption h2 { font-size: 20px; }
  .character-caption img { max-width: 138px; }
  .game-card { grid-template-columns: 1fr; gap: 20px; }
  .game-icon { width: 100px; height: 100px; border-radius: 24px; }
  .metric-value { font-size: 57px; }
  .license-stats { grid-template-columns: 1fr; }
  .license-categories { grid-template-columns: 1fr; }
  .partner-form { padding: 21px; }
  .privacy-actions { flex-direction: column; }
  .privacy-actions button { flex: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .platform-link:hover, .clip-card a:hover img, .music-link:hover img { transform: none; }
}

/* Legacy project pages share the new tone without catalogue numbering. */
.project-number { display: none; }
.detail-partner-banner h2 { color: #fff; }
.detail-partner-banner { border-radius: 32px; }

.music-link small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }

.music-huawei-music img { object-fit: scale-down; }

/* A quiet studio canvas; character artwork supplies the full spectrum. */
.site-header { background: #FFFFFF; border-bottom-color: var(--line); }
.desktop-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { background: var(--accent); color: #FFFFFF; }
.language, .menu-toggle, .catalog-close { background: var(--sky); }
.button.outline { background: #FFFFFF; color: var(--accent); border-color: #B8C7ED; }
.button.outline:hover { background: var(--sky); color: var(--hot-hover); border-color: var(--accent); }
.metric-card, .license-stat { background: var(--sky); border: 1px solid #D8E2FC; }
.metric-card:nth-child(2), .license-stat:nth-child(2) { background: var(--cream); border-color: #F1E6BC; }
.metric-value, .license-stat strong { color: var(--accent); }
.metric-card:nth-child(2) .metric-value, .license-stat:nth-child(2) strong { color: var(--ink); }
.character-card, .format-card, .music-link, .game-card, .platform-link, .partner-form, .catalog-dialog { background: #FFFFFF; }
.watch-platforms { background: #FFFFFF; }
.music-section, .partners { background: var(--sky); }
.game-status, .license-categories > * { background: var(--cream); color: var(--ink); }
.partner-form input[type="checkbox"], .privacy-consent input { accent-color: var(--accent); }
.clip-card a:hover .clip-play, .clip-card a:focus-visible .clip-play { background: var(--accent); color: #FFFFFF; }
.privacy-panel { background: #FFFFFF; }
.footer { background: var(--navy); }
.footer a:focus-visible, .footer button:focus-visible { outline-color: #FFD84D; }
.footer-top a:hover, .footer-bottom a:hover, .footer-bottom button:hover { color: #FFD84D; }
.detail-smish, .detail-la-la-race, .project-la-la-race .project-picture { background: var(--sky); }
.detail-hero, .project-picture, .hero-media { background-color: var(--sky); }
.project-shish-twist .project-picture { background: var(--navy); }
.highlights li::before { color: var(--accent); }
.detail-status { border-color: #B8C7ED; }
.app-promo-trigger::after { background: linear-gradient(transparent, #111B34C4); }
.detail-partner-banner .section-label { color: #FFFFFF; }
.project-picture::after { background: linear-gradient(transparent, rgba(17, 27, 52, .35)); }
.detail-shish-twist::after { background: linear-gradient(transparent, rgba(17, 27, 52, .25)); }
.detail-la-la-race > img { box-shadow: 0 24px 40px #111B3422; }
