@font-face {
  font-family: "Viow HanziPen Display";
  src:
    url("/assets/fonts/viow-hanzipen/dist/viow-hanzipen-display-sc-w3.70d32da085.woff2") format("woff2"),
    url("/assets/fonts/viow-hanzipen/dist/viow-hanzipen-display-sc-w3.70d32da085.woff") format("woff"),
    local("HanziPen SC Regular"),
    local("HanziPenSC-W3"),
    local("HanziPen SC"),
    local("翩翩体-简");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --brand-primary: #23593b;
  --brand-primary-rgb: 35, 89, 59;
  --canopy: #17472f;
  --forest: #23593b;
  --moss: #6f8b50;
  --leaf: #2f8b57;
  --fern: #dfeada;
  --mint: #eef5eb;
  --paper: #fbfbf4;
  --stone: #6f756c;
  --stone-light: #d8dfd2;
  --ink: #1d2b22;
  --white: #ffffff;
  --ochre: #a9793f;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;
  --radius: var(--radius-md);
  --page-pad: clamp(28px, 6.2vw, 112px);
  --content-max: 1120px;
  --measure-copy: 42rem;
  --measure-wide: 52rem;
  --leading-copy: 1.76;
  --leading-long: 1.84;
  --section-space: clamp(108px, 12vw, 180px);
  --menu-button-size: 58px;
  --top-screen-min-block: 100vh;
  --top-screen-guard: 2px;
  --first-screen-header-space: 78px;
  --first-screen-home-top-space: clamp(56px, 8vh, 108px);
  --first-screen-page-top-space: clamp(58px, 9vh, 126px);
  --first-screen-aiki-top-space: clamp(38px, 7vh, 78px);
  --first-screen-safe-bottom: max(clamp(78px, 10vh, 116px), calc(env(safe-area-inset-bottom) + 76px));
  --scroll-cue-bottom: max(clamp(24px, 4vh, 42px), env(safe-area-inset-bottom));
  --hero-enter-duration: 1800ms;
  --hero-enter-delay-title: 0ms;
  --hero-enter-delay-statement-one: 1000ms;
  --hero-enter-delay-statement-two: 3000ms;
  --hero-enter-delay-action: 5000ms;
  --hero-enter-ease: cubic-bezier(.22, 1, .36, 1);
  --display-font: "Viow HanziPen Display", "HanziPen SC", "翩翩体-简",
    "Kaiti SC", "STKaiti", serif;
  --body-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-family: var(--body-font);
}

@supports (height: 100svh) {
  :root {
    --top-screen-min-block: 100svh;
    --first-screen-home-top-space: clamp(56px, 8svh, 108px);
    --first-screen-page-top-space: clamp(58px, 9svh, 126px);
    --first-screen-aiki-top-space: clamp(38px, 7svh, 78px);
    --first-screen-safe-bottom: max(clamp(78px, 10svh, 116px), calc(env(safe-area-inset-bottom) + 76px));
    --scroll-cue-bottom: max(clamp(24px, 4svh, 42px), env(safe-area-inset-bottom));
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: var(--leading-copy);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body,
button,
a {
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

html[data-input-mode="touch"] a,
html[data-input-mode="touch"] button,
html[data-input-mode="touch"] [role="button"],
html[data-input-mode="touch"] [role="tab"] {
  cursor: default;
}

html[data-input-mode="touch"] :focus {
  outline: none;
}

html[data-input-mode="touch"] :focus-visible {
  outline: none;
}

html[data-cursor-reset],
html[data-cursor-reset] * {
  cursor: default !important;
}

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

.editorial-media {
  position: relative;
  overflow: hidden;
}

.editorial-media > img {
  filter: saturate(0.78) contrast(0.96) sepia(0.06);
}

.editorial-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(23, 71, 47, 0.14), rgba(251, 251, 244, 0.05)),
    repeating-linear-gradient(135deg, rgba(251, 251, 244, 0.08) 0 1px, transparent 1px 16px);
  mix-blend-mode: soft-light;
}

.editorial-media > figcaption:not(.image-note),
.editorial-media .portrait-placeholder {
  position: relative;
  z-index: 2;
}

.editorial-media .image-note {
  position: absolute;
  z-index: 2;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin: 0;
}

p,
li,
figcaption,
small {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  transform: translateY(-140%);
  border: 1px solid var(--forest);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 10px 12px;
  color: var(--canopy);
  font-weight: 760;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--leaf);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 55;
  width: 100%;
  height: 3px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--leaf);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-bottom: 0;
  background: transparent;
  padding: 16px var(--page-pad);
  pointer-events: none;
  transition:
    min-height 180ms ease,
    padding 180ms ease;
}

.site-header .language-switch,
.site-header .brand,
.site-header .menu-button {
  pointer-events: auto;
}

.site-header .language-switch,
.site-header .brand {
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    padding 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

html.is-booting .site-header,
html.is-booting .site-header .language-switch,
html.is-booting .site-header .brand,
html.is-booting .site-header .menu-button {
  transition: none;
}

body.menu-open .site-header .language-switch,
body.menu-open .site-header .brand {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-header .menu-button {
  position: fixed;
  top: 14px;
  right: var(--page-pad);
  z-index: 120;
  width: var(--menu-button-size);
  height: var(--menu-button-size);
  flex-direction: column;
  border-color: rgba(23, 71, 47, 0.24);
  background: rgba(251, 251, 244, 0.86);
  padding: 0;
  backdrop-filter: blur(12px);
  transition:
    border-color 180ms ease-out,
    background 180ms ease-out,
    box-shadow 180ms ease-out,
    color 180ms ease-out,
    transform 180ms ease-out;
}

html[data-header-state="scrolled"] .site-header .menu-button {
  top: 10px;
  border-color: rgba(23, 71, 47, 0.24);
  background: rgba(251, 251, 244, 0.86);
}

body.menu-open .site-header .menu-button {
  border-color: rgba(251, 251, 244, 0.36);
  background: rgba(251, 251, 244, 0.92);
  color: var(--canopy);
}

html[data-input-mode="mouse"] .site-header .menu-button:hover {
  border-color: rgba(23, 71, 47, 0.48);
  background: rgba(251, 251, 244, 1);
  box-shadow: 0 10px 24px rgba(23, 71, 47, 0.12);
  transform: scale(1.045);
}

.menu-button {
  display: inline-flex;
  width: var(--menu-button-size);
  height: var(--menu-button-size);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 71, 47, 0.28);
  border-radius: var(--radius-pill);
  background: var(--mint);
  padding: 0;
  color: var(--canopy);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1;
}

.menu-button:focus:not(:focus-visible),
html[data-input-mode="mouse"] .menu-button:focus {
  outline: none;
}

.menu-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.menu-label {
  display: block;
  text-align: center;
}

.language-switch {
  position: absolute;
  top: 50%;
  left: var(--page-pad);
  display: inline-flex;
  border: 1px solid rgba(23, 71, 47, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.5);
  min-height: 42px;
  padding: 4px;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.language-switch button {
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  min-width: 36px;
  min-height: 32px;
  padding: 7px 10px;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
}

.language-switch button.is-active {
  background: var(--canopy);
  color: var(--paper);
}

html[data-page-theme="method"] .language-switch,
html[data-page-theme="life"] .language-switch,
html[data-page-theme="contact"] .language-switch {
  border-color: rgba(251, 251, 244, 0.34);
  background: rgba(251, 251, 244, 0.2);
}

html[data-page-theme="method"] .language-switch button,
html[data-page-theme="life"] .language-switch button,
html[data-page-theme="contact"] .language-switch button {
  color: var(--paper);
}

html[data-page-theme="method"] .language-switch button.is-active,
html[data-page-theme="life"] .language-switch button.is-active,
html[data-page-theme="contact"] .language-switch button.is-active {
  background: var(--paper);
  color: var(--canopy);
}

html[data-header-state="scrolled"] .language-switch {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.brand {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  color: var(--canopy);
  font-family: var(--display-font);
  font-size: clamp(1.18rem, 1.65vw, 1.58rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

html[data-page-theme="method"] .brand,
html[data-page-theme="life"] .brand,
html[data-page-theme="contact"] .brand {
  color: var(--paper);
}

html[data-hero-surface="media"] .site-header .brand {
  color: rgba(251, 251, 244, 0.92);
}

html[data-header-state="scrolled"] .site-header {
  min-height: 62px;
  padding-top: 10px;
  padding-bottom: 10px;
}

html[data-header-state="scrolled"] .site-header .brand {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.route-tools {
  position: fixed;
  right: max(48px, env(safe-area-inset-right));
  bottom: max(48px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: none;
  transform-origin: 100% 100%;
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

.route-tools[hidden],
.route-toc[hidden],
.route-tool[hidden] {
  display: none;
}

.route-tools[data-route-visibility="entering"] {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(10px) scale(0.975);
}

.route-tools[data-route-visibility="leaving"] {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
}

.route-toolbar {
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(58px, max-content);
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--canopy);
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: auto;
}

.route-toolbar[data-route-tool-layout="controller"] {
  grid-template-columns: repeat(3, minmax(58px, max-content));
}

.route-toolbar[data-route-tool-layout="controller"] .route-tool-top {
  grid-column: 2;
}

.route-toolbar[data-route-tool-layout="controller"] .route-tool-parent {
  grid-column: 1;
  grid-row: 2;
}

.route-toolbar[data-route-tool-layout="controller"] .route-tool-next {
  grid-column: 2;
  grid-row: 2;
}

.route-toolbar[data-route-tool-layout="controller"] .route-toc {
  grid-column: 3;
  grid-row: 2;
}

.route-toolbar[data-route-tool-layout="cluster"] {
  grid-template-columns: repeat(3, minmax(58px, max-content));
}

.route-toolbar[data-route-tool-layout="inline"] {
  grid-template-columns: repeat(2, minmax(58px, max-content));
}

.route-toolbar[data-route-tool-count="1"] {
  grid-template-columns: minmax(58px, max-content);
}

.route-toolbar[data-route-tool-count="2"] {
  grid-template-columns: repeat(2, minmax(58px, max-content));
}

.route-toolbar[data-route-tool-count="3"] {
  grid-template-columns: repeat(3, minmax(58px, max-content));
}

.route-tool {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.88);
  min-width: 58px;
  min-height: 42px;
  padding: 0 13px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  text-align: center;
  transition:
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    background 160ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms ease,
    min-width 220ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 200ms ease;
  box-shadow: 0 12px 34px rgba(23, 71, 47, 0.1);
  backdrop-filter: blur(14px) saturate(1.03);
  transform-origin: 50% 100%;
}

.route-tool[data-route-visibility="entering"],
.route-toc[data-route-visibility="entering"] .route-tool {
  opacity: 0;
  filter: blur(0.5px);
  transform: translateY(4px) scale(0.985);
}

.route-tool[data-route-visibility="leaving"],
.route-toc[data-route-visibility="leaving"] .route-tool {
  opacity: 0;
  filter: blur(0.5px);
  transform: translateY(2px) scale(0.985);
  pointer-events: none;
}

.route-tool-parent,
.route-tool-top {
  color: var(--canopy);
}

.route-tool-label {
  display: inline-block;
  max-width: 0;
  margin-right: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
  transform: translateX(5px);
  transition:
    max-width 240ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-right 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 160ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-tool:hover,
.route-tool:focus-visible,
.route-toc:focus-within .route-tool {
  min-width: 94px;
  padding-right: 14px;
  padding-left: 15px;
}

.route-tool:hover .route-tool-label,
.route-tool:focus-visible .route-tool-label,
.route-toc:focus-within .route-tool-label {
  max-width: 4.8em;
  margin-right: 9px;
  opacity: 1;
  transform: translateX(0);
}

.route-tool-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(23, 71, 47, 0.58);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0;
}

.route-tool-meta kbd {
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: 5px;
  background: rgba(251, 251, 244, 0.76);
  padding: 0 4px;
  color: inherit;
  font: inherit;
  box-shadow: 0 5px 18px rgba(23, 71, 47, 0.08);
}

.route-toc {
  position: relative;
  display: grid;
}

.route-toc .route-tool {
  width: 100%;
}

.route-toc-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - (var(--page-pad) * 2)));
  max-height: min(52vh, 420px);
  overflow: auto;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(251, 251, 244, 0.95);
  color: var(--canopy);
  box-shadow: 0 22px 54px rgba(9, 35, 23, 0.18);
  backdrop-filter: blur(20px) saturate(1.05);
  transform-origin: 100% 100%;
}

.route-toc-panel[hidden] {
  display: none;
}

.route-toc-panel ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 8px;
  list-style: none;
}

.route-toc-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-toc-panel a span {
  flex: 0 0 auto;
  color: rgba(23, 71, 47, 0.58);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-toc-panel a em {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.25;
}

.route-toc-panel a.is-active,
.route-toc-panel a[aria-current] {
  background: rgba(23, 71, 47, 0.1);
  color: var(--canopy);
}

.route-tool-icon {
  font-size: 0.78rem;
  line-height: 1;
}

html[data-input-mode="mouse"] .route-tool:hover,
html[data-input-mode="mouse"] .route-toc-panel a:hover {
  border-color: rgba(23, 71, 47, 0.32);
  background: rgba(23, 71, 47, 0.92);
  color: var(--paper);
  transform: translateY(-1px);
}

html[data-input-mode="mouse"] .route-tool:hover .route-tool-meta {
  color: rgba(251, 251, 244, 0.68);
}

html[data-input-mode="mouse"] .route-tool:hover .route-tool-meta kbd {
  border-color: rgba(251, 251, 244, 0.2);
  background: rgba(251, 251, 244, 0.12);
}

html[data-input-mode="mouse"] .route-toc-panel a:hover {
  background: rgba(23, 71, 47, 0.09);
  color: var(--canopy);
}

.route-tool:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 80ms;
}

.route-tool:focus:not(:focus-visible),
html[data-input-mode="mouse"] .route-tool:focus,
.route-toc-panel a:focus:not(:focus-visible),
html[data-input-mode="mouse"] .route-toc-panel a:focus {
  outline: none;
}

.route-tool:focus-visible,
.route-toc-panel a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.site-scroll-cue {
  position: fixed;
  right: auto;
  bottom: var(--scroll-cue-bottom);
  left: 50%;
  z-index: 70;
  display: inline-grid;
  width: clamp(42px, 4.6vw, 50px);
  height: clamp(42px, 4.6vw, 50px);
  place-items: center;
  border: 1px solid rgba(251, 251, 244, 0.28);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.2), rgba(251, 251, 244, 0.08)),
    rgba(8, 31, 20, 0.72);
  color: var(--paper);
  box-shadow:
    0 18px 42px rgba(5, 20, 13, 0.24),
    inset 0 1px rgba(251, 251, 244, 0.22);
  cursor: pointer;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-scroll-cue[hidden] {
  display: none;
}

.site-scroll-cue[data-cue-visibility="entering"],
.site-scroll-cue[data-cue-visibility="leaving"] {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

.site-scroll-cue span {
  display: inline-block;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1;
  animation: scroll-cue-breathe 1500ms cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

html[data-input-mode="mouse"] .site-scroll-cue:hover,
.site-scroll-cue:focus-visible {
  border-color: rgba(251, 251, 244, 0.52);
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.24), rgba(251, 251, 244, 0.1)),
    rgba(8, 31, 20, 0.9);
  transform: translateX(-50%) translateY(-2px);
}

.site-scroll-cue:focus:not(:focus-visible),
html[data-input-mode="mouse"] .site-scroll-cue:focus {
  outline: none;
}

.site-scroll-cue:focus-visible {
  outline: 2px solid rgba(251, 251, 244, 0.86);
  outline-offset: 5px;
}

body.menu-open .site-scroll-cue,
html.has-media-lightbox .site-scroll-cue {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-cue-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(-2px);
  }

  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

main section[tabindex="-1"]:focus,
main article[tabindex="-1"]:focus,
main h2[tabindex="-1"]:focus,
main h3[tabindex="-1"]:focus {
  outline: none;
}

html[data-hero-surface="media"][data-header-state="top"] .route-tools {
  display: none;
}

body.menu-open .route-tools {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  visibility: hidden;
  background: var(--canopy);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.menu-panel.is-open {
  display: grid;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-panel-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(8, 31, 20, 0.96), rgba(35, 65, 42, 0.84)),
    var(--brand-primary);
}

.menu-panel-visual::before,
.menu-panel-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.menu-panel-visual::before {
  z-index: 1;
  background: rgba(5, 19, 13, 0.22);
}

.menu-panel-visual::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 19, 13, 0.48), rgba(5, 19, 13, 0.18) 46%, rgba(5, 19, 13, 0.4)),
    linear-gradient(180deg, rgba(5, 19, 13, 0.32), rgba(5, 19, 13, 0.12) 42%, rgba(5, 19, 13, 0.48));
}

.menu-panel-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.76) saturate(0.68) contrast(0.94);
  transform: scale(1.045);
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-panel.is-open .menu-panel-video {
  opacity: 0.68;
  transform: scale(1);
}

.menu-panel-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100vh;
  border-left: 1px solid rgba(251, 251, 244, 0.34);
  background:
    radial-gradient(circle at 92% 12%, rgba(251, 251, 244, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 42, 28, 0.99), rgba(6, 24, 16, 0.99));
  box-shadow:
    -34px 0 82px rgba(0, 0, 0, 0.34),
    inset 1px 0 rgba(251, 251, 244, 0.1);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(42px, 6vw, 80px);
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-panel-inner::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 251, 244, 0.055), transparent 22%),
    linear-gradient(180deg, rgba(251, 251, 244, 0.045), transparent 34%);
}

.menu-panel-inner > * {
  position: relative;
  z-index: 1;
}

.menu-panel.is-open .menu-panel-inner {
  opacity: 1;
  transform: translateX(0);
}

.menu-panel-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.menu-brand {
  color: var(--paper);
  font-family: var(--display-font);
  font-size: clamp(1.16rem, 2.6vw, 1.62rem);
  line-height: 1;
}

.menu-panel-body {
  display: grid;
  align-content: center;
  gap: clamp(34px, 5vw, 64px);
}

.menu-kicker {
  color: rgba(251, 251, 244, 0.68);
  font-size: 0.82rem;
  font-weight: 680;
  text-transform: uppercase;
}

.menu-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.menu-list a {
  display: block;
  border-bottom: 1px solid rgba(251, 251, 244, 0.22);
  padding: clamp(16px, 2.8vw, 28px) 0;
  font-family: var(--body-font);
  font-size: clamp(1.26rem, 2.6vw, 2.04rem);
  font-weight: 500;
  line-height: 1.12;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

html[data-input-mode="mouse"] .menu-list a:hover {
  border-color: rgba(251, 251, 244, 0.3);
  color: var(--fern);
  transform: translateX(4px);
}

.menu-list small {
  color: rgba(251, 251, 244, 0.7);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.menu-note {
  max-width: 520px;
  color: rgba(251, 251, 244, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

main {
  min-height: 75vh;
}

.section,
.page-hero,
.site-footer {
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.section-inner,
.page-hero-inner,
.footer-inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: min(760px, 100svh);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(238, 245, 235, 0.82), rgba(251, 251, 244, 1) 62%),
    var(--paper);
  border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  padding: calc(78px + clamp(64px, 7vw, 108px)) var(--page-pad) clamp(64px, 7vw, 92px);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero-bg-static {
  background-image:
    linear-gradient(90deg, rgba(251, 251, 244, 0.72), rgba(251, 251, 244, 0.46)),
    url("/assets/life/life-roadtrip-real.jpg");
  background-position: center 45%;
  background-size: cover;
  opacity: 0.26;
  filter: saturate(0.72) contrast(0.94);
}

.home-hero-bg-video {
  background-image: url("/assets/home/hero/hero-atmosphere-home-motion-poster.jpg");
  background-position: center 48%;
  background-size: cover;
  opacity: 0.22;
  filter: saturate(0.7) contrast(0.94);
}

.home-hero-bg-video::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 251, 244, 0.78), rgba(251, 251, 244, 0.44)),
    linear-gradient(180deg, rgba(251, 251, 244, 0.18), rgba(251, 251, 244, 0.52));
}

.home-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

html[data-home-hero-mode="dark"] .home-hero {
  background: #092116;
  color: var(--paper);
}

html[data-home-hero-mode="dark"] .home-hero-bg-video {
  opacity: 1;
  filter: saturate(0.94) contrast(0.96) brightness(0.6);
}

html[data-home-hero-mode="dark"] .home-hero-bg-video::after {
  background:
    linear-gradient(90deg, rgba(8, 31, 20, 0.92), rgba(8, 31, 20, 0.58)),
    linear-gradient(180deg, rgba(8, 31, 20, 0.26), rgba(8, 31, 20, 0.76));
}

html[data-home-hero-mode="dark"][data-header-state="top"] .site-header .brand {
  color: rgba(251, 251, 244, 0.94);
}

html[data-home-hero-mode="dark"][data-header-state="top"] .language-switch {
  border-color: rgba(251, 251, 244, 0.26);
  background: rgba(8, 31, 20, 0.3);
}

html[data-home-hero-mode="dark"][data-header-state="top"] .language-switch button {
  color: rgba(251, 251, 244, 0.86);
}

html[data-home-hero-mode="dark"][data-header-state="top"] .language-switch button.is-active {
  background: var(--paper);
  color: var(--canopy);
}

html[data-home-hero-mode="dark"][data-header-state="top"] .site-header .menu-button {
  border-color: rgba(251, 251, 244, 0.28);
  background: rgba(8, 31, 20, 0.86);
  color: var(--paper);
}

html[data-input-mode="mouse"][data-home-hero-mode="dark"][data-header-state="top"] .site-header .menu-button:hover {
  border-color: rgba(251, 251, 244, 0.52);
  background: rgba(8, 31, 20, 1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-input-mode="mouse"] .site-header .menu-button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

html[data-home-hero-mode="dark"] .hero-copy h1,
html[data-home-hero-mode="dark"] .hero-role-cn {
  color: var(--paper);
}

html[data-home-hero-mode="dark"] .hero-summary {
  color: #fbfbf4;
}

html[data-home-hero-mode="dark"] .hero-link.primary {
  border-color: rgba(251, 251, 244, 0.34);
  background:
    linear-gradient(135deg, rgba(251, 251, 244, 0.18), rgba(251, 251, 244, 0.08)),
    rgba(9, 33, 22, 0.24);
  color: #fbfbf4;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-home-hero-mode="dark"] .portrait-stage {
  border-color: rgba(251, 251, 244, 0.22);
  background: rgba(8, 31, 20, 0.34);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.26);
}

html[data-home-hero-mode="dark"] .portrait-stage::before {
  background:
    linear-gradient(180deg, rgba(8, 31, 20, 0.06), rgba(8, 31, 20, 0.34)),
    linear-gradient(90deg, rgba(8, 31, 20, 0.22), transparent 58%);
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: clamp(58px, 7.4vw, 112px);
  width: min(100%, 1120px);
  margin: 0 auto;
  align-items: center;
}

.hero-copy {
  align-self: center;
  --hero-copy-width: min(100%, 760px);
  width: var(--hero-copy-width);
  color: var(--ink);
}

.hero-copy h1 {
  max-width: 100%;
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 3.25vw, 3.08rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--canopy);
}

.hero-role-cn {
  max-width: 100%;
  margin-top: clamp(30px, 3.9vw, 48px);
  font-family: var(--body-font);
  font-size: clamp(1.12rem, 2.2vw, 1.92rem);
  font-weight: 760;
  line-height: 1.22;
}

.hero-summary {
  max-width: min(100%, 38rem);
  margin-top: clamp(24px, 2.8vw, 34px);
  color: var(--forest);
  font-size: 1.08rem;
  line-height: 1.62;
  letter-spacing: 0;
  text-align: left;
}

.hero-statement {
  display: block;
  max-width: min(100%, 36rem);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.statement-paragraph,
.statement-line {
  display: block;
}

.statement-paragraph + .statement-paragraph {
  margin-top: 1.38em;
}

.hero-statement strong {
  color: inherit;
  font-weight: 700;
}

.copy-enter {
  --copy-enter-delay: var(--hero-enter-delay-title);
  --copy-enter-y: 14px;
  opacity: 0;
  transform: translateY(var(--copy-enter-y));
  animation: copy-enter var(--hero-enter-duration) var(--hero-enter-ease) var(--copy-enter-delay) both;
  will-change: opacity, transform;
}

.copy-enter-title {
  --copy-enter-delay: var(--hero-enter-delay-title);
}

.copy-enter-statement-one {
  --copy-enter-delay: var(--hero-enter-delay-statement-one);
}

.copy-enter-statement-two {
  --copy-enter-delay: var(--hero-enter-delay-statement-two);
}

.copy-enter-action {
  --copy-enter-delay: var(--hero-enter-delay-action);
  --hero-enter-duration: 1100ms;
}

@keyframes copy-enter {
  from {
    opacity: 0;
    transform: translateY(var(--copy-enter-y));
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy h1 {
  max-width: 100%;
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 3.25vw, 3.08rem);
  font-weight: 400;
  line-height: 1.06;
  color: var(--canopy);
}

.hero-role-cn {
  max-width: 100%;
  margin-top: clamp(30px, 3.9vw, 48px);
  font-family: var(--body-font);
  font-size: clamp(1.12rem, 2.2vw, 1.92rem);
  font-weight: 760;
  line-height: 1.22;
}

.hero-summary {
  max-width: min(100%, 38rem);
  margin-top: clamp(24px, 2.8vw, 34px);
  color: var(--forest);
  font-size: 1.08rem;
  line-height: 1.62;
  letter-spacing: 0;
  text-align: left;
}

.hero-statement {
  display: block;
  max-width: min(100%, 36rem);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.statement-paragraph,
.statement-line {
  display: block;
}

.statement-paragraph + .statement-paragraph {
  margin-top: 1.38em;
}

.hero-statement strong {
  color: inherit;
  font-weight: 700;
}

.hero-capability-tags {
  margin-top: clamp(26px, 3.4vw, 40px);
}

.hero-capability-tags .tag-list {
  max-width: min(100%, 42rem);
  gap: 9px;
}

.hero-capability-tags .tag-list li {
  border-color: rgba(23, 71, 47, 0.2);
  background: rgba(251, 251, 244, 0.54);
  color: rgba(23, 63, 51, 0.86);
  font-size: 0.78rem;
}

.home-capability-belt {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(13, 36, 24, 0.96) 0, rgba(13, 36, 24, 0.96) 1px, rgba(251, 251, 244, 0.98) 1px),
    var(--paper);
  padding: 0 var(--page-pad);
}

.home-capability-belt-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.2vw, 42px);
  border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  padding: clamp(18px, 2.2vw, 26px) 0;
}

.home-capability-belt-item {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-capability-belt-item span,
.hero-capability-rail-label,
.hero-capability-rail li > span {
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-capability-belt-item span {
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1;
}

.home-capability-belt-item strong {
  color: var(--canopy);
  font-size: clamp(0.92rem, 1.12vw, 1.02rem);
  font-weight: 760;
  line-height: 1.34;
}

.hero-visual-column {
  display: grid;
  align-self: end;
  justify-self: end;
  width: min(100%, 430px);
  min-width: 0;
}

main[data-capability-variant="rail"] .home-hero-grid {
  grid-template-columns: minmax(0, 0.96fr) clamp(500px, 43vw, 548px);
  gap: clamp(24px, 2.9vw, 38px);
}

.hero-visual-column-rail {
  grid-template-columns: minmax(0, 1fr) clamp(150px, 31%, 170px);
  align-items: stretch;
  align-self: center;
  width: min(100%, clamp(500px, 43vw, 548px));
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.24));
}

