:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --bg-deep: #111827;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-muted: #eef3f8;
  --surface-warm: #fbfaf3;
  --surface-green: #edf9f1;
  --surface-blue: #f0f6ff;
  --ink: #172033;
  --line: rgba(16, 24, 39, 0.1);
  --line-strong: rgba(16, 24, 39, 0.18);
  --text: #172033;
  --muted: #5d6b80;
  --subtle: #8b98aa;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --mint: #10b981;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --max: 1280px;
  --radius: 8px;
  --radius-soft: 8px;
  --shadow-soft: 0 18px 52px rgba(16, 24, 39, 0.075);
  --shadow-lift: 0 30px 90px rgba(16, 24, 39, 0.14);
  --shadow-hairline: 0 1px 2px rgba(16, 24, 39, 0.045);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(16, 24, 39, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 39, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0 20%, transparent 42%),
    linear-gradient(180deg, #fffefa 0%, #f8fafc 48%, #eef3f8 100%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.66;
}

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

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

code {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 24, 39, 0.06);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  padding: 0.16rem 0.4rem;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 96px;
}

.scroll-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--ink), var(--blue), var(--cyan), var(--mint));
}

.announcement {
  display: flex;
  justify-content: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 14px auto 0;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-hairline);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
  padding: 0.52rem 0.78rem;
  backdrop-filter: blur(18px);
}

.announcement span {
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--blue);
  font-weight: 650;
  font-size: 0.72rem;
  padding: 0.16rem 0.48rem;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 10px auto 0;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 34px rgba(16, 24, 39, 0.07);
  padding: 0.55rem 0.72rem;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.topbar.is-scrolled {
  border-color: rgba(16, 24, 39, 0.13);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(16, 24, 39, 0.1);
  transform: translateY(-2px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 650;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--mint)),
    var(--cyan);
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}

.nav-links {
  gap: 0.35rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(238, 243, 248, 0.78);
  padding: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 540;
  padding: 0.42rem 0.78rem;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: var(--shadow-hairline);
  transform: translateY(-1px);
}

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-pad:nth-of-type(n + 5) {
  padding-top: 104px;
  padding-bottom: 104px;
}

section[id] {
  scroll-margin-top: 132px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(440px, 0.96fr);
  gap: 64px;
  align-items: stretch;
  min-height: calc(90vh - 72px);
  padding-top: 96px;
  padding-bottom: 42px;
}

.hero::after {
  position: absolute;
  right: 7%;
  bottom: 20px;
  left: 49%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 24, 39, 0.16), transparent);
  content: "";
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.2rem;
  font-size: 4.35rem;
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.34vw, 2.38rem);
  font-weight: 510;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.72rem;
  font-size: clamp(1.04rem, 1.72vw, 1.32rem);
  font-weight: 560;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 730px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 380;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.primary-link,
.secondary-link {
  border-radius: 999px;
  font-weight: 570;
  padding: 0.78rem 1rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.primary-link {
  background: #172033;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.12);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.hero-panel {
  position: relative;
  display: block;
  align-self: center;
  min-height: 650px;
  perspective: 1400px;
}

.hero-panel::before {
  position: absolute;
  inset: 74px -20px 46px 38px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 249, 241, 0.72));
  background-size: 28px 28px, 28px 28px, auto;
  content: "";
  transform: translate(8px, 8px);
}

.hero-panel::after {
  position: absolute;
  z-index: 0;
  top: 36px;
  right: 28px;
  width: 46%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--blue));
  content: "";
  opacity: 0.9;
}

.hero-product-window {
  position: relative;
  z-index: 1;
  min-height: auto;
  background: #ffffff;
  box-shadow: var(--shadow-lift);
  transform: translateX(10px) rotateX(1deg) rotateY(-4deg);
  transform-origin: center left;
}

.hero-product-window img {
  width: 100%;
  background: #f8fafc;
}

.hero-product-window figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-product-window figcaption span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 660;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-window.laptop-window {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: translateX(20px) translateY(14px) rotateX(3deg) rotateY(-8deg) rotateZ(-1.2deg);
  transform-origin: center left;
}

.laptop-mockup {
  position: relative;
  width: min(100%, 680px);
  margin-left: auto;
  padding-bottom: 54px;
  transform-style: preserve-3d;
}

.laptop-screen {
  position: relative;
  border: 1px solid rgba(16, 24, 39, 0.18);
  border-radius: 18px 18px 12px 12px;
  background: #172033;
  box-shadow:
    0 36px 90px rgba(16, 24, 39, 0.18),
    0 8px 20px rgba(16, 24, 39, 0.12);
  overflow: hidden;
  padding: 10px;
}

.laptop-screen::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.3), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 16%);
  content: "";
  mix-blend-mode: screen;
  opacity: 0.58;
}

.laptop-screen-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(180deg, #f9fbff, #eef3f8);
  padding: 0 10px;
}

.laptop-screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.laptop-screen-bar span:nth-child(1) {
  background: #ff6b6b;
}

.laptop-screen-bar span:nth-child(2) {
  background: #f7c948;
}

.laptop-screen-bar span:nth-child(3) {
  background: #4ade80;
}

.hero-product-window.laptop-window img {
  border-radius: 0 0 8px 8px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
}

.laptop-base {
  position: absolute;
  right: 4%;
  bottom: 6px;
  left: 4%;
  height: 64px;
  border: 1px solid rgba(16, 24, 39, 0.11);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.8), transparent 42%),
    linear-gradient(180deg, #f8fafc, #dbe3ef 68%, #aeb9c9);
  box-shadow:
    0 28px 44px rgba(16, 24, 39, 0.16),
    inset 0 -1px 0 rgba(16, 24, 39, 0.12);
  clip-path: polygon(7% 0, 93% 0, 100% 82%, 0 82%);
  transform: rotateX(58deg) translateY(-4px);
  transform-origin: top center;
}

.laptop-base::after {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 22%;
  height: 10px;
  border-radius: 0 0 999px 999px;
  background: rgba(16, 24, 39, 0.12);
  content: "";
  transform: translateX(-50%);
}

.system-snapshot {
  position: relative;
  z-index: 2;
  width: calc(100% - 54px);
  margin: -54px 28px 0 -4px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 72px rgba(16, 24, 39, 0.13);
  overflow: hidden;
  padding: 1.18rem;
}

.system-snapshot::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  content: "";
}

.system-snapshot p {
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 640;
  text-transform: uppercase;
}

.system-snapshot h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.24rem, 2vw, 1.78rem);
  font-weight: 600;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mini-flow span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 243, 248, 0.66);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 540;
  padding: 0.34rem 0.58rem;
}

.metric-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 48px 0 18px;
}

.metric-card,
.story-card,
.pain-card,
.layer-card,
.principle-panel,
.boundary-card,
.production-loop,
.delivery-flow article,
.evidence-slots article,
.workflow-lanes article,
.tool-grid article,
.compare-grid article,
.impact-grid article,
.role-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-hairline);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.metric-card:hover,
.story-card:hover,
.pain-card:hover,
.layer-card:hover,
.principle-panel:hover,
.boundary-card:hover,
.production-loop:hover,
.delivery-flow article:hover,
.evidence-slots article:hover,
.workflow-lanes article:hover,
.tool-grid article:hover,
.compare-grid article:hover,
.impact-grid article:hover,
.role-grid article:hover {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.metric-card {
  min-height: 106px;
  padding: 0.95rem;
}

.hero-panel .metric-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.metric-value {
  display: block;
  color: var(--text);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 650;
  line-height: 1.05;
}

.metric-label {
  display: block;
  margin-top: 0.55rem;
  color: var(--subtle);
  font-size: 0.84rem;
}

.hero-visual {
  border: 1px solid rgba(16, 24, 39, 0.1);
  border-radius: var(--radius-soft);
  background: var(--surface-strong);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.visual-section {
  padding: 24px 0 58px;
}

.platform-brief {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: 1rem 1.4rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 249, 255, 0.72)),
    radial-gradient(circle at 94% 12%, rgba(124, 58, 237, 0.12), transparent 30%);
  box-shadow: var(--shadow-hairline);
  overflow: hidden;
  padding: 1rem;
}

.platform-brief::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--mint));
  content: "";
}

.platform-brief-copy {
  padding-left: 0.35rem;
}

.platform-brief-copy .eyebrow {
  margin-bottom: 0.42rem;
}

.platform-brief-copy h2 {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: clamp(1.16rem, 1.7vw, 1.58rem);
  line-height: 1.22;
}

.platform-brief-copy p {
  max-width: 62rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.platform-flow {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.48rem;
  min-width: 0;
}

.platform-flow span {
  white-space: nowrap;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 620;
  padding: 0.36rem 0.58rem;
}

.platform-flow i {
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.75));
}

.platform-brief-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  border-top: 1px solid rgba(16, 24, 39, 0.07);
  padding-top: 0.9rem;
}

.platform-brief-points article {
  min-height: 78px;
  border: 1px solid rgba(16, 24, 39, 0.07);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.78rem;
}

.platform-brief-points strong,
.platform-brief-points span {
  display: block;
}

.platform-brief-points strong {
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.platform-brief-points span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 74px;
}

.capability-card {
  position: relative;
  min-height: 172px;
  border: 1px solid rgba(16, 24, 39, 0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
  box-shadow: var(--shadow-hairline);
  overflow: hidden;
  padding: 1.16rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.capability-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.capability-card::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(37, 99, 235, 0.22) 48% 52%, transparent 53%),
    linear-gradient(transparent 47%, rgba(37, 99, 235, 0.22) 48% 52%, transparent 53%),
    rgba(255, 255, 255, 0.64);
  content: "";
  opacity: 0.7;
}

.capability-card:hover {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-card span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 640;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.capability-card h3 {
  margin: 0.95rem 0 0.5rem;
}

.capability-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.hero-panel .metric-value {
  font-size: clamp(1.45rem, 2.15vw, 2.2rem);
}

.asset-frame {
  position: relative;
  border: 1px solid rgba(16, 24, 39, 0.11);
  border-radius: var(--radius-soft);
  background: var(--surface-strong);
  box-shadow: 0 18px 48px rgba(16, 24, 39, 0.085);
  margin: 0;
  min-height: 320px;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.asset-frame::before,
.asset-frame::after {
  position: absolute;
  pointer-events: none;
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.asset-frame::before {
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.86) 44%, transparent 58%);
  transform: translateX(-62%);
}

.asset-frame::after {
  z-index: 3;
  top: 16px;
  right: 16px;
  width: fit-content;
  height: 30px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(16, 24, 39, 0.1);
  color: var(--blue);
  content: "AI preview";
  font-size: 0.76rem;
  font-weight: 660;
  letter-spacing: 0.04em;
  line-height: 28px;
  padding: 0 0.72rem;
  text-transform: uppercase;
  transform: translate3d(0, 8px, 0);
  backdrop-filter: blur(14px);
}

.asset-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  background:
    linear-gradient(rgba(16, 24, 39, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 39, 0.025) 1px, transparent 1px),
    #f7f8fb;
  background-size: 22px 22px, 22px 22px, auto;
  filter: saturate(0.98);
  transition:
    filter 420ms ease,
    transform 520ms ease;
}

.asset-frame:hover {
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 28px 78px rgba(16, 24, 39, 0.13);
  transform: translateY(-2px);
}

.asset-frame:hover::before {
  opacity: 1;
  animation: lottieSweep 1450ms cubic-bezier(0.2, 0.82, 0.2, 1) infinite;
}

.asset-frame:hover::after {
  opacity: 1;
  animation: lottieFloat 1500ms ease-in-out infinite alternate;
}

.asset-frame:hover img {
  filter: saturate(1.04) contrast(1.01);
  transform: scale(1.006);
}

.hero-product-window.laptop-window:hover {
  box-shadow: none;
  transform: translateX(20px) translateY(8px) rotateX(3deg) rotateY(-6.5deg) rotateZ(-0.8deg);
}

.asset-frame.compact {
  min-height: 260px;
}

.asset-frame.compact img {
  max-height: none;
}

.asset-frame figcaption {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 0.72rem 0.9rem;
}

.asset-frame figcaption::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint));
  content: "";
  transition: width 420ms ease;
}

.asset-frame:hover figcaption::before {
  width: 100%;
}

.asset-fallback {
  position: relative;
  z-index: 4;
  display: none;
  min-height: 320px;
  place-content: center;
  padding: 2rem;
  text-align: center;
}

.asset-fallback strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.15rem;
}

.asset-fallback span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.04);
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  padding: 0.38rem 0.62rem;
}

.asset-frame.is-missing img {
  display: none;
}

.asset-frame.is-missing .asset-fallback {
  display: grid;
}

@keyframes lottieSweep {
  0% {
    transform: translateX(-70%);
  }

  62% {
    transform: translateX(70%);
  }

  100% {
    transform: translateX(70%);
  }
}

@keyframes lottieFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, -5px, 0);
  }
}

.proof-grid {
  display: grid;
  gap: 18px;
}

