/* Copyright (c) 2026 matoio.com. All rights reserved. */
/*
 * matoio.com: a white, quiet company site with generous spacing. Colour lives in the
 * product covers and the films; type is Sora/Outfit with the matoio face for names and
 * numbers. Motion classes (.split, .rv, .stagger, .tilt) are driven by site/chrome.js.
 */

:root {
  --bg: #ffffff;
  --soft: #f6f6f4;
  --ink: #0e1122;
  --muted: #5d6275;
  --faint: #8a8fa0;
  --line: #e7e7ea;
  --maxw: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Serif for taglines, as minimax.io sets its subtitles; system faces only. */
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); opacity: 0; transition: opacity 500ms; }
html.loaded body { opacity: 1; }
html.switching main, html.switching #nav .links { opacity: 0.2; transition: opacity 180ms; }
main { transition: opacity 300ms; }
.nav-in, .sec-head, .covers, .upcoming, .tabs, .panel, .principles, .company, .foot-in, .foot-base, .wrap { max-width: var(--maxw); margin-inline: auto; }
::selection { background: var(--mo-tomato); color: #fff; }

/* Motion primitives */
.split .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .tk { display: inline-block; transform: translateY(110%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i) * 38ms); }
.split.in .tk { transform: none; }
:lang(zh) .split .tk { transition-delay: calc(var(--i) * 30ms); }
.stagger > * { opacity: 0; transform: translateY(36px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.stagger.in > * { opacity: 1; transform: none; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms var(--ease-out), box-shadow 600ms; will-change: transform; }
.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 400ms; background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / 0.28), transparent 70%); mix-blend-mode: soft-light; }
.tilt:hover .glare { opacity: 1; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 200ms, box-shadow 200ms, transform 300ms var(--mo-ease); white-space: nowrap; border: 0; cursor: pointer; }
.pill.lg { height: 48px; padding: 0 26px; font-size: 15px; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: #262a45; }
.pill.ghost { box-shadow: inset 0 0 0 1px #cfd0d6; color: var(--ink); background: #fff; }
.pill.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill .arrow, .link-arrow .arrow { display: inline-block; transition: transform 300ms var(--mo-ease); }
.pill:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.pill:active { transform: scale(0.97); }
.link-arrow { display: inline-flex; gap: 8px; margin-top: 22px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: box-shadow 300ms, transform 450ms var(--ease-out); }
.nav.solid { box-shadow: 0 1px 0 var(--line); }
.nav.away { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; height: 68px; padding: 0 var(--mo-gutter); max-width: calc(var(--maxw) + 2 * var(--mo-gutter)); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--mo-tomato); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.logo { height: 24px; display: block; } .logo [data-mark] { height: 100%; }
.logo:hover #tomato-crown, .foot-mark:hover #tomato-crown { animation: crown 900ms var(--mo-ease); }
#tomato-crown { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes crown { 30% { transform: rotate(-14deg); } 65% { transform: rotate(9deg); } }
.links { display: flex; gap: 4px; margin-left: 48px; }
.links > a, .has-menu > a { position: relative; display: block; padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 200ms, background 200ms; }
.links > a:hover, .has-menu:hover > a { color: var(--ink); background: var(--soft); }
.links > a[aria-current] { color: var(--ink); }
.links > a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mo-tomato); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 300ms var(--mo-ease); }
.has-menu:hover > a::after { transform: translateY(0) rotate(225deg); }
.menu { position: absolute; top: 100%; left: -12px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: top left; transition: all 300ms var(--ease-out); }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu-in { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgb(14 17 34 / 0.25); }
.menu-item { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background 200ms; }
.menu-item:hover { background: var(--soft); }
.menu-name { font-family: var(--mo-font-mato); font-size: 19px; }
.menu-line { font-size: 13px; color: var(--muted); }
.menu-soon { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; padding: 12px 14px 4px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.menu-soon em { font-style: normal; font-family: var(--mo-font-mato); font-size: 16px; color: var(--muted); }
.nav-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav .mo-lang { border-color: #cfd0d6; height: 38px; }

/* Hero: a full-screen product carousel under a transparent nav, after minimax.io */
.over-hero .nav { position: fixed; left: 0; right: 0; }
.nav.over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; color: #fff; }
.nav.over .links > a, .nav.over .has-menu > a { color: rgb(255 255 255 / 0.85); }
.nav.over .links > a:hover, .nav.over .has-menu:hover > a { color: #fff; background: rgb(255 255 255 / 0.12); }
.nav.over .mo-lang { border-color: rgb(255 255 255 / 0.5); color: #fff; }
.nav.over .pill.dark { background: rgb(255 255 255 / 0.16); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); }
.nav.over .menu-in { color: var(--ink); }
.nav.over .progress { opacity: 0; }
.hero { position: relative; isolation: isolate; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; background: #0a0f26; }
.hero-bg, .bg-layer, .hero-shade { position: absolute; inset: 0; }
.bg-layer { opacity: 0; transition: opacity 1200ms var(--ease-out); }
.bg-layer.on { opacity: 1; }
.bg-layer video, .bg-layer img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); filter: blur(48px) saturate(1.4) brightness(0.8); }
.bg-layer[data-id="vox"] { background: #0a0f26; }
.cover-vox .plate video { transform-origin: 85% 50%; transform: scale(1.25); }
.bg-layer[data-id="oscard"] { background: #1c0d0b; }
@keyframes float { 50% { transform: translateY(-26px) rotate(4deg); } }
.bg-font { position: absolute; inset: 0; background: radial-gradient(50% 60% at 25% 25%, rgb(235 69 52 / 0.4), transparent 70%), radial-gradient(45% 55% at 80% 80%, rgb(0 154 123 / 0.3), transparent 70%), linear-gradient(160deg, #1b1a24, #0d0d14); }
.hero-shade { background: linear-gradient(180deg, rgb(0 0 0 / 0.3), transparent 22%, transparent 78%, rgb(0 0 0 / 0.25)); pointer-events: none; }
.hero-content { position: relative; height: 100%; display: grid; place-items: center; text-align: center; padding: 86px var(--mo-gutter) 64px; }
.slide-text { display: flex; flex-direction: column; align-items: center; width: 100%; }
.slide-logo { display: flex; justify-content: center; margin: 0; }
.logo-mark { height: clamp(44px, 5.4vw, 76px); }
.logo-mark .wordmark .tone-name { fill: #fff; }
.lockup { --h: clamp(44px, 5.4vw, 76px); display: inline-flex; align-items: flex-end; height: var(--h); color: var(--mo-navy); }
.lockup-mark { height: 100%; flex: none; }
.lockup-mark svg { height: 100%; width: auto; }
/* Sized and shifted so the name shares the wordmark x-height and baseline (measured against the "o" of io). */
.lockup-name { font-family: var(--mo-font-mato); font-weight: 400; font-size: calc(var(--h) * 1.05); line-height: 1; margin-left: calc(var(--h) * 0.2); transform: translateY(calc(var(--h) * 0.145)); }
.slide-logo .lockup { color: #fff; }
.slide-logo .lockup .tone-name { fill: #fff; }
.slide-tag { margin-top: 16px; font-family: var(--serif); font-size: clamp(17px, 1.7vw, 24px); line-height: 1.4; text-shadow: 0 2px 20px rgb(0 0 0 / 0.25); }
.media-card { position: relative; overflow: hidden; width: min(920px, calc((100svh - 400px) * 16 / 9), 100%); aspect-ratio: 16 / 9; margin-top: 30px; border-radius: 22px; background: #000; box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.1); }
.media-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card .sound { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgb(0 0 0 / 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; opacity: 0.75; transition: opacity 200ms, background 200ms; }
.media-card .sound:hover, .media-card .sound[aria-pressed="true"] { opacity: 1; background: rgb(0 0 0 / 0.55); }
.media-card .sound svg { width: 18px; height: 18px; fill: currentColor; }

/* matoio font showreel: four scenes switched by site/home.js fontFrame(), sized to the frame with container units. */
.art-font { container-type: inline-size; background: #0e1225; color: #eceef7; font-family: var(--mo-font-mato); font-kerning: normal; --tc: #ff5d4a; --lc: #25c59f; --sc: #7fa2ff; --mc: #9aa1bf; }
.art-font .c-t { color: var(--tc); } .art-font .c-l { color: var(--lc); } .art-font .c-s { color: var(--sc); } .art-font .c-m { color: var(--mc); }
.scene { position: absolute; inset: 0; padding: 6cqw 7cqw; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(2cqw); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.wd { white-space: nowrap; }
.ch { visibility: hidden; }
.ch.on { visibility: visible; }
.reel-caret { position: absolute; left: 0; top: 0; width: 0.45cqw; min-width: 3px; border-radius: 2px; opacity: 0; pointer-events: none; animation: fr-blink 0.9s steps(1) infinite; }
@keyframes fr-blink { 50% { visibility: hidden; } }
.pop { display: inline-block; opacity: 0; transform: translateY(40%) scale(0.85); transition: opacity 400ms var(--ease-out), transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.pop.on { opacity: 1; transform: none; }
/* 1: paragraph */
.fr-para { font-size: 6.4cqw; line-height: 1.2; text-align: left; }
/* 2: specimen sheet */
.scene.sheet { flex-direction: row; align-items: center; gap: 5cqw; }
.fr-aa { font-size: 26cqw; line-height: 0.9; color: var(--tc); flex: none; }
.fr-sheet { display: grid; gap: 1.4cqw; font-size: 3.5cqw; line-height: 1.1; letter-spacing: 0.05em; }
.fr-sheet p { margin: 0; display: flex; flex-wrap: wrap; gap: 0 0.08em; }
.fr-sheet .fr-figs { font-size: 5.6cqw; letter-spacing: 0.02em; }
.fr-sheet .fr-punct { color: var(--mc); }
/* 3: word wall */
.fr-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 1.2cqw 3cqw; line-height: 1.05; }
.fr-wall .w1 { font-size: 5cqw; } .fr-wall .w2 { font-size: 7.4cqw; } .fr-wall .w3 { font-size: 10cqw; }
/* 4: typed phrases */
.fr-lines { display: grid; justify-items: start; width: fit-content; margin: 0 auto; gap: 1cqw; font-size: 6.4cqw; line-height: 1.12; }

.slide-cta { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.glass { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 200px; height: 50px; padding: 0 28px; border: 0; border-radius: 16px; font: 500 15px var(--mo-font-ui); color: #fff; text-decoration: none; cursor: pointer; background: rgb(255 255 255 / 0.14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: background 250ms, transform 300ms var(--mo-ease); }
.glass:hover { background: rgb(255 255 255 / 0.24); transform: translateY(-2px); }
.glass .arrow { display: inline-block; transition: transform 300ms var(--mo-ease); }
.glass:hover .arrow { transform: translateX(3px); }
.slide-text.swap > * { animation: hero-in 1100ms var(--ease-out) both; }
.slide-text.swap > :nth-child(2) { animation-delay: 120ms; } .slide-text.swap > :nth-child(3) { animation-delay: 240ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }
.dots { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dot-btn { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 0.45); cursor: pointer; overflow: hidden; transition: width 500ms var(--ease-out), background 300ms; }
.dot-btn[aria-selected="true"] { width: 44px; background: rgb(255 255 255 / 0.35); }
.dot-btn i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; }
.dot-btn[aria-selected="true"] i { opacity: 1; }
.dot-btn::after { content: ""; position: absolute; inset: -10px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 99px; background: rgb(255 255 255 / 0.7); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mo-leaf); box-shadow: 0 0 0 0 rgb(0 154 123 / 0.5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgb(0 154 123 / 0); } }
.aura { position: absolute; z-index: -2; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.85; animation: drift 18s ease-in-out infinite alternate; }
.aura .b1 { width: 620px; height: 520px; left: 8%; top: 120px; background: #ffd5c9; }
.aura .b2 { width: 560px; height: 480px; right: 6%; top: 60px; background: #d8f0e6; animation-delay: -6s; }
.aura .b3 { width: 520px; height: 420px; left: 38%; top: 380px; background: #ffe6bf; animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.08); } }
.cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }

/* Section heads */
.sec-head { padding: 0 var(--mo-gutter); }
.sec-head.center { text-align: center; }
.sec-head h2 { font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1.1; }
:lang(zh) .sec-head h2 { letter-spacing: 0; font-weight: 700; }
.sec-head p { text-wrap: balance; margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Product covers */
.products { padding: 120px 0 40px; scroll-margin-top: 40px; }
.products .sec-head { margin-bottom: 56px; }
.products .sec-head h2 { margin-top: 22px; font-size: clamp(38px, 4.8vw, 70px); }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 var(--mo-gutter); }
.cover { text-decoration: none; display: block; min-width: 0; }
.plate { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.cover:hover .plate { box-shadow: 0 34px 60px -30px rgb(14 17 34 / 0.5); }
.cover-logo { position: absolute; left: 50%; top: 50%; z-index: 2; height: clamp(30px, 2.8vw, 42px); transform: translate(-50%, -50%); transition: transform 700ms var(--ease-out); }
.cover-logo svg { height: 100%; filter: drop-shadow(0 6px 24px rgb(0 0 0 / 0.35)); }
.cover-vox .cover-logo .tone-name, .cover-oscard .cover-logo .tone-name { fill: #fff; }
.cover-font .cover-logo { top: 76%; }
.cover-logo .lockup { --h: clamp(30px, 2.8vw, 42px); }
.lockup-name { flex: none; white-space: nowrap; }
.cover-logo { width: max-content; }
.cover:hover .cover-logo { transform: translate(-50%, -50%) scale(1.06); }
.cover-vox .plate { background: #0a0f26; }
.cover-vox .plate::after, .cover-oscard .plate::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cover-vox .plate::after { background: radial-gradient(70% 50% at 50% 50%, rgb(10 15 38 / 0.55), transparent 80%); }
.cover-vox .plate video { object-position: 62% 50%; }
.cover-oscard .plate { background: #3a1210; }
.cover-oscard .plate::after { background: radial-gradient(70% 50% at 50% 50%, rgb(20 8 6 / 0.55), transparent 80%); }
.cover-pai .plate { background: radial-gradient(110% 80% at 30% 20%, #fff2a8, #ffd23f 45%, #ff8fc7); }
.cover-pai .cover-logo { top: 78%; }
.faces { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 26%; transition: transform 700ms var(--ease-out); }
.cover-pai:hover .faces { transform: translateY(-8px) scale(1.04); }
.faces .mo-face { animation: mo-bob 3s ease-in-out infinite; }
.faces .mo-face:nth-child(2) { animation-delay: -1s; } .faces .mo-face:nth-child(3) { animation-delay: -2s; }
.cover-font .plate { background: #f3efe8; }
.glyphs { position: relative; display: grid; margin-bottom: 30%; font-family: var(--mo-font-mato); font-size: clamp(100px, 10vw, 160px); line-height: 1; color: var(--mo-tomato); }
.glyphs b { grid-area: 1 / 1; font-weight: 400; text-align: center; opacity: 0; transform: translateY(20%); animation: glyph 8s var(--ease-out) infinite; }
.glyphs b:nth-child(2) { animation-delay: 2s; } .glyphs b:nth-child(3) { animation-delay: 4s; } .glyphs b:nth-child(4) { animation-delay: 6s; }
@keyframes glyph { 0% { opacity: 0; transform: translateY(20%); } 6%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-20%); } }
.cover-meta { padding: 18px 4px 0; }
.cover-meta h3 { display: flex; align-items: center; justify-content: space-between; font-family: var(--mo-font-mato); font-weight: 400; font-size: 22px; }
.cover-meta h3::after { content: "→"; font-family: var(--mo-font-ui); font-size: 18px; color: var(--faint); transition: transform 400ms var(--mo-ease), color 300ms; }
.cover:hover .cover-meta h3::after { transform: translateX(4px); color: var(--ink); }
.cover-meta p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.cover-kind { display: block; margin-top: 8px; font-size: 13px; color: var(--faint); }

.upcoming { margin-top: 56px; padding: 0 var(--mo-gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.up-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.up-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.up { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; padding: 24px 26px; border-radius: 18px; border: 1px dashed #d5d6dc; transition: border-color 300ms, background 300ms, transform 500ms var(--ease-out); }
.up:hover { border-color: #b9bcc8; transform: translateY(-3px); }
.up-name { font-family: var(--mo-font-mato); font-size: 24px; }
@keyframes blink { 50% { opacity: 0.25; } }
.up-line { grid-column: 1 / -1; font-weight: 600; }
.up-body { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }

/* Approach */
.approach { padding: 140px 0 40px; }
.principles { list-style: none; margin: 56px auto 0; padding: 0 var(--mo-gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles li { position: relative; padding: 36px 32px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: box-shadow 400ms, transform 600ms var(--ease-out); }
.principles li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgb(14 17 34 / 0.35); }
.icon { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.icon * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1600ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + 300ms); }
.stagger.in .icon * { stroke-dashoffset: 0; }
.principles li:hover .icon { stroke: var(--mo-tomato); }
.principles .num { position: absolute; right: 28px; top: 32px; font-family: var(--mo-font-mato); font-size: 15px; color: var(--faint); }
.principles h3 { font-family: var(--mo-font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 15px; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding: 140px var(--mo-gutter) 120px; }
.co-mark { display: block; height: 44px; margin-bottom: 28px; }
.co-mark svg { height: 100%; }
.co-mark #tomato-crown { animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.company h2 { font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.035em; line-height: 1.15; }
:lang(zh) .company h2 { letter-spacing: 0; font-weight: 700; }
.co-right p { color: var(--muted); font-size: 17px; }
.co-right p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mo-font-mato); font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.facts dd { margin: 10px 0 0; font-size: 13px; color: var(--faint); }

/* Closing band */
.cta-band { margin: 0 var(--mo-gutter) 120px; }
.cta-in { position: relative; overflow: hidden; isolation: isolate; max-width: var(--maxw); margin: 0 auto; padding: 96px 40px; border-radius: 32px; background: var(--mo-navy); color: #fff; text-align: center; }
.cta-in::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(35% 45% at 25% 30%, rgb(235 69 52 / 0.45), transparent 70%), radial-gradient(30% 40% at 78% 70%, rgb(0 154 123 / 0.35), transparent 70%); animation: drift 16s ease-in-out infinite alternate; }
.cta-in::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1.4px); background-size: 24px 24px; mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); }
.cta-tomato { display: block; width: 64px; height: 64px; margin: 0 auto 28px; }
.cta-tomato svg { width: 100%; height: 100%; overflow: visible; }
.cta-tomato #tomato-crown { animation: sway 3s ease-in-out infinite; }
.cta-in h2 { font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.15; max-width: 22em; margin: 0 auto; text-wrap: balance; }
:lang(zh) .cta-in h2 { letter-spacing: 0; font-weight: 700; }
.pill.light { background: #fff; color: var(--ink); }
.pill.ghost-dark { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); color: #fff; background: transparent; }
.pill.ghost-dark:hover { box-shadow: inset 0 0 0 1px #fff; }

/* Footer */
.foot { background: #0b0d1a; color: #c9ccd8; padding: 80px var(--mo-gutter) 28px; }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.foot-mark { display: block; height: 30px; margin-bottom: 22px; width: fit-content; }
.foot-mark [data-mark], .foot-mark svg { height: 100%; }
.foot-brand p { font-family: var(--mo-font-display); font-weight: 600; font-size: 22px; color: #fff; line-height: 1.3; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.col { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.col p { color: #fff; font-weight: 600; margin-bottom: 4px; }
.col a { text-decoration: none; color: #9aa0b4; transition: color 200ms; } .col a:hover { color: #fff; }
.col span { color: #6b7086; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 72px; padding-top: 22px; border-top: 1px solid #23263a; font-size: 13px; color: #6b7086; }
.foot-base a { color: inherit; text-decoration: none; } .foot-base a:hover { color: #fff; }

/* Inner pages */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 110px var(--mo-gutter) 90px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { animation-delay: 0ms; }
.page-hero h1 { margin-top: 26px; font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(42px, 5.6vw, 84px); line-height: 1.06; letter-spacing: -0.045em; max-width: 14em; }
:lang(zh) .page-hero h1 { letter-spacing: 0; line-height: 1.16; font-weight: 700; }
.page-hero .sub { margin-top: 24px; max-width: 36em; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); animation: rise 1000ms 400ms var(--ease-out) both; }
.page-hero .aura { inset: -200px -10% auto; height: 760px; }
.section { padding: 120px var(--mo-gutter); }
.section + .section { padding-top: 40px; }
.two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.two h2 { font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1.15; }
:lang(zh) .two h2 { letter-spacing: 0; font-weight: 700; }
.two .body p { color: var(--muted); font-size: 18px; }
.two .body p + p { margin-top: 18px; }
.quote { margin-top: 48px; padding: 36px 0 0; border-top: 1px solid var(--line); font-family: var(--mo-font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.3; }
.quote::before { content: "“"; display: block; font-family: var(--mo-font-mato); font-size: 80px; line-height: 0.6; color: var(--mo-tomato); margin-bottom: 10px; }

.series { list-style: none; margin: 48px auto 0; padding: 0; max-width: var(--maxw); border-top: 1px solid var(--ink); }
.series li { display: grid; grid-template-columns: 70px 1.1fr 1.6fr 170px; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background 300ms, padding 500ms var(--ease-out); }
.series li:hover { background: var(--soft); padding-inline: 20px; }
.series .no { font-family: var(--mo-font-mato); font-size: 22px; color: var(--faint); }
.series .nm { font-family: var(--mo-font-mato); font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.series .ds { color: var(--muted); font-size: 15px; }
.series .ds b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.st { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-out { color: var(--mo-leaf); background: rgb(0 154 123 / 0.1); }
.st-live { color: var(--mo-tomato); background: rgb(235 69 52 / 0.1); }
.st-go { color: var(--muted); font-family: var(--mo-font-mato); font-size: 14px; text-decoration: none; } .st-go:hover { color: var(--ink); }
.series a.go { color: inherit; text-decoration: none; }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px auto 0; max-width: var(--maxw); }
.contact a { display: grid; gap: 10px; padding: 32px; border-radius: 22px; background: var(--soft); text-decoration: none; transition: background 300ms, transform 500ms var(--ease-out); }
.contact a:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.contact h3 { font-family: var(--mo-font-display); font-weight: 600; font-size: 22px; }
.contact p { color: var(--muted); font-size: 15px; transition: color 300ms; }
.contact a:hover p { color: rgb(255 255 255 / 0.7); }
.contact .mail { margin-top: 18px; font-family: var(--mo-font-mato); font-size: 17px; display: flex; justify-content: space-between; }

/* Font licensing page */
.lic-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lic-hero .cta-row { justify-content: flex-start; animation: rise 1000ms 550ms var(--ease-out) both; }
.lic-art { position: relative; aspect-ratio: 1; border-radius: 32px; background: #f3efe8; display: grid; place-items: center; overflow: hidden; animation: stage-in 1200ms 200ms var(--ease-out) both; }
.lic-art .big { font-family: var(--mo-font-mato); font-size: clamp(160px, 20vw, 300px); line-height: 1; color: var(--mo-tomato); }
.lic-art .big span { display: inline-block; animation: wob 6s ease-in-out infinite; }
.lic-art .big span:nth-child(2) { color: var(--mo-navy); animation-delay: -3s; }
@keyframes wob { 50% { transform: translateY(-4%) rotate(-3deg); } }
.lic-art .ring { position: absolute; inset: 7%; border-radius: 50%; border: 1.5px dashed rgb(14 17 34 / 0.15); animation: spin 60s linear infinite; }
.lic-art .meta { position: absolute; left: 26px; bottom: 22px; right: 26px; display: flex; justify-content: space-between; font-family: var(--mo-font-mato); font-size: 15px; color: var(--muted); }
.tiers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 48px auto 0; max-width: var(--maxw); }
.tier-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; transition: box-shadow 300ms, transform 500ms var(--ease-out); }
.tier-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ink), 0 30px 60px -40px rgb(14 17 34 / 0.4); }
.tier-card.pop { background: var(--ink); color: #fff; box-shadow: none; }
.tier-card .badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--mo-tomato); color: #fff; }
.tier-card h3 { font-family: var(--mo-font-display); font-weight: 600; font-size: 18px; }
.tier-card .price { margin: 18px 0 4px; font-family: var(--mo-font-mato); font-size: 42px; line-height: 1; }
.tier-card .once { font-size: 12px; color: var(--faint); }
.tier-card.pop .once { color: rgb(255 255 255 / 0.6); }
.tier-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); flex: 1; }
.tier-card.pop ul { color: rgb(255 255 255 / 0.75); }
.tier-card li { display: flex; gap: 8px; }
.tier-card li::before { content: "✓"; color: var(--mo-leaf); font-weight: 700; }
.tier-card .pill { justify-content: center; }
.tier-card.pop .pill.dark { background: var(--mo-tomato); }
.faq { max-width: 860px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--faint); transition: transform 400ms var(--mo-ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--mo-tomato); }
.faq p { padding: 0 4px 22px; color: var(--muted); animation: rise 500ms var(--ease-out); }
.never { max-width: 860px; margin: 64px auto 0; padding: 32px; border-radius: 22px; background: #fff5f3; }
.never h3 { font-family: var(--mo-font-display); font-size: 18px; margin-bottom: 14px; }
.never li { color: var(--muted); margin: 6px 0; }
.chars { max-width: 860px; margin: 24px auto 0; color: var(--muted); font-size: 15px; }
.chars b { color: var(--ink); }

@media (max-width: 1100px) {
  .tiers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .covers { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; padding: 28px; gap: 40px; }
  .company, .foot-in, .two, .lic-hero { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav .pill.dark { display: none; }
  .principles, .upcoming { grid-template-columns: 1fr; }
  .cta-in { padding: 64px 24px; }
  .covers { gap: 14px; }
  .faces { transform: scale(0.62); margin-bottom: 30%; }
  .glyphs { font-size: 90px; }
  .cover-meta h3 { font-size: 17px; }
  .cover-meta p { font-size: 13px; }
  .facts, .foot-cols { grid-template-columns: 1fr 1fr; }
  .cta-row { flex-direction: column; align-items: center; }
  .lic-hero .cta-row { align-items: flex-start; }
  .hero { min-height: 560px; }
  .slide-cta { flex-direction: column; align-items: center; }
  .media-card { width: 100%; border-radius: 16px; }
  .cover-logo { height: 24px; }
  .cover-logo .lockup { --h: 24px; }
  .tiers-grid { grid-template-columns: 1fr; }
  .series li { grid-template-columns: 40px 1fr auto; }
  .series .ds { grid-column: 2 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .split .tk, .stagger > * { transform: none; opacity: 1; }
  .icon * { stroke-dashoffset: 0; }
}
.lic-hero h1 { font-size: clamp(38px, 4.4vw, 64px); }
