/* ============================================================
   序野设计 XUYE — 全站样式
   版式语言参考: 极简栅格 / 超大标题 / 米白纸感 / 朱橙重点
   ============================================================ */

:root {
  --paper: #f4f2ec;
  --paper-2: #ece8dd;
  --paper-3: #e4dfd2;
  --ink: #101010;
  --ink-70: rgba(16, 16, 16, 0.74);
  --ink-55: rgba(16, 16, 16, 0.66);
  --line: rgba(16, 16, 16, 0.16);
  --line-soft: rgba(16, 16, 16, 0.09);
  --flame: #ff5a1f;
  --flame-deep: #d94a12;
  --mist: #cfe0e6;
  --mist-deep: #b6cfd7;
  --radius: 26px;
  --radius-lg: 36px;
  --sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --head-h: 78px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--flame); color: #fff; }

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.4vw, 52px);
}

.wrap-narrow { max-width: 880px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 200;
  transition: top 0.2s;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------- Header ---------------- */

.head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 236, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.head.scrolled { border-bottom-color: var(--line-soft); }

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo .mark { width: 27px; height: 27px; flex: none; }
.logo .en {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: var(--ink-55);
  margin-left: 3px;
  transform: translateY(-1px);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s;
  white-space: nowrap;
}
.nav a:hover { background: rgba(16, 16, 16, 0.06); }
.nav a[aria-current="page"] { background: var(--mist); }
.nav .en { display: none; }

.head-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--flame); color: var(--ink); transform: translateY(-2px); }
.btn-soft { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-soft); }
.btn-soft:hover { background: var(--mist); transform: translateY(-2px); }
.btn-flame { background: var(--flame); color: var(--ink); }
.btn-flame:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn .ar { transition: transform 0.3s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: var(--head-h) 0 auto 0;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(18px, 5vw, 32px) 28px;
  display: none;
  max-height: calc(100dvh - var(--head-h));
  overflow-y: auto;
}
.mnav.open { display: block; animation: navIn 0.28s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } }
.mnav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}
.mnav a .mono { color: var(--ink-55); font-weight: 400; }
.mnav .m-cta { margin-top: 22px; width: 100%; }

/* ---------------- Hero ---------------- */

.hero { padding: 0 clamp(12px, 1.4vw, 20px) 0; }

.hero-wrap {
  position: relative;
  min-height: calc(100svh - var(--head-h) - 12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(46px, 6vw, 76px) clamp(22px, 4.6vw, 68px) clamp(26px, 3vw, 38px);
  background:
    radial-gradient(78% 62% at 8% 4%, #d5e4e9 0%, rgba(213, 228, 233, 0) 62%),
    radial-gradient(60% 70% at 96% 92%, rgba(255, 90, 31, 0.16) 0%, rgba(255, 90, 31, 0) 60%),
    linear-gradient(122deg, #e4edee 0%, #eef0e6 46%, #f8f0dd 100%);
}
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 16, 16, 0.055) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.hero-center {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 clamp(18px, 2.6vw, 30px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
  flex: none;
}

.hero-title {
  margin: 0;
  font-size: clamp(52px, 8.6vw, 128px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-title .tick { color: var(--flame); }

.hero-sub {
  margin: clamp(20px, 2.6vw, 30px) auto 0;
  max-width: 34em;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  color: var(--ink-70);
  text-wrap: balance;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  margin-top: clamp(30px, 4.4vw, 56px);
}
.hero-foot .rule { flex: 1; height: 1px; background: rgba(16, 16, 16, 0.32); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: var(--ink-70);
  white-space: nowrap;
}
.status b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.orb {
  flex: none;
  width: clamp(108px, 11.4vw, 154px);
  height: clamp(108px, 11.4vw, 154px);
  border-radius: 50%;
  background: var(--flame);
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px -22px rgba(255, 90, 31, 0.85);
  transition: transform 0.45s var(--ease), background 0.3s, box-shadow 0.4s;
}
.orb .ar { font-size: 18px; line-height: 1; transition: transform 0.4s var(--ease); }
.orb:hover { transform: scale(1.05) rotate(-4deg); background: var(--ink); color: var(--paper); box-shadow: 0 24px 46px -22px rgba(16, 16, 16, 0.5); }
.orb:hover .ar { transform: translateX(3px); }
.orb-sm { width: 104px; height: 104px; font-size: 15px; }
.orb-ink { background: var(--ink); color: var(--paper); box-shadow: none; }
.orb-ink:hover { background: var(--flame); color: var(--ink); }

/* ---------------- Sections ---------------- */

.sec { padding: clamp(64px, 8.4vw, 120px) 0; }
.sec-sm { padding: clamp(48px, 5.6vw, 76px) 0; }
.sec-tight { padding: clamp(36px, 4vw, 56px) 0; }
.sec-after-hero { padding: clamp(16px, 2vw, 28px) 0 clamp(36px, 4vw, 56px); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(30px, 4.4vw, 56px);
}
.sec-head .label { display: flex; flex-direction: column; gap: 6px; }
.sec-head .label .mono { color: var(--ink-55); }
.sec-head .label h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sec-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  white-space: nowrap;
  padding-bottom: 6px;
}

.display {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 44em;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-more:hover { gap: 16px; color: var(--flame-deep); border-color: var(--flame); }

/* ---------------- Work cards ---------------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 3.2vw, 48px) clamp(20px, 2.6vw, 34px);
}

.card { display: block; text-decoration: none; }

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.card-media .go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(244, 242, 236, 0.92);
  display: grid;
  place-items: center;
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.35s, transform 0.45s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); }
.card:hover .card-media .go { opacity: 1; transform: none; }

.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 0;
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.card-title .cn { font-size: 0.72em; color: var(--ink-55); font-weight: 400; letter-spacing: 0.02em; }
.card-note { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-55); line-height: 1.6; }

/* ---------------- Belief band ---------------- */

.band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin: 0 clamp(12px, 1.4vw, 20px);
  padding: clamp(48px, 6vw, 86px) clamp(22px, 4.4vw, 64px);
}
.band .eyebrow { color: rgba(244, 242, 236, 0.6); }
.band .eyebrow .dot { background: var(--flame); }
.band h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 19em;
}
.band h2 em { font-style: normal; color: var(--flame); }
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 46px);
  margin-top: clamp(40px, 5vw, 68px);
  padding-top: 28px;
  border-top: 1px solid rgba(244, 242, 236, 0.2);
}
.band-grid h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }
.band-grid p { margin: 0; font-size: 15px; line-height: 1.75; color: rgba(244, 242, 236, 0.66); }
.band-grid .n {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--flame);
  margin-bottom: 10px;
}