.hero-visual-column-rail .portrait-stage {
  min-height: clamp(440px, 39vw, 520px);
  border-right: 0;
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  box-shadow: none;
  overflow: hidden;
}

.hero-visual-column-rail .portrait-stage > .portrait-main {
  object-position: 100% 100%;
  transform: scale(1.25);
  transform-origin: 100% 100%;
}

main[data-rail-layout="flip"] .hero-visual-column-rail .portrait-stage > .portrait-main,
main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main,
main[data-rail-layout="swap-flip"] .hero-visual-column-rail .portrait-stage > .portrait-main {
  object-position: 0 100%;
  transform: scaleX(-1) scale(1.18);
  transform-origin: 50% 100%;
}

main[data-rail-layout="swap"] .home-hero-grid,
main[data-rail-layout="swap-flip"] .home-hero-grid {
  grid-template-columns: clamp(500px, 43vw, 548px) minmax(0, 0.96fr);
}

main[data-rail-layout="swap"] .hero-visual-column-rail,
main[data-rail-layout="swap-flip"] .hero-visual-column-rail {
  order: 1;
  justify-self: end;
}

main[data-rail-layout="swap"] .hero-copy,
main[data-rail-layout="swap-flip"] .hero-copy {
  order: 2;
  justify-self: start;
}

main[data-rail-layout="flip"] {
  --hero-enter-duration: 1500ms;
  --hero-enter-delay-statement-one: 833ms;
  --hero-enter-delay-statement-two: 2500ms;
  --hero-enter-delay-action: 4167ms;
  --hero-rail-reveal-delay: 4200ms;
  --hero-rail-reveal-duration: 860ms;
  --hero-rail-width: clamp(166px, 31.5%, 184px);
  --hero-rail-peek: clamp(26px, 2.4vw, 34px);
  --hero-rail-lift: clamp(24px, 4svh, 44px);
  --hero-portrait-shift: clamp(46px, 5.4vw, 70px);
  --hero-rail-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

main[data-rail-layout="flip"] .home-hero-grid {
  transform: translateY(calc(var(--hero-rail-lift) * -1));
}

main[data-rail-layout="flip"] .hero-visual-column-rail {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  isolation: isolate;
}

main[data-rail-layout="flip"] .hero-visual-column-rail .portrait-stage {
  width: 100%;
  min-height: clamp(540px, 46vw, 580px);
  border-right: 1px solid rgba(251, 251, 244, 0.22);
  border-radius: var(--radius-2xl);
  transform: translateX(0);
  animation: hero-portrait-yield-left var(--hero-rail-reveal-duration) var(--hero-rail-reveal-ease) var(--hero-rail-reveal-delay) both;
  will-change: transform;
}

main[data-rail-layout="flip"] .hero-capability-rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: var(--hero-rail-width);
  min-height: 100%;
  opacity: 1;
  clip-path: inset(0 0 0 calc(100% - var(--hero-rail-peek)));
  transform: translateX(0);
  animation: hero-rail-push-in var(--hero-rail-reveal-duration) var(--hero-rail-reveal-ease) var(--hero-rail-reveal-delay) both;
  will-change: clip-path;
}

main[data-rail-layout="flip"] .hero-capability-rail > * {
  opacity: 0;
  transform: translateX(0);
  animation: hero-rail-content-in var(--hero-rail-reveal-duration) var(--hero-rail-reveal-ease) var(--hero-rail-reveal-delay) both;
  will-change: opacity;
}

main[data-rail-layout="sequence"] {
  --hero-seq-delay: 3000ms;
  --hero-seq-bar-duration: 1000ms;
  --hero-seq-default-duration: 2000ms;
  --hero-seq-text-duration: 3000ms;
  --hero-seq-rail-duration: 3000ms;
  --hero-seq-title-duration: 2000ms;
  --hero-seq-default-offset: 1000ms;
  --hero-seq-copy-delay: 0ms;
  --hero-seq-copy-stagger: 0ms;
  --hero-seq-final-gap: 4000ms;
  --hero-seq-title-lag: 3000ms;
  --hero-seq-bar-width: 12px;
  --hero-seq-rail-width: clamp(166px, 31.5%, 184px);
  --hero-seq-stage-height: min(clamp(540px, 46vw, 580px), calc(100svh - 250px));
  --hero-seq-lift: clamp(44px, 7svh, 68px);
  --hero-seq-portrait-shift: clamp(46px, 5.4vw, 70px);
  --hero-seq-photo-scale: 1.18;
  --hero-seq-default-delay: calc(var(--hero-seq-delay) + var(--hero-seq-default-offset));
  --hero-seq-statement-one-delay: calc(var(--hero-seq-default-delay) + var(--hero-seq-default-duration) + var(--hero-seq-copy-delay));
  --hero-seq-statement-two-delay: calc(var(--hero-seq-statement-one-delay) + var(--hero-seq-copy-stagger));
  --hero-seq-final-delay: calc(var(--hero-seq-statement-two-delay) + var(--hero-seq-text-duration) + var(--hero-seq-final-gap));
  --hero-seq-title-delay: calc(var(--hero-seq-final-delay) + var(--hero-seq-title-lag));
  --hero-enter-duration: var(--hero-seq-text-duration);
  --hero-enter-delay-title: var(--hero-seq-title-delay);
  --hero-enter-delay-statement-one: var(--hero-seq-statement-one-delay);
  --hero-enter-delay-statement-two: var(--hero-seq-statement-two-delay);
  --hero-enter-delay-action: var(--hero-seq-final-delay);
  --hero-enter-ease: cubic-bezier(0.32, 0.02, 0.18, 1);
  --hero-rail-reveal-ease: cubic-bezier(0.32, 0.02, 0.18, 1);
}

main[data-rail-layout="sequence"][data-motion-profile="compressed"] {
  --hero-seq-delay: 600ms;
  --hero-seq-bar-duration: 700ms;
  --hero-seq-default-duration: 1200ms;
  --hero-seq-text-duration: 1100ms;
  --hero-seq-rail-duration: 1100ms;
  --hero-seq-title-duration: 1100ms;
  --hero-seq-default-offset: 0ms;
  --hero-seq-copy-delay: 1100ms;
  --hero-seq-copy-stagger: 1600ms;
  --hero-seq-final-gap: 0ms;
  --hero-seq-title-lag: 0ms;
  --hero-enter-delay-title: 0ms;
  --hero-enter-delay-statement-one: 1100ms;
  --hero-enter-delay-statement-two: 2700ms;
  --hero-enter-delay-action: 5600ms;
  --hero-seq-statement-one-delay: 1100ms;
  --hero-seq-statement-two-delay: 2700ms;
  --hero-seq-final-delay: 5600ms;
  --hero-enter-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-rail-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 921px) and (max-height: 780px) {
  main[data-rail-layout="sequence"] {
    --hero-seq-stage-height: min(clamp(540px, 46vw, 580px), 68svh);
    --hero-seq-photo-scale: 1.06;
  }
}

@media (min-width: 921px) and (max-height: 700px) {
  main[data-rail-layout="sequence"] {
    --hero-seq-stage-height: min(69svh, 43vw);
    --hero-seq-lift: clamp(52px, 9svh, 64px);
    --hero-seq-photo-scale: 1;
  }
}

main[data-rail-layout="sequence"] .copy-enter-title {
  animation-duration: var(--hero-seq-title-duration);
}

main[data-rail-layout="sequence"] .home-hero {
  min-height: 100svh;
  border-bottom: 0;
}

main[data-rail-layout="sequence"] .home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 5px;
  content: "";
  pointer-events: none;
  background: #071f15;
}

main[data-rail-layout="sequence"] .home-hero-grid {
  transform: translateY(calc(var(--hero-seq-lift) * -1));
}

main[data-rail-layout="sequence"] .hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  min-height: var(--hero-seq-stage-height);
}

main[data-rail-layout="sequence"] .hero-copy h1 {
  position: absolute;
  top: clamp(86px, 10svh, 112px);
  left: 0;
}

main[data-rail-layout="sequence"] .hero-summary {
  margin-top: 0;
}

@media (min-width: 921px) and (max-height: 700px) {
  main[data-rail-layout="sequence"] .hero-copy h1 {
    position: static;
  }

  main[data-rail-layout="sequence"] .hero-summary {
    margin-top: clamp(14px, 2.4svh, 20px);
  }
}

main[data-rail-layout="sequence"] .hero-visual-column-rail {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.24));
  isolation: isolate;
}

main[data-rail-layout="sequence"] .hero-visual-column-rail::after {
  display: none;
  content: "";
}

main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
  width: 100%;
  min-height: var(--hero-seq-stage-height);
  border-right: 1px solid rgba(251, 251, 244, 0.22);
  border-radius: var(--radius-2xl);
  opacity: 0;
  clip-path: none;
  transform: translateX(0);
  animation:
    hero-seq-portrait-shell var(--hero-seq-bar-duration) var(--hero-rail-reveal-ease) var(--hero-seq-delay) both,
    hero-seq-portrait-yield-left var(--hero-seq-rail-duration) var(--hero-rail-reveal-ease) var(--hero-seq-final-delay) both;
  will-change: opacity, transform;
}

main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
  opacity: 0;
  transform: translateX(22%) scaleX(-1) scale(var(--hero-seq-photo-scale));
  animation: hero-seq-photo-slide-in var(--hero-seq-default-duration) var(--hero-rail-reveal-ease) var(--hero-seq-default-delay) both;
  will-change: opacity, transform;
}

main[data-rail-layout="sequence"] .hero-capability-rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: var(--hero-seq-rail-width);
  min-height: 100%;
  opacity: 0;
  filter: none;
  clip-path: inset(0 0 0 calc(100% - var(--hero-seq-bar-width)));
  transform: scaleY(0.002);
  transform-origin: 100% 50%;
  animation:
    hero-seq-rail-bar-rise var(--hero-seq-bar-duration) var(--hero-rail-reveal-ease) var(--hero-seq-delay) both,
    hero-seq-rail-push-in var(--hero-seq-rail-duration) var(--hero-rail-reveal-ease) var(--hero-seq-final-delay) both;
  gap: clamp(24px, 3.12vw, 36px);
  padding-block: clamp(26px, 2.88vw, 36px);
  will-change: opacity, clip-path, transform;
}

main[data-rail-layout="sequence"] .hero-capability-rail > * {
  opacity: 0;
  transform: translateX(0);
  animation: hero-seq-rail-content-in var(--hero-seq-rail-duration) var(--hero-rail-reveal-ease) var(--hero-seq-final-delay) both;
  will-change: opacity;
}

main[data-rail-layout="sequence"] .hero-capability-rail ol {
  gap: clamp(16px, 1.92vw, 22px);
}

main[data-rail-layout="sequence"] .hero-capability-rail-action {
  margin-top: clamp(18px, 2vw, 26px);
}

.hero-capability-rail {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: clamp(20px, 2.6vw, 30px);
  min-width: 0;
  border: 1px solid rgba(251, 251, 244, 0.34);
  border-left: 1px solid rgba(251, 251, 244, 0.24);
  border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(251, 251, 244, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 42, 28, 0.99), rgba(6, 24, 16, 0.99));
  box-shadow:
    inset 1px 0 rgba(251, 251, 244, 0.1),
    inset 0 1px rgba(251, 251, 244, 0.08);
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px) clamp(14px, 1.4vw, 18px);
  color: rgba(251, 251, 244, 0.82);
}

.hero-capability-rail::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 251, 244, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(251, 251, 244, 0.045), transparent 34%);
}

.hero-capability-rail > * {
  position: relative;
  z-index: 1;
}

.hero-capability-rail-label {
  color: rgba(251, 251, 244, 0.68);
  font-size: clamp(0.9rem, 0.9vw, 1rem);
  font-weight: 820;
  line-height: 1.08;
}

.hero-capability-rail ol {
  display: grid;
  gap: clamp(13px, 1.6vw, 18px);
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-capability-rail li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  min-width: 0;
}

.hero-capability-rail li > span {
  color: rgba(251, 251, 244, 0.54);
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1.2;
}

.hero-capability-rail strong {
  color: rgba(251, 251, 244, 0.86);
  font-size: clamp(0.86rem, 0.82vw, 0.96rem);
  font-weight: 700;
  line-height: 1.28;
}

.hero-capability-rail-action {
  width: min(100%, 118px);
  min-height: 38px;
  justify-self: start;
  border-color: rgba(251, 251, 244, 0.3);
  background: rgba(251, 251, 244, 0.09);
  color: var(--paper);
  padding: 7px 10px;
  font-size: 0.8rem;
}

@keyframes hero-rail-push-in {
  from {
    clip-path: inset(0 0 0 calc(100% - var(--hero-rail-peek)));
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-portrait-yield-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--hero-portrait-shift) * -1));
  }
}

@keyframes hero-rail-content-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-seq-seed-to-bar {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.125, 0.002);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1, 1);
  }
}

@keyframes hero-seq-seed-out {
  to {
    opacity: 0;
  }
}

@keyframes hero-seq-portrait-shell {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-seq-photo-slide-in {
  from {
    opacity: 0;
    transform: translateX(22%) scaleX(-1) scale(var(--hero-seq-photo-scale));
  }

  to {
    opacity: 1;
    transform: translateX(0) scaleX(-1) scale(var(--hero-seq-photo-scale));
  }
}

@keyframes hero-seq-portrait-yield-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--hero-seq-portrait-shift) * -1));
  }
}

@keyframes hero-seq-rail-bar-rise {
  from {
    opacity: 0;
    transform: scaleY(0.002);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes hero-seq-rail-push-in {
  from {
    clip-path: inset(0 0 0 calc(100% - var(--hero-seq-bar-width)));
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-seq-rail-content-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 3.4vw, 36px);
}

.hero-link,
.button-link {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 71, 47, 0.28);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 760;
  overflow: hidden;
  transition:
    border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-link.primary,
.button-link.primary {
  border-color: rgba(23, 71, 47, 0.32);
  background: rgba(251, 251, 244, 0.46);
  color: var(--forest);
}

.home-hero .hero-link.primary {
  min-width: 92px;
}

.home-hero .hero-link.primary::before {
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 48%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
  transform: skewX(-18deg);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero .hero-link.primary:hover,
.home-hero .hero-link.primary:focus-visible {
  border-color: rgba(251, 251, 244, 0.54);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-2px) scale(1.01);
}

.home-hero .hero-link.primary:hover::before,
.home-hero .hero-link.primary:focus-visible::before {
  transform: translateX(360%) skewX(-18deg);
}

.hero-link:focus-visible,
.button-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

html[data-home-hero-mode="dark"] .home-hero .hero-link.primary:focus-visible {
  outline-color: rgba(251, 251, 244, 0.78);
}

.portrait-stage {
  position: relative;
  align-self: stretch;
  min-height: clamp(420px, 39vw, 520px);
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(150deg, rgba(251, 251, 244, 0.7), transparent 42%),
    var(--fern);
  box-shadow: 0 24px 70px rgba(23, 71, 47, 0.12);
  color: var(--paper);
  padding: 0;
}

.portrait-stage > .portrait-main {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.portrait-stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(23, 71, 47, 0.02), rgba(23, 71, 47, 0.26)),
    linear-gradient(90deg, rgba(23, 71, 47, 0.16), transparent 58%);
  pointer-events: none;
}

.portrait-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  min-height: inherit;
  align-content: end;
  gap: 22px;
}

.portrait-label {
  width: fit-content;
  border: 1px solid rgba(251, 251, 244, 0.38);
  border-radius: var(--radius-xs);
  padding: 7px 11px;
  color: rgba(251, 251, 244, 0.8);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

.portrait-placeholder strong {
  max-width: 360px;
  font-family: var(--body-font);
  font-size: clamp(1.56rem, 3.6vw, 2.82rem);
  font-weight: 760;
  line-height: 1.12;
}

.portrait-placeholder p {
  max-width: 420px;
  color: rgba(251, 251, 244, 0.8);
  line-height: var(--leading-copy);
}

.hero-bottom {
  display: flex;
  width: min(100%, 1220px);
  margin: clamp(34px, 4.8vw, 64px) auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 251, 244, 0.76);
  font-size: 0.86rem;
}

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section.green-band {
  background: var(--canopy);
  color: var(--paper);
}

.section.contact-band {
  background:
    linear-gradient(135deg, rgba(23, 71, 47, 0.94), rgba(var(--brand-primary-rgb), 0.9)),
    var(--brand-primary);
  color: var(--paper);
}

.section.mint-band {
  background: var(--mint);
}

.section-head {
  display: block;
  margin-bottom: clamp(68px, 7.8vw, 112px);
  text-align: left;
}

.section-head-plain {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow {
  display: none;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.green-band .eyebrow,
.contact-band .eyebrow {
  color: rgba(251, 251, 244, 0.74);
}

.section-title,
.page-title {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1;
}

.section-title {
  max-width: var(--measure-wide);
  color: var(--canopy);
  font-size: clamp(1.5rem, 2.9vw, 2.54rem);
  line-height: 1.14;
}

.green-band .section-title,
.contact-band .section-title {
  color: var(--paper);
}

.section-deck {
  max-width: var(--measure-copy);
  margin-top: clamp(26px, 3vw, 36px);
  color: var(--stone);
  font-size: clamp(1rem, 1.36vw, 1.12rem);
  line-height: var(--leading-long);
}

.green-band .section-deck,
.contact-band .section-deck {
  color: rgba(251, 251, 244, 0.78);
}

.work-feature-list {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
  background: transparent;
}

.selected-work-section .section-inner {
  width: min(100%, 1180px);
}

.selected-work-section {
  padding-top: 0;
}

.selected-work-section .section-head {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(42px, 5.8vw, 76px);
  text-align: center;
}

.selected-work-section .section-head.section-title-stage {
  min-height: clamp(176px, 20vw, 248px);
  align-items: center;
  margin-bottom: 0;
}

.selected-work-section .section-title {
  max-width: 100%;
  color: var(--canopy);
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0;
}

.home-project-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
}

.home-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 900px);
  gap: clamp(22px, 3.2vw, 38px);
  align-items: start;
  margin-inline: auto;
  border-bottom: 1px solid rgba(23, 71, 47, 0.12);
  background: transparent;
  padding: clamp(48px, 6.4vw, 86px) 0;
}

.home-project-copy {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: clamp(18px, 2.4vw, 30px);
}

.home-project-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
}

.home-project-kicker span {
  color: var(--forest);
  font-size: 0.86rem;
}

.home-project-case-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xs);
  background: rgba(238, 245, 235, 0.42);
  color: rgba(23, 63, 51, 0.72);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
  padding: 5px 7px;
  transition:
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-project-case-badge:hover,
.home-project-case-badge:focus-visible {
  border-color: rgba(23, 71, 47, 0.28);
  background: rgba(238, 245, 235, 0.7);
  color: var(--canopy);
}

.home-project-case-badge:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.home-project h3 {
  max-width: 720px;
  color: var(--canopy);
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 780;
  line-height: 1.06;
}

.home-project-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  max-width: 100%;
}

.home-project-title-row .feature-action {
  justify-self: end;
  margin-top: clamp(6px, 0.8vw, 10px);
  white-space: nowrap;
}

.home-project-subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  font-weight: 690;
  line-height: 1.56;
}

.home-project-lead {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 500;
  line-height: 1.86;
  overflow-wrap: break-word;
  word-break: normal;
}

.home-project-subtitle span,
.home-project-lead span {
  display: block;
}

.home-project-lead span + span {
  margin-top: 0.58em;
}

.home-project .tag-list {
  max-width: 680px;
  margin: 0;
}

.home-project-flow {
  display: grid;
  min-width: 0;
  align-content: start;
  margin-top: clamp(2px, 0.8vw, 10px);
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: clamp(22px, 2.8vw, 34px);
}

.decision-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-path::before {
  position: absolute;
  top: 39px;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(23, 71, 47, 0.08), rgba(23, 71, 47, 0.34), rgba(23, 71, 47, 0.08));
}

.decision-path li {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 10px;
  align-content: start;
}

.decision-node-index {
  color: rgba(35, 89, 59, 0.64);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1;
}

.decision-node-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(23, 71, 47, 0.2);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--forest);
  box-shadow: 0 10px 22px rgba(23, 71, 47, 0.08);
}

.decision-node-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.decision-path strong {
  max-width: 9rem;
  color: var(--canopy);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 740;
  line-height: 1.38;
}

.home-project-review-section {
  background:
    linear-gradient(180deg, rgba(238, 245, 235, 0.58), rgba(251, 251, 244, 0) 36%),
    var(--paper);
  padding-top: calc(78px + clamp(42px, 7vw, 92px));
}

.home-project-review-section .section-inner {
  width: min(100%, 1080px);
}

.home-project-review-head {
  display: grid;
  min-height: 0;
  max-width: 760px;
  justify-items: start;
  margin-bottom: clamp(38px, 5.8vw, 70px);
  text-align: left;
}

.home-project-review-eyebrow {
  margin: 0 0 16px;
  color: rgba(35, 89, 59, 0.76);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.home-project-review-list {
  display: grid;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
}

.home-project-review-card {
  width: 100%;
  padding-top: clamp(42px, 6vw, 74px);
  padding-bottom: clamp(42px, 6vw, 74px);
}

#selected-work .home-project-review-card {
  width: min(100%, 1080px);
}

.home-project-review-copy {
  gap: clamp(18px, 2.4vw, 28px);
}

.home-project-review-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.home-project-review-slogan {
  color: var(--forest);
  font-size: clamp(0.88rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.35;
}

.home-project-review-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.home-project-review-title-copy {
  display: grid;
  min-width: 0;
}

.home-project-review-card h2,
.home-project-review-card h3 {
  max-width: 760px;
  color: var(--canopy);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 780;
  line-height: 1.02;
}

.home-project-review-title-row .feature-action {
  justify-self: end;
  margin-top: 7px;
  white-space: nowrap;
}

.home-project-review-subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  font-weight: 720;
  line-height: 1.48;
}

.home-project-review-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 500;
  line-height: 1.92;
  overflow-wrap: break-word;
}

.home-project-review-subtitle span,
.home-project-review-lead span {
  display: block;
}

.home-project-review-lead span + span {
  margin-top: 0.58em;
}

.home-project-review-module {
  display: grid;
  min-width: 0;
  margin-top: clamp(6px, 1vw, 12px);
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 250, 0.78);
  box-shadow: 0 22px 46px rgba(23, 71, 47, 0.08);
}

.home-aiki-chat-preview {
  grid-template-columns: minmax(300px, 0.72fr) minmax(220px, 0.28fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.home-project-path-head p {
  margin: 0;
  color: rgba(35, 89, 59, 0.74);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.home-project-path-head h3 {
  max-width: 640px;
  color: var(--canopy);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  font-weight: 760;
  line-height: 1.34;
}

.home-aiki-chat-stage,
.home-aiki-scene-panel {
  display: grid;
  min-width: 0;
}

.home-aiki-scene-panel[hidden] {
  display: none;
}

.home-aiki-chat-phone {
  min-height: 0;
  background: rgba(251, 251, 244, 0.9);
  box-shadow: 0 18px 46px rgba(23, 71, 47, 0.08);
}

.home-aiki-chat-phone .aiki-phone-header {
  padding: 13px 16px;
}

.home-aiki-chat-phone .aiki-phone-header strong {
  text-transform: none;
}

.home-aiki-chat-body {
  gap: 14px;
  padding: clamp(16px, 2.6vw, 24px);
}

.home-aiki-chat-body .chat-bubble {
  max-width: min(88%, 560px);
  border: 1px solid rgba(23, 71, 47, 0.12);
  padding: 12px 14px;
}

.home-aiki-chat-body .chat-bubble p {
  margin: 0;
  font-size: clamp(0.9rem, 1.08vw, 0.96rem);
  line-height: 1.7;
}

.home-aiki-chat-side {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}

.home-aiki-capability-block,
.home-aiki-more-scenes {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.home-aiki-capability-block > p,
.home-aiki-more-scenes > p {
  margin: 0;
  color: rgba(35, 89, 59, 0.74);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.2;
}

.home-aiki-chat-capabilities {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-aiki-chat-capabilities li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  border-left: 2px solid rgba(35, 89, 59, 0.28);
  background: rgba(238, 245, 235, 0.52);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--forest);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 720;
  line-height: 1.42;
}

.home-aiki-chat-capabilities li::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: var(--radius-pill);
  background: var(--leaf);
  transform: translateY(-1px);
}

.home-aiki-more-scenes {
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: 18px;
}

.home-aiki-scene-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-aiki-scene-tab {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.76);
  padding: 7px 11px;
  color: var(--forest);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.home-aiki-scene-tab span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--moss);
  font-size: 0.66rem;
  font-weight: 820;
}

.home-aiki-scene-tab.is-active,
.home-aiki-scene-tab:focus-visible {
  border-color: rgba(23, 71, 47, 0.28);
  background: var(--canopy);
  color: var(--paper);
}

.home-aiki-scene-tab.is-active span,
.home-aiki-scene-tab:focus-visible span {
  background: rgba(251, 251, 244, 0.18);
  color: var(--paper);
}

.home-aiki-scene-tab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.home-project-path-preview {
  gap: clamp(20px, 2.8vw, 30px);
  padding: clamp(18px, 3vw, 30px);
}

.home-project-path-head {
  display: grid;
  gap: 8px;
}

.home-project-path-preview .decision-path {
  gap: clamp(14px, 2vw, 24px);
}

.home-project-path-preview .decision-path strong {
  max-width: 8.5rem;
}

.home-project-media {
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
  min-width: 0;
  min-height: clamp(340px, 38vw, 520px);
}

.home-project-media-1 {
  grid-template-columns: 1fr;
}

.home-project-media-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
}

.home-project-media figure {
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.1);
  border-radius: var(--radius-xl);
  background: var(--mint);
  box-shadow: 0 16px 44px rgba(23, 71, 47, 0.08);
}

.home-project-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 38vw, 520px);
  object-fit: cover;
}

.home-project-media-2 img {
  padding: clamp(10px, 1.6vw, 18px);
  background:
    linear-gradient(180deg, rgba(238, 245, 235, 0.96), rgba(251, 251, 244, 0.94)),
    var(--mint);
  object-fit: contain;
}

.home-project-media-2 .is-secondary img {
  object-position: center;
}

.work-index-section .section-inner {
  width: min(100%, 1040px);
}

.work-index-section .section-head {
  display: block;
  width: 100%;
  margin: 0 0 clamp(52px, 6vw, 82px);
  text-align: left;
}

.work-index-section .section-title {
  max-width: var(--measure-wide);
}

.work-case-list {
  display: grid;
  gap: clamp(32px, 4.4vw, 58px);
}

