:root {
  --bg-primary: #f5f1ea;
  --bg-secondary: #ece6dd;
  --bg-card: #fbf8f2;
  --bg-dark: #171717;
  --text-primary: #161616;
  --text-secondary: #5e5a55;
  --text-light: #f7f4ef;
  --accent: #a67c52;
  --accent-deep: #7a5a3b;
  --success: #2f6f55;
  --warning: #a26a2a;
  --line-soft: rgba(22, 22, 22, 0.08);
  --line-dark: rgba(247, 244, 239, 0.14);
  --radius-large: 24px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --section: 132px;
  --container: 1280px;
  --font-sans:
    "MiSans", "Alibaba PuHuiTi 3.0", "Source Han Sans SC",
    "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display:
    "MiSans", "Alibaba PuHuiTi 3.0", "Source Han Sans SC",
    "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono:
    "JetBrains Mono", "DIN Alternate", "SFMono-Regular", Consolas,
    "Liberation Mono", monospace;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 73px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--text-primary);
  color: var(--text-light);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line-soft);
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(245, 241, 234, 0.82);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(245, 241, 234, 0.94);
  box-shadow: 0 12px 36px rgba(22, 22, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a,
.nav-cta,
.nav-auth {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover,
.nav-auth:hover {
  color: var(--text-primary);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.nav-auth {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.nav-cta {
  justify-self: end;
  border: 1px solid var(--text-primary);
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--text-primary);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}

.nav-cta:hover {
  background: transparent;
}

.menu-toggle,
.mobile-drawer {
  display: none;
}

.section {
  padding: var(--section) clamp(20px, 5vw, 72px);
}

.section-warm {
  background: var(--bg-primary);
}

.section-light {
  background: var(--bg-card);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.hero,
.section-heading,
.workflow-intro,
.comparison-layout,
.industry-shell,
.result-grid,
.capability-grid,
.workflow-track,
.case-grid,
.enterprise-grid,
.faq-wrap,
.contact,
.site-footer {
  width: min(100%, var(--container));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  width: min(100%, 1440px);
  display: grid;
  min-height: calc(100svh - 73px);
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding: 72px clamp(20px, 4vw, 56px) 54px;
  --hero-shift: 0px;
  --hero-scale: 1;
  --hero-copy-fade: 1;
}

.hero-copy {
  max-width: 620px;
  opacity: var(--hero-copy-fade);
  transform: translate3d(0, calc(var(--hero-shift) * -0.12), 0);
  transition:
    opacity 120ms linear,
    transform 120ms linear;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent-deep);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.contact .eyebrow {
  color: #d4b996;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hero h1 span {
  display: inline;
}

.hero-statement {
  margin-top: 22px;
  color: var(--accent-deep);
  font-size: clamp(30px, 4vw, 50px);
  font-family: var(--font-display);
  font-weight: 780;
  letter-spacing: -0.012em;
  line-height: 1.14;
  text-wrap: balance;
}

.hero-lead {
  max-width: 590px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--text-light);
}

.button-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.button-secondary {
  border-color: rgba(22, 22, 22, 0.2);
  color: var(--text-primary);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(22, 22, 22, 0.04);
}

.button-primary.light {
  border-color: var(--text-light);
  background: var(--text-light);
  color: var(--text-primary);
}

.button-primary.light:hover,
.button-secondary.light:hover {
  background: transparent;
  color: var(--text-light);
}

.button-secondary.light {
  border-color: rgba(247, 244, 239, 0.42);
  color: var(--text-light);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
}

.contact-badges span,
.cta-notes span {
  position: relative;
  padding-left: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.contact-badges span::before,
.cta-notes span::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(177, 132, 78, 0.66);
  content: "";
}

.trust-line li {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.trust-line li:not(:first-child)::before {
  width: 4px;
  height: 4px;
  margin-right: 18px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.42;
}

.hero-visual {
  align-self: stretch;
  min-height: 580px;
}

.carousel {
  position: relative;
  height: 100%;
  min-height: 580px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #101010;
  box-shadow: 0 34px 80px rgba(22, 22, 22, 0.16);
  transform: translate3d(0, calc(var(--hero-shift) * 0.18), 0) scale(var(--hero-scale));
  transform-origin: center;
  transition: transform 120ms linear;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 760ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.01) 40%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 54%);
}

.carousel-slide img {
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.02) saturate(1.04);
}

.carousel-slide:nth-child(1) img {
  object-position: 50% 50%;
}

.carousel-slide:nth-child(3) img {
  object-position: 50% 38%;
}

.carousel-slide:nth-child(4) img {
  object-position: 50% 50%;
}

.carousel-slide figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 46px);
  bottom: clamp(26px, 5vw, 52px);
  left: clamp(22px, 4vw, 46px);
  max-width: 560px;
  color: rgba(247, 244, 239, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.carousel-slide figcaption span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: clamp(28px, 3vw, 42px);
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 38px;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(247, 244, 239, 0.38);
  cursor: pointer;
}

.carousel-controls button[aria-current="true"] {
  background: var(--text-light);
}

.takeover {
  --takeover-progress: 0;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 420svh;
  padding: 0;
}

.takeover-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 72px);
}

.takeover::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-dark);
  content: "";
}

.takeover-copy {
  max-width: 590px;
}

.takeover-copy h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.12;
}

.takeover-copy > p {
  margin-top: 16px;
  color: rgba(247, 244, 239, 0.7);
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.58;
}

.takeover-index {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid rgba(247, 244, 239, 0.14);
  counter-reset: takeover;
}

