/* 墨者科技 · 知聘 / 知绘｜AI × 服装 */

:root {
  --ink: #12161c;
  --ink-soft: #2a3340;
  --steel: #5a6573;
  --mist: #e6eaef;
  --paper: #eef1f4;
  --white: #ffffff;
  --teal: #0d7a72;
  --teal-deep: #0a5f59;
  --signal: #1c9b8e;
  --sand: #c4b5a0;
  --line: rgba(18, 22, 28, 0.1);
  --line-strong: rgba(18, 22, 28, 0.16);
  --shadow: 0 20px 48px rgba(18, 22, 28, 0.08);
  --radius: 16px;
  --header-h: 72px;
  --content-max: 1120px;
  --page-gutter: clamp(16px, 4.2vw, 28px);
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Syne", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  width: 100%;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(238, 241, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--steel);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 10px 16px !important;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--ink-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.25s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(13, 122, 114, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 12% 75%, rgba(196, 181, 160, 0.22), transparent 50%),
    linear-gradient(160deg, #e8edf2 0%, #f3f5f7 42%, #dde5eb 100%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fabric {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(18, 22, 28, 0.015) 11px,
      rgba(18, 22, 28, 0.015) 12px
    );
  mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
  pointer-events: none;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(238, 241, 244, 0.92) 0%, rgba(238, 241, 244, 0.62) 40%, rgba(238, 241, 244, 0.12) 72%),
    linear-gradient(180deg, transparent 55%, rgba(238, 241, 244, 0.75) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-top: calc(var(--header-h) + 24px);
  animation: rise 1s var(--ease) both;
}

.brand-signal {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(115deg, var(--ink) 18%, var(--teal) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 14em;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 38em;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--steel);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #165a6e 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(13, 122, 114, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-block {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--steel);
  opacity: 0.65;
}

.hero-scroll i {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--teal), transparent);
  animation: drip 1.6s ease-in-out infinite;
}

@keyframes drip {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal);
}

.section-head h2,
.contact-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.section-desc {
  margin: 0;
  color: var(--steel);
  font-size: 1.02rem;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--teal);
  transition: letter-spacing 0.25s var(--ease);
}

.text-link:hover {
  letter-spacing: 0.04em;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.check-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #165a6e);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.check-list li:first-child::before {
  top: 0.55em;
  transform: none;
}

/* Products */
.products {
  background:
    linear-gradient(180deg, transparent, rgba(13, 122, 114, 0.04) 40%, transparent),
    var(--paper);
}