.work-case {
  display: grid;
  grid-template-columns: minmax(64px, 0.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  padding: clamp(28px, 4.6vw, 52px);
  box-shadow: 0 18px 48px rgba(23, 71, 47, 0.06);
}

.mint-band .work-case {
  background: rgba(251, 251, 244, 0.76);
}

.work-case-index {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.work-case-index > span {
  display: inline-flex;
  width: clamp(54px, 6vw, 70px);
  height: clamp(54px, 6vw, 70px);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 139, 80, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(223, 234, 218, 0.56);
  color: var(--moss);
  font-family: var(--body-font);
  font-size: clamp(1.05rem, 1.6vw, 1.34rem);
  font-weight: 840;
  line-height: 1;
}

.work-case-body {
  display: grid;
  min-width: 0;
  gap: clamp(22px, 3vw, 34px);
}

.work-case-heading {
  display: flex;
  gap: clamp(22px, 4vw, 54px);
  align-items: flex-start;
  justify-content: space-between;
}

.work-case-heading .tag-list {
  flex: 0 0 min(42%, 360px);
  justify-content: flex-end;
  padding-top: 4px;
}

.work-case h3 {
  max-width: 620px;
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.48rem, 2.8vw, 2.38rem);
  font-weight: 780;
  line-height: 1.16;
}

.work-case-lead {
  max-width: 740px;
  color: var(--ink);
  font-size: clamp(1rem, 1.42vw, 1.15rem);
  font-weight: 520;
  line-height: var(--leading-copy);
  overflow-wrap: break-word;
  word-break: normal;
}

.work-case .feature-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  margin-left: auto;
  justify-self: end;
  gap: 8px;
  border-bottom: 0;
}

.work-case .feature-action::after {
  content: "→";
}

html[data-route="work-index"] .tag-list,
html[data-route="work-index"] .tag-list li {
  pointer-events: none;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

html[data-route="work-index"] .work-case {
  -webkit-user-select: none;
  user-select: none;
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(88px, 0.14fr) minmax(0, 0.66fr) minmax(220px, 0.28fr);
  gap: clamp(30px, 4.8vw, 66px);
  align-items: center;
  background: var(--paper);
  padding: clamp(34px, 4.8vw, 60px);
}

.green-band .work-feature {
  background: rgba(251, 251, 244, 0.06);
}

.index-number {
  color: var(--moss);
  font-family: var(--body-font);
  font-size: clamp(1.66rem, 3.05vw, 2.88rem);
  font-weight: 840;
  line-height: 0.98;
}

.feature-title {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.2rem, 2.35vw, 2.28rem);
  font-weight: 760;
  line-height: 1.18;
}

.green-band .feature-title {
  color: var(--paper);
}

.feature-copy {
  margin-top: 18px;
  color: var(--stone);
  font-size: 1.02rem;
  line-height: var(--leading-copy);
}

.green-band .feature-copy {
  color: rgba(251, 251, 244, 0.76);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid rgba(47, 139, 87, 0.42);
  border-radius: var(--radius-xs);
  background: rgba(223, 234, 218, 0.76);
  padding: 6px 10px;
  color: var(--canopy);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.2;
}

.green-band .tag-list li {
  border-color: rgba(251, 251, 244, 0.3);
  background: rgba(251, 251, 244, 0.1);
  color: var(--paper);
}

.feature-action,
.text-link,
.section-text-link,
.footer-menu-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 800;
}

#selected-work .feature-action,
#selected-work .section-text-link,
#method .text-link,
#method .section-text-link,
#life .text-link,
#life .section-text-link {
  display: flex;
  position: relative;
  justify-content: flex-end;
  gap: 8px;
  border-bottom: 0;
  padding-bottom: 4px;
}

#selected-work .feature-action::before,
#selected-work .section-text-link::before,
#method .text-link::before,
#method .section-text-link::before,
#life .text-link::before,
#life .section-text-link::before {
  content: none;
}

#selected-work .feature-action::after,
#selected-work .section-text-link::after,
#method .text-link::after,
#method .section-text-link::after,
#life .text-link::after,
#life .section-text-link::after {
  display: inline-block;
  content: "→";
  line-height: 1;
}

.work-case .feature-action,
#selected-work .feature-action,
#selected-work .section-text-link,
#method .text-link,
#method .section-text-link,
#life .text-link,
#life .section-text-link {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.work-case .feature-action::after,
#selected-work .feature-action::after,
#selected-work .section-text-link::after,
#method .text-link::after,
#method .section-text-link::after,
#life .text-link::after,
#life .section-text-link::after {
  transform: translateX(0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-input-mode="mouse"] .work-case .feature-action:hover,
html[data-input-mode="mouse"] #selected-work .feature-action:hover,
html[data-input-mode="mouse"] #selected-work .section-text-link:hover,
html[data-input-mode="mouse"] #method .text-link:hover,
html[data-input-mode="mouse"] #method .section-text-link:hover,
html[data-input-mode="mouse"] #life .text-link:hover,
html[data-input-mode="mouse"] #life .section-text-link:hover {
  transform: translateX(2px);
}

html[data-input-mode="mouse"] .work-case .feature-action:hover::after,
html[data-input-mode="mouse"] #selected-work .feature-action:hover::after,
html[data-input-mode="mouse"] #selected-work .section-text-link:hover::after,
html[data-input-mode="mouse"] #method .text-link:hover::after,
html[data-input-mode="mouse"] #method .section-text-link:hover::after,
html[data-input-mode="mouse"] #life .text-link:hover::after,
html[data-input-mode="mouse"] #life .section-text-link:hover::after,
.work-case .feature-action:focus-visible::after,
#selected-work .feature-action:focus-visible::after,
#selected-work .section-text-link:focus-visible::after,
#method .text-link:focus-visible::after,
#method .section-text-link:focus-visible::after,
#life .text-link:focus-visible::after,
#life .section-text-link:focus-visible::after {
  transform: translateX(5px);
}

.work-case .feature-action:active,
#selected-work .feature-action:active,
#selected-work .section-text-link:active,
#method .text-link:active,
#method .section-text-link:active,
#life .text-link:active,
#life .section-text-link:active {
  transform: translateX(2px) translateY(1px);
}

#selected-work .feature-action:focus-visible,
#selected-work .section-text-link:focus-visible,
#method .text-link:focus-visible,
#method .section-text-link:focus-visible,
#life .text-link:focus-visible,
#life .section-text-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.home-project-review-section .feature-action {
  display: flex;
  position: relative;
  justify-content: flex-end;
  gap: 8px;
  border-bottom: 0;
  padding-bottom: 4px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.home-project-review-section .feature-action::after {
  display: inline-block;
  content: "→";
  line-height: 1;
  transform: translateX(0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-input-mode="mouse"] .home-project-review-section .feature-action:hover {
  transform: translateX(2px);
}

html[data-input-mode="mouse"] .home-project-review-section .feature-action:hover::after,
.home-project-review-section .feature-action:focus-visible::after {
  transform: translateX(5px);
}

.home-project-review-section .feature-action:active {
  transform: translateX(2px) translateY(1px);
}

.home-project-review-section .feature-action:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

html[data-input-mode="touch"] .footer-menu-link:focus-visible,
html[data-input-mode="touch"] .text-link:focus-visible,
html[data-input-mode="touch"] .route-tool:focus-visible,
html[data-input-mode="touch"] .hero-link:focus-visible,
html[data-input-mode="touch"] .button-link:focus-visible,
html[data-input-mode="touch"] .aiki-demo-tab:focus-visible,
html[data-input-mode="touch"] #selected-work .feature-action:focus-visible,
html[data-input-mode="touch"] #selected-work .section-text-link:focus-visible,
html[data-input-mode="touch"] #method .text-link:focus-visible,
html[data-input-mode="touch"] #method .section-text-link:focus-visible,
html[data-input-mode="touch"] #life .text-link:focus-visible,
html[data-input-mode="touch"] #life .section-text-link:focus-visible {
  border-color: transparent;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video {
    display: none;
  }

  .home-hero .hero-link.primary,
  .home-hero .hero-link.primary::before,
  .dongbao-hero-video,
  .dongbao-hero-phone-frame::after {
    transition: none;
  }

  .home-hero .hero-link.primary:hover,
  .home-hero .hero-link.primary:focus-visible,
  .dongbao-hero-phone-frame.is-switching .dongbao-hero-video {
    transform: none;
  }

  .dongbao-hero-phone-frame.is-switching::after {
    opacity: 0;
  }
}

.green-band .feature-action,
.green-band .text-link,
.contact-band .text-link,
.contact-band .section-text-link {
  color: var(--paper);
}

.green-band .profile-note .text-link,
.green-band .related-card .text-link {
  color: var(--forest);
}

.section-text-link {
  margin-top: clamp(48px, 5.2vw, 72px);
}

#selected-work .section-text-link,
#method .section-text-link,
#life .section-text-link {
  margin-left: auto;
}

#selected-work .home-work-feature > div:last-child {
  display: grid;
  justify-items: end;
}

#selected-work .feature-action {
  justify-self: end;
  margin-left: auto;
}

#method .method-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

#method .method-card .text-link,
#life .life-card .text-link {
  align-self: end;
  justify-self: end;
  margin-left: auto;
}

#life .life-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

#life .life-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.home-method-list {
  display: grid;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
}

.home-method-essay {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(22px, 3.8vw, 54px);
  align-items: center;
  border-bottom: 1px solid rgba(23, 71, 47, 0.18);
  padding: clamp(28px, 4vw, 48px) 0;
}

.home-method-essay > span {
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 820;
}

.home-method-essay h3 {
  color: var(--canopy);
  font-size: clamp(1.16rem, 2.2vw, 1.82rem);
  font-weight: 760;
  line-height: 1.22;
}

.home-method-essay p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--stone);
  line-height: var(--leading-copy);
}

.home-life-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.home-life-editorial .life-card {
  min-width: 0;
}

.home-life-editorial .life-card-body {
  position: relative;
  z-index: 2;
  min-width: 0;
  background: var(--white);
}

.home-life-editorial .text-link {
  min-width: 5.4em;
  justify-content: center;
  border: 1px solid rgba(23, 71, 47, 0.22);
  border-radius: var(--radius-md);
  background: rgba(238, 245, 235, 0.92);
  padding: 0 13px;
  color: var(--canopy);
}

html[data-input-mode="mouse"] .home-life-editorial .text-link:hover {
  background: var(--canopy);
  color: var(--paper);
}

#life .home-life-feature {
  grid-template-rows: auto 1fr;
}

.home-life-feature figure {
  aspect-ratio: 16 / 10;
}

.home-life-feature .life-card-body {
  padding: clamp(28px, 4.6vw, 52px);
}

.home-life-feature h3 {
  font-size: clamp(1.5rem, 3vw, 2.46rem);
}

.home-life-stack {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

#life .home-life-mini {
  grid-template-columns: minmax(96px, 0.36fr) minmax(0, 0.64fr);
  grid-template-rows: 1fr;
  align-items: stretch;
}

.home-life-mini figure {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  min-height: 100%;
}

.home-life-mini .life-card-body {
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  min-width: 0;
  padding: 18px;
}

.home-life-mini .image-note {
  display: none;
}

.home-life-mini h3 {
  font-size: 1.02rem;
}

.home-life-mini p {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.58;
}

.method-grid,
.life-grid,
.profile-grid,
.artifact-grid,
.detail-grid,
.related-grid {
  display: grid;
  gap: clamp(34px, 4.2vw, 56px);
}

.method-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-card,
.life-card,
.profile-note,
.artifact-card,
.detail-card,
.related-card,
.status-note {
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(251, 251, 244, 0.72);
}

.method-card,
.profile-note,
.artifact-card,
.detail-card,
.related-card,
.status-note {
  padding: clamp(32px, 4.2vw, 52px);
}

.method-card h3,
.life-card h3,
.profile-note h3,
.artifact-card h3,
.detail-card h3,
.related-card h3,
.status-note h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
  font-weight: 760;
  line-height: 1.26;
}

.method-card p,
.life-card p,
.profile-note p,
.artifact-card p,
.detail-card p,
.related-card p,
.status-note p {
  margin-top: 18px;
  color: var(--stone);
  font-size: 0.96rem;
  line-height: var(--leading-copy);
}

.method-card .text-link,
.life-card .text-link,
.related-card .text-link {
  margin-top: 28px;
}

.method-page-hero {
  background: var(--canopy);
  padding: calc(78px + clamp(88px, 10vw, 150px)) var(--page-pad) clamp(72px, 8vw, 118px);
  color: var(--paper);
}

.method-page-hero-inner {
  display: grid;
  gap: clamp(32px, 5vw, 66px);
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.method-page-hero .page-title {
  max-width: 780px;
  color: inherit;
}

.method-page-lead {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.method-page-lead p {
  margin: 0;
  color: rgba(251, 251, 244, 0.82);
  font-size: clamp(1rem, 1.42vw, 1.16rem);
  line-height: var(--leading-copy);
}

.method-anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
}

.method-anchor-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(251, 251, 244, 0.22);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  color: rgba(251, 251, 244, 0.86);
  font-size: 0.86rem;
  line-height: 1.25;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.method-anchor-row a:focus-visible,
.method-anchor-row a:hover {
  border-color: rgba(251, 251, 244, 0.52);
  color: var(--paper);
}

.method-anchor-row span {
  color: var(--ochre);
  font-size: 0.72rem;
  font-weight: 820;
}

.method-narrative-section {
  padding: var(--section-space) var(--page-pad);
}

.method-narrative-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.18fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.method-page-rail {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.method-page-rail ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-page-rail a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 34px;
  color: rgba(29, 43, 34, 0.62);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.method-page-rail a:focus-visible,
.method-page-rail a:hover {
  color: var(--ink);
}

.method-page-rail span {
  color: var(--ochre);
  font-size: 0.68rem;
  font-weight: 820;
}

.method-page-rail em {
  overflow: hidden;
  color: inherit;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.method-page-stack {
  display: grid;
  gap: clamp(68px, 9vw, 124px);
  min-width: 0;
}

.method-page-chapter {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.13);
  padding-top: clamp(34px, 4.4vw, 54px);
  scroll-margin-top: 110px;
}

.method-page-chapter:first-child {
  border-top: 0;
  padding-top: 0;
}

.method-chapter-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.method-chapter-copy > span {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
}

.method-chapter-copy h2 {
  max-width: 780px;
  color: var(--canopy);
  font-size: clamp(1.42rem, 2.7vw, 2.42rem);
  line-height: 1.13;
}

.method-chapter-copy div {
  display: grid;
  gap: 14px;
}

.method-chapter-copy p {
  max-width: var(--measure-copy);
  margin: 0;
  color: var(--stone);
  font-size: clamp(0.98rem, 1.18vw, 1.06rem);
  line-height: var(--leading-copy);
}

.method-chapter-proof {
  display: grid;
  gap: clamp(18px, 2.8vw, 30px);
  min-width: 0;
}

.method-note-grid,
.method-project-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.14);
  background: rgba(23, 71, 47, 0.12);
}

.method-note-grid article,
.method-project-links a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2.4vw, 28px);
  text-decoration: none;
}

.method-note-grid span,
.method-project-links span {
  color: var(--moss);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.35;
}

.method-note-grid p,
.method-project-links p {
  margin: 0;
  color: var(--stone);
  font-size: 0.93rem;
  line-height: 1.64;
}

.method-project-links a:focus-visible,
.method-project-links a:hover {
  background: var(--paper);
}

.life-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.life-card {
  overflow: hidden;
  background: var(--white);
}

.life-card figure,
.life-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--fern);
}

.life-card img,
.life-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-card-body {
  padding: 24px;
}

.life-feature-layout {
  display: grid;
  gap: clamp(34px, 4.4vw, 56px);
}

.life-feature-layout .life-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.life-feature-layout .life-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.life-feature-layout .text-link {
  align-self: end;
  justify-self: end;
  margin-left: auto;
}

.life-card-feature {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  grid-template-rows: 1fr;
  min-height: clamp(420px, 44vw, 540px);
}

.life-card-feature figure {
  aspect-ratio: auto;
  min-height: inherit;
}

.life-card-feature .life-card-body {
  align-content: end;
  padding: clamp(34px, 5vw, 64px);
}

.life-card-feature h3 {
  max-width: 9em;
  font-size: clamp(1.72rem, 3.2vw, 2.92rem);
  line-height: 1.1;
}

.life-card-feature p {
  max-width: 31rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.life-grid.life-supporting-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.life-photo-archive {
  display: grid;
  gap: clamp(42px, 5vw, 72px);
}

.life-photo-group {
  display: grid;
  gap: 20px;
}

.life-photo-group-head {
  display: grid;
  max-width: var(--measure-copy);
  gap: 8px;
}

.life-photo-group-head h3 {
  font-family: var(--display-font);
  font-size: clamp(1.42rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
}

.life-photo-group-head p {
  color: var(--stone);
}

.life-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.life-photo-tile {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--fern);
}

.life-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-photo-tile .image-note {
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  border-radius: var(--radius-xs);
  background: rgba(23, 71, 47, 0.72);
  padding: 4px 8px;
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.15;
}

.image-note {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  border-radius: var(--radius-xs);
  background: rgba(23, 71, 47, 0.82);
  padding: 6px 10px;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.28;
}

.page-hero {
  background: var(--mint);
  padding-top: calc(78px + clamp(96px, 11vw, 170px));
  padding-bottom: clamp(104px, 10.5vw, 160px);
}

.page-hero.work {
  background: linear-gradient(120deg, var(--mint), var(--fern));
}

.page-hero.work .page-title {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-hero.method {
  background: var(--canopy);
  color: var(--paper);
}

.page-hero.life {
  background:
    linear-gradient(120deg, rgba(23, 71, 47, 0.82), rgba(23, 71, 47, 0.22)),
    var(--moss);
  color: var(--paper);
}

.page-hero.contact {
  background: var(--brand-primary);
  color: var(--paper);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
}

.page-hero.has-visual .page-hero-inner {
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
}

.page-hero-visual {
  min-height: clamp(300px, 34vw, 520px);
  border: 1px solid rgba(251, 251, 244, 0.28);
  border-radius: var(--radius-2xl);
  background: var(--brand-primary);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.page-hero-visual figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 32px);
  border-radius: var(--radius-xs);
  background: rgba(23, 71, 47, 0.78);
  padding: 7px 11px;
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.28;
}

.page-title {
  max-width: var(--measure-wide);
  margin-right: auto;
  margin-left: auto;
  color: var(--canopy);
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 1.1;
  text-align: center;
}

.aiki-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  min-height: min(700px, 84vh);
  background: var(--brand-primary);
  color: var(--paper);
  padding-top: calc(78px + clamp(38px, 5vw, 78px));
  padding-bottom: clamp(44px, 5vw, 64px);
}

.aiki-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 25, 17, 0.9) 0%, rgba(15, 46, 31, 0.7) 44%, rgba(15, 46, 31, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 25, 17, 0.12) 0%, rgba(8, 25, 17, 0.5) 100%);
  content: "";
  pointer-events: none;
}

.aiki-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-image: var(--aiki-hero-poster);
  background-position: center 54%;
  background-size: cover;
  pointer-events: none;
  user-select: none;
}

.aiki-hero-atmosphere-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  opacity: 0.72;
  filter: saturate(0.82) contrast(0.94) brightness(0.76);
  pointer-events: none;
  user-select: none;
}

.aiki-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  min-height: clamp(360px, 36vw, 460px);
}

.aiki-hero-copy {
  display: grid;
  max-width: 760px;
  gap: clamp(16px, 2vw, 24px);
}

.page-hero.work .aiki-hero-copy .page-title,
.aiki-hero-copy .page-title {
  margin-right: 0;
  margin-left: 0;
  color: var(--paper);
  font-family: var(--display-font);
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-align: left;
}

.aiki-hero-subtitle {
  max-width: 680px;
  color: rgba(251, 251, 244, 0.94);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 760;
  line-height: 1.34;
}

.aiki-hero-lead {
  display: grid;
  max-width: 620px;
  gap: 0;
  margin-top: clamp(2px, 0.5vw, 8px);
  border-left: 1px solid rgba(251, 251, 244, 0.28);
  padding-left: clamp(18px, 2vw, 26px);
  color: rgba(251, 251, 244, 0.78);
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.78;
}

.aiki-hero-lead p {
  max-width: 58ch;
  margin: 0;
}

.aiki-hero-lead p span {
  display: block;
}

.aiki-hero-lead p span:nth-of-type(2) {
  width: fit-content;
  max-width: min(100%, 24em);
}

.aiki-hero-lead p + p {
  margin-top: 12px;
  border-top: 1px solid rgba(251, 251, 244, 0.14);
  padding-top: 12px;
}

.aiki-hero-note {
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.5;
}

.aiki-hero .tag-list {
  margin-top: 2px;
}

.aiki-hero .tag-list li {
  border-color: rgba(251, 251, 244, 0.3);
  background: rgba(251, 251, 244, 0.08);
  color: rgba(251, 251, 244, 0.82);
}

.aiki-brief-belt {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(13, 36, 24, 0.96) 0, rgba(13, 36, 24, 0.96) 1px, rgba(251, 251, 244, 0.98) 1px),
    var(--paper);
  padding: 0 var(--page-pad);
}

.aiki-brief-belt .section-inner {
  border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  padding: clamp(16px, 2vw, 22px) 0;
}

.aiki-hero-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
}

.aiki-hero-brief div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0;
}

.aiki-hero-brief span {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.aiki-hero-brief strong {
  color: var(--canopy);
  font-size: clamp(0.9rem, 1.08vw, 1rem);
  font-weight: 760;
  line-height: 1.36;
}

.aiki-story-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(223, 234, 218, 0.58)),
    var(--paper);
}

.aiki-story-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.aiki-story-rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
  border-bottom: 1px solid rgba(23, 71, 47, 0.18);
  padding: 24px 0;
}

.aiki-story-rail p {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.3;
}

.aiki-story-rail ol {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aiki-story-rail li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--canopy);
}

.aiki-story-rail li span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(23, 71, 47, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.78);
  color: var(--ochre);
  font-size: 0.72rem;
  font-weight: 820;
}

.aiki-story-rail li strong {
  padding-top: 5px;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.36;
}

.aiki-story-board {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  min-width: 0;
}

.aiki-story-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(300px, 0.62fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
  padding-top: clamp(24px, 3.8vw, 42px);
}

.aiki-story-panel-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.aiki-story-panel-copy > span {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
}

.aiki-story-panel-copy h3 {
  color: var(--canopy);
  font-size: clamp(1.22rem, 2vw, 1.78rem);
  line-height: 1.16;
}

.aiki-story-panel-copy p {
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.72;
}

.aiki-story-panel-copy small {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-left: 3px solid rgba(47, 139, 87, 0.46);
  padding-left: 12px;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.45;
}

.aiki-story-artifact {
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(251, 251, 244, 0.72)),
    var(--paper);
  box-shadow: 0 22px 64px rgba(23, 71, 47, 0.08);
  padding: clamp(20px, 3vw, 32px);
}

.aiki-artifact-state,
.aiki-artifact-triage,
.aiki-artifact-report,
.aiki-artifact-memory {
  display: grid;
  gap: 12px;
}

.aiki-artifact-state div,
.aiki-artifact-triage div {
  display: grid;
  grid-template-columns: minmax(82px, 0.26fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid rgba(23, 71, 47, 0.12);
  padding-bottom: 12px;
}

.aiki-artifact-state div:last-child,
.aiki-artifact-triage div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aiki-artifact-state span,
.aiki-artifact-triage span,
.aiki-artifact-report span,
.aiki-artifact-memory span {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.42;
}

.aiki-artifact-state strong,
.aiki-artifact-triage strong {
  color: var(--canopy);
  font-size: 0.98rem;
  line-height: 1.5;
}

.aiki-artifact-triage div {
  grid-template-columns: 34px minmax(110px, 0.28fr) minmax(0, 1fr);
}

.aiki-artifact-triage p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.56;
}

.aiki-artifact-chat {
  display: grid;
  gap: 14px;
}

.aiki-artifact-chat div {
  display: grid;
  gap: 7px;
  max-width: 86%;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.aiki-artifact-chat div.user {
  justify-self: end;
  background: var(--mint);
  color: var(--canopy);
}

.aiki-artifact-chat div.assistant {
  justify-self: start;
  background: var(--white);
  box-shadow: inset 3px 0 0 var(--moss);
}

.aiki-artifact-chat span {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
}

.aiki-artifact-chat p {
  color: inherit;
  font-size: 0.92rem;
  line-height: 1.62;
}

.aiki-artifact-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.12);
  background: rgba(23, 71, 47, 0.12);
}

.aiki-artifact-split div {
  display: grid;
  align-content: start;
  gap: 12px;
  background: rgba(251, 251, 244, 0.84);
  padding: clamp(18px, 2.6vw, 26px);
}

.aiki-artifact-split strong {
  color: var(--canopy);
  font-size: 0.96rem;
}

.aiki-artifact-split p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.58;
}

.aiki-artifact-report div {
  display: grid;
  grid-template-columns: minmax(88px, 0.2fr) 46px minmax(70px, 0.2fr);
  gap: 12px;
  align-items: center;
}

.aiki-artifact-report strong {
  color: var(--canopy);
  font-size: 0.92rem;
  text-align: right;
}

.aiki-artifact-report em {
  color: var(--stone);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
}

.aiki-artifact-report i {
  grid-column: 1 / -1;
  display: block;
  height: 11px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--moss), var(--ochre));
}

.aiki-artifact-memory {
  position: relative;
}

.aiki-artifact-memory::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 1px;
  background: rgba(47, 139, 87, 0.32);
}

.aiki-artifact-memory div {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 32px;
}

.aiki-artifact-memory div::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--moss);
  border-radius: var(--radius-pill);
  background: var(--paper);
}

.aiki-artifact-memory p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.62;
}

.aiki-artifact-brake {
  display: grid;
  gap: 14px;
  border-left: 4px solid var(--ochre);
  background: rgba(243, 234, 220, 0.68);
  padding: clamp(18px, 3vw, 28px);
}

.aiki-artifact-brake strong {
  color: var(--canopy);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.aiki-artifact-brake p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.68;
}

.aiki-artifact-brake span {
  color: var(--moss);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.45;
}

.aiki-artifact-gallery-section {
  background:
    linear-gradient(180deg, rgba(223, 234, 218, 0.5), rgba(251, 251, 244, 0.94)),
    var(--mint);
}

.aiki-artifact-gallery {
  display: grid;
  grid-auto-columns: minmax(290px, 0.36fr);
  grid-auto-flow: column;
  gap: clamp(16px, 2.4vw, 24px);
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 2px 16px;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
}

.aiki-artifact-gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(23, 71, 47, 0.08);
  padding: clamp(20px, 2.6vw, 28px);
  scroll-snap-align: start;
}

.aiki-artifact-gallery-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.aiki-artifact-gallery-copy span {
  color: var(--ochre);
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1.2;
}

.aiki-artifact-gallery-copy h3 {
  color: var(--canopy);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.28;
}

.aiki-artifact-gallery-copy p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.62;
}

.aiki-artifact-gallery-card > .aiki-artifact-state,
.aiki-artifact-gallery-card > .aiki-artifact-triage,
.aiki-artifact-gallery-card > .aiki-artifact-report,
.aiki-artifact-gallery-card > .aiki-artifact-memory,
.aiki-artifact-gallery-card > .aiki-artifact-chat,
.aiki-artifact-gallery-card > .aiki-artifact-split,
.aiki-artifact-gallery-card > .aiki-artifact-brake {
  align-self: stretch;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: 18px;
}

.aiki-key-moment-grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  min-width: 0;
}

.aiki-key-moment {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.16);
  padding-top: clamp(24px, 3.4vw, 38px);
}

.aiki-key-moment > div:first-child {
  display: grid;
  align-content: start;
  gap: 12px;
}

.aiki-key-moment h3 {
  color: var(--canopy);
  font-size: clamp(1.18rem, 1.9vw, 1.64rem);
  line-height: 1.18;
}

.aiki-key-moment p {
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.68;
}