/* ---------------- Services ---------------- */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 26px);
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: transparent;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s;
  min-height: 260px;
}
.svc:hover { background: var(--mist); border-color: transparent; transform: translateY(-4px); }
.svc .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-55);
}
.svc h3 {
  margin: 0;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.svc h3 .ar { font-weight: 400; font-size: 20px; transition: transform 0.35s var(--ease); }
.svc:hover h3 .ar { transform: translate(3px, -3px); }
.svc p { margin: 0; color: var(--ink-70); font-size: 15.5px; line-height: 1.7; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-70);
  background: rgba(244, 242, 236, 0.5);
  white-space: nowrap;
}

/* ---------------- Studio split ---------------- */

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.split .sticky { position: sticky; top: calc(var(--head-h) + 24px); }
.split h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: clamp(30px, 4vw, 52px) 0;
}
.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--ink-55); letter-spacing: 0.04em; }

/* ---------------- Blog rows ---------------- */

.post-list { border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 150px 1fr 44px;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(20px, 2.2vw, 28px) 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.35s var(--ease), background 0.3s;
}
.post-row:hover { padding-left: 16px; background: rgba(207, 224, 230, 0.28); }
.post-row .k {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
}
.post-row .k b { color: var(--flame-deep); font-weight: 500; }
.post-row h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.post-row .pc { min-width: 0; }
.post-row p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-55); line-height: 1.6; }
.post-row .ar { font-size: 20px; transition: transform 0.3s var(--ease); }
.post-row:hover .ar { transform: translateX(6px); }

/* ---------------- Quotes ---------------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 26px);
}
.quote {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote .qm { font-size: 44px; line-height: 0.6; color: var(--flame); font-weight: 700; }
.quote blockquote {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.quote .who { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.quote .who b { font-size: 14.5px; font-weight: 700; }
.quote .who span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-55); }

/* ---------------- CTA block ---------------- */

