/* Skynet Inu v1: corporate satire x machine vision, in the colours of the painted game (see :root). */
:root {
  /* the game's colours: warm umber for the room, amber for what you press, copper for the accent, gunmetal as the
     cool note; red is kept for the dog's lasers and the stamp */
  --ink: #15110f; --panel: #1f1916; --panel2: #2b221d;
  --line: rgba(244,234,217,.13); --line2: rgba(244,234,217,.26);
  --bone: #f4ead9; --bone2: #d9ccb8; --muted: #ad9f8c;
  --amber: #ffb22e; --amber-deep: #c9801a; --copper: #ee7a3d; --steel: #86a0a8; --laser: #ff4530; --gold: #e3b44c; --paper: #efe9db;
  --wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --jp: "Dela Gothic JP", "Hiragino Sans", sans-serif;
  --pad: clamp(18px, 4.4vw, 64px); --max: 1440px;
  --hh: 60px; --th: 44px;
  --notch: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 16px/1.6 var(--wide); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.jp { font-family: var(--jp); font-weight: 400; }
.gut { padding-inline: max(var(--pad), env(safe-area-inset-left, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--max); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--ink); padding: 10px 14px; font: 700 12px var(--mono); }
.skip:focus { top: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: var(--hh); display: flex; align-items: center; gap: 24px; background: rgba(21,17,15,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.brand b { font: 900 16px/1 var(--wide); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; }
.brand .jp { color: var(--copper); font-size: 13px; letter-spacing: .08em; }
.nav-links { margin-left: auto; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 0; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--amber); transition: right .25s var(--ease); }
.nav-links a:hover { color: var(--bone); } .nav-links a:hover::after { right: 0; }

/* buttons: one notch system */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 20px; font: 800 12px/1 var(--wide); font-stretch: 108%; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; clip-path: var(--notch); transition: background .2s, color .2s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--amber); color: var(--ink); }
.btn-red[href]:hover { background: var(--bone); }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: var(--amber); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 11px; }
.nav .btn-sm { margin-left: clamp(4px, 1vw, 16px); }
.soon { display: none; font: 600 9px/1 var(--mono); letter-spacing: .1em; padding: 4px 5px 3px; background: var(--amber); color: var(--ink); font-style: normal; }
.btn[aria-disabled="true"] { background: #2a221d; color: #b5a694; box-shadow: inset 0 0 0 1px rgba(255,178,46,.45); cursor: not-allowed; }
.btn[aria-disabled="true"] .soon { display: inline-block; }

/* contract address */
.ca { display: flex; align-items: stretch; width: 100%; max-width: 31rem; min-height: 46px; border: 1px solid var(--line2); background: var(--panel); }
.ca-k { display: grid; place-items: center; flex: none; padding: 0 13px; background: var(--amber); color: var(--ink); font: 900 12px/1 var(--wide); font-stretch: 125%; letter-spacing: .08em; }
.ca code { flex: 1; min-width: 0; align-self: center; padding: 9px 12px; font: 400 12px/1.5 var(--mono); font-stretch: 75%; color: var(--bone); overflow-wrap: anywhere; user-select: all; }
.ca.empty code { color: var(--muted); user-select: none; letter-spacing: .04em; }
.ca button { flex: none; padding: 0 16px; border-left: 1px solid var(--line2); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; min-width: 84px; transition: background .2s, color .2s; }
.ca button:not(:disabled):hover { background: var(--amber); color: var(--ink); }
.ca button:disabled { color: #6f6a63; cursor: not-allowed; }
.ca button.ok { background: var(--bone); color: var(--ink); }

/* hero */
.hero { position: relative; height: calc(100vh - var(--hh) - var(--th)); height: calc(100svh - var(--hh) - var(--th)); min-height: 560px; max-height: 1100px; overflow: hidden; --split: 41%; --cut: clamp(70px, 8.5vw, 170px); --stripe: 10px; }
.hero-text { position: absolute; left: 0; top: 0; bottom: 0; width: var(--split); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 1.4vw, 24px); align-items: end; padding-top: 28px; padding-bottom: clamp(26px, 5.4vh, 60px); padding-right: clamp(16px, 2vw, 32px); }
.tate { writing-mode: vertical-rl; align-self: start; color: var(--copper); font-size: clamp(32px, 3.3vw, 60px); line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.hero-in { min-width: 0; }
.mark { font: 900 clamp(46px, 5.15vw, 100px)/.84 var(--wide); font-stretch: 125%; letter-spacing: -.035em; text-transform: uppercase; margin-left: -.04em; }
.mark span { display: block; }
.r { color: var(--amber); }
.hook .r { color: var(--copper); }
.hook { margin-top: clamp(18px, 2.6vh, 28px); font: 800 clamp(13px, 1.1vw, 19px)/1.3 var(--wide); font-stretch: 105%; letter-spacing: .03em; text-transform: uppercase; }
.hook span { display: block; }
.lead { margin-top: clamp(12px, 1.8vh, 18px); max-width: 32em; color: var(--bone2); font-size: clamp(15px, 1.08vw, 17px); line-height: 1.55; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3vh, 30px); }
.hero .ca { margin-top: 12px; }

.art-wrap { position: absolute; top: 0; bottom: 0; right: 0; left: var(--split); background: var(--amber); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%); }
.art { position: absolute; inset: 0 0 0 var(--stripe); overflow: hidden; background: #101018; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%); cursor: crosshair; --ox: 36%; --oy: 32%; } /* far enough right that the wrecked office shows through the window */
.art picture, .art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.art img { object-fit: cover; object-position: var(--ox) var(--oy); }
.stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.stage.ready { visibility: visible; }
.box { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border: 1px solid rgba(255,178,46,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.18), inset 0 0 18px rgba(255,178,46,.12); }
.box i { position: absolute; left: -1px; top: -1px; padding: 4px 6px 3px; background: var(--amber); color: var(--ink); font: 500 10px/1.1 var(--mono); font-style: normal; font-stretch: 87.5%; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.eye { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,90,70,.75), rgba(255,178,46,.28) 45%, transparent); mix-blend-mode: screen; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scan { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.scan i { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(transparent, rgba(255,178,46,.06) 80%, rgba(255,70,55,.55) 99.4%, transparent); transform: translateY(-100%); }
.brk { position: absolute; width: 22px; height: 22px; border: 0 solid var(--amber); pointer-events: none; }
.brk.tl { top: 18px; left: 18px; border-width: 2px 0 0 2px; }
.brk.tr { top: 18px; right: 18px; border-width: 2px 2px 0 0; }
.brk.br { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }
.brk.bl { bottom: 18px; left: calc(var(--cut) + 18px); border-width: 0 0 2px 2px; }
.cap { position: absolute; right: calc(var(--pad) * .6 + 24px); bottom: 42px; display: grid; justify-items: end; gap: 6px; padding: 12px 14px; background: rgba(21,17,15,.72); border: 1px solid var(--line); backdrop-filter: blur(6px); font: 500 11px/1.4 var(--mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; color: var(--bone2); text-align: right; }
.cap b { color: var(--bone); font-weight: 700; }
.kills { color: var(--laser); }
.kills output { font-variant-numeric: tabular-nums; }
.aim { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.fire { padding: 7px 10px 6px; border: 1px solid var(--amber); color: var(--bone); font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); transition: background .2s, color .2s; }
.fire:hover { background: var(--amber); color: var(--ink); }

/* ticker tape */
.tape { height: var(--th); overflow: hidden; border-block: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; }
.track { display: flex; width: max-content; }
.tape ul { display: flex; flex: none; }
.tape li { display: flex; align-items: center; gap: 8px; padding: 0 22px; border-right: 1px solid var(--line); white-space: nowrap; font: 400 11px/1 var(--mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tape b { color: var(--bone); font-weight: 600; }
.up, .dn { display: inline-block; width: 9px; height: 8px; font-size: 0; }
.up { background: var(--bone); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dn { background: var(--laser); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* chapters */
.ch { position: relative; padding-block: clamp(44px, 4.2vw, 64px); }
.ch + .ch { border-top: 1px solid var(--line); }
.ch .wrap { position: relative; }
.eb { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.eb i { width: 7px; height: 7px; background: var(--amber); }
.eb .jp { color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.ch-h h2 { font: 900 clamp(32px, 3.6vw, 58px)/.98 var(--wide); font-stretch: 118%; letter-spacing: -.03em; text-wrap: balance; }
.ch-h h2 em { font-style: normal; color: var(--amber); }
.side { position: absolute; right: max(4px, calc(var(--pad) / 2 - 16px)); top: 0; writing-mode: vertical-rl; font-size: 13px; letter-spacing: .3em; color: #615c55; padding-left: 10px; border-left: 1px solid var(--line); white-space: nowrap; }

/* chapter 1: exhibit */
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "head sheet" "lin sheet"; column-gap: clamp(40px, 6vw, 96px); row-gap: 32px; align-items: start; }
.ex .ch-h { grid-area: head; }
.filing { grid-area: sheet; padding: 8px 0 0 10px; }
.lineage { grid-area: lin; }
.sheet { position: relative; background: var(--paper); color: #1b1a17; padding: clamp(22px, 2.6vw, 38px) clamp(22px, 3vw, 44px) clamp(30px, 3.4vw, 50px); transform: rotate(-1.1deg); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 30px 60px -20px rgba(0,0,0,.7), 0 10px 22px -10px rgba(0,0,0,.6); font-family: Georgia, "Times New Roman", serif; }
.sh-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 3px double #1b1a17; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.sheet blockquote p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.62; text-indent: 2em; text-align: justify; hyphens: manual; }
.sheet mark { color: inherit; padding: 0 1px; background: linear-gradient(100deg, rgba(255,178,46,0) 0, rgba(255,178,46,.5) .4em, rgba(255,178,46,.42) calc(100% - .4em), rgba(255,178,46,0)) no-repeat 0 60% / 100% 78%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stamp { position: absolute; right: clamp(14px, 3vw, 40px); bottom: clamp(-30px, -2vw, -18px); display: grid; justify-items: center; gap: 2px; padding: 8px 14px 7px; border: 3px solid #d3170b; outline: 1px solid #d3170b; outline-offset: 3px; color: #d3170b; transform: rotate(-9deg); mix-blend-mode: multiply; font-family: var(--wide); text-transform: uppercase; }
.stamp b { font-weight: 900; font-stretch: 125%; font-size: clamp(14px, 1.3vw, 19px); line-height: 1; letter-spacing: .04em; }
.stamp .jp { font-size: 11px; letter-spacing: .3em; margin-top: 3px; }
.filing figcaption { margin-top: 44px; font: 400 11px/1.6 var(--mono); font-stretch: 87.5%; color: var(--muted); max-width: 60ch; }
.filing .fn { margin-top: 4px; color: #7d776f; }
.filing .fn::before { content: "* "; color: var(--copper); }
.lin-lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--bone2); max-width: 30em; margin-bottom: 28px; }
.tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.tl::before, .tl::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line2); }
.tl::after { background: var(--amber); transform-origin: left; }
.tl li { position: relative; padding: 26px 16px 0 0; display: grid; gap: 4px; align-content: start; }
.tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--muted); z-index: 1; }
.tl .v { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl b { font: 900 clamp(15px, 1.25vw, 19px)/1.1 var(--wide); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; margin-top: 4px; }
.tl .d { font-size: 14px; color: var(--muted); }
.tl .now b { color: var(--amber); }
.tl .now::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,178,46,.22); }
.tl em { justify-self: start; margin-top: 8px; padding: 4px 9px 3px 7px; background: var(--amber); color: var(--ink); font: 600 9.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }

/* chapter 2: acquire */
.ch2 .ch-h { margin-bottom: clamp(24px, 2.6vw, 36px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.steps li { padding: 18px clamp(18px, 2.4vw, 36px) 0; border-left: 1px solid var(--line); display: grid; align-content: start; gap: 6px; min-width: 0; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .n { font: 900 13px/1 var(--mono); color: var(--copper); letter-spacing: .08em; }
.steps h3 { font: 800 clamp(18px, 1.5vw, 22px)/1.15 var(--wide); font-stretch: 112%; letter-spacing: -.005em; }
.steps p { color: var(--muted); font-size: 15px; }
.steps .ca { margin-top: 8px; }
.risks { margin-top: clamp(28px, 2.6vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px clamp(24px, 4vw, 64px); align-items: start; padding: 20px 0 0; border-top: 2px solid var(--bone); }
.risks h3 { font: 800 13px/1.3 var(--wide); font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; display: grid; gap: 8px; }
.risks h3 .jp { color: var(--copper); font-size: 13px; letter-spacing: .14em; }
.risks li { display: grid; grid-template-columns: 36px minmax(0, auto) minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 10px 0; }
.risks li + li { border-top: 1px solid var(--line); }
.risks li:first-child { padding-top: 0; }
.risks .k { font: 500 11px/1 var(--mono); color: var(--muted); }
.risks b { font: 900 clamp(17px, 1.45vw, 22px)/1.2 var(--wide); font-stretch: 118%; }
.risks li > span:last-child { color: var(--bone2); font-size: clamp(15px, 1.15vw, 17px); }

/* closing */
/* the closing stands in the painted wood of the game */
.end { position: relative; isolation: isolate; border-top: 1px solid var(--line); padding-block: clamp(44px, 4.6vw, 68px) clamp(40px, 4vw, 60px); overflow: hidden; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 0%, rgba(21,17,15,.9) 34%, rgba(21,17,15,.5) 72%, rgba(21,17,15,.25) 100%), url(/assets/img/poster-1280.webp) center 42% / cover; }
.end-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.end-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.trophy { position: relative; width: clamp(130px, 12vw, 190px); }
.trophy img { width: 100%; -webkit-mask-image: radial-gradient(115% 80% at 50% 55%, #000 60%, transparent 92%); mask-image: radial-gradient(115% 80% at 50% 55%, #000 60%, transparent 92%); }
.trophy figcaption { position: absolute; left: 30%; width: 50%; top: 70.5%; height: 14.5%; display: grid; place-content: center; text-align: center; color: #4a2c05; font: 900 clamp(8px, .8vw, 12px)/1.15 var(--wide); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; mix-blend-mode: multiply; opacity: .85; }
.trophy figcaption span + span { font: 500 clamp(6px, .55vw, 8.5px)/1.2 var(--mono); letter-spacing: .12em; }
.slogan { font: 900 clamp(48px, 7.4vw, 140px)/.86 var(--wide); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }
.slogan em { font-style: normal; color: var(--amber); }
.end-jp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: clamp(16px, 1.8vw, 26px) 0 clamp(18px, 2vw, 28px); }
.end-jp .jp { color: var(--copper); font-size: clamp(20px, 1.9vw, 28px); letter-spacing: .08em; }
.end-en { color: var(--muted); font-size: 15px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--panel); padding-block: 40px 48px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .5fr) minmax(0, 1.5fr); gap: 32px clamp(28px, 4vw, 64px); }
.f-about p { margin: 12px 0 16px; max-width: 34em; }
.f-about .brand b { font-size: 14px; }
.lab { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); margin-bottom: 12px; }
.f-links a { display: block; width: max-content; padding: 2px 0; color: var(--bone2); }
.f-links a[href]:hover { color: var(--amber); }
.f-links a[aria-disabled="true"] { color: #6f6a63; }
.f-links a[aria-disabled="true"]::after { content: " · soon"; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.f-legal p + p { margin-top: 8px; font-size: 12px; color: #7d776f; }

/* motion (JS-enhanced, reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .js .art-wrap { animation: wipe .8s cubic-bezier(.7,0,.2,1) both; }
  .js .rise { animation: rise .52s var(--ease) both; }
  .js .mark.rise { animation-delay: .06s; } .js .hook.rise { animation-delay: .14s; } .js .lead.rise { animation-delay: .2s; }
  .js .btns.rise { animation-delay: .26s; } .js .ca.rise { animation-delay: .32s; } .js .tate.rise { animation-delay: .1s; }
  .js .box { animation: lock .26s steps(3) both; } .js .box:nth-child(1) { animation-delay: .56s; } .js .box:nth-child(2) { animation-delay: .64s; } .js .box:nth-child(3) { animation-delay: .72s; }
  .js .brk, .js .cap { animation: fade .3s .55s both; }
  .eye { animation: pulse 2.8s ease-in-out infinite; }
  .scan i { animation: scan 7.5s linear 1s infinite; }
  .track { animation: tape 52s linear infinite; }
  .tape:hover .track { animation-play-state: paused; }
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .sheet.rv { transform: rotate(-1.1deg) translateY(18px); } .js .sheet.rv.in { transform: rotate(-1.1deg); }
  .js .sheet mark { background-size: 0% 78%; transition: background-size .75s .45s cubic-bezier(.6,0,.3,1); }
  .js .sheet.in mark { background-size: 100% 78%; }
  .js .stamp { opacity: 0; }
  .js .sheet.in .stamp { animation: thunk .34s 1.25s cubic-bezier(.3,1.5,.5,1) both; }
  .js .tl::after { transform: scaleX(0); transition: transform 1.1s .2s cubic-bezier(.6,0,.3,1); }
  .js .lineage.in .tl::after { transform: scaleX(1); }
  .js .tl li { opacity: .35; transition: opacity .4s; } .js .lineage.in .tl li { opacity: 1; }
  .js .lineage.in .tl li:nth-child(1) { transition-delay: .2s; } .js .lineage.in .tl li:nth-child(2) { transition-delay: .6s; } .js .lineage.in .tl li:nth-child(3) { transition-delay: 1s; }
  .js .tl em { opacity: 0; } .js .lineage.in .tl em { animation: thunk .3s 1.35s cubic-bezier(.3,1.5,.5,1) both; }
}
@keyframes wipe { from { clip-path: polygon(0 0, 0 0, var(--cut) 100%, var(--cut) 100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes lock { from { opacity: 0; transform: scale(1.06); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.82); } }
@keyframes scan { to { transform: translateY(560%); } }
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes thunk { from { opacity: 0; transform: rotate(-9deg) scale(1.7); } to { opacity: 1; } }

/* responsive */
@media (max-width: 1180px) {
  .hero { --split: 44%; }
  .art { --ox: 30%; }
  .ex { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .side { display: none; }
}
@media (max-width: 860px) {
  :root { --hh: 56px; }
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; --cut: 0px; --stripe: 0px; }
  .art-wrap { position: relative; left: auto; order: -1; aspect-ratio: 932 / 704; clip-path: none; border-bottom: 4px solid var(--amber); }
  .art { --ox: 50%; --oy: 50%; }
  .hero-text { position: relative; width: auto; padding-top: 22px; padding-bottom: 30px; align-items: start; }
  .brk { width: 14px; height: 14px; } .brk.tl, .brk.tr { top: 10px; } .brk.bl, .brk.br { bottom: 10px; } .brk.tl, .brk.bl { left: 10px; } .brk.tr, .brk.br { right: 10px; }
  .box i { font-size: 7.5px; padding: 3px 4px 2px; }
  .cap { right: 8px; bottom: 8px; padding: 7px 8px; gap: 4px; font-size: 8.5px; }
  .cap > p:first-child, .aim span { display: none; }
  .tate { font-size: 30px; margin-top: 4px; }
  .mark { font-size: clamp(44px, 13.2vw, 96px); }
  .hook { font-size: clamp(13px, 3.6vw, 17px); }
  .ex { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sheet" "lin"; row-gap: 32px; }
  .sheet { padding-bottom: 72px; }
  .sheet blockquote p { text-align: left; }
  .filing { padding: 0; }
  .lineage { align-self: auto; margin-top: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li:first-child { padding: 18px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .risks { grid-template-columns: minmax(0, 1fr); }
  .risks li { grid-template-columns: 28px minmax(0, 1fr); }
  .risks li > span:last-child { grid-column: 2; }
  .end-in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .trophy { width: 120px; }
  .slogan { white-space: normal; font-size: clamp(48px, 15vw, 110px); }
  .slogan span { display: block; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .brand .jp { display: none; }
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl::before, .tl::after { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl::after { transform-origin: top; }
  .js .tl::after { transform: scaleY(0); } .js .lineage.in .tl::after { transform: scaleY(1); }
  .tl li { padding: 0 0 18px 28px; }
  .tl li:last-child { padding-bottom: 0; }
  .btns .btn { flex: 1 1 auto; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan { display: none; }
}
