:root {
  --bg: #ece2d2;
  --bg-deep: #e2d4c0;
  --paper: rgba(251, 245, 236, 0.82);
  --paper-strong: rgba(255, 250, 243, 0.94);
  --paper-dark: rgba(24, 19, 16, 0.96);
  --ink: #181310;
  --ink-soft: #544a42;
  --ink-faint: #7b7066;
  --line: rgba(24, 19, 16, 0.12);
  --line-strong: rgba(24, 19, 16, 0.2);
  --accent: #0f5c63;
  --accent-soft: rgba(15, 92, 99, 0.12);
  --accent-2: #be6b38;
  --accent-3: #b99b6a;
  --shadow-xl: 0 36px 80px rgba(51, 35, 16, 0.16);
  --shadow-lg: 0 22px 54px rgba(55, 38, 19, 0.12);
  --shadow-md: 0 16px 34px rgba(53, 39, 24, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100% - 44px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 12% 18%, rgba(190, 107, 56, 0.16), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(15, 92, 99, 0.18), transparent 24%),
    radial-gradient(circle at 78% 78%, rgba(185, 155, 106, 0.16), transparent 20%),
    linear-gradient(180deg, #f2eadf 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(0deg, rgba(24, 19, 16, 0.08), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: rgba(15, 92, 99, 0.18);
}

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

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

main,
.footer,
.topbar {
  position: relative;
  z-index: 1;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(24, 19, 16, 0.18) 0.45px, transparent 0.45px);
  background-size: 10px 10px;
  mix-blend-mode: multiply;
}

.page-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(84px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.orb-a {
  top: 4%;
  left: -110px;
  width: 300px;
  height: 300px;
  background: rgba(15, 92, 99, 0.14);
}

.orb-b {
  top: 24%;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(190, 107, 56, 0.12);
}

.orb-c {
  bottom: 12%;
  left: 12%;
  width: 280px;
  height: 280px;
  background: rgba(185, 155, 106, 0.16);
}

.progress-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.24);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(15, 92, 99, 0.35);
}

.topbar {
  position: sticky;
  top: 16px;
  width: var(--container);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, 0.78);
  background: rgba(252, 246, 238, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 34px rgba(67, 48, 24, 0.08);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(252, 247, 241, 0.84);
  box-shadow: 0 20px 42px rgba(54, 39, 18, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink), #2e2620);
  color: #fff6ed;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 24px rgba(24, 19, 16, 0.2);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-copy small {
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 98px 0;
}

.hero {
  padding-top: 76px;
  padding-bottom: 88px;
}

.hero-grid,
.positioning-layout,
.ai-stage,
.resume-layout,
.contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow,
.support-label,
.project-meta,
.signal-label {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 19, 16, 0.08);
  background: rgba(255, 250, 243, 0.72);
  color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.hero-name {
  margin: 24px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-frame h2,
.manifesto-card h2,
.contact-copy h2,
.capability-card h3,
.ai-manifesto h3,
.timeline-card h3,
.support-card h3,
.case-copy h3 {
  margin: 0;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 18px;
  max-width: 10.5ch;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.lede,
.section-frame p:last-child,
.case-copy p,
.manifesto-list p,
.contact-copy p,
.ai-manifesto p,
.workflow-card p,
.timeline-card p,
.support-card p,
.capability-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.88;
}

.lede {
  max-width: 64ch;
  margin-top: 26px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff8f0;
  background: linear-gradient(135deg, var(--ink), #322922 54%, var(--accent));
  box-shadow: 0 16px 32px rgba(24, 19, 16, 0.18);
}

.button-secondary,
.button-outline {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.7);
  border-color: rgba(24, 19, 16, 0.12);
  box-shadow: 0 12px 24px rgba(62, 42, 21, 0.08);
}

.button-secondary:hover,
.button-outline:hover {
  background: rgba(255, 250, 243, 0.92);
  border-color: rgba(15, 92, 99, 0.24);
}

.hero-tags,
.chip-row,
.tool-ribbon,
.quote-notes,
.job-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 28px;
}