.cta-block {
  text-align: center;
  padding: clamp(60px, 8vw, 110px) 0 clamp(30px, 4vw, 50px);
}
.cta-block h2 {
  margin: 0 auto clamp(26px, 3vw, 40px);
  font-size: clamp(38px, 6.2vw, 92px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 15em;
  text-wrap: balance;
}
.cta-block h2 em { font-style: normal; color: var(--flame); }

/* ---------------- Footer ---------------- */

.foot {
  border-top: 1px solid var(--ink);
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(44px, 5vw, 68px) 0 26px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: clamp(26px, 3.4vw, 52px);
  align-items: start;
}
.foot-word {
  margin: 4px 0 10px;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.foot-word span { font-family: var(--mono); font-size: 0.22em; letter-spacing: 0.3em; font-weight: 500; color: var(--ink-55); display: block; margin-top: 10px; }
.foot-slogan { font-size: 15px; color: var(--ink-70); max-width: 26em; line-height: 1.7; }
.foot h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 500;
}
.foot li { margin-bottom: 9px; }
.foot li a, .foot li span {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-70);
  transition: color 0.25s;
}
.foot li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.foot-social span {
  font-size: 12px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-70);
}
.foot-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-55);
}
.foot-bot .mono { font-size: 11px; letter-spacing: 0.1em; }
.foot-bot a { color: var(--ink-70); text-decoration: none; }
.foot-bot a:hover { color: var(--ink); }

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero { padding: clamp(36px, 4.4vw, 60px) 0 clamp(30px, 3.6vw, 46px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.page-hero .head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.page-hero .head-row .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-55);
  padding-bottom: 12px;
}
.page-hero .lede { margin-top: 22px; }
.rule-top { border-top: 1px solid var(--ink); padding-top: 22px; }

/* ---------------- Case study ---------------- */

.case-head { padding-top: clamp(20px, 2.6vw, 34px); }
.back {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  text-decoration: none;
  color: var(--ink-55);
  margin-bottom: 26px;
  transition: color 0.25s, gap 0.25s;
}
.back:hover { color: var(--ink); gap: 11px; }
.case-head h1 {
  margin: 0;
  font-size: clamp(44px, 7.2vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.case-head .lede { margin-top: 20px; max-width: 46em; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: clamp(30px, 3.6vw, 48px) 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-grid div { display: flex; flex-direction: column; gap: 4px; }
.meta-grid dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.meta-grid dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }

.case-hero {
  margin-top: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-3);
}
.case-hero img { width: 100%; height: 100%; object-fit: cover; }

.case-body { padding-top: clamp(40px, 5vw, 72px); }
.case-sec {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(30px, 3.6vw, 46px) 0;
  border-top: 1px solid var(--line);
}
.case-sec:first-child { border-top: 0; padding-top: 0; }
.case-sec h2 {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.case-sec h2 .mono { display: block; color: var(--ink-55); font-weight: 400; margin-bottom: 6px; }
.case-sec .body { max-width: 46em; }
.case-sec .body p { color: var(--ink-70); }
.case-sec .body strong { color: var(--ink); font-weight: 700; }
.case-sec .body h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
.case-sec .body h3:first-child { margin-top: 0; }

.checklist { display: grid; gap: 10px; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--ink-70);
  line-height: 1.7;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin: clamp(18px, 2vw, 26px) 0 0;
}
.result-grid .r {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.result-grid b {
  display: block;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.result-grid span { font-size: 12.5px; color: var(--ink-55); line-height: 1.5; display: block; margin-top: 4px; }

.big-quote {
  margin: clamp(34px, 4.4vw, 56px) 0;
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--mist);
  border-radius: var(--radius);
}
.big-quote blockquote {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.big-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-70);
}

.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.case-nav a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  transition: background 0.3s;
  border: 1px solid var(--line-soft);
}
.case-nav a:hover { background: var(--paper-2); }
.case-nav a.next { text-align: right; align-items: flex-end; }
.case-nav .mono { color: var(--ink-55); }
.case-nav b { font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; letter-spacing: -0.02em; }

/* ---------------- Service page ---------------- */

.svc-rows { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid;
  grid-template-columns: 70px 0.9fr 1.1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s, padding 0.35s var(--ease);
  align-items: start;
}
.svc-row:hover { background: rgba(207, 224, 230, 0.3); padding-left: 12px; padding-right: 12px; }
.svc-row .n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--ink-55); padding-top: 8px; }
.svc-row h3 { margin: 0; font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.16; }
.svc-row h3 .en { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-55); font-weight: 400; margin-top: 8px; text-transform: uppercase; }
.svc-row p { margin: 0; color: var(--ink-70); font-size: 15.5px; }
.svc-row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.deliver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.deliver {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 2.4vw, 30px);
}
.deliver h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.deliver p { margin: 0; font-size: 14.5px; color: var(--ink-70); line-height: 1.7; }