.takeover-index li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(247, 244, 239, 0.14);
  padding: 20px 0;
  color: rgba(247, 244, 239, 0.62);
  background: transparent;
  font-size: 13px;
  line-height: 1.35;
  transition:
    border-color 260ms ease,
    color 260ms ease;
}

.takeover-index li:last-child {
  border-bottom-color: rgba(247, 244, 239, 0.14);
}

.takeover-index li.is-active {
  border-bottom-color: rgba(212, 185, 150, 0.42);
  color: rgba(247, 244, 239, 0.86);
}

.takeover-index li::before {
  position: absolute;
  top: 26px;
  left: 50px;
  width: 1px;
  height: calc(100% - 52px);
  border-radius: 999px;
  background: transparent;
  content: "";
  transition: background 260ms ease;
}

.takeover-index li.is-active::before {
  background: rgba(212, 185, 150, 0.75);
}

.takeover-index span {
  display: inline-flex;
  width: 34px;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  color: #d4b996;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}

.takeover-index div {
  display: grid;
  min-height: 44px;
  min-width: 0;
  align-content: center;
  gap: 6px;
}

.takeover-index strong {
  display: block;
  color: var(--text-light);
  font-size: clamp(15px, 1.18vw, 18px);
  font-family: var(--font-sans);
  font-weight: 850;
  line-height: 1.22;
}

.takeover-index em {
  display: block;
  color: rgba(212, 185, 150, 0.72);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.45;
  white-space: nowrap;
  text-transform: uppercase;
}

.takeover-visuals {
  position: relative;
  min-height: min(720px, 74svh);
  perspective: 1400px;
}

.takeover-visuals::after {
  position: absolute;
  right: 6%;
  bottom: -28px;
  left: 14%;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(22px);
  content: "";
}

.takeover-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 239, 0.13);
  border-radius: var(--radius-large);
  background: #111;
  box-shadow: 0 42px 96px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform:
    translate3d(0, 54px, calc(-80px * var(--scene-depth, 1)))
    rotateX(4deg)
    scale(0.94);
  transition:
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.takeover-scene.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}

.takeover-scene::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 46%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0) 50%);
  content: "";
}

.takeover-scene img {
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.02) saturate(1.04);
  transform: scale(calc(1.05 - var(--takeover-progress) * 0.035));
  transition: transform 400ms linear;
}

.takeover-scene[data-takeover-scene="0"] img {
  object-position: 50% 50%;
}

.takeover-scene[data-takeover-scene="1"] img {
  object-position: 50% 50%;
}

.takeover-scene[data-takeover-scene="2"] img {
  object-position: 50% 50%;
}

.takeover-scene[data-takeover-scene="3"] img {
  object-position: 50% 50%;
}

.takeover-scene figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(22px, 4vw, 52px);
  left: clamp(22px, 4vw, 52px);
  max-width: 620px;
  color: rgba(247, 244, 239, 0.74);
  font-size: 15px;
  line-height: 1.6;
}

.takeover-scene figcaption span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 760;
  letter-spacing: -0.012em;
  line-height: 1.12;
  text-wrap: balance;
}

.takeover-scene figcaption small {
  display: block;
  margin-top: 8px;
  color: rgba(212, 185, 150, 0.78);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 62px;
  text-align: center;
}

.section-heading.align-left {
  width: min(100%, var(--container));
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.section-heading.align-left > * {
  width: min(100%, 760px);
}

.section-heading.align-left p:not(.eyebrow) {
  margin-right: auto;
  margin-left: 0;
}

.section-heading h2,
.workflow-intro h2,
.faq-wrap h2,
.contact h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.22;
}

.industries .section-heading h2 {
  font-size: clamp(36px, 3.8vw, 52px);
  white-space: nowrap;
}

.section-heading p:not(.eyebrow),
.workflow-intro > p,
.faq-wrap > div > p,
.contact-copy > p {
  max-width: 760px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.8;
  text-wrap: pretty;
}

.section-heading p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.section-dark .section-heading p:not(.eyebrow),
.contact-copy > p {
  color: rgba(247, 244, 239, 0.68);
}

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

.result-card,
.capability-grid article,
.enterprise-grid article {
  min-height: 250px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-card);
}

.result-card.accent-card {
  background: var(--text-primary);
  color: var(--text-light);
}

.result-card span,
.capability-grid span {
  color: var(--accent-deep);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.result-card.accent-card span,
.result-card.accent-card p {
  color: rgba(247, 244, 239, 0.66);
}

.result-card h3,
.capability-grid h3,
.enterprise-grid h3,
.case-card h3 {
  margin-top: 42px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.24;
}

.result-card p,
.capability-grid p,
.enterprise-grid p,
.case-card p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.76;
}

.result-card.accent-card p {
  color: rgba(247, 244, 239, 0.68);
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.comparison-image {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border-radius: var(--radius-large);
}

.comparison-image img {
  height: 100%;
  object-fit: cover;
}

.production-stamp {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  border: 1px solid rgba(247, 244, 239, 0.24);
  border-radius: var(--radius-medium);
  padding: 22px;
  color: rgba(247, 244, 239, 0.72);
  background: rgba(23, 23, 23, 0.68);
  backdrop-filter: blur(18px);
  font-size: 14px;
  line-height: 1.5;
}

.production-stamp span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: clamp(32px, 4vw, 52px);
  font-family: var(--font-mono);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-large);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.78fr 1fr 1.16fr;
  border-bottom: 1px solid var(--line-dark);
}

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

