:root {
  color-scheme: dark;
  --bg: #0b0c0d;
  --text: #f1f1ea;
  --muted: #a8b1af;
  --accent: #a6e8d9;
  --line: #303536;
  --mono: "IBM Plex Mono", Consolas, monospace;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; }
figure, h1, h2, h3, p, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
::selection { color: #101616; background: #a6e8d9; }
.icon-set { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(88.8%, 1400px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; padding: 12px 20px; background: var(--text); color: var(--bg); z-index: 100; }
.skip:focus { top: 8px; }
.site-head { position: sticky; z-index: 5; top: 0; background: rgba(10,11,12,.97); border-bottom: 1px solid #272c2d; }
.nav-row { display: flex; align-items: center; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand strong { font-size: 27px; line-height: 1; font-weight: 690; letter-spacing: -1.25px; }
.brand span { border-left: 1px solid #47504f; padding-left: 11px; font-size: 16px; line-height: 1.05; font-weight: 600; letter-spacing: .08em; }
.nav-row nav { display: flex; gap: clamp(22px, 3vw, 48px); margin-left: auto; align-items: center; }
.nav-row nav a { color: #bac0bd; font-size: 14px; padding: 12px 0; }
.nav-row nav a:hover, .back-top:hover { color: var(--accent); }
.release-line { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }
.release-pill { display: inline-flex; gap: 8px; align-items: center; font: 12px/1 var(--mono); letter-spacing: .04em; padding: 6px 10px; border-radius: 24px; background: #192c28; color: #b1e5d8; border: 1px solid #345049; }
.release-pill i { width: 5px; height: 5px; border-radius: 50%; background: #94dfcb; }
.release-line > span:last-child { font-size: 12px; color: #b5c4c1; letter-spacing: .13em; }
h1 { font-size: clamp(48px, 4.9vw, 83px); font-weight: 710; line-height: 1.16; letter-spacing: -.06em; }
.stop { color: var(--accent); }
.hero-actions { display: flex; gap: 13px; align-items: center; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 5px; padding: 13px 19px; min-height: 45px; font-size: 14px; font-weight: 580; line-height: 1.25; transition: background .18s, border-color .18s, transform .18s; white-space: nowrap; }
.primary { color: #111718; background: #f1f2ec; border: 1px solid #f1f2ec; }
.primary:hover { background: #d9f3e8; border-color: #d9f3e8; transform: translateY(-1px); }
.button .ico { width: 16px; height: 16px; }
.button:disabled { color: #929292; background: #292929; border: 1px solid #444; cursor: not-allowed; }
.download { background: url("./assets/tide-lines.png") 100% center / auto 125% no-repeat, #101112; }
.download h2 { margin: 0 0 28px; }
.release-details { margin: 14px 0 12px; font-size: 13px; color: #d3ddd8; }
.install-note { display: flex; align-items: flex-start; gap: 6px; color: #a7b6b1; font-size: 12px; line-height: 1.7; }
.install-note .ico { width: 15px; height: 15px; margin-top: 3px; }
footer { border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; }
.foot-row .brand strong { font-size: 23px; }
.foot-row .brand span { font-size: 14px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #b5bfbb; }
.back-top .ico { width: 14px; height: 14px; }

.nav-row nav .nav-download { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #495150; color: var(--text); border-radius: 5px; padding: 7px 14px; }
.nav-download .ico { width: 15px; height: 15px; }
.hero { background: #0b0c0d; padding-bottom:0; }
.hero-stage { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 3%; padding-block: clamp(42px,4.2vw,68px) clamp(38px,3.8vw,60px); }
.hero-intro, .copy { color: var(--muted); font-size: clamp(15px,1.12vw,18px); line-height: 1.9; }
.hero-intro { max-width: 34em; margin-top: 21px; color: #bdc6c3; }
.hero-actions { margin-top: 22px; }
.hero h1 { font-size: clamp(48px,4.75vw,78px); }
.work-preview { display: block; overflow: hidden; border: 1px solid #3d4646; border-radius: 7px; background: #171d1e; cursor: zoom-in; }
.work-preview:hover, .detail-shot:hover { border-color: #77988e; }
.work-preview img { width: 100%; height: auto; }
.shot-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 17px; font-size: 13px; color: #d7dfda; }
.shot-head > span, .canvas-zoom { display: inline-flex; gap: 9px; align-items: center; }
.shot-head b { color: #72817b; font-weight: 400; }
.shot-head .ico, .canvas-zoom .ico { color: var(--accent); width: 16px; height: 16px; }
.zoom-action { color: var(--muted); font-size: 12px; }
.chapter, .section-pad { padding-block: clamp(60px,5.5vw,92px); border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8%; margin-bottom: clamp(30px,3.2vw,50px); }
.section-label { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
h2 { font-size: clamp(32px,3.25vw,54px); line-height: 1.25; font-weight: 650; letter-spacing: -.05em; }
h3 { font-size: clamp(19px,1.6vw,25px); font-weight: 590; line-height: 1.5; letter-spacing: -.03em; }
.assistant { background: #101112; }

figcaption { font-size: 12px; color: #97a39f; margin-top: 9px; }
.canvas { background: #101112; padding-block: clamp(40px,4vw,65px); }
.hero-stage { background: url("./assets/tide-lines.png") right center / max(84%, 1050px) 100% no-repeat, radial-gradient(ellipse at 87% 50%, #192b2d, transparent 65%), #0b0c0d; }
.film { min-width: 0; position: relative; padding: 20px 0 28px; }
.film-reel { display:block; width:114%; transform:rotate(-6deg); filter:drop-shadow(0 14px 14px #0007); }
.film-reel img { width:100%; height:auto; mask-image:linear-gradient(to right,transparent,#000 9%,#000 94%,transparent); }

.chapter-lead { display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.65fr); align-items:center; gap:6%; }
.chapter-copy .copy { margin-top:18px; }
.project .chapter-lead { grid-template-columns:minmax(0,1.65fr) minmax(0,.83fr); }
.project .chapter-copy { grid-column:2; grid-row:1; }
.project .chapter-lead figure { grid-column:1; grid-row:1; }
.lead-image,.detail-image { display:block; position:relative; overflow:hidden; cursor:zoom-in; border:1px solid #38413f; border-radius:6px; }
.lead-image:hover,.detail-image:hover { border-color:#8ca99f; }
.lead-image img { width:100%; height:auto; }
.zoom-mark { position:absolute; bottom:8px; right:8px; display:grid; place-items:center; width:26px; height:26px; color:#d4e6dd; background:#101616e8; border:1px solid #4b5753; border-radius:4px; }
.zoom-mark .ico { width:14px; height:14px; }
.detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3%; margin-top:clamp(28px,3vw,48px); }
.detail { display:grid; grid-template-rows:1fr auto; border-top:1px solid var(--line); }
.detail figcaption { align-self:center; margin:0; padding:18px 0; }
.detail h3 { font-size:20px; color:var(--text); }
.detail p { margin-top:6px; font-size:14px; line-height:1.85; color:var(--muted); }
.detail-image { display:grid; place-items:center; padding:12px; background:#171919; height:clamp(190px,16vw,250px); }
.detail-image img { width:auto; height:auto; max-height:100%; min-height:0; }
@media(max-width: 900px) {
  .wrap { width: 91%; }

  .project-body { grid-template-columns: .86fr 1.4fr; gap: 4%; }
}
@media(max-width: 700px) {
  html { scroll-padding-top: 112px; }
  .wrap { width: calc(100% - 36px); }
  .nav-row { height: auto; flex-wrap: wrap; padding-block: 11px 5px; row-gap: 7px; }
  .nav-row .brand strong { font-size: 23px; }
  .brand img { width: 29px; height: auto; }
  .brand span { font-size: 14px; }
  .nav-row nav { width: 100%; justify-content: space-between; gap: 7px; }
  .nav-row nav a { padding: 7px 0; font-size: 12px; }
  .nav-row nav .nav-download { padding: 4px 8px; }
  .hero-inner { display:block; padding-block: 36px 24px; }
  .film { max-width:440px; margin:8px auto 0; padding:18px 0 0; }
  .film-reel { width:100%; }
  .hero h1 { font-size: clamp(34px,8.8vw,57px); }
  .hero-intro { max-width: 31em; margin-top: 16px; font-size: 14px; }
  .release-line { margin-bottom: 16px; }
  .hero-actions { gap: 8px; flex-wrap: wrap; }
  .button { padding: 11px 13px; font-size: 13px; gap: 7px; }
  .shot-head { padding: 10px 12px; font-size: 12px; }
  .chapter-lead,.project .chapter-lead,.detail-grid { grid-template-columns:1fr; gap:20px; }
  .project .chapter-copy,.project .chapter-lead figure { grid-column:auto; grid-row:auto; }
  .detail { display:block; }
  .detail-image { height:clamp(200px,60vw,310px); }
  .film-reel { transform:rotate(-6deg); }
  .hero-stage { background-size:auto 68%,auto; background-position:58% bottom,center; }
  .copy, .assistant-details p, .entry-list p { font-size: 14px; }
  .example { grid-template-columns: 1fr; gap: 10px; }
  .entry-list article { padding: 14px 0; }
  .section-label { margin-bottom: 12px; }
  .detail-shot img { max-height: 245px; }
  .canvas-layout h2 br { display: none; }
  .download h2 { max-width: 10em; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