.proof-grid + .proof-grid {
  margin-top: 18px;
}

.proof-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.6));
  box-shadow: 0 18px 52px rgba(16, 24, 39, 0.065);
  padding: 18px;
}

.proof-grid-small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(16, 24, 39, 0.06);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  padding: 14px;
}

.product-section .proof-grid-large {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.evidence-section .proof-grid-large,
.case-section .proof-grid-large {
  align-items: start;
}

.evidence-section .section-heading,
.product-section .section-heading,
.case-section .section-heading {
  max-width: 960px;
}

.product-section,
.evidence-section,
.case-section,
.interactive-section,
.workflow-section {
  border-top: 1px solid rgba(16, 24, 39, 0.06);
}

.product-section,
.case-summary {
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.56);
  clip-path: inset(0 -100vmax);
}

.evidence-section:nth-of-type(odd),
.case-section,
.toolchain-section,
.role-section {
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.48);
  clip-path: inset(0 -100vmax);
}

.impact-section {
  background: var(--surface-blue);
  box-shadow: 0 0 0 100vmax var(--surface-blue);
  clip-path: inset(0 -100vmax);
}

.architecture-section {
  background:
    linear-gradient(180deg, rgba(237, 249, 241, 0.98), rgba(244, 251, 255, 0.96));
  box-shadow: 0 0 0 100vmax rgba(239, 251, 245, 0.94);
  clip-path: inset(0 -100vmax);
}

.skill-focus,
.interactive-section {
  background:
    linear-gradient(180deg, rgba(251, 250, 243, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 0 100vmax rgba(251, 250, 243, 0.98);
  clip-path: inset(0 -100vmax);
}

.workflow-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #101827 0%, #111827 58%, #0d1320 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 0 0 100vmax #111827;
  color: #f8fafc;
  clip-path: inset(0 -100vmax);
}

.workflow-section .section-heading h2,
.workflow-section h3,
.workflow-section .defense-row strong,
.workflow-section .boundary-card strong {
  color: #f8fafc;
}

.workflow-section .section-heading p,
.workflow-section .principle-panel p,
.workflow-section .boundary-card li,
.workflow-section .boundary-card p,
.workflow-section .defense-row span,
.workflow-section .defense-row p,
.workflow-section .delivery-flow p,
.workflow-section .note-card p {
  color: rgba(226, 232, 240, 0.72);
}

.workflow-section .eyebrow,
.workflow-section .card-kicker {
  color: #67e8f9;
}

.workflow-section code {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.interactive-frame {
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: var(--radius-soft);
  background: var(--surface-strong);
  box-shadow: 0 30px 84px rgba(16, 24, 39, 0.13);
  overflow: hidden;
}

.browser-bar {
  display: grid;
  grid-template-columns: 12px 12px 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.12), transparent 30%),
    #111827;
  padding: 0.78rem 1rem;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.browser-bar span:nth-child(1) {
  background: #ff6b6b;
}

.browser-bar span:nth-child(2) {
  background: #f6c665;
}

.browser-bar span:nth-child(3) {
  background: #5ee0a6;
}

.browser-bar strong {
  min-width: 0;
  color: #d9dde6;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-bar a {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 560;
  padding: 0.35rem 0.68rem;
}

.interactive-frame iframe {
  display: block;
  width: 100%;
  height: min(78vh, 780px);
  min-height: 620px;
  border: 0;
  background: #fff;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.case-steps article,
.note-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.2rem;
}

.case-steps article {
  position: relative;
  overflow: hidden;
}

.case-steps article::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.34));
  content: "";
}

.workflow-section .note-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.5);
}

.case-steps span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 640;
  text-transform: uppercase;
}

.case-steps p,
.note-card p {
  color: var(--muted);
}

.microcase-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 26px;
  align-items: stretch;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-soft);
  background:
    radial-gradient(circle at 10% 0%, rgba(16, 185, 129, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.66));
  box-shadow: 0 26px 70px rgba(16, 24, 39, 0.1);
  margin: 0 0 26px;
  overflow: hidden;
  padding: clamp(1.2rem, 2vw, 1.75rem);
}

.microcase-panel::after {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
  content: "";
  opacity: 0.48;
  transform: rotate(8deg);
}

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

.microcase-panel h3 {
  max-width: 620px;
  margin-bottom: 0.72rem;
}

.microcase-panel p {
  color: var(--muted);
}

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

.case-metrics span {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.8rem 0.82rem;
}

.case-metrics strong {
  display: block;
  color: var(--text);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.34rem;
}

.microcase-ladder {
  display: grid;
  gap: 10px;
}

.microcase-ladder article {
  display: grid;
  grid-template-columns: auto minmax(0, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.06);
  padding: 1rem;
}

.microcase-ladder span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.microcase-ladder strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 560;
}

.microcase-ladder p {
  margin: 0;
}

.microcase-ladder code {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.note-card {
  min-height: 260px;
}

.note-card code {
  word-break: break-word;
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  filter: saturate(0.92);
}

.hero-visual figcaption {
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.86rem;
  padding: 0.7rem 1rem;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.section-heading p,
.insight-band > p,
.skill-copy p,
.closing-section p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 390;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
}

.summary-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.summary-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row span,
.summary-row strong {
  padding: 1rem 1.1rem;
}

.summary-row span {
  border-right: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.92rem;
}

.summary-row strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 540;
}

.story-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(237, 249, 241, 0.88), rgba(255, 255, 255, 0.94));
  overflow: hidden;
  padding: 1.4rem;
}

.story-card::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  background:
    linear-gradient(90deg, rgba(16, 185, 129, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.16) 1px, transparent 1px);
  background-size: 12px 12px;
  content: "";
  opacity: 0.62;
}

.card-kicker {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 640;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card p,
.pain-card p,
.layer-card p,
.evidence-slots p,
.workflow-lanes p,
.tool-grid p,
.compare-grid p,
.impact-grid p,
.role-grid p {
  color: var(--muted);
}

.pain-grid,
.layer-grid,
.tool-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-card,
.layer-card,
.tool-grid article,
.role-grid article {
  padding: 1.18rem;
}

.pain-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.9));
}

.pain-card .index,
.layer-number,
.workflow-lanes span,
.evidence-slots span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 640;
  text-transform: uppercase;
}

.insight-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 30px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.09), rgba(16, 185, 129, 0.08) 44%, transparent),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.52);
  clip-path: inset(0 -100vmax);
}

.insight-copy h2 {
  margin-bottom: 0;
}

.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.flow-map::before {
  position: absolute;
  top: 50%;
  right: 2%;
  left: 2%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.36), transparent);
  content: "";
}

.flow-map span {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(16, 24, 39, 0.07);
  color: var(--text);
  font-weight: 560;
  padding: 0.92rem;
  text-align: center;
}

.flow-map span:nth-child(3) {
  border-color: rgba(37, 99, 235, 0.26);
  background: #eef6ff;
  color: var(--blue);
}

.flow-map span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

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

.layer-card ul,
.data-backlog ul {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.layer-card li,
.data-backlog li {
  margin: 0.45rem 0;
}

.layer-card.featured {
  border-color: rgba(37, 99, 235, 0.24);
  background:
    linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 20px 58px rgba(37, 99, 235, 0.12);
}

.skill-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 26px;
  align-items: stretch;
}

.skill-copy {
  position: sticky;
  top: 128px;
  align-self: start;
  border-left: 2px solid var(--blue);
  padding-left: 1.25rem;
}

.evidence-slots {
  display: grid;
  gap: 12px;
}

.evidence-slots article {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
  overflow: hidden;
  padding: 1.2rem;
}

.evidence-slots article::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(90deg, transparent 46%, rgba(37, 99, 235, 0.2) 48% 52%, transparent 54%),
    linear-gradient(transparent 46%, rgba(37, 99, 235, 0.2) 48% 52%, transparent 54%);
  content: "";
}

.workflow-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.workflow-lanes article {
  min-height: 172px;
  padding: 1.2rem;
}

.principle-panel {
  border-color: rgba(103, 232, 249, 0.26);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.56)),
    rgba(255, 255, 255, 0.04);
  margin-bottom: 18px;
  padding: 1.35rem;
}

.principle-panel h3 {
  max-width: 860px;
  font-size: clamp(1.22rem, 2.08vw, 1.72rem);
}

.principle-panel p {
  max-width: 980px;
  color: var(--muted);
}

.principle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.principle-tags span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.88rem;
  font-weight: 540;
  padding: 0.42rem 0.72rem;
}

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

.boundary-card {
  background: rgba(15, 23, 42, 0.52);
  padding: 1.22rem;
}

.boundary-card.positive {
  border-color: rgba(16, 185, 129, 0.34);
}

.boundary-card.negative {
  border-color: rgba(245, 158, 11, 0.34);
}

.boundary-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.boundary-card li {
  margin: 0.55rem 0;
}

.boundary-card strong {
  color: var(--text);
}

.defense-table {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.54);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
  margin-bottom: 18px;
  overflow: hidden;
}

.defense-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(82px, 0.4fr) minmax(210px, 1.35fr) minmax(290px, 1.8fr) minmax(90px, 0.5fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 50%);
}

.defense-row:last-child {
  border-bottom: 0;
}

.defense-row > * {
  margin: 0;
  padding: 0.9rem;
}

.defense-row > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.defense-head {
  background: rgba(255, 255, 255, 0.08);
}

.defense-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 640;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.defense-row strong {
  color: var(--text);
  font-weight: 570;
}

.defense-row span,
.defense-row p {
  color: var(--muted);
}

.defense-row .risk-rate {
  align-self: center;
  justify-self: start;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  color: #99f6e4;
  font-size: 0.92rem;
  font-weight: 610;
  padding: 0.22rem 0.52rem;
}

.delivery-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.delivery-flow article {
  position: relative;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.64), rgba(15, 23, 42, 0.44));
  min-height: 176px;
  padding: 1.08rem;
}

.delivery-flow article:not(:last-child)::after {
  position: absolute;
  top: 2rem;
  right: -12px;
  width: 12px;
  height: 1px;
  background: rgba(103, 232, 249, 0.34);
  content: "";
}

.delivery-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.12);
  color: #67e8f9;
  font-size: 0.82rem;
  font-weight: 620;
  margin-bottom: 1rem;
}

.delivery-flow p {
  color: var(--muted);
}

.production-loop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: start;
  border-color: rgba(103, 232, 249, 0.2);
  background:
    radial-gradient(circle at 10% 10%, rgba(103, 232, 249, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.48));
  margin-bottom: 26px;
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.production-loop::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(103, 232, 249, 0.14);
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, rgba(103, 232, 249, 0.24), transparent 30%, rgba(167, 139, 250, 0.18), transparent 72%),
    rgba(255, 255, 255, 0.02);
  content: "";
  filter: blur(0.2px);
  opacity: 0.7;
}

.loop-copy,
.loop-rail,
.handoff-grid {
  position: relative;
  z-index: 1;
}

.loop-copy h3 {
  max-width: 560px;
  font-size: clamp(1.16rem, 2vw, 1.52rem);
}

.loop-copy p {
  max-width: 620px;
  color: rgba(226, 232, 240, 0.72);
}

.loop-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.loop-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.82rem;
  font-weight: 540;
  padding: 0.32rem 0.68rem;
}

.handoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.handoff-grid div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.92rem;
}

.handoff-grid span {
  display: inline-block;
  color: #67e8f9;
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}

.handoff-grid strong {
  display: block;
  color: #f8fafc;
  font-size: 0.98rem;
  font-weight: 560;
  margin-bottom: 0.46rem;
}

.handoff-grid p {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.88rem;
  line-height: 1.72;
  margin: 0;
}

.responsibility-grid {
  margin-top: 16px;
}

.process-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-hairline);
  overflow: hidden;
}

.process-row {
  display: grid;
  grid-template-columns: 110px 230px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.process-row:last-child {
  border-bottom: 0;
}

.process-row > * {
  margin: 0;
  padding: 1rem;
}

.process-row > * + * {
  border-left: 1px solid var(--line);
}

.process-row span {
  color: var(--subtle);
  font-weight: 570;
}

.process-row p {
  color: var(--muted);
}

.process-head {
  background: #f1f5f9;
}

.process-head span {
  color: var(--muted);
}

.tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.compare-grid article {
  padding: 1.25rem;
}

.compare-grid article:last-child {
  border-color: rgba(16, 185, 129, 0.28);
  background:
    linear-gradient(180deg, rgba(239, 251, 245, 0.84), rgba(255, 255, 255, 0.92));
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.impact-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.78));
  padding: 1.08rem;
}

.data-backlog {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 1.24rem;
}

.data-backlog h3 {
  margin-bottom: 0.4rem;
}

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

.closing-section {
  padding-bottom: 132px;
}

.closing-section {
  width: min(var(--max), calc(100% - 40px));
  border: 1px solid rgba(16, 24, 39, 0.14);
  border-radius: var(--radius-soft);
  background: var(--ink);
  color: #fff;
  padding-right: clamp(1.3rem, 4vw, 3rem);
  padding-left: clamp(1.3rem, 4vw, 3rem);
}