.comparison-row > div {
  min-height: 72px;
  border-right: 1px solid var(--line-dark);
  padding: 20px clamp(14px, 1.8vw, 24px);
  color: rgba(247, 244, 239, 0.58);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.45;
}

.comparison-row > div:last-child {
  border-right: 0;
  color: var(--text-light);
  font-weight: 700;
}

.comparison-row > div:first-child {
  color: rgba(247, 244, 239, 0.78);
  font-weight: 700;
}

.comparison-head > div {
  min-height: 58px;
  color: rgba(247, 244, 239, 0.7);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.industry-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-tabs button {
  min-height: 56px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0 20px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.industry-tabs button.is-active {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--text-light);
}

.industry-panel {
  display: grid;
  overflow: hidden;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  background: var(--bg-card);
}

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

.industry-panel img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: brightness(1.06) contrast(1.02) saturate(1.03);
}

#industry-fashion img {
  object-position: 50% 50%;
}

#industry-beauty img {
  object-position: 50% 50%;
}

#industry-food img {
  object-position: 50% 50%;
}

#industry-home img {
  object-position: 50% 50%;
}

.industry-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 54px);
}

.industry-kicker {
  color: var(--accent-deep);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-panel h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.18;
}

.industry-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 18px;
  margin-top: 28px;
}

.industry-panel li {
  position: relative;
  padding-left: 14px;
  color: rgba(22, 22, 22, 0.62);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

.industry-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(177, 132, 78, 0.66);
  content: "";
}

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

.capability-grid article {
  min-height: 340px;
  background: var(--bg-primary);
}

.workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: 58px;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
}

.workflow-track article {
  position: relative;
  min-height: 240px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px;
  background: rgba(251, 248, 242, 0.78);
}

.workflow-track article:nth-child(4n) {
  border-right: 0;
}

.workflow-track article:nth-child(n + 5) {
  border-bottom: 0;
}

.workflow-track article::after {
  display: none;
  content: none;
}

.workflow-track span {
  color: var(--accent-deep);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.workflow-track h3 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.24;
}

.workflow-track h3 small {
  display: block;
  margin-top: 8px;
  color: rgba(22, 22, 22, 0.42);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.workflow-track p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

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

.case-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-large);
  padding: 18px;
  background: rgba(247, 244, 239, 0.04);
}

.case-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-visual-pair figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-medium);
  background: #111;
}

.case-visual-pair img {
  height: 100%;
  object-fit: cover;
}

.case-visual-pair figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(23, 23, 23, 0.68);
  color: var(--text-light);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-card h3 {
  color: var(--text-light);
}

.case-card p {
  color: rgba(247, 244, 239, 0.66);
}

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

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  margin-top: 84px;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  background: var(--bg-card);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-deep);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.76;
}

.pricing-grid {
  width: min(100%, var(--container));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-primary);
}

.pricing-card.featured {
  background: var(--text-primary);
  color: var(--text-light);
}

.plan-kicker {
  color: var(--accent-deep);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card.featured .plan-kicker {
  color: #d4b996;
}

.pricing-card h3 {
  margin-top: 24px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}

.plan-price {
  margin-top: 26px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
  line-height: 1;
}

.plan-price span {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 700;
}

.pricing-card.featured .plan-price span,
.pricing-card.featured .plan-copy,
.pricing-card.featured li {
  color: rgba(247, 244, 239, 0.68);
}

.plan-copy {
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.pricing-card li::before {
  color: var(--accent-deep);
  content: "· ";
  font-weight: 900;
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-card.featured .button-primary {
  border-color: var(--text-light);
  background: var(--text-light);
  color: var(--text-primary);
}

.pricing-card.featured .button-primary:hover {
  background: transparent;
  color: var(--text-light);
}

.auth-modal[hidden],
.invoice-modal[hidden] {
  display: none;
}

.auth-modal,
.invoice-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.invoice-modal {
  z-index: 101;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.54);
  backdrop-filter: blur(12px);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  padding: 30px;
  background: var(--bg-card);
  box-shadow: 0 30px 90px rgba(22, 22, 22, 0.26);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-dialog h2 {
  font-size: 34px;
  line-height: 1.16;
}

.auth-intro {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px;
}

.auth-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 800;
}

.auth-tabs button.is-active {
  background: var(--text-primary);
  color: var(--text-light);
}

.auth-form,
.invoice-form {
  display: grid;
  gap: 14px;
}

.auth-form {
  margin-top: 22px;
}

.invoice-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.modal-form {
  grid-template-columns: 1fr;
  margin-top: 22px;
  margin-bottom: 0;
}

.auth-form label,
.invoice-form label {
  display: grid;
  gap: 8px;
}

.auth-form label[hidden] {
  display: none;
}

.auth-form span,
.invoice-form span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.auth-form input,
.invoice-form input,
.invoice-form select {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--text-primary);
  outline: none;
}

.invoice-form select {
  appearance: none;
  padding-right: 48px;
  background-color: rgba(255, 255, 255, 0.44);
  background-image:
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(22, 22, 22, 0.62) calc(50% - 1px), rgba(22, 22, 22, 0.62) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(22, 22, 22, 0.62) calc(50% - 1px), rgba(22, 22, 22, 0.62) calc(50% + 1px), transparent calc(50% + 1px));
  background-position:
    calc(100% - 25px) 50%,
    calc(100% - 17px) 50%;
  background-repeat: no-repeat;
  background-size: 8px 8px;
}

