@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+JP:wght@400;500;600;700&family=Roboto+Condensed:wght@500;600;700&display=swap');

:root {
  --black: #101010;
  --blue: #063ee9;
  --gray: #f7f7f8;
  --line: #dedfe3;
  --white: #fff;
  --body: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  --sans: var(--body);
  --display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --layout: 1240px;
  --gutter: clamp(22px, 4vw, 54px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--black); background: var(--white); font-family: var(--body); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.is-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.layout { width: min(calc(100% - (var(--gutter) * 2)), var(--layout)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--blue); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-label { margin: 0; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2, .works-heading h2 { margin: 12px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; width: 100%; color: var(--white); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.site-header__inner::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(149,205,234,.32); content: ""; transform: scaleX(0); transform-origin: left; animation: system-rule-in 1.4s cubic-bezier(.22,1,.36,1) .85s forwards; }
.logo { font-family: var(--mono); font-size: 25px; font-weight: 600; letter-spacing: .16em; }
.global-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 48px); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.global-nav a { position: relative; padding-block: 10px; }
.global-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: #2e63ff; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.global-nav a:hover::after, .global-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.hero { --hero-accent: #ff4a27; position: relative; isolation: isolate; min-height: max(720px, 100svh); overflow: hidden; color: var(--white); background: #020506; }
.hero::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, #020506 0%, rgba(2,5,6,.98) 33%, rgba(2,5,6,.42) 55%, transparent 74%); content: ""; pointer-events: none; }
.hero::after { position: absolute; z-index: 6; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(139,198,227,.52); content: ""; }
.hero__grid { position: absolute; z-index: 0; inset: 0; opacity: .18; background-image: linear-gradient(rgba(135,204,238,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(135,204,238,.06) 1px, transparent 1px); background-size: 78px 78px; -webkit-mask-image: linear-gradient(90deg, transparent 34%, #000 64%, transparent); mask-image: linear-gradient(90deg, transparent 34%, #000 64%, transparent); pointer-events: none; }
.hero__scanlines { position: absolute; z-index: 5; inset: 0; opacity: .16; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(137,204,234,.035) 3px 4px); pointer-events: none; }
.hero__scanlines::after { position: absolute; right: 0; left: 0; height: 14%; background: linear-gradient(180deg, transparent, rgba(153,218,246,.055), transparent); content: ""; animation: scan-sweep 6s linear infinite; }
.hero__inner { position: relative; z-index: 4; display: flex; min-height: max(720px, 100svh); align-items: center; padding-top: 112px; padding-bottom: 110px; pointer-events: none; }
.hero__copy { width: min(610px, 47vw); pointer-events: auto; }
.hero h1 { margin: 0; font-size: clamp(52px, 5.15vw, 78px); font-weight: 600; line-height: 1.37; letter-spacing: -.05em; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--hero-accent); font-style: normal; text-shadow: 0 0 26px rgba(255,74,39,.14); }
.hero__copy > p { max-width: 580px; margin: 32px 0 0; color: rgba(235,245,250,.8); font-size: 13px; font-weight: 500; line-height: 2.15; letter-spacing: .05em; }
.primary-button { position: relative; display: flex; width: min(100%, 380px); align-items: center; justify-content: space-between; min-height: 72px; margin-top: 35px; padding-inline: 28px; border: 1px solid rgba(150,210,238,.78); color: #f4fafc; background: rgba(4,12,16,.34); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; transition: color .25s, border-color .25s, background .25s, transform .25s; backdrop-filter: blur(8px); }
.primary-button::after { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-top: 1px solid #91cae6; border-right: 1px solid #91cae6; content: ""; }
.primary-button:hover { border-color: var(--hero-accent); color: #fff; background: rgba(255,74,39,.11); transform: translateY(-2px); }
.hero__visual { position: absolute; z-index: 3; top: 88px; right: max(var(--gutter), calc((100vw - var(--layout)) / 2)); bottom: 88px; left: 47%; transition: opacity .45s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.hero__visual--map, .hero--network .hero__visual--process { visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(22px); }
.hero--network .hero__visual--map { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.control-flow { --flow-progress: 0; position: relative; display: grid; height: 100%; align-content: center; gap: 7px; margin: 0; padding: 8px 0 70px 7vw; list-style: none; }
.control-flow::before, .control-flow::after { position: absolute; z-index: 2; top: 14%; left: calc(7vw - 27px); width: 1px; height: 66%; content: ""; pointer-events: none; }
.control-flow::before { background: rgba(145,202,230,.2); }
.control-flow::after { background: #91cae6; box-shadow: 0 0 12px rgba(145,202,230,.8), 0 8px 0 2px #91cae6; transform: scaleY(var(--flow-progress)); transform-origin: top; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.control-flow li { position: relative; min-height: 66px; color: #dff4fe; font-family: var(--mono); opacity: .7; transition: opacity .28s, color .28s, transform .28s; }
.control-flow li::before, .control-flow li::after { position: absolute; left: -12px; width: 12px; height: 12px; border-left: 1px solid currentColor; content: ""; }
.control-flow li::before { top: -1px; border-top: 1px solid currentColor; }
.control-flow li::after { bottom: -1px; border-bottom: 1px solid currentColor; }
.control-flow li > button { position: relative; display: grid; width: 100%; min-height: 66px; grid-template-columns: 30px minmax(130px,.72fr) minmax(145px,1fr); align-items: center; padding: 0; border: 0; border-top: 1px solid rgba(145,202,230,.34); border-bottom: 1px solid rgba(145,202,230,.2); color: inherit; text-align: left; background: transparent; font: inherit; cursor: pointer; transition: border-color .28s, background .28s; }
.control-flow li > button:hover, .control-flow li > button:focus-visible { border-color: rgba(190,231,249,.82); outline: none; background: rgba(145,202,230,.055); }
.control-flow li b { color: #8fcce8; font-size: 9px; font-weight: 500; }
.control-flow li > button > strong { font-family: var(--display); font-size: clamp(16px,1.55vw,23px); font-weight: 600; letter-spacing: .02em; }
.control-flow li > button > span { display: flex; min-height: 42px; align-items: center; padding: 0 13px; border-left: 1px solid rgba(145,202,230,.2); color: rgba(225,241,248,.86); background-image: repeating-linear-gradient(0deg,transparent 0 8px,rgba(145,202,230,.055) 8px 9px); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .035em; }
.control-flow li > button > i { position: absolute; right: 0; bottom: -1px; width: 0; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; transition: width .55s cubic-bezier(.22,1,.36,1); }
.control-flow__detail { display: grid; max-height: 0; grid-template-columns: minmax(125px,.72fr) minmax(170px,1fr); column-gap: 14px; overflow: hidden; margin-left: 30px; padding: 0 13px; border-right: 1px solid transparent; border-bottom: 1px solid transparent; opacity: 0; transition: max-height .45s cubic-bezier(.22,1,.36,1), padding .35s, opacity .25s, border-color .25s; }
.control-flow__detail strong { color: #f2fbff; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .025em; }
.control-flow__detail p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: rgba(225,241,248,.86); font-family: var(--sans); font-size: 11px; font-weight: 500; line-height: 1.7; }
.control-flow__detail small { margin-top: 8px; color: #83c4e0; font-size: 7px; letter-spacing: .09em; }
.control-flow li.is-complete { opacity: .88; }
.control-flow li.is-complete > button > strong::after { margin-left: 9px; color: #91cae6; font-family: var(--mono); font-size: 7px; content: "OK"; vertical-align: middle; }
.control-flow li.is-active { z-index: 1; color: #fff; opacity: 1; transform: translateX(-10px); }
.control-flow li.is-active > button { border-color: rgba(145,202,230,.82); }
.control-flow li.is-active > button > i { width: 54%; }
.control-flow li.is-active > button > strong { animation: stage-commit .5s steps(3,end); }
.control-flow li.is-active > button > span::after { width: 34%; height: 1px; margin-left: auto; background: currentColor; box-shadow: 0 0 8px currentColor; content: ""; animation: data-transfer .85s cubic-bezier(.22,1,.36,1); transform-origin: left; }
.control-flow.is-manual li { opacity: .38; }
.control-flow.is-manual li.is-active { opacity: 1; }
.control-flow.is-manual { gap: 3px; }
.control-flow.is-manual li:not(.is-active), .control-flow.is-manual li:not(.is-active) > button { min-height: 48px; }
.control-flow.is-manual li.is-active .control-flow__detail { max-height: 92px; padding-block: 11px 13px; border-color: rgba(145,202,230,.28); opacity: 1; }
.control-flow li:last-child.is-active { color: var(--hero-accent); }
.control-flow li:last-child > button > span { color: rgba(255,100,68,.8); }
.hero__visual--map::after { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(145,210,238,.42); box-shadow: 0 0 16px rgba(145,210,238,.36); content: ""; pointer-events: none; animation: network-sweep 5.4s cubic-bezier(.45,0,.55,1) infinite; }
.network-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: .88; pointer-events: none; }
.production-map { position: absolute; z-index: 2; inset: 0; color: #dff4fe; font-family: var(--mono); }
.production-map button { color: inherit; font: inherit; cursor: pointer; }
.production-map__path { position: absolute; z-index: 6; top: 0; right: 0; left: 0; display: grid; grid-template-columns: 64px 1fr auto; min-height: 34px; align-items: center; border-top: 1px solid rgba(145,202,230,.26); border-bottom: 1px solid rgba(145,202,230,.18); color: rgba(188,225,242,.64); background: rgba(2,8,11,.42); font-size: 8px; letter-spacing: .12em; backdrop-filter: blur(3px); }
.production-map__path button { height: 100%; border: 0; border-right: 1px solid rgba(145,202,230,.22); background: transparent; font-size: 8px; text-transform: uppercase; }
.production-map__path button:not(:disabled):hover, .production-map__path button:not(:disabled):focus-visible { color: var(--hero-accent); background: rgba(255,74,39,.08); }
.production-map__path button:disabled { color: rgba(188,225,242,.22); cursor: default; }
.production-map__path > span { padding-left: 12px; }
.production-map__path i { padding-right: 8px; color: #91cae6; font-style: normal; }
.production-map__path i::before { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; content: ""; animation: node-pulse 1.6s ease-in-out infinite; }
.production-map__stages { position: absolute; z-index: 4; inset: 34px 0 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.production-map__stages li { position: absolute; left: var(--stage-x); top: var(--stage-y); min-width: 0; transform: translate(-50%, -50%); }
.production-map__stages li:nth-child(1) { --stage-x: 22%; --stage-y: 21%; }
.production-map__stages li:nth-child(2) { --stage-x: 51%; --stage-y: 16%; }
.production-map__stages li:nth-child(3) { --stage-x: 39%; --stage-y: 47%; }
.production-map__stages li:nth-child(4) { --stage-x: 61%; --stage-y: 70%; }
.production-map__stages li:nth-child(5) { --stage-x: 79%; --stage-y: 43%; }
.production-map__stages li:nth-child(6) { --stage-x: 89%; --stage-y: 72%; }
.production-map__stages button { position: relative; display: grid; min-width: 92px; grid-template-columns: 20px 1fr; min-height: 48px; align-content: center; padding: 7px 10px; border: 1px solid rgba(145,202,230,.48); text-align: left; background: rgba(2,8,11,.8); box-shadow: 0 0 20px rgba(70,177,220,.05); opacity: .76; pointer-events: auto; transition: opacity .22s, border-color .22s, color .22s, background .22s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .22s; }
.production-map__stages button::before, .production-map__stages button::after { position: absolute; width: 8px; height: 8px; content: ""; pointer-events: none; }
.production-map__stages button::before { top: -1px; left: -1px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.production-map__stages button::after { right: -1px; bottom: -1px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.production-map__stages b { align-self: center; color: #79b8d6; font-size: 7px; font-weight: 500; }
.production-map__stages strong { font-family: var(--display); font-size: clamp(11px, 1.05vw, 15px); font-weight: 600; letter-spacing: .04em; }
.production-map__stages span { grid-column: 2; margin-top: 3px; color: rgba(211,234,244,.72); font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .025em; white-space: nowrap; }
.production-map__stages button:hover, .production-map__stages button:focus-visible { border-color: #d7f3ff; color: #fff; opacity: 1; outline: none; transform: scale(1.05); }
.production-map.is-auto .production-map__stages button.is-traversed { border-color: rgba(255,74,39,.58); color: rgba(255,215,207,.82); background: rgba(255,74,39,.07); box-shadow: 0 0 18px rgba(255,74,39,.12); opacity: .78; }
.production-map.is-auto .production-map__stages button.is-traversed b, .production-map.is-auto .production-map__stages button.is-traversed span { color: rgba(255,151,130,.7); }
.production-map__stages button.is-active { z-index: 2; border-color: var(--hero-accent); color: #fff; background: rgba(31,15,12,.92); box-shadow: 0 0 0 1px rgba(255,74,39,.16), 0 0 30px rgba(255,74,39,.22); opacity: 1; transform: scale(1.1); }
.production-map.is-deep .production-map__stages button:not(.is-active) { opacity: .3; }
.production-map__detail { position: absolute; z-index: 3; inset: 34px 0 0; pointer-events: none; }
.production-map__detail header { position: absolute; z-index: 5; bottom: 0; left: 0; width: min(48%, 300px); min-height: 98px; padding: 13px 14px; border-top: 1px solid rgba(145,202,230,.3); border-right: 1px solid rgba(145,202,230,.2); background: rgba(2,9,12,.86); backdrop-filter: blur(5px); pointer-events: none; }
.production-map__detail header > span { display: block; margin-bottom: 7px; color: #70b5d3; font-size: 7px; letter-spacing: .14em; }
.production-map__detail header strong { display: block; color: #f2fbff; font-family: var(--display); font-size: clamp(16px, 1.5vw, 22px); letter-spacing: .03em; }
.production-map__detail header p { margin: 7px 0 0; color: rgba(225,241,248,.84); font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.7; }
.production-map__children { position: absolute; inset: 0; pointer-events: none; }
.production-map__children button { position: absolute; z-index: 4; left: var(--node-x); top: var(--node-y); width: clamp(78px, 8.6vw, 112px); min-height: 48px; padding: 7px 6px; border: 1px solid rgba(145,202,230,.4); text-align: center; background: rgba(3,13,17,.84); font-size: 8px; letter-spacing: .06em; opacity: .82; pointer-events: auto; transform: translate(-50%, -50%); transition: border-color .2s, color .2s, background .2s, transform .3s cubic-bezier(.22,1,.36,1), opacity .2s, box-shadow .2s; }
.production-map__children button::before { position: absolute; top: 50%; left: -8px; width: 8px; height: 1px; background: rgba(145,202,230,.4); content: ""; }
.production-map__children button:hover, .production-map__children button:focus-visible { border-color: #b5e8ff; color: #fff; outline: none; transform: translate(-50%, -50%) scale(1.06); }
.production-map__children button.is-active { border-color: var(--hero-accent); color: #fff; background: rgba(255,74,39,.12); box-shadow: 0 0 24px rgba(255,74,39,.2); transform: translate(-50%, -50%) scale(1.08); }
.production-map.is-deep .production-map__children button:not(.is-active) { opacity: .36; }
.production-map.is-auto .production-map__children button { border-color: rgba(255,74,39,.5); color: rgba(255,223,216,.86); background: rgba(255,74,39,.075); box-shadow: 0 0 16px rgba(255,74,39,.12); opacity: .76; animation: child-group-pulse 2.1s ease-in-out infinite; }
.production-map.is-auto .production-map__children button::before { background: rgba(255,74,39,.62); box-shadow: 0 0 8px rgba(255,74,39,.4); }
.production-map.is-auto .production-map__children button.is-active { border-color: rgba(255,74,39,.5); color: rgba(255,223,216,.86); background: rgba(255,74,39,.075); box-shadow: 0 0 16px rgba(255,74,39,.12); opacity: .76; transform: translate(-50%, -50%); }
.production-map:not(.is-auto) .production-map__children button { border-color: rgba(255,74,39,.38); color: rgba(255,211,201,.72); background: rgba(255,74,39,.055); box-shadow: 0 0 13px rgba(255,74,39,.08); opacity: .58; }
.production-map:not(.is-auto) .production-map__children button::before { background: rgba(255,74,39,.5); box-shadow: 0 0 7px rgba(255,74,39,.3); }
.production-map:not(.is-auto) .production-map__children button.is-active { border-color: var(--hero-accent); color: #fff; background: rgba(255,74,39,.14); box-shadow: 0 0 26px rgba(255,74,39,.24); opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.production-map__children button small { display: block; margin-top: 6px; color: rgba(205,232,244,.72); font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .025em; }
.production-map__principles { position: absolute; inset: 0; pointer-events: none; }
.production-map__principles span { position: absolute; z-index: 3; left: var(--node-x); top: var(--node-y); padding: 6px 8px 6px 16px; border: 1px solid rgba(145,202,230,.2); color: rgba(215,237,246,.68); background: rgba(3,12,16,.74); font-size: 7px; letter-spacing: .05em; white-space: nowrap; transform: translate(-50%, -50%); animation: node-receive .38s cubic-bezier(.22,1,.36,1) both; }
.production-map__principles span::before { position: absolute; top: 50%; left: 7px; width: 4px; height: 4px; background: #91cae6; box-shadow: 0 0 7px #91cae6; content: ""; transform: translateY(-50%); }
.production-map__principles span:first-child { border-color: rgba(255,74,39,.46); color: #fff; }
.production-map__principles span:first-child::before { background: var(--hero-accent); box-shadow: 0 0 8px var(--hero-accent); }
.production-map.is-auto .production-map__principles span, .production-map.is-auto .production-map__principles span:first-child { border-color: rgba(255,74,39,.32); color: rgba(255,215,207,.72); background: rgba(255,74,39,.06); }
.production-map.is-auto .production-map__principles span::before, .production-map.is-auto .production-map__principles span:first-child::before { background: rgba(255,103,73,.76); box-shadow: 0 0 7px rgba(255,74,39,.5); }
.production-map:not(.is-auto) .production-map__principles span, .production-map:not(.is-auto) .production-map__principles span:first-child { border-color: rgba(255,74,39,.34); color: rgba(255,215,207,.76); background: rgba(255,74,39,.065); }
.production-map:not(.is-auto) .production-map__principles span::before, .production-map:not(.is-auto) .production-map__principles span:first-child::before { background: rgba(255,103,73,.82); box-shadow: 0 0 7px rgba(255,74,39,.52); }
.production-map__detail.is-changing { animation: stage-commit .42s steps(3,end); }
.hero__timecode { position: absolute; bottom: 50px; left: 0; color: rgba(152,200,222,.64); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.hero-switch { position: absolute; right: 0; bottom: 30px; display: flex; pointer-events: auto; }
.hero-switch button { min-width: 150px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(145,202,230,.36); color: rgba(221,240,249,.52); background: rgba(2,5,6,.82); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; cursor: pointer; transition: color .2s,border-color .2s,background .2s; }
.hero-switch button + button { margin-left: -1px; }
.hero-switch button[aria-pressed="true"] { z-index: 1; border-color: #91cae6; color: #fff; background: rgba(11,34,43,.82); }
.hero-switch button b { color: var(--hero-accent); font-weight: 500; }

.works-section { padding-block: 74px 92px; background: var(--gray); scroll-margin-top: 0; }
.works-heading { display: grid; grid-template-columns: 150px 310px 1fr; gap: 28px; align-items: baseline; margin-bottom: 44px; }
.works-heading h2 { margin: 0; font-family: var(--display); letter-spacing: .01em; }
.works-heading > p:last-child { max-width: 540px; margin: 0; color: #4d4d4d; font-size: 14px; font-weight: 500; line-height: 1.85; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.work-card { overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.work-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.work-card__image { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: #fff; }
.work-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.work-card:hover .work-card__image img { transform: scale(1.02); }
.work-card__body { padding: 24px 25px 23px; }
.work-card__category { margin: 0 0 10px; color: #555; font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.work-card h3 { margin: 0; font-family: var(--display); font-size: 27px; }
.work-card__description { min-height: 6em; margin: 14px 0 18px; font-size: 14px; line-height: 1.85; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.work-card__tags li { padding: 7px 9px; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; font-weight: 600; }
.work-card__tags i { margin-right: 4px; color: var(--blue); }
.text-link { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue); font-size: 13px; font-weight: 700; }

.service-section { padding-block: 82px 94px; scroll-margin-top: 20px; }
.service-section .section-heading { margin-bottom: 44px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin: 0; padding: 0; list-style: none; }
.service-grid li > i { display: block; margin-bottom: 26px; color: var(--blue); font-size: 38px; line-height: 1; }
.service-grid h3 { margin: 0 0 13px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.service-grid p { margin: 0; color: #3f3f3f; font-size: 13px; line-height: 1.85; }

.quality-section { padding-block: 78px 82px; background: var(--gray); scroll-margin-top: 20px; }
.quality-section .section-heading, .process-section .section-heading { margin-bottom: 36px; }
.process-section { padding-block: 82px 84px; scroll-margin-top: 30px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.process-grid li { position: relative; min-height: 184px; padding: 0 30px 38px 0; }
.process-grid li:not(:last-child)::after { position: absolute; top: 42px; right: 14px; font-family: bootstrap-icons; font-size: 14px; content: "\f285"; }
.process-grid b { color: var(--blue); font-family: var(--display); font-size: 14px; }
.process-grid h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.process-grid p { margin: 0; color: #4d4d4d; font-size: 14px; line-height: 1.8; }

.about-section { display: grid; grid-template-columns: .9fr 1.4fr; padding-block: 10px 76px; }
.about-section > div { padding-right: 68px; }
.about-section > div + div { padding-right: 0; padding-left: 68px; border-left: 1px solid var(--line); }
.about-section h2 { margin: 12px 0 20px; font-family: var(--display); font-size: 28px; }
.about-section__profile > p:last-child { margin: 0; font-size: 15px; line-height: 1.85; }
.about-section__tools ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 16px; margin: 0; padding: 6px 0 0; list-style: none; }
.about-section__tools li { display: grid; gap: 8px; justify-items: center; font-family: var(--display); font-size: 12px; font-weight: 600; }
.tool-icon { width: 34px; height: 34px; object-fit: contain; filter: invert(23%) sepia(99%) saturate(5868%) hue-rotate(230deg) brightness(83%) contrast(114%); transition: filter .25s ease; }
.tool-icon--js-shield { display: block; filter: none; }
.tool-icon__js-base, .tool-icon__js-shade { transition: fill .25s ease; }
.tool-icon[src*="gulp-plain"] { width: 44px; height: 44px; margin: -5px; }

.contact-section { display: grid; grid-template-columns: 420px 1fr; gap: 34px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.contact-heading h2 { margin: 12px 0 0; font-size: clamp(27px, 2.7vw, 36px); }
.contact-heading h2::after { display: block; width: 110px; height: 3px; margin-top: 18px; background: var(--blue); content: ""; }
.contact-intro { max-width: 380px; margin: 18px 0 0; color: #4d4d4d; font-size: 12px; line-height: 1.85; }
.contact-panel { min-width: 0; }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.contact-meta li { display: grid; align-content: center; min-height: 76px; padding: 12px 22px; border-left: 1px solid var(--line); }
.contact-meta small { font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-meta b { margin-top: 5px; font-size: 13px; font-weight: 600; }
.contact-meta span { margin-top: 2px; color: #666; font-size: 10px; }
.contact-links { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.contact-links a, .contact-links button { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; min-height: 86px; padding: 12px 24px; border: 0; border-left: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.contact-links > * > i:first-child { font-size: 27px; }
.contact-links > * > i:last-child { color: var(--blue); }
.contact-links span { display: grid; }
.contact-links small { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.contact-links b { margin-top: 4px; font-family: var(--display); font-size: 14px; }
.contact-links a:hover, .contact-links button:hover { background: var(--gray); }
.copy-status { position: absolute; top: 100%; right: 0; margin: 4px 0 0; color: var(--blue); font-size: 10px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; min-height: 74px; border-top: 1px solid var(--line); font-family: var(--display); }
.site-footer b { font-size: 15px; }
.site-footer small { font-size: 10px; }
.site-footer a { display: grid; width: 40px; height: 40px; font-size: 18px; place-items: center; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* Motion experiment */
.page-intro { display: none; }
.scroll-progress { position: fixed; z-index: 90; top: 0; left: 0; width: 100%; height: 3px; background: var(--blue); pointer-events: none; transform: scaleX(0); transform-origin: left; will-change: transform; }
.hero h1 span { display: block; }

.js .page-intro { position: fixed; z-index: 1000; inset: 0; display: grid; color: #91cae6; background: #030506; pointer-events: none; place-items: center; animation: intro-curtain 1.15s cubic-bezier(.76, 0, .24, 1) .35s forwards; }
.js.skip-intro .page-intro { display: none; }
.js .page-intro span { font-family: var(--mono); font-size: clamp(22px, 3vw, 42px); font-weight: 500; letter-spacing: .16em; animation: intro-mark .85s steps(8,end) forwards; }
.js .site-header { opacity: 0; transform: translateY(-18px); animation: header-in .65s cubic-bezier(.22, 1, .36, 1) 1s forwards; }
.js .hero h1 span { opacity: 0; transform: translateY(105%); animation: hero-line-in .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.js .hero h1 { overflow: hidden; }
.js .hero h1 span:nth-child(1) { animation-delay: .82s; }
.js .hero h1 span:nth-child(2) { animation-delay: .92s; }
.js .hero h1 span:nth-child(3) { animation-delay: 1.02s; }
.js .hero__copy > p, .js .hero .primary-button { opacity: 0; transform: translateY(22px); animation: hero-detail-in .65s cubic-bezier(.22, 1, .36, 1) forwards; }
.js .hero__copy > p { animation-delay: 1.12s; }
.js .hero .primary-button { animation-delay: 1.2s; }
.js .hero__visual { overflow: hidden; opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(3%); animation: hero-visual-in 1.05s cubic-bezier(.76, 0, .24, 1) .88s forwards; }
.js .hero__visual img { transform: scale(1.07); animation: hero-image-in 1.25s cubic-bezier(.22, 1, .36, 1) .9s forwards; }

.reveal { opacity: 0; filter: blur(8px); transform: translateY(46px); transition: opacity .75s ease, filter .75s ease, transform .75s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }
.reveal-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.76, 0, .24, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-clip.is-visible { clip-path: inset(0 0 0 0); }

.primary-button, .contact-links a, .contact-links button { position: relative; overflow: hidden; }
.primary-button::before, .contact-links a::before, .contact-links button::before { position: absolute; top: 0; bottom: 0; left: -35%; width: 24%; background: rgba(255,255,255,.24); content: ""; pointer-events: none; transform: skewX(-18deg); transition: left .55s cubic-bezier(.22, 1, .36, 1); }
.primary-button:hover::before, .contact-links a:hover::before, .contact-links button:hover::before { left: 115%; }
.primary-button i, .text-link i, .contact-links > * > i:last-child { transition: transform .25s ease; }
.primary-button:hover i, .text-link:hover i, .contact-links > *:hover > i:last-child { transform: translateX(7px); }

.hero__visual[data-tilt], .work-card[data-tilt] { --tilt-x: 0deg; --tilt-y: 0deg; transform-style: preserve-3d; will-change: transform; }
.hero__visual[data-tilt].is-tilting { animation: none; opacity: 1; clip-path: inset(0); transform: translateX(3%) perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .12s linear; }
.work-card[data-tilt] { transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0); transition: box-shadow .25s ease, transform .15s linear; }
.work-card[data-tilt]:hover { box-shadow: 0 24px 52px rgba(0,0,0,.12); transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-7px); }
.work-card[data-tilt] .work-card__image, .work-card[data-tilt] .work-card__body { transform: translateZ(12px); }

.service-grid li { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.service-grid li:hover { transform: translateY(-10px); }
.service-grid li > i { transition: color .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.service-grid li:hover > i { color: #002fc4; transform: translateY(-3px) rotate(-7deg) scale(1.12); }
.about-section__tools li { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.about-section__tools li:hover { transform: translateY(-7px); }

@media (hover: hover) {
  .about-section__tools li:hover .tool-icon--html { filter: invert(40%) sepia(93%) saturate(2000%) hue-rotate(347deg) brightness(96%) contrast(88%); }
  .about-section__tools li:hover .tool-icon__js-base { fill: #f7df1e; }
  .about-section__tools li:hover .tool-icon__js-shade { fill: #e5c914; }
}

.js .process-grid { position: relative; border-bottom: 0; }
.js .process-grid::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--line); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.76, 0, .24, 1) .2s; }
.js .process-grid.is-visible::after { transform: scaleX(1); }

@keyframes intro-curtain {
  0% { transform: translateY(0); }
  100% { visibility: hidden; transform: translateY(-101%); }
}
@keyframes intro-mark {
  0% { opacity: 0; letter-spacing: .28em; transform: translateY(14px); }
  55% { opacity: 1; letter-spacing: .08em; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}
@keyframes header-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-line-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-detail-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-visual-in { to { opacity: 1; clip-path: inset(0); } }
@keyframes hero-image-in { to { transform: scale(1); } }
@keyframes status-pulse { 50% { opacity: .35; transform: scale(.72); } }
@keyframes scan-sweep { from { transform: translateY(-100%); } to { transform: translateY(625%); } }
@keyframes system-rule-in { to { transform: scaleX(1); } }
@keyframes stage-commit { 0% { opacity: .2; transform: translateX(9px); } 55% { color: #91cae6; } 100% { opacity: 1; transform: none; } }
@keyframes data-transfer { from { opacity: 0; transform: scaleX(0); } 40% { opacity: 1; } to { opacity: 0; transform: scaleX(1); } }
@keyframes network-sweep { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: .72; } 100% { left: 100%; opacity: 0; } }
@keyframes node-receive { 0% { opacity: .5; transform: translate(-50%, -50%) scale(.88); } 55% { transform: translate(-50%, -50%) scale(1.07); } 100% { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes node-pulse { 50% { opacity: .38; transform: scale(.72); } }
@keyframes child-group-pulse { 50% { border-color: rgba(255,74,39,.72); box-shadow: 0 0 24px rgba(255,74,39,.2); } }

@media (max-width: 1020px) {
  .hero__copy { width: min(560px, 52vw); }
  .hero h1 { font-size: clamp(46px, 5.7vw, 62px); }
  .hero__visual { left: 49%; }
  .production-map__stages button { min-width: 82px; padding-inline: 7px; }
  .works-heading { grid-template-columns: 110px 260px 1fr; }
  .service-grid { gap: 24px; }
  .about-section__tools ul { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .site-header { position: absolute; color: #fff; background: transparent; }
  .site-header__inner { min-height: 68px; }
  .logo { position: relative; z-index: 2; font-size: 22px; }
  .menu-button { position: relative; z-index: 2; display: block; padding: 10px 0 10px 14px; border: 0; background: transparent; font-family: var(--display); font-size: 12px; font-weight: 600; }
  .global-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; color: #fff; background: #050505; font-size: 23px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .global-nav.is-open { visibility: visible; opacity: 1; }
  .hero { min-height: max(760px, 100svh); }
  .hero::before { z-index: 2; background: linear-gradient(180deg, transparent 0 35%, rgba(2,5,6,.75) 49%, #020506 68%); }
  .hero__grid { background-size: 52px 52px; -webkit-mask-image: linear-gradient(#000, transparent 60%); mask-image: linear-gradient(#000, transparent 60%); }
  .hero__inner { min-height: max(760px, 100svh); align-items: flex-end; padding-top: 370px; padding-bottom: 92px; }
  .hero__copy { width: 100%; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 49px); line-height: 1.36; letter-spacing: -.05em; }
  .hero__copy > p { margin-top: 21px; font-size: 11px; line-height: 1.9; }
  .desktop-only { display: none; }
  .primary-button { min-height: 58px; margin-top: 26px; }
  .hero__visual { top: 68px; right: 0; bottom: auto; left: 0; height: 330px; }
  .control-flow { grid-template-columns: repeat(6,minmax(0,1fr)); align-content: end; gap: 0; padding: 34px 14px 42px; }
  .control-flow::before, .control-flow::after { top: auto; bottom: 23px; left: 14px; width: calc(100% - 28px); height: 1px; }
  .control-flow::after { box-shadow: 8px 0 0 2px #91cae6,0 0 12px rgba(145,202,230,.8); transform: scaleX(var(--flow-progress)); transform-origin: left; }
  .control-flow li { position: static; min-height: 52px; }
  .control-flow li + li { margin-left: -1px; }
  .control-flow li::before, .control-flow li::after, .control-flow li > button > span { display: none; }
  .control-flow li > button { display: flex; min-width: 0; min-height: 52px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 7px 5px; border: 1px solid rgba(145,202,230,.22); }
  .control-flow li.is-complete > button > strong::after { display: none; }
  .control-flow li b { font-size: 6px; }
  .control-flow li > button > strong { margin-top: 5px; font-size: clamp(6px,2.15vw,9px); }
  .control-flow li.is-active { transform: translateY(-7px); }
  .control-flow li.is-active > button > i { width: 100%; }
  .control-flow.is-manual li:not(.is-active), .control-flow.is-manual li:not(.is-active) > button { min-height: 52px; }
  .control-flow.is-manual li.is-active .control-flow__detail { position: absolute; right: 14px; bottom: 112px; left: 14px; display: grid; max-height: 116px; grid-template-columns: 1fr; padding: 12px 14px; border: 1px solid rgba(145,202,230,.34); background: rgba(2,9,12,.92); backdrop-filter: blur(5px); }
  .control-flow__detail strong { font-size: 11px; }
  .control-flow__detail p { grid-column: 1; grid-row: auto; margin-top: 7px; font-size: 10px; }
  .control-flow__detail small { margin-top: 8px; }
  .production-map { inset-inline: 14px; }
  .production-map__path { grid-template-columns: 52px 1fr auto; min-height: 32px; font-size: 6px; }
  .production-map__path button { font-size: 6px; }
  .production-map__path i { padding-right: 5px; }
  .production-map__stages { inset: 32px 0 0; }
  .production-map__stages li:nth-child(1) { --stage-x: 69%; --stage-y: 18%; }
  .production-map__stages li:nth-child(2) { --stage-x: 88%; --stage-y: 30%; }
  .production-map__stages li:nth-child(3) { --stage-x: 70%; --stage-y: 45%; }
  .production-map__stages li:nth-child(4) { --stage-x: 88%; --stage-y: 58%; }
  .production-map__stages li:nth-child(5) { --stage-x: 66%; --stage-y: 71%; }
  .production-map__stages li:nth-child(6) { --stage-x: 87%; --stage-y: 83%; }
  .production-map__stages button { min-width: 62px; min-height: 34px; grid-template-columns: 12px 1fr; padding: 4px 5px; }
  .production-map__stages b { align-self: center; font-size: 5px; }
  .production-map__stages strong { font-size: clamp(6px, 2vw, 8px); }
  .production-map__stages span { display: none; }
  .production-map__stages button:hover, .production-map__stages button:focus-visible { transform: scale(1.03); }
  .production-map__stages button.is-active { transform: scale(1.06); }
  .production-map__detail { inset: 32px 0 0; }
  .production-map__detail header { top: 8px; bottom: auto; left: 0; width: 52%; min-height: 76px; padding: 8px; }
  .production-map__detail header > span { margin-bottom: 4px; font-size: 6px; }
  .production-map__detail header strong { font-size: 12px; }
  .production-map__detail header p { margin-top: 4px; font-size: 9px; line-height: 1.5; }
  .production-map__children button { width: 70px; min-height: 38px; padding: 4px 3px; font-size: 6px; }
  .production-map__children button small { margin-top: 3px; font-size: 6px; }
  .production-map__principles span { padding: 5px 6px 5px 14px; font-size: 6px; }
  .production-map__principles span::before { left: 5px; width: 3px; height: 3px; }
  .hero__timecode { display: none; }
  .hero-switch { right: 22px; bottom: 23px; }
  .hero-switch button { min-width: 0; min-height: 40px; padding-inline: 9px; font-size: 8px; }
  .works-section { padding-block: 60px 68px; }
  .works-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 30px; }
  .works-heading h2 { font-size: 29px; }
  .works-heading > p:last-child { font-size: 13px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card__description { min-height: 0; }
  .service-section { padding-block: 64px 68px; }
  .section-heading h2 { font-size: 28px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .service-grid li > i { margin-bottom: 16px; font-size: 32px; }
  .service-grid h3 { font-size: 16px; }
  .quality-section { padding-block: 62px 64px; }
  .process-section { padding-block: 64px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 0; padding: 20px 30px 22px 0; border-top: 1px solid var(--line); }
  .process-grid li:not(:last-child)::after { top: 50%; right: 6px; transform: translateY(-50%); }
  .process-grid h3 { margin: 9px 0 8px; }
  .about-section { grid-template-columns: 1fr; padding-block: 0 58px; }
  .about-section > div { padding-right: 0; }
  .about-section > div + div { margin-top: 44px; padding: 42px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .about-section__tools ul { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; gap: 26px; padding-block: 48px; }
  .contact-meta { grid-template-columns: 1fr; }
  .contact-meta li { min-height: 62px; padding-inline: 0; border-left: 0; }
  .contact-meta li + li { border-top: 1px solid var(--line); }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a, .contact-links button { border-top: 1px solid var(--line); border-left: 0; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer small { grid-row: 2; padding-bottom: 18px; }
  .site-footer a { grid-column: 2; grid-row: 1 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .page-intro { display: none; }
  .js .site-header, .js .hero h1 span, .js .hero__copy > p, .js .hero .primary-button, .js .hero__visual, .js .hero__visual img, .reveal, .reveal-clip { opacity: 1; filter: none; clip-path: none; transform: none; animation: none; }
  .hero__scanlines::after { animation: none; }
  .control-flow li.is-active strong, .control-flow li.is-active span::after, .production-map__detail.is-changing, .production-map__children button, .production-map__principles span, .production-map__path i::before, .hero__visual--map::after { animation: none; }
}
