:root {
  --black: #090909;
  --ink: #111;
  --paper: #f2f1ed;
  --acid: #d7ff00;
  --line-dark: rgba(255,255,255,.18);
  --line-light: rgba(0,0,0,.18);
  --shell: min(1180px, calc(100vw - 64px));
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: #fff; background: var(--black); font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .055; background-image: repeating-radial-gradient(circle at 17% 31%, #fff 0, #fff .6px, transparent .8px, transparent 3px); background-size: 7px 7px; mix-blend-mode: soft-light; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, strong { text-wrap: balance; word-break: auto-phrase; }
.hero-lead, .section-intro, .section-head p, .atami-description, .contact-copy > p, .work-card p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 12px 18px; color: #000; background: var(--acid); }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid rgba(255,255,255,.22); background: linear-gradient(to bottom, rgba(0,0,0,.86), rgba(0,0,0,.12)); backdrop-filter: blur(9px); transition: background .25s ease, height .25s ease; }
.site-header.scrolled { height: 68px; background: rgba(8,8,8,.94); }
.brand { display: inline-flex; flex-direction: column; font-size: 19px; font-weight: 800; line-height: .82; letter-spacing: -.055em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--acid); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a.active::after { right: 0; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: var(--acid); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; will-change: transform; }
.menu-button { display: none; color: #fff; border: 0; background: transparent; font-weight: 800; letter-spacing: .08em; cursor: pointer; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-media, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-media { z-index: -4; overflow: hidden; background: #111; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.08); }
.hero-media iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.hero-shade { z-index: -3; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 64%, rgba(0,0,0,.42)), linear-gradient(0deg, rgba(0,0,0,.74), transparent 55%); }
.hero-grid { z-index: -2; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: calc(100vw / 6) calc(100vw / 6); mask-image: linear-gradient(to top, #000, transparent 70%); }
.hero-content { width: var(--shell); margin: 0 auto; padding: 170px 0 100px; }
.hero-kicker { max-width: max-content; margin: 0 0 28px; padding: 9px 12px; color: #000; background: var(--acid); font-size: clamp(12px, 1.2vw, 15px); font-weight: 800; letter-spacing: .04em; }
.hero h1 { margin: 0; max-width: 1050px; font-size: clamp(54px, 8.8vw, 135px); line-height: .89; letter-spacing: -.075em; font-weight: 800; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1.5px #fff; font-style: normal; }
.hero-lead { max-width: 670px; margin: 36px 0 38px; font-size: clamp(16px, 1.55vw, 21px); line-height: 1.8; font-weight: 500; }
.primary-link { width: min(340px, 100%); display: flex; justify-content: space-between; align-items: center; padding: 19px 22px; color: #000; background: var(--acid); font-weight: 800; border: 1px solid var(--acid); transition: color .2s, background .2s; }
.primary-link:hover { color: var(--acid); background: #000; }
.wide-arrow { width: 92px; height: 54px; display: block; color: var(--acid); }
.wide-arrow::before { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 29px; background: currentColor; transform: translateX(-50%); }
.wide-arrow::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 30px; height: 30px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(-50%) rotate(45deg); transform-origin: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 23px; z-index: 2; transform: translateX(-50%); }

.section { position: relative; scroll-margin-top: 66px; }
.section-shell { width: var(--shell); margin: 0 auto; padding: clamp(95px, 11vw, 165px) 0; }
.section-dark { color: #fff; background: var(--black); }
.section-light { color: var(--ink); background: var(--paper); }
.section-acid { color: var(--ink); background: var(--acid); }
.eyebrow { display: inline-block; margin: 0 0 28px; padding-top: 7px; border-top: 4px solid currentColor; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.display-title { margin: 0; max-width: 1000px; font-size: clamp(44px, 7.2vw, 102px); line-height: .98; letter-spacing: -.065em; }
.display-title span { color: var(--acid); }
.section-intro { max-width: 740px; margin: 46px 0 70px auto; font-size: clamp(17px, 1.65vw, 22px); line-height: 1.9; }
.process-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process-grid li { position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: #0c0c0c; border-right: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; }
.process-grid li::before { content: ""; position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; filter: grayscale(1) contrast(1.18); opacity: .28; }
.process-grid li:nth-child(1)::before { background-image: url('./assets/concept-01-storyboard-v2.webp'); }
.process-grid li:nth-child(2)::before { background-image: url('./assets/concept-02-storyboard-v2.webp'); }
.process-grid li:nth-child(3)::before { background-image: url('./assets/concept-03-storyboard-v2.webp'); }
.process-grid li::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 5px; background: var(--acid); transition: right .45s cubic-bezier(.22,1,.36,1); }
.process-grid li:hover::after { right: 0; }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: var(--acid); font-size: 13px; font-weight: 800; text-shadow: 0 1px 8px #000; }
.process-grid strong { max-width: 280px; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; text-shadow: 0 2px 14px #000, 0 1px 3px #000; }
.section-head { margin-bottom: 45px; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; }
.section-head h2 { margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: -.065em; }
.section-head p { max-width: 450px; margin: 0; font-size: 17px; line-height: 1.8; }
.phrase-line { display: inline; }
.capability-line { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin: 0 0 18px; color: #273000; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.capability-line i { width: 22px; height: 1px; background: currentColor; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-frame::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.2); pointer-events: none; z-index: 1; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff; background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.48)), var(--poster) center / cover; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .14em; transition: filter .25s; }
.video-poster:hover { filter: contrast(1.1) brightness(1.08); }
.play-mark { width: 76px; height: 76px; display: grid; place-items: center; padding-left: 5px; color: #000; background: var(--acid); border-radius: 50%; font-size: 24px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); transition: transform .25s; }
.video-poster:hover .play-mark { transform: scale(1.08); }
.video-frame.playing .video-poster { display: none; }
.section-arrow { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; color: var(--acid); transition: transform .2s; }
.section-arrow.dark { color: #111; }
.section-arrow:hover { transform: translateY(6px); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #4a4a4a; border-left: 1px solid #4a4a4a; }
.work-card { position: relative; min-width: 0; overflow: hidden; background: #111; border-right: 1px solid #4a4a4a; border-bottom: 1px solid #4a4a4a; }
.work-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b1b1b; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.work-card .work-no { position: absolute; top: 12px; left: 12px; margin: 0; padding: 5px 7px; color: #080808; background: var(--acid); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.work-copy { min-height: 145px; padding: 20px 22px 24px; }
.work-card span { color: var(--acid); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.work-card h3 { margin: 13px 0 7px; font-size: clamp(19px, 2vw, 27px); line-height: 1.15; letter-spacing: -.035em; }
.work-card .work-copy p { margin: 0; color: #bdbdbd; font-size: 14px; line-height: 1.55; }
.note { margin: 20px 0 0; font-size: 13px; color: #929292; }
.atami-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; margin-bottom: 54px; }
.atami-copy .eyebrow { grid-column: 1 / -1; justify-self: start; }
.atami-copy h2 { margin: 0; font-size: clamp(47px, 6.2vw, 84px); line-height: 1; letter-spacing: -.06em; }
.atami-copy h3 { grid-column: 2; margin: 10px 0 15px; color: #6c8500; font-size: 16px; letter-spacing: .14em; }
.atami-description { grid-column: 2; margin: 0; font-size: 17px; line-height: 1.85; }
.atami-choice-link { grid-column: 2; display: flex; align-items: center; justify-content: space-between; width: min(100%, 390px); margin-top: 26px; padding: 17px 19px; color: #111; border: 1px solid #111; font-size: 13px; font-weight: 800; letter-spacing: .08em; transition: color .2s ease, background .2s ease; }
.atami-choice-link:hover, .atami-choice-link:focus-visible { color: #111; background: var(--acid); }
.atami-video { box-shadow: 18px 18px 0 var(--acid); }

.company-list { margin: 20px 0 0; border-top: 2px solid #111; }
.company-list div { display: grid; grid-template-columns: 1fr 3fr; padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.4); }
.company-list dt { font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.company-list dd { margin: 0; font-size: clamp(22px, 3.2vw, 43px); line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.company-list dd span { font-size: .48em; letter-spacing: .02em; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(50px, 8vw, 120px); }
.contact-copy h2 { margin: 0 0 36px; font-size: clamp(48px, 6.5vw, 91px); line-height: .92; letter-spacing: -.06em; }
.contact-copy h2 .heading-line { display: block; width: max-content; max-width: 100%; color: inherit; white-space: nowrap; }
.contact-copy h2 .accent { color: var(--acid); }
.contact-copy > p { max-width: 470px; margin: 0 0 30px; font-size: 17px; line-height: 1.85; }
.contact-copy > a { color: var(--acid); font-weight: 700; border-bottom: 1px solid; }
.contact-form { padding-top: 42px; }
.contact-form label { display: block; margin-bottom: 30px; }
.contact-form label span { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.contact-form label b { color: var(--acid); font-size: 10px; }
.contact-form input, .contact-form textarea { width: 100%; color: #fff; background: #141414; border: 1px solid #535353; border-radius: 0; padding: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--acid); box-shadow: 0 0 0 2px rgba(215,255,0,.15); }
.contact-form textarea { resize: vertical; }
.contact-form button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; color: #000; background: var(--acid); border: 1px solid var(--acid); font-weight: 800; cursor: pointer; }
.contact-form button:hover { color: var(--acid); background: #000; }
.contact-form button:disabled { opacity: .58; cursor: wait; }
.form-status { min-height: 1.7em; margin: 14px 0 0; font-size: 13px; line-height: 1.7; }
.form-status.success { color: var(--acid); }
.form-status.error { color: #ff8b7d; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; }

.archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.archive-grid > div { padding: 25px 22px 32px 0; border-right: 1px solid var(--line-light); }
.archive-grid > div:not(:first-child) { padding-left: 22px; }
.archive-grid > div:last-child { border-right: 0; }
.archive-grid h3 { margin: 0 0 18px; color: #657c00; font-size: 13px; letter-spacing: .08em; }
.archive-grid p { margin: 0; font-size: 13px; line-height: 2; }
.archive .note { color: #6b6b6b; }
.profile-copy { margin-top: 50px; padding-top: 35px; border-top: 1px solid var(--line-light); font-size: 15px; line-height: 1.9; }
.profile-copy p { margin: 0 0 12px; }

.site-footer { min-height: 250px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: end; gap: 30px; padding: 55px 32px; border-top: 1px solid var(--line-dark); background: #040404; font-size: 13px; line-height: 1.7; }
.footer-brand { align-self: start; font-size: 30px; }
.site-footer > p { text-align: right; }
.site-footer a:not(.brand) { color: var(--acid); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .process-grid li:nth-child(2), .js .work-card:nth-child(even) { transition-delay: .08s; }
.js .process-grid li:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media iframe { display: none; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 680px); --header-h: 68px; }
  .site-header { padding: 0 20px; background: rgba(8,8,8,.94); }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 68px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 28px; background: rgba(8,8,8,.98); border-bottom: 1px solid var(--line-dark); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
  .hero-content { padding: 135px 0 90px; }
  .hero h1 { font-size: clamp(50px, 14vw, 86px); }
  .hero-lead br { display: none; }
  .wide-arrow { width: 78px; height: 50px; }
  .section-head.split, .atami-copy, .contact-layout { grid-template-columns: 1fr; }
  .section-head.split { align-items: start; }
  .section-head.split p { margin-top: 20px; }
  .phrase-line { display: block; }
  .section-intro { margin-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .process-grid li:last-child { border-bottom: 0; }
  .atami-copy h3, .atami-description, .atami-choice-link { grid-column: 1; }
  .atami-copy h3 { margin-top: 38px; }
  .contact-layout { gap: 20px; }
  .contact-form { padding-top: 10px; }
  .work-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid > div:nth-child(2) { border-right: 0; }
  .archive-grid > div:nth-child(3) { padding-left: 0; }
  .archive-grid > div { border-bottom: 1px solid var(--line-light); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 2; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .hero { min-height: 780px; }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28)), linear-gradient(0deg, rgba(0,0,0,.86), transparent 80%); }
  .hero-kicker { max-width: 290px; line-height: 1.45; }
  .hero h1 { font-size: clamp(47px, 15.2vw, 72px); }
  .hero h1 em { -webkit-text-stroke-width: 1px; }
  .hero-lead { font-size: 16px; }
  .section-shell { padding: 90px 0; }
  .display-title { font-size: 43px; }
  .section-intro { margin-top: 30px; font-size: 16px; }
  .section-head h2 { font-size: 52px; }
  .capability-line { justify-content: flex-start; flex-wrap: wrap; gap: 9px 12px; line-height: 1.7; }
  .capability-line i { width: 12px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-copy { min-height: 130px; }
  .atami-copy { margin-bottom: 35px; }
  .atami-copy h2 { font-size: 47px; }
  .atami-video { box-shadow: 8px 8px 0 var(--acid); }
  .company-list div { grid-template-columns: 1fr; gap: 12px; }
  .company-list dd { font-size: 26px; }
  .contact-copy h2 { font-size: clamp(38px, 11.5vw, 44px); }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid > div, .archive-grid > div:not(:first-child) { padding: 24px 0; border-right: 0; }
  .archive-grid p { font-size: 13px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 34px; padding: 45px 20px; }
  .site-footer > p { grid-column: 1; text-align: left; }
}