.auth-status {
  min-height: 22px;
  color: var(--accent-deep);
  font-size: 14px;
  line-height: 1.5;
}

.invoice-form button,
.invoice-form .form-status {
  grid-column: 1 / -1;
}

.profile-page {
  background: var(--bg-primary);
}

.profile-header {
  grid-template-columns: 1fr auto 1fr;
}

.profile-nav {
  display: inline-flex;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.profile-header .nav-auth {
  justify-self: end;
}

.profile-hero {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 128px clamp(20px, 5vw, 72px) 52px;
}

.profile-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.profile-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.8;
}

.profile-guest,
.profile-dashboard {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) var(--section);
}

.empty-state,
.account-card,
.profile-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-large);
  background: var(--bg-card);
}

.empty-state,
.account-card,
.profile-panel {
  padding: clamp(24px, 3vw, 34px);
}

.empty-state h2,
.account-card h2,
.profile-panel h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.18;
}

.empty-state p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.profile-grid.single {
  grid-template-columns: 1fr;
}

.account-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.account-card dl div {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-medium);
  padding: 16px;
  background: var(--bg-primary);
}

.account-card dt {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.account-card dd {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 850;
}

.profile-panel {
  margin-top: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.order-state,
.order-actions {
  align-content: center;
}

.order-state {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.order-state strong {
  font-size: 17px;
  font-weight: 850;
}

.order-state small,
.order-actions small,
.invoice-note {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.button.compact {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, 0.6fr) minmax(120px, 0.6fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-medium);
  padding: 16px;
  background: var(--bg-primary);
}

.order-row {
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.42fr) minmax(220px, 0.58fr) minmax(240px, 0.62fr);
}

.record-row strong {
  display: block;
  font-size: 15px;
}

.record-row span,
.record-row small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.status-pill {
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(166, 124, 82, 0.13);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 850;
}

.status-pill.success {
  background: rgba(47, 111, 85, 0.12);
  color: var(--success);
}

.status-pill.pending {
  background: rgba(162, 106, 42, 0.12);
  color: var(--warning);
}

.status-pill.muted {
  background: rgba(22, 22, 22, 0.08);
  color: var(--text-secondary);
}

.empty-record {
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-medium);
  padding: 18px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.24);
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.74fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  padding: var(--section) clamp(20px, 5vw, 72px);
}

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

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-badges span {
  color: rgba(247, 244, 239, 0.76);
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-large);
  padding: clamp(20px, 3vw, 30px);
  background: rgba(247, 244, 239, 0.05);
}

.demo-form label {
  display: grid;
  gap: 8px;
}

.demo-form label.full,
.demo-form .form-status {
  grid-column: 1 / -1;
}

.demo-form span {
  color: rgba(247, 244, 239, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-small);
  padding: 13px 14px;
  background: rgba(23, 23, 23, 0.72);
  color: var(--text-light);
  outline: none;
}

.demo-form select {
  appearance: none;
  padding-right: 38px;
  background-color: rgba(23, 23, 23, 0.72);
  background-image:
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(247, 244, 239, 0.72) calc(50% - 1px), rgba(247, 244, 239, 0.72) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(247, 244, 239, 0.72) calc(50% - 1px), rgba(247, 244, 239, 0.72) calc(50% + 1px), transparent calc(50% + 1px));
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus,
.auth-form input:focus,
.invoice-form input:focus,
.invoice-form select:focus,
.faq-list summary:focus-visible,
.button:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.nav-auth:focus-visible,
.auth-close:focus-visible,
.auth-tabs button:focus-visible,
.industry-tabs button:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.demo-form textarea {
  resize: vertical;
}

.demo-form button,
.demo-form a {
  margin-top: 6px;
}

.form-status {
  min-height: 22px;
  color: #d4b996;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line-soft);
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
}

.site-footer span {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin-top: 8px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-weight: 700;
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 640ms ease,
    transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

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

  .carousel,
  .hero-copy,
  .takeover-scene,
  .takeover-scene img,
  .reveal-ready .reveal-item {
    transform: none !important;
  }
}

