/* =========================================================
   乐博文化传媒 · 官网视觉系统
   墨黑 / 纸白 / 朱砂；宋体标题 + 现代无衬线正文
   ========================================================= */

:root {
  --ink: #0e100f;
  --ink-soft: #161915;
  --paper: #f2ede3;
  --paper-deep: #e6ddce;
  --accent: #b6543c;
  --accent-deep: #8f3b28;
  --on-ink: #f2ede3;
  --on-ink-muted: rgba(242, 237, 227, 0.62);
  --line-on-ink: rgba(242, 237, 227, 0.16);
  --muted: #847d70;
  --line: rgba(17, 19, 15, 0.16);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 92px;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading, body.modal-open, body.menu-open { overflow: hidden; }
::selection { background: var(--accent); color: #fff8ef; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.container {
  width: min(1400px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.section { position: relative; padding: 148px 0; scroll-margin-top: 72px; }
.section-index {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  white-space: nowrap;
}
.section-index.light { color: var(--on-ink-muted); }

/* ---------- 通用标题 ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker.light { color: var(--on-ink-muted); }
.kicker-line { width: 40px; height: 1px; background: var(--accent); flex: none; }
.display {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.display.light { color: var(--on-ink); }
.lead {
  max-width: 600px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.95;
  color: #5f5a50;
}
.lead.light { color: var(--on-ink-muted); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 76px;
}
.section-head .display { margin-top: 22px; }
.section-head-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex: none;
  max-width: 430px;
  text-align: right;
}
.section-head-aside .lead { text-align: left; margin-top: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn .arrow { font-size: 15px; transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff8ef; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-light { border-color: rgba(242, 237, 227, 0.52); color: var(--on-ink); }
.btn-light:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn-ghost-light { border-color: transparent; color: var(--on-ink); padding: 0 6px; }
.btn-ghost-light:hover { color: var(--accent); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff8ef; }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-accent:disabled { opacity: 0.55; cursor: wait; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: color 0.3s, gap 0.4s var(--ease);
}
.text-link:hover { color: var(--accent); gap: 18px; }
.text-link .arrow { font-size: 14px; }

/* ---------- 加载 ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--on-ink);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}
.loader-name { font-size: 9px; letter-spacing: 0.34em; color: var(--on-ink-muted); }
.loader-line { width: 168px; height: 1px; margin-top: 16px; background: var(--line-on-ink); overflow: hidden; }
.loader-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; animation: loadLine 1.6s var(--ease) infinite; }
.loader-hint { font-size: 10px; letter-spacing: 0.2em; color: rgba(242, 237, 227, 0.38); }
.loader-error {
  max-width: 320px;
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--on-ink-muted);
}
.loader-retry {
  margin-top: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-on-ink);
  background: transparent;
  color: var(--on-ink);
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: background 0.3s, border-color 0.3s;
}
.loader-retry:hover { background: var(--accent); border-color: var(--accent); }
@keyframes loadLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--on-ink);
  transition: height 0.4s var(--ease), background 0.5s var(--ease), color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(242, 237, 227, 0.94);
  backdrop-filter: blur(16px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; position: relative; z-index: 101; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  color: var(--accent);
  transition: background 0.4s, color 0.4s;
}
.brand-logo { width: 42px; height: 42px; display: grid; place-items: center; }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo[hidden] { display: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.brand-text b { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.08em; }
.brand-text small { font-size: 7px; letter-spacing: 0.24em; color: currentColor; opacity: 0.55; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 0;
  opacity: 0.72;
  transition: opacity 0.3s, color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { opacity: 1; }
.main-nav a.is-active { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.header-cta .arrow { font-size: 13px; }
.header-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff8ef; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 12px 8px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.menu-toggle span { display: block; width: 28px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 移动菜单 ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px var(--gutter) 48px;
  background: var(--ink);
  color: var(--on-ink);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0.7s;
}
.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  color: var(--on-ink);
  border-bottom-color: transparent;
}
.menu-open .site-header .header-cta { border-color: rgba(242, 237, 227, 0.4); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.5;
  border-bottom: 1px solid var(--line-on-ink);
  padding: 8px 0;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.mobile-menu nav a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mobile-menu-foot p { font-size: 11px; color: var(--on-ink-muted); letter-spacing: 0.14em; }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.hero-slides, .hero-veil, .hero-grain { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-veil {
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.8) 0%, rgba(7, 8, 7, 0.5) 40%, rgba(7, 8, 7, 0.14) 72%, rgba(7, 8, 7, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 8, 7, 0.75) 0%, transparent 38%, rgba(7, 8, 7, 0.24) 100%);
}
.hero-grain {
  opacity: 0.05;
  mix-blend-mode: screen;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) 0 17vh;
}
.hero-copy { max-width: 1200px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(242, 237, 227, 0.7);
}
.hero-kicker .rule { display: block; width: 48px; height: 1px; background: var(--accent); flex: none; }
.hero-title {
  margin: 26px 0 30px;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 10.4vw, 10.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.18);
}
.hero-title .title-line { display: block; overflow: hidden; }
.hero-title .title-line > span { display: block; transform: translateY(105%); transition: transform 0.95s var(--ease); }
.hero-title.is-in .title-line > span { transform: translateY(0); }
.hero-title.no-anim .title-line > span { transition: none; transform: none; }
.hero-title .title-line:nth-child(2) > span { transition-delay: 0.08s; }
.hero-subtitle {
  max-width: 560px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.78);
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 42px; }
.hero-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 4px;
}
.hero-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-size: 15px;
  color: rgba(242, 237, 227, 0.5);
}
.hero-count #hero-index { font-size: 56px; color: var(--on-ink); line-height: 1; letter-spacing: -0.04em; }
.hero-count i { font-style: normal; }
.hero-note { font-size: 10px; letter-spacing: 0.16em; color: rgba(242, 237, 227, 0.55); text-align: right; }
.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 3;
  width: min(1400px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-dots { display: flex; gap: 24px; }
.hero-dot {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(242, 237, 227, 0.5);
  text-align: left;
  transition: color 0.4s;
}
.hero-dot .dot-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 0.12em; }
.hero-dot .dot-top i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.hero-dot .dot-line { display: block; width: 100%; height: 1px; background: rgba(242, 237, 227, 0.2); overflow: hidden; }
.hero-dot .dot-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active { color: var(--on-ink); }
.hero-dot.is-active .dot-line i { animation: dotProgress 7s linear forwards; }
.no-motion .hero-dot.is-active .dot-line i { animation: none; transform: scaleX(1); }
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-dot .dot-name { display: none; }
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(242, 237, 227, 0.55);
}
.scroll-line { display: block; width: 1px; height: 58px; background: rgba(242, 237, 227, 0.2); overflow: hidden; }
.scroll-line i { display: block; width: 100%; height: 45%; background: var(--accent); animation: scrollDown 2s var(--ease) infinite; }
@keyframes scrollDown {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(240%); }
}

/* ---------- 图片占位 ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #d8d0c2, #c6bcab);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.media.ratio-4x5 { aspect-ratio: 4 / 5; }
.media.ratio-4x3 { aspect-ratio: 4 / 3; }
.media.ratio-3x2 { aspect-ratio: 3 / 2; }
.media.ratio-16x9 { aspect-ratio: 16 / 9; }
.media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(17, 19, 15, 0.3);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.4s;
}
.media.is-error img { opacity: 0; }
.media.is-error .media-fallback { opacity: 1; }
.media.is-loading .media-fallback { opacity: 1; }

/* ---------- 简介 ---------- */
.intro { background: var(--paper); }
.intro-head { margin-bottom: 64px; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 110px;
  align-items: end;
}
.intro-copy .display {
  max-width: 820px;
  font-size: clamp(2.5rem, 3.55vw, 3.5rem);
}
.intro-copy .lead { max-width: 610px; }
.intro-visual { width: 100%; max-width: 560px; justify-self: end; }
.intro-visual .media { height: 520px; }
.intro-visual:hover .media img { transform: scale(1.035); }
.intro-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.caption-en { font-size: 8px; letter-spacing: 0.16em; color: #a19a8d; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 96px;
  border-top: 1px solid var(--line);
}
.stat { padding: 34px 30px 4px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 30px; }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-value em { font-style: normal; color: var(--accent); }
.stat-label { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.stat-note { margin-top: 6px; font-size: 11px; line-height: 1.7; color: var(--muted); }

/* ---------- 服务 ---------- */
.services { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.services::after {
  content: "SERVICES";
  position: absolute;
  right: -1.5vw;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--serif);
  font-size: 12vw;
  line-height: 1;
  color: var(--on-ink);
  opacity: 0.025;
  pointer-events: none;
}
.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 42%),
    radial-gradient(circle at 8% 86%, rgba(255, 255, 255, 0.035), transparent 40%);
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.services .display, .method .display { color: var(--on-ink); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 32px;
}
.service-card {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-ink);
}
.service-media { overflow: hidden; background: #23261f; }
.service-media .media { height: 248px; background: #23261f; }
.service-media .media-fallback { color: rgba(242, 237, 227, 0.28); }
.service-media img { filter: saturate(0.92); }
.service-card:hover .service-media img { transform: scale(1.055); }
.service-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(242, 237, 227, 0.9);
  letter-spacing: 0.08em;
}
.service-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 237, 227, 0.32);
  color: var(--on-ink);
  font-size: 14px;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.service-card:hover .service-open { background: var(--accent); border-color: var(--accent); transform: translate(2px, -2px); }
.service-body { padding-top: 20px; }
.service-en {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.service-body h3 {
  margin: 9px 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--on-ink);
}
.service-body p {
  min-height: 76px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--on-ink-muted);
}
.service-features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.service-features li {
  padding: 5px 9px;
  border: 1px solid var(--line-on-ink);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 227, 0.55);
}
.card-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.card-hit:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }

