:root {
  color-scheme: light;
  --bg: #fbf8fc;
  --bg-soft: #f4f1f7;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(71, 53, 82, 0.14);
  --line-strong: rgba(71, 53, 82, 0.26);
  --text: #332b38;
  --muted: rgba(51, 43, 56, 0.68);
  --faint: rgba(51, 43, 56, 0.48);
  --pink: #f19bd9;
  --purple: #7c55f6;
  --blue: #6aa7ff;
  --mint: #8fcfba;
  --coral: #f0735f;
  --ice: #ecf5ff;
  --lavender: #f0ecff;
  --shadow-soft: 0 30px 90px rgba(70, 45, 95, 0.13);
  --shadow-card: 0 16px 42px rgba(70, 45, 95, 0.1);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    linear-gradient(145deg, rgba(255, 244, 252, 0.96) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(215deg, rgba(232, 244, 255, 0.95) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fff 0%, var(--bg) 48%, #f6f3fa 100%);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(80, 55, 98, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(80, 55, 98, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.36) 52%, transparent 100%);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: none;
  user-select: none;
}

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

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

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

.page-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
  background:
    linear-gradient(120deg, transparent 0%, rgba(241, 155, 217, 0.16) 42%, transparent 68%),
    linear-gradient(300deg, transparent 18%, rgba(106, 167, 255, 0.16) 52%, transparent 82%);
  pointer-events: none;
}

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

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}

.site-header {
  position: fixed;
  left: 50%;
  top: 20px;
  z-index: 40;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(70, 45, 95, 0.08);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
  transition:
    min-height 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-compact {
  min-height: 50px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 40px rgba(70, 45, 95, 0.12);
}

.brand-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-line i {
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.34;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="true"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.hero-scene {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 0;
  background: #f8f6fb;
  overflow: hidden;
  isolation: isolate;
}

.hero-cover-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

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

.hero-cover-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.24) 52%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(180deg, rgba(248, 246, 251, 0.46) 0%, rgba(248, 246, 251, 0) 24%),
    linear-gradient(0deg, rgba(251, 248, 252, 0.6) 0%, rgba(251, 248, 252, 0) 18%);
  pointer-events: none;
}

.hero-cover {
  min-height: 100svh;
  place-items: center start;
  padding:
    136px max(24px, calc((100vw - var(--max)) / 2))
    132px;
}

.hero-scrim {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, rgba(251, 248, 252, 0), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 54vw);
  padding-bottom: 0;
}