.aiki-key-moment-artifact {
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 244, 0.76)),
    var(--paper);
  box-shadow: 0 18px 54px rgba(23, 71, 47, 0.08);
  padding: clamp(20px, 3vw, 32px);
}

.aiki-quality-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.96), rgba(223, 234, 218, 0.52)),
    var(--paper);
}

.aiki-quality-matrix {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(23, 71, 47, 0.16);
  background: rgba(23, 71, 47, 0.14);
  gap: 1px;
}

.aiki-quality-matrix article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(18px, 2.4vw, 28px);
}

.aiki-quality-matrix span {
  color: var(--ochre);
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1.2;
}

.aiki-quality-matrix h3 {
  color: var(--canopy);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.28;
}

.aiki-quality-matrix p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.6;
}

.aiki-quality-theater {
  display: grid;
  grid-template-columns: minmax(168px, 0.2fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  min-width: 0;
}

.aiki-quality-nav {
  position: sticky;
  top: 104px;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 251, 244, 0.78)),
    var(--paper);
}

.aiki-quality-nav p {
  border-bottom: 1px solid rgba(23, 71, 47, 0.12);
  background: rgba(223, 234, 218, 0.28);
  padding: 13px 15px;
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
}

.aiki-quality-tabs {
  display: grid;
  min-width: 0;
  background: rgba(23, 71, 47, 0.1);
  gap: 1px;
}

.aiki-quality-tab {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(251, 251, 244, 0.86);
  padding: 13px 15px 13px 12px;
  color: rgba(29, 43, 34, 0.7);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 740;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.aiki-quality-tab span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(47, 139, 87, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(223, 234, 218, 0.5);
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 840;
}

.aiki-quality-tab.is-active,
.aiki-quality-tab[aria-selected="true"] {
  background: rgba(223, 234, 218, 0.42);
  color: var(--canopy);
  box-shadow: inset 3px 0 0 rgba(47, 139, 87, 0.72);
}

.aiki-quality-tab.is-active span,
.aiki-quality-tab[aria-selected="true"] span {
  border-color: rgba(47, 139, 87, 0.26);
  background: var(--paper);
  color: var(--canopy);
}

html[data-input-mode="mouse"] .aiki-quality-tab:hover {
  background: rgba(223, 234, 218, 0.3);
  color: var(--canopy);
}

.aiki-quality-tab:focus-visible {
  outline: 2px solid rgba(47, 139, 87, 0.42);
  outline-offset: -2px;
}

.aiki-quality-stage {
  min-width: 0;
}

.aiki-quality-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.78fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  min-width: 0;
}

.aiki-quality-panel.is-active {
  display: grid;
}

.aiki-quality-panel[hidden] {
  display: none;
}

.aiki-quality-panel .aiki-demo-phone {
  min-height: 0;
}

.aiki-quality-proof {
  min-height: 100%;
}

.aiki-principle-wall {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 251, 244, 0.78)),
    var(--paper);
  box-shadow: 0 24px 70px rgba(23, 71, 47, 0.08);
}

.aiki-principle-summary {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(136px, 15vw, 198px);
  overflow: hidden;
  border-bottom: 1px solid rgba(251, 251, 244, 0.14);
  background: var(--canopy);
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}

.aiki-principle-wall .aiki-principle-summary p {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  max-width: 700px;
  color: rgba(251, 251, 244, 0.96);
  font-family: var(--display-font);
  font-size: clamp(1.52rem, 2.8vw, 2.58rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(2, 6, 4, 0.22);
}

.aiki-summary-glow {
  position: relative;
  display: inline-block;
  color: var(--paper);
  isolation: isolate;
  animation: aiki-summary-text-pulse 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  text-shadow:
    0 0 7px rgba(251, 251, 244, 0.3),
    0 0 16px rgba(210, 229, 184, 0.11),
    0 10px 28px rgba(2, 6, 4, 0.26);
  will-change: text-shadow;
}

.aiki-summary-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.32em -0.68em -0.26em;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(ellipse at 50% 56%, rgba(251, 251, 244, 0.62) 0%, rgba(228, 245, 202, 0.38) 32%, rgba(210, 229, 184, 0.14) 62%, transparent 84%);
  filter: blur(7px);
  opacity: 0.16;
  transform: scale(0.7);
  transform-origin: 50% 54%;
  animation: aiki-summary-glow-breathe 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  will-change: opacity, transform, filter;
}

.aiki-summary-glow::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -0.58em -1.08em -0.48em;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(251, 251, 244, 0.26) 0%, rgba(221, 240, 194, 0.16) 38%, rgba(111, 139, 80, 0.09) 62%, transparent 84%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.58);
  transform-origin: 50% 56%;
  animation: aiki-summary-glow-wash 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: 0.12s;
  will-change: opacity, transform, filter;
}

@keyframes aiki-summary-glow-breathe {
  0%,
  100% {
    opacity: 0.14;
    filter: blur(6px);
    transform: scale(0.68);
  }

  46% {
    opacity: 0.58;
    filter: blur(14px);
    transform: scale(1.18);
  }

  68% {
    opacity: 0.28;
    filter: blur(9px);
    transform: scale(0.86);
  }
}

@keyframes aiki-summary-glow-wash {
  0%,
  100% {
    opacity: 0;
    filter: blur(16px);
    transform: scale(0.56);
  }

  48% {
    opacity: 0.34;
    filter: blur(24px);
    transform: scale(1.22);
  }

  72% {
    opacity: 0.08;
    filter: blur(20px);
    transform: scale(0.96);
  }
}

@keyframes aiki-summary-text-pulse {
  0%,
  100% {
    text-shadow:
      0 0 7px rgba(251, 251, 244, 0.32),
      0 0 16px rgba(210, 229, 184, 0.1),
      0 10px 28px rgba(2, 6, 4, 0.26);
  }

  46% {
    text-shadow:
      0 0 11px rgba(251, 251, 244, 0.58),
      0 0 24px rgba(228, 245, 202, 0.27),
      0 0 36px rgba(210, 229, 184, 0.14),
      0 12px 30px rgba(2, 6, 4, 0.28);
  }
}

.aiki-principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(23, 71, 47, 0.14);
  gap: 1px;
}

.aiki-principle-wall article {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 251, 244, 0.78)),
    var(--paper);
  padding: clamp(22px, 3vw, 36px);
}

.aiki-principle-index {
  justify-self: start;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  color: var(--moss);
  text-decoration: none;
}

.aiki-principle-index span {
  color: rgba(29, 43, 34, 0.56);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1;
}

.aiki-principle-index strong {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(47, 139, 87, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(223, 234, 218, 0.6);
  color: var(--canopy);
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.15;
  white-space: nowrap;
}

html[data-input-mode="mouse"] .aiki-principle-index:hover strong,
.aiki-principle-index:focus-visible strong {
  border-color: rgba(47, 139, 87, 0.34);
  background: rgba(223, 234, 218, 0.86);
}

.aiki-principle-index:focus-visible {
  outline: 2px solid rgba(47, 139, 87, 0.42);
  outline-offset: 4px;
  border-radius: var(--radius-pill);
}

.aiki-principle-wall h3 {
  color: var(--canopy);
  font-size: clamp(1.06rem, 1.55vw, 1.3rem);
  line-height: 1.28;
}

.aiki-principle-wall p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.62;
}

.aiki-41-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(223, 234, 218, 0.5) 42%, rgba(251, 251, 244, 0.96)),
    var(--paper);
  padding-top: clamp(58px, 7vw, 96px);
}

.aiki-41-layout {
  display: grid;
  grid-template-columns: minmax(168px, 0.18fr) minmax(0, 1fr);
  gap: clamp(28px, 4.8vw, 64px);
  align-items: start;
}

.aiki-41-rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 6px 0;
}

.aiki-41-rail p {
  color: var(--moss);
  font-size: 0.7rem;
  font-weight: 820;
  line-height: 1.2;
}

.aiki-41-rail ol {
  position: relative;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aiki-41-rail ol::before,
.aiki-41-rail ol::after {
  content: none;
}

.aiki-41-rail li {
  position: relative;
  z-index: 1;
}

.aiki-41-rail a {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 32px;
  border-radius: var(--radius-xs);
  padding: 5px 0;
  color: rgba(29, 43, 34, 0.62);
  font-weight: 680;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.aiki-41-rail a:focus-visible {
  outline: 2px solid rgba(47, 139, 87, 0.42);
  outline-offset: 4px;
}

.aiki-41-rail a.is-complete {
  color: rgba(111, 117, 108, 0.66);
  opacity: 1;
}

.aiki-41-rail a.is-active {
  color: var(--ink);
  font-weight: 820;
  opacity: 1;
}

.aiki-41-rail span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  color: var(--ochre);
  font-size: 0.66rem;
  font-weight: 820;
  transition:
    color 0.2s ease;
}

.aiki-41-rail em {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aiki-41-rail a.is-complete span {
  color: rgba(111, 139, 80, 0.68);
}

.aiki-41-rail a.is-active span {
  color: var(--canopy);
}

.aiki-41-rail a.is-active em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: rgba(23, 71, 47, 0.34);
}

.aiki-41-stack {
  display: grid;
  gap: clamp(64px, 8vw, 116px);
  min-width: 0;
}

.aiki-41-chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: clamp(28px, 3.6vw, 46px);
  scroll-margin-top: 110px;
}

.aiki-41-chapter:first-child {
  border-top: 0;
  padding-top: 0;
}

.aiki-41-chapter::before {
  content: "";
  position: absolute;
  top: clamp(28px, 3.6vw, 46px);
  left: -22px;
  width: 3px;
  height: 0;
  border-radius: var(--radius-pill);
  background: var(--moss);
  opacity: 0;
  transition:
    height 0.22s ease,
    opacity 0.22s ease;
}

.aiki-41-chapter:first-child::before {
  top: 0;
}

.aiki-41-chapter.is-current::before {
  height: clamp(44px, 7vw, 78px);
  opacity: 0.72;
}

.aiki-41-chapter.is-wide-proof {
  grid-template-columns: 1fr;
}

.aiki-41-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.aiki-41-copy > span {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.aiki-41-copy h2 {
  color: var(--canopy);
  font-size: clamp(1.42rem, 2.7vw, 2.42rem);
  line-height: 1.13;
  transition: color 0.2s ease;
}

.aiki-41-chapter.is-current .aiki-41-copy > span {
  color: var(--moss);
}

.aiki-41-chapter.is-current .aiki-41-copy h2 {
  color: var(--ink);
}

.aiki-41-copy div {
  display: grid;
  gap: 14px;
}

.aiki-41-copy p {
  max-width: var(--measure-copy);
  color: var(--stone);
  font-size: clamp(0.98rem, 1.18vw, 1.06rem);
  line-height: var(--leading-copy);
}

.aiki-41-proof {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  min-width: 0;
}

.aiki-41-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.15);
  background: rgba(23, 71, 47, 0.13);
}

.aiki-41-triage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(23, 71, 47, 0.12);
}

.aiki-41-card-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2.6vw, 28px);
}

.aiki-41-card-grid span {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.35;
}

.aiki-41-card-grid p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.62;
}

.aiki-triage-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  align-items: start;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 244, 0.78)),
    var(--paper);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: none;
}

.aiki-triage-index {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(47, 139, 87, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(223, 234, 218, 0.56);
  color: var(--canopy);
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1;
}

.aiki-triage-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.aiki-triage-entry {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.aiki-triage-entry span {
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.aiki-triage-entry p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
}

.aiki-triage-entry.is-user {
  border: 1px solid rgba(47, 139, 87, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(223, 234, 218, 0.42);
  padding: 12px 14px;
}

.aiki-triage-entry.is-user span {
  color: var(--moss);
}

.aiki-triage-entry.is-user p {
  color: var(--ink);
  font-weight: 680;
}

.aiki-triage-entry.is-product {
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  background: transparent;
  padding-top: 13px;
}

.aiki-triage-entry.is-product span {
  color: var(--ochre);
}

.aiki-triage-entry.is-product p {
  color: var(--stone);
}

.aiki-voice-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.aiki-voice-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 2vw, 18px);
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(14px, 1.8vw, 20px);
}

.aiki-voice-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.35;
}

.aiki-voice-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  font-weight: 640;
  line-height: 1.68;
}

.aiki-voice-portrait {
  display: grid;
  place-items: end center;
  min-height: clamp(190px, 20vw, 260px);
  margin: 0;
  overflow: hidden;
}

.aiki-voice-portrait img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  filter: contrast(1.04);
}

.aiki-41-dialogue,
.aiki-41-inline-demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.4vw, 34px);
  align-items: stretch;
  min-width: 0;
}

.aiki-41-dialogue {
  grid-template-columns: minmax(420px, 1fr) minmax(300px, 0.72fr);
}

.aiki-41-inline-demo {
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  border-top: 1px solid rgba(23, 71, 47, 0.14);
  padding-top: clamp(22px, 3vw, 34px);
}

.aiki-41-inline-demo .aiki-demo-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 124px);
  overflow: auto;
  border-right: 1px solid rgba(23, 71, 47, 0.12);
  padding-right: clamp(14px, 2vw, 24px);
}

.aiki-41-dialogue .aiki-demo-phone,
.aiki-41-inline-demo .aiki-demo-phone {
  min-height: 0;
}

.aiki-41-dialogue .aiki-demo-proof {
  min-height: 100%;
}

.aiki-41-inline-demo .aiki-demo-panel.is-active {
  grid-template-columns: minmax(300px, 0.9fr) minmax(260px, 0.7fr);
}

.aiki-41-inline-demo .aiki-demo-proof {
  padding: clamp(20px, 2.8vw, 28px);
}

.aiki-41-memory-stack {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.aiki-next-case-section {
  background: var(--paper);
  padding-top: 0;
}

.aiki-next-case-section .case-next-block {
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 1fr) auto;
  margin-top: 0;
  padding: clamp(30px, 4.8vw, 64px) 0;
}

.aiki-next-case-section .case-next-copy {
  gap: 10px;
}

.aiki-next-case-section .case-next-copy strong {
  font-size: clamp(1.18rem, 2.4vw, 1.9rem);
  line-height: 1.18;
}

.case-next-block {
  display: grid;
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(42px, 6vw, 86px);
  border-top: 1px solid rgba(23, 71, 47, 0.16);
  border-bottom: 1px solid rgba(23, 71, 47, 0.16);
  padding: clamp(34px, 5.8vw, 78px) 0;
  color: var(--canopy);
  text-decoration: none;
}

.case-next-eyebrow {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.case-next-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.case-next-copy strong {
  color: var(--canopy);
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  font-weight: 780;
  line-height: 0.96;
}

.case-next-copy span {
  max-width: 680px;
  color: var(--stone);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: var(--leading-copy);
}

.case-next-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-pill);
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.case-next-arrow > span {
  display: block;
  transform: translateX(0);
}

html[data-input-mode="mouse"] .case-next-block:hover .case-next-arrow,
.case-next-block:focus-visible .case-next-arrow {
  border-color: rgba(23, 71, 47, 0.3);
  background: var(--canopy);
  color: var(--paper);
}

.case-next-block:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .aiki-next-case-block .case-next-arrow > span {
    animation: case-next-arrow-nudge 1.9s ease-in-out infinite;
  }

  .aiki-story-panel {
    animation: aiki-panel-rise 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 4% cover 28%;
  }

  .aiki-artifact-gallery-card,
  .aiki-key-moment,
  .aiki-41-chapter,
  .aiki-quality-matrix article,
  .aiki-principle-wall article {
    animation: aiki-panel-rise 0.62s ease both;
    animation-timeline: view();
    animation-range: entry 6% cover 24%;
  }

  .aiki-demo-panel.is-active {
    animation: aiki-panel-rise 0.34s ease both;
  }

  .aiki-demo-tab,
  .aiki-41-rail a,
  .aiki-story-artifact,
  .aiki-artifact-gallery-card,
  .aiki-key-moment-artifact,
  .chat-bubble,
  .aiki-artifact-chat div {
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  html[data-input-mode="mouse"] .aiki-story-panel:hover .aiki-story-artifact {
    transform: translateY(-2px);
    box-shadow: 0 28px 78px rgba(23, 71, 47, 0.12);
  }

  html[data-input-mode="mouse"] .aiki-41-rail a:hover {
    color: var(--ink);
    transform: translateX(2px);
  }

  html[data-input-mode="mouse"] .aiki-artifact-gallery-card:hover,
  html[data-input-mode="mouse"] .aiki-key-moment:hover .aiki-key-moment-artifact {
    transform: translateY(-2px);
    box-shadow: 0 26px 68px rgba(23, 71, 47, 0.12);
  }
}

@keyframes case-next-arrow-nudge {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(-2px);
  }

  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

@keyframes aiki-panel-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero.method .page-title,
.page-hero.life .page-title,
.page-hero.contact .page-title {
  color: var(--paper);
}

.detail-meta-section {
  border-bottom: 1px solid rgba(23, 71, 47, 0.14);
  padding: clamp(22px, 2.8vw, 34px) var(--page-pad);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 52px);
}

.detail-meta div {
  min-width: 0;
}

.detail-meta dt {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 8px 0 0;
  color: var(--canopy);
  font-size: clamp(0.92rem, 1.28vw, 1.05rem);
  font-weight: 720;
  line-height: 1.42;
}

.work-visual-section {
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.work-visual-card {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(223, 234, 218, 0.68), rgba(251, 251, 244, 0.88)),
    var(--paper);
  padding: clamp(30px, 5vw, 64px);
}

.work-visual-copy {
  display: grid;
  max-width: 760px;
  gap: 16px;
}

.work-visual-copy > p:first-child {
  color: var(--moss);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.work-visual-copy h2 {
  color: var(--canopy);
  font-size: clamp(1.42rem, 2.8vw, 2.52rem);
  line-height: 1.16;
}

.work-visual-copy p:not(:first-child) {
  color: var(--stone);
  line-height: var(--leading-copy);
}

.work-flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 71, 47, 0.18);
  border: 1px solid rgba(23, 71, 47, 0.14);
}

.work-flow-diagram article {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 12px;
  background: rgba(251, 251, 244, 0.86);
  padding: clamp(20px, 2.8vw, 34px);
}

.work-flow-diagram span {
  color: var(--moss);
  font-size: 0.74rem;
  font-weight: 820;
}

.work-flow-diagram h3 {
  color: var(--canopy);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.28;
}

.work-flow-diagram p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.64;
}

.work-screen-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 30px);
}

.work-screen-preview figure {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.work-screen-preview img {
  width: 100%;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background: var(--white);
}

.work-screen-preview figcaption {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 760;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.artifact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.artifact-card {
  background: var(--white);
}

.artifact-card small,
.detail-card small,
.profile-note small {
  display: block;
  margin-top: 22px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 780;
}

.page-hero.work.dongbao-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 42%, rgba(214, 232, 202, 0.2), transparent 30%),
    radial-gradient(circle at 18% 18%, rgba(169, 121, 63, 0.18), transparent 28%),
    linear-gradient(126deg, #0b2318 0%, #17472f 58%, #071610 100%);
  color: var(--paper);
}

.dongbao-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 251, 244, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(251, 251, 244, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 78%, transparent);
  opacity: 0.32;
}

.dongbao-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.dongbao-hero-copy {
  display: grid;
  gap: clamp(15px, 1.8vw, 22px);
  max-width: 680px;
}

.page-hero.work .dongbao-hero-copy .page-title,
.dongbao-hero-copy .page-title {
  max-width: 760px;
  margin-right: 0;
  margin-left: 0;
  color: var(--paper);
  text-align: left;
}

.dongbao-hero-subtitle {
  max-width: 600px;
  color: rgba(251, 251, 244, 0.9);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  font-weight: 780;
  line-height: 1.36;
}

.dongbao-hero-lead {
  display: grid;
  gap: 0;
  max-width: 608px;
  margin-top: clamp(2px, 0.5vw, 8px);
  border-left: 1px solid rgba(251, 251, 244, 0.24);
  padding-left: clamp(18px, 2vw, 26px);
  color: rgba(251, 251, 244, 0.76);
  font-size: clamp(0.96rem, 1.05vw, 1.03rem);
  line-height: 1.78;
}

.dongbao-hero-lead p {
  max-width: 58ch;
  margin: 0;
}

.dongbao-hero-lead p + p {
  margin-top: 12px;
  border-top: 1px solid rgba(251, 251, 244, 0.14);
  padding-top: 12px;
}

.dongbao-hero-category {
  justify-self: start;
  margin: 2px 0 0;
  border: 1px solid rgba(251, 251, 244, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.08);
  padding: 9px 14px;
  color: rgba(251, 251, 244, 0.76);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.dongbao-hero-phone {
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
  width: clamp(238px, 24vw, 338px);
  margin: 0;
}

.dongbao-hero-phone::before {
  content: "";
  position: absolute;
  inset: 12% -22% 7%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(251, 251, 244, 0.24), rgba(251, 251, 244, 0.02) 58%, transparent 70%);
  filter: blur(18px);
}

.dongbao-hero-phone-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(251, 251, 244, 0.24);
  border-radius: clamp(28px, 3vw, 40px);
  background: #071610;
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.46),
    0 0 0 10px rgba(251, 251, 244, 0.05),
    inset 0 0 0 1px rgba(251, 251, 244, 0.14);
}

.dongbao-hero-phone-frame::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 26%;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.36);
  transform: translateX(-50%);
}

.dongbao-hero-phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, transparent 42%, rgba(251, 251, 244, 0.24) 48%, transparent 56%, transparent 100%);
  background-position: -160% 0;
  background-size: 220% 100%;
  box-shadow: inset 0 0 0 1px rgba(251, 251, 244, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 1200ms ease,
    background-position 3000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dongbao-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #071610;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1400ms ease,
    transform 3000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dongbao-hero-phone-frame.is-switching::after {
  background-position: 160% 0;
  opacity: 1;
}

.dongbao-hero-phone-frame.is-switching .dongbao-hero-video {
  opacity: 0.46;
  transform: scale(1.025);
}

.dongbao-hero-sound-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  gap: 0;
  justify-self: auto;
  min-width: 40px;
  min-height: 40px;
  border-color: rgba(251, 251, 244, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(8, 31, 20, 0.58);
  padding: 9px;
  color: var(--paper);
  box-shadow: 0 16px 36px rgba(2, 6, 4, 0.2);
}

.dongbao-hero-sound-toggle:hover,
.dongbao-hero-sound-toggle:focus-visible {
  border-color: rgba(251, 251, 244, 0.48);
  background: rgba(8, 31, 20, 0.78);
}

.dongbao-hero-sound-toggle:focus-visible {
  outline-color: var(--paper);
}

.dongbao-hero-sound-toggle [data-profile-hero-sound-text] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dongbao-brief-belt {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(13, 36, 24, 0.96) 0, rgba(13, 36, 24, 0.96) 1px, rgba(251, 251, 244, 0.98) 1px),
    var(--paper);
  padding: 0 var(--page-pad);
}

.dongbao-brief-belt .section-inner {
  border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  padding: clamp(18px, 2.2vw, 26px) 0;
}

.dongbao-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  margin: 0;
}

.dongbao-brief-grid div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dongbao-brief-grid dt {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.dongbao-brief-grid dd {
  margin: 0;
  color: var(--canopy);
  font-size: clamp(0.92rem, 1.08vw, 1.02rem);
  font-weight: 760;
  line-height: 1.38;
}

.dongbao-maintenance-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(238, 245, 235, 0.52)),
    var(--paper);
  padding: clamp(72px, 9vw, 132px) var(--page-pad) clamp(96px, 12vw, 168px);
}

.dongbao-maintenance-section .section-inner {
  display: grid;
  align-content: center;
  min-height: clamp(220px, 32vw, 420px);
}

.dongbao-maintenance-section h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--canopy);
  font-family: var(--display-font);
  font-size: clamp(1.9rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

html:has(.dongbao-maintenance-section) .site-footer {
  border-top: 0;
}

.dongbao-scene-role-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(238, 245, 235, 0.52)),
    var(--paper);
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(74px, 8vw, 118px);
  scroll-margin-top: clamp(92px, 12vw, 144px);
}

.dongbao-blueprint-inner {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.dongbao-blueprint-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.dongbao-blueprint-heading span {
  width: 4px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--ochre);
}

.dongbao-blueprint-heading h2 {
  font-family: var(--body-font);
  font-size: clamp(1.24rem, 2vw, 1.82rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
}

.dongbao-blueprint-scroll {
  overflow-x: auto;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.72);
  box-shadow: 0 28px 72px rgba(23, 71, 47, 0.08);
  scrollbar-color: rgba(23, 71, 47, 0.28) transparent;
}

.dongbao-blueprint-scroll:focus-visible {
  outline: 2px solid rgba(23, 71, 47, 0.34);
  outline-offset: 3px;
}

.dongbao-blueprint-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.52fr) repeat(6, minmax(150px, 1fr));
  min-width: 1080px;
}

.dongbao-blueprint-corner,
.dongbao-blueprint-step-head,
.dongbao-blueprint-lane-head,
.dongbao-blueprint-cell {
  border-right: 1px solid rgba(23, 71, 47, 0.12);
  border-bottom: 1px solid rgba(23, 71, 47, 0.12);
}

.dongbao-blueprint-step-head:nth-child(7n),
.dongbao-blueprint-cell:nth-child(7n) {
  border-right: 0;
}

.dongbao-blueprint-corner {
  min-height: 68px;
  background: rgba(251, 251, 244, 0.64);
}

.dongbao-blueprint-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 16px;
  color: var(--canopy);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  font-weight: 800;
  line-height: 1.2;
}

.dongbao-blueprint-step-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1.5px solid rgba(23, 71, 47, 0.86);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 760;
}

.dongbao-blueprint-lane-head {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 148px;
  padding: 18px 22px;
  background: rgba(238, 245, 235, 0.36);
  color: var(--canopy);
}

.dongbao-blueprint-lane-head strong {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 680;
  line-height: 1;
}

.dongbao-blueprint-lane-head span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.28;
}

.dongbao-blueprint-cell {
  position: relative;
  min-height: 148px;
  padding: 18px 18px;
  background: rgba(251, 251, 244, 0.5);
}

.dongbao-blueprint-cell::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 3px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(
      180deg,
      rgba(111, 139, 80, 0.9) 0 18%,
      transparent 18% 38%,
      rgba(111, 139, 80, 0.9) 38% 56%,
      transparent 56% 76%,
      rgba(111, 139, 80, 0.9) 76% 100%
    );
}

.dongbao-blueprint-cell.is-build::after {
  display: none;
}

.dongbao-blueprint-cell.is-action {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(0.9rem, 0.95vw, 0.98rem);
  font-weight: 620;
  line-height: 1.58;
}

.dongbao-blueprint-cell.is-action::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 71, 47, 0.22);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, rgba(23, 71, 47, 0.2) 0 0) 50% 44% / 20px 2px no-repeat,
    linear-gradient(90deg, rgba(23, 71, 47, 0.14) 0 0) 50% 58% / 26px 2px no-repeat,
    radial-gradient(circle at 34% 30%, rgba(111, 139, 80, 0.2) 0 5px, transparent 6px),
    rgba(251, 251, 244, 0.82);
}

.dongbao-blueprint-cell.is-action p {
  margin: 0;
}