/* ---------- 案例 ---------- */
.projects { background: var(--paper); }
.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: -18px 0 62px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 26px; }
.filter {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s;
}
.filter:hover { color: var(--ink); }
.filter i { font-style: normal; font-size: 9px; letter-spacing: 0.04em; color: var(--muted); opacity: 0.8; margin-left: 3px; }
.filter.is-active i, .filter:hover i { color: var(--accent); opacity: 1; }
.filter.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.project-count { font-size: 9px; letter-spacing: 0.16em; color: #a49c8e; white-space: nowrap; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 84px 64px;
  align-items: start;
}
.project-card { position: relative; animation: projectIn 0.7s var(--ease) both; }
@keyframes projectIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.project-card:nth-child(even) { margin-top: 88px; }
.project-card.is-hidden { display: none; }
.project-media .media { height: 400px; background: #d7cec0; }
.project-card:hover .project-media img { transform: scale(1.045); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(14, 16, 15, 0.28), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.project-card:hover .project-media::after { opacity: 1; }
.project-info { padding-top: 22px; }
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.project-meta .cat { color: var(--accent); font-style: normal; }
.project-info h3 {
  margin: 12px 0 4px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.project-subtitle { font-size: 13px; color: #6a6459; letter-spacing: 0.02em; }
.project-summary {
  margin-top: 14px;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.project-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.project-more .arrow { transition: transform 0.4s var(--ease); }
.project-card:hover .project-more .arrow { transform: translate(3px, -3px); color: var(--accent); }
.project-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- 方法 ---------- */
.method { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.method-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 15, 0.2), var(--ink)),
    url("/media/images/svc-exhibition.jpg") center / cover no-repeat;
  opacity: 0.12;
}
.method .container { position: relative; z-index: 1; }
.method-statement {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 92px;
  padding: 44px 0;
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
}
.method-statement p {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.method-statement span { flex: none; font-size: 9px; letter-spacing: 0.22em; color: var(--on-ink-muted); }
.method-block { margin-top: 64px; }
.method-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-on-ink);
}
.method-label span { font-size: 13px; letter-spacing: 0.08em; }
.method-label i { font-style: normal; font-size: 8px; letter-spacing: 0.22em; color: var(--on-ink-muted); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-ink);
}
.value-card { background: var(--ink); padding: 38px 32px 34px; }
.value-num { font-family: var(--serif); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; }
.value-card h3 { margin: 44px 0 4px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.value-en { font-size: 8px; letter-spacing: 0.2em; color: var(--on-ink-muted); }
.value-card p { margin-top: 18px; font-size: 12px; line-height: 1.9; color: var(--on-ink-muted); }
.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-ink);
}
.process-step {
  position: relative;
  padding: 34px 26px 0 0;
  border-right: 1px solid var(--line-on-ink);
}
.process-step:last-child { border-right: 0; }
.process-step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.process-step + .process-step { padding-left: 26px; }
.process-num { font-size: 9px; letter-spacing: 0.16em; color: var(--accent); }
.process-step h4 { margin: 20px 0 3px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.process-en { font-size: 8px; letter-spacing: 0.18em; color: var(--on-ink-muted); }
.process-step p { margin-top: 14px; font-size: 11px; line-height: 1.85; color: var(--on-ink-muted); }

/* ---------- 观点 ---------- */
.news { background: var(--paper); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 34px;
}
.news-card { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.news-media .media { height: 240px; background: #d9d0c2; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.news-meta .tag { color: var(--accent); }
.news-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.news-summary { margin-top: 12px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.news-read { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 10px; letter-spacing: 0.1em; }
.news-read .arrow { transition: transform 0.4s var(--ease); }
.news-card:hover .news-read .arrow { transform: translate(3px, -3px); color: var(--accent); }

/* ---------- 联系 ---------- */
.contact {
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  /* clip 不产生滚动容器，避免装饰圆把整块内容“带偏” */
  overflow: clip;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 15, 0.96) 0%, rgba(14, 16, 15, 0.86) 55%, rgba(14, 16, 15, 0.72) 100%),
    url("/media/images/about-studio.jpg") center / cover no-repeat;
  opacity: 0.55;
}
.contact::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -260px;
  top: -260px;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(20px);
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.88fr);
  gap: 110px;
  align-items: start;
}
.contact-copy .display { margin: 24px 0 0; font-size: clamp(2.8rem, 4.4vw, 4.4rem); }
.contact-copy .lead { max-width: 540px; }
.contact-direct { margin-top: 48px; max-width: 540px; }
.contact-direct-title {
  margin-bottom: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--on-ink-muted);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line-on-ink);
  font-size: 12px;
}
.contact-row span { color: var(--on-ink-muted); letter-spacing: 0.08em; }
.contact-row b, .contact-row a { font-weight: 400; text-align: right; color: var(--on-ink); transition: color 0.3s; }
.contact-row a:hover { color: var(--accent); }
.contact-empty {
  padding: 22px 0;
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  font-size: 11px;
  line-height: 1.8;
  color: var(--on-ink-muted);
}
.contact-meta { display: flex; gap: 56px; margin-top: 38px; }
.contact-meta div { display: flex; flex-direction: column; gap: 7px; }
.contact-meta span { font-size: 8px; letter-spacing: 0.2em; color: var(--on-ink-muted); }
.contact-meta b { font-size: 11px; font-weight: 400; letter-spacing: 0.06em; }
.contact-form-wrap { background: var(--paper); color: var(--ink); padding: 42px 44px 38px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26); }
.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.form-head span { font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: var(--muted); }
.form-head i { font-family: var(--serif); font-style: normal; font-size: 13px; color: var(--accent); }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row label { display: flex; flex-direction: column; gap: 7px; }
.form-row label > span { font-size: 10px; letter-spacing: 0.06em; color: #625c51; }
.form-row em { font-style: normal; color: var(--accent); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.35s;
}
.form-row textarea { resize: vertical; min-height: 94px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #aaa294; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-bottom-color: var(--accent); }
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #827a6c 50%), linear-gradient(135deg, #827a6c 50%, transparent 50%); background-position: calc(100% - 8px) 50%, calc(100% - 3px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-error { display: none; margin: -4px 0 12px; font-size: 11px; color: #a33a25; }
.form-error.is-show { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 4px; }
.form-foot p { max-width: 220px; font-size: 9px; line-height: 1.7; color: #91897b; }
.form-foot .btn { flex: none; height: 48px; padding: 0 22px; }
.form-success { padding: 48px 0 34px; text-align: center; scroll-margin-top: 96px; }
.success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 22px;
}
.form-success h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.form-success p { margin-top: 10px; font-size: 12px; color: var(--muted); }
.form-success .text-link { margin-top: 26px; font-size: 10px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a0c0a; color: var(--on-ink); padding: 80px 0 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 80px; padding-bottom: 62px; }
.footer-brand { max-width: 340px; }
.footer-logo .brand-text b { font-size: 22px; }
.footer-brand > p { margin-top: 22px; font-size: 11px; letter-spacing: 0.1em; color: var(--on-ink-muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 72px; }
.footer-cols h4 { margin-bottom: 18px; font-size: 9px; font-weight: 600; letter-spacing: 0.18em; color: var(--on-ink-muted); }
.footer-cols a, .footer-cols span { display: block; margin-bottom: 9px; font-size: 11px; color: rgba(242, 237, 227, 0.8); transition: color 0.3s; }
.footer-cols a:hover { color: var(--accent); }
.footer-inquiry { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 13px; padding-bottom: 3px; border-bottom: 1px solid var(--accent); color: var(--accent) !important; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-ink);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(242, 237, 227, 0.4);
}
.footer-bottom > div { display: flex; align-items: center; gap: 22px; }
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--on-ink); }