@media (max-width: 1180px) {
  :root {
    --section: 104px;
  }

  .hero,
  .comparison-layout,
  .industry-shell,
  .faq-wrap,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .industries .section-heading h2 {
    white-space: normal;
  }

  .hero-visual,
  .carousel {
    min-height: 560px;
  }

  .industry-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .industry-tabs button {
    min-width: max-content;
  }

  .industry-panel {
    grid-template-columns: 1fr;
  }

  .industry-panel img {
    min-height: 460px;
  }

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

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

  .takeover-sticky {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .takeover {
    min-height: auto;
  }

  .takeover-visuals {
    min-height: 560px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    border: 1px solid rgba(247, 244, 239, 0.3);
    border-radius: 999px;
    padding: 10px 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
      rgba(247, 244, 239, 0.07);
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
  }

  .mobile-drawer {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    display: none;
    width: min(280px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-large);
    padding: 10px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(245, 241, 234, 0.42)),
      rgba(245, 241, 234, 0.58);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      inset 0 -1px 0 rgba(22, 22, 22, 0.04),
      0 22px 48px rgba(22, 22, 22, 0.14);
    backdrop-filter: blur(26px) saturate(1.35);
    -webkit-backdrop-filter: blur(26px) saturate(1.35);
  }

  .mobile-drawer.is-open {
    display: grid;
  }

  .mobile-drawer a,
  .mobile-drawer button {
    border-radius: var(--radius-medium);
    padding: 14px 12px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
  }

  .mobile-drawer a:hover,
  .mobile-drawer button:hover {
    background: rgba(255, 255, 255, 0.42);
    color: var(--text-primary);
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .comparison-row > div:last-child {
    border-bottom: 0;
  }

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

  .workflow-track article:nth-child(2n) {
    border-right: 0;
  }

  .workflow-track article:nth-child(n + 5) {
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-track article:nth-child(n + 7) {
    border-bottom: 0;
  }

  .case-grid,
  .result-grid,
  .pricing-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .takeover-sticky {
    position: relative;
    top: auto;
  }

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

  .takeover-index li {
    border-radius: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --section: 78px;
  }

  .takeover-index div {
    min-height: 52px;
    align-content: center;
    gap: 7px;
  }

  .section,
  .contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding: 56px 16px 34px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .hero h1 span {
    display: block;
  }

  .hero-statement {
    font-size: 31px;
    line-height: 1.16;
  }

  .hero-actions,
  .demo-form,
  .invoice-form,
  .account-card dl {
    grid-template-columns: 1fr;
  }

  .button,
  .demo-form button,
  .demo-form a,
  .invoice-form button {
    width: 100%;
  }

  .trust-line li {
    font-size: 12px;
  }

  .hero-visual,
  .carousel {
    min-height: 390px;
  }

  .carousel {
    transform: none;
  }

  .carousel-slide figcaption {
    right: 76px;
    font-size: 13px;
  }

  .carousel-slide figcaption span {
    font-size: 25px;
  }

  .section-heading {
    margin-bottom: 42px;
    text-align: left;
  }

  .section-heading.align-left {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .workflow-intro h2,
  .faq-wrap h2,
  .contact h2 {
    font-size: 29px;
    line-height: 1.2;
  }

  .result-card,
  .capability-grid article,
  .enterprise-grid article {
    min-height: 220px;
  }

  .result-card h3,
  .capability-grid h3,
  .enterprise-grid h3,
  .case-card h3 {
    margin-top: 30px;
  }

  .comparison-image {
    min-height: 430px;
  }

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

  .industry-panel img {
    min-height: 330px;
  }

  .industry-panel > div {
    padding: 24px;
  }

  .industry-panel h3 {
    font-size: 27px;
    line-height: 1.22;
  }

  .capability-grid,
  .workflow-intro,
  .workflow-track,
  .enterprise-grid,
  .faq-wrap,
  .takeover-index {
    grid-template-columns: 1fr;
  }

  .takeover-sticky {
    padding: 78px 16px;
  }

  .takeover-copy h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .takeover-copy > p {
    font-size: 15px;
  }

  .takeover-visuals {
    min-height: 430px;
  }

  .takeover-scene figcaption {
    font-size: 13px;
  }

  .takeover-scene figcaption span {
    font-size: 28px;
  }

  .workflow-track article,
  .workflow-track article:nth-child(n + 5),
  .workflow-track article:nth-child(n + 7) {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .workflow-track article:last-child {
    border-bottom: 0;
  }

  .case-visual-pair {
    gap: 8px;
  }

  .faq-list summary {
    align-items: flex-start;
  }

  .demo-form label.full,
  .demo-form .form-status,
  .invoice-form .form-status {
    grid-column: auto;
  }

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

  .auth-dialog {
    padding: 24px;
  }

  .profile-header {
    grid-template-columns: 1fr auto;
  }

  .profile-nav {
    display: none;
  }

  .profile-hero {
    padding: 96px 16px 36px;
  }

  .profile-guest,
  .profile-dashboard {
    padding-right: 16px;
    padding-left: 16px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-actions,
  .order-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .record-row,
  .order-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    justify-content: flex-start;
    margin-top: 18px;
  }
}

/* Image-first editorial pass: make photography lead, reduce generic SaaS card feel. */
.site-header {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  isolation: isolate;
  border-bottom-color: rgba(247, 244, 239, 0.2);
  background:
    linear-gradient(110deg, rgba(38, 18, 8, 0.62), rgba(35, 26, 17, 0.34) 42%, rgba(17, 26, 30, 0.3) 72%, rgba(54, 37, 55, 0.42)),
    rgba(18, 17, 16, 0.24);
  color: var(--text-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px) saturate(1.3) contrast(1.02);
  -webkit-backdrop-filter: blur(24px) saturate(1.3) contrast(1.02);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% -70%, rgba(255, 255, 255, 0.24), transparent 36%),
    radial-gradient(circle at 86% -64%, rgba(255, 255, 255, 0.17), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.015));
  content: "";
  pointer-events: none;
}

.site-header::after {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 0;
  left: clamp(20px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.site-header:not(.is-scrolled) .nav-links {
  color: rgba(247, 244, 239, 0.78);
}

.site-header:not(.is-scrolled) .nav-links a:hover {
  color: var(--text-light);
}

.site-header:not(.is-scrolled) .nav-auth {
  border-color: rgba(247, 244, 239, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(247, 244, 239, 0.08);
  color: rgba(247, 244, 239, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.site-header:not(.is-scrolled) .nav-auth:hover {
  border-color: rgba(247, 244, 239, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(247, 244, 239, 0.1);
  color: var(--text-light);
}

.site-header:not(.is-scrolled) .nav-cta {
  border-color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.84)),
    rgba(247, 244, 239, 0.72);
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.site-header:not(.is-scrolled) .nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.1)),
    rgba(247, 244, 239, 0.12);
  color: var(--text-light);
}

.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(247, 244, 239, 0.28);
  color: var(--text-light);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(22, 22, 22, 0.08);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.66), rgba(245, 241, 234, 0.5) 48%, rgba(231, 225, 215, 0.58)),
    rgba(245, 241, 234, 0.68);
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(22, 22, 22, 0.04),
    0 16px 42px rgba(22, 22, 22, 0.11);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.profile-header,
.profile-header:not(.is-scrolled) {
  border-bottom-color: var(--line-soft);
  background: rgba(245, 241, 234, 0.94);
  color: var(--text-primary);
  box-shadow: 0 12px 36px rgba(22, 22, 22, 0.08);
}

.profile-header:not(.is-scrolled) .nav-auth {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
}

.profile-header:not(.is-scrolled) .nav-auth:hover {
  color: var(--text-primary);
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(118px, 13svh, 168px) clamp(20px, 5vw, 72px) clamp(72px, 9svh, 116px);
  background: #101010;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.36) 38%, rgba(0, 0, 0, 0.04) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 46%, rgba(0, 0, 0, 0.34) 100%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  max-width: none;
  margin: 0 auto;
  color: var(--text-light);
}

.hero .eyebrow {
  color: #d4b996;
}

.hero h1 {
  max-width: 960px;
  color: var(--text-light);
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 1.1;
}

.hero-statement {
  max-width: 980px;
  color: #d4b996;
  font-size: clamp(36px, 5.1vw, 66px);
  line-height: 1.12;
}

.hero-lead {
  max-width: 790px;
  color: rgba(247, 244, 239, 0.82);
}

.hero .button-primary {
  border-color: var(--text-light);
  background: var(--text-light);
  color: var(--text-primary);
}

.hero .button-primary:hover {
  background: transparent;
  color: var(--text-light);
}

.hero .button-secondary {
  border-color: rgba(247, 244, 239, 0.42);
  color: var(--text-light);
}

.hero .button-secondary:hover {
  border-color: var(--text-light);
  background: rgba(247, 244, 239, 0.08);
}

.hero .trust-line li {
  color: rgba(247, 244, 239, 0.78);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
}

.carousel {
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.carousel-slide::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.01) 38%, rgba(0, 0, 0, 0.48) 100%);
}