.closing-section h2 {
  max-width: 920px;
  color: #fff;
}

.closing-section p {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.74);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
  .summary-grid,
  .insight-band,
  .skill-focus {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel::before {
    inset: 44px -8px 32px 18px;
  }

  .hero-product-window {
    transform: none;
  }

  .hero-product-window.laptop-window,
  .hero-product-window.laptop-window:hover {
    transform: none;
  }

  .laptop-mockup {
    width: 100%;
    padding-bottom: 44px;
  }

  .system-snapshot {
    width: 100%;
    margin: 12px 0 0;
  }

  .metric-grid {
    margin: 12px 0 0;
  }

  .skill-copy {
    position: static;
  }

  .pain-grid,
  .layer-grid,
  .tool-grid,
  .capability-strip,
  .impact-grid,
  .role-grid,
  .delivery-flow,
  .proof-grid-small,
  .case-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-lanes,
  .flow-map,
  .boundary-grid,
  .proof-grid-large,
  .production-loop,
  .microcase-panel {
    grid-template-columns: 1fr 1fr;
  }

  .production-loop,
  .microcase-panel {
    grid-template-columns: 1fr;
  }

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

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

  .flow-map span:not(:last-child)::after,
  .delivery-flow article:not(:last-child)::after {
    display: none;
  }

  .defense-row {
    grid-template-columns: minmax(140px, 0.9fr) minmax(74px, 0.38fr) minmax(190px, 1.2fr) minmax(240px, 1.55fr) minmax(86px, 0.45fr);
  }
}

@media (max-width: 680px) {
  .section-pad {
    width: min(100% - 28px, var(--max));
    padding: 66px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7.5vw, 2.12rem);
  }

  .hero-lead,
  .section-heading p,
  .insight-band > p,
  .skill-copy p,
  .closing-section p {
    font-size: 1rem;
  }

  .summary-row,
  .process-row,
  .defense-row {
    grid-template-columns: 1fr;
  }

  .summary-row span,
  .process-row > * + *,
  .defense-row > * + *,
  .summary-row span {
    border-right: 0;
    border-left: 0;
  }

  .summary-row span {
    padding-bottom: 0.2rem;
  }

  .summary-row strong {
    padding-top: 0.2rem;
  }

  .pain-grid,
  .layer-grid,
  .tool-grid,
  .capability-strip,
  .impact-grid,
  .role-grid,
  .workflow-lanes,
  .flow-map,
    .boundary-grid,
    .delivery-flow,
    .production-loop,
    .handoff-grid,
    .compare-grid,
    .proof-grid-large,
    .proof-grid-small,
  .case-steps,
  .microcase-panel,
  .case-metrics {
    grid-template-columns: 1fr;
  }

  .microcase-ladder article {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .browser-bar {
    grid-template-columns: 10px 10px 10px minmax(0, 1fr);
  }

  .browser-bar a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .interactive-frame iframe {
    height: 620px;
    min-height: 620px;
  }
}

/* Portfolio polish pass: semantic visuals, lighter hero, and stronger case storytelling. */
.system-snapshot h2 {
  display: grid;
  gap: 0.14rem;
  font-size: clamp(1.22rem, 1.72vw, 1.52rem);
  font-weight: 560;
  line-height: 1.14;
}

.system-snapshot h2 span {
  display: block;
}

.metric-grid {
  gap: 10px;
  margin: 10px 70px 0 30px;
}

.hero-panel .metric-card {
  min-height: 92px;
  border-color: rgba(16, 24, 39, 0.075);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 1px rgba(16, 24, 39, 0.025);
  padding: 0.78rem 0.84rem;
}

.hero-panel .metric-card:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 14px 36px rgba(16, 24, 39, 0.075);
}

.hero-panel .metric-value {
  color: #22314a;
  font-size: clamp(1.2rem, 1.75vw, 1.62rem);
  font-weight: 560;
}

.hero-panel .metric-label {
  color: #718197;
  font-size: 0.76rem;
  line-height: 1.42;
}

.capability-card {
  padding-right: 4.6rem;
}

.capability-card::after,
.story-card::after,
.evidence-slots article::after {
  display: none;
}

.capability-card .capability-kicker {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 640;
  padding: 0.28rem 0.55rem;
  text-transform: uppercase;
}

.capability-icon {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 246, 255, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.capability-icon::before,
.capability-icon::after {
  position: absolute;
  content: "";
}

.capability-product .capability-icon::before {
  top: 11px;
  left: 9px;
  width: 20px;
  height: 13px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.capability-product .capability-icon::after {
  top: 27px;
  left: 10px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
}

.capability-system .capability-icon::before {
  inset: 9px;
  border: 2px solid var(--blue);
  border-radius: 8px;
}

.capability-system .capability-icon::after {
  top: 18px;
  left: 12px;
  width: 16px;
  height: 2px;
  box-shadow: 0 6px 0 var(--cyan), 0 -6px 0 var(--mint);
  background: var(--blue);
}

.capability-skill .capability-icon::before {
  top: 9px;
  left: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.capability-skill .capability-icon::after {
  top: 18px;
  left: 18px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow:
    -9px 8px 0 var(--cyan),
    9px 8px 0 var(--violet);
}

.capability-workflow .capability-icon::before {
  top: 12px;
  left: 9px;
  width: 22px;
  height: 16px;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--mint);
}

.capability-workflow .capability-icon::after {
  top: 11px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.thinking-frame {
  display: flex;
  flex-direction: column;
}

.thinking-frame img {
  flex: 1 1 auto;
}

.thinking-caption {
  display: grid;
  gap: 0.34rem;
  border-top-color: rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.78);
}

.thinking-caption strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.thinking-caption em {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  font-style: normal;
  font-weight: 560;
  padding: 0.24rem 0.58rem;
}

.pain-card {
  position: relative;
  min-height: 182px;
  overflow: hidden;
  padding-right: 5.3rem;
}

.pain-card::after {
  position: absolute;
  right: 1.1rem;
  bottom: 1.15rem;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.08)),
    rgba(255, 255, 255, 0.54);
  content: "";
}

.pain-card::before {
  position: absolute;
  z-index: 1;
  right: 1.76rem;
  bottom: 1.78rem;
  content: "";
}

.pain-figma::before {
  width: 22px;
  height: 30px;
  border: 2px solid var(--blue);
  border-radius: 4px 10px 4px 4px;
  box-shadow: -9px 8px 0 -4px var(--cyan);
}

.pain-queue::before {
  width: 28px;
  height: 28px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: conic-gradient(var(--amber) 0 25%, transparent 0 100%);
}

.pain-rework::before {
  width: 32px;
  height: 18px;
  border-top: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  border-radius: 999px;
  transform: rotate(-12deg);
}

.insight-band {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: max(40px, calc((100vw - var(--max)) / 2));
  padding-left: max(40px, calc((100vw - var(--max)) / 2));
}

.flow-map span:nth-child(3),
.layer-card.featured {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(16, 24, 39, 0.07);
}

.layer-one-evidence .proof-grid-large,
.layer-one-evidence .proof-grid-small {
  position: relative;
  overflow: hidden;
}

.layer-one-evidence .proof-grid-large::before {
  position: absolute;
  z-index: 0;
  top: 14px;
  left: 18px;
  color: rgba(37, 99, 235, 0.5);
  content: "RULES / TOKENS / CONSTRAINTS";
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.layer-one-evidence .proof-grid-large::after,
.layer-one-evidence .proof-grid-small::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 60%),
    conic-gradient(from 90deg, rgba(16, 185, 129, 0.12), transparent 30%, rgba(37, 99, 235, 0.12), transparent 70%);
  content: "";
}

.layer-one-evidence .proof-grid-large .asset-frame,
.layer-one-evidence .proof-grid-small .asset-frame {
  position: relative;
  z-index: 1;
  box-shadow:
    0 22px 60px rgba(37, 99, 235, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.layer-one-evidence .proof-grid-large .asset-frame:nth-child(1) {
  transform: rotate(-0.7deg);
}

.layer-one-evidence .proof-grid-large .asset-frame:nth-child(2) {
  transform: rotate(0.7deg);
}

.layer-one-evidence .proof-grid-large .asset-frame:hover,
.layer-one-evidence .proof-grid-small .asset-frame:hover {
  transform: translateY(-4px) rotate(0deg);
}

.design-thinking-card {
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.74));
  box-shadow: var(--shadow-hairline);
  overflow: hidden;
  padding: 1.2rem;
}

.design-thinking-card::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
  background-size: 14px 14px;
  content: "";
  opacity: 0.52;
}

.design-thinking-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.design-thinking-card h3 {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.boundary-card {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding-right: 8rem;
}

.case-steps article {
  padding-top: 3.35rem;
}

.case-steps article::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 650;
}

.case-step-locate::before {
  content: "⌖";
}

.case-step-code::before {
  content: "</>";
  font-size: 0.72rem;
}

.case-step-ai::before {
  content: "AI";
  font-size: 0.72rem;
}

.case-step-preview::before {
  content: "◉";
}

.case-step-handoff::before {
  content: "↗";
}

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

.diff-zoom figure {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-hairline);
  margin: 0;
  overflow: hidden;
}

.diff-zoom figure > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.56rem;
  text-transform: uppercase;
}

.diff-zoom img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top right;
  transform: scale(1.42);
  transform-origin: top right;
}

.diff-zoom figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0.72rem 0.86rem;
}

.data-backlog {
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.76));
  box-shadow: var(--shadow-hairline);
}

.data-backlog ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.data-backlog li {
  display: grid;
  min-height: 96px;
  align-content: end;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
  margin: 0;
  padding: 0.88rem;
}

.data-backlog li strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1;
  margin-bottom: 0.46rem;
}

.closing-section {
  margin-bottom: 128px;
}

@media (max-width: 980px) {
  .metric-grid {
    margin: 12px 0 0;
  }

  .insight-band {
    padding-right: max(20px, calc((100vw - var(--max)) / 2));
    padding-left: max(20px, calc((100vw - var(--max)) / 2));
  }

  .boundary-card {
    padding-right: 1.22rem;
  }

  .diff-zoom,
  .data-backlog ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }

  .hero-panel .metric-card {
    min-height: 86px;
  }

  .capability-card,
  .pain-card {
    padding-right: 1.16rem;
  }

  .capability-icon,
  .pain-card::before,
  .pain-card::after {
    display: none;
  }

  .diff-zoom img {
    height: 180px;
  }

  .closing-section {
    margin-bottom: 86px;
  }
}

/* AI DesignOps portfolio polish: lighter blue-violet product case language */
:root {
  --bg: #f5f8ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-muted: #eef4ff;
  --surface-blue: #edf5ff;
  --surface-lavender: #f5f2ff;
  --ink: #101a33;
  --text: #17223b;
  --muted: #60708c;
  --subtle: #91a0b7;
  --blue: #4b63ff;
  --cyan: #38c9f2;
  --mint: #3bd6a3;
  --violet: #8b5cf6;
  --line: rgba(70, 88, 126, 0.14);
  --line-strong: rgba(70, 88, 126, 0.22);
  --radius: 12px;
  --radius-soft: 18px;
  --shadow-soft: 0 18px 58px rgba(73, 91, 140, 0.12);
  --shadow-lift: 0 34px 90px rgba(55, 73, 128, 0.18);
  --shadow-hairline: 0 1px 2px rgba(31, 43, 74, 0.05);
}

