/* Nautilus studio site preview — 「纸上的光」 */

@font-face {
  font-family: "Noto Sans CJK SC";
  src: url("fonts/NotoSansCJKsc-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans CJK SC";
  src: url("fonts/NotoSansCJKsc-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F6F6F3;
  --ink: #0B0C0E;
  --hair: rgba(11, 12, 14, 0.14);
  --hair-strong: rgba(11, 12, 14, 0.22);
  --muted: rgba(11, 12, 14, 0.58);
  --pad: 104px;
  --header-h: 72px;
  --measure: 36em;
  --sans: "Geist", "Noto Sans CJK SC", sans-serif;
  --mono: "Geist Mono", "Noto Sans Mono CJK SC", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

body { min-width: 1440px; }

a {
  color: inherit;
  text-decoration: none;
}

img { display: block; max-width: 100%; }

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--paper);
  color: var(--ink);
  mix-blend-mode: normal;
}

.site-header.on-ink {
  color: var(--paper);
  background: var(--ink);
}

.wordmark-link {
  display: block;
  width: 152px;
  line-height: 0;
}
.wordmark-link img {
  width: 152px;
  height: auto;
  display: block;
}
.wordmark-paper { display: none; }
.site-header.on-ink .wordmark-ink { display: none; }
.site-header.on-ink .wordmark-paper { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 1;
}

.nav a { padding: 8px 0; }

/* ——— Hero ——— */

.hero {
  position: relative;
  height: calc(900px - var(--header-h));
  padding: 0 var(--pad);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 112px;
  max-width: 560px;
}

.hero h1 {
  font-weight: 700;
  font-size: 72px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  font-synthesis: none;
}

.hero .lead {
  margin-top: 44px;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.stage {
  position: absolute;
  right: 0;
  top: 0;
  width: 720px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.stage .plate-a,
.stage .plate-b {
  display: block;
}

.stage .plate-b {
  opacity: 0;
  animation: light-breath 6.8s ease-in-out infinite;
}

@keyframes light-breath {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

.stage.is-focused .plate-b {
  animation: none;
  opacity: 1;
}

.stage-cap {
  position: absolute;
  left: var(--pad);
  bottom: 40px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ——— Shared section chrome ——— */

.section {
  position: relative;
  min-height: 900px;
  padding: 168px var(--pad) 112px;
}

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 22px;
}

.section h2 {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-synthesis: none;
}

.intro {
  margin-top: 22px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.85;
}

/* ——— 完整交付 ——— */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--hair);
}

.steps li {
  padding: 28px 28px 8px 0;
}

.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--hair);
}

.steps .num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.steps .name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.explain {
  margin-top: 72px;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* ——— 可以交付的产品 ——— */

.directory {
  margin-top: 56px;
  border-top: 1px solid var(--hair);
}

.dir-row {
  display: grid;
  grid-template-columns: 48px 220px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--hair);
}

.dir-row .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dir-row h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  font-synthesis: none;
}

.dir-row p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 44em;
  text-wrap: pretty;
}

/* ——— 相较自行组建团队 ——— */

.chapter-ink {
  background: var(--ink);
  color: var(--paper);
  min-height: 900px;
  padding: 0;
  /* Tuck the black chapter under the sticky header on hash / nav click. */
  scroll-margin-top: calc(-1 * var(--header-h));
}

.chapter-ink .band {
  padding: 168px var(--pad) 0;
}

.chapter-ink .band h2 {
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-synthesis: none;
}

.chapter-ink .adv-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 96px var(--pad) 0;
  padding: 48px 0 112px;
  border-top: 1px solid rgba(246, 246, 243, 0.16);
}

.chapter-ink .adv-body p {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

/* ——— 对齐的深度 ——— */

.quad {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hair);
}

.quad article {
  padding: 40px 64px 48px 0;
}

.quad article:nth-child(even) {
  padding-left: 64px;
  padding-right: 0;
  border-left: 1px solid var(--hair);
}

.quad article:nth-child(n + 3) {
  border-top: 1px solid var(--hair);
}

.quad h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-synthesis: none;
}

.quad p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 28em;
}

/* ——— 产品与体验 ——— */

.experience {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 140px;
}

.experience h2 { font-size: 44px; }

.experience .intro {
  margin-top: 28px;
  max-width: 38em;
}

/* ——— 代表作品 + footer ——— */

.work {
  min-height: 900px;
  padding: 168px var(--pad) 0;
  display: flex;
  flex-direction: column;
}

.case {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-bottom: 24px;
}

.case h2 {
  font-size: 44px;
  margin-bottom: 48px;
}