.hero-tags span,
.chip-row span,
.tool-ribbon span,
.quote-notes span,
.job-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(24, 19, 16, 0.08);
  background: rgba(255, 250, 243, 0.62);
  color: var(--ink-soft);
}

.hero-tags span::before,
.chip-row span::before,
.tool-ribbon span::before,
.quote-notes span::before,
.job-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero-stage {
  min-width: 0;
}

.profile-stage,
.manifesto-card,
.quote-card,
.principle-card,
.signal-card,
.case-card,
.ai-manifesto,
.workflow-card,
.timeline-card,
.support-card,
.capability-card,
.contact-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.72);
  box-shadow: var(--shadow-lg);
}

.profile-stage {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 249, 241, 0.8), rgba(255, 246, 234, 0.55)),
    linear-gradient(135deg, rgba(15, 92, 99, 0.12), rgba(190, 107, 56, 0.1));
  border-radius: calc(var(--radius-xl) + 8px);
}

.profile-stage::before,
.manifesto-card::before,
.quote-card::before,
.principle-card::before,
.signal-card::before,
.case-card::before,
.ai-manifesto::before,
.workflow-card::before,
.timeline-card::before,
.support-card::before,
.capability-card::before,
.contact-stage::before {
  content: "";
  position: absolute;
  inset: auto -18% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 92, 99, 0.14), transparent 66%);
  pointer-events: none;
}

.profile-visual {
  position: relative;
  min-height: 680px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.profile-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 250, 243, 0.45);
  border-radius: calc(var(--radius-xl) - 8px);
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.stage-card {
  position: absolute;
  z-index: 2;
  width: min(320px, calc(100% - 84px));
  max-width: calc(100% - 84px);
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 250, 243, 0.2);
  background: rgba(24, 19, 16, 0.76);
  backdrop-filter: blur(14px);
  color: rgba(255, 247, 239, 0.96);
  box-shadow: 0 20px 40px rgba(20, 14, 11, 0.22);
}

.stage-card p {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 241, 229, 0.66);
}

.stage-card strong {
  font-size: 0.98rem;
  line-height: 1.55;
}

.stage-card-top {
  top: 28px;
  left: 28px;
}

.stage-card-bottom {
  right: 28px;
  bottom: 92px;
}

.stage-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-caption span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, 0.7);
  background: rgba(255, 247, 239, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: 24px;
  margin-top: 26px;
  align-items: start;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-card {
  padding: 24px 22px;
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.8), rgba(255, 244, 233, 0.62));
  border-radius: var(--radius-lg);
}

.signal-card strong {
  display: block;
  margin-top: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.signal-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.manifesto-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(24, 19, 16, 0.94), rgba(39, 31, 25, 0.88));
  color: rgba(255, 246, 236, 0.96);
}

.manifesto-card h2 {
  margin-top: 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.manifesto-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.manifesto-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.manifesto-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fbe8d4;
  font-size: 0.88rem;
}

.manifesto-card .support-label,
.manifesto-card p {
  color: rgba(255, 244, 233, 0.78);
}

.ticker {
  margin-top: 26px;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(24, 19, 16, 0.08);
  border-bottom: 1px solid rgba(24, 19, 16, 0.08);
}

.ticker-track {
  display: flex;
  gap: 34px;
  min-width: max-content;
  animation: tickerMove 26s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker-track span::after {
  content: "·";
  color: var(--accent-2);
}

.section-frame {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-frame h2 {
  margin-top: 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-frame p:last-child {
  margin-top: 18px;
}

.positioning-layout {
  align-items: stretch;
}

.quote-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.8), rgba(255, 246, 236, 0.54));
}

.quote-card blockquote {
  margin: 18px 0 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.28;
  letter-spacing: -0.05em;
}

.quote-notes {
  margin-top: 30px;
}

.principle-grid,
.workflow-list,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.principle-card,
.workflow-card,
.support-card,
.capability-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.82), rgba(255, 245, 233, 0.62));
}