.carousel-slide figcaption {
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 68px);
  left: auto;
  max-width: 380px;
  text-align: right;
}

.carousel-controls {
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(20px, 3vw, 36px);
}

.takeover-sticky {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
}

.takeover-copy {
  align-self: center;
  box-sizing: border-box;
  display: flex;
  min-height: 100svh;
  width: min(100%, 660px);
  max-width: none;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  padding: clamp(36px, 4.2vw, 52px) clamp(28px, 5vw, 72px);
}

.takeover-copy .eyebrow,
.takeover-copy h2,
.takeover-copy > p {
  flex: 0 0 auto;
}

.takeover-index {
  flex: 0 0 auto;
}

.takeover-index li {
  min-height: clamp(112px, 12svh, 146px);
  padding-top: clamp(22px, 2.2svh, 30px);
  padding-bottom: clamp(22px, 2.2svh, 30px);
}

.takeover-copy h2 {
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.08;
}

.takeover-visuals {
  min-height: 100svh;
}

.takeover-visuals::after {
  display: none;
}

.takeover-scene {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.industries,
.cases {
  padding-right: 0;
  padding-left: 0;
}

.industries .section-heading,
.cases .section-heading {
  width: min(100%, var(--container));
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.industry-shell {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  padding-left: clamp(20px, 5vw, 72px);
}

.industry-panel {
  min-height: 84svh;
  border-right: 0;
  border-radius: var(--radius-large) 0 0 var(--radius-large);
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.58fr);
}

.industry-panel img {
  min-height: 84svh;
}

.case-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr;
  gap: 0;
}

.case-card {
  display: grid;
  min-height: 88svh;
  grid-template-columns: minmax(0, 1.34fr) minmax(340px, 0.66fr);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  padding: 0;
}

.case-visual-pair {
  min-height: 88svh;
  gap: 0;
}

.case-visual-pair figure {
  min-height: 88svh;
  border-radius: 0;
  aspect-ratio: auto;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
  background: var(--bg-dark);
}

.case-card h3 {
  margin-top: 0;
  color: var(--text-light);
}

.case-card p {
  max-width: 520px;
}

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

  .takeover-copy {
    min-height: auto;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding-right: clamp(20px, 5vw, 72px);
    padding-left: clamp(20px, 5vw, 72px);
  }

  .takeover-visuals {
    min-height: 72svh;
  }

  .industry-shell {
    grid-template-columns: 1fr;
    padding-right: clamp(20px, 5vw, 72px);
  }

  .industry-panel {
    border-right: 1px solid var(--line-soft);
    border-radius: var(--radius-large);
    grid-template-columns: 1fr;
  }

  .industry-panel,
  .industry-panel img {
    min-height: 620px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-copy {
    min-height: 300px;
  }
}