body {
  background:
    linear-gradient(rgba(72, 99, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 99, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(59, 214, 163, 0.2), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(139, 92, 246, 0.14), transparent 32%),
    linear-gradient(180deg, #f8fcff 0%, #eef8f3 42%, #f8fbff 72%, #f3f6ff 100%);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

.site-shell {
  padding-bottom: 150px;
}

.section-pad {
  padding-top: clamp(72px, 8vw, 124px);
  padding-bottom: clamp(72px, 8vw, 124px);
}

.announcement a,
.topbar,
.summary-table,
.story-card,
.pain-card,
.layer-card,
.asset-frame,
.evidence-slots article,
.workflow-lanes article,
.principle-panel,
.boundary-card,
.case-steps article,
.microcase-panel,
.why-it-matters,
.note-card,
.release-proof-card,
.compare-grid article,
.tool-grid article,
.impact-grid article,
.role-grid article {
  border-color: rgba(80, 102, 145, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.74)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 20px 60px rgba(73, 91, 140, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
  backdrop-filter: blur(18px);
}

.topbar {
  top: 18px;
  border-radius: 24px;
  padding: 0.62rem 0.76rem;
}

.nav-links {
  border-color: rgba(80, 102, 145, 0.12);
  background: rgba(236, 242, 255, 0.72);
}

.nav-links a.is-active,
.nav-links a:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(54, 75, 140, 0.1);
}

.hero {
  align-items: center;
  grid-template-columns: minmax(440px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 128px);
  padding-top: clamp(86px, 9vw, 146px);
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  max-width: 680px;
  margin: 0.58rem 0 1.24rem;
  color: #14213f;
  font-size: clamp(3.05rem, 3.55vw, 4.15rem);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 span {
  display: block;
  white-space: normal;
}

.hero-lead {
  max-width: 660px;
  color: #536984;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.78;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.hero-product-window {
  grid-column: 1 / -1;
}

.hero-product-window.laptop-window {
  transform: perspective(1200px) translateX(12px) translateY(12px) rotateX(3deg) rotateY(-8deg) rotateZ(-1.2deg);
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 420ms ease;
}

.hero-product-window.laptop-window:hover {
  filter: saturate(1.04);
  transform: perspective(1200px) translateX(0) translateY(2px) rotateX(1deg) rotateY(-4deg) rotateZ(-0.4deg);
}

.laptop-mockup {
  width: min(100%, 720px);
}

.laptop-screen {
  border: 12px solid #16223c;
  border-radius: 22px 22px 16px 16px;
  padding: 0;
}

.laptop-screen-bar {
  height: 28px;
  border-radius: 0;
}

.laptop-screen img {
  border-radius: 0 0 6px 6px;
}

.system-snapshot,
.hero-role-card {
  grid-column: 1 / -1;
  border: 1px solid rgba(80, 102, 145, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.84)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 58px rgba(73, 91, 140, 0.1);
}

.system-snapshot {
  border-top: 3px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--blue), var(--cyan), var(--mint)) border-box;
}

.system-snapshot h2 {
  max-width: 680px;
  color: #16223c;
  font-size: clamp(1.42rem, 2vw, 2.06rem);
  line-height: 1.16;
}

.system-snapshot h2 span {
  display: block;
}

.hero-role-card p,
.system-snapshot p {
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-role-card {
  padding: 1rem 1.12rem;
}

.hero-role-card h2 {
  margin: 0.18rem 0 0.36rem;
  color: #14213f;
  font-size: 1.02rem;
}

.hero-role-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.hero-panel .metric-card {
  min-height: 106px;
  border-color: rgba(80, 102, 145, 0.1);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  opacity: 0.78;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-panel .metric-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(75, 99, 255, 0.22);
  box-shadow: 0 18px 38px rgba(73, 91, 140, 0.1);
}

.hero-panel .metric-value {
  color: #192743;
  font-weight: 620;
}

.capability-strip {
  gap: 14px;
}

.capability-card {
  min-height: 168px;
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.capability-card:hover,
.pain-card:hover,
.layer-card:hover,
.asset-frame:hover,
.evidence-slots article:hover,
.case-steps article:hover,
.compare-grid article:hover,
.tool-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 99, 255, 0.22);
  box-shadow: 0 26px 70px rgba(73, 91, 140, 0.14);
}

.capability-card .capability-kicker {
  background: rgba(75, 99, 255, 0.08);
}

.capability-icon {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #4863ff;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.capability-icon::before,
.capability-icon::after {
  display: none;
}

.capability-card[data-icon="IA"] .capability-icon::before,
.capability-card[data-icon="DS"] .capability-icon::before,
.capability-card[data-icon="AI"] .capability-icon::before,
.capability-card[data-icon="MR"] .capability-icon::before {
  display: block;
  position: static;
}

.capability-card[data-icon="IA"] .capability-icon::before {
  content: "IA";
}

.capability-card[data-icon="DS"] .capability-icon::before {
  content: "DS";
}

.capability-card[data-icon="AI"] .capability-icon::before {
  content: "AI";
}

.capability-card[data-icon="MR"] .capability-icon::before {
  content: "MR";
}

.summary-row strong {
  font-weight: 610;
}

.story-card::after,
.evidence-slots article::after,
.design-thinking-card::after {
  display: none;
}

.story-card {
  border-left: 3px solid var(--blue);
}

.pain-grid {
  gap: 14px;
}

.pain-card {
  padding-right: 5rem;
}

.pain-card::after {
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.88) 0 18%, transparent 19%),
    linear-gradient(135deg, rgba(75, 99, 255, 0.16), rgba(56, 201, 242, 0.12), rgba(59, 214, 163, 0.1));
}

.insight-band {
  border: 0;
  background:
    linear-gradient(120deg, rgba(235, 246, 255, 0.94), rgba(245, 242, 255, 0.84) 52%, rgba(241, 255, 250, 0.88)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 0 100vmax rgba(239, 248, 255, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.flow-map {
  gap: 12px;
}

.flow-map::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(75, 99, 255, 0.08), rgba(56, 201, 242, 0.4), rgba(59, 214, 163, 0.24));
}

.flow-map span,
.flow-map span:nth-child(3) {
  border-color: rgba(80, 102, 145, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: #17223b;
  box-shadow: 0 18px 44px rgba(73, 91, 140, 0.08);
}

.flow-map span::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  margin: 0 auto 0.5rem;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.42;
}

.layer-card,
.layer-card.featured {
  border-color: rgba(80, 102, 145, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.78)),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(73, 91, 140, 0.08);
}

.layer-card.featured::before {
  display: none;
}

.layer-number {
  color: #70829d;
}

.layer-one-evidence .proof-grid-large,
.layer-one-evidence .proof-grid-small {
  border: 1px solid rgba(75, 99, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 92, 246, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(245, 248, 255, 0.82), rgba(238, 249, 255, 0.72));
  padding: 1.12rem;
}

.layer-one-evidence .proof-grid-large::after,
.layer-one-evidence .proof-grid-small::after {
  display: none;
}

.design-thinking-card {
  min-height: 230px;
}

.skill-focus {
  align-items: center;
}

.evidence-slots article {
  position: relative;
  padding-right: 1.25rem;
}

.evidence-slots article::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, rgba(75, 99, 255, 0.62), rgba(56, 201, 242, 0.46));
}

.principle-panel,
.boundary-card,
.delivery-flow,
.production-loop,
.workflow-section {
  color-scheme: light;
}

.boundary-card {
  min-height: auto;
  padding-right: 1.3rem;
}

.boundary-card.positive {
  border-color: rgba(59, 214, 163, 0.28);
}

.boundary-card.negative {
  border-color: rgba(245, 158, 11, 0.28);
}

.release-proof-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 260px;
  border-color: rgba(75, 99, 255, 0.18);
  background:
    radial-gradient(circle at 88% 82%, rgba(56, 201, 242, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(33, 46, 78, 0.92), rgba(69, 88, 142, 0.82));
  color: #eef5ff;
  padding: 1.35rem;
}

.release-proof-card h3 {
  max-width: 420px;
  color: #ffffff;
}

.release-proof-card p {
  color: rgba(232, 240, 255, 0.78);
}

.release-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 1.05rem 0;
}

.release-steps span {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 620;
  padding: 0.42rem 0.58rem;
  text-align: center;
}

.release-steps span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  content: "";
}

.case-steps {
  gap: 10px;
}

.case-steps article {
  padding-top: 1.25rem;
  padding-right: 1.1rem;
}

.case-steps article::before {
  position: static;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(75, 99, 255, 0.1), rgba(56, 201, 242, 0.08));
}

.microcase-panel {
  border-color: rgba(75, 99, 255, 0.14);
  background:
    radial-gradient(circle at 8% 0%, rgba(59, 214, 163, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.8));
}

.why-it-matters {
  border-left: 3px solid var(--mint);
  margin: 18px 0;
  padding: 1.35rem 1.5rem;
}

.why-it-matters h3 {
  margin-bottom: 0.48rem;
}

.diff-zoom figure:hover img {
  transform: scale(1.52);
}

.collab-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.collab-map article {
  position: relative;
  border: 1px solid rgba(80, 102, 145, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.8)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 60px rgba(73, 91, 140, 0.1);
  overflow: hidden;
  padding: 1.25rem;
}

.collab-map article:nth-child(2) {
  border-color: rgba(59, 214, 163, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 214, 163, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 255, 250, 0.82));
}

.collab-flow {
  display: grid;
  gap: 8px;
  margin: 1rem 0;
}

.collab-flow span {
  position: relative;
  border: 1px solid rgba(80, 102, 145, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #17223b;
  font-weight: 610;
  padding: 0.62rem 0.75rem 0.62rem 2.2rem;
}

.collab-flow span::before {
  position: absolute;
  top: 50%;
  left: 0.78rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
  transform: translateY(-50%);
}

.collab-map article:nth-child(2) .collab-flow span::before {
  background: var(--mint);
}

.collab-flow span:not(:last-child)::after {
  position: absolute;
  bottom: -9px;
  left: 1rem;
  width: 1px;
  height: 9px;
  background: rgba(80, 102, 145, 0.2);
  content: "";
}

.compare-grid article:nth-child(2) {
  border-color: rgba(59, 214, 163, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 214, 163, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

.data-backlog {
  border-radius: 22px;
  padding: 1.2rem;
}

.data-backlog li {
  min-height: 112px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.data-backlog li:hover {
  transform: translateY(-3px);
  border-color: rgba(75, 99, 255, 0.2);
  box-shadow: 0 16px 38px rgba(73, 91, 140, 0.1);
}

.closing-section {
  margin-bottom: 180px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(56, 201, 242, 0.2), transparent 34%),
    linear-gradient(135deg, #17223f, #274a83 58%, #205a74);
}

@keyframes softDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(4px, -4px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.capability-card:hover .capability-icon,
.case-steps article:hover::before,
.flow-map span:hover::before {
  animation: softDrift 1.2s ease-in-out infinite;
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(390px, 0.9fr) minmax(460px, 1fr);
    gap: 24px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.7rem, 3.45vw, 3.2rem);
    line-height: 1.08;
  }

  .hero-lead {
    max-width: 540px;
    font-size: 0.98rem;
  }

  .hero-product-window.laptop-window {
    transform: perspective(1100px) translateX(4px) translateY(8px) rotateX(2deg) rotateY(-5deg) rotateZ(-0.8deg);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy,
  .hero h1,
  .hero-lead {
    max-width: 780px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 6vw, 4.1rem);
  }

  .hero-product-window.laptop-window {
    transform: none;
  }

  .laptop-mockup {
    margin-left: 0;
  }

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

@media (max-width: 760px) {
  .hero h1 span {
    white-space: normal;
  }

  .hero-panel,
  .metric-grid,
  .release-steps,
  .data-backlog ul {
    grid-template-columns: 1fr;
  }

  .hero-panel .metric-card {
    min-height: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-card:hover .capability-icon,
  .case-steps article:hover::before,
  .flow-map span:hover::before {
    animation: none;
  }
}

/* Final pass: lighter blue-violet case-study polish */
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.95rem, 3.25vw, 3.9rem);
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 690px;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.78;
}

.asset-frame img {
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 420ms ease;
}

.asset-frame:hover img {
  transform: scale(1.015);
  filter: saturate(1.04) contrast(1.02);
}

.hero-product-window:hover img,
.diff-zoom figure:hover img {
  transform: none;
}

.primary-link,
.secondary-link,
.topbar nav a,
.capability-card,
.metric-card,
.summary-row,
.evidence-slots article,
.boundary-card,
.collab-card {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.topbar nav a:hover,
.capability-card:hover,
.metric-card:hover,
.summary-row:hover,
.evidence-slots article:hover,
.boundary-card:hover,
.collab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(76, 101, 255, 0.13);
}

.workflow-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(154, 121, 255, 0.13), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(33, 203, 216, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(241, 247, 255, 0.95));
  box-shadow: 0 0 0 100vmax rgba(244, 249, 255, 0.82);
  clip-path: inset(0 -100vmax);
}

.workflow-section::before {
  opacity: 0.45;
}

.workflow-section .section-heading h2,
.workflow-section h3,
.workflow-section h4,
.boundary-card h3,
.principle-panel h3,
.release-proof-card h3,
.production-loop h3 {
  color: var(--ink);
}

.workflow-section .section-heading p,
.principle-panel p,
.boundary-card p,
.boundary-card li,
.production-loop p,
.release-proof-card p {
  color: var(--muted);
}

.principle-panel,
.boundary-card,
.defense-table,
.production-loop,
.release-proof-card {
  color-scheme: light;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.86));
  border: 1px solid rgba(119, 146, 214, 0.26);
  box-shadow: 0 26px 70px rgba(58, 76, 122, 0.09);
}

.principle-panel {
  border-color: rgba(68, 201, 224, 0.22);
}

.boundary-card.positive {
  border-color: rgba(42, 198, 168, 0.3);
  background:
    radial-gradient(circle at 92% 16%, rgba(42, 198, 168, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 255, 250, 0.84));
}

.boundary-card.negative {
  border-color: rgba(158, 122, 255, 0.28);
  background:
    radial-gradient(circle at 92% 16%, rgba(158, 122, 255, 0.14), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 255, 0.88));
}

.defense-table {
  overflow: hidden;
}

.defense-head {
  background: linear-gradient(90deg, rgba(74, 99, 255, 0.08), rgba(31, 206, 216, 0.06));
  color: var(--muted);
}