.principle-card:nth-child(3) {
  grid-column: 1 / -1;
}

.principle-no,
.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 92, 99, 0.12), rgba(190, 107, 56, 0.16));
  color: var(--accent);
  font-weight: 800;
}

.principle-card h3,
.workflow-card h3 {
  margin-top: 18px;
  font-size: 1.28rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.principle-card p,
.workflow-card p {
  margin-top: 14px;
}

.case-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 30px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(150deg, rgba(255, 251, 246, 0.88), rgba(255, 245, 233, 0.72));
}

.case-card-dark {
  color: rgba(255, 248, 240, 0.96);
  background:
    radial-gradient(circle at top left, rgba(15, 92, 99, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(17, 16, 16, 0.98), rgba(26, 23, 21, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
}

.case-card-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.case-card-reverse .case-copy {
  order: 2;
}

.case-card-reverse .case-media {
  order: 1;
}

.case-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(24, 19, 16, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.case-card-dark .case-index {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 240, 0.94);
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-copy .project-meta {
  margin-top: 22px;
  color: var(--ink-faint);
}

.case-card-dark .project-meta,
.case-card-dark .case-copy p,
.case-card-dark .metric-grid span,
.case-card-dark .chip-row span {
  color: rgba(255, 244, 233, 0.74);
}

.case-copy h3 {
  margin-top: 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.case-copy p {
  margin-top: 18px;
}

.case-media {
  min-width: 0;
}

.media-frame {
  position: relative;
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.54);
  background: linear-gradient(160deg, rgba(15, 92, 99, 0.12), rgba(190, 107, 56, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.media-frame-dark {
  background: linear-gradient(160deg, rgba(15, 92, 99, 0.16), rgba(8, 10, 13, 0.12));
}

.media-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-media-collage .media-frame {
  overflow: visible;
}

.case-media-collage .media-main {
  border-radius: 30px;
}

.media-float {
  position: absolute;
  right: 26px;
  bottom: -30px;
  width: 48%;
  border-radius: 22px;
  border: 1px solid rgba(255, 250, 243, 0.56);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
  transform: rotate(-2.3deg);
  background: #0d1014;
}

.media-float-wide {
  width: 58%;
}

.media-float-mobile {
  width: 34%;
  right: 34px;
  bottom: -24px;
  transform: rotate(-1.3deg);
}

.media-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.86);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(24, 19, 16, 0.08);
}

.media-badge-dark {
  background: rgba(17, 16, 16, 0.72);
  color: rgba(255, 248, 240, 0.9);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-grid div {
  min-height: 110px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(24, 19, 16, 0.08);
  background: rgba(255, 250, 243, 0.62);
}

.metric-grid-soft div {
  background: rgba(255, 252, 248, 0.74);
}

.case-card-dark .metric-grid div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.metric-grid strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.chip-row-large {
  margin-top: 22px;
}

.section-dark {
  position: relative;
  width: min(100%, 100vw);
  padding-left: max((100vw - min(1240px, calc(100% - 44px))) / 2, 22px);
  padding-right: max((100vw - min(1240px, calc(100% - 44px))) / 2, 22px);
  background:
    radial-gradient(circle at 14% 16%, rgba(190, 107, 56, 0.12), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(15, 92, 99, 0.18), transparent 26%),
    linear-gradient(180deg, #13100f 0%, #181310 100%);
  color: rgba(255, 246, 236, 0.96);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.1;
  pointer-events: none;
}

.section-frame-dark,
.section-frame-dark p:last-child,
.section-frame-dark .eyebrow {
  position: relative;
  z-index: 1;
}

.section-frame-dark .eyebrow {
  color: #89b8bd;
}

.section-frame-dark h2,
.section-frame-dark p:last-child {
  color: rgba(255, 246, 236, 0.96);
}

.section-frame-dark p:last-child {
  color: rgba(255, 236, 223, 0.72);
}

.ai-stage {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.ai-manifesto,
.workflow-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ai-manifesto {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.ai-manifesto h3 {
  margin-top: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.ai-manifesto p,
.workflow-card p,
.ai-manifesto .support-label {
  color: rgba(255, 236, 223, 0.76);
}

.tool-ribbon {
  margin-top: 24px;
}

.tool-ribbon span,
.section-dark .job-points span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 236, 223, 0.8);
}

.workflow-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.resume-layout {
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
}

.timeline,
.resume-sidebar {
  display: grid;
  gap: 20px;
}

.timeline-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.82), rgba(255, 245, 233, 0.64));
}

.timeline-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.job-period,
.job-role,
.support-card span {
  color: var(--ink-faint);
}

.job-role {
  font-weight: 700;
}

.timeline-card h3,
.support-card h3,
.capability-card h3 {
  margin-top: 18px;
  font-size: 1.36rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.job-summary,
.support-card p,
.capability-card p {
  margin-top: 14px;
}

.job-points {
  margin-top: 20px;
}

.chip-row-soft span {
  background: rgba(255, 250, 243, 0.76);
}

.capability-card-wide {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-stage {
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(15, 92, 99, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(24, 19, 16, 0.98), rgba(34, 28, 24, 0.94));
  color: rgba(255, 246, 236, 0.96);
}

.contact-copy h2 {
  margin-top: 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.contact-copy p:last-child {
  margin-top: 18px;
  color: rgba(255, 236, 223, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-link {
  min-height: 128px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(137, 184, 189, 0.28);
}

.contact-link-muted:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.contact-link span {
  color: rgba(255, 236, 223, 0.62);
  font-size: 0.88rem;
}

.contact-link strong {
  font-size: 1.08rem;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: rgba(255, 246, 236, 0.98);
}

.footer {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 42px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 150ms;
}

.reveal-delay-3 {
  transition-delay: 220ms;
}

.reveal-delay-4 {
  transition-delay: 290ms;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1160px) {
  .topbar {
    border-radius: 28px;
  }

  .hero-grid,
  .hero-foot,
  .positioning-layout,
  .ai-stage,
  .resume-layout,
  .contact-stage,
  .case-card,
  .case-card-reverse {
    grid-template-columns: 1fr;
  }

  .case-card-reverse .case-copy,
  .case-card-reverse .case-media {
    order: initial;
  }

  .profile-visual {
    min-height: 580px;
  }

  .stage-card-top {
    left: 20px;
  }

  .stage-card-bottom {
    right: 20px;
    bottom: 84px;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: static;
    margin-top: 14px;
    padding: 16px;
    border-radius: 26px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .topbar-cta {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 10vw, 4.8rem);
  }

  .profile-visual {
    min-height: 500px;
  }

  .signal-grid,
  .principle-grid,
  .workflow-list,
  .metric-grid,
  .contact-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .principle-card:nth-child(3),
  .capability-card-wide {
    grid-column: auto;
  }

  .section-dark {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100%, calc(100% - 28px));
  }

  .eyebrow-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .profile-stage {
    padding: 14px;
  }

  .profile-visual {
    min-height: 420px;
    border-radius: 26px;
  }

  .stage-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

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

  .manifesto-card,
  .quote-card,
  .principle-card,
  .signal-card,
  .case-card,
  .ai-manifesto,
  .workflow-card,
  .timeline-card,
  .support-card,
  .capability-card,
  .contact-stage {
    padding: 22px;
    border-radius: 24px;
  }

  .case-card {
    gap: 22px;
  }

  .media-frame,
  .case-media-mobile .media-frame {
    min-height: 260px;
    border-radius: 24px;
  }

  .case-media-collage .media-main {
    border-radius: 24px;
  }

  .media-badge {
    left: 16px;
    top: 16px;
  }

  .media-float {
    right: 14px;
    bottom: -16px;
  }

  .media-float-wide {
    width: 66%;
  }

  .media-float-mobile {
    width: 46%;
  }

  .contact-link {
    min-height: 102px;
  }

  .footer {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