.case h3 {
  font-family: "Geist", "Noto Sans CJK SC", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.case .body {
  font-size: 16px;
  line-height: 1.85;
  max-width: 22em;
}

.case .url {
  margin-top: 22px;
  font-family: "Geist", var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
}

.case .url a {
  border-bottom: 1px solid transparent;
}

.case .url a:hover {
  border-bottom-color: currentColor;
}

.contacts a:hover {
  opacity: 0.7;
}

.case .caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.case-figure {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-figure img {
  width: 100%;
  height: auto;
  background: transparent;
}

.site-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 36px;
  border-top: 1px solid var(--hair);
}

.contacts {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.signature {
  width: 128px;
  height: auto;
}

/* utilities for screenshot isolation if needed */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nowrap { white-space: nowrap; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage .plate-b,
  .stage.is-focused .plate-b {
    animation: none;
    opacity: 0;
  }
}

/* ————————————————————————————————————————————————
   响应式适配（桌面基准 ≥1440px 保持原样，以下逐级收敛）
   A ≤1439px 笔记本：留白与栅格等比收窄
   B ≤1099px 平板：首屏、作品区由左右并排改为上下叠放
   C ≤767px  手机：单列排版，字号与留白重设
   ———————————————————————————————————————————————— */

@media (max-width: 1439px) {
  body { min-width: 0; }

  :root {
    --pad: clamp(24px, 5.4vw, 104px);
  }

  .section {
    min-height: 0;
    padding: 132px var(--pad) 96px;
  }

  .hero {
    height: auto;
    min-height: calc(820px - var(--header-h));
    padding-bottom: 88px;
  }

  .hero h1 { font-size: clamp(46px, 5.1vw, 72px); }

  .stage { width: 50vw; min-width: 340px; max-width: 720px; }

  .steps { margin-top: 64px; }
  .steps li { padding: 24px 18px 8px 0; }
  .steps li + li { padding-left: 18px; }

  .dir-row { grid-template-columns: 40px minmax(140px, 200px) 1fr; gap: 20px; }

  .chapter-ink { min-height: 0; }
  .chapter-ink .band { padding: 132px var(--pad) 0; }
  .chapter-ink .band h2 { font-size: clamp(38px, 3.9vw, 52px); }
  .chapter-ink .adv-body { gap: 56px; margin-top: 72px; padding-bottom: 96px; }

  .quad { margin-top: 52px; }
  .quad article { padding: 32px 40px 40px 0; }
  .quad article:nth-child(even) { padding-left: 40px; }

  .experience { padding-top: 96px; padding-bottom: 112px; }

  .work { min-height: 0; padding: 132px var(--pad) 0; }
  .case { gap: 44px; }
}

@media (max-width: 1099px) {
  .section { padding: 96px var(--pad) 72px; }
  .chapter-ink .band { padding: 96px var(--pad) 0; }
  .chapter-ink .adv-body { padding-bottom: 72px; }
  .experience { padding: 80px var(--pad) 88px; }
  .work { padding: 96px var(--pad) 0; }

  /* 锚点跳转时避开吸顶导航 */
  #delivery,
  #products,
  #depth,
  #experience,
  #work,
  #contact { scroll-margin-top: calc(var(--header-h) + 12px); }

  .hero { min-height: 0; padding-bottom: 56px; }
  .hero-copy { max-width: 640px; padding-top: 72px; }

  .stage {
    position: relative;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 48px calc(-1 * var(--pad)) 0;
    height: min(52vw, 440px);
  }

  .stage img { object-position: 58% 42%; }

  .stage-cap {
    position: static;
    margin-top: 14px;
  }

  .chapter-ink .adv-body {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 56px;
  }

  .case {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
  }

  .case h2 { margin-bottom: 28px; }
  .case-figure { min-height: 0; }
  .case-figure img { max-width: 620px; }

  .site-footer { gap: 20px; }

  .nowrap { white-space: normal; }
}

@media (max-width: 767px) {
  :root {
    --pad: 20px;
    --header-h: 56px;
  }

  body { font-size: 15px; }

  .site-header { padding: 0 20px; }

  .wordmark-link,
  .wordmark-link img { width: 96px; }

  .nav {
    gap: 15px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .hero { padding: 0 20px 48px; }
  .hero-copy { padding-top: 40px; max-width: none; }

  .hero h1 {
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.035em;
  }

  .hero .lead {
    margin-top: 22px;
    max-width: none;
    font-size: 15px;
    line-height: 1.8;
  }

  .stage {
    margin: 32px -20px 0;
    height: min(62vw, 380px);
  }

  .stage img { object-position: 62% 40%; }

  .stage-cap { font-size: 9px; }

  .section { padding: 64px 20px 56px; }

  .section h2 { font-size: clamp(26px, 7.6vw, 32px); }

  .kicker { margin-bottom: 14px; }

  .intro,
  .explain {
    margin-top: 14px;
    max-width: none;
    font-size: 15px;
    line-height: 1.8;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .steps li,
  .steps li + li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hair);
  }

  .steps .num {
    margin-bottom: 0;
    padding-top: 3px;
  }

  .explain { margin-top: 32px; }

  .directory { margin-top: 32px; }

  .dir-row {
    grid-template-columns: 30px 1fr;
    gap: 6px 12px;
    padding: 20px 0;
  }

  .dir-row .num { padding-top: 4px; }
  .dir-row h3 { font-size: 17px; }

  .dir-row p {
    grid-column: 2;
    max-width: none;
    font-size: 14px;
    line-height: 1.75;
  }

  .chapter-ink .band { padding: 64px 20px 0; }
  .chapter-ink .band h2 { font-size: clamp(26px, 7.8vw, 32px); }

  .chapter-ink .adv-body {
    margin: 36px 20px 0;
    padding: 28px 0 56px;
    gap: 22px;
  }

  .chapter-ink .adv-body p { font-size: 15px; line-height: 1.85; }

  .quad {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .quad article,
  .quad article:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

  .quad article + article { border-top: 1px solid var(--hair); }

  .quad h3 { margin-bottom: 8px; }
  .quad p { max-width: none; font-size: 14px; }

  .experience { padding: 56px 20px 64px; }

  .work { padding: 64px 20px 0; }

  .case { gap: 28px; }
  .case h2 { font-size: clamp(26px, 7.6vw, 32px); margin-bottom: 24px; }
  .case h3 { font-size: 19px; }

  .case .body { max-width: none; font-size: 15px; }
  .case .url { font-size: 12px; }
  .case .caption { margin-top: 14px; font-size: 12px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0 32px;
  }

  .contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
  }

  .signature { width: 112px; }
}