.defense-row {
  border-color: rgba(119, 146, 214, 0.16);
}

.defense-row strong {
  color: var(--ink);
}

.defense-row p,
.defense-row span {
  color: var(--muted);
}

.risk-rate {
  color: #168166;
  background: rgba(42, 198, 168, 0.12);
  border-color: rgba(42, 198, 168, 0.28);
}

.release-proof-card {
  min-height: 260px;
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 126, 255, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(239, 244, 255, 0.9));
}

.release-steps span {
  color: #2554d8;
  background: rgba(74, 99, 255, 0.1);
  border-color: rgba(74, 99, 255, 0.18);
}

.release-steps span.is-done {
  color: #147a63;
  background: rgba(42, 198, 168, 0.14);
  border-color: rgba(42, 198, 168, 0.24);
}

.collab-map {
  background:
    radial-gradient(circle at 46% 50%, rgba(118, 143, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 247, 255, 0.82));
}

.collab-flow {
  counter-reset: collabStep;
}

.collab-flow span {
  position: relative;
  padding-left: 3.3rem;
}

.collab-flow span::before {
  content: counter(collabStep);
  counter-increment: collabStep;
  position: absolute;
  left: 1.05rem;
  top: 50%;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5a72ff, #32c9d5);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(74, 99, 255, 0.22);
}

.collab-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.9rem;
  bottom: -13px;
  width: 1px;
  height: 13px;
  background: linear-gradient(180deg, rgba(74, 99, 255, 0.34), transparent);
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(430px, 0.9fr) minmax(440px, 1fr);
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.5rem, 3vw, 3.1rem);
    line-height: 1.1;
  }
}

@media (max-width: 760px) {
  .hero h1 span {
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }
}

/* VoC brand accents from extended visual assets */
.brand-logo {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  border-radius: 0.55rem;
  filter: drop-shadow(0 8px 18px rgba(74, 99, 255, 0.2));
}

.hero-panel {
  isolation: isolate;
}

.hero-panel > :not(.voc-hero-orb) {
  position: relative;
  z-index: 1;
}

.voc-hero-orb {
  position: absolute;
  top: -4.6rem;
  right: -4.2rem;
  z-index: 0;
  width: clamp(8rem, 14vw, 12.5rem);
  opacity: 0.28;
  pointer-events: none;
  transform: rotate(-9deg);
  filter: saturate(1.08) drop-shadow(0 28px 48px rgba(45, 198, 214, 0.18));
  animation: vocAccentFloat 8s ease-in-out infinite;
}

.case-summary,
.skill-focus,
.closing-section {
  position: relative;
  overflow: hidden;
}

.case-summary::after,
.skill-focus::after,
.closing-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(5rem, 9vw, 8.5rem);
  aspect-ratio: 1;
  background: url("./assets/voc-brand/voc-orb-frame.svg") center / contain no-repeat;
  opacity: 0.075;
  pointer-events: none;
  filter: saturate(1.08);
}

.case-summary::after {
  right: max(2.5rem, 6vw);
  top: 4.5rem;
  transform: rotate(12deg);
}

.skill-focus::after {
  right: max(2rem, 5vw);
  bottom: 3rem;
  transform: rotate(-15deg);
}

.closing-section::after {
  right: 3.5rem;
  bottom: 2.5rem;
  opacity: 0.1;
  transform: rotate(10deg);
}

.case-summary > *,
.skill-focus > *,
.closing-section > * {
  position: relative;
  z-index: 1;
}

@keyframes vocAccentFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-9deg);
  }

  50% {
    transform: translate3d(-0.45rem, 0.65rem, 0) rotate(-5deg);
  }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(35rem, 0.95fr) minmax(31rem, 1fr);
  }

  .hero h1 {
    max-width: 36rem;
    font-size: clamp(2.6rem, 4.7vw, 3.45rem);
  }
}

@media (max-width: 900px) {
  .voc-hero-orb,
  .case-summary::after,
  .skill-focus::after,
  .closing-section::after {
    display: none;
  }
}

/* Hero viewport polish after adding VoC brand assets */
.hero {
  align-items: start;
  min-height: min(780px, calc(100vh - 72px));
  padding-top: clamp(54px, 6vw, 92px);
  padding-bottom: clamp(48px, 5vw, 82px);
}

.hero-copy {
  justify-content: flex-start;
  min-height: 0;
  padding-top: clamp(28px, 6vw, 92px);
}

.hero-panel {
  align-self: start;
  min-height: 0;
}

.hero-product-window.laptop-window {
  margin-top: 0;
}

.system-snapshot {
  margin-top: -0.5rem;
}

@media (min-width: 1101px) {
  .hero h1 {
    max-width: 42rem;
  }
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(37rem, 1fr) minmax(27rem, 0.86fr);
    gap: clamp(20px, 2.6vw, 34px);
    padding-top: 50px;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero h1 {
    max-width: 39rem;
    font-size: clamp(2.58rem, 3.85vw, 3rem);
    line-height: 1.07;
  }

  .hero-lead {
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.72;
  }

  .laptop-mockup {
    width: min(100%, 560px);
  }

  .system-snapshot h2 {
    font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  }

  .hero-panel .metric-card {
    min-height: 84px;
  }

  .voc-hero-orb {
    top: -2.6rem;
    right: -1.6rem;
    width: 8.2rem;
    opacity: 0.2;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-copy {
    padding-top: 0;
  }
}

/* Desktop hero fit pass: keep the laptop mockup inside common review viewports. */
@media (max-width: 1280px) and (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(37.5rem, 1.06fr) minmax(24rem, 0.78fr);
    gap: clamp(18px, 2vw, 26px);
  }

  .hero-panel {
    transform: translateX(-18px);
  }

  .hero-product-window.laptop-window {
    transform: perspective(1100px) translateY(8px) rotateX(2deg) rotateY(-4deg) rotateZ(-0.6deg);
  }

  .hero-product-window.laptop-window:hover {
    transform: perspective(1100px) translateY(2px) rotateX(1deg) rotateY(-2deg) rotateZ(-0.2deg);
  }

  .laptop-mockup {
    width: min(100%, 520px);
  }

  .system-snapshot {
    width: calc(100% - 24px);
    margin: -0.35rem 18px 0 0;
  }

  .metric-grid {
    margin: 10px 20px 0 0;
  }
}

/* Hero recruiter-readability pass: make role and impact visible before the first scroll. */
.hero-role-inline {
  max-width: 660px;
  margin: 1rem 0 0;
  padding: 1rem 1.08rem;
  border: 1px solid rgba(72, 92, 142, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(72, 92, 142, 0.08);
  backdrop-filter: blur(18px);
}

.hero-role-inline p {
  margin: 0 0 0.36rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-role-inline strong {
  display: block;
  margin-bottom: 0.34rem;
  color: #14213f;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.35;
}

.hero-role-inline span {
  display: block;
  color: #536984;
  font-size: clamp(0.86rem, 1vw, 0.96rem);
  line-height: 1.58;
}

.hero-kpi-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 660px;
  gap: 10px;
  margin: 0.86rem 0 0;
}

.hero-kpi-inline span {
  min-height: 68px;
  padding: 0.78rem 0.82rem;
  border: 1px solid rgba(72, 92, 142, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  color: #60718a;
  font-size: 0.74rem;
  line-height: 1.35;
  box-shadow: 0 12px 34px rgba(72, 92, 142, 0.06);
}

.hero-kpi-inline strong {
  display: block;
  margin-bottom: 0.24rem;
  color: #15213d;
  font-size: clamp(1.18rem, 1.75vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .hero {
    align-items: start;
  }

  .hero h1 {
    margin-bottom: 0.86rem;
  }

  .hero-lead {
    max-width: 610px;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-role-inline {
    max-width: 610px;
    margin-top: 0.78rem;
    padding: 0.84rem 0.92rem;
  }

  .hero-role-inline span {
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .hero-kpi-inline {
    max-width: 610px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0.68rem;
  }

  .hero-kpi-inline span {
    min-height: 60px;
    padding: 0.62rem 0.66rem;
    font-size: 0.66rem;
  }

  .hero-kpi-inline strong {
    font-size: 1.04rem;
  }

  .hero-actions {
    margin-top: 0.84rem;
  }
}

@media (max-width: 1100px) {
  .hero-role-inline,
  .hero-kpi-inline {
    max-width: 760px;
  }
}

/* Final polish: VoC visual accents, clearer collaboration map, and stable hero reading. */
@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(35.5rem, 0.92fr) minmax(31rem, 1fr);
  }

  .hero h1 {
    max-width: 40rem;
    font-size: clamp(3.05rem, 4.4vw, 4.05rem);
    line-height: 1.08;
  }

  .hero h1 span {
    display: block;
    white-space: nowrap;
  }

  .hero-panel {
    transform: translateX(-8px);
  }
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(34rem, 0.92fr) minmax(31rem, 1fr);
    gap: clamp(20px, 2.2vw, 30px);
  }

  .hero h1 {
    max-width: 33.8rem;
    font-size: clamp(2.7rem, 4vw, 3.12rem);
    line-height: 1.08;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero-panel {
    transform: translateX(0);
  }

  .laptop-mockup {
    width: min(100%, 548px);
  }
}

@media (max-width: 1160px) and (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(31.5rem, 0.86fr) minmax(30rem, 1fr);
  }

  .hero h1 {
    max-width: 31.6rem;
    font-size: 2.58rem;
  }

  .hero-lead,
  .hero-role-inline,
  .hero-kpi-inline {
    max-width: 31.5rem;
  }

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

.asset-frame::before {
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.62) 45%, transparent 60%);
}

.asset-frame::after {
  color: #3352d9;
  content: "hover preview";
  opacity: 0;
}

.asset-frame:hover::before {
  animation-duration: 1800ms;
}

.evidence-slots article::after {
  display: none;
}

.hero::before,
#challenge::after,
#system::after,
#skill::after,
#case::after,
#impact::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 7rem auto auto max(1.5rem, calc((100vw - 1180px) / 2 - 7.5rem));
  width: clamp(7rem, 12vw, 10rem);
  aspect-ratio: 1;
  background: url("./assets/voc-brand/voc-orb-frame.svg") center / contain no-repeat;
  opacity: 0.06;
  transform: rotate(-10deg);
}

#challenge,
#system,
#skill,
#case,
#impact {
  position: relative;
  overflow: hidden;
}

#challenge > *,
#system > *,
#skill > *,
#case > *,
#impact > * {
  position: relative;
  z-index: 1;
}

#challenge::after,
#system::after,
#skill::after,
#case::after,
#impact::after {
  z-index: 0;
  width: clamp(4.5rem, 8vw, 7.5rem);
  aspect-ratio: 1;
  background: url("./assets/voc-brand/voc-orb-frame.svg") center / contain no-repeat;
  opacity: 0.055;
  filter: saturate(1.05);
}

#challenge::after {
  top: 3.6rem;
  right: max(1.5rem, calc((100vw - 1180px) / 2 - 3rem));
  transform: rotate(13deg);
}

#system::after {
  right: max(2rem, calc((100vw - 1180px) / 2 - 2rem));
  bottom: 4rem;
  transform: rotate(-12deg);
}

#skill::after {
  top: 4rem;
  left: max(1.5rem, calc((100vw - 1180px) / 2 - 4rem));
  transform: rotate(16deg);
}

#case::after {
  right: max(1.5rem, calc((100vw - 1180px) / 2 - 3.6rem));
  bottom: 5rem;
  opacity: 0.05;
  transform: rotate(8deg);
}

#impact::after {
  top: 4rem;
  right: max(2rem, calc((100vw - 1180px) / 2 - 2rem));
  opacity: 0.045;
  transform: rotate(-8deg);
}

.collab-map {
  grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(88, 116, 173, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(96, 127, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(238, 247, 255, 0.62));
}

.collab-map article {
  min-height: 300px;
  margin: 0;
  box-shadow: none;
}

.collab-map article:nth-child(3) {
  border-color: rgba(59, 214, 163, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 214, 163, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 255, 250, 0.84));
}

.collab-map article:nth-child(3) .collab-flow span::before {
  background: linear-gradient(135deg, #20bf8f, #34cfe1);
}

.collab-shift {
  display: grid;
  position: relative;
  min-height: 300px;
  place-items: center;
  text-align: center;
}

.collab-shift::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(11vw, 8.5rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(84, 110, 255, 0), rgba(84, 110, 255, 0.5), rgba(40, 210, 184, 0));
  content: "";
  transform: translate(-50%, -50%);
}

.collab-shift::after {
  display: grid;
  position: absolute;
  top: calc(50% - 16px);
  left: 50%;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(84, 110, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #3658e6;
  content: "→";
  font-weight: 760;
  transform: translateX(-50%);
  box-shadow: 0 16px 32px rgba(72, 92, 142, 0.12);
}

.collab-shift span,
.collab-shift strong {
  position: relative;
  z-index: 1;
  display: block;
}

.collab-shift span {
  margin-bottom: 0.55rem;
  color: #4660d9;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collab-shift strong {
  color: #233153;
  font-size: 0.9rem;
  line-height: 1.55;
}

.boundary-card::before,
.boundary-card::after {
  display: none !important;
}

.boundary-card.positive,
.boundary-card.negative {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.62));
}