/* ---------- 弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 5vh 4vw; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(6, 7, 6, 0.76); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.45s; }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--paper-deep);
}
.modal.is-open .modal-mask { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: translateY(0); }
.modal-close {
  position: sticky;
  top: 16px;
  z-index: 4;
  display: block;
  width: 46px;
  height: 46px;
  margin: 16px 16px -62px auto;
  border: 1px solid rgba(242, 237, 227, 0.4);
  background: rgba(14, 16, 15, 0.38);
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s;
}
.modal-close span { position: absolute; top: 50%; left: 50%; width: 20px; height: 1px; background: var(--on-ink); }
.modal-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.modal-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.modal-close:hover { background: var(--accent); border-color: var(--accent); }
.modal-hero { position: relative; height: 360px; background: #22251e; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 16, 15, 0.72), transparent 60%); }
.modal-hero-copy { position: absolute; left: 56px; right: 56px; bottom: 34px; z-index: 2; color: var(--on-ink); }
.modal-kicker { display: flex; align-items: center; gap: 12px; font-size: 9px; letter-spacing: 0.22em; color: rgba(242, 237, 227, 0.7); }
.modal-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.modal-hero h2 { margin-top: 12px; font-family: var(--serif); font-size: clamp(2.2rem, 3.7vw, 3.7rem); font-weight: 600; line-height: 1.2; }
.modal-body { padding: 48px 56px 56px; }
.modal-lead { font-family: var(--serif); font-size: 20px; line-height: 1.7; color: #3e3a32; }
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 30px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.modal-meta div { flex: 1; min-width: 140px; padding: 14px 20px 14px 0; border-right: 1px solid var(--line); }
.modal-meta div:last-child { border-right: 0; }
.modal-meta span { display: block; font-size: 8px; letter-spacing: 0.18em; color: var(--muted); }
.modal-meta b { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; }
.modal-text { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; }
.modal-text-label { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); }
.modal-text-body p { margin-bottom: 18px; font-size: 14px; line-height: 2; color: #4d483f; }
.modal-text-body p:last-child { margin-bottom: 0; }
.modal-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.modal-features li { padding: 7px 12px; border: 1px solid var(--line); font-size: 10px; letter-spacing: 0.06em; color: #625c51; }
.modal-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.modal-gallery .media { height: 220px; background: #d7cec0; }
.modal-gallery button { border: 0; padding: 0; background: transparent; text-align: left; }
.modal-gallery img { transition: transform 0.5s var(--ease); }
.modal-gallery button:hover img { transform: scale(1.03); }
.modal-plans {
  margin-top: 30px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  background: #f8f4eb;
}
.modal-plans .plans-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}
.modal-plans .plan-link {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.modal-plans .plan-link i {
  flex: none;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  padding: 4px 7px;
  border-radius: 2px;
}
.modal-plans .plan-link span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-plans .plan-link b { flex: none; font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
.modal-plans .plan-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.modal-plans .plans-note { margin-top: 12px; font-size: 10px; color: var(--muted); }
.modal-plans .copy-path-input {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--accent);
  background: #fffdf8;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: var(--ink);
}
.modal-plans .copy-path-input.is-show { display: block; }
.modal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.modal-cta p { font-family: var(--serif); font-size: 20px; }
.modal-cta .btn { height: 48px; }
.modal-article .modal-hero { height: 320px; }
.modal-article .modal-body { max-width: 840px; }
.modal-article .modal-text { display: block; }
.modal-article .modal-text-body p { font-size: 15px; line-height: 2.05; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 400;
  transform: translate(-50%, 20px);
  max-width: 90vw;
  padding: 13px 22px;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--line-on-ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; }
.no-motion * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .main-nav { gap: 26px; }
  .intro-grid { gap: 70px; }
  .intro-visual .media { height: 470px; }
  .contact-grid { gap: 70px; }
  .contact-form-wrap { padding: 36px 34px 32px; }
  .service-grid { gap: 44px 26px; }
  .service-media .media { height: 230px; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header { height: 78px; }
  .hero-inner { padding-bottom: 15vh; }
  .intro-grid { grid-template-columns: 1fr 0.8fr; gap: 50px; }
  .intro-visual .media { height: 400px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-media .media { height: 280px; }
  .project-grid { gap: 68px 40px; }
  .project-card:nth-child(even) { margin-top: 56px; }
  .project-media .media { height: 330px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-copy .lead { max-width: 680px; }
  .contact-form-wrap { max-width: 720px; }
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-cols { gap: 56px; }
}

@media (max-width: 820px) {
  :root { --gutter: 28px; }
  .section { padding: 104px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 54px; }
  .section-head-aside { align-items: flex-start; text-align: left; max-width: 100%; gap: 14px; }
  .display { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .lead { font-size: 14px; }
  .hero-title { font-size: clamp(3.4rem, 14vw, 6.4rem); }
  .hero-side { display: none; }
  .hero-inner { padding-bottom: 18vh; }
  .hero-bottom { bottom: 28px; }
  .hero-dots { gap: 14px; }
  .hero-dot { width: 60px; }
  .scroll-cue { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-visual { justify-self: start; max-width: 520px; }
  .intro-visual .media { height: 440px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .service-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-media .media { height: 320px; }
  .service-body p { min-height: 0; }
  .project-toolbar { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: -8px; margin-bottom: 40px; }
  .filters { gap: 18px; }
  .project-grid { grid-template-columns: 1fr; gap: 46px; }
  .project-card:nth-child(even) { margin-top: 0; }
  .project-media .media { height: 340px; }
  .method-statement { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 60px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { padding: 28px 24px; }
  .value-card h3 { margin-top: 28px; }
  .process-line { grid-template-columns: 1fr; border-top: 0; }
  .process-step, .process-step + .process-step { padding: 24px 0 24px 28px; border-right: 0; border-top: 1px solid var(--line-on-ink); }
  .process-step::before { top: 32px; left: 0; }
  .process-step h4 { margin-top: 10px; }
  .news-grid { grid-template-columns: 1fr; gap: 38px; }
  .news-media .media { height: 300px; }
  .contact-copy .display { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .contact-meta { gap: 36px; flex-wrap: wrap; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .form-foot { flex-direction: column; align-items: flex-start; }
  .form-foot p { max-width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 38px 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal { padding: 3vh 16px; }
  .modal-panel { width: 100%; max-height: 94vh; }
  .modal-hero { height: 250px; }
  .modal-hero-copy { left: 24px; right: 24px; bottom: 24px; }
  .modal-body { padding: 32px 24px 38px; }
  .modal-text { grid-template-columns: 1fr; gap: 14px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-gallery .media { height: 220px; }
  .modal-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  :root { --gutter: 20px; }
  .site-header { padding: 0 20px; height: 70px; }
  .site-header.is-scrolled { height: 64px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .brand-text b { font-size: 16px; }
  .brand-text small { font-size: 6px; letter-spacing: 0.18em; }
  .header-cta { display: none; }
  .hero-inner { padding-top: 110px; padding-bottom: 16vh; }
  .hero-title { margin: 20px 0 22px; font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .hero-subtitle { font-size: 12px; letter-spacing: 0.06em; }
  .hero-actions { gap: 14px; margin-top: 30px; flex-wrap: wrap; }
  .btn { height: 48px; padding: 0 20px; font-size: 11px; }
  .hero-dot { width: 46px; }
  .hero-dot .dot-top b { display: none; }
  .intro-visual .media { height: 360px; }
  .service-media .media { height: 230px; }
  .project-media .media { height: 240px; }
  .news-media .media { height: 230px; }
  .contact-form-wrap { padding: 28px 22px 26px; }
  .contact-meta { gap: 26px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 14px; }
  .modal-hero { height: 200px; }
  .modal-hero h2 { font-size: 1.9rem; }
  .modal-lead { font-size: 17px; }
  .modal-meta div { min-width: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .title-line > span { transform: none; }
}