@media (min-width: 1181px) and (max-height: 820px) {
  .takeover-copy {
    min-height: 100svh;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .takeover-copy h2 {
    font-size: clamp(32px, 3.45vw, 46px);
  }

  .takeover-copy > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .takeover-index {
    margin-top: 18px;
  }

  .takeover-index li {
    min-height: 96px;
    padding: 12px 0;
  }
}

@media (max-width: 920px) {
  .site-header:not(.is-scrolled) .mobile-drawer {
    color: var(--text-primary);
  }

  .hero {
    min-height: 100svh;
    padding-top: 112px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.38) 32%, rgba(0, 0, 0, 0.74) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.14));
  }

  .carousel-slide figcaption {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: 100svh;
    padding: 110px 16px 44px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.14;
  }

  .hero-statement {
    font-size: 32px;
    line-height: 1.16;
  }

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

  .hero .trust-line li {
    font-size: 12px;
  }

  .takeover-copy {
    padding: 78px 16px 40px;
  }

  .takeover-copy h2 {
    font-size: 31px;
    line-height: 1.18;
  }

  .takeover-visuals {
    min-height: 520px;
  }

  .takeover-scene {
    border-radius: var(--radius-large) var(--radius-large) 0 0;
  }

  .industry-shell,
  .industries .section-heading,
  .cases .section-heading {
    padding-right: 16px;
    padding-left: 16px;
  }

  .industry-panel,
  .industry-panel img {
    min-height: 520px;
  }

  .case-card,
  .case-visual-pair,
  .case-visual-pair figure {
    min-height: auto;
  }

  .case-visual-pair {
    grid-template-columns: 1fr;
  }

  .case-visual-pair figure {
    min-height: 420px;
  }

  .case-copy {
    min-height: 250px;
    padding: 28px 16px 52px;
  }
}

/* Dreamina-inspired case cards and enterprise bento cards. */
.cases {
  padding: var(--section) clamp(20px, 5vw, 72px);
}

.cases .section-heading {
  max-width: 820px;
  padding-right: 0;
  padding-left: 0;
}

.cases .section-heading p:not(.eyebrow) {
  max-width: 860px;
}

.case-filter {
  width: min(100%, var(--container));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(28px, 4vw, 46px);
}

.case-filter button {
  min-height: 38px;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(247, 244, 239, 0.68);
  background: rgba(247, 244, 239, 0.055);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.case-filter button:hover,
.case-filter button.is-active {
  border-color: rgba(247, 244, 239, 0.34);
  color: #161616;
  background: #f7f4ef;
}

.case-grid {
  width: min(100%, var(--container));
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 1.8vw, 22px);
  margin: 0 auto;
}

.case-card {
  display: flex;
  min-height: auto;
  flex-direction: column;
  grid-template-columns: none;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 239, 0.12);
  border-radius: 28px;
  padding: 12px;
  background: rgba(247, 244, 239, 0.055);
  color: var(--text-light);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.case-card:hover,
.case-card:focus-within {
  border-color: rgba(247, 244, 239, 0.28);
  background: rgba(247, 244, 239, 0.085);
  transform: translateY(-2px);
}

.case-card.is-hidden {
  display: none;
}

.case-grid.has-single-result {
  grid-template-columns: minmax(0, min(100%, 760px));
  justify-content: center;
}

.case-compare,
.batch-showcase,
.case-reference-board {
  height: clamp(240px, 21vw, 320px);
}

.batch-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.28fr);
  gap: 8px;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(247, 244, 239, 0.1), rgba(212, 185, 150, 0.05)),
    #1a1917;
  box-shadow:
    inset 0 0 0 1px rgba(247, 244, 239, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.16);
}

.batch-panel {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 244, 239, 0.12), transparent 52%),
    rgba(247, 244, 239, 0.045);
}

.batch-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card--batch:hover .batch-panel img,
.case-card--batch:focus-within .batch-panel img {
  transform: scale(1.035);
}

.batch-panel-source img {
  object-position: 50% 50%;
}

.batch-panel-output img {
  object-position: 50% 50%;
}

.batch-caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(18, 18, 18, 0.5);
  color: rgba(247, 244, 239, 0.9);
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.case-reference-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(247, 244, 239, 0.08), rgba(212, 185, 150, 0.06)),
    #121210;
  box-shadow:
    inset 0 0 0 1px rgba(247, 244, 239, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.16);
}

.case-reference-board div {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: rgba(247, 244, 239, 0.04);
}

.case-reference-board img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.06) contrast(1.02) saturate(1.04);
  transform: scale(1.01);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card--reference:hover .case-reference-board img,
.case-card--reference:focus-within .case-reference-board img {
  transform: scale(1.035);
}

.case-reference-board span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(247, 244, 239, 0.88);
  background: rgba(18, 18, 18, 0.46);
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.case-compare {
  --split: 50%;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background: #111;
  cursor: ew-resize;
  isolation: isolate;
  touch-action: none;
  box-shadow:
    inset 0 0 0 1px rgba(247, 244, 239, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.16);
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
}