/* Keep the case spine as a compact helper, not a competing hero block. */
.system-snapshot {
  box-sizing: border-box;
  grid-column: auto;
  justify-self: start;
  width: clamp(315px, 29vw, 380px);
  max-width: 380px;
  margin: -0.1rem 0 0 0.88rem;
  padding: 0.58rem 0.68rem 0.62rem;
  border-radius: 16px;
  box-shadow:
    0 14px 34px rgba(73, 91, 140, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.system-snapshot::before {
  height: 2px;
}

.system-snapshot p {
  margin-bottom: 0.22rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.system-snapshot h2 {
  max-width: 30rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.94rem, 1.12vw, 1.08rem);
  line-height: 1.18;
}

.mini-flow {
  gap: 0.26rem;
}

.mini-flow span {
  padding: 0.2rem 0.38rem;
  font-size: 0.62rem;
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .system-snapshot {
    width: clamp(292px, 30vw, 360px);
    max-width: 360px;
    margin: -0.1rem 0 0 0.62rem;
    padding: 0.54rem 0.62rem 0.58rem;
  }

  .system-snapshot h2 {
    font-size: clamp(0.9rem, 1.18vw, 1.02rem);
  }
}

@media (max-width: 1100px) {
  .system-snapshot {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .hero::before,
  #challenge::after,
  #system::after,
  #skill::after,
  #case::after,
  #impact::after {
    display: none;
  }

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

  .collab-map article,
  .collab-shift {
    min-height: auto;
  }

  .collab-shift {
    padding: 0.7rem 0;
  }

  .collab-shift::before {
    display: none;
  }

  .collab-shift::after {
    position: static;
    margin: 0.35rem auto 0;
    transform: rotate(90deg);
  }

  .platform-brief {
    grid-template-columns: 1fr;
  }

  .platform-flow {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .platform-flow i {
    width: 18px;
  }

  .platform-brief-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-role-inline {
    margin-top: 0.86rem;
    padding: 0.9rem;
    border-radius: 18px;
  }

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

  .hero-kpi-inline span {
    min-height: 64px;
  }

  .platform-brief {
    width: min(var(--max), calc(100% - 24px));
    padding: 0.9rem;
  }

  .platform-flow {
    gap: 0.35rem;
  }

  .platform-flow span {
    font-size: 0.76rem;
    padding: 0.3rem 0.48rem;
  }
}

/* Product Design polish: light AI DesignOps portfolio direction. */
:root {
  --pd-bg: #f7fbff;
  --pd-bg-2: #f4f1ff;
  --pd-ink: #101a33;
  --pd-text: #42516b;
  --pd-muted: #71809b;
  --pd-blue: #2563ff;
  --pd-violet: #7c3aed;
  --pd-cyan: #21c7d9;
  --pd-card: rgba(255, 255, 255, 0.82);
  --pd-line: rgba(117, 132, 171, 0.18);
  --pd-shadow: 0 18px 46px rgba(41, 58, 105, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(37, 99, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f8fcff 0%, #eef7ff 36%, #f7f2ff 72%, #ffffff 100%) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
  color: var(--pd-ink);
}

.site-shell {
  padding-bottom: 132px;
}

.announcement a,
.topbar,
.platform-brief,
.summary-table,
.story-card,
.capability-card,
.pain-card,
.layer-card,
.evidence-slots article,
.design-thinking-card,
.interactive-frame,
.compare-grid article,
.tool-grid article,
.impact-grid article,
.role-grid article,
.asset-frame,
.case-steps article,
.microcase-panel,
.why-it-matters {
  border-color: var(--pd-line) !important;
  border-radius: 8px !important;
  background: var(--pd-card) !important;
  box-shadow: var(--pd-shadow) !important;
  backdrop-filter: blur(18px);
}

.section-pad {
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(72px, 8vw, 118px);
}

.section-heading .eyebrow,
.eyebrow,
.card-kicker,
.capability-kicker,
.system-snapshot p {
  color: var(--pd-blue) !important;
  font-weight: 720 !important;
  letter-spacing: 0.08em !important;
}

.section-heading h2,
.platform-brief-copy h2,
.hero h1,
.story-card h3,
.summary-table strong,
.capability-card h3,
.pain-card h3,
.layer-card h3,
.evidence-slots h3,
.boundary-card h3,
.case-steps h3,
.compare-grid h3,
.tool-grid h3,
.impact-grid strong,
.closing-section h2 {
  color: var(--pd-ink) !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.section-heading p,
.hero-lead,
.platform-brief-copy p,
.capability-card p,
.story-card p,
.pain-card p,
.layer-card p,
.evidence-slots p,
.boundary-card li,
.boundary-card p,
.case-steps p,
.compare-grid p,
.tool-grid p,
.role-grid p,
.closing-section p,
figcaption {
  color: var(--pd-text) !important;
}

.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1fr) !important;
  align-items: center !important;
  gap: clamp(28px, 4vw, 64px) !important;
  min-height: min(860px, calc(100vh - 18px));
  padding-top: clamp(92px, 11vh, 136px) !important;
}

.hero-copy {
  max-width: 700px !important;
}

.hero h1 {
  max-width: 680px !important;
  margin: 0.7rem 0 1rem !important;
  font-size: clamp(3.2rem, 5.2vw, 5.35rem) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px !important;
  font-size: clamp(1rem, 1.32vw, 1.18rem) !important;
  line-height: 1.78 !important;
}

.hero-role-inline {
  max-width: 620px;
  border-radius: 8px !important;
  border: 1px solid rgba(93, 119, 196, 0.16) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.78)) !important;
  box-shadow: 0 16px 36px rgba(43, 58, 104, 0.08) !important;
}

.hero-role-inline strong {
  font-weight: 690 !important;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 0.76rem;
}

.laptop-window {
  transform: perspective(1400px) rotateX(4deg) rotateY(-5deg) rotateZ(0.4deg);
  transform-origin: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.laptop-window:hover {
  transform: perspective(1400px) rotateX(2deg) rotateY(-2deg) rotateZ(0deg) translateY(-4px);
  filter: saturate(1.08);
}

.system-snapshot {
  justify-self: end !important;
  width: min(400px, 72%) !important;
  max-width: 400px !important;
  margin: -0.35rem clamp(18px, 3vw, 52px) 0 0 !important;
  padding: 0.72rem 0.78rem 0.78rem !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 16px 44px rgba(38, 55, 96, 0.12) !important;
}

.system-snapshot h2 {
  font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
  line-height: 1.22 !important;
}

.mini-flow span,
.platform-flow span,
.hero-actions a,
.nav-links a,
.hero-kpi-inline span {
  border-radius: 999px !important;
}

.hero-kpi-inline {
  max-width: 620px;
  gap: 0.62rem !important;
}

.hero-kpi-inline span {
  min-height: 58px !important;
  padding: 0.72rem 0.82rem !important;
  border: 1px solid rgba(104, 122, 168, 0.13) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow: 0 10px 26px rgba(50, 65, 110, 0.05) !important;
  color: var(--pd-muted) !important;
}

.hero-kpi-inline strong {
  font-size: clamp(1.34rem, 2.3vw, 1.9rem) !important;
  font-weight: 680 !important;
}

.platform-brief {
  grid-template-columns: 1.05fr 0.82fr !important;
  gap: clamp(20px, 3vw, 40px) !important;
  margin-top: 1.25rem !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.78) 52%, rgba(247, 241, 255, 0.72)) !important;
}

.platform-brief::before,
.story-card::after,
.capability-icon,
.evidence-slots article::after {
  display: none !important;
}

.platform-brief-points article {
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.capability-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
}

.capability-card::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(37, 99, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.09), rgba(124, 58, 237, 0.08));
  color: rgba(37, 99, 255, 0.78);
  content: attr(data-icon);
  font-size: 0.68rem;
  font-weight: 760;
}

.capability-card:hover,
.pain-card:hover,
.asset-frame:hover,
.summary-table:hover,
.story-card:hover,
.layer-card:hover,
.evidence-slots article:hover,
.case-steps article:hover,
.impact-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 255, 0.28) !important;
  box-shadow: 0 24px 54px rgba(42, 58, 105, 0.13) !important;
}

.asset-frame {
  overflow: hidden;
}

.asset-frame img {
  transition: transform 520ms ease, filter 520ms ease;
}

.asset-frame:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.02);
}

.pain-card {
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 54px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(37, 99, 255, 0.2) 20%, transparent 20% 32%, rgba(124, 58, 237, 0.18) 32% 58%, transparent 58% 70%, rgba(33, 199, 217, 0.18) 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  content: "";
}

.insight-band {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(74px, 9vw, 122px) max(32px, calc((100vw - 1180px) / 2)) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(224, 241, 255, 0.76), rgba(242, 236, 255, 0.7)),
    linear-gradient(rgba(37, 99, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px) !important;
  background-size: auto, 28px 28px, 28px 28px !important;
}

.flow-map span,
.flow-map span:nth-child(n) {
  border: 1px solid rgba(99, 116, 154, 0.16) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--pd-ink) !important;
  box-shadow: none !important;
}

.flow-map span:hover {
  border-color: rgba(37, 99, 255, 0.3) !important;
  background: rgba(239, 246, 255, 0.9) !important;
}

.layer-card.featured,
.layer-card:nth-child(n) {
  border-color: var(--pd-line) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: var(--pd-shadow) !important;
}

.workflow-section,
#workflow {
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.94), rgba(242, 238, 255, 0.86)) !important;
  color: var(--pd-ink) !important;
}

.workflow-section .principle-panel,
.workflow-section .boundary-card,
.workflow-section .workflow-table,
.workflow-section .note-card {
  border-color: rgba(110, 126, 166, 0.18) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--pd-ink) !important;
  box-shadow: var(--pd-shadow) !important;
}

.workflow-section .boundary-card::before,
.workflow-section .boundary-card::after,
.boundary-card::before,
.boundary-card::after {
  display: none !important;
  content: none !important;
}

.workflow-section .boundary-card.positive {
  border-color: rgba(23, 179, 132, 0.24) !important;
}

.workflow-section .boundary-card.negative {
  border-color: rgba(245, 140, 82, 0.26) !important;
}

.collab-map {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.32fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  padding: 16px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: var(--pd-shadow) !important;
}

.collab-map-title {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(37, 99, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.88), rgba(250, 245, 255, 0.78));
  color: var(--pd-text);
  font-size: 0.94rem;
  line-height: 1.75;
}

.collab-map article {
  min-height: auto !important;
  padding: 1.25rem !important;
  border: 1px solid rgba(108, 123, 160, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.collab-map article:nth-child(n) {
  background: rgba(255, 255, 255, 0.72) !important;
}

.collab-flow {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.collab-flow span {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.8rem;
  min-height: 44px;
  padding: 0.7rem 0.82rem;
  border: 1px solid rgba(109, 126, 162, 0.16);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.9);
  color: var(--pd-text);
}

.collab-flow span b {
  color: var(--pd-ink);
  font-weight: 700;
}

.collab-flow span em {
  grid-column: 1 / -1;
  color: rgba(79, 94, 127, 0.72);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.45;
}

.collab-flow-linear span::after {
  color: rgba(92, 106, 138, 0.55);
  content: "下游";
  font-size: 0.72rem;
}

.collab-flow-layered span {
  border-color: rgba(37, 99, 255, 0.16);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(248, 244, 255, 0.88));
}

.collab-flow-layered span::after {
  color: rgba(37, 99, 255, 0.58);
  content: "可控";
  font-size: 0.72rem;
}

.collab-shift {
  min-height: auto !important;
  align-self: center;
  padding: 1rem 0.7rem;
  border: 1px solid rgba(37, 99, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.08), rgba(124, 58, 237, 0.08));
}

.collab-shift::before,
.collab-shift::after {
  display: none !important;
}

.collab-shift strong {
  color: var(--pd-ink) !important;
  font-size: 0.86rem !important;
}