.dongbao-blueprint-ui {
  display: grid;
  width: 100%;
  min-height: 76px;
  border: 1px solid rgba(23, 71, 47, 0.17);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.dongbao-blueprint-ui.is-gallery {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.dongbao-blueprint-ui.is-gallery span {
  min-height: 24px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(23, 71, 47, 0.08), rgba(111, 139, 80, 0.12)),
    rgba(23, 71, 47, 0.05);
}

.dongbao-blueprint-ui.is-gallery .is-active {
  border: 1px solid rgba(23, 71, 47, 0.48);
  background: rgba(251, 251, 244, 0.8);
}

.dongbao-blueprint-ui.is-form,
.dongbao-blueprint-ui.is-script,
.dongbao-blueprint-ui.is-continue {
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.dongbao-blueprint-ui.is-form span,
.dongbao-blueprint-ui.is-script span,
.dongbao-blueprint-ui.is-continue span {
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(23, 71, 47, 0.22);
}

.dongbao-blueprint-ui.is-form span:nth-child(1),
.dongbao-blueprint-ui.is-script span:nth-child(1),
.dongbao-blueprint-ui.is-continue span:nth-child(1) {
  width: 78%;
}

.dongbao-blueprint-ui.is-form span:nth-child(2),
.dongbao-blueprint-ui.is-script span:nth-child(2),
.dongbao-blueprint-ui.is-continue span:nth-child(2) {
  width: 58%;
}

.dongbao-blueprint-ui.is-form span:nth-child(3),
.dongbao-blueprint-ui.is-script span:nth-child(3),
.dongbao-blueprint-ui.is-continue span:nth-child(3) {
  width: 42%;
}

.dongbao-blueprint-ui.is-form strong,
.dongbao-blueprint-ui.is-script strong {
  width: 66%;
  height: 24px;
  border: 1px solid rgba(23, 71, 47, 0.13);
  border-radius: 6px;
  background: rgba(251, 251, 244, 0.64);
}

.dongbao-blueprint-ui.is-script strong {
  width: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(111, 139, 80, 0.18) 0 2px, transparent 2px 8px),
    rgba(238, 245, 235, 0.5);
}

.dongbao-blueprint-ui.is-storyboard {
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 7px;
  padding: 12px;
}

.dongbao-blueprint-ui.is-storyboard span {
  height: 30px;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: 5px;
  background: rgba(23, 71, 47, 0.06);
}

.dongbao-blueprint-ui.is-storyboard strong {
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 8px;
  border-radius: var(--radius-pill);
  background: rgba(23, 71, 47, 0.22);
}

.dongbao-blueprint-ui.is-export {
  align-content: center;
  gap: 12px;
  padding: 12px;
}

.dongbao-blueprint-ui.is-export span {
  min-height: 42px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(23, 71, 47, 0.13) 50%, transparent 52%),
    rgba(23, 71, 47, 0.06);
}

.dongbao-blueprint-ui.is-export strong {
  width: 56%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(23, 71, 47, 0.72), rgba(111, 139, 80, 0.18));
}

.dongbao-blueprint-cell.is-structure {
  display: grid;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.dongbao-blueprint-cell.is-structure strong {
  justify-self: center;
  min-width: 116px;
  border: 1px solid rgba(111, 139, 80, 0.28);
  border-radius: 6px;
  background: rgba(251, 251, 244, 0.72);
  padding: 8px 12px;
  color: var(--canopy);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.2;
}

.dongbao-blueprint-cell.is-structure div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.dongbao-blueprint-cell.is-structure span {
  border: 1px solid rgba(111, 139, 80, 0.2);
  border-radius: 5px;
  background: rgba(238, 245, 235, 0.44);
  padding: 6px 9px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 640;
  line-height: 1.2;
}

.dongbao-blueprint-cell.is-build {
  color: var(--ink);
}

.dongbao-blueprint-cell.is-build ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 590;
  line-height: 1.32;
}

.dongbao-blueprint-cell.is-build li {
  position: relative;
  padding-left: 14px;
}

.dongbao-blueprint-cell.is-build li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--ochre);
}

.dongbao-blueprint-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  gap: clamp(20px, 2.8vw, 34px);
  align-items: stretch;
}

.dongbao-build-system,
.dongbao-ownership-panel {
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.7);
  box-shadow: 0 22px 56px rgba(23, 71, 47, 0.08);
}

.dongbao-build-system {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.dongbao-build-system article {
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid rgba(23, 71, 47, 0.1);
  padding: clamp(18px, 2vw, 24px);
}

.dongbao-build-system article:nth-child(5) {
  border-right: 0;
}

.dongbao-build-system h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(0.94rem, 1vw, 1.06rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.28;
}

.dongbao-build-system article div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dongbao-build-system article span {
  border: 1px solid rgba(111, 139, 80, 0.18);
  border-radius: 5px;
  background: rgba(238, 245, 235, 0.42);
  padding: 6px 8px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.16;
}

.dongbao-build-rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2vw, 24px);
}

.dongbao-build-rail span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
}

.dongbao-build-rail span::before {
  content: "";
  width: 36px;
  height: 36px;
  border: 1px solid rgba(169, 121, 63, 0.28);
  border-radius: 999px;
  background: rgba(251, 251, 244, 0.8);
}

.dongbao-build-rail span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 1px;
  background: var(--ochre);
}

.dongbao-ownership-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
}

.dongbao-ownership-panel > p {
  justify-self: start;
  border-radius: 5px;
  background: var(--ochre);
  padding: 6px 10px;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.1;
}

.dongbao-ownership-panel h2 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.74rem, 3vw, 2.88rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.12;
}

.dongbao-prose {
  display: grid;
  gap: 16px;
  color: var(--stone);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.82;
}

.dongbao-ownership-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.dongbao-ownership-facts span {
  color: var(--canopy);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.26;
}

.dongbao-story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
}

.dongbao-story-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  min-height: 238px;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-top: 2px solid rgba(23, 71, 47, 0.26);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(251, 251, 244, 0.72)),
    rgba(255, 255, 255, 0.78);
  padding: clamp(16px, 1.6vw, 20px);
  box-shadow: 0 18px 44px rgba(23, 71, 47, 0.07);
  overflow-wrap: anywhere;
}

.dongbao-story-card > span {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
}

.dongbao-story-card h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  font-weight: 800;
  line-height: 1.36;
}

.dongbao-story-card p {
  color: var(--stone);
  font-size: clamp(0.88rem, 0.9vw, 0.94rem);
  line-height: 1.66;
}

.dongbao-principle-grid,
.dongbao-constraint-grid,
.dongbao-storyboard-cards,
.dongbao-status-grid,
.dongbao-export-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  min-width: 0;
}

.dongbao-principle-card,
.dongbao-constraint-card,
.dongbao-status-card,
.dongbao-export-card,
.dongbao-storyboard-cards article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 251, 244, 0.74)),
    rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2vw, 24px);
  box-shadow: 0 18px 48px rgba(23, 71, 47, 0.07);
}

.dongbao-principle-card > span,
.dongbao-status-card > span,
.dongbao-storyboard-cards article > span {
  color: var(--ochre);
  font-size: 0.76rem;
  font-weight: 840;
  line-height: 1.2;
}

.dongbao-principle-card h3,
.dongbao-constraint-card h3,
.dongbao-status-card h3,
.dongbao-export-card h3,
.dongbao-storyboard-cards h3,
.dongbao-path-copy h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.34;
}

.dongbao-principle-card p,
.dongbao-constraint-card p,
.dongbao-status-card p,
.dongbao-export-card p,
.dongbao-storyboard-cards p,
.dongbao-path-copy p {
  color: var(--stone);
  font-size: clamp(0.9rem, 0.95vw, 0.98rem);
  line-height: 1.72;
}

.dongbao-constraint-section {
  background:
    linear-gradient(180deg, rgba(244, 248, 238, 0.94), rgba(238, 245, 235, 0.72)),
    var(--paper);
}

.dongbao-constraint-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dongbao-constraint-card {
  min-height: 190px;
  border-color: rgba(23, 71, 47, 0.18);
}

.dongbao-path-layout,
.dongbao-script-layout,
.dongbao-status-layout,
.dongbao-export-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  min-width: 0;
}

.dongbao-path-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
  padding-top: 20px;
}

.dongbao-path-copy article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 14px;
  min-width: 0;
}

.dongbao-path-copy article > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(169, 121, 63, 0.34);
  border-radius: var(--radius-pill);
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
}

.dongbao-template-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(13, 42, 28, 0.94), rgba(27, 82, 56, 0.9));
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 26px 76px rgba(23, 71, 47, 0.16);
}

.dongbao-template-panel span {
  border: 1px solid rgba(251, 251, 244, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(251, 251, 244, 0.08);
  padding: 13px 14px;
  color: rgba(251, 251, 244, 0.9);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.24;
}

.dongbao-storyboard-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dongbao-storyboard-cards article {
  min-height: 220px;
}

.dongbao-status-layout {
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  align-items: stretch;
}

.dongbao-status-grid {
  grid-template-columns: 1fr;
}

.dongbao-status-card {
  min-height: 0;
  border-left: 3px solid rgba(169, 121, 63, 0.42);
}

.dongbao-export-section {
  background:
    linear-gradient(180deg, rgba(246, 248, 240, 0.96), rgba(235, 244, 232, 0.86)),
    var(--paper);
}

.dongbao-export-layout {
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
}

.dongbao-export-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dongbao-next-assets {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(13, 42, 28, 0.95), rgba(23, 71, 47, 0.88));
  padding: clamp(22px, 3vw, 32px);
  color: var(--paper);
  box-shadow: 0 28px 80px rgba(23, 71, 47, 0.14);
}

.dongbao-next-assets p {
  margin: 0;
  color: rgba(251, 251, 244, 0.88);
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  font-weight: 820;
  line-height: 1.28;
}

.dongbao-next-assets ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dongbao-next-assets li {
  border: 1px solid rgba(251, 251, 244, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(251, 251, 244, 0.08);
  padding: 11px 12px;
  color: rgba(251, 251, 244, 0.82);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.22;
}

.dongbao-media-shell {
  display: grid;
  gap: clamp(24px, 3.8vw, 48px);
  min-width: 0;
}

.dongbao-media-section {
  background:
    linear-gradient(180deg, rgba(244, 248, 238, 0.92), rgba(235, 244, 232, 0.98)),
    var(--paper);
}

.dongbao-media-section .section-head {
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.dongbao-media-section .section-title {
  max-width: 780px;
  font-family: var(--body-font);
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 820;
  line-height: 1.04;
}

.dongbao-media-section .section-deck {
  max-width: 680px;
  color: rgba(13, 42, 28, 0.72);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.dongbao-evidence-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
  min-width: 0;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
  padding-top: clamp(22px, 3vw, 34px);
}

.dongbao-evidence-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding-top: clamp(8px, 2vw, 28px);
  padding-right: clamp(0px, 2vw, 26px);
}

.dongbao-evidence-copy > p:first-child,
.dongbao-sample-copy > p {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dongbao-evidence-copy h3 {
  max-width: 520px;
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  font-weight: 820;
  line-height: 1.12;
}

.dongbao-evidence-copy > p:not(:first-child) {
  max-width: 520px;
  color: var(--stone);
  font-size: clamp(0.96rem, 1vw, 1.04rem);
  line-height: 1.72;
}

.dongbao-flow-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.dongbao-flow-intro > p,
.dongbao-sample-copy > p {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dongbao-task-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.dongbao-task-chain span {
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 12px;
  color: var(--canopy);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
}

.dongbao-screen-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  overflow: visible;
  padding: 0;
}

.dongbao-screen-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(23, 71, 47, 0.08);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.dongbao-screen-card:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

html[data-input-mode="mouse"] .dongbao-screen-card:hover {
  border-color: rgba(23, 71, 47, 0.34);
  box-shadow: 0 24px 58px rgba(23, 71, 47, 0.13);
  transform: translateY(-2px);
}

.dongbao-screen-card.is-primary {
  grid-template-columns: minmax(230px, 0.58fr) minmax(220px, 0.42fr);
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: end;
  min-height: 100%;
  border-color: rgba(23, 71, 47, 0.2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 243, 0.88));
  padding: clamp(16px, 2vw, 24px);
  box-shadow: 0 28px 80px rgba(23, 71, 47, 0.12);
}

.dongbao-screen-card.is-primary .dongbao-screen-frame {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: var(--radius-md);
}

.dongbao-screen-card.is-primary .dongbao-screen-meta {
  grid-column: 2;
  align-self: end;
}

.dongbao-screen-card.is-primary .dongbao-screen-copy {
  grid-column: 2;
  align-self: start;
  gap: 12px;
}

.dongbao-screen-card.is-primary .dongbao-screen-copy strong {
  font-size: clamp(1.28rem, 1.8vw, 1.7rem);
  line-height: 1.2;
}

.dongbao-screen-card.is-primary .dongbao-screen-copy span {
  font-size: 0.98rem;
  line-height: 1.72;
}

.dongbao-screen-index,
.dongbao-screen-meta {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
}

.dongbao-screen-index {
  position: absolute;
  top: 14px;
  right: 14px;
}

.dongbao-screen-meta {
  min-height: 0.86rem;
  padding-right: 38px;
}

.dongbao-screen-frame {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-xs);
  background: #f6f8f2;
  aspect-ratio: 780 / 1506;
}

.dongbao-screen-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dongbao-screen-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.dongbao-screen-copy strong,
.dongbao-sample-copy h3,
.dongbao-sample-card h4 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: 1.02rem;
  font-weight: 780;
  line-height: 1.32;
}

.dongbao-screen-copy span,
.dongbao-sample-copy p,
.dongbao-sample-card p {
  color: var(--stone);
  font-size: 0.88rem;
  line-height: 1.62;
}

.dongbao-sample-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(14, 54, 37, 0.96), rgba(28, 83, 57, 0.9));
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 30px 84px rgba(23, 71, 47, 0.16);
}

.dongbao-sample-copy {
  display: grid;
  gap: 12px;
}

.dongbao-sample-copy > p,
.dongbao-sample-copy h3,
.dongbao-sample-copy p {
  color: rgba(251, 251, 244, 0.86);
}

.dongbao-sample-copy h3 {
  color: var(--paper);
  font-size: clamp(1.2rem, 1.7vw, 1.58rem);
}

.dongbao-sample-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.dongbao-sample-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
}

.dongbao-sample-card video {
  display: block;
  width: 100%;
  max-height: 360px;
  border: 1px solid rgba(251, 251, 244, 0.22);
  border-radius: var(--radius-md);
  background: rgba(5, 22, 15, 0.7);
  aspect-ratio: 360 / 640;
  object-fit: cover;
}

.dongbao-sample-card h4 {
  color: var(--paper);
  font-size: 0.92rem;
}

.dongbao-sample-card p {
  color: rgba(251, 251, 244, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
}

.dongbao-artifact-grid .artifact-card {
  min-height: 190px;
}

.dongbao-boundary {
  margin: 0;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
  color: var(--moss);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.58;
}

.dongbao-next-section {
  background: var(--paper);
  padding-top: 0;
}

.dongbao-next-block {
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 1fr) auto;
  margin-top: 0;
  padding: clamp(30px, 4.8vw, 64px) 0;
}

.dongbao-next-block .case-next-copy {
  gap: 10px;
}

.dongbao-next-block .case-next-copy strong {
  font-size: clamp(1.18rem, 2.4vw, 1.9rem);
  line-height: 1.18;
}

.dongbao-next-block .case-next-copy span {
  max-width: 640px;
}

.dongbao-review-page .section {
  scroll-margin-top: clamp(92px, 12vw, 144px);
}

.dongbao-review-page-a .section-title,
.dongbao-review-page-b .section-title {
  max-width: 900px;
}

.dongbao-draft-prose {
  display: grid;
  gap: 18px;
  max-width: 880px;
  color: var(--stone);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.86;
}

.dongbao-draft-prose + .dongbao-draft-prose {
  margin-top: 22px;
}

.dongbao-draft-card-grid,
.dongbao-review-card-grid,
.dongbao-strategy-grid,
.dongbao-solution-grid,
.dongbao-review-summary-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  min-width: 0;
}

.dongbao-draft-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 48px);
}

.dongbao-review-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dongbao-strategy-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dongbao-solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dongbao-review-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dongbao-draft-card,
.dongbao-review-card,
.dongbao-solution-card,
.dongbao-review-summary-grid article {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 244, 0.74)),
    rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2vw, 24px);
  box-shadow: 0 18px 48px rgba(23, 71, 47, 0.07);
  overflow-wrap: anywhere;
}

.dongbao-draft-card > span,
.dongbao-review-card > span,
.dongbao-solution-card > span {
  color: var(--ochre);
  font-size: 0.76rem;
  font-weight: 840;
  line-height: 1.2;
}

.dongbao-draft-card h3,
.dongbao-review-card h3,
.dongbao-solution-card h3,
.dongbao-review-summary-grid h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.35;
}

.dongbao-draft-card p,
.dongbao-review-card p,
.dongbao-solution-card p,
.dongbao-review-summary-grid p {
  color: var(--stone);
  font-size: clamp(0.9rem, 0.95vw, 0.98rem);
  line-height: 1.72;
}

.dongbao-draft-card .dongbao-draft-note {
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.54;
}

.dongbao-draft-summary {
  margin: clamp(26px, 4vw, 44px) 0 0;
  border-left: 3px solid var(--ochre);
  padding: 8px 0 8px 18px;
  color: var(--canopy);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  font-weight: 820;
  line-height: 1.56;
}

.dongbao-draft-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.dongbao-draft-pill-list span {
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 12px;
  color: var(--canopy);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
}

.dongbao-solution-card {
  min-height: 252px;
}

.dongbao-solution-problem {
  border-left: 2px solid rgba(169, 121, 63, 0.38);
  padding-left: 12px;
  color: var(--moss);
  font-weight: 740;
}

.dongbao-review-screen-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
  margin-top: clamp(28px, 4vw, 48px);
}

.dongbao-review-screen-strip .dongbao-screen-card.is-primary {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto 1fr;
}

.dongbao-review-screen-strip .dongbao-screen-card.is-primary .dongbao-screen-frame,
.dongbao-review-screen-strip .dongbao-screen-card.is-primary .dongbao-screen-meta,
.dongbao-review-screen-strip .dongbao-screen-card.is-primary .dongbao-screen-copy {
  grid-column: auto;
  grid-row: auto;
}

.dongbao-review-summary-section {
  background:
    linear-gradient(180deg, rgba(246, 248, 240, 0.96), rgba(235, 244, 232, 0.86)),
    var(--paper);
}

.dongbao-review-page-v03 .section {
  padding-top: clamp(88px, 10vw, 148px);
  padding-bottom: clamp(92px, 10vw, 152px);
}

.dongbao-review-page-v03 .section-title {
  max-width: 920px;
}

.dongbao-review-page-v03 .section-deck {
  max-width: 760px;
}

.dongbao-v03-hero-statement {
  max-width: 640px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.22rem, 2.35vw, 2.18rem);
  font-weight: 880;
  line-height: 1.28;
}

.dongbao-v03-hero-anchor-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 650px;
}

.dongbao-v03-hero-anchor-row span {
  display: grid;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(251, 251, 244, 0.2);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.08);
  padding: 9px 10px;
  color: rgba(251, 251, 244, 0.82);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.28;
}

.dongbao-v03-hero-brief-copy {
  max-width: 570px;
  border-left: 1px solid rgba(251, 251, 244, 0.24);
  padding-left: clamp(18px, 2vw, 26px);
}

.dongbao-v03-hero-brief-copy p {
  margin: 0;
  color: rgba(251, 251, 244, 0.76);
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.78;
}

.dongbao-v03-hero-b .dongbao-v03-hero-brief-copy p {
  color: rgba(251, 251, 244, 0.84);
  font-size: clamp(1.05rem, 1.34vw, 1.24rem);
  font-weight: 720;
  line-height: 1.66;
}

.dongbao-v03-hero-layout-b .dongbao-hero-inner,
.dongbao-v03-hero-layout-c .dongbao-hero-inner {
  grid-template-columns: minmax(0, 1.04fr) minmax(230px, 0.52fr);
  gap: clamp(20px, 4vw, 54px);
}

.dongbao-v03-hero-layout-b .dongbao-hero-phone,
.dongbao-v03-hero-layout-c .dongbao-hero-phone {
  width: clamp(218px, 23vw, 310px);
}

.dongbao-v03-layout-b-copy {
  max-width: 780px;
  gap: clamp(16px, 3vh, 26px);
}

.dongbao-v03-layout-b-head {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(172px, 0.48fr);
  gap: clamp(14px, 2.3vw, 28px);
  align-items: end;
}

.dongbao-v03-layout-b-meta {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding-bottom: 0.28rem;
}

.dongbao-v03-layout-b-meta .dongbao-hero-subtitle {
  margin: 0;
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
}

.dongbao-v03-layout-b-meta .dongbao-hero-category {
  margin: 0;
}

.dongbao-v03-layout-b-rhythm {
  display: grid;
  gap: 9px;
  max-width: 740px;
  border-left: 1px solid rgba(251, 251, 244, 0.22);
  padding-left: clamp(16px, 2vw, 24px);
}

.dongbao-v03-layout-b-rhythm p {
  display: block;
  margin: 0;
  color: rgba(251, 251, 244, 0.88);
  font-size: clamp(0.96rem, 1.18vw, 1.08rem);
  font-weight: 820;
  line-height: 1.42;
}

.dongbao-v03-hero-value .dongbao-hero-inner,
.dongbao-v03-value-inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.dongbao-v03-value-copy {
  max-width: 740px;
  gap: clamp(60px, 8.4vh, 98px);
}

.dongbao-v03-value-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: clamp(16px, 2vw, 34px);
  row-gap: clamp(10px, 1.4vh, 16px);
  min-width: 0;
}

.dongbao-v03-value-heading .page-title {
  flex: 0 0 auto;
}

.dongbao-v03-value-heading .dongbao-hero-category {
  flex: 0 0 auto;
  transform: translateY(-0.08em);
  white-space: nowrap;
}

.dongbao-v03-value-heading .dongbao-hero-subtitle {
  flex: 0 0 100%;
  max-width: none;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.38;
  white-space: nowrap;
}

.dongbao-v03-value-copy .dongbao-hero-subtitle,
.dongbao-v03-value-copy .dongbao-hero-category {
  margin: 0;
}

.dongbao-v03-value-props {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
  max-width: 690px;
  border-left: 1px solid rgba(251, 251, 244, 0.24);
  padding-left: clamp(24px, 2.8vw, 36px);
}

.dongbao-v03-value-props article {
  display: grid;
  gap: 14px;
}

.dongbao-v03-value-props h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 820;
  line-height: 1.3;
}

.dongbao-v03-value-props p {
  margin: 0;
  color: rgba(251, 251, 244, 0.76);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  font-weight: 520;
  line-height: 1.72;
}

.dongbao-v03-hero-value .dongbao-hero-phone {
  width: clamp(218px, 23vw, 310px);
}

.dongbao-v03-layout-c-copy {
  max-width: 650px;
  gap: clamp(16px, 2.6vw, 30px);
}

.dongbao-v03-layout-c-statement {
  max-width: 560px;
  margin: 0;
  border-left: 1px solid rgba(251, 251, 244, 0.24);
  padding-left: clamp(18px, 2vw, 26px);
  color: var(--paper);
  font-size: clamp(1.28rem, 2.2vw, 2.08rem);
  font-weight: 880;
  line-height: 1.32;
}

.dongbao-v03-hero-copy-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(241, 246, 238, 0.72)),
    var(--paper);
  padding-top: clamp(58px, 7vw, 94px);
  padding-bottom: clamp(68px, 8vw, 112px);
}

.dongbao-v03-hero-copy-section .section-title {
  max-width: 780px;
}

.dongbao-v03-hero-full-copy {
  max-width: 860px;
}

.dongbao-v03-section .section-inner {
  display: grid;
  gap: clamp(32px, 5vw, 66px);
}

.dongbao-v03-prose {
  display: grid;
  gap: 18px;
  max-width: 860px;
  color: var(--stone);
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  line-height: 1.86;
}

.dongbao-v03-prose p {
  margin: 0;
}

.dongbao-v03-strong-line {
  max-width: 860px;
  margin: 0;
  border-left: 3px solid var(--ochre);
  padding: 10px 0 10px 18px;
  color: var(--canopy);
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  font-weight: 880;
  line-height: 1.38;
}

.dongbao-v03-card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.dongbao-v03-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dongbao-v03-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(18px, 2vw, 24px);
  box-shadow: 0 18px 46px rgba(23, 71, 47, 0.06);
}

.dongbao-v03-card-number,
.dongbao-v03-section-number {
  color: var(--ochre);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.dongbao-v03-card h3,
.dongbao-v03-strategy-copy h3 {
  margin: 0;
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.05rem, 1.2vw, 1.26rem);
  font-weight: 860;
  letter-spacing: 0;
  line-height: 1.34;
}

.dongbao-v03-card p {
  margin: 0;
  color: var(--stone);
  font-size: clamp(0.9rem, 0.98vw, 1rem);
  line-height: 1.78;
}

.dongbao-v03-summary-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr) minmax(220px, 0.72fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: stretch;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(18px, 2.4vw, 30px);
}

.dongbao-v03-summary-main,
.dongbao-v03-summary-next {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.dongbao-v03-summary-main p,
.dongbao-v03-summary-next p {
  margin: 0;
  color: var(--canopy);
  font-size: clamp(1.16rem, 1.8vw, 1.56rem);
  font-weight: 880;
  line-height: 1.36;
}

.dongbao-v03-summary-main span,
.dongbao-v03-summary-next span {
  color: var(--stone);
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  line-height: 1.72;
}

.dongbao-v03-summary-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dongbao-v03-summary-nodes span {
  display: grid;
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.82);
  padding: 12px 14px;
  color: var(--canopy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.36;
}

.dongbao-v03-strategy-stack {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.dongbao-v03-strategy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.76fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: start;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(20px, 3vw, 34px);
}

.dongbao-v03-strategy-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.dongbao-v03-strategy-copy .dongbao-v03-prose {
  gap: 14px;
  font-size: clamp(0.96rem, 1.03vw, 1.06rem);
  line-height: 1.8;
}

.dongbao-v03-structure-block {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(169, 121, 63, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(251, 251, 244, 0.76);
  padding: clamp(16px, 2vw, 22px);
}

.dongbao-v03-structure-block > p {
  margin: 0;
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 860;
  line-height: 1.24;
}

.dongbao-v03-matrix {
  display: grid;
  gap: 10px;
}

.dongbao-v03-matrix div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(23, 71, 47, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  padding: 12px;
}

.dongbao-v03-matrix strong {
  color: var(--canopy);
  font-size: 0.9rem;
  font-weight: 840;
  line-height: 1.3;
}

.dongbao-v03-matrix span {
  color: var(--stone);
  font-size: 0.82rem;
  line-height: 1.46;
}

.dongbao-v03-step-rail {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dongbao-v03-step-rail li {
  border: 1px solid rgba(23, 71, 47, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  padding: 11px 12px;
  color: var(--canopy);
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.28;
}

.dongbao-v03-screen-strip {
  margin-top: 0;
}

.dongbao-v03-screens-section {
  background:
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(238, 245, 235, 0.7)),
    var(--paper);
}

html.has-media-lightbox {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: rgba(13, 27, 20, 0.72);
  padding: clamp(16px, 4vw, 42px);
}

.media-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(220px, 340px);
  gap: 22px;
  width: min(100%, 920px);
  max-height: min(90vh, 880px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: clamp(16px, 2.6vw, 28px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.media-lightbox-panel > img {
  display: block;
  width: 100%;
  max-height: 82vh;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-md);
  background: #f6f8f2;
  object-fit: contain;
}

.media-lightbox-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding-top: 52px;
}

.media-lightbox-copy h2 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.1rem, 1.8vw, 1.36rem);
  font-weight: 800;
  line-height: 1.36;
}

.media-lightbox-copy p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.68;
}