.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 56px 0.8fr 1.2fr;
  gap: clamp(14px, 2.4vw, 32px);
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.step .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--flame-deep); padding-top: 4px; }
.step h3 { margin: 0; font-size: 18px; font-weight: 700; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-70); line-height: 1.7; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-55);
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; font-size: 15px; color: var(--ink-70); max-width: 52em; line-height: 1.75; }

/* ---------------- Blog article ---------------- */

.post-head { padding: clamp(20px, 2.4vw, 34px) 0 0; }
.post-head h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 20em;
}
.post-head .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--ink-55);
  text-transform: uppercase;
}
.post-head .post-meta b { color: var(--flame-deep); font-weight: 500; }

.prose { max-width: 46em; padding: clamp(34px, 4.4vw, 60px) 0 0; }
.prose > p { font-size: 17.5px; line-height: 1.85; color: rgba(16, 16, 16, 0.82); }
.prose > p:first-of-type { font-size: 20px; line-height: 1.75; color: var(--ink); }
.prose h2 {
  margin: clamp(34px, 4vw, 48px) 0 14px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.prose h2 .mono { display: block; color: var(--ink-55); font-weight: 400; margin-bottom: 8px; }
.prose h3 { margin: 26px 0 10px; font-size: 19px; font-weight: 700; }
.prose ul { margin: 0 0 1.3em; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 22px; font-size: 16.5px; color: rgba(16, 16, 16, 0.8); line-height: 1.75; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--flame); }
.prose ol { margin: 0 0 1.3em; display: grid; gap: 10px; counter-reset: li; }
.prose ol li { counter-increment: li; position: relative; padding-left: 30px; font-size: 16.5px; color: rgba(16, 16, 16, 0.8); }
.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; font-family: var(--mono); font-size: 11px; color: var(--flame-deep); }
.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--flame);
  background: var(--paper-2);
  border-radius: 0 16px 16px 0;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 34px 0; }
.prose figure .fig {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper-3);
}
.prose figcaption { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-55); }
.prose .kv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prose .kv div b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.prose .kv div span { font-size: 12px; color: var(--ink-55); }