.collab-shift p {
  margin: 0.55rem 0 0;
  color: var(--pd-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.collab-map-note {
  max-width: 780px;
  margin: 1rem 0 0;
  color: var(--pd-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.interactive-frame iframe {
  min-height: 720px !important;
  background: #fff !important;
}

.closing-section {
  margin-bottom: 120px !important;
}

@media (max-width: 1240px) and (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(430px, 0.86fr) !important;
    gap: 28px !important;
  }

  .hero h1 {
    max-width: 610px !important;
    font-size: clamp(2.8rem, 5.2vw, 4.1rem) !important;
  }

  .system-snapshot {
    width: min(360px, 74%) !important;
    margin-right: 18px !important;
  }

  .hero-kpi-inline strong {
    font-size: 1.35rem !important;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .hero h1 {
    max-width: 760px !important;
    font-size: clamp(2.62rem, 11vw, 4.4rem) !important;
  }

  .system-snapshot {
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .platform-brief,
  .collab-map {
    grid-template-columns: 1fr !important;
  }
}

/* Final typography and interaction guardrail */
body,
body * {
  letter-spacing: 0 !important;
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 0.96fr) !important;
}

.hero h1 {
  max-width: 720px !important;
  font-size: 4.3rem !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px !important;
  font-size: 1.05rem !important;
}

.system-snapshot {
  width: min(350px, 64%) !important;
  transform: translateY(-24px);
}

.system-snapshot h2 {
  font-size: 1.02rem !important;
  line-height: 1.26 !important;
}

.system-snapshot .mini-flow {
  gap: 0.32rem !important;
}

.system-snapshot .mini-flow span {
  padding: 0.34rem 0.5rem !important;
  font-size: 0.68rem !important;
}

.hero-kpi-inline {
  max-width: 640px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.hero-kpi-inline span {
  min-height: 68px !important;
  padding: 0.78rem 0.72rem !important;
}

.hero-kpi-inline strong {
  font-size: 1.38rem !important;
}

.topbar,
.announcement a,
.hero-role-inline,
.platform-brief,
.capability-card,
.story-card,
.summary-table,
.asset-frame,
.layer-card,
.boundary-card,
.case-steps article,
.impact-grid article {
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.hero-product-window:hover .laptop-mockup {
  transform: rotateX(2deg) rotateY(-3deg) translateY(-4px);
}

.laptop-mockup {
  transition: transform 420ms ease;
  transform-origin: center bottom;
}

@media (max-width: 1240px) and (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 0.86fr) minmax(470px, 0.94fr) !important;
    gap: 20px !important;
  }

  .hero h1 {
    max-width: 520px !important;
    font-size: 3.35rem !important;
  }

  .hero-lead {
    max-width: 560px !important;
  }

  .hero-kpi-inline {
    max-width: 520px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .system-snapshot {
    width: 330px !important;
    margin-right: 10px !important;
    transform: translateY(-12px);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: 720px !important;
    font-size: 3.05rem !important;
  }

  .hero-kpi-inline {
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .system-snapshot {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.42rem !important;
  }

  .hero-lead br {
    display: none;
  }

  .hero-kpi-inline {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-06-07 Product Design refinement: lighter portfolio case language */
:root {
  --folio-ink: #111827;
  --folio-text: #42526d;
  --folio-muted: #7a8aa5;
  --folio-line: rgba(96, 119, 170, 0.16);
  --folio-blue: #2563ff;
  --folio-violet: #7c5cff;
  --folio-cyan: #10b6d8;
  --folio-card: rgba(255, 255, 255, 0.78);
}

body {
  color: var(--folio-text);
  background:
    linear-gradient(135deg, rgba(238, 250, 247, 0.94), rgba(244, 247, 255, 0.96) 42%, rgba(248, 245, 255, 0.92)),
    #f7fbff !important;
}

.site-shell {
  background:
    linear-gradient(rgba(37, 99, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 255, 0.055) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
}

.topbar,
.announcement a {
  border-color: rgba(96, 119, 170, 0.13) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 18px 50px rgba(80, 103, 150, 0.11) !important;
  backdrop-filter: blur(22px);
}

.topbar:hover,
.announcement a:hover {
  border-color: rgba(37, 99, 255, 0.22) !important;
  transform: translateY(-1px);
}

.hero {
  grid-template-columns: minmax(600px, 0.98fr) minmax(430px, 0.74fr) !important;
  gap: clamp(28px, 4vw, 68px) !important;
  align-items: center !important;
  min-height: min(780px, calc(100vh - 70px)) !important;
}

.hero::before {
  inset: 6.5rem auto auto max(1rem, calc((100vw - 1180px) / 2 - 9rem)) !important;
  width: clamp(12rem, 22vw, 20rem) !important;
  background: url("./assets/voc-brand/voc-extended-visual.svg") center / contain no-repeat !important;
  opacity: 0.055 !important;
  transform: rotate(-9deg) !important;
}

.hero-copy {
  max-width: 760px !important;
}

.hero h1 {
  max-width: 740px !important;
  margin-top: 1rem !important;
  color: var(--folio-ink) !important;
  font-size: clamp(3.35rem, 5.2vw, 5.25rem) !important;
  font-weight: 720 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-wrap: initial !important;
}

.hero h1 span {
  display: block !important;
  white-space: nowrap;
}

.hero-lead {
  max-width: 720px !important;
  color: rgba(45, 58, 85, 0.78) !important;
  font-size: 1.03rem !important;
  line-height: 1.88 !important;
}

.hero-role-inline,
.hero-kpi-inline span,
.system-snapshot,
.platform-brief,
.capability-card,
.story-card,
.summary-table,
.asset-frame,
.layer-card,
.evidence-slots article,
.boundary-card,
.case-steps article,
.impact-grid article,
.role-card {
  border-color: var(--folio-line) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 251, 255, 0.68)),
    rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 18px 54px rgba(83, 103, 154, 0.1) !important;
  backdrop-filter: blur(18px);
}

.hero-role-inline {
  max-width: 670px !important;
  padding: 1.05rem 1.15rem !important;
}

.hero-role-inline p,
.card-kicker,
.eyebrow {
  color: var(--folio-blue) !important;
}

.hero-kpi-inline {
  max-width: 650px !important;
  gap: 0.72rem !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.hero-kpi-inline span {
  min-height: 56px !important;
  padding: 0.72rem 0.8rem !important;
  color: rgba(61, 75, 106, 0.72) !important;
  box-shadow: 0 12px 34px rgba(80, 103, 150, 0.08) !important;
}

.hero-kpi-inline strong {
  color: var(--folio-ink) !important;
  font-size: 1.16rem !important;
  font-weight: 760 !important;
}

.hero-product-window.laptop-window {
  max-width: 620px !important;
  justify-self: end !important;
  transform: perspective(1200px) rotateX(2deg) rotateY(-5deg) translateY(-4px) !important;
}

.hero-product-window.laptop-window:hover {
  transform: perspective(1200px) rotateX(1deg) rotateY(-2deg) translateY(-10px) !important;
}

.laptop-mockup {
  filter: drop-shadow(0 34px 58px rgba(60, 82, 126, 0.18));
}

.system-snapshot {
  width: min(300px, 56%) !important;
  margin-right: 22px !important;
  padding: 0.95rem !important;
  transform: translateY(-18px) !important;
}

.system-snapshot p {
  font-size: 0.66rem !important;
}

.system-snapshot h2 {
  font-size: 0.96rem !important;
  line-height: 1.28 !important;
}

.system-snapshot .mini-flow span {
  padding: 0.3rem 0.48rem !important;
  border-color: rgba(96, 119, 170, 0.15) !important;
  background: rgba(248, 251, 255, 0.92) !important;
  color: rgba(34, 47, 74, 0.76) !important;
  font-size: 0.66rem !important;
}

.asset-frame::before {
  display: none !important;
  content: "" !important;
}

.asset-frame img {
  transition:
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 480ms ease !important;
}

.asset-frame:hover img {
  filter: saturate(1.04) contrast(1.015);
  transform: scale(1.012);
}

.capability-card,
.boundary-card,
.case-steps article,
.evidence-slots article {
  position: relative;
  overflow: hidden;
}

.capability-card::before,
.boundary-card::before,
.case-steps article::before,
.evidence-slots article::before {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(37, 99, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(37, 99, 255, 0.18) 48% 52%, transparent 53%),
    linear-gradient(transparent 47%, rgba(124, 92, 255, 0.18) 48% 52%, transparent 53%);
  content: "";
  opacity: 0.42;
  transform: translateY(0);
  transition:
    transform 360ms ease,
    opacity 360ms ease,
    border-color 360ms ease;
}

.capability-card:hover,
.story-card:hover,
.summary-table:hover,
.layer-card:hover,
.evidence-slots article:hover,
.case-steps article:hover,
.impact-grid article:hover,
.role-card:hover {
  border-color: rgba(37, 99, 255, 0.25) !important;
  box-shadow: 0 24px 70px rgba(70, 92, 150, 0.14) !important;
  transform: translateY(-3px);
}

.capability-card:hover::before,
.case-steps article:hover::before,
.evidence-slots article:hover::before {
  opacity: 0.9;
  transform: translateY(-4px) rotate(4deg);
}

.boundary-card::before,
.boundary-card::after {
  display: none !important;
}

.boundary-card {
  padding-top: 1.35rem !important;
}

.boundary-card.positive {
  border-color: rgba(16, 185, 129, 0.22) !important;
}

.boundary-card.negative {
  border-color: rgba(245, 158, 11, 0.22) !important;
}

.platform-brief {
  grid-template-columns: 1.08fr 0.9fr !important;
  gap: 1.25rem !important;
}

.platform-flow span {
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 10px 28px rgba(80, 103, 150, 0.08) !important;
}

.collab-map {
  grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr) !important;
  align-items: stretch !important;
  padding: 1.1rem !important;
}

.collab-shift {
  display: grid;
  place-items: center;
  min-height: 100% !important;
  text-align: center;
}

.collab-shift strong {
  max-width: 160px;
  font-size: 0.96rem !important;
  line-height: 1.6;
}

.collab-flow span {
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.76) !important;
}

.collab-flow-linear span::after {
  color: rgba(122, 138, 165, 0.7);
  content: "下游验收";
  font-size: 0.72rem;
}

.collab-flow-layered span::after {
  color: rgba(37, 99, 255, 0.8);
  content: "责任明确";
  font-size: 0.72rem;
}

.interactive-frame {
  border-color: rgba(37, 99, 255, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.76)),
    rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 24px 70px rgba(70, 92, 150, 0.13) !important;
}

.interactive-frame iframe {
  min-height: 760px !important;
}

.closing-section {
  margin-bottom: 180px !important;
}

a:focus-visible,
button:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid rgba(37, 99, 255, 0.78);
  outline-offset: 4px;
}

@media (max-width: 1280px) and (min-width: 1081px) {
  .hero {
    grid-template-columns: minmax(500px, 0.92fr) minmax(390px, 0.7fr) !important;
    gap: 24px !important;
  }

  .hero h1 {
    max-width: 620px !important;
    font-size: clamp(2.75rem, 4vw, 3.55rem) !important;
  }

  .hero-product-window.laptop-window {
    max-width: 560px !important;
  }

  .system-snapshot {
    width: 290px !important;
  }
}

@media (min-width: 1281px) {
  .hero h1 span {
    white-space: nowrap;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .hero h1 {
    max-width: 760px !important;
    font-size: clamp(2.35rem, 5.6vw, 3.1rem) !important;
    line-height: 1.08 !important;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-product-window.laptop-window {
    max-width: 760px !important;
    justify-self: start !important;
    transform: none !important;
  }

  .system-snapshot {
    width: 100% !important;
    max-width: 520px !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .collab-map,
  .platform-brief {
    grid-template-columns: 1fr !important;
  }

  .collab-shift {
    min-height: auto !important;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.7rem) !important;
  }

  .hero-lead {
    font-size: 0.96rem !important;
  }

  .hero-role-inline,
  .hero-kpi-inline span {
    padding: 0.9rem !important;
  }
}

/* Quick hero cleanup: keep the title clear and remove the faint decorative mark behind it. */
.hero {
  isolation: isolate;
}

.hero::before {
  display: none !important;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-panel {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 720px !important;
}

.hero h1 span {
  white-space: normal !important;
}

.hero-panel {
  display: grid !important;
  min-height: clamp(430px, 50vw, 650px) !important;
  place-items: center !important;
  perspective: 900px;
}

.hero-panel::before,
.hero-panel::after {
  display: none !important;
  content: none !important;
}

.hero-glass-tile {
  display: block;
  width: min(560px, 92%) !important;
  height: auto;
  cursor: pointer;
  opacity: 0.95;
  filter:
    drop-shadow(0 18px 34px rgba(37, 99, 255, 0.055))
    saturate(1.02);
  -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.96) 78%, rgba(0, 0, 0, 0.62) 92%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.96) 78%, rgba(0, 0, 0, 0.62) 92%, transparent 100%);
  mix-blend-mode: multiply;
  transform: rotate(-5deg) translateY(-8px);
  transform-origin: 52% 54%;
  transition:
    filter 360ms ease,
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, filter;
}

.hero-panel:hover .hero-glass-tile {
  opacity: 1;
  filter:
    brightness(1.03)
    saturate(1.08);
  transform: rotate(-2deg) translateY(-20px) scale(1.035);
}

/* Annotation pass: editorial hero type and remove the production-loop traffic-light mark. */
.hero h1 {
  max-width: 720px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.hero-lead {
  max-width: 720px !important;
}

.production-loop::after,
.workflow-section .production-loop::after {
  display: none !important;
  content: none !important;
}

/* Final auxiliary motif restore after legacy decorative reset rules. */
.closing-section::after {
  position: absolute !important;
  right: clamp(48px, 10vw, 160px) !important;
  bottom: clamp(46px, 7vw, 96px) !important;
  z-index: 0 !important;
  display: block !important;
  width: clamp(180px, 18vw, 260px) !important;
  height: clamp(180px, 18vw, 260px) !important;
  pointer-events: none !important;
  background: url("./assets/voc-brand/voc-auxiliary.svg") center / contain no-repeat !important;
  content: "" !important;
  opacity: 0.12 !important;
  filter: saturate(0.94);
  transform: rotate(-8deg);
}

/* Final hero spacing and full-site image preview. */
.hero.section-pad {
  min-height: min(720px, calc(100vh - 18px)) !important;
  padding-top: clamp(42px, 5.2vw, 76px) !important;
}

.hero-copy {
  padding-top: 0 !important;
}

.asset-frame img,
.diff-zoom img,
.hero-glass-tile {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(9, 16, 32, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  display: block;
  max-width: min(1180px, 92vw);
  max-height: 82vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  object-fit: contain;
}

.image-lightbox p {
  max-width: min(900px, 86vw);
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero.section-pad {
    padding-top: 28px !important;
  }
}

/* Final auxiliary motif restore after legacy decorative reset rules. */
.closing-section::after {
  position: absolute !important;
  right: clamp(48px, 10vw, 160px) !important;
  bottom: clamp(46px, 7vw, 96px) !important;
  z-index: 0 !important;
  display: block !important;
  width: clamp(180px, 18vw, 260px) !important;
  height: clamp(180px, 18vw, 260px) !important;
  pointer-events: none !important;
  background: url("./assets/voc-brand/voc-auxiliary.svg") center / contain no-repeat !important;
  content: "" !important;
  opacity: 0.12 !important;
  filter: saturate(0.94);
  transform: rotate(-8deg);
}

/* Subtle VoC auxiliary motif: used as quiet background texture, never as primary content. */
.case-summary,
.skill-focus,
.interactive-section,
.impact-section,
.closing-section {
  position: relative !important;
  overflow: hidden !important;
}

.case-summary::before,
.skill-focus::before,
.interactive-section::before,
.impact-section::before,
.closing-section::after {
  position: absolute !important;
  z-index: 0 !important;
  display: block !important;
  width: 154px !important;
  height: 154px !important;
  pointer-events: none !important;
  background: url("./assets/voc-brand/voc-auxiliary.svg") center / contain no-repeat !important;
  content: "" !important;
  opacity: 0.075 !important;
  filter: saturate(0.94);
}

.case-summary > *,
.skill-focus > *,
.interactive-section > *,
.impact-section > *,
.closing-section > * {
  position: relative;
  z-index: 1;
}

.closing-section::after {
  right: clamp(48px, 10vw, 160px) !important;
  bottom: clamp(46px, 7vw, 96px) !important;
  width: clamp(180px, 18vw, 260px) !important;
  height: clamp(180px, 18vw, 260px) !important;
  opacity: 0.12 !important;
  transform: rotate(-8deg);
}

.case-summary::before {
  right: 7%;
  top: 18%;
  opacity: 0.055 !important;
  transform: rotate(12deg);
}

.skill-focus::before {
  left: 4%;
  bottom: 8%;
  opacity: 0.052 !important;
  transform: rotate(-16deg);
}

.interactive-section::before {
  right: 5%;
  top: 14%;
  opacity: 0.05 !important;
  transform: rotate(18deg);
}

.impact-section::before {
  right: 12%;
  bottom: 10%;
  opacity: 0.058 !important;
  transform: rotate(-10deg);
}

@media (max-width: 760px) {
  .case-summary::before,
  .skill-focus::before,
  .interactive-section::before,
  .impact-section::before {
    opacity: 0.035 !important;
  }

  .closing-section::after {
    right: 18px !important;
    bottom: 24px !important;
    width: 150px !important;
    height: 150px !important;
    opacity: 0.08 !important;
  }
}

@media (min-width: 1281px) {
  .hero {
    grid-template-columns: minmax(560px, 0.9fr) minmax(390px, 0.68fr) !important;
    gap: clamp(28px, 3vw, 52px) !important;
  }

  .hero-product-window.laptop-window {
    max-width: 560px !important;
  }
}

/* Readability pass: keep dense workflow cards legible on the pale glass panels. */
.workflow-section .principle-panel,
.workflow-section .defense-table,
.workflow-section .production-loop,
.workflow-section .delivery-flow article,
.workflow-section .note-card,
.closing-section {
  opacity: 1 !important;
  transform: none !important;
}

.workflow-section .principle-panel h3,
.workflow-section .note-card h3,
.workflow-section .production-loop h3,
.workflow-section .delivery-flow h3,
.workflow-section .boundary-card strong,
.workflow-section .defense-row strong,
.closing-section h2 {
  color: var(--folio-ink, #14213f) !important;
}

.workflow-section .boundary-card li strong {
  color: var(--folio-blue, #2563ff) !important;
  font-weight: 720 !important;
  margin-right: 0.28rem;
}

.workflow-section .card-kicker,
.closing-section .card-kicker {
  color: var(--folio-blue, #2563ff) !important;
}

.workflow-section .principle-panel p,
.workflow-section .principle-tags span,
.workflow-section .defense-head span,
.workflow-section .defense-row span,
.workflow-section .defense-row p,
.workflow-section .production-loop p,
.workflow-section .delivery-flow p,
.workflow-section .loop-rail span,
.workflow-section .handoff-grid p,
.workflow-section .note-card p,
.closing-section p {
  color: #4e5f7a !important;
}

.workflow-section .defense-table,
.workflow-section .production-loop,
.workflow-section .delivery-flow article {
  border-color: rgba(96, 119, 170, 0.2) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 22px 60px rgba(70, 92, 150, 0.11) !important;
}

.workflow-section .defense-row {
  border-bottom-color: rgba(96, 119, 170, 0.16) !important;
  background: rgba(255, 255, 255, 0.38) !important;
}

.workflow-section .defense-head {
  background: rgba(239, 246, 255, 0.86) !important;
}

.workflow-section .defense-row > * + * {
  border-left-color: rgba(96, 119, 170, 0.14) !important;
}

.workflow-section .defense-row .risk-rate {
  border-color: rgba(28, 184, 154, 0.34) !important;
  background: rgba(28, 184, 154, 0.12) !important;
  color: #147a63 !important;
}

.workflow-section .principle-tags span,
.workflow-section .delivery-flow span,
.workflow-section .loop-rail span,
.workflow-section .handoff-grid div {
  border-color: rgba(96, 119, 170, 0.16) !important;
  background: rgba(248, 251, 255, 0.88) !important;
}

.workflow-section .delivery-flow span {
  color: var(--folio-blue, #2563ff) !important;
}

.workflow-section .handoff-grid strong {
  color: var(--folio-ink, #14213f) !important;
}

.closing-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(56, 201, 242, 0.18), transparent 34%),
    linear-gradient(135deg, #f7fbff, #eef6ff 54%, #f7f3ff) !important;
  color: var(--folio-ink, #14213f) !important;
}

.collab-flow span {
  padding-left: 4.45rem !important;
}

.collab-flow span::before {
  left: 1.15rem !important;
}

/* Lock the main navigation to the viewport instead of relying on section-local sticky behavior. */
.topbar {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  z-index: 1000 !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

.topbar.is-scrolled,
.topbar:hover {
  transform: translateX(-50%) !important;
}

/* Context emoji pass: replace abstract corner marks with one readable symbol per card. */
.capability-card::before,
.pain-card::before,
.layer-card::before,
.evidence-slots article::before,
.boundary-card::before,
.case-steps article::before,
.handoff-grid div::before,
.production-loop::after,
.note-card::before,
.release-proof-card::before {
  position: absolute !important;
  inset: auto 18px 18px auto !important;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  border: 1px solid rgba(37, 99, 255, 0.14) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 12px 28px rgba(70, 92, 150, 0.1) !important;
  color: initial !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 1.42rem !important;
  line-height: 1 !important;
  opacity: 1 !important;
  transform: none !important;
}

.capability-card::after,
.pain-card::after,
.boundary-card::after,
.evidence-slots article::after,
.story-card::after,
.design-thinking-card::after,
.case-summary::after,
.skill-focus::after,
.closing-section::after {
  display: none !important;
  content: none !important;
}

.capability-icon {
  display: none !important;
}

.capability-card[data-icon="IA"]::before {
  content: "📊" !important;
}

.capability-card[data-icon="DS"]::before {
  content: "🧩" !important;
}

.capability-card[data-icon="AI"]::before {
  content: "🤖" !important;
}

.capability-card[data-icon="MR"]::before {
  content: "🚀" !important;
}

.pain-figma::before {
  content: "📐" !important;
}

.pain-queue::before {
  content: "⏳" !important;
}

.pain-rework::before {
  content: "🔁" !important;
}

.layer-card:nth-child(1)::before {
  content: "🎨" !important;
}

.layer-card:nth-child(2)::before {
  content: "📦" !important;
}

.layer-card:nth-child(3)::before {
  content: "🧠" !important;
}

.evidence-slots article:nth-child(1)::before {
  content: "📚" !important;
}

.evidence-slots article:nth-child(2)::before {
  content: "🧪" !important;
}

.evidence-slots article:nth-child(3)::before {
  content: "🧭" !important;
}

.boundary-card.positive::before {
  content: "✅" !important;
}

.boundary-card.negative::before {
  content: "⛔" !important;
}

.case-step-locate::before {
  content: "🔎" !important;
}

.case-step-code::before {
  content: "🧭" !important;
}

.case-step-ai::before {
  content: "🤖" !important;
}

.case-step-preview::before {
  content: "👁️" !important;
}

.case-step-handoff::before {
  content: "🚀" !important;
}

.handoff-grid div:nth-child(1)::before {
  content: "🛠️" !important;
}

.handoff-grid div:nth-child(2)::before {
  content: "🧪" !important;
}

.handoff-grid div:nth-child(3)::before {
  content: "🚀" !important;
}

.production-loop::after {
  content: "🚦" !important;
}

.note-card::before {
  content: "🧑‍💻" !important;
}

.release-proof-card::before {
  content: "✅" !important;
}

.capability-card,
.pain-card,
.layer-card,
.evidence-slots article,
.boundary-card,
.case-steps article,
.handoff-grid div,
.note-card,
.release-proof-card {
  position: relative !important;
  overflow: hidden !important;
  padding-right: max(1.35rem, 74px) !important;
}

.case-steps article::before {
  margin-bottom: 0 !important;
}

.workflow-section .boundary-card::before,
.workflow-section .boundary-card.positive::before,
.workflow-section .boundary-card.negative::before {
  display: grid !important;
  content: "✅" !important;
}

.workflow-section .boundary-card.negative::before {
  content: "⛔" !important;
}

.case-steps article::after,
.handoff-grid div::after {
  display: none !important;
  content: none !important;
}

/* Production handoff layout: fill the card with the three handoff blocks, then place the rail below. */
.workflow-section .production-loop {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  padding: clamp(1.4rem, 2.6vw, 2rem) !important;
}

.workflow-section .production-loop .loop-copy {
  max-width: 760px !important;
}

.workflow-section .production-loop .loop-copy h3 {
  max-width: 760px !important;
}

.workflow-section .production-loop .loop-copy p {
  max-width: 760px !important;
}

.workflow-section .production-loop .handoff-grid {
  order: 2 !important;
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.workflow-section .production-loop .handoff-grid div {
  min-height: 168px !important;
  padding: 1.35rem 4.6rem 1.35rem 1.35rem !important;
}

.workflow-section .production-loop .loop-rail {
  order: 3 !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 0.2rem !important;
}

.workflow-section .production-loop .loop-rail span {
  min-height: 36px !important;
  padding: 0.38rem 0.76rem !important;
}

/* Let context emoji sit directly on the card without a button-like square backing. */
.capability-card::before,
.pain-card::before,
.layer-card::before,
.evidence-slots article::before,
.boundary-card::before,
.case-steps article::before,
.handoff-grid div::before,
.production-loop::after,
.note-card::before,
.release-proof-card::before {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.72rem !important;
}

/* Final annotation overrides must stay last. */
.hero h1 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
}

.production-loop::after,
.workflow-section .production-loop::after {
  display: none !important;
  content: none !important;
}

/* Final auxiliary motif restore after legacy decorative reset rules. */
.closing-section::after {
  position: absolute !important;
  right: clamp(48px, 10vw, 160px) !important;
  bottom: clamp(46px, 7vw, 96px) !important;
  z-index: 0 !important;
  display: block !important;
  width: clamp(180px, 18vw, 260px) !important;
  height: clamp(180px, 18vw, 260px) !important;
  pointer-events: none !important;
  background: url("./assets/voc-brand/voc-auxiliary.svg") center / contain no-repeat !important;
  content: "" !important;
  opacity: 0.12 !important;
  filter: saturate(0.94);
  transform: rotate(-8deg);
}
