@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #181818;
  --surface: #303030;
  --ink: #ffffff;
  --muted: #b0b0b0;
  --line: #303030;
  --field-line: #858585;
  --primary: #da291c;
  --primary-hover: #9d2211;
  --primary-active: #b01e0a;
  --on-primary: #ffffff;
  --focus: #f6e500;
  --shell: 1280px;
  --ease: cubic-bezier(.18,.72,.29,1);
  font-family: "Bricolage Grotesque", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 94px; scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]), body.nav-open { overflow: hidden; }
::selection { background: var(--primary-active); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
a { color: inherit; text-decoration: none; text-underline-offset: .23em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, .news-title { font-family: "Bricolage Grotesque", "Noto Sans SC Variable", "PingFang SC", "Microsoft YaHei", sans-serif; }
h1 { font-size: clamp(2.5rem,6vw,5rem); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem,3vw,2.25rem); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; line-height: 1.35; }
p { line-height: 1.65; }
small { font-size: .8rem; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell),calc(100% - 100px)); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 12px; z-index: 10; padding: 12px; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24, 24, 24, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; }
.scroll-progress { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--primary); transform-origin: left center; transform: scaleX(0); pointer-events: none; will-change: transform; }
.top-inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 800; letter-spacing: -.038em; white-space: nowrap; }
.brand b { font-size: .95em; margin-left: .12em; }
.mark { display: inline-grid; place-content: center; width: 33px; height: 33px; border-radius: 8px; background-color: var(--paper); flex: none; }
.mark { background-image: url("mark.svg"); background-size: cover; }
.nav { display: flex; align-items: center; gap: clamp(15px,2.4vw,34px); }
.top .nav { margin-left: clamp(16px,3vw,56px); margin-right: auto; }
.nav a { position: relative; display: flex; align-items: center; min-height: 64px; font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { position: absolute; content: ""; inset: auto 0 0; height: 3px; background: var(--primary); }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.login-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 6px 15px; border: 1px solid var(--field-line); background: transparent; color: var(--ink); font-size: .875rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
.login-btn:hover { border-color: var(--ink); background: var(--surface); }
.login-btn.is-signed-in::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }
.menu, .nav-backdrop, .nav-drawer-head, .nav-drawer-foot { display: none; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: clamp(28px,4.6vw,66px); align-items: center; padding-block: clamp(40px,5vw,72px); }
.hero .lead { color: var(--muted); font-size: clamp(1rem,1.42vw,1.16rem); max-width: 29em; margin-top: 20px; text-wrap: pretty; }
.hero h1 em { font-style: normal; }
.home-hero { grid-template-columns: minmax(0,1fr); position: relative; isolation: isolate; min-height: clamp(600px,80svh,800px); align-items: end; padding-block: 64px; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px circle at var(--hero-x, 28%) var(--hero-y, 58%), rgba(218, 41, 28, 0.24), rgba(255, 90, 54, 0.06) 42%, transparent 70%); opacity: .85; transition: opacity 420ms var(--ease); pointer-events: none; }
.home-hero.is-hovered::before { opacity: 1; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.home-hero > .shell { position: relative; z-index: 1; }
.home-hero > .shell > * { max-width: min(34rem,47vw); }
.home-hero .lead { color: #e1e1e1; max-width: min(29em,45vw); }
.home-hero .cover { position: absolute; inset: 0 0 0 32%; z-index: -2; aspect-ratio: auto; background: var(--paper); overflow: hidden; }
.home-hero .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#181818 0%,#181818db 15%,#18181847 42%,transparent 64%); pointer-events: none; }
.home-hero .cover img { object-position: 50% 30%; transform: scale(1.03); transition: transform 1.2s var(--ease); will-change: transform; }
.home-hero.is-ready .cover img { transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.06); }
.home-hero h1 em {
  display: inline-block;
  position: relative;
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 38%, #ff6b57 50%, #ffffff 62%, #ffffff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shimmer 4.8s var(--ease) infinite;
  filter: drop-shadow(0 0 22px rgba(218, 41, 28, 0.35));
}
.home-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .03em; height: 3px; background: linear-gradient(90deg, var(--primary), #ff6b57, var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform 680ms var(--ease) 300ms; box-shadow: 0 0 14px rgba(218, 41, 28, 0.75); }
.home-hero.is-ready h1 em::after { transform: scaleX(1); }
@keyframes text-shimmer {
  0%, 15% { background-position: 100% 0; }
  55%, 100% { background-position: -60% 0; }
}
.cover { position: relative; aspect-ratio: 1.13; overflow: hidden; margin: 0; isolation: isolate; background: var(--surface); }
.cover img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.cover figcaption { position: absolute; inset: auto 21px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #ffffff72; padding-top: 12px; color: white; font-size: .8rem; font-weight: 660; }
.cover:has(figcaption)::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#000b); pointer-events: none; }
.cover figcaption { z-index: 1; }
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.composer {
  position: relative;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(24, 24, 24, 0.92);
  border: 1px solid var(--field-line);
  border-radius: 4px;
  padding: 4px;
  transition: border-color 220ms var(--ease), box-shadow 260ms var(--ease);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.page-index .composer::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 5px;
  padding: 1.5px;
  background: conic-gradient(from var(--beam-angle), transparent 0deg, transparent 275deg, rgba(218, 41, 28, 0.9) 320deg, #ff7a66 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: composer-beam 4.2s linear infinite;
}
@keyframes composer-beam {
  to { --beam-angle: 360deg; }
}
.composer:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 40px rgba(218, 41, 28, 0.22); }
.composer.is-pulsing { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.42), 0 16px 42px rgba(218, 41, 28, 0.3); }
.composer:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.composer input { flex: 1; width: 0; min-width: 0; color: var(--ink); border: 0; background: none; padding: 10px; outline: none; caret-color: var(--ink); }
.composer input::placeholder { color: var(--muted); }
.composer .button { flex: none; min-width: 44px; min-height: 44px; padding-inline: 12px; gap: 6px; font-size: .9rem; }
.prompt-toggle, .sound-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); transition: color 180ms var(--ease), background-color 180ms var(--ease); }
.prompt-toggle:hover, .sound-toggle:hover { color: var(--ink); background: var(--surface); }
.prompt-toggle:focus-visible, .sound-toggle:focus-visible { outline-offset: -2px; }
.prompt-toggle[aria-pressed="false"] .play-icon,
.prompt-toggle[aria-pressed="true"] .pause-icon,
.sound-toggle[aria-pressed="true"] .sound-off-icon,
.sound-toggle[aria-pressed="false"] .sound-on-icon { display: none; }
.sound-toggle[aria-pressed="true"] { color: var(--ink); }
.button, .pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; color: var(--ink); text-align: center; }
.icon { width: 19px; height: 19px; display: inline-block; flex: none; vertical-align: middle; transition: transform 200ms var(--ease); }
.button { position: relative; overflow: hidden; min-height: 48px; padding: 12px clamp(14px,2vw,32px); font-size: .9rem; font-weight: 700; letter-spacing: .04em; background: var(--primary); color: var(--on-primary); width: fit-content; transition: background-color 180ms var(--ease), transform 180ms var(--ease); }
.button:hover { background: var(--primary-hover); }
.button:hover .icon, .textlink:hover .icon { transform: translateX(4px); }
.button:active { background: var(--primary-active); transform: translateY(1px); }
.button.ghost { border: 1px solid currentColor; background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--surface); }
.actions, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions { margin-top: 27px; gap: 12px; }
.chips { margin-top: 13px; }
.pill { background: none; border: 1px solid var(--field-line); min-height: 38px; padding: 7px 12px; font-size: .81rem; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 160ms var(--ease); }
.pill:hover, .pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill:active { transform: translateY(1px); }
.form-status { margin-top: 12px; min-height: 1.65em; font-size: .84rem; color: var(--muted); }
.form-status:empty { display: none; }
.ticker { background: var(--paper); border-block: 1px solid var(--line); }
.ticker .shell { min-height: 64px; display: grid; grid-template-columns: repeat(7,auto); align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 10px; }
.ticker b { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: .88rem; }
.page-index .ticker b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7);
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(218, 41, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); }
}
.ticker a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: .88rem; color: var(--muted); transition: color 180ms var(--ease), transform 180ms var(--ease); }
.ticker a::before { content: ""; width: 0; height: 2px; background: var(--primary); margin-right: 0; transition: width 200ms var(--ease), margin-right 200ms var(--ease); }
.ticker a:hover::before { width: 10px; margin-right: 6px; }
.ticker a:hover, .textlink:hover { color: var(--ink); text-decoration: underline; }
.section { padding-block: clamp(56px,7vw,96px); }
.section + .section { border-top: 1px solid var(--line); }
.flush-top { padding-top: 0; }
.section-head { display: flex; gap: 24px; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.section-head > p { color: var(--muted); max-width: 30em; text-wrap: pretty; }
.section-copy { color: var(--muted); max-width: 55em; margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(24px,6vw,88px); align-items: center; }
.split p, .lined p, .cards p { margin-top: 11px; color: var(--muted); }
.dark { background: #202020; }
.tinted { background: var(--surface); }
#catalog {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f7f7f7;
  --ink: #181818;
  --muted: #545454;
  --line: #d2d2d2;
  --field-line: #767676;
  --focus: var(--primary-active);
  background: var(--paper);
  color: var(--ink);
}
.visual { overflow: hidden; background: var(--surface); }
.visual-trigger { border: 0; padding: 0; width: 100%; display: block; text-align: start; color: inherit; transition: box-shadow 240ms var(--ease); }
.visual-trigger:hover { box-shadow: inset 0 0 0 1px var(--field-line), 0 16px 36px rgba(0, 0, 0, 0.4); }
.visual img { aspect-ratio: 5 / 3.6; object-fit: cover; }
.visual.contain img { object-fit: contain; }
.visual figcaption { padding: 10px 14px; font-size: .83rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.visual-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 650; transition: color 200ms var(--ease); }
.visual-trigger:hover .visual-hint { color: var(--primary); }
.visual-trigger:hover .visual-hint .icon { transform: translateX(4px); }
.lined { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lined > li, .lined > article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.lined small { display: block; margin-bottom: 8px; color: var(--primary); font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.deliverables { list-style: none; margin: 18px 0 6px; padding: 0; border-top: 1px solid var(--line); }
.deliverables li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.deliverables strong { color: var(--primary); font-size: .82rem; font-variant-numeric: tabular-nums; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.audience p { margin-bottom: 12px; }
.audience .pill { background: rgba(255, 255, 255, 0.03); border-color: #444; color: #e2e2e2; }
.audience .pill::before { content: "→"; color: var(--primary); font-weight: 700; transition: color 180ms var(--ease), transform 180ms var(--ease); }
.audience .pill:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.audience .pill:hover::before { color: var(--paper); transform: translateX(2px); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cards.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 0; overflow: hidden; }
.card-body { position: relative; z-index: 1; padding: 16px 18px 20px; }
.card .meta { display: block; margin-bottom: 7px; }
.card:is(a,button) { transition: background-color 220ms var(--ease), transform 260ms var(--ease), box-shadow 260ms var(--ease); will-change: transform; }
.card:is(a,button)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(280px circle at var(--card-x, 50%) var(--card-y, 30%), rgba(255, 255, 255, 0.14), rgba(218, 41, 28, 0.08) 45%, transparent 72%);
  opacity: 0;
  transition: opacity 260ms var(--ease);
  pointer-events: none;
}
.card:is(a,button)::after { content: ""; position: absolute; inset: 0 auto auto 0; z-index: 2; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); pointer-events: none; }
.card:is(a,button):hover { box-shadow: inset 0 0 0 1px var(--field-line), 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(218, 41, 28, 0.14); transform: translateY(-4px); }
.card:is(a,button):hover::before { opacity: 1; }
.card:is(a,button):hover::after { transform: scaleX(1); }
.card:is(a,button):hover :is(h3,strong) { text-decoration: underline; }
button.card { text-align: start; padding: 0; }
.card img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); transition: transform 520ms var(--ease), filter 320ms var(--ease); }
.card:is(a,button):hover img { transform: scale(1.06); filter: brightness(1.06) contrast(1.04); }
.page-index .shorts .card .card-body::after {
  content: "预览案例 →";
  display: inline-block;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.page-index .shorts .card:hover .card-body::after {
  opacity: 1;
  transform: translateX(0);
}
.skill-card img { aspect-ratio: 4 / 3; }
.shorts img { aspect-ratio: 3 / 4; }
.meta { font-weight: 730; color: var(--ink); font-size: .8rem; }
.textlink { border: 0; padding: 0; background: transparent; text-align: start; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); font-size: .9rem; font-weight: 730; }
.split .textlink { margin-top: 18px; }
.flow { display: grid; grid-template-columns: repeat(3,1fr); padding: 0; margin: 0; list-style: none; counter-reset: step; gap: 20px; }
.flow.four { grid-template-columns: repeat(4,1fr); }
.flow li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.flow li::before { content: counter(step,decimal-leading-zero); display: block; margin-bottom: 32px; color: var(--ink); font-weight: 750; font-size: 1.15rem; }
.flow p { margin-top: 8px; color: var(--muted); }
.plate { display: grid; place-items: center; background: var(--surface); color: var(--ink); padding: 30px; min-height: 360px; }
.phone { color: #181818; background: #ffffff; border-radius: 17px; padding: 23px; width: min(240px,100%); transform: rotate(-7deg); box-shadow: 10px 14px 32px #0005; }
.phone img { border-radius: 8px; aspect-ratio: 1.1; object-fit: cover; margin: 13px 0; }
.phone strong { display:block; font-size: 1.15rem; }
.phone small { color: #545454; }
.phone .mark { width: 27px; height: 27px; }
.photo-pair { display:grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: center; }
.photo-pair img { aspect-ratio: 2 / 3; object-fit: cover; }
.photo-pair img:nth-child(2) { margin-top: 34px; }
.subhero { padding-block: clamp(40px,5vw,72px); }
.subhero .cover { aspect-ratio: 1.23; }
.subhero h1, .hero-title { font-size: clamp(2.1rem,4.5vw,3.5rem); line-height: 1.1; }
.hero + .section:not(.flush-top) { border-top: 1px solid var(--line); }
.index-links { display:flex; flex-wrap: wrap; gap: 13px 25px; }
.credits { color: var(--muted); font-size: .83rem; margin-top: 16px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; padding-block: 12px; border-block: 1px solid var(--line); }
.filters .chips { margin: 0; }
.field { padding: 12px 16px; border: 1px solid var(--field-line); background: var(--paper); border-radius: 4px; color: var(--ink); min-height: 48px; max-width: 100%; }
.field::placeholder { color: var(--muted); }
.result-count { color: var(--muted); font-size: .88rem; margin-bottom: 15px; }
.details { border-top: 1px solid var(--line); }
.page-index .details { border-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; align-items: start; }
.page-index .details details:nth-child(-n+2) { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); transition: border-color 200ms var(--ease); }
.details details[open] { border-bottom-color: var(--field-line); }
.details summary { position: relative; list-style: none; padding: 18px 34px 18px 0; font-weight: 700; cursor: pointer; transition: color 180ms var(--ease); }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; font-weight: 400; color: var(--muted); transition: transform 240ms var(--ease), color 200ms var(--ease); }
.details summary:hover::after, .details details[open] summary::after { color: var(--primary); }
.details details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.details p { color: var(--muted); max-width: 65ch; padding-bottom: 17px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.contact p { margin-top: 16px; }
.contact .actions { margin-top: 0; flex-shrink: 0; }
.contact .button { flex-shrink: 0; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; margin-top: 28px; }
.platforms a { display: inline-block; margin-top: 10px; }
.platforms a.textlink { display: inline-flex; margin-top: 12px; }
.news-main { padding-block: 58px 90px; }
.news-intro { margin-bottom: 36px; }
.news-intro p { color: var(--muted); margin-top: 13px; }
.news-feature { width: 100%; overflow: hidden; padding: 0; border: 0; background: var(--surface); color: var(--ink); text-align: left; }
.news-feature > .news-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 22px; padding: clamp(24px,4vw,56px); }
.news-feature time { grid-column: 1 / -1; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-feature .news-title { display: block; font-weight: 500; line-height: 1.15; text-wrap: balance; font-size: clamp(1.75rem,4vw,3.25rem); }
.news-feature .textlink { color: var(--ink); min-height: 44px; }
.news-feature:hover .textlink { text-decoration: underline; }
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; padding: 0; list-style: none; margin: 35px 0 0; }
.news-list li { border-top: 1px solid var(--line); }
.news-list button { width: 100%; min-height: 104px; padding: 18px 0; display: flex; gap: 14px; align-items: center; justify-content: space-between; text-align: left; border: 0; background: none; color: inherit; }
.news-list button:hover .news-title { text-decoration: underline; }
.news-list time { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.news-list .news-title { display: block; margin-top: 7px; font-size: 1.08rem; font-weight: 720; }
.pager { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 23px; }
.pager button:disabled { cursor: default; opacity: .5; }
.footer { border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.footer .shell { padding-block: 39px 24px; }
.footer .top-inner { min-height: auto; align-items: flex-start; }
.footer .nav a { min-height: auto; color: var(--muted); }
.footer .nav a:hover { text-decoration: underline; }
.footer-end { border-top: 1px solid var(--line); color: var(--muted); margin-top: 28px; padding-top: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
.footer-end a:hover { text-decoration: underline; }
dialog { width: min(560px,calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 24px; background: var(--surface); color: var(--ink); border: 0; }
dialog::backdrop { background: #000b; }
dialog:focus { outline: none; }
dialog img { width: 100%; max-height: min(52vh, 420px); object-fit: contain; background: var(--paper); margin-bottom: 14px; }
.dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 16px; }
.dialog-top button { min-height: 44px; padding: 7px 12px; flex-shrink: 0; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dialog-top button:hover { background: var(--paper); }
.dialog-top h2 { font-size: 1.6rem; }
#dialog-content { overflow-wrap: anywhere; }
.dialog-brief { padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--primary); margin-bottom: 16px; font-weight: 600; }
.dialog-meta { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.dialog-plan { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); counter-reset: plan-step; }
.dialog-plan li { counter-increment: plan-step; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.dialog-plan li::before { content: counter(plan-step, decimal-leading-zero); color: var(--primary); font-weight: 750; font-variant-numeric: tabular-nums; }
.dialog-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dialog-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--field-line); font-size: .81rem; color: var(--ink); background: var(--paper); transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease); }
.dialog-tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dialog-sample { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; line-height: 1.65; color: #e1e1e1; margin-bottom: 16px; }
.dialog-sample strong { display: block; color: var(--ink); margin-bottom: 4px; }
.dialog-form { display: grid; gap: 12px; margin-top: 17px; }
.dialog-form label { display: grid; gap: 5px; }
.dialog-form textarea { min-height: 85px; resize: vertical; }
.dialog-form output { color: var(--ink); }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 16px; }
.login-tabs button { min-height: 42px; border: 0; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 650; transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.login-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 -2px 0 var(--primary); }
.login-code-row { display: flex; gap: 8px; align-items: stretch; }
.login-code-row .field { flex: 1; min-width: 0; }
.login-code-btn { flex: none; min-height: 48px; padding: 0 14px; border: 1px solid var(--field-line); background: transparent; color: var(--ink); font-size: .86rem; font-weight: 650; white-space: nowrap; transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
.login-code-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--paper); }
.login-code-btn:disabled { opacity: .6; cursor: default; }
.login-qr { display: grid; justify-items: center; gap: 12px; padding: 20px 14px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.login-qr svg { width: 152px; height: 152px; background: #ffffff; padding: 10px; }
.login-qr p { font-size: .88rem; color: var(--muted); }
@media (max-width: 980px) {
  .shell { width: calc(100% - 54px); }
  .nav { gap: 15px; }
  .top .nav { margin-left: 12px; }
  .cards.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: 12px; }
  .ticker .shell { grid-template-columns: repeat(3,1fr); }
  .ticker b { grid-column: 1 / -1; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 75px; }
  .shell { width: calc(100% - 36px); }
  .top-inner { min-height: 63px; }
  .brand { font-size: 21px; }
  .mark { width: 30px; height: 30px; }
  .login-btn { min-height: 44px; padding: 7px 14px; }
  .menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: none; border: 1px solid var(--field-line); transition: border-color 180ms var(--ease), background-color 180ms var(--ease); }
  .menu:hover, .menu[aria-expanded="true"] { background: var(--surface); border-color: var(--ink); }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 19; background: rgba(0, 0, 0, 0.68); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 280ms var(--ease), visibility 280ms; }
  .nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .top .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 20;
    width: min(300px, 82vw);
    height: 100dvh;
    padding: 0 22px 24px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 48px rgba(0, 0, 0, 0.68);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 300ms var(--ease), visibility 300ms;
  }
  .top .nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 63px; border-bottom: 1px solid var(--line); margin-bottom: 8px; flex: none; }
  .nav-drawer-head span { font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
  .nav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); }
  .nav-close:hover { color: var(--primary); }
  .top .nav a { min-height: 52px; font-size: 1rem; padding-inline: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: color 180ms var(--ease), padding-left 200ms var(--ease); }
  .top .nav a:hover { padding-left: 6px; }
  .top .nav a[aria-current] { padding-left: 12px; color: var(--ink); }
  .top .nav a[aria-current]::after { inset: 15px auto 15px 0; width: 3px; height: auto; }
  .nav-drawer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; flex: none; }
  .hero, .split, .news-feature > .news-copy { grid-template-columns: minmax(0,1fr); }
  .hero { padding-block: 32px 26px; gap: 22px; }
  .home-hero { min-height: 0; padding-block: clamp(196px,56vw,360px) 32px; }
  .home-hero > .shell > *, .home-hero .lead { max-width: 34rem; }
  .home-hero .cover { inset: 0 0 auto; height: clamp(324px,90vw,510px); aspect-ratio: auto; }
  .home-hero .cover::after { background: linear-gradient(180deg,transparent 22%,#18181880 50%,#181818 94%); }
  .home-hero .cover img { object-position: 50% 34%; }
  .hero .lead { margin-top: 14px; }
  .cover, .subhero .cover { aspect-ratio: 1.42; }
  .cover img { object-position: 50% 46%; }
  .composer { margin-top: 22px; }
  .ticker .shell { grid-template-columns: repeat(2,1fr); padding-block: 14px 8px; }
  .section { padding-block: 48px; }
  .flush-top { padding-top: 0; }
  .section-head { margin-bottom: 22px; }
  .cards,.cards.four,.cards.two,.platforms,.audience,.flow,.flow.four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 1rem; }
  .card p,.audience p { font-size: .9rem; }
  .pill { min-height: 44px; }
  .filters .field { width: 100%; }
  .audience { grid-template-columns: 1fr; gap: 0; }
  .page-index .details { grid-template-columns: 1fr; }
  .page-index .details details:nth-child(2) { border-top: 0; }
  .flow li::before { margin-bottom: 12px; }
  .news-main { padding-block: 42px 60px; }
  .news-list { grid-template-columns: 1fr; }
  .contact,.footer .top-inner { align-items: flex-start; flex-direction: column; }
  .footer .nav { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .cards.two,.platforms { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.05rem,10vw,2.5rem); }
}
@media (max-width: 420px) {
  .composer input { padding-inline: 5px; }
  .composer .button .icon { display: none; }
}
@media (max-width: 360px) {
  .composer .button span { display: none; }
  .composer .button .icon { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .scroll-progress { display: none; }
}
.skill-card .card-body, button.card .card-body { display: block; }
.card-body strong { display: block; font-size: 1.08rem; line-height: 1.35; }
.skill-description { display: block; color: var(--muted); font-size: .88rem; line-height: 1.6; margin-top: 7px; }

.skill-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; }
.skill-row { position: relative; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); padding: 18px 0; text-align: start; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: padding-left 220ms var(--ease), border-color 220ms var(--ease); }
.skill-thumb { width: 56px; height: 42px; object-fit: cover; flex: none; background: var(--surface); transition: transform 260ms var(--ease); }
.skill-row:hover .skill-thumb { transform: scale(1.06); }
.skill-row-main { display: grid; gap: 4px; flex: 1; min-width: 0; }
.skill-row-sub { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.skill-row::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--primary); transition: width 260ms var(--ease); }
.skill-row:hover { padding-left: 8px; }
.skill-row:hover::before { width: 48px; }
.skill-row:hover strong { text-decoration: underline; }
.skill-row-meta { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--muted); transition: color 200ms var(--ease); }
.skill-row .meta { flex: none; transition: color 200ms var(--ease); }
.skill-row:hover .meta, .skill-row:hover .skill-row-meta { color: var(--primary); }
.skill-row:hover .skill-row-meta .icon { transform: translateX(4px); }
@media (max-width: 540px) { .skill-overview { grid-template-columns: 1fr; } }

/* Homepage entrance & scroll reveal effects */
.lined > li { position: relative; transition: border-color 240ms var(--ease); }
.lined > li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--primary); transition: width 320ms var(--ease); }
.lined > li:hover::before { width: 64px; }

.visual.contain { position: relative; }
.page-index .visual.contain::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), rgba(218, 41, 28, 0.14), transparent);
  transform: rotate(22deg) translateX(-160%);
  animation: visual-sweep 6.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes visual-sweep {
  0%, 55% { transform: rotate(22deg) translateX(-160%); }
  85%, 100% { transform: rotate(22deg) translateX(340%); }
}
.visual.contain img { transition: transform 600ms var(--ease); }
.visual.contain:hover img { transform: scale(1.03); }

.page-index.has-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.page-index.has-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .page-index.has-motion [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