.author {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: clamp(34px, 4vw, 52px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.author .av {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--mist); color: var(--ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; flex: none;
}
.author b { display: block; font-size: 15px; }
.author span { font-size: 13px; color: var(--ink-55); }
.author .sp { margin-left: auto; }

.related { padding-top: clamp(40px, 4.6vw, 64px); }

/* ---------------- About ---------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.member { border-top: 1px solid var(--ink); padding-top: 16px; }
.member .ph {
  aspect-ratio: 1 / 1.08;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.member h3 { margin: 0; font-size: 17px; font-weight: 700; }
.member .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--flame-deep); text-transform: uppercase; }
.member p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-55); line-height: 1.65; }

.timeline { border-top: 1px solid var(--line); }
.tl {
  display: grid;
  grid-template-columns: 96px 0.8fr 1.2fr;
  gap: clamp(14px, 2.6vw, 40px);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tl .y { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--flame-deep); }
.tl h3 { margin: 0; font-size: 17px; font-weight: 700; }
.tl p { margin: 0; font-size: 14.5px; color: var(--ink-70); line-height: 1.7; }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}
.principle {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 2.4vw, 32px);
}
.principle .mono { color: var(--flame-deep); }
.principle h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 700; }
.principle p { margin: 0; font-size: 14.5px; color: var(--ink-70); line-height: 1.75; }

.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: 8px;
}
.clients span {
  font-size: 14.5px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-70);
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-top: clamp(26px, 3.4vw, 44px);
  background: var(--paper-3);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(20px, 3vw, 40px);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field label .mono { color: var(--ink-55); margin-left: 6px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.14);
}
.field .err { font-size: 12.5px; color: var(--flame-deep); min-height: 0; display: none; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--flame); background: rgba(255, 90, 31, 0.05); }
.field.bad .err { display: block; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-55); max-width: 26em; line-height: 1.6; }

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper-2);
}
.info-card + .info-card { margin-top: 16px; }
.info-card h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-55); text-transform: uppercase; }
.info-card dd { margin: 2px 0 0; font-size: 15px; line-height: 1.6; }
.info-card dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info-card dd a:hover { border-color: var(--ink); }

.map {
  margin-top: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(16, 16, 16, 0.055) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(16, 16, 16, 0.055) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(140deg, #e9eee7, #f3ede0 60%, #dfe9ec);
  aspect-ratio: 3 / 1;
  position: relative;
}
.map::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 58%;
  height: 16%;
  background: rgba(182, 207, 215, 0.55);
  transform: skewY(-3deg);
}
.map .pin {
  position: absolute;
  left: 58%;
  top: 44%;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 7px rgba(255, 90, 31, 0.2), 0 0 0 16px rgba(255, 90, 31, 0.09);
}
.map .pin-label {
  position: absolute;
  left: calc(58% + 22px);
  top: calc(44% - 8px);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  max-width: calc(100vw - 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--flame); font-weight: 600; }

/* ---------------- Legal / prose pages ---------------- */

.legal { max-width: 50em; }
.legal h2 {
  margin: clamp(28px, 3vw, 40px) 0 12px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal h2 .mono { color: var(--ink-55); margin-right: 10px; font-weight: 400; }
.legal p, .legal li { font-size: 15.5px; color: rgba(16, 16, 16, 0.78); line-height: 1.85; }
.legal ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-55); }
.legal .updated {
  display: inline-flex;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
  margin-bottom: 24px;
}

/* ---------------- 404 ---------------- */

.err-page { min-height: calc(100svh - var(--head-h) - 120px); display: flex; align-items: center; }
.err-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 60px); align-items: center; width: 100%; padding: clamp(30px, 5vw, 70px) clamp(18px, 3.4vw, 52px); }
.err-code {
  font-size: clamp(120px, 22vw, 300px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.err-code .zero {
  display: inline-block;
  width: 0.72em; height: 0.72em;
  border-radius: 50%;
  background: var(--flame);
  margin: 0 0.03em;
  vertical-align: 0.02em;
}
.err-in h1 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.err-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------------- Reveal ---------------- */

[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-r].in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .err-in { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 52px 1fr; }
  .svc-row .rbody { grid-column: 2; }
  .meta-grid, .result-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 0 10px; }
  .hero-wrap { min-height: calc(92svh - var(--head-h)); border-radius: 26px; padding: 44px 20px 24px; }
  .hero-title { font-size: clamp(46px, 13vw, 62px); }
  .hero-sub { font-size: 15px; max-width: 26em; }
  .hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 16px 18px; align-items: center; }
  .hero-foot .rule { display: none; }
  .hero-foot .orb { grid-column: 1 / -1; justify-self: center; width: 96px; height: 96px; font-size: 14px; }
  .hero-foot .status { grid-row: 2; grid-column: 1; justify-self: start; font-size: 10.5px; }
  .hero-foot .status.right { grid-row: 2; grid-column: 2; justify-self: end; margin-left: 0; }
  .orb-sm { width: 88px; height: 88px; }
  .work-grid { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 4 / 3; border-radius: 20px; }
  .svc-grid, .quote-grid, .principles, .deliver-grid { grid-template-columns: 1fr; }
  .band { margin: 0 10px; border-radius: 26px; }
  .band-grid { grid-template-columns: 1fr; gap: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head .meta { padding-bottom: 0; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .post-row { grid-template-columns: 1fr 28px; gap: 10px; }
  .post-row .k { grid-row: 1; grid-column: 1; flex-direction: row; gap: 10px; }
  .post-row h3 { grid-column: 1; }
  .post-row p { display: none; }
  .post-row .ar { grid-row: 2; grid-column: 2; align-self: end; }
  .case-sec { grid-template-columns: 1fr; gap: 12px; }
  .case-hero { aspect-ratio: 4 / 3; border-radius: 22px; }
  .meta-grid { gap: 14px; }
  .meta-grid dd { font-size: 14px; }
  .case-nav { grid-template-columns: 1fr; }
  .case-nav a.next { text-align: left; align-items: flex-start; }
  .result-grid b { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 4 / 3; }
  .tl { grid-template-columns: 64px 1fr; }
  .tl p { grid-column: 2; }
  .step { grid-template-columns: 40px 1fr; }
  .step p { grid-column: 2; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .prose .kv { grid-template-columns: 1fr 1fr; }
  .err-code { font-size: clamp(110px, 34vw, 200px); }
  .cta-block h2 { font-size: clamp(34px, 10vw, 54px); }
  .page-hero h1 { font-size: clamp(38px, 11vw, 58px); }
  .case-head h1 { font-size: clamp(38px, 11vw, 58px); }
}

@media (max-width: 420px) {
  .logo .en { display: none; }
  .hero-title { font-size: 42px; }
  .hero-sub br.only-d { display: none; }
}

@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;
  }
  [data-r] { opacity: 1; transform: none; }
}

@media print {
  .head, .mnav, .foot, .toast, .orb { display: none !important; }
  body { background: #fff; }
}