.case-compare::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 34%, rgba(0, 0, 0, 0.2));
  content: "";
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.case-compare::after {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(18, 18, 18, 0.34);
  color: rgba(247, 244, 239, 0.64);
  content: "移动查看";
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
  backdrop-filter: blur(14px);
  opacity: 0.82;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.case-card:hover .case-compare,
.case-card:focus-within .case-compare {
  box-shadow:
    inset 0 0 0 1px rgba(247, 244, 239, 0.14),
    0 24px 52px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.case-card:hover .case-compare::before,
.case-card:focus-within .case-compare::before {
  opacity: 0.52;
}

.case-card:hover .case-compare::after,
.case-card:focus-within .case-compare::after {
  opacity: 0.46;
  transform: translateY(-2px);
}

.case-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  will-change: clip-path, transform, filter;
  transition:
    clip-path 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-after {
  z-index: 1;
  transform: scale(1.015);
  filter: saturate(1.08) contrast(1.02) brightness(1.16);
}

.case-card[data-case-category~="model-swap"] .case-after,
.case-card[data-case-category~="white-bg"] .case-after,
.case-card[data-case-category~="scene-main"] .case-after,
.case-card[data-case-category~="enhance"] .case-after {
  object-position: 50% 50%;
}

.case-card[data-case-category~="model-swap"] .case-before,
.case-card[data-case-category~="white-bg"] .case-before,
.case-card[data-case-category~="scene-main"] .case-before,
.case-card[data-case-category~="enhance"] .case-before {
  object-position: 50% 50%;
}

.case-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  filter: saturate(0.9) contrast(0.94) brightness(1.08);
}

.case-before-muted {
  filter: saturate(0.56) contrast(0.84) brightness(0.9) blur(0.2px);
}

.case-compare.is-dragging img {
  transition-duration: 0ms;
}

.case-card:hover .case-after,
.case-card:focus-within .case-after {
  transform: scale(1.035);
}

.case-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 4;
  width: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  transform: translateX(-50%);
  touch-action: none;
  opacity: 1;
  transition:
    left 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.case-divider::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(247, 244, 239, 0.22) 12%, rgba(247, 244, 239, 0.78) 48%, rgba(247, 244, 239, 0.22) 88%, transparent);
  box-shadow:
    0 0 0 1px rgba(22, 22, 22, 0.18),
    0 0 22px rgba(247, 244, 239, 0.28);
  content: "";
  transform: translateX(-50%);
}

.case-divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 24px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(247, 244, 239, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.2), rgba(247, 244, 239, 0.055)),
    rgba(18, 18, 18, 0.62);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(22, 22, 22, 0.18),
    inset 0 1px 0 rgba(247, 244, 239, 0.2),
    inset 0 0 0 1px rgba(22, 22, 22, 0.24);
  content: "";
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.case-divider:focus-visible::after,
.case-compare.is-dragging .case-divider::after {
  border-color: rgba(247, 244, 239, 0.58);
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.24), rgba(247, 244, 239, 0.08)),
    rgba(18, 18, 18, 0.68);
}

.case-divider:hover,
.case-divider:focus-visible,
.case-compare.is-dragging .case-divider {
  filter: brightness(1.18);
  transform: translateX(-50%) scale(1.035);
}

.case-compare.is-dragging .case-divider {
  transition-duration: 0ms;
}

.case-compare figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.16) 0 var(--split), rgba(212, 185, 150, 0.18) var(--split) 100%),
    rgba(18, 18, 18, 0.46);
  color: rgba(247, 244, 239, 0.86);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.case-compare figcaption span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.case-compare figcaption span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.66;
}

.case-copy {
  display: flex;
  min-height: auto;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 6px 6px;
  background: transparent;
}

.case-card h3 {
  margin-top: 0;
  color: var(--text-light);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.26;
}

.case-card p {
  max-width: 640px;
  margin-top: 10px;
  color: rgba(247, 244, 239, 0.66);
  font-size: 14px;
  line-height: 1.72;
}

.case-copy a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 244, 239, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(247, 244, 239, 0.86);
  background: rgba(247, 244, 239, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.enterprise {
  background: #f0ebe3;
}

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

.enterprise-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 30px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(251, 248, 242, 0.78);
}

.enterprise-card-wide {
  min-height: 360px;
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(233, 222, 209, 0.38)),
    #fbf7ef;
  color: #161616;
}

.enterprise-card-dark {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(244, 236, 225, 0.92), rgba(255, 252, 247, 0.68)),
    #eadfce;
  color: #161616;
}

.enterprise-card > span {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--accent-deep);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enterprise-card-wide > span,
.enterprise-card-dark > span {
  border-color: rgba(22, 22, 22, 0.1);
  color: #9a7048;
}

.enterprise-card h3 {
  margin-top: 38px;
  color: inherit;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.24;
}

.enterprise-card p {
  max-width: 520px;
  margin-top: 14px;
}

.enterprise-card-wide p,
.enterprise-card-dark p {
  color: rgba(22, 22, 22, 0.62);
}

.enterprise-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 10px 18px;
  margin-top: 32px;
}

.enterprise-console span {
  position: relative;
  padding-left: 14px;
  color: rgba(22, 22, 22, 0.62);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.enterprise-console span::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(177, 132, 78, 0.66);
  content: "";
}

@media (max-width: 1180px) {
  .enterprise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-card-wide,
  .enterprise-card-dark {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .cases {
    padding-right: 16px;
    padding-left: 16px;
  }

  .case-grid,
  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-card-wide,
  .enterprise-card-dark {
    grid-column: auto;
  }

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

  .case-card {
    border-radius: 24px;
  }

  .case-compare {
    height: min(520px, 72vw);
  }

  .batch-showcase,
  .case-reference-board {
    height: auto;
  }

  .batch-showcase {
    grid-template-columns: 1fr;
  }

  .case-reference-board {
    grid-template-columns: 1fr;
  }

  .batch-panel,
  .case-reference-board div {
    min-height: 280px;
  }

  .case-copy {
    padding: 17px 6px 6px;
  }

  .enterprise-card,
  .enterprise-card-wide {
    min-height: 250px;
  }
}

@media (hover: none) {
  .case-before {
    clip-path: inset(0 calc(100% - var(--split)) 0 0);
  }

  .case-divider {
    left: var(--split);
    opacity: 0.9;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .nav-links,
  .site-header .header-actions {
    display: none;
  }

  .site-header .menu-toggle {
    position: fixed;
    top: 17px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }
}