.media-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-pill);
  background: var(--white);
  padding: 8px 12px;
  color: var(--canopy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
}

.media-lightbox-close:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.aiki-demo-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  border-top: 1px solid rgba(23, 71, 47, 0.16);
  padding-top: clamp(26px, 4vw, 42px);
}

.aiki-demo-sidebar {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.aiki-demo-sidebar > p:first-child,
.aiki-demo-kicker {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aiki-demo-tabs {
  display: grid;
  gap: 10px;
}

.aiki-demo-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  width: 100%;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.7);
  padding: 13px 14px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: left;
}

.aiki-demo-tab span {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
}

.aiki-demo-tab:focus-visible,
.aiki-demo-tab.is-active {
  border-color: rgba(23, 71, 47, 0.42);
  background: var(--white);
  color: var(--canopy);
}

html[data-input-mode="mouse"] .aiki-demo-tab:hover {
  border-color: rgba(23, 71, 47, 0.42);
  background: var(--white);
  color: var(--canopy);
}

.aiki-demo-tab:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

html[data-input-mode="touch"] .aiki-demo-tab:focus-visible {
  border-color: transparent;
  outline: none;
}

.aiki-demo-stage {
  position: relative;
  min-width: 0;
}

.aiki-demo-panel {
  grid-template-columns: minmax(300px, 0.92fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: stretch;
}

.aiki-demo-panel.is-active {
  display: grid;
}

.aiki-demo-panel[hidden] {
  display: none;
}

.aiki-demo-phone,
.aiki-demo-proof {
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.aiki-demo-phone {
  overflow: hidden;
  min-height: 560px;
  box-shadow: 0 24px 70px rgba(23, 71, 47, 0.12);
}

.aiki-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 71, 47, 0.14);
  background: var(--canopy);
  padding: 16px 18px;
  color: var(--paper);
}

.aiki-phone-header span {
  font-family: var(--display-font);
  font-size: 1.25rem;
}

.aiki-phone-header strong {
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.aiki-chat-body {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.chat-bubble {
  display: grid;
  gap: 8px;
  max-width: 88%;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.chat-bubble span {
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.chat-bubble.assistant span {
  text-transform: none;
}

.chat-bubble p {
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.68;
}

.chat-bubble.user {
  justify-self: end;
  background: var(--mint);
  color: var(--canopy);
}

.chat-bubble.assistant {
  justify-self: start;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--moss);
}

.chat-bubble.followup {
  background: #f3eadc;
}

.aiki-demo-proof {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(24px, 3.2vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 244, 0.78)),
    var(--paper);
}

.aiki-demo-proof h3 {
  color: var(--canopy);
  font-size: 1.45rem;
  line-height: 1.2;
}

.aiki-demo-proof > p:not(.aiki-demo-kicker) {
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.7;
}

.aiki-trace-list {
  display: grid;
  gap: 9px;
  position: relative;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.55;
  list-style: none;
  counter-reset: aiki-trace;
}

.aiki-trace-list li {
  counter-increment: aiki-trace;
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(251, 251, 244, 0.66)),
    rgba(223, 234, 218, 0.34);
  padding: 10px 13px;
  color: var(--ink);
  font-weight: 720;
}

.aiki-trace-list li::before {
  content: counter(aiki-trace);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(47, 139, 87, 0.22);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 840;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(23, 71, 47, 0.08);
}

.aiki-demo-cues,
.aiki-demo-metrics {
  display: grid;
  gap: 10px;
}

.aiki-demo-metrics div {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: 12px;
}

.aiki-demo-cues div {
  display: grid;
  grid-template-columns: max-content minmax(9em, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  border-top: 1px solid rgba(23, 71, 47, 0.12);
  padding-top: 12px;
}

.aiki-demo-cues span,
.aiki-demo-metrics span,
.aiki-chart-meta span,
.aiki-chart-row small {
  color: var(--stone);
  font-size: 0.82rem;
  font-weight: 700;
}

.aiki-demo-cues span {
  white-space: nowrap;
}

.aiki-demo-cues strong,
.aiki-demo-metrics strong,
.aiki-chart-meta strong {
  color: var(--canopy);
  font-size: 0.92rem;
  text-align: right;
}

.aiki-demo-cues strong {
  justify-self: end;
  max-width: min(100%, 18em);
}

.aiki-demo-chart {
  display: grid;
  gap: 16px;
}

.aiki-chart-row {
  display: grid;
  gap: 8px;
}

.aiki-chart-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.aiki-chart-track {
  overflow: hidden;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--fern);
}

.aiki-chart-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--ochre));
}

.aiki-demo-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(24px, 4vw, 44px);
}

.aiki-demo-method-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}

.aiki-demo-method-card strong {
  color: var(--canopy);
  font-size: 0.94rem;
}

.aiki-demo-method-card p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.62;
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.34fr);
}

.timeline {
  display: grid;
  gap: 1px;
  background: rgba(23, 71, 47, 0.18);
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  background: var(--paper);
  padding: clamp(30px, 4vw, 48px);
}

.timeline-item time {
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 800;
}

.timeline-item h3 {
  color: var(--canopy);
  font-size: 1.12rem;
}

.timeline-item p {
  margin-top: 16px;
  color: var(--stone);
  line-height: var(--leading-copy);
}

.profile-resume-page {
  background:
    radial-gradient(circle at 78% 6%, rgba(192, 214, 163, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(251, 251, 244, 0.98), rgba(223, 234, 218, 0.42) 52%, rgba(251, 251, 244, 0.96)),
    var(--paper);
  padding: 0 0 clamp(86px, 10vw, 132px);
}

.profile-resume-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--first-screen-header-space) + clamp(46px, 7vw, 86px));
  padding-bottom: var(--first-screen-safe-bottom);
}

.profile-resume-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--profile-hero-poster);
  background-position: center 44%;
  background-size: cover;
  filter: saturate(0.82) contrast(0.94);
}

.profile-resume-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 12%, rgba(208, 226, 180, 0.3), transparent 36%),
    linear-gradient(90deg, rgba(251, 251, 244, 0.9), rgba(251, 251, 244, 0.7) 45%, rgba(251, 251, 244, 0.46)),
    linear-gradient(180deg, rgba(251, 251, 244, 0.54), rgba(251, 251, 244, 0.74));
}

.profile-resume-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  opacity: 0;
  transition: opacity 520ms ease;
}

.profile-resume-hero.is-video-loaded .profile-resume-hero-video {
  opacity: 1;
}

.profile-resume {
  display: grid;
  gap: clamp(30px, 4vw, 50px);
  width: min(calc(100% - (var(--page-pad) * 2)), 940px);
  margin: 0 auto;
  color: var(--ink);
}

.profile-resume-hero-content {
  position: relative;
  z-index: 1;
}

.profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero {
  display: block;
  min-height: auto;
  min-block-size: auto;
  padding-top: calc(var(--first-screen-header-space) + clamp(58px, 7vw, 92px));
  padding-bottom: clamp(58px, 8vw, 92px);
}

.profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero-media {
  inset: clamp(88px, 10vw, 136px) 0 auto auto;
  z-index: 0;
  width: min(58vw, 760px);
  height: min(58vh, 520px);
  min-height: 360px;
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  overflow: hidden;
  opacity: 0.58;
  pointer-events: none;
  box-shadow: -24px 30px 70px rgba(23, 71, 47, 0.12);
}

.profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero-media::after {
  background:
    radial-gradient(circle at 28% 26%, rgba(251, 251, 244, 0.66), transparent 44%),
    linear-gradient(90deg, rgba(251, 251, 244, 0.96), rgba(251, 251, 244, 0.74) 42%, rgba(251, 251, 244, 0.5)),
    linear-gradient(180deg, rgba(251, 251, 244, 0.38), rgba(251, 251, 244, 0.72));
}

.profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-head {
  max-width: 860px;
}

.profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-body {
  padding-top: clamp(44px, 6vw, 72px);
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero {
  padding-top: calc(var(--first-screen-header-space) + clamp(48px, 7vw, 84px));
  padding-bottom: var(--first-screen-safe-bottom);
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume {
  width: min(calc(100% - (var(--page-pad) * 2)), 1180px);
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume-head {
  max-width: min(52vw, 620px);
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume-summary {
  column-count: 1;
  max-width: 600px;
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero-media {
  inset: 50% max(var(--page-pad), calc((100vw - 1180px) / 2)) auto auto;
  z-index: 0;
  width: min(38vw, 520px);
  height: min(70vh, 620px);
  min-height: 420px;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 34px 86px rgba(23, 71, 47, 0.2);
}

.profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero-media::after {
  background:
    radial-gradient(circle at 28% 18%, rgba(251, 251, 244, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(251, 251, 244, 0.18), rgba(251, 251, 244, 0.46)),
    linear-gradient(90deg, rgba(23, 71, 47, 0.08), rgba(251, 251, 244, 0.16));
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero {
  --profile-cinema-top: calc(var(--first-screen-header-space) + clamp(4px, 1vh, 10px));
  --profile-cinema-height: clamp(430px, calc(100vw / 2.39), 560px);
  background: #092116;
  color: var(--paper);
  display: block;
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  padding-top: var(--profile-cinema-top);
  padding-bottom: var(--first-screen-safe-bottom);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-media {
  inset: var(--profile-cinema-top) 0 auto;
  height: calc(var(--profile-cinema-height) + 2px);
  background: #020604;
  background-image: none;
  filter: none;
  box-shadow: 0 2px 0 #092116;
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-video {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #020604;
  filter: saturate(0.98) contrast(1.04) brightness(0.58);
  transform: none;
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-media::after {
  background:
    linear-gradient(180deg, rgba(2, 6, 4, 0.5) 0%, rgba(2, 6, 4, 0.22) 22%, rgba(2, 6, 4, 0.18) 48%, rgba(2, 6, 4, 0.72) 84%, rgba(2, 6, 4, 0.96) 100%),
    linear-gradient(90deg, rgba(2, 6, 4, 0.88), rgba(8, 31, 20, 0.28) 42%, rgba(8, 31, 20, 0.42) 66%, rgba(2, 6, 4, 0.78)),
    radial-gradient(ellipse at 56% 44%, rgba(2, 6, 4, 0) 0%, rgba(2, 6, 4, 0.38) 72%, rgba(2, 6, 4, 0.86) 100%);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-content {
  padding-top: 0;
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-head {
  border-bottom-color: rgba(251, 251, 244, 0.2);
  gap: clamp(18px, 2vw, 24px);
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-kicker,
.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-title-row p {
  display: none;
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-title-row {
  min-height: var(--profile-cinema-height);
  align-items: end;
  padding-bottom: clamp(34px, 5vw, 62px);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-kicker,
.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-title-row p {
  color: rgba(210, 229, 184, 0.9);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-title-row h1 {
  color: var(--paper);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-summary {
  color: rgba(251, 251, 244, 0.9);
  margin-top: clamp(40px, 6vw, 68px);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-meta {
  border-color: rgba(251, 251, 244, 0.2);
  background: rgba(8, 31, 20, 0.38);
  backdrop-filter: blur(18px);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-meta div {
  border-right-color: rgba(251, 251, 244, 0.14);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-meta dt {
  color: rgba(210, 229, 184, 0.84);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-meta dd {
  color: rgba(251, 251, 244, 0.94);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-hero-sound-toggle {
  border-color: rgba(251, 251, 244, 0.28);
  background: rgba(8, 31, 20, 0.48);
  color: var(--paper);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-hero-sound-toggle:hover,
.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-hero-sound-toggle:focus-visible {
  border-color: rgba(251, 251, 244, 0.48);
  background: rgba(8, 31, 20, 0.72);
}

.profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-hero-sound-toggle:focus-visible {
  outline-color: var(--paper);
}

html[data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .site-header .brand {
  color: rgba(251, 251, 244, 0.94);
}

html[data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .language-switch {
  border-color: rgba(251, 251, 244, 0.26);
  background: rgba(8, 31, 20, 0.3);
}

html[data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .language-switch button {
  color: rgba(251, 251, 244, 0.86);
}

html[data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .language-switch button.is-active {
  background: var(--paper);
  color: var(--canopy);
}

html[data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .site-header .menu-button {
  border-color: rgba(251, 251, 244, 0.28);
  background: rgba(8, 31, 20, 0.86);
  color: var(--paper);
}

html[data-input-mode="mouse"][data-profile-hero-variant="dark-fullscreen"][data-header-state="top"] .site-header .menu-button:hover {
  border-color: rgba(251, 251, 244, 0.52);
  background: rgba(8, 31, 20, 1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue {
  right: max(var(--page-pad), calc((100vw - 1180px) / 2));
  left: auto;
  transform: translateY(0);
}

html[data-input-mode="mouse"][data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue:hover,
html[data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue:focus-visible {
  transform: translateY(-2px);
}

html[data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue[data-cue-visibility="entering"],
html[data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue[data-cue-visibility="leaving"] {
  transform: translateY(10px);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-hero-video,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-hero-video {
  filter: saturate(0.98) contrast(1.02) brightness(0.7);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-hero-media::after,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-hero-media::after {
  background:
    linear-gradient(180deg, rgba(2, 6, 4, 0.42) 0%, rgba(2, 6, 4, 0.16) 24%, rgba(2, 6, 4, 0.12) 50%, rgba(2, 6, 4, 0.58) 86%, rgba(2, 6, 4, 0.9) 100%),
    linear-gradient(90deg, rgba(2, 6, 4, 0.68), rgba(8, 31, 20, 0.14) 42%, rgba(8, 31, 20, 0.24) 68%, rgba(2, 6, 4, 0.58)),
    radial-gradient(ellipse at 56% 44%, rgba(2, 6, 4, 0) 0%, rgba(2, 6, 4, 0.24) 74%, rgba(2, 6, 4, 0.7) 100%);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-title-row h1,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-title-row h1 {
  color: rgba(251, 251, 244, 0.82);
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.02;
  text-shadow: 0 16px 34px rgba(2, 6, 4, 0.32);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-hero-sound-toggle,
.profile-resume-page[data-profile-hero-concept="c"] .profile-hero-sound-toggle {
  gap: 0;
  min-width: 40px;
  min-height: 40px;
  border-color: rgba(251, 251, 244, 0.18);
  background: rgba(2, 6, 4, 0.48);
  padding: 9px;
  color: rgba(251, 251, 244, 0.86);
  box-shadow: 0 14px 34px rgba(2, 6, 4, 0.18);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-hero-sound-toggle:hover,
.profile-resume-page[data-profile-hero-concept="a"] .profile-hero-sound-toggle:focus-visible,
.profile-resume-page[data-profile-hero-concept="c"] .profile-hero-sound-toggle:hover,
.profile-resume-page[data-profile-hero-concept="c"] .profile-hero-sound-toggle:focus-visible {
  border-color: rgba(251, 251, 244, 0.28);
  background: rgba(2, 6, 4, 0.64);
}

.profile-resume-page[data-profile-hero-concept="a"] [data-profile-hero-sound-text],
.profile-resume-page[data-profile-hero-concept="c"] [data-profile-hero-sound-text] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  overflow: visible;
  backdrop-filter: none;
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta div,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border: 0;
  padding: 0;
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta dt,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta dt {
  display: none;
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta dd,
.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta dd {
  margin: 0;
  color: rgba(251, 251, 244, 0.84);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  font-weight: 700;
  line-height: 1.45;
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta {
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: clamp(20px, 2.5vw, 30px);
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta div + div::before {
  margin: 0 clamp(9px, 1.4vw, 16px);
  color: rgba(251, 251, 244, 0.32);
  content: "·";
}

.profile-resume-page[data-profile-hero-concept="a"] .profile-resume-summary {
  margin-top: clamp(46px, 6.5vw, 78px);
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(170px, 0.9fr) minmax(0, 2.6fr);
  justify-content: stretch;
  gap: 0 clamp(18px, 2vw, 28px);
  margin-top: clamp(24px, 3vw, 38px);
  border: 0;
  border-bottom: 1px solid rgba(251, 251, 244, 0.12);
  border-radius: 0;
  padding: clamp(12px, 1.5vw, 16px) 0 clamp(20px, 2.4vw, 28px);
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div {
  position: relative;
  justify-content: center;
  padding: 0;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div + div {
  border-left: 0;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div + div::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(18px, 2vw, 28px) * -0.5);
  width: 1px;
  height: 1.35em;
  background: rgba(251, 251, 244, 0.18);
  content: "";
  transform: translateY(-50%);
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta dd {
  text-align: center;
  white-space: nowrap;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:first-child {
  justify-content: start;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:first-child dd {
  text-align: left;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child {
  justify-content: end;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child dd {
  text-align: right;
  white-space: nowrap;
}

.profile-resume-page[data-profile-hero-concept="c"] .profile-resume-summary {
  margin-top: clamp(44px, 6vw, 72px);
}

.profile-resume-body {
  padding-top: clamp(54px, 8vw, 92px);
}

.profile-resume-head {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(23, 71, 47, 0.18);
  padding-bottom: clamp(26px, 3.2vw, 38px);
}

.profile-resume-kicker {
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.2;
}

.profile-resume-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
}

.profile-resume-title-row h1 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.94;
}

.profile-resume-title-row p {
  margin-top: clamp(12px, 1.6vw, 18px);
  color: var(--moss);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 760;
  line-height: 1.25;
}

.profile-hero-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: end;
  min-height: 42px;
  border: 1px solid rgba(23, 71, 47, 0.22);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.66);
  padding: 9px 13px;
  color: var(--forest);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 820;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-hero-sound-toggle:hover,
.profile-hero-sound-toggle:focus-visible {
  border-color: rgba(23, 71, 47, 0.42);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.profile-hero-sound-toggle:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.profile-hero-sound-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
}

.profile-hero-sound-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.profile-hero-sound-toggle[aria-pressed="true"] .profile-hero-sound-on {
  display: block;
}

.profile-hero-sound-toggle[aria-pressed="true"] .profile-hero-sound-off {
  display: none;
}

.profile-hero-sound-toggle[aria-pressed="false"] .profile-hero-sound-on {
  display: none;
}

.profile-hero-sound-toggle[aria-pressed="false"] .profile-hero-sound-off {
  display: block;
}

.profile-resume-contact,
.profile-resume-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 71, 47, 0.22);
  border-radius: var(--radius-md);
  background: rgba(251, 251, 244, 0.62);
  min-height: 40px;
  padding: 9px 14px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-resume-contact:hover,
.profile-resume-link:hover,
.profile-resume-contact:focus-visible,
.profile-resume-link:focus-visible {
  border-color: rgba(23, 71, 47, 0.42);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.profile-resume-contact:focus-visible,
.profile-resume-link:focus-visible,
.profile-work-item a:focus-visible,
.profile-resume-meta a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.profile-resume-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.58;
}

.profile-summary-intro,
.profile-summary-practice {
  display: grid;
  gap: 0.82em;
  min-width: 0;
}

.profile-summary-practice {
  border-left: 1px solid rgba(251, 251, 244, 0.18);
  padding-left: clamp(22px, 3vw, 34px);
}

.profile-summary-practice-title {
  color: rgba(251, 251, 244, 0.96);
  font-weight: 820;
  line-height: 1.42;
}

.profile-resume-summary ol {
  counter-reset: profile-practice;
  display: grid;
  gap: 0.62em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-resume-summary li {
  position: relative;
  break-inside: avoid;
  padding-left: 2rem;
}

.profile-resume-summary li::before {
  position: absolute;
  top: 0.16em;
  left: 0;
  color: rgba(210, 229, 184, 0.9);
  content: counter(profile-practice, decimal-leading-zero);
  counter-increment: profile-practice;
  font-size: 0.72rem;
  font-weight: 840;
  letter-spacing: 0.02em;
}

.profile-resume-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(23, 71, 47, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.profile-resume-meta div {
  display: grid;
  gap: 7px;
  min-width: 0;
  border-right: 1px solid rgba(23, 71, 47, 0.12);
  padding: clamp(14px, 1.7vw, 19px);
}

.profile-resume-meta div:last-child {
  border-right: 0;
}

.profile-resume-meta dt {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
}

.profile-resume-meta dd,
.profile-resume-meta a {
  color: var(--canopy);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.38;
}

.profile-resume-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  border-top: 1px solid rgba(23, 71, 47, 0.16);
  padding-top: clamp(34px, 4.6vw, 58px);
}

.profile-resume-section > h2,
.profile-resume-footer h2 {
  color: var(--moss);
  font-family: var(--body-font);
  font-size: 0.84rem;
  font-weight: 840;
  line-height: 1.2;
}

.profile-experience-list,
.profile-work-list,
.profile-skill-grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  min-width: 0;
}

.profile-experience-list {
  gap: 0;
}

.profile-work-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}

.profile-experience-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 4vw, 52px);
  min-width: 0;
}

.profile-experience-item + .profile-experience-item {
  margin-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid rgba(23, 71, 47, 0.1);
  padding-top: clamp(30px, 4vw, 48px);
}

.profile-experience-meta {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.profile-experience-meta time,
.profile-work-copy > p:first-child {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.24;
}

.profile-experience-meta h3,
.profile-work-item h3,
.profile-skill-grid h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  font-weight: 780;
  line-height: 1.28;
}

.profile-experience-meta p {
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.48;
}

.profile-experience-item ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-experience-item li,
.profile-work-copy > p:not(:first-child),
.profile-skill-grid p,
.profile-resume-footer p {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.74;
}

.profile-experience-item li {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.profile-experience-item li + li {
  border-top: 1px solid rgba(23, 71, 47, 0.08);
  padding-top: 12px;
}

.profile-experience-item li::before {
  width: 5px;
  height: 5px;
  margin-top: 0.8em;
  border-radius: var(--radius-pill);
  background: rgba(96, 130, 69, 0.86);
  content: "";
}

.profile-work-item,
.profile-skill-grid article {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.profile-work-item {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 14px);
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(244, 248, 235, 0.36)),
    rgba(251, 251, 244, 0.48);
  padding: clamp(18px, 2.2vw, 26px);
}

.profile-work-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 0;
}

.profile-work-text-link {
  justify-self: start;
  border-bottom: 1px solid rgba(23, 71, 47, 0.28);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 820;
  text-decoration: none;
}

.profile-work-text-link:hover,
.profile-work-text-link:focus-visible {
  border-bottom-color: currentColor;
}

.profile-work-item h3 a {
  color: inherit;
  text-decoration-color: rgba(23, 71, 47, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.profile-work-item h3 a:hover {
  text-decoration-color: currentColor;
}

.profile-skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.profile-skill-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 71, 47, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(244, 248, 235, 0.4)),
    rgba(251, 251, 244, 0.56);
  padding: clamp(18px, 2.2vw, 26px);
}

.profile-resume-footer {
  gap: 14px;
}

.archive-list {
  display: grid;
  border-top: 1px solid rgba(23, 71, 47, 0.18);
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.16fr) minmax(0, 1fr) minmax(180px, 0.26fr);
  gap: clamp(24px, 3.8vw, 48px);
  align-items: start;
  border-bottom: 1px solid rgba(23, 71, 47, 0.18);
  padding: clamp(30px, 4vw, 46px) 0;
}

.archive-row .tag-list {
  justify-content: flex-end;
}

.archive-period {
  color: var(--moss);
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.5;
  text-transform: uppercase;
}

.archive-row h3 {
  color: var(--canopy);
  font-family: var(--body-font);
  font-size: clamp(1.22rem, 2.15vw, 2.14rem);
  font-weight: 760;
  line-height: 1.22;
}

.archive-row p:not(.archive-period) {
  margin-top: 18px;
  color: var(--stone);
  line-height: var(--leading-copy);
}

.contact-page-hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 31, 20, 0.98), rgba(21, 68, 46, 0.96)),
    var(--canopy);
  color: var(--paper);
  padding: calc(var(--first-screen-header-space) + clamp(54px, 7vw, 92px)) var(--page-pad) clamp(54px, 7vw, 90px);
}

.contact-page-hero::before {
  position: absolute;
  top: clamp(-220px, -14vw, -96px);
  right: clamp(-230px, -13vw, -96px);
  z-index: 0;
  width: clamp(420px, 42vw, 720px);
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 50% 50%, rgba(178, 208, 138, 0.28) 0%, rgba(98, 144, 82, 0.16) 38%, rgba(98, 144, 82, 0) 70%);
  content: "";
  filter: blur(10px);
  opacity: 0.86;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  animation: contact-hero-orb 18s ease-in-out infinite alternate;
}

.contact-page-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(64px, 7.8vw, 108px);
  align-items: start;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  transform: translateY(clamp(-16px, -1.6vh, -6px));
}

.contact-page-copy {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.contact-word-title {
  color: rgba(251, 251, 244, 0.94);
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 4.1vw, 3.35rem);
  font-weight: 400;
  line-height: 1.16;
}

.contact-word-title-en {
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 4.1vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0;
}

.contact-word-title:is(.contact-word-title-en, .contact-word-title-zh) {
  display: flex;
  gap: clamp(0.03em, 0.56vw, 0.08em);
  align-items: baseline;
  font-size: clamp(2.35rem, 4.1vw, 3.35rem);
  line-height: 1.16;
  overflow: visible;
}

.contact-word-title-en {
  gap: clamp(0.02em, 0.42vw, 0.06em);
}

.contact-word-title span {
  display: inline-block;
  padding-block: 0.08em 0.12em;
  margin-block: -0.08em -0.12em;
  overflow: visible;
  opacity: 0;
  transform: translate3d(-0.04em, 0.06em, 0) rotate(-1deg) scale(0.98);
  animation: contact-word-brush-in 920ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--char-delay);
}

.contact-word-title .contact-word-space {
  width: 0.22em;
}

.contact-drawn-title {
  width: min(100%, clamp(276px, 31vw, 390px));
  height: auto;
  color: rgba(251, 251, 244, 0.92);
  overflow: visible;
}

.contact-title-glyph {
  fill: currentColor;
  opacity: 0.98;
  filter: drop-shadow(0 1px 0 rgba(251, 251, 244, 0.08));
}

.contact-title-stroke {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: max(var(--stroke-width), 58px);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: contact-title-draw 460ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--stroke-delay);
}

@keyframes contact-title-draw {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes contact-word-brush-in {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(-0.04em, 0.06em, 0) rotate(-1deg) scale(0.98);
  }

  58% {
    opacity: 0.96;
  }

  100% {
    opacity: 0.98;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes contact-hero-orb {
  0% {
    opacity: 0.72;
    transform: translate3d(-4%, 0, 0) scale(0.96);
  }

  45% {
    opacity: 0.92;
    transform: translate3d(-13%, 8%, 0) scale(1.06);
  }

  100% {
    opacity: 0.78;
    transform: translate3d(-2%, 16%, 0) scale(1.01);
  }
}

@keyframes contact-card-light {
  0% {
    opacity: 0.58;
    transform: translate3d(-6%, 2%, 0) scale(0.94);
  }

  28% {
    opacity: 0.8;
    transform: translate3d(70%, 6%, 0) scale(1.08);
  }

  56% {
    opacity: 0.66;
    transform: translate3d(64%, 22%, 0) scale(0.98);
  }

  82% {
    opacity: 0.74;
    transform: translate3d(6%, 20%, 0) scale(1.04);
  }

  100% {
    opacity: 0.58;
    transform: translate3d(-6%, 2%, 0) scale(0.94);
  }
}

.contact-method-label {
  color: rgba(251, 251, 244, 0.58);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
}

.contact-panel {
  --contact-orb-left: clamp(-40px, -3.4vw, -26px);
  --contact-orb-right: clamp(26px, 3.4vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  min-width: 0;
  isolation: isolate;
  transform: translateY(clamp(30px, 4.2vh, 44px));
}

.contact-panel::before {
  content: none;
}

.contact-method {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(251, 251, 244, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(251, 251, 244, 0.08), rgba(251, 251, 244, 0.026)),
    rgba(251, 251, 244, 0.038);
  padding: clamp(22px, 3.2vw, 34px);
  box-shadow:
    inset 0 1px rgba(251, 251, 244, 0.08),
    0 18px 46px rgba(1, 10, 6, 0.08);
}

.contact-method::before {
  position: absolute;
  top: -34%;
  left: -34%;
  z-index: 0;
  width: 62%;
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at center, rgba(251, 251, 244, 0.33), rgba(196, 226, 152, 0.18) 39%, rgba(196, 226, 152, 0) 74%);
  content: "";
  filter: blur(2.2px);
  opacity: 0.84;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: contact-card-light 9.5s ease-in-out infinite;
}

.contact-method:nth-child(2)::before {
  animation-delay: -4.2s;
  animation-duration: 10.8s;
}

.contact-method > * {
  position: relative;
  z-index: 1;
}

.contact-method p:not(.contact-method-label):not(.contact-value) {
  max-width: 30rem;
  color: rgba(251, 251, 244, 0.7);
  font-size: 0.95rem;
  line-height: 1.68;
}

.contact-value {
  display: block;
  margin-top: 10px;
  color: var(--paper);
  font-size: clamp(1.32rem, 2.6vw, 2.12rem);
  font-weight: 840;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-decoration: none;
  word-break: break-word;
}

.contact-method:nth-child(2) .contact-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.04em;
}

a.contact-value {
  text-decoration-color: rgba(251, 251, 244, 0.34);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

a.contact-value:hover,
a.contact-value:focus-visible {
  text-decoration-color: rgba(251, 251, 244, 0.86);
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 1px solid rgba(251, 251, 244, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(251, 251, 244, 0.1);
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-action:hover,
.contact-action:focus-visible {
  border-color: rgba(251, 251, 244, 0.46);
  background: rgba(251, 251, 244, 0.18);
  transform: translateY(-1px);
}

.home-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.36fr);
  gap: clamp(36px, 5.8vw, 86px);
  align-items: end;
  border-top: 2px solid rgba(251, 251, 244, 0.42);
  padding-top: clamp(38px, 5.2vw, 68px);
}

.home-contact-card > p {
  max-width: var(--measure-copy);
  color: rgba(251, 251, 244, 0.78);
  line-height: var(--leading-long);
}

.home-contact-email {
  display: block;
  margin-top: 28px;
  color: var(--paper);
  font-family: var(--body-font);
  font-size: clamp(2rem, 6.6vw, 5.2rem);
  font-weight: 880;
  line-height: 1.18;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  border-top: 1px solid rgba(23, 71, 47, 0.18);
  background:
    linear-gradient(180deg, rgba(238, 245, 235, 0.58), rgba(251, 251, 244, 1)),
    var(--paper);
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(280px, 0.4fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.footer-publisher {
  display: grid;
  gap: 18px;
}

.footer-brand {
  color: var(--canopy);
  font-family: var(--display-font);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1;
}

.footer-publisher p {
  max-width: 520px;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.78;
}

.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.footer-menu-link {
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 720;
}

.noscript-message {
  padding: 60px var(--page-pad);
}

.noscript-message h1 {
  color: var(--canopy);
  font-family: var(--display-font);
  font-size: clamp(2.16rem, 5.75vw, 4.32rem);
}

.noscript-message p {
  margin-top: 26px;
  color: var(--stone);
  line-height: var(--leading-long);
}

.site-top-screen {
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
}

.home-hero.site-top-screen {
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  padding-top: calc(var(--first-screen-header-space) + var(--first-screen-home-top-space));
  padding-bottom: var(--first-screen-safe-bottom);
}

.page-hero.site-top-screen {
  display: grid;
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  align-items: center;
  padding-top: calc(var(--first-screen-header-space) + var(--first-screen-page-top-space));
  padding-bottom: var(--first-screen-safe-bottom);
}

.aiki-hero.site-top-screen {
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  padding-top: calc(var(--first-screen-header-space) + var(--first-screen-aiki-top-space));
  padding-bottom: var(--first-screen-safe-bottom);
}

.dongbao-hero.site-top-screen {
  min-height: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  min-block-size: calc(var(--top-screen-min-block) + var(--top-screen-guard));
  padding-bottom: var(--first-screen-safe-bottom);
}

.site-top-screen + .section,
.site-top-screen + .aiki-brief-belt,
.site-top-screen + .dongbao-brief-belt,
.site-top-screen + .dongbao-narrative-section {
  scroll-margin-top: calc(var(--first-screen-header-space) + 18px);
}

@media (max-width: 1360px) {
  .aiki-quality-theater {
    grid-template-columns: minmax(148px, 0.16fr) minmax(0, 1fr);
    gap: clamp(18px, 2.6vw, 30px);
  }

  .aiki-quality-tabs {
    grid-template-columns: 1fr;
  }

  .aiki-quality-panel {
    grid-template-columns: minmax(290px, 0.78fr) minmax(340px, 0.92fr);
    gap: clamp(18px, 2.6vw, 24px);
  }

  .aiki-quality-proof {
    min-height: 0;
    padding: clamp(20px, 2.4vw, 30px);
  }

  .aiki-quality-proof .aiki-trace-list {
    gap: 8px;
  }

  .aiki-quality-proof .aiki-trace-list li {
    min-height: 42px;
    padding: 9px 11px;
  }
}

@media (max-width: 1180px) {
  .work-flow-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aiki-story-panel {
    grid-template-columns: 1fr;
  }

  .aiki-41-chapter,
  .aiki-41-chapter.is-wide-proof,
  .aiki-41-dialogue {
    grid-template-columns: 1fr;
  }

  .method-grid,
  .life-grid,
  .artifact-grid,
  .aiki-demo-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aiki-demo-panel {
    grid-template-columns: 1fr;
  }

  .aiki-41-inline-demo {
    grid-template-columns: 1fr;
  }

  .aiki-quality-theater,
  .aiki-quality-panel {
    grid-template-columns: 1fr;
  }

  .aiki-principle-grid {
    grid-template-columns: 1fr;
  }

  .aiki-quality-nav {
    position: static;
  }

  .aiki-quality-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 1px;
    padding-bottom: 0;
  }

  .aiki-quality-tab {
    min-width: 0;
  }

  .aiki-41-inline-demo .aiki-demo-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border-right: 0;
    padding-right: 0;
  }

  .aiki-41-inline-demo .aiki-demo-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .aiki-41-inline-demo .aiki-demo-tab {
    min-width: min(72vw, 210px);
    scroll-snap-align: start;
  }

  .aiki-41-inline-demo .aiki-demo-panel.is-active,
  .aiki-next-case-section .case-next-block,
  .case-next-block {
    grid-template-columns: 1fr;
  }

  .case-next-arrow {
    justify-self: start;
  }

  .aiki-demo-phone {
    min-height: 0;
  }

  .life-card-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .life-card-feature figure {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .life-grid.life-supporting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .contact-page-hero {
    align-items: start;
    min-height: auto;
    min-block-size: auto;
    padding-top: calc(var(--first-screen-header-space) + clamp(54px, 14vw, 82px));
    padding-bottom: clamp(58px, 14vw, 86px);
  }

  .contact-page-inner {
    grid-template-columns: 1fr;
    gap: clamp(60px, 15vw, 84px);
    transform: none;
  }

  .contact-page-copy {
    justify-content: center;
  }

  .contact-drawn-title {
    width: min(100%, 292px);
  }

  .contact-word-title {
    text-align: center;
  }

  .contact-word-title-zh {
    gap: clamp(0.02em, 0.7vw, 0.05em);
    font-size: clamp(2.45rem, 10.8vw, 3rem);
  }

  .contact-panel {
    --contact-orb-up: clamp(-34px, -9vw, -24px);
    --contact-orb-down: clamp(24px, 9vw, 34px);
    grid-template-columns: 1fr;
    gap: 12px;
    transform: translateY(clamp(18px, 3.8vh, 28px));
  }

  .contact-panel::before {
    content: none;
  }

  .contact-method {
    padding: clamp(20px, 6vw, 28px);
  }

  .contact-value {
    font-size: clamp(1.18rem, 6vw, 1.58rem);
  }

  .menu-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(190px, 38vh) minmax(0, 1fr);
  }

  .menu-panel-visual {
    min-height: 0;
  }

  .menu-panel-video {
    min-height: 0;
  }

  .menu-panel.is-open .menu-panel-video {
    opacity: 0.58;
  }

  .menu-panel-inner {
    min-height: 62vh;
    border-top: 1px solid rgba(251, 251, 244, 0.32);
    border-left: 0;
    box-shadow:
      0 -24px 58px rgba(0, 0, 0, 0.28),
      inset 0 1px rgba(251, 251, 244, 0.1);
    padding: clamp(30px, 7vw, 48px);
  }
}

@media (max-width: 920px) {
  .page-hero.has-visual .page-hero-inner,
  .home-life-editorial,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-grid,
  .page-hero-inner,
  .section-head,
  .method-narrative-layout,
  .dongbao-evidence-stage,
  .dongbao-flow-intro,
  .dongbao-path-layout,
  .dongbao-script-layout,
  .dongbao-status-layout,
  .dongbao-export-layout,
  .dongbao-screen-card.is-primary,
  .dongbao-hero-inner,
  .dongbao-sample-block,
  .media-lightbox-panel,
  .aiki-story-layout,
  .aiki-demo-shell,
  .profile-grid,
  .home-contact-card {
    grid-template-columns: 1fr;
  }

  .aiki-hero {
    min-height: 0;
  }

  html[data-hero-surface="media"] .route-tools {
    display: none;
  }

  .aiki-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }

  .aiki-hero-brief {
    max-width: 100%;
  }

  .dongbao-hero-copy {
    max-width: 100%;
  }

  .dongbao-hero-phone {
    width: min(54vw, 276px);
    justify-self: center;
  }

  .dongbao-hero-category {
    margin-top: 0;
  }

  .dongbao-brief-grid,
  .dongbao-blueprint-footer {
    grid-template-columns: 1fr;
  }

  .dongbao-build-system {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-build-system article {
    border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  }

  .dongbao-build-system article:nth-child(2n) {
    border-right: 0;
  }

  .dongbao-build-system article:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .dongbao-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-principle-grid,
  .dongbao-storyboard-cards,
  .dongbao-export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-constraint-grid {
    grid-template-columns: 1fr;
  }

  .dongbao-screen-card.is-primary .dongbao-screen-frame,
  .dongbao-screen-card.is-primary .dongbao-screen-meta,
  .dongbao-screen-card.is-primary .dongbao-screen-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .dongbao-screen-card.is-primary .dongbao-screen-frame {
    max-width: min(100%, 420px);
  }

  .media-lightbox-panel {
    width: min(100%, 620px);
    max-height: calc(100dvh - 32px);
  }

  .media-lightbox-panel > img {
    max-height: 58vh;
  }

  .media-lightbox-copy {
    padding-top: 0;
  }

  .aiki-story-rail {
    position: static;
  }

  .aiki-story-rail ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aiki-key-moment,
  .aiki-quality-matrix,
  .aiki-principle-wall,
  .aiki-41-layout,
  .aiki-41-inline-demo {
    grid-template-columns: 1fr;
  }

  .profile-resume-section,
  .profile-experience-item,
  .profile-work-item,
  .profile-resume-footer,
  .profile-skill-grid {
    grid-template-columns: 1fr;
  }

  .aiki-voice-card-grid {
    grid-template-columns: 1fr;
  }

  .aiki-41-rail {
    position: sticky;
    top: 66px;
    z-index: 2;
    gap: 8px;
    margin: 0 calc(var(--page-pad) * -1);
    border-top: 0;
    border-bottom: 1px solid rgba(23, 71, 47, 0.09);
    border-left: 0;
    background: rgba(251, 251, 244, 0.86);
    padding: 9px var(--page-pad) 10px;
    backdrop-filter: blur(18px);
  }

  .aiki-41-rail ol {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .aiki-41-rail ol::before,
  .aiki-41-rail ol::after {
    display: none;
  }

  .aiki-41-rail ol::-webkit-scrollbar {
    display: none;
  }

  .aiki-41-rail li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .aiki-41-rail a {
    grid-template-columns: 14px max-content;
    gap: 7px;
    min-height: 30px;
    border-radius: var(--radius-xs);
    padding: 4px 0;
  }

  .aiki-41-rail span {
    width: 14px;
    min-width: 14px;
  }

  .aiki-41-rail a.is-active {
    color: var(--ink);
  }

  .aiki-41-card-grid,
  .aiki-41-triage-grid {
    grid-template-columns: 1fr;
  }

  .aiki-demo-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-grid {
    gap: clamp(34px, 8vw, 54px);
  }

  main[data-capability-variant="rail"] .home-hero-grid {
    grid-template-columns: 1fr;
  }

  main[data-rail-layout="flip"] .home-hero-grid,
  main[data-rail-layout="sequence"] .home-hero-grid {
    transform: translateY(calc(clamp(52px, 7svh, 58px) * -1));
  }

  main[data-rail-layout="sequence"] .hero-copy {
    min-height: 0;
  }

  main[data-rail-layout="sequence"] .hero-copy h1 {
    position: static;
  }

  main[data-rail-layout="sequence"] .copy-enter {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail::after {
    display: none;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
    opacity: 1;
    transform: scaleX(-1) scale(var(--hero-seq-photo-scale));
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail,
  main[data-rail-layout="sequence"] .hero-capability-rail > * {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  .hero-visual-column {
    justify-self: center;
    width: min(100%, 580px);
  }

  .hero-visual-column-rail {
    grid-template-columns: minmax(0, 1fr) clamp(144px, 29%, 164px);
  }

  .home-capability-belt-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
  }

  .hero-capability-rail {
    width: auto;
  }

  .footer-sitemap {
    justify-content: flex-start;
  }

  .route-tools {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    left: auto;
    justify-content: flex-end;
  }

  .route-toolbar {
    grid-template-columns: minmax(56px, max-content);
    max-width: 100%;
    gap: 5px;
  }

  .route-toolbar[data-route-tool-layout="controller"],
  .route-toolbar[data-route-tool-layout="cluster"] {
    grid-template-columns: repeat(3, minmax(56px, max-content));
  }

  .route-toolbar[data-route-tool-layout="inline"] {
    grid-template-columns: repeat(2, minmax(56px, max-content));
  }

  .route-toolbar[data-route-tool-count="1"] {
    grid-template-columns: minmax(56px, max-content);
  }

  .route-toolbar[data-route-tool-count="2"] {
    grid-template-columns: repeat(2, minmax(56px, max-content));
  }

  .route-toolbar[data-route-tool-count="3"] {
    grid-template-columns: repeat(3, minmax(56px, max-content));
  }

  .route-tool {
    min-width: 56px;
    min-height: 42px;
    padding: 0 12px;
  }

  .route-tool-label {
    font-size: 0.78rem;
  }

  .route-tool-meta {
    font-size: 0.62rem;
  }

  .route-toc-panel {
    right: 0;
    width: min(320px, calc(100vw - (var(--page-pad) * 2)));
    max-height: min(48vh, 360px);
  }

  .home-hero {
    min-height: min(780px, 100svh);
  }

  .portrait-stage {
    min-height: 380px;
  }

  .work-feature {
    grid-template-columns: 1fr;
  }

  .work-case {
    grid-template-columns: 1fr;
  }

  .work-case-index {
    justify-content: flex-start;
  }

  .work-case-heading {
    display: grid;
    gap: 18px;
  }

  .work-case-heading .tag-list,
  .archive-row .tag-list {
    flex: initial;
    justify-content: flex-start;
    padding-top: 0;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-grid,
  .related-grid,
  .archive-row {
    grid-template-columns: 1fr;
  }

  .featured-method-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .method-page-rail {
    position: sticky;
    top: 66px;
    z-index: 2;
    margin: 0 calc(var(--page-pad) * -1);
    border-bottom: 1px solid rgba(23, 71, 47, 0.1);
    background: rgba(251, 251, 244, 0.9);
    padding: 9px var(--page-pad) 10px;
    backdrop-filter: blur(18px);
  }

  .method-page-rail ol {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .method-page-rail ol::-webkit-scrollbar {
    display: none;
  }

  .method-page-rail li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .method-page-rail a {
    grid-template-columns: 16px max-content;
    min-height: 30px;
  }
}

@media (max-width: 920px) {
  .home-project {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-project-media {
    min-height: clamp(260px, 62vw, 420px);
  }

  .home-project-media img {
    min-height: clamp(260px, 62vw, 420px);
  }

  .home-project-review-section {
    padding-top: calc(72px + clamp(30px, 8vw, 56px));
  }

  .home-project-review-title-row,
  .home-aiki-chat-preview {
    grid-template-columns: 1fr;
  }

  .home-project-review-title-row .feature-action {
    justify-self: start;
    margin-top: 0;
  }

  .home-aiki-chat-capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-capability-belt-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-capability-belt-item {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: baseline;
    border-bottom: 1px solid rgba(23, 71, 47, 0.08);
    padding: 13px 0;
  }

  .home-capability-belt-item:last-child {
    border-bottom: 0;
  }

  .hero-visual-column-rail {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.42fr);
    width: 100%;
  }

  main[data-rail-layout="flip"] .hero-visual-column-rail,
  main[data-rail-layout="sequence"] .hero-visual-column-rail {
    display: grid;
    overflow: visible;
    border-radius: 0;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail::after {
    display: none;
  }

  .hero-visual-column-rail .portrait-stage {
    min-height: clamp(318px, 86vw, 420px);
  }

  main[data-rail-layout="flip"] .hero-visual-column-rail .portrait-stage,
  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
    min-height: clamp(318px, 86vw, 420px);
    border-right: 0;
    border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="flip"] .hero-capability-rail,
  main[data-rail-layout="sequence"] .hero-capability-rail {
    position: relative;
    width: auto;
    min-height: 0;
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    animation: none;
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
    will-change: auto;
  }

  main[data-rail-layout="flip"] .hero-capability-rail > *,
  main[data-rail-layout="sequence"] .hero-capability-rail > * {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-copy {
    min-height: 0;
  }

  main[data-rail-layout="sequence"] .hero-copy h1 {
    position: static;
  }

  .hero-capability-rail {
    gap: 14px;
    padding: 16px 12px;
  }

  .hero-capability-rail ol {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-capability-rail li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 6px;
  }

  .hero-capability-rail strong {
    font-size: 0.74rem;
    line-height: 1.24;
  }

  .hero-capability-rail-action {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  @media (max-height: 700px) {
    main[data-rail-layout="sequence"] .home-hero-grid {
      gap: clamp(18px, 3.8svh, 24px);
      transform: translateY(calc(clamp(56px, 9svh, 68px) * -1));
    }

    main[data-rail-layout="sequence"] .hero-copy {
      max-width: 100%;
    }

    main[data-rail-layout="sequence"] .hero-copy h1 {
      font-size: clamp(1.62rem, 8vw, 2rem);
      line-height: 1.05;
    }

    main[data-rail-layout="sequence"] .hero-summary {
      gap: clamp(12px, 3.4svh, 20px);
      font-size: clamp(0.93rem, 4.4vw, 1.02rem);
      line-height: 1.56;
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail {
      grid-template-columns: minmax(0, 1fr) minmax(116px, 0.38fr);
      width: min(100%, 348px);
      justify-self: center;
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
      min-height: min(42svh, 272px);
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
      object-position: 46% 55%;
      transform: scaleX(-1) scale(1.02);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail {
      gap: clamp(11px, 2.6svh, 15px);
      padding: clamp(13px, 3.2svh, 16px) 10px;
    }

    main[data-rail-layout="sequence"] .hero-capability-rail-label {
      font-size: clamp(0.76rem, 3.4vw, 0.86rem);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail ol {
      gap: clamp(8px, 2.2svh, 11px);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail li {
      grid-template-columns: 16px minmax(0, 1fr);
      gap: 5px;
    }

    main[data-rail-layout="sequence"] .hero-capability-rail li > span {
      font-size: 0.58rem;
    }

    main[data-rail-layout="sequence"] .hero-capability-rail strong {
      font-size: clamp(0.68rem, 3.2vw, 0.74rem);
      line-height: 1.2;
    }

    main[data-rail-layout="sequence"] .hero-capability-rail-action {
      width: min(100%, 104px);
      min-height: 32px;
      margin-top: clamp(8px, 2.6svh, 14px);
      padding: 6px 8px;
      font-size: 0.72rem;
    }
  }

  @media (max-width: 340px) and (max-height: 620px) {
    main[data-rail-layout="sequence"] .home-hero-grid {
      gap: clamp(14px, 2.8svh, 18px);
      transform: translateY(calc(clamp(42px, 7svh, 50px) * -1));
    }

    main[data-rail-layout="sequence"] .hero-summary {
      font-size: clamp(0.86rem, 4.4vw, 0.94rem);
      line-height: 1.48;
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail {
      grid-template-columns: minmax(0, 1fr) minmax(112px, 0.42fr);
      width: min(100%, 292px);
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
      min-height: min(37svh, 214px);
    }

    main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
      object-position: 49% 57%;
      transform: scaleX(-1) scale(0.98);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail {
      gap: clamp(8px, 2svh, 11px);
      padding: clamp(11px, 2.5svh, 14px) 9px;
    }

    main[data-rail-layout="sequence"] .hero-capability-rail ol {
      gap: clamp(6px, 1.7svh, 8px);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail strong {
      font-size: clamp(0.63rem, 3.4vw, 0.68rem);
    }

    main[data-rail-layout="sequence"] .hero-capability-rail-action {
      min-height: 30px;
      margin-top: clamp(6px, 1.8svh, 10px);
      font-size: 0.68rem;
    }
  }

  .selected-work-section .section-head {
    margin-bottom: 34px;
  }

  .home-project {
    padding: 38px 0;
  }

  .home-project-review-section .section-inner {
    width: min(100%, 640px);
  }

  .home-project-review-head {
    margin-bottom: 34px;
  }

  .home-project-review-card {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .home-project-review-module {
    box-shadow: 0 16px 34px rgba(23, 71, 47, 0.07);
  }

  .home-aiki-chat-preview,
  .home-project-path-preview {
    padding: 16px;
  }

  .home-aiki-chat-capabilities {
    grid-template-columns: 1fr;
  }

  .home-aiki-chat-body .chat-bubble {
    max-width: 100%;
  }

  .home-project-flow {
    padding-top: 22px;
  }

  .decision-path {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .decision-path::before {
    top: 22px;
    right: auto;
    bottom: 22px;
    left: 21px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(23, 71, 47, 0.08), rgba(23, 71, 47, 0.34), rgba(23, 71, 47, 0.08));
  }

  .decision-path li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: center;
  }

  .decision-node-index {
    grid-column: 2;
    grid-row: 1;
  }

  .decision-node-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .decision-path strong {
    grid-column: 2;
    max-width: none;
  }

  .home-project-media-2 {
    grid-template-columns: 1fr;
  }

  .home-project-media,
  .home-project-media img {
    min-height: 260px;
  }

  .home-project-media-2 figure {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 920px) {
  .profile-work-list {
    grid-template-columns: 1fr;
  }

  .profile-work-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta {
    grid-template-columns: minmax(120px, 0.72fr) minmax(170px, 1fr);
    gap: 14px clamp(18px, 4vw, 30px);
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div {
    justify-content: start;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta dd {
    text-align: left;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:nth-child(2) {
    justify-content: end;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:nth-child(2) dd {
    text-align: right;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child {
    grid-column: 1 / -1;
    justify-content: start;
    border-top: 1px solid rgba(251, 251, 244, 0.12);
    padding-top: 14px;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child::before {
    content: none;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child dd {
    text-align: left;
    white-space: normal;
  }

  main[data-rail-layout="sequence"] .home-hero {
    min-height: 210svh;
    overflow: clip;
    padding: 0 var(--page-pad);
  }

  main[data-rail-layout="sequence"] .home-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(100%, 760px);
    min-height: 210svh;
    align-items: stretch;
    transform: none;
  }

  main[data-rail-layout="sequence"] .hero-copy {
    display: grid;
    width: 100%;
    min-height: 100svh;
    max-width: 100%;
    align-content: center;
    padding-top: calc(66px + clamp(34px, 8svh, 72px));
    padding-bottom: var(--first-screen-safe-bottom);
  }

  main[data-rail-layout="sequence"] .hero-copy h1 {
    position: static;
  }

  main[data-rail-layout="sequence"] .hero-summary {
    margin-top: clamp(22px, 3.6svh, 34px);
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(154px, 28%, 184px);
    width: min(100%, 720px);
    min-height: 110svh;
    margin: 0 auto;
    align-content: center;
    align-self: stretch;
    justify-self: center;
    overflow: visible;
    border-radius: 0;
    filter: none;
  }

  html[data-home-hero-layout="sequence"] .route-tools {
    display: none;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
    z-index: 1;
    margin-right: -2px;
    min-height: min(clamp(560px, 70svh, 680px), 88vw);
    border-right: 0;
    border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
    inset: -1px;
    width: calc(100% + 4px);
    height: calc(100% + 2px);
    opacity: 1;
    object-position: 0 100%;
    transform: translateX(1.5px) scaleX(-1);
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail,
  main[data-rail-layout="sequence"] .hero-capability-rail > * {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    animation: none;
    will-change: auto;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail {
    position: relative;
    z-index: 2;
    width: auto;
    min-height: 0;
    margin-left: -1px;
    border-left: 0;
    border-right-color: rgba(7, 31, 21, 0.96);
    border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0;
    gap: clamp(22px, 3.2svh, 32px);
    box-shadow:
      inset 0 1px rgba(251, 251, 244, 0.08),
      inset -1px 0 rgba(7, 31, 21, 0.72);
    padding: clamp(24px, 3.4svh, 34px) clamp(16px, 2.4vw, 22px);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail::before {
    background: linear-gradient(180deg, rgba(251, 251, 244, 0.045), transparent 34%);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail ol {
    gap: clamp(13px, 1.8svh, 18px);
  }
}

@media (max-width: 700px) {
  main[data-rail-layout="sequence"] .home-hero-grid {
    width: 100%;
  }

  main[data-rail-layout="sequence"] .hero-copy {
    padding-top: calc(66px + clamp(28px, 7svh, 56px));
  }

  main[data-rail-layout="sequence"] .hero-copy h1 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
    line-height: 1.05;
  }

  main[data-rail-layout="sequence"] .hero-summary {
    font-size: clamp(0.98rem, 4.8vw, 1.08rem);
    line-height: 1.68;
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail {
    grid-template-columns: minmax(0, 1fr) minmax(118px, 36%);
    width: min(100%, 430px);
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
    min-height: min(clamp(330px, 66svh, 460px), 108vw);
  }

  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
    object-position: 46% 100%;
    transform: translateX(1.5px) scaleX(-1);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail {
    gap: clamp(12px, 2.8svh, 18px);
    padding: clamp(15px, 3.2svh, 20px) clamp(10px, 3vw, 14px);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail-label {
    font-size: clamp(0.76rem, 3.4vw, 0.9rem);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail ol {
    gap: clamp(9px, 2.2svh, 13px);
  }

  main[data-rail-layout="sequence"] .hero-capability-rail li {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 6px;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail li > span {
    font-size: 0.58rem;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail strong {
    font-size: clamp(0.68rem, 3.25vw, 0.78rem);
    line-height: 1.2;
  }

  main[data-rail-layout="sequence"] .hero-capability-rail-action {
    width: min(100%, 108px);
    min-height: 32px;
    margin-top: clamp(8px, 2.5svh, 14px);
    padding: 6px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: clamp(24px, 7vw, 32px);
    --section-space: 96px;
  }

  .site-header {
    min-height: 66px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  html[data-header-state="scrolled"] .site-header {
    min-height: 58px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .menu-button {
    font-size: 0.64rem;
  }

  .site-header .menu-button {
    top: 11px;
    width: 52px;
    height: 52px;
    padding: 0;
  }

  html[data-header-state="scrolled"] .site-header .menu-button {
    top: 8px;
  }

  .language-switch {
    min-height: 40px;
    padding: 3px;
  }

  .language-switch button {
    min-width: 32px;
    min-height: 30px;
    padding: 6px 7px;
    font-size: 0.66rem;
  }

  .profile-resume-hero {
    align-items: start;
    padding-top: calc(var(--first-screen-header-space) + clamp(42px, 13vw, 70px));
    padding-bottom: clamp(44px, 13vw, 72px);
  }

  .profile-resume-hero-media::after {
    background:
      radial-gradient(circle at 78% 10%, rgba(208, 226, 180, 0.26), transparent 38%),
      linear-gradient(180deg, rgba(251, 251, 244, 0.9), rgba(251, 251, 244, 0.72) 48%, rgba(251, 251, 244, 0.86));
  }

  .profile-resume-body {
    padding-top: 48px;
  }

  .profile-resume {
    gap: 22px;
  }

  .profile-resume-head {
    gap: 18px;
    padding-bottom: 24px;
  }

  .profile-resume-title-row,
  .profile-resume-meta {
    grid-template-columns: 1fr;
  }

  .profile-resume-contact {
    justify-self: start;
  }

  .profile-hero-sound-toggle {
    justify-self: start;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .profile-resume-meta div {
    gap: 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 71, 47, 0.12);
    padding: 11px 14px;
  }

  .profile-resume-meta div:last-child {
    border-bottom: 0;
  }

  .profile-resume-title-row h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
    line-height: 1;
  }

  .profile-resume-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    column-count: 1;
    font-size: clamp(1rem, 4.45vw, 1.12rem);
    line-height: 1.5;
  }

  .profile-summary-practice {
    border-top: 1px solid rgba(251, 251, 244, 0.16);
    border-left: 0;
    padding-top: 18px;
    padding-left: 0;
  }

  .profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero,
  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero {
    min-height: auto;
    min-block-size: auto;
    padding-top: calc(var(--first-screen-header-space) + clamp(42px, 13vw, 70px));
    padding-bottom: clamp(44px, 13vw, 72px);
  }

  .profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero-media,
  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero-media {
    inset: calc(var(--first-screen-header-space) + 22px) 0 auto 24%;
    width: auto;
    height: min(44vh, 300px);
    min-height: 220px;
    border: 0;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    opacity: 0.48;
    transform: none;
    box-shadow: -18px 20px 52px rgba(23, 71, 47, 0.12);
  }

  .profile-resume-page[data-profile-hero-variant="ambient"] .profile-resume-hero-media::after,
  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume-hero-media::after {
    background:
      radial-gradient(circle at 28% 24%, rgba(251, 251, 244, 0.72), transparent 44%),
      linear-gradient(90deg, rgba(251, 251, 244, 0.94), rgba(251, 251, 244, 0.72) 48%, rgba(251, 251, 244, 0.54)),
      linear-gradient(180deg, rgba(251, 251, 244, 0.54), rgba(251, 251, 244, 0.82));
  }

  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume,
  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume-head,
  .profile-resume-page[data-profile-hero-variant="split"] .profile-resume-summary {
    max-width: none;
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-media::after {
    background:
      linear-gradient(180deg, rgba(8, 31, 20, 0.76), rgba(8, 31, 20, 0.58) 45%, rgba(8, 31, 20, 0.82)),
      linear-gradient(90deg, rgba(8, 31, 20, 0.86), rgba(8, 31, 20, 0.46));
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero {
    --profile-cinema-top: calc(var(--first-screen-header-space) + 4px);
    --profile-cinema-height: clamp(260px, 72vw, 330px);
    min-height: auto;
    min-block-size: auto;
    padding-top: var(--profile-cinema-top);
    padding-bottom: clamp(56px, 14vw, 82px);
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
    transform: none;
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-title-row {
    min-height: var(--profile-cinema-height);
    padding-bottom: clamp(28px, 9vw, 40px);
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-summary {
    margin-top: clamp(28px, 9vw, 42px);
  }

  html[data-profile-hero-variant="dark-fullscreen"] .site-scroll-cue {
    display: none;
  }

  .profile-resume-page[data-profile-hero-variant="dark-fullscreen"] .profile-resume-meta div {
    border-right: 0;
    border-bottom-color: rgba(251, 251, 244, 0.14);
  }

  .profile-resume-page[data-profile-hero-concept="a"] .profile-resume-title-row h1,
  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-title-row h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta,
  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta {
    border-radius: 0;
    background: transparent;
  }

  .profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta {
    display: grid;
    justify-content: start;
    gap: 10px;
    margin-top: 24px;
  }

  .profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta div,
  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div {
    border: 0;
    padding: 0;
  }

  .profile-resume-page[data-profile-hero-concept="a"] .profile-resume-meta div + div::before {
    content: none;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
    padding: 16px 0;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div {
    justify-content: start;
    border-left: 0;
    padding: 0;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:nth-child(n) {
    justify-content: start;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div + div {
    border-left: 0;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div + div::before {
    content: none;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta dd {
    text-align: left;
    white-space: normal;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:nth-child(n) dd {
    text-align: left;
  }

  .profile-resume-page[data-profile-hero-concept="c"] .profile-resume-meta div:last-child dd {
    white-space: normal;
  }

  .aiki-hero {
    padding-top: calc(66px + 58px);
    padding-bottom: 42px;
  }

  .aiki-hero::before {
    background:
      linear-gradient(180deg, rgba(14, 38, 25, 0.84) 0%, rgba(14, 38, 25, 0.68) 56%, rgba(14, 38, 25, 0.86) 100%),
      linear-gradient(90deg, rgba(14, 38, 25, 0.72), rgba(14, 38, 25, 0.2));
  }

  .aiki-hero-copy {
    gap: 16px;
  }

  .page-hero.work .aiki-hero-copy .page-title,
  .aiki-hero-copy .page-title {
    font-size: clamp(3rem, 18vw, 4.2rem);
  }

  .aiki-hero-lead {
    max-width: 100%;
    margin-top: 2px;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .aiki-hero-lead p {
    max-width: 35rem;
  }

  .aiki-hero-lead p + p {
    margin-top: 10px;
    padding-top: 10px;
  }

  .method-page-hero {
    padding-top: calc(66px + clamp(60px, 16vw, 84px));
    padding-bottom: 62px;
  }

  .method-anchor-row {
    gap: 8px;
  }

  .method-anchor-row a {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .method-note-grid,
  .method-project-links {
    grid-template-columns: 1fr;
  }

  .aiki-brief-belt .section-inner {
    padding: 12px 0;
  }

  .aiki-hero-brief {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
  }

  .aiki-hero-brief div {
    padding: 10px 0;
  }

  .aiki-hero-brief div + div {
    border-top: 1px solid rgba(23, 71, 47, 0.1);
  }

  .aiki-41-section {
    padding-top: 54px;
  }

  .aiki-story-rail ol,
  .aiki-demo-tabs {
    grid-template-columns: 1fr;
  }

  .aiki-story-artifact,
  .aiki-key-moment-artifact,
  .aiki-artifact-gallery-card,
  .aiki-41-card-grid article,
  .aiki-41-triage-grid article {
    padding: 18px;
  }

  .aiki-artifact-gallery {
    grid-auto-columns: minmax(258px, 86vw);
  }

  .aiki-artifact-state div,
  .aiki-artifact-triage div,
  .aiki-artifact-report div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .aiki-artifact-report strong {
    text-align: left;
  }

  .aiki-artifact-split {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: clamp(0.92rem, 4.1vw, 1.04rem);
  }

  html[data-header-state="scrolled"] .site-header .brand {
    padding: 8px 14px;
  }

  .route-tools {
    right: var(--page-pad);
    bottom: max(26px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .route-tool {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .home-hero {
    min-height: 100svh;
    padding-top: calc(66px + clamp(50px, 14vw, 72px));
    padding-bottom: clamp(72px, 18vw, 104px);
  }

  .hero-copy {
    --hero-copy-width: 100%;
    justify-self: stretch;
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 7.6vw, 2.06rem);
    line-height: 1.06;
  }

  .hero-role-cn {
    font-size: clamp(1.08rem, 5.8vw, 1.58rem);
    line-height: 1.22;
  }

  .hero-summary {
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-statement {
    max-width: min(100%, 350px);
    font-size: 1rem;
    line-height: 1.72;
    text-wrap: pretty;
  }

  .statement-paragraph + .statement-paragraph {
    margin-top: 1.18em;
  }

  .statement-line {
    display: inline;
    white-space: normal;
  }

  .statement-line + .statement-line::before {
    content: " ";
  }

  .hero-capability-tags {
    margin-top: 28px;
  }

  .hero-capability-tags .tag-list {
    gap: 7px;
  }

  .hero-capability-tags .tag-list li {
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .hero-links {
    gap: 12px;
    margin-top: 26px;
  }

  .portrait-stage {
    width: min(100%, 340px);
    justify-self: center;
    min-height: clamp(348px, 92vw, 430px);
  }

  .hero-visual-column-rail {
    justify-self: stretch;
    width: 100%;
  }

  .hero-visual-column-rail .portrait-stage {
    width: 100%;
    justify-self: stretch;
    min-height: clamp(318px, 86vw, 420px);
  }

  main[data-rail-layout="flip"] .hero-visual-column-rail .portrait-stage {
    min-height: clamp(318px, 86vw, 420px);
  }

  .method-grid,
  .life-grid,
  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .dongbao-screen-strip,
  .dongbao-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aiki-story-rail ol,
  .aiki-artifact-split,
  .aiki-artifact-state div,
  .aiki-artifact-triage div,
  .aiki-artifact-report div {
    grid-template-columns: 1fr;
  }

  .aiki-artifact-report strong {
    text-align: left;
  }

  .aiki-story-panel {
    gap: 22px;
  }

  .aiki-story-artifact {
    padding: 18px;
  }

  .detail-meta,
  .work-flow-diagram,
  .work-screen-preview,
  .home-method-essay,
  #life .home-life-mini {
    grid-template-columns: 1fr;
  }

  .detail-meta {
    gap: 18px;
  }

  .page-hero-visual {
    min-height: 240px;
  }

  .home-method-essay {
    align-items: start;
  }

  .home-method-essay .text-link {
    justify-self: end;
  }

  .home-life-mini figure {
    aspect-ratio: 16 / 10;
  }

  .life-feature-layout {
    gap: 26px;
  }

  .life-card-feature .life-card-body {
    padding: 26px;
  }

  .life-card-feature h3 {
    font-size: clamp(1.46rem, 8.5vw, 2.02rem);
  }

  .life-grid.life-supporting-grid {
    grid-template-columns: 1fr;
  }

  .life-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .life-photo-group {
    gap: 16px;
  }

  .life-photo-tile .image-note {
    right: 6px;
    bottom: 6px;
    font-size: 0.62rem;
  }

  .dongbao-media-shell {
    gap: 26px;
  }

  .dongbao-screen-card,
  .dongbao-boundary {
    padding: 18px;
  }

  .section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }

  .selected-work-section {
    padding-top: 0;
  }

  .selected-work-section .section-head.section-title-stage {
    min-height: clamp(138px, 38vw, 184px);
    margin-bottom: 0;
  }

  .section-head {
    gap: 24px;
    margin-bottom: 52px;
  }

  .section-title {
    font-size: clamp(1.32rem, 6.8vw, 1.82rem);
    line-height: 1.16;
  }

  .section-deck {
    margin-top: 22px;
    line-height: 1.78;
  }

  .work-index-section .section-head {
    margin-bottom: 42px;
  }

  .page-hero {
    padding-top: calc(66px + 72px);
    padding-bottom: 76px;
  }

  .page-title {
    font-size: clamp(1.72rem, 8vw, 2.32rem);
  }

  .work-case h3 {
    font-size: clamp(1.48rem, 7.8vw, 2.18rem);
  }

  .work-case-list {
    gap: 20px;
  }

  .work-case {
    gap: 26px;
    padding: 24px;
  }

  .work-case-index > span {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .work-case-body {
    gap: 24px;
  }

  .menu-list a {
    font-size: clamp(1.18rem, 6.2vw, 1.72rem);
  }

  .work-case-lead {
    width: 100%;
    max-width: none;
    font-size: 1rem;
    font-weight: 520;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .work-feature {
    gap: 22px;
    padding: 28px;
  }

  .feature-copy {
    margin-top: 14px;
    line-height: 1.72;
  }

  .method-card,
  .profile-note,
  .artifact-card,
  .detail-card,
  .related-card,
  .status-note {
    padding: 24px;
  }

  .method-card p,
  .life-card p,
  .profile-note p,
  .artifact-card p,
  .detail-card p,
  .related-card p,
  .status-note p {
    margin-top: 16px;
    line-height: 1.74;
  }

  .timeline-item {
    gap: 18px;
    padding: 26px;
  }

  .archive-row {
    gap: 20px;
    padding: 30px 0;
  }

  .contact-email {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .dongbao-task-chain {
    gap: 8px;
  }

  .dongbao-story-grid,
  .dongbao-principle-grid,
  .dongbao-constraint-grid,
  .dongbao-storyboard-cards,
  .dongbao-status-grid,
  .dongbao-export-grid,
  .dongbao-screen-strip,
  .dongbao-sample-grid {
    grid-template-columns: 1fr;
  }

  .dongbao-principle-card,
  .dongbao-constraint-card,
  .dongbao-status-card,
  .dongbao-export-card,
  .dongbao-storyboard-cards article {
    border-radius: var(--radius-md);
    padding: 18px;
  }

  .dongbao-evidence-stage {
    padding-top: 18px;
  }

  .dongbao-evidence-copy {
    padding-right: 0;
  }

  .dongbao-screen-card.is-primary {
    border-radius: var(--radius-lg);
  }

  .dongbao-story-card {
    min-height: 0;
  }

  .dongbao-path-copy article {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .dongbao-template-panel,
  .dongbao-next-assets {
    border-radius: var(--radius-lg);
    padding: 20px;
  }

  .dongbao-hero-inner {
    gap: 18px;
  }

  .page-hero.work .dongbao-hero-copy .page-title,
  .dongbao-hero-copy .page-title {
    font-size: clamp(2.1rem, 13vw, 3.05rem);
  }

  .dongbao-hero-copy {
    gap: 12px;
  }

  .dongbao-v03-hero-statement {
    font-size: clamp(1.08rem, 6.5vw, 1.5rem);
    line-height: 1.32;
  }

  .dongbao-v03-hero-anchor-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .dongbao-v03-hero-anchor-row span {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 0.7rem;
  }

  .dongbao-v03-hero-brief-copy {
    max-width: 100%;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
  }

  .dongbao-v03-hero-brief-copy p {
    max-width: 34rem;
    font-size: 0.91rem;
    line-height: 1.68;
  }

  .dongbao-v03-hero-b .dongbao-v03-hero-brief-copy p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .dongbao-hero-subtitle {
    font-size: 1rem;
  }

  .dongbao-hero-lead {
    max-width: 100%;
    margin-top: 2px;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
    font-size: 0.91rem;
    line-height: 1.68;
  }

  .dongbao-hero-lead p {
    max-width: 34rem;
  }

  .dongbao-hero-lead p + p {
    margin-top: 10px;
    padding-top: 10px;
  }

  .dongbao-hero-category {
    padding: 7px 11px;
    font-size: 0.66rem;
  }

  .dongbao-hero-phone {
    width: min(46vw, 196px);
  }

  .dongbao-v03-hero-b .dongbao-hero-phone {
    width: min(43vw, 184px);
  }

  .dongbao-v03-hero-layout-b .dongbao-hero-phone,
  .dongbao-v03-hero-layout-c .dongbao-hero-phone {
    width: min(43vw, 184px);
  }

  .dongbao-v03-layout-b-copy,
  .dongbao-v03-layout-c-copy {
    max-width: 100%;
    gap: 12px;
  }

  .dongbao-v03-hero-layout-b .dongbao-hero-inner,
  .dongbao-v03-hero-layout-c .dongbao-hero-inner,
  .dongbao-v03-hero-value .dongbao-hero-inner,
  .dongbao-v03-value-inner {
    grid-template-columns: 1fr;
  }

  .dongbao-v03-layout-b-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dongbao-v03-layout-b-meta {
    gap: 10px;
    padding-bottom: 0;
  }

  .dongbao-v03-layout-b-rhythm {
    gap: 10px;
    max-width: 100%;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
  }

  .dongbao-v03-layout-b-rhythm p {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .dongbao-v03-layout-c-statement {
    max-width: 100%;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
    font-size: clamp(1.08rem, 6vw, 1.46rem);
    line-height: 1.34;
  }

  .dongbao-v03-value-copy {
    max-width: 100%;
    gap: 18px;
  }

  .dongbao-v03-value-heading {
    display: grid;
    gap: 10px;
  }

  .dongbao-v03-value-heading .page-title,
  .dongbao-v03-value-heading .dongbao-hero-category,
  .dongbao-v03-value-heading .dongbao-hero-subtitle {
    max-width: 100%;
    transform: none;
    white-space: normal;
  }

  .dongbao-v03-value-props {
    grid-template-columns: 1fr;
    gap: 18px;
    border-top: 1px solid rgba(251, 251, 244, 0.22);
    border-left: 0;
    padding-top: 18px;
    padding-left: 0;
  }

  .dongbao-v03-value-props article {
    gap: 8px;
    border-left: 0;
    padding-left: 0;
  }

  .dongbao-v03-value-props h2 {
    font-size: 0.98rem;
  }

  .dongbao-v03-value-props p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .dongbao-v03-hero-value .dongbao-hero-phone {
    width: min(40vw, 172px);
  }

  .dongbao-hero-phone-frame {
    border-radius: 24px;
  }

  .dongbao-brief-belt .section-inner {
    padding: 12px 0;
  }

  .dongbao-brief-grid {
    gap: 0;
  }

  .dongbao-brief-grid div {
    padding: 11px 0;
  }

  .dongbao-brief-grid div + div {
    border-top: 1px solid rgba(23, 71, 47, 0.1);
  }

  .dongbao-scene-role-section {
    padding-top: 64px;
  }

  .dongbao-blueprint-heading {
    align-items: start;
  }

  .dongbao-blueprint-heading h2,
  .dongbao-ownership-panel h2 {
    font-size: clamp(1.58rem, 9vw, 2.28rem);
    line-height: 1.16;
  }

  .dongbao-blueprint-scroll {
    margin-right: calc(var(--page-pad) * -1);
    border-right: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }

  .dongbao-blueprint-grid {
    grid-template-columns: minmax(108px, 108px) repeat(6, minmax(132px, 132px));
    min-width: 900px;
  }

  .dongbao-blueprint-step-head {
    gap: 8px;
    padding: 12px 10px;
    font-size: 0.92rem;
  }

  .dongbao-blueprint-step-head span {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .dongbao-blueprint-cell {
    padding: 16px 12px;
  }

  .dongbao-blueprint-cell.is-action {
    gap: 10px;
    font-size: 0.84rem;
  }

  .dongbao-blueprint-cell.is-action::before {
    width: 34px;
    height: 34px;
  }

  .dongbao-build-system {
    grid-template-columns: 1fr;
  }

  .dongbao-build-system article,
  .dongbao-build-system article:nth-child(2n),
  .dongbao-build-system article:nth-child(5) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 71, 47, 0.1);
  }

  .dongbao-build-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dongbao-build-rail span {
    justify-items: start;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .dongbao-build-rail span::before {
    width: 28px;
    height: 28px;
  }

  .dongbao-build-rail span:not(:last-child)::after {
    top: 31px;
    left: 14px;
    width: 1px;
    height: 12px;
  }

  .dongbao-ownership-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-prose {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .aiki-demo-methods,
  .aiki-demo-tabs {
    grid-template-columns: 1fr;
  }

  .aiki-phone-header {
    display: grid;
    gap: 4px;
    justify-items: start;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .aiki-demo-metrics div,
  .aiki-chart-meta {
    display: grid;
    gap: 4px;
    justify-items: start;
  }

  .aiki-demo-cues div {
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: start;
  }

  .aiki-demo-cues span {
    white-space: normal;
  }

  .aiki-demo-cues strong,
  .aiki-demo-metrics strong,
  .aiki-chart-meta strong {
    text-align: left;
  }

  .aiki-demo-cues strong {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  :root {
    --page-pad: 24px;
  }

  .hero-copy {
    --hero-copy-width: 100%;
  }

  .portrait-stage {
    width: min(100%, 336px);
  }
}

@media (max-width: 980px) {
  .dongbao-draft-card-grid,
  .dongbao-review-card-grid,
  .dongbao-v03-card-grid-four,
  .dongbao-strategy-grid,
  .dongbao-solution-grid,
  .dongbao-review-summary-grid,
  .dongbao-review-screen-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dongbao-v03-summary-band,
  .dongbao-v03-strategy-section {
    grid-template-columns: 1fr;
  }

  .dongbao-review-screen-strip .dongbao-screen-card.is-primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .dongbao-draft-card-grid,
  .dongbao-review-card-grid,
  .dongbao-v03-card-grid-four,
  .dongbao-strategy-grid,
  .dongbao-solution-grid,
  .dongbao-review-summary-grid,
  .dongbao-review-screen-strip {
    grid-template-columns: 1fr;
  }

  .dongbao-draft-prose {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .dongbao-draft-summary {
    font-size: 1rem;
  }

  .dongbao-review-page-v03 .section {
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .dongbao-v03-section .section-inner {
    gap: 28px;
  }

  .dongbao-v03-prose {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .dongbao-v03-strong-line {
    font-size: 1.12rem;
  }

  .dongbao-v03-card,
  .dongbao-v03-strategy-section,
  .dongbao-v03-summary-band {
    border-radius: var(--radius-lg);
  }

  .dongbao-v03-summary-nodes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aiki-hero-atmosphere-video {
    display: none;
  }

  .site-header,
  .site-header .language-switch,
  .site-header .brand,
  .site-header .menu-button,
  #selected-work .feature-action,
  #selected-work .feature-action::before,
  #selected-work .feature-action::after,
  #selected-work .section-text-link,
  #selected-work .section-text-link::before,
  #selected-work .section-text-link::after,
  .home-project-review-section .feature-action,
  .home-project-review-section .feature-action::after,
  #method .text-link,
  #method .text-link::before,
  #method .text-link::after,
  #method .section-text-link,
  #method .section-text-link::before,
  #method .section-text-link::after,
  #life .text-link,
  #life .text-link::before,
  #life .text-link::after,
  #life .section-text-link,
  #life .section-text-link::before,
  #life .section-text-link::after {
    transition: none;
  }

  .copy-enter,
  main[data-rail-layout="flip"] .hero-capability-rail,
  main[data-rail-layout="flip"] .hero-capability-rail > *,
  main[data-rail-layout="flip"] .hero-visual-column-rail .portrait-stage,
  main[data-rail-layout="sequence"] .hero-visual-column-rail::after,
  main[data-rail-layout="sequence"] .hero-capability-rail,
  main[data-rail-layout="sequence"] .hero-capability-rail > *,
  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage,
  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main,
	  .route-tools,
	  .route-tool,
	  .route-toc .route-tool,
	  .route-toc-panel a,
  .aiki-summary-glow,
  .aiki-summary-glow::before,
  .aiki-summary-glow::after,
  .contact-page-hero::before,
  .contact-panel::before,
  .contact-method::before,
  .contact-title-stroke,
  .contact-word-title span,
	  .site-scroll-cue span {
	    opacity: 1;
	    filter: none;
	    transform: none;
	    animation: none;
	    transition: none;
    will-change: auto;
  }

  .aiki-summary-glow {
    text-shadow:
      0 0 9px rgba(251, 251, 244, 0.46),
      0 0 20px rgba(228, 245, 202, 0.19),
      0 10px 28px rgba(2, 6, 4, 0.26);
  }

  .aiki-summary-glow::before {
    opacity: 0.38;
    filter: blur(12px);
    transform: scale(1);
  }

  .aiki-summary-glow::after {
    opacity: 0.12;
    filter: blur(21px);
    transform: scale(1);
  }

  .contact-panel::before {
    opacity: 0.46;
    transform: translate(-50%, -50%);
  }

  .contact-title-stroke {
    stroke-dashoffset: 0;
  }

  .contact-word-title span {
    clip-path: none;
    opacity: 0.98;
  }

	  main[data-rail-layout="flip"] .hero-capability-rail {
	    clip-path: none;
	  }

	  main[data-rail-layout="sequence"] .hero-visual-column-rail::after {
	    display: none;
	  }

	  main[data-rail-layout="sequence"] .hero-capability-rail,
	  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage {
	    opacity: 1;
	    clip-path: none;
	  }

	  main[data-rail-layout="sequence"] .hero-visual-column-rail .portrait-stage > .portrait-main {
	    opacity: 1;
	    transform: scaleX(-1) scale(var(--hero-seq-photo-scale));
	  }

	  .site-scroll-cue {
	    transition: none;
	  }

	  .site-scroll-cue,
	  html[data-input-mode="mouse"] .site-scroll-cue:hover,
	  .site-scroll-cue:focus-visible,
	  .site-scroll-cue[data-cue-visibility="entering"],
	  .site-scroll-cue[data-cue-visibility="leaving"] {
	    transform: translateX(-50%);
	  }

	  html[data-input-mode="mouse"] .route-tool:hover,
  html[data-input-mode="mouse"] .route-toc-panel a:hover,
  .route-tool:active,
  html[data-input-mode="mouse"] .site-header .menu-button:hover,
  .site-header .menu-button:active,
  .menu-panel-inner,
  .menu-panel-video {
    transform: none;
  }
}

@media (max-width: 560px) {
  html[data-case-page="dongbao"] .site-scroll-cue,
  html[data-input-mode="mouse"][data-case-page="dongbao"] .site-scroll-cue:hover,
  html[data-case-page="dongbao"] .site-scroll-cue:focus-visible {
    left: calc(var(--page-pad) + 22px);
    transform: none;
  }

  html[data-case-page="dongbao"] .site-scroll-cue[data-cue-visibility="entering"],
  html[data-case-page="dongbao"] .site-scroll-cue[data-cue-visibility="leaving"] {
    transform: translateY(10px);
  }
}