.product-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.product-tab {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 22px 24px;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.product-tab:focus-visible,
.pipeline-tab:focus-visible,
.btn:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.product-tab:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.product-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.product-tab-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-tab-en {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.55;
  margin-bottom: 10px;
}

.product-tab-desc {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

.product-tab.is-active .product-tab-en {
  color: #7fdad3;
  opacity: 1;
}

.product-panels {
  min-height: 380px;
}

.product-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  animation: panelIn 0.45s var(--ease);
}

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

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-visual {
  min-height: 340px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hire-visual {
  background:
    radial-gradient(circle at 78% 18%, rgba(28, 155, 142, 0.2), transparent 42%),
    linear-gradient(155deg, #151a22 0%, #1e2c36 55%, #17262a 100%);
  display: grid;
  place-items: center;
  padding: 22px;
}

.hire-mock {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 14px;
}

.hire-mock-kpis {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 10px;
}

.hire-kpi {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.hire-kpi.is-accent {
  background: linear-gradient(145deg, rgba(13, 122, 114, 0.45), rgba(255, 255, 255, 0.04));
  border-color: rgba(126, 218, 211, 0.28);
}

.hire-kpi span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-bottom: 6px;
}

.hire-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 6px;
  word-break: keep-all;
}

.hire-kpi em {
  font-style: normal;
  font-size: 0.72rem;
  color: #7fdad3;
}

.hire-mock-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
}

.hire-funnel,
.hire-board {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hire-mock-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.funnel-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.funnel-row:last-child {
  margin-bottom: 0;
}

.funnel-row i {
  display: block;
  height: 8px;
  width: var(--w, 50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.funnel-row.is-pass i {
  background: rgba(28, 155, 142, 0.85);
}

.funnel-row.is-talk i {
  background: rgba(196, 181, 160, 0.8);
}

.funnel-row.is-hire i {
  background: rgba(126, 218, 211, 0.95);
}

.board-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.board-cols > div {
  display: grid;
  gap: 6px;
}

.board-cols b {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.board-cols span {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-cols > div:nth-child(1) span:nth-child(2) {
  background: rgba(28, 155, 142, 0.25);
}

.board-cols > div:nth-child(2) span:nth-child(2) {
  background: rgba(196, 181, 160, 0.28);
}

.board-cols > div:nth-child(3) span:nth-child(2) {
  background: rgba(126, 218, 211, 0.28);
}

.morph-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #12161c;
}

.morph-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 4s linear;
  pointer-events: none;
}

.morph-slide.is-on {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.morph-labels {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.morph-labels span {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(18, 22, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.morph-labels span.is-on {
  color: #fff;
  border-color: rgba(126, 218, 211, 0.45);
  background: rgba(13, 122, 114, 0.45);
}

.atelier-visual {
  background: #12161c;
  display: block;
  padding: 0;
}

.product-kicker {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--teal);
}

.product-copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.product-copy > p {
  margin: 0 0 18px;
  color: var(--steel);
}

/* Hire flow */
.hire {
  background:
    linear-gradient(180deg, #e2e8ee 0%, var(--paper) 16%, var(--paper) 100%);
}

.hire-concept {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 0 0 48px;
  padding: 8px 0;
}

.hire-concept-step {
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.hire-concept-step.is-accent {
  background: linear-gradient(145deg, rgba(13, 122, 114, 0.12), rgba(255, 255, 255, 0.55));
  border-color: rgba(13, 122, 114, 0.28);
}

.hire-concept-step span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.hire-concept-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.hire-concept-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--steel);
}

.hire-concept-arrow {
  width: 18px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  position: relative;
}

.hire-concept-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--teal);
  border-top: 1.5px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip > div {
  padding: 22px 28px 22px 0;
  border-right: 1px solid var(--line);
}

.metric-strip > div + div {
  padding-left: 28px;
}

.metric-strip > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.metric-strip p {
  margin: 0;
  color: var(--steel);
  font-size: 0.9rem;
}

.subsection-head {
  margin: 8px 0 28px;
}

.subsection-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.subsection-head p {
  margin: 0;
  color: var(--steel);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
}

.module-grid article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.module-grid h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.module-grid p {
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-strip figure {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a222c;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-strip figure:hover img {
  transform: scale(1.05);
}

.gallery-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(transparent, rgba(18, 22, 28, 0.75));
}

.flow-rail {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}

.flow-rail li {
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.flow-rail li + li {
  padding-left: 28px;
}

.flow-rail li:last-child {
  border-right: 0;
  padding-right: 0;
}

.flow-step {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.flow-rail h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.flow-rail p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.capability-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.4fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.capability-row:hover {
  padding-left: 8px;
}

.capability-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.capability-row p {
  margin: 0;
  color: var(--steel);
}

/* Atelier pipeline */
.atelier {
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(196, 181, 160, 0.12), transparent 50%),
    var(--paper);
}

.pipeline {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 48px;
}

.product-copy {
  padding-top: 8px;
}

.pipeline-nav {
  display: flex;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.pipeline-tab {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--steel);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.pipeline-tab:hover {
  color: var(--ink);
  background: rgba(18, 22, 28, 0.04);
}

.pipeline-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.pipeline-stage {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(20px, 3.5vw, 36px);
  animation: panelIn 0.45s var(--ease);
}

.pipeline-stage[hidden] {
  display: none;
}

.pipeline-preview {
  min-height: 320px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pipeline-preview.has-media {
  padding: 0;
  background: #12161c;
  min-height: 320px;
}

.pipeline-preview.has-media > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.pipeline-preview.has-media .preview-caption {
  z-index: 3;
  background: linear-gradient(transparent, rgba(18, 22, 28, 0.78));
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  margin: 0;
}

.ken-cross {
  position: absolute;
  inset: 0;
}

.ken-cross img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ken-cross .ken-a {
  animation: kenFade 6s ease-in-out infinite;
}

.ken-cross .ken-b {
  opacity: 0;
  animation: kenFadeAlt 6s ease-in-out infinite;
}

@keyframes kenFade {
  0%,
  40% {
    opacity: 1;
    transform: scale(1);
  }
  50%,
  90% {
    opacity: 0;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes kenFadeAlt {
  0%,
  40% {
    opacity: 0;
    transform: scale(1.06);
  }
  50%,
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

.pipeline-preview.video-live {
  position: relative;
}

.pipeline-preview.video-live > img {
  animation: kenZoom 8s ease-in-out infinite alternate;
}

@keyframes kenZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(13, 122, 114, 0.55);
  border: 1px solid rgba(126, 218, 211, 0.35);
  backdrop-filter: blur(8px);
}

.pipeline-preview.video-live .video-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(94, 227, 216, 0.12), transparent);
  background-size: 100% 35%;
  animation: videoSweep 2.8s ease-in-out infinite;
}

.preview-caption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes videoSweep {
  0% {
    background-position: 0 -40%;
  }
  100% {
    background-position: 0 140%;
  }
}

.pipeline-copy h3 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.35;
}

.pipeline-copy > p {
  margin: 0 0 18px;
  color: var(--steel);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-item {
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.why-item + .why-item {
  padding-left: 28px;
}

.why-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.why-num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.why-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.why-item p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

/* Vision */
.vision {
  padding: 0 0 110px;
}

.vision-inner {
  border-radius: 28px;
  padding: clamp(48px, 8vw, 80px);
  text-align: center;
  background:
    linear-gradient(125deg, rgba(13, 122, 114, 0.1), rgba(196, 181, 160, 0.14)),
    var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.vision-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 22, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 28, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 28%, transparent 75%);
  pointer-events: none;
}

.vision-brand {
  position: relative;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.vision-text {
  position: relative;
  margin: 0 auto;
  max-width: 22em;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Contact */
.contact {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background:
    linear-gradient(160deg, #12161c, #1a2e38 55%, #0f2a2c);
  color: var(--white);
  box-shadow: var(--shadow);
  color-scheme: dark;
}

.contact-copy .eyebrow {
  color: #7fdad3;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-meta span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-meta strong {
  color: #9eefe8;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 14px;
  align-content: start;
}

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

.contact-form label span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.contact-form textarea {
  height: 96px;
  min-height: 96px;
  padding: 14px;
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(126, 218, 211, 0.55);
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin: 0;
  text-align: center;
  color: #9eefe8;
  font-size: 0.9rem;
}

.form-note.is-error {
  color: #ffb4b4;
}

.form-note.is-success {
  color: #9eefe8;
}

/* Success modal */
.toast-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 22, 28, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.toast-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.toast-dialog {
  width: min(400px, 100%);
  padding: 32px 28px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.toast-modal.is-open .toast-dialog {
  transform: none;
}

.toast-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 122, 114, 0.12);
  color: var(--teal);
}

.toast-dialog h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}

.toast-dialog p {
  margin: 0 0 22px;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.65;
}

.toast-dialog .btn {
  min-width: 120px;
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
}

.footer-brand p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--steel);
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--steel);
}

.footer-copy a:hover {
  color: var(--teal);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .product-panel,
  .pipeline-stage,
  .contact-card,
  .capability-row {
    grid-template-columns: 1fr;
  }

  .hire-concept {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hire-concept-arrow {
    display: none;
  }

  .flow-rail,
  .why-grid,
  .metric-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

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

  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-rail li,
  .why-item,
  .metric-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .metric-strip > div + div,
  .flow-rail li + li,
  .why-item + .why-item {
    padding-left: 0;
  }

  .hire-mock-kpis,
  .hire-mock-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: block;
    z-index: 2;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: rgba(238, 241, 244, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.2rem;
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .product-switch,
  .flow-rail,
  .why-grid,
  .metric-strip,
  .module-grid,
  .hire-concept {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .site-header.is-open {
    background: transparent;
    border-bottom-color: transparent;
  }

  .nav {
    z-index: 1;
  }

  .hero-title,
  .hero-lead {
    max-width: none;
  }

  .section {
    padding: 72px 0;
  }

  .vision {
    padding-bottom: 72px;
  }

  .vision-inner {
    padding: 40px var(--page-gutter);
    border-radius: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(238, 241, 244, 0.78) 0%, rgba(238, 241, 244, 0.55) 50%, rgba(238, 241, 244, 0.88) 100%);
  }
}

@media (max-width: 480px) {
  .brand-signal {
    font-size: clamp(2.2rem, 12vw, 3rem);
    letter-spacing: 0.08em;
  }

  .product-tab {
    padding: 16px;
  }

  .pipeline-tab {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --content-max: 1200px;
  }
}

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

  .reveal,
  .hero-inner,
  .product-panel,
  .pipeline-stage,
  .ken-cross .ken-a,
  .ken-cross .ken-b,
  .pipeline-preview.video-live > img,
  .pipeline-preview.video-live .video-scan,
  .hero-scroll i {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .morph-slide {
    animation: none !important;
    transition: none !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .morph-slide.is-on {
    opacity: 1 !important;
  }

  .ken-cross .ken-b {
    opacity: 0 !important;
  }
}