.eyebrow {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-content h1 {
  margin-top: 16px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 104px;
  font-weight: 900;
  line-height: 0.92;
}

.hero-content h1 span {
  display: block;
  margin-top: 14px;
  background: linear-gradient(90deg, #332b38 0%, #815bff 58%, #f19bd9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 650px;
  margin-top: 24px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-note {
  max-width: 580px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.74;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(124, 85, 246, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(70, 45, 95, 0.08);
  backdrop-filter: blur(16px);
}

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

.pill-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.pill-button.is-primary {
  border-color: transparent;
  background: linear-gradient(92deg, var(--purple), var(--pink) 58%, var(--coral));
  color: white;
  box-shadow: 0 18px 42px rgba(124, 85, 246, 0.25);
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
}

.inline-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid rgba(124, 85, 246, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(70, 45, 95, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  border-color: rgba(124, 85, 246, 0.42);
  box-shadow: 0 18px 42px rgba(124, 85, 246, 0.16);
  transform: translateY(-2px);
}

.portal-card > span:not(.card-action),
.strength-card span {
  display: block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.scroll-cue i {
  display: block;
  width: 72px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: cueLine 1600ms ease-in-out infinite;
}

@keyframes cueLine {
  0%,
  100% {
    transform: scaleX(0.45);
  }

  50% {
    transform: scaleX(1);
  }
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 118px 0;
}

section[id],
article[id] {
  scroll-margin-top: 96px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 124px;
}

.section-copy h2,
.section-head h2,
.story-copy h2,
.about-copy h2 {
  margin-top: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.06;
}

.section-copy p,
.section-head p,
.about-copy p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.strength-list {
  display: grid;
  gap: 16px;
}

.strength-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 255, 0.7)),
    var(--surface);
  box-shadow: var(--shadow-card);
  transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.strength-card:hover {
  border-color: rgba(124, 85, 246, 0.25);
  box-shadow: var(--shadow-soft);
}

.strength-card h3 {
  margin-top: 44px;
  font-size: 24px;
  line-height: 1.35;
}

.strength-card p,
.portal-card p,
.story-matrix p,
.workflow-node p,
.about-grid p,
figcaption {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.strength-card p {
  margin-top: 14px;
  font-size: 16px;
}

.case-index {
  padding-top: 72px;
}

.section-head {
  max-width: 780px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.portal-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 14px 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portal-card:hover,
.portal-card:focus-visible {
  border-color: rgba(124, 85, 246, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px) perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
}

.portal-card.is-disabled {
  cursor: default;
}

.portal-card.is-disabled:hover {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  transform: none;
}

.portal-card figure {
  height: 250px;
  border-radius: var(--radius);
  background: var(--lavender);
  overflow: hidden;
}

.portal-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.portal-card:hover figure img {
  transform: scale(1.04);
}

.portal-card.is-disabled:hover figure img {
  transform: none;
}

.portal-card > span:not(.card-action) {
  margin-top: 20px;
}

.portal-card h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.35;
}

.portal-card p {
  margin-top: 12px;
  margin-bottom: 18px;
}

.past-projects {
  margin-top: 58px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.past-projects-head {
  max-width: 760px;
}

.past-projects-head h3 {
  margin-top: 10px;
  color: var(--text);
  font-size: 34px;
  line-height: 1.32;
}

.past-projects-head p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

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

.past-project-card {
  display: flex;
  min-height: 356px;
  flex-direction: column;
  padding: 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  color: inherit;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.past-project-card:hover,
.past-project-card:focus-visible {
  border-color: rgba(124, 85, 246, 0.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.past-project-card figure {
  height: 150px;
  border-radius: var(--radius);
  background: var(--ice);
  overflow: hidden;
}

.past-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.past-project-card > span:not(.card-action) {
  display: block;
  margin-top: 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.past-project-card h4 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.42;
}

.past-project-card p {
  margin-top: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.portal-card .card-action,
.past-project-card .card-action {
  display: inline-grid;
  width: fit-content;
  height: 34px;
  place-items: center;
  margin-top: auto;
  padding: 1px 14px 0;
  border: 1px solid rgba(124, 85, 246, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 24px rgba(124, 85, 246, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.portal-card:hover .card-action:not(.is-muted),
.portal-card:focus-visible .card-action:not(.is-muted),
.past-project-card:hover .card-action:not(.is-muted),
.past-project-card:focus-visible .card-action:not(.is-muted) {
  border-color: rgba(124, 85, 246, 0.42);
  background: rgba(255, 255, 255, 0.96);
  color: #6744df;
  box-shadow: 0 14px 30px rgba(124, 85, 246, 0.18);
  transform: translateY(-1px);
}

.portal-card .card-action.is-muted,
.past-project-card .card-action.is-muted {
  border-color: rgba(80, 74, 94, 0.14);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(80, 74, 94, 0.58);
  box-shadow: none;
}

.compare-cover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.compare-cover img {
  border-radius: var(--radius);
}

.stack-cover {
  position: relative;
  padding: 18px;
}

.stack-cover img:first-child {
  width: 82%;
  height: 80%;
  object-fit: cover;
}

.stack-cover img:last-child {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48%;
  height: 58%;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(70, 45, 95, 0.16);
  object-fit: cover;
}

.stories {
  padding-top: 50px;
}

.story-section {
  position: relative;
  margin: 0 auto;
  padding: 118px 0;
  overflow: hidden;
}

.story-section::before {
  position: absolute;
  inset: 34px 0 auto;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.story-dark {
  background:
    linear-gradient(135deg, rgba(236, 245, 255, 0.82), rgba(255, 255, 255, 0) 52%),
    linear-gradient(215deg, rgba(240, 236, 255, 0.9), rgba(255, 255, 255, 0) 50%);
}

.story-dark .dataviz-visual {
  background: rgba(48, 43, 76, 0.08);
}

.story-shell {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 54px;
  align-items: center;
  margin: 0 auto;
}

.story-shell.is-reversed {
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.88fr);
}

.story-shell.is-reversed .story-copy {
  order: 2;
}

.story-shell.is-reversed .story-visual,
.story-shell.is-reversed .dataviz-visual,
.story-shell.is-reversed .community-visual {
  order: 1;
}

.story-copy h2 {
  font-size: 64px;
}

.story-lead {
  margin-top: 24px;
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.72;
}

.story-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.story-meta div {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.story-meta dt {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.story-meta dd {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.58;
}

.story-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.story-matrix section {
  min-height: 152px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.story-matrix h3 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.story-matrix p {
  margin-top: 10px;
}

.story-visual,
.website-visual,
.workflow-board,
.community-visual,
.dataviz-visual {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px 16px;
  background: rgba(255, 255, 255, 0.7);
}

.website-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.website-visual figure {
  background: rgba(255, 255, 255, 0.78);
}

.website-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
}

.dataviz-visual {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.dataviz-visual img {
  width: 100%;
  height: 286px;
  border-radius: var(--radius);
  object-fit: cover;
}

.workflow-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 236, 255, 0.72)),
    rgba(255, 255, 255, 0.68);
}

.workflow-node {
  position: relative;
  min-height: 162px;
  padding: 18px;
  border: 1px solid rgba(124, 85, 246, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.workflow-node::after {
  position: absolute;
  right: -18px;
  top: 50%;
  width: 23px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--purple), transparent);
}

.workflow-node:nth-child(2)::after {
  right: auto;
  left: 50%;
  top: auto;
  bottom: -18px;
  width: 1px;
  height: 23px;
  background: linear-gradient(180deg, var(--purple), transparent);
}

.workflow-node:nth-child(3)::after,
.workflow-node:nth-child(4)::after {
  display: none;
}

.workflow-node span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.workflow-node strong {
  display: block;
  margin-top: 28px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.35;
}

.workflow-node p {
  margin-top: 10px;
}

.workflow-preview {
  grid-column: 1 / -1;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
}

.workflow-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.community-visual figure {
  min-width: 0;
  background: rgba(255, 255, 255, 0.78);
}

.community-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-grid section {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.about-grid h3 {
  color: var(--text);
  font-size: 18px;
}

.about-grid p {
  margin-top: 14px;
}

.about-info-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.about-info-list div {
  display: grid;
  gap: 4px;
}

.about-info-list dt,
.contact-list span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.about-info-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.58;
}

.about-info-list .is-note {
  padding-top: 2px;
}

.about-info-list .is-note dt {
  color: var(--faint);
}

.about-info-list .is-note dd {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(124, 85, 246, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.contact-list a,
.contact-list strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-panel {
  min-height: 256px;
}

.education-panel {
  min-height: 256px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  justify-content: space-between;
  margin: 0 auto;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  font-weight: 700;
}

.case-page {
  background:
    linear-gradient(145deg, rgba(255, 244, 252, 0.98) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(215deg, rgba(232, 244, 255, 0.96) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fff 0%, var(--bg) 42%, #f4f0fa 100%);
}

.case-page .site-header {
  position: sticky;
  left: auto;
  top: 20px;
  margin: 20px auto 0;
  transform: none;
}

.case-page .site-header.is-compact {
  min-height: 58px;
}

.detail-hero {
  display: grid;
  min-height: 64svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 48px;
  align-items: end;
  padding-top: 92px;
  padding-bottom: 82px;
}

.detail-copy h1 {
  margin-top: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 0.98;
}

.detail-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 28px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.68;
}

.detail-meta {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.detail-meta div {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.detail-meta dt {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta dd {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.58;
}

.case-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.case-range span,
.page-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(124, 85, 246, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.source-note,
.import-status {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 85, 246, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(240, 236, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.source-note strong,
.import-status strong {
  color: var(--text);
}

.page-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 24px;
  align-items: start;
  margin-top: 42px;
}

.page-map-copy h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}

.page-map-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.page-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-chip.is-available {
  border-color: rgba(45, 151, 104, 0.22);
  color: #268b63;
}

.detail-gallery {
  padding-top: 70px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.screen-frame {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.screen-frame.is-wide {
  margin-top: 40px;
}

.screen-frame:first-of-type.is-wide {
  margin-top: 0;
}

.screen-frame img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  background: #f4f1f7;
}

.screen-grid .screen-frame img {
  aspect-ratio: 16 / 12;
  object-fit: cover;
  object-position: top center;
}

.screen-frame.is-wide img {
  object-fit: contain;
}

.page-sequence {
  display: grid;
  gap: 0;
  margin-top: 40px;
}

.page-sequence .screen-frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-sequence .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-sequence .screen-frame img {
  display: block;
  max-height: none;
  background: transparent;
}

.ux-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.community-hero {
  align-items: center;
}

.community-hero .detail-copy h1 span {
  display: block;
}

.source-board,
.method-panel,
.persona-card,
.ui-kit-panel,
.impact-panel {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.7)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
}

.source-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: center;
}

.source-board-image {
  border-radius: var(--radius);
  background: #ededee;
  overflow: hidden;
}

.source-board-image img {
  width: 100%;
  object-fit: contain;
}

.source-board-copy h3,
.method-panel h3,
.persona-card h3,
.ui-kit-panel h3,
.impact-panel h3,
.insight-card h3,
.compare-card h3,
.flow-lane h3,
.solution-card h3,
.metric-card h3,
.reflection-card h3 {
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  content: "";
}

.evidence-grid,
.insight-grid,
.competitor-grid,
.solution-grid,
.metric-grid,
.reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

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

.insight-grid,
.solution-grid,
.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.evidence-card,
.insight-card,
.compare-card,
.flow-lane,
.solution-card,
.metric-card,
.reflection-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
}

.evidence-card {
  display: grid;
  gap: 16px;
}

.evidence-card img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  background: var(--lavender);
  object-fit: contain;
}

.insight-card span,
.solution-card span,
.compare-card span,
.metric-card strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.insight-card p,
.compare-card p,
.flow-lane p:not(.eyebrow),
.solution-card p,
.metric-card p,
.reflection-card p,
.method-grid p,
.persona-card p,
.impact-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.method-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.method-grid strong {
  color: var(--text);
  font-size: 15px;
}

.persona-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.persona-card h3 {
  margin-top: 12px;
  font-size: 28px;
}

.ia-compare,
.flow-compare,
.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.ia-compare > div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.ia-compare h3 {
  font-size: 22px;
}

.flow-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.flow-lane {
  display: grid;
  align-content: start;
  gap: 10px;
}

.flow-lane h3 {
  margin-bottom: 8px;
}

.flow-step {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(124, 85, 246, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.before-after figure {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.before-after img {
  width: 100%;
  height: 620px;
  border-radius: var(--radius);
  background: var(--lavender);
  object-fit: contain;
}

.before-after figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ui-kit-panel h3,
.impact-panel h3 {
  margin-bottom: 18px;
}

.token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.token-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.token-strip span::before {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(51, 43, 56, 0.14);
  border-radius: 999px;
  background: var(--swatch);
  content: "";
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.component-grid div {
  min-height: 42px;
  padding: 12px;
  border: 1px solid rgba(124, 85, 246, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reveal {
  opacity: 0.72;
  transform: translateY(14px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-content h1 {
    font-size: 92px;
  }

  .hero-content {
    width: min(680px, 100%);
    padding-bottom: 0;
  }

  .hero-scene {
    align-items: center;
    padding-bottom: 72px;
  }

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

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

  .story-shell,
  .story-shell.is-reversed {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-map {
    grid-template-columns: 1fr;
  }

  .story-shell.is-reversed .story-copy,
  .story-shell.is-reversed .story-visual,
  .story-shell.is-reversed .dataviz-visual,
  .story-shell.is-reversed .community-visual {
    order: initial;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 18px;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .hero-scene {
    min-height: auto;
  }

  .hero-cover {
    min-height: 100svh;
    padding: 132px 18px 76px;
    place-items: start;
  }

  .hero-cover-art {
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-cover-art img {
    object-fit: cover;
    object-position: 64% center;
  }

  .hero-cover-art::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(0deg, rgba(251, 248, 252, 0.7) 0%, rgba(251, 248, 252, 0) 24%);
  }

  .hero-lead {
    font-size: 22px;
  }

  .split-section,
  .about-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sticky-copy {
    position: static;
  }

  .section-copy h2,
  .section-head h2,
  .about-copy h2 {
    font-size: 42px;
  }

  .story-copy h2 {
    font-size: 48px;
  }

  .story-matrix,
  .story-meta,
  .workflow-board,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .workflow-node::after {
    display: none;
  }

  .website-visual,
  .community-visual {
    grid-template-columns: 1fr;
  }

  .community-visual img,
  .website-visual img {
    height: 460px;
  }

  .case-page .site-header {
    position: relative;
  }

  .detail-copy h1 {
    font-size: 58px;
  }

  .detail-copy p:not(.eyebrow) {
    font-size: 20px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .story-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-scene {
    padding-right: 14px;
    padding-bottom: 58px;
    padding-left: 14px;
  }

  .hero-cover {
    min-height: 100svh;
    padding-top: 124px;
    padding-bottom: 72px;
  }

  .site-header {
    top: 12px;
  }

  .brand-line {
    gap: 8px;
    font-size: 12px;
  }

  .brand-line i {
    width: 24px;
  }

  .site-nav {
    font-size: 12px;
  }

  .hero-content h1 {
    margin-top: 14px;
    font-size: 50px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-note {
    margin-top: 10px;
    line-height: 1.6;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-proof span {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .pill-button {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero-note,
  .section-copy p,
  .section-head p,
  .about-copy p {
    font-size: 16px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

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

  .portal-card {
    min-height: auto;
  }

  .portal-card figure {
    height: 220px;
  }

  .section-shell,
  .story-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .detail-hero {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .section-copy h2,
  .section-head h2,
  .story-copy h2,
  .about-copy h2 {
    font-size: 36px;
  }

  .detail-copy h1 {
    font-size: 42px;
  }

  .detail-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .story-lead {
    font-size: 18px;
  }

  .story-visual img,
  .dataviz-visual img,
  .workflow-preview,
  .community-visual img,
  .website-visual img {
    height: 320px;
  }

  .site-footer {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 1180px) {
  .source-board,
  .persona-card,
  .ia-compare,
  .flow-compare,
  .before-after {
    grid-template-columns: 1fr;
  }

  .evidence-grid,
  .method-grid,
  .competitor-grid,
  .component-grid,
  .reflection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ux-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .source-board,
  .method-panel,
  .persona-card,
  .ui-kit-panel,
  .impact-panel,
  .evidence-card,
  .insight-card,
  .compare-card,
  .flow-lane,
  .solution-card,
  .metric-card,
  .reflection-card,
  .ia-compare > div,
  .before-after figure {
    padding: 16px;
  }

  .evidence-grid,
  .insight-grid,
  .method-grid,
  .competitor-grid,
  .solution-grid,
  .metric-grid,
  .reflection-grid,
  .component-grid {
    grid-template-columns: 1fr;
  }

  .evidence-card img {
    height: 360px;
  }

  .before-after img {
    height: 520px;
  }

  .source-board-copy h3,
  .method-panel h3,
  .persona-card h3,
  .ui-kit-panel h3,
  .impact-panel h3,
  .insight-card h3,
  .compare-card h3,
  .flow-lane h3,
  .solution-card h3,
  .metric-card h3,
  .reflection-card h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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