:root {
  --bg: #0b0b0b;
  --panel: #161616;
  --panel-2: #111;
  --text: #f1f1ef;
  --muted: #777;
  --faint: #4f4f4f;
  --line: #292929;
  --accent: #e9827e;
  --accent-deep: #b95049;
  --max: 1280px;
  --pad: max(5.55vw, 28px);
  --page-scale: 1;
  font-family: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  z-index: 200;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 80;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 64px);
  transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}

.site-nav > * {
  pointer-events: auto;
}

.site-nav.compact {
  background: #0b0b0be8;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: #ffffff12;
}

.site-nav.hidden {
  transform: translateY(-100%);
}

.brand {
  font: 600 12px/1 "DM Sans", "Inter", "Helvetica Neue", sans-serif;
  letter-spacing: 0.2em;
  color: #f1f1ef;
}

.brand span {
  color: var(--accent);
}

.site-nav nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.site-nav nav a {
  font-size: 12px;
  color: #999;
  transition: color 0.25s;
}

.site-nav nav a:hover {
  color: #fff;
}

.nav-index {
  margin-left: 28px;
  color: #666;
  font: 10px "DM Sans", "Inter", sans-serif;
  letter-spacing: 0.2em;
}

.section {
  position: relative;
  min-height: 900px;
  padding: 54px var(--pad) 55px;
  background: var(--bg);
  border-top: 1px solid #ffffff05;
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-index {
  margin: 0 0 24px;
  color: var(--accent);
  font: 400 11px/1.2 "DM Sans", "Helvetica Neue", sans-serif;
  letter-spacing: 0.24em;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font: 300 clamp(32px, 2.5vw, 40px)/1.25 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child,
.section-heading > div > p:last-child {
  margin: 14px 0 0;
  color: #666;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.75, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-card:nth-child(2),
.module-card:nth-child(2),
.experience:nth-child(2) {
  transition-delay: 0.08s;
}

.service-card:nth-child(3),
.module-card:nth-child(3),
.experience:nth-child(3) {
  transition-delay: 0.16s;
}

.service-card:nth-child(4),
.module-card:nth-child(4),
.experience:nth-child(4) {
  transition-delay: 0.24s;
}

.module-card:nth-child(5) {
  transition-delay: 0.32s;
}

.module-card:nth-child(6) {
  transition-delay: 0.4s;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: #111;
}

.hero > * {
  max-width: none;
  margin: 0;
}

.hero-copy {
  position: relative;
  min-height: 100vh;
  padding: clamp(110px, 13vh, 150px) clamp(50px, 7vw, 105px) 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  position: absolute;
  top: 10%;
  color: #666;
  font: 10px "DM Sans", "Inter", sans-serif;
  letter-spacing: 0.25em;
}

.hero-name {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  font: 300 clamp(56px, 7vw, 112px)/0.95 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: -0.065em;
}

.hero-name span {
  font-family: "DM Sans", "Inter", sans-serif;
  font-size: 0.44em;
  letter-spacing: -0.02em;
  color: #a8a6a1;
  font-weight: 300;
}

.hero-name i {
  width: 9px;
  height: 9px;
  background: var(--accent);
  display: inline-block;
  margin-left: 0.03em;
}

.hero-role {
  margin: 24px 0 0;
  color: #aaa;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.hero-statement {
  margin: 52px 0 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.hero-meta {
  margin: 28px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 2;
}

.button {
  height: 48px;
  min-width: 128px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: #f4f4f1;
  color: #111;
  font-weight: 500;
}

.hero-copy > .button {
  margin-top: 34px;
}

.hero-foot {
  margin: auto 0 0;
  color: #555;
  font-size: 11px;
  line-height: 1.8;
}

.github-link {
  margin-top: 15px;
  width: max-content;
  color: var(--accent);
  font: 12px "DM Sans", "Inter", sans-serif;
  letter-spacing: 0.08em;
}

.hero-photo {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 52% 46%, rgba(233, 130, 126, 0.16), rgba(185, 80, 73, 0.05) 48%, #141414 80%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111 0, transparent 18%, transparent 72%, #0005 100%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.03);
}

.hero-photo figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  font: 10px "DM Sans", "Inter", sans-serif;
  letter-spacing: 0.22em;
  color: #f1f1ef99;
  background: #0b0b0bcc;
  padding: 6px 12px;
  border: 1px solid #ffffff1a;
}

.image-reveal {
  clip-path: inset(0 0 100% 0);
  animation: heroReveal 1.15s 0.12s cubic-bezier(0.75, 0, 0.2, 1) forwards;
}

@keyframes heroReveal {
  to {
    clip-path: inset(0);
  }
}

.service-overview {
  padding-top: 70px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.service-card {
  position: relative;
  height: 300px;
  padding: 25px 28px;
  background: var(--panel);
  border: 1px solid #ffffff05;
  overflow: hidden;
  transition-property: opacity, transform, border-color;
  background-image: linear-gradient(120deg, transparent, #ffffff02);
}

.service-card:hover {
  border-color: #e9827e66;
}

.card-label {
  display: flex;
  align-items: center;
  gap: 28px;
  font: 10px "DM Sans", "Helvetica Neue", sans-serif;
  letter-spacing: 0.16em;
  color: #515151;
}

.card-label span:first-child {
  color: var(--accent);
  font-size: 11px;
}

.service-copy h3 {
  margin: 35px 0 18px;
  font: 300 22px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: -0.025em;
}

.service-lead {
  margin: 0;
  color: #c5c5c2;
  font-size: 16px;
  line-height: 1.65;
}

.service-detail {
  position: absolute;
  left: 28px;
  bottom: 56px;
  margin: 0;
  color: #606060;
  font-size: 11px;
  line-height: 1.65;
}

.card-button {
  position: absolute;
  right: 28px;
  bottom: 14px;
  height: 38px;
  min-width: 122px;
  padding: 0 21px;
  font-size: 12px;
}

.training-visual,
.ip-visual,
.twin-visual,
.logo-grid {
  position: absolute;
  right: 28px;
  top: 57px;
  width: 250px;
}

.training-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.training-visual > div {
  border: 1px solid #333;
  padding: 15px 14px;
}

.training-visual strong {
  display: block;
  font: 300 30px "DM Sans", "Inter", sans-serif;
}

.training-visual span {
  display: block;
  color: #666;
  font-size: 10px;
  margin-top: 9px;
}

.training-visual p {
  grid-column: 1 / 3;
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.training-visual p span {
  width: 63px;
  border: 1px solid #333;
  text-align: center;
  padding: 8px 2px;
  margin: 0;
}

.training-visual p span:last-child {
  background: var(--accent-deep);
  color: #fff;
}

.training-visual p b {
  font-weight: 300;
  color: #555;
}

.ip-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.ip-visual span {
  height: 55px;
  border: 1px solid #333;
  padding: 8px;
  color: #aaa;
  font-size: 10px;
}

.ip-visual small {
  display: block;
  color: #555;
  margin-bottom: 8px;
}

.ip-visual .active {
  border-color: #b95049;
  background: #3a1918;
  color: #eee;
}

.twin-visual {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  top: 55px;
}

.twin-visual figure {
  position: relative;
  margin: 0;
  width: 98px;
  height: 174px;
  overflow: hidden;
  border: 1px solid #ffffff1a;
  background: #0f0f0f;
}

.twin-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.twin-visual figure:first-child img {
  object-position: 50% 20%;
}

.twin-visual span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #111d;
  padding: 5px 7px;
  font-size: 8px;
}

.twin-visual figure:nth-child(2) span {
  background: #b95049e8;
}

.twin-visual i {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 22px;
  height: 22px;
  background: #eee;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 232px;
  top: 70px;
}

.logo-grid span {
  height: 48px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  color: #aaa;
  font: 10px "Noto Sans SC", "DM Sans", sans-serif;
}

.logo-grid .badge-dot {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid #e9827e55;
  background: #1d1414;
  color: var(--accent);
  display: grid;
  place-items: center;
  font: 600 10px "DM Sans", sans-serif;
}

.detail-section {
  padding-top: 54px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

.module-card {
  height: 278px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid #ffffff0d;
}

.module-label {
  margin: 0;
  color: #5d5d5d;
  font: 10px "DM Sans", sans-serif;
  letter-spacing: 0.16em;
}

.module-label span {
  color: var(--accent);
  font-size: 11px;
  margin-right: 36px;
}

.module-card h3 {
  margin: 44px 0 11px;
  font-size: 23px;
  font-weight: 300;
}

.module-card h4 {
  margin: 0;
  color: #858585;
  font-size: 14px;
  font-weight: 300;
}

.rule {
  height: 1px;
  background: #303030;
  margin: 23px 0;
}

.module-card ul,
.ip-module ul,
.experience ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #797979;
  font-size: 11px;
  line-height: 1.8;
}

.feature-strip {
  height: 50px;
  margin-top: 28px;
  border: 1px solid #ffffff0d;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #888;
  font-size: 11px;
}

.feature-strip b {
  color: var(--accent);
  font: 10px "DM Sans", sans-serif;
  margin-right: 14px;
}

.split-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.metrics,
.trait-grid {
  display: flex;
}

.metrics > div {
  width: 150px;
  height: 98px;
  background: #181818;
  border: 1px solid #ffffff08;
  padding: 20px;
}

.metrics strong {
  display: block;
  font: 300 30px "DM Sans", sans-serif;
}

.metrics span,
.trait-grid span {
  display: block;
  color: #666;
  font-size: 10px;
  margin-top: 11px;
}

.core-workbench {
  height: 260px;
  background: #191919;
  border: 1px solid #e9827e66;
  box-shadow: 0 22px 48px #0006;
  display: grid;
  grid-template-columns: 3fr 2fr;
  padding: 37px 34px;
}

.core-workbench > div:first-child {
  border-right: 1px solid #333;
  padding-right: 28px;
}

.core-workbench > div:last-child {
  padding: 32px 42px;
}

.core-workbench p {
  margin: 0 0 13px;
  color: #888;
  font-size: 12px;
}

.core-workbench > div:first-child > p {
  color: var(--accent);
  font: 11px "DM Sans", sans-serif;
  letter-spacing: 0.15em;
}

.core-workbench h3 {
  margin: 42px 0 12px;
  font-size: 34px;
  font-weight: 300;
}

.core-workbench h4 {
  margin: 0;
  color: #999;
  font-size: 16px;
  font-weight: 300;
}

.core-workbench small {
  display: block;
  margin-top: 22px;
  color: #555;
  font: 9px "DM Sans", sans-serif;
  letter-spacing: 0.2em;
}

.flow-line {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #6b6b6b;
  font-size: 11px;
}

.flow-line span:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 14px;
}

.ip-module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.ip-module {
  height: 220px;
  padding: 25px 24px;
  background: var(--panel);
  border: 1px solid #ffffff0d;
}

.ip-module p {
  margin: 0;
  color: #555;
  font: 9px "DM Sans", sans-serif;
  letter-spacing: 0.15em;
}

.ip-module p b {
  color: var(--accent);
  font-size: 10px;
  margin-right: 22px;
}

.ip-module h3 {
  margin: 34px 0 0;
  font-size: 20px;
  font-weight: 300;
}

.ip-module .rule {
  margin: 16px 0;
}

.system-foot {
  text-align: center;
  color: #666;
  font: 10px "DM Sans", "Noto Sans SC", sans-serif;
  letter-spacing: 0.2em;
  margin-top: 36px;
}

.trait-grid {
  width: 390px;
  height: 96px;
  background: #2a2a2a;
  gap: 1px;
}

.trait-grid > div {
  width: 130px;
  background: #181818;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trait-grid strong {
  font-size: 18px;
  font-weight: 300;
}

.twin-detail-grid,
.agent-detail-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 50px;
}

.detail-card {
  height: 610px;
  background: var(--panel-2);
  border: 1px solid #ffffff0d;
  padding: 32px 28px;
  position: relative;
}

.selling-label {
  margin: 0;
  color: var(--accent);
  font: 10px "DM Sans", sans-serif;
  letter-spacing: 0.16em;
}

.detail-card h3 {
  margin: 31px 0 0;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.proof-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 25px;
}

.proof-media figure {
  position: relative;
  margin: 0;
  height: 360px;
  border: 1px solid #ffffff1a;
  overflow: hidden;
  background: #090909;
}

.proof-media img,
.proof-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-media figure:first-child img {
  object-position: 50% 22%;
}

.proof-media figcaption {
  position: absolute;
  left: 9px;
  bottom: 9px;
  background: #111e;
  padding: 6px 9px;
  font-size: 9px;
}

.proof-media figure:nth-child(2) figcaption {
  background: #b95049e8;
}

.video-button {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: #eee;
  color: #111;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.video-button:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.06);
}

.proof-media figure.roar-active img {
  filter: drop-shadow(0 0 18px rgba(233, 130, 126, 0.55)) contrast(1.12);
  transform: scale(1.04);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.proof-note {
  margin: 27px 0 0;
  color: #888;
  font-size: 12px;
  line-height: 1.7;
}

.subline {
  margin: 10px 0 0;
  color: #777;
  font-size: 13px;
}

.twin-capacity ol {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.twin-capacity li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #303030;
}

.twin-capacity li > span {
  color: var(--accent);
  font: 12px "DM Sans", sans-serif;
  margin-top: 3px;
}

.twin-capacity li div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twin-capacity li strong {
  font-size: 16px;
  font-weight: 400;
  color: #f1f1ef;
}

.twin-capacity li small {
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

.delivery-metrics {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.delivery-metrics span {
  font-size: 10px;
  color: #666;
}

.delivery-metrics strong {
  display: block;
  color: var(--accent);
  font: 300 20px "DM Sans", sans-serif;
  margin-bottom: 8px;
}

.agent-detail-grid .detail-card {
  height: 520px;
}

.process-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.process-stack > div {
  min-height: 92px;
  border: 1px solid #303030;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
}

.process-stack > div.active {
  border-color: #b95049;
  background: #3a1918;
}

.process-stack span,
.reason-grid span {
  color: var(--accent);
  font: 11px "DM Sans", sans-serif;
}

.process-stack p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.process-stack strong {
  font-size: 15px;
  font-weight: 400;
}

.process-stack small,
.reason-grid small {
  color: #888;
  font-size: 11.5px;
  line-height: 1.55;
}

.card-foot {
  position: absolute;
  left: 28px;
  bottom: 24px;
  margin: 0;
  color: #666;
  font-size: 11px;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.reason-grid > div {
  min-height: 108px;
  border: 1px solid #303030;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-content: start;
  row-gap: 6px;
}

.reason-grid strong {
  font-size: 13.5px;
  font-weight: 400;
  color: #f1f1ef;
}

.reason-grid small {
  grid-column: 1 / -1;
  align-self: start;
}

.agent-callout {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  border: 1px solid #b9504966;
  background: #1a1212;
  margin: 0;
  padding: 14px 16px;
  color: #ccc;
  font-size: 12px;
  line-height: 1.5;
}

.detail-footer {
  height: 70px;
  border-top: 1px solid #303030;
  margin-top: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #666;
  font-size: 11px;
}

.detail-footer span:last-child {
  font: 9px "DM Sans", sans-serif;
  letter-spacing: 0.17em;
}

.about-section {
  background: #0e0e0e;
}

.about-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 85px;
}

.about-heading h2 {
  margin: 0;
  font-size: 58px;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.about-heading > p {
  margin: 0 20px 0 0;
  color: #777;
  font-size: 13px;
  line-height: 1.9;
}

.experience-grid {
  border-top: 1px solid #303030;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.experience {
  min-height: 350px;
  padding: 48px 28px 20px 0;
  border-right: 1px solid #292929;
}

.experience + .experience {
  padding-left: 20px;
}

.experience:last-child {
  border-right: 0;
}

.experience-index {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 25px;
  color: #666;
  font: 9px "DM Sans", sans-serif;
  letter-spacing: 0.15em;
}

.experience-index b {
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
}

.experience h3 {
  font-size: 23px;
  font-weight: 300;
  margin: 45px 0 34px;
}

.experience li {
  line-height: 1.9;
}

.contact-section {
  min-height: 820px;
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 60px;
  padding-top: 64px;
}

.contact-section > * {
  width: 100%;
  max-width: none;
  margin: 0;
}

.contact-copy {
  padding-top: 0;
}

.contact-eyebrow {
  margin: 48px 0 25px;
  color: #666;
  font: 10px "DM Sans", sans-serif;
  letter-spacing: 0.21em;
}

.contact-copy h2 {
  font-size: 58px;
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 640px;
}

.contact-lead {
  margin: 45px 0 0;
  color: #777;
  font-size: 14px;
  line-height: 2;
}

.contact-links {
  border-top: 1px solid #303030;
  margin-top: 58px;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-links span,
.contact-links a,
.contact-links button {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  width: max-content;
  cursor: pointer;
}

.contact-links b {
  font-size: 12px;
  font-weight: 300;
  color: #b7b7b3;
}

.contact-card {
  height: 600px;
  padding: 42px 48px;
  background: #171717f2;
  border: 1px solid #e9827e55;
  position: relative;
}

.contact-card > p:first-child {
  color: var(--accent);
  font: 10px "DM Sans", sans-serif;
  letter-spacing: 0.2em;
}

.contact-card h3 {
  margin: 25px 0 0;
  font-size: 26px;
  font-weight: 300;
}

.contact-card-copy {
  color: #707070;
  font-size: 12px;
  line-height: 1.8;
}

.qr-placeholder {
  position: absolute;
  left: 48px;
  top: 202px;
  width: 154px;
  height: 154px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #e9827e66;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-person {
  position: absolute;
  left: 238px;
  top: 214px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-person strong {
  font-size: 18px;
  font-weight: 300;
}

.contact-person span {
  color: #707070;
  font-size: 11px;
  line-height: 1.8;
}

.contact-person b {
  color: var(--accent);
  font-size: 10px;
  font-weight: 300;
}

.contact-services {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 36px;
  border-top: 1px solid #333;
  padding-top: 13px;
}

.contact-services a {
  height: 36px;
  display: grid;
  grid-template-columns: 20px 1fr 30px;
  align-items: center;
  color: #b7b7b3;
  font-size: 11px;
  transition: color 0.2s;
}

.contact-services a:hover {
  color: #fff;
}

.contact-services i {
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.contact-services small {
  text-align: right;
  color: #555;
}

.site-footer {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 25px;
  border-top: 1px solid #282828;
  padding-top: 20px;
  display: flex;
  justify-content: space-between !important;
  color: #555;
  font-size: 10px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  transform: translate(-50%, 30px);
  opacity: 0;
  padding: 12px 18px;
  background: #f2f2ef;
  color: #111;
  border-left: 3px solid var(--accent);
  font-size: 12px;
  transition: 0.3s;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%);
}

.service-card,
.module-card,
.core-workbench,
.ip-module,
.detail-card,
.contact-card {
  transform-origin: center;
  will-change: transform, border-color, box-shadow;
  transition: transform 0.32s cubic-bezier(0.2, 0.72, 0.2, 1), border-color 0.28s ease, box-shadow 0.32s ease, opacity 0.75s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .module-card:hover,
  .core-workbench:hover,
  .ip-module:hover,
  .detail-card:hover,
  .contact-card:hover {
    z-index: 10;
    border-color: #e9827ecc;
    transform: translate3d(0, -8px, 0) scale(1.018);
    box-shadow: 0 24px 50px #0009, 0 0 0 1px #b9504940;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .site-nav,
  .button,
  .service-card,
  .module-card,
  .core-workbench,
  .ip-module,
  .detail-card,
  .contact-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .image-reveal {
    clip-path: none !important;
    animation: heroRevealReduced 0.01s linear 1 both !important;
  }
  @keyframes heroRevealReduced {
    0% {
      opacity: 0.01;
    }
    to {
      opacity: 1;
    }
  }
}

@media (min-width: 0px) {
  :root {
    --pad: clamp(64px, 5.555vw, 96px);
  }
  html {
    scroll-padding-top: 0;
  }
  .section {
    height: 900px;
    min-height: 900px;
    padding: 54px var(--pad) 55px;
  }
  .section > * {
    width: 100%;
    max-width: none;
  }
  .section-heading h2 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.8px;
  }
  .service-overview {
    padding-top: 54px;
  }
  .service-overview .section-heading {
    margin-bottom: 28px;
  }
  .service-overview .section-heading h2 {
    font-size: 40px;
    line-height: 1.2;
  }
  .service-grid {
    gap: 40px;
  }
  .service-card {
    background-image: none;
  }
  .hero {
    display: grid;
    height: 100svh;
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) min(50vw, 80svh);
  }
  .hero-copy {
    height: 100%;
    min-height: 0;
    padding: 0;
    display: block;
  }
  .hero-kicker {
    left: var(--pad);
    top: 23.5%;
    color: #9d6865;
    font: 11px/1 "Inter", "Helvetica Neue", sans-serif;
    letter-spacing: 2.8px;
  }
  .hero-name {
    position: absolute;
    left: var(--pad);
    top: 29%;
    margin: 0;
    color: #f0eee9;
    font: 300 64px/1.08 "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: -1.3px;
  }
  .hero-role {
    position: absolute;
    left: var(--pad);
    top: 39%;
    margin: 0;
    color: #b97872;
    font: 13px/1.2 "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: 1.1px;
  }
  .hero-statement {
    position: absolute;
    left: calc(var(--pad) + 2px);
    top: 44.5%;
    margin: 0;
    color: #f0eee9;
    font: 300 24px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: -0.2px;
  }
  .hero-meta {
    position: absolute;
    left: calc(var(--pad) + 1px);
    top: 54.5%;
    margin: 0;
    color: #817e79;
    font: 13px/2 "Noto Sans SC", "PingFang SC", sans-serif;
  }
  .hero-copy > .button {
    position: absolute;
    left: calc(var(--pad) + 2px);
    top: 65%;
    width: 128px;
    min-width: 128px;
    margin: 0;
    padding: 0 14px;
    gap: 12px;
    background: #f7f7f5;
    font: 500 14px/1 "Noto Sans SC", "PingFang SC", sans-serif;
    white-space: nowrap;
  }
  .hero-foot {
    position: absolute;
    left: var(--pad);
    bottom: 5%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6e6c68;
    font: 13px "Noto Sans SC", "PingFang SC", sans-serif;
  }
  .hero-foot.reveal {
    opacity: 1;
    transform: none;
  }
  .github-link {
    margin: 0;
    color: #c97872;
    font: 13px "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: 0.1px;
  }
  .hero-photo {
    height: 100%;
    min-height: 0;
    background: radial-gradient(circle at 52% 46%, rgba(233, 130, 126, 0.16), rgba(185, 80, 73, 0.05) 48%, #151515 80%);
  }
  .hero-photo:after {
    display: block;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: none;
  }
  .contact-section {
    height: 820px;
    min-height: 820px;
  }
}

@media (min-width: 0px) {
  .reveal {
    transform: translateY(16px);
  }
  .service-overview .section-heading {
    height: 78px;
    margin-bottom: 27px;
  }
  .service-overview .section-heading .section-index {
    margin-bottom: 14px;
  }
  .service-grid {
    grid-template-columns: 620px 620px;
    gap: 40px;
  }
  .service-card {
    width: 620px;
    height: 300px;
    padding: 25px 28px;
  }
  .service-grid > .reveal {
    transition-delay: 0s;
  }
  .service-card .card-label {
    gap: 28px;
    font: 400 10px/1.3 "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 1.5px;
  }
  .service-card .card-label span:first-child {
    font-size: 11px;
    letter-spacing: 1.6px;
  }
  .service-copy h3 {
    margin: 35px 0 12px;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.3px;
  }
  .service-agent .service-copy h3 {
    font-size: 21px;
    line-height: 1.48;
    letter-spacing: -0.25px;
  }
  .service-twin .service-copy h3 {
    line-height: 1.48;
    letter-spacing: -0.25px;
  }
  .service-lead {
    font-size: 16px;
    line-height: 1.6;
  }
  .service-detail {
    left: 28px;
    bottom: 65px;
    font-size: 11.5px;
    line-height: 1.7;
    letter-spacing: 0.05px;
  }
  .service-foot {
    position: absolute;
    left: 28px;
    bottom: 24px;
    margin: 0;
    color: #414141;
    font: 9px/1.33 "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 1.7px;
  }
  .card-button {
    right: 28px;
    bottom: 12px;
    width: 122px;
    min-width: 122px;
    height: 38px;
    padding: 0 21px;
  }
  .training-visual {
    right: 28px;
    top: 58px;
    width: 250px;
  }
  .training-visual strong {
    font-family: "Inter", "Helvetica Neue", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -1.2px;
  }
  .training-visual span {
    font-size: 11px;
    line-height: 1.45;
  }
  .ip-visual {
    right: 28px;
    top: 58px;
    width: 242px;
  }
  .ip-visual span {
    height: 57px;
    font-size: 10.5px;
  }
  .ip-visual small {
    font-family: "Inter", "Helvetica Neue", sans-serif;
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .twin-visual {
    right: 28px;
    top: 57px;
    width: 212px;
  }
  .logo-grid {
    right: 28px;
    top: 70px;
    width: 232px;
  }
  #training .section-heading {
    height: 87px;
    margin-bottom: 24px;
  }
  #training .section-heading .section-index {
    margin-bottom: 14px;
  }
  #training .section-heading > p:last-child {
    margin-top: 8px;
  }
  #training .training-grid {
    grid-template-columns: repeat(3, 414px);
    column-gap: 19px;
    row-gap: 42px;
  }
  #training .module-card {
    width: 414px;
    height: 278px;
    padding: 28px;
  }
  #training .module-card h3 {
    margin: 25px 0 7px;
    font-size: 24px;
  }
  #training .module-card h4 {
    font-size: 14px;
  }
  #training .module-card .rule {
    margin: 18px 0 16px;
  }
  #training .module-card ul {
    font-size: 12px;
    line-height: 1.8;
  }
  #training .feature-strip {
    width: 1280px;
    height: 50px;
    margin-top: 32px;
  }
  #ip-system .section-heading {
    height: 167px;
    margin-bottom: 24px;
  }
  #ip-system .section-heading .section-index {
    margin-bottom: 24px;
  }
  #ip-system .core-workbench {
    width: 1280px;
    height: 260px;
    grid-template-columns: 656px 1fr;
    padding: 37px 34px;
  }
  #ip-system .metrics {
    transform: translate(-10px, 9px);
  }
  #ip-system .metrics > div {
    width: 165px;
  }
  #ip-system .core-workbench > div:last-child {
    padding: 30px 42px;
  }
  #ip-system .core-workbench h3 {
    margin: 28px 0 10px;
    font-size: 36px;
  }
  #ip-system .core-workbench h4 {
    font-size: 16px;
  }
  #ip-system .flow-line {
    height: 64px;
    transform: none;
  }
  #ip-system .ip-module-grid {
    grid-template-columns: repeat(5, 240px);
    gap: 20px;
  }
  #ip-system .ip-module {
    width: 240px;
    height: 220px;
    padding: 25px 24px;
  }
  #ip-system .ip-module h3 {
    margin-top: 24px;
    font-size: 22px;
  }
  #ip-system .ip-module .rule {
    margin: 16px 0;
  }
  #ip-system .ip-module ul {
    font-size: 12px;
    line-height: 1.8;
  }
  #ip-system .system-foot {
    margin-top: 45px;
  }
  #digital-twin .section-heading,
  #agent-skill .section-heading {
    height: 142px;
    margin-bottom: 24px;
  }
  #digital-twin .section-heading .section-index,
  #agent-skill .section-heading .section-index {
    margin-bottom: 24px;
  }
  .twin-detail-grid,
  .agent-detail-grid {
    grid-template-columns: 700px 530px;
    gap: 50px;
  }
  .twin-detail-grid .detail-card {
    width: 100%;
    height: 610px;
  }
  .agent-detail-grid .detail-card {
    width: 100%;
    height: 520px;
  }
  .detail-card h3 {
    font-size: 28px;
  }
  #digital-twin .detail-card h3 {
    font-size: 28px;
    margin-top: 12px;
  }
  #digital-twin .proof-media {
    margin-top: 25px;
    grid-template-columns: 300px 300px;
    gap: 42px;
    justify-content: start;
  }
  #digital-twin .proof-media figure {
    height: 365px;
    background: #090909;
  }
  #digital-twin .proof-media img {
    object-fit: cover;
    object-position: center;
  }
  #digital-twin .proof-note {
    margin-top: 22px;
    font-size: 13px;
  }
  #digital-twin .twin-capacity .subline {
    font-size: 14px;
  }
  #digital-twin .delivery-metrics {
    bottom: 28px;
  }
  .agent-detail-grid .detail-card h3 {
    font-size: 28px;
    line-height: 1.25;
  }
  #agent-skill .agent-detail-grid .detail-card h3 {
    margin-top: 11px;
  }
  #agent-skill .process-stack {
    margin-top: 20px;
  }
  #agent-skill .reason-grid {
    margin-top: 22px;
  }
  #agent-skill .detail-footer {
    transform: translateY(-15px);
    margin-top: 54px;
  }
  .about-section {
    padding-top: 64px;
    padding-bottom: 55px;
  }
  .about-heading {
    position: relative;
    display: block;
    height: 330px;
    padding: 0;
    transform: translateY(-1px);
  }
  .about-heading > div {
    position: absolute;
    inset: 0 auto auto 0;
  }
  .about-heading .section-index {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    margin: 0;
    font-size: 12px;
    letter-spacing: 2.4px;
  }
  .about-heading h2 {
    position: absolute;
    left: 0;
    top: 68px;
    width: 760px;
    margin: 0;
    font-size: 56px;
    line-height: 1.18;
    letter-spacing: -1px;
    white-space: nowrap;
  }
  .about-heading > p {
    position: absolute;
    left: 880px;
    top: 92px;
    width: 380px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.9;
  }
  .experience-grid {
    height: 352px;
    grid-template-columns: repeat(4, 320px);
  }
  .experience,
  .experience + .experience {
    position: relative;
    min-height: 352px;
    padding: 51px 20px 20px 0;
    border-right: 0;
  }
  .experience:not(:last-child):after {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    width: 1px;
    background: #292929;
  }
  .experience-index {
    gap: 25px;
    font: 10px/1.3 "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 1.7px;
  }
  .experience-index b {
    font-size: 42px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -1px;
  }
  .experience h3 {
    margin: 51px 0 28px;
    font-size: 25px;
  }
  .experience ul {
    font-size: 13px;
    line-height: 1.8;
  }
  .about-section > .detail-footer {
    height: 54px;
    margin-top: 43px;
  }
  .contact-section {
    height: 820px;
    min-height: 820px;
    padding: 64px var(--pad) 0;
    grid-template-columns: 640px 580px;
    gap: 60px;
  }
  .contact-copy {
    position: relative;
    height: 682px;
  }
  .contact-copy .section-index {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    font-size: 12px;
    letter-spacing: 2.4px;
  }
  .contact-eyebrow {
    position: absolute;
    left: 0;
    top: 66px;
    margin: 0;
  }
  .contact-copy h2 {
    position: absolute;
    left: 0;
    top: 104px;
    margin: 0;
    font-size: 54px;
    line-height: 1.2;
    letter-spacing: -1px;
  }
  .contact-lead {
    position: absolute;
    left: 0;
    top: 268px;
    margin: 0;
    width: 540px;
    font-size: 15px;
    line-height: 2.05;
  }
  .contact-links {
    position: absolute;
    left: 0;
    top: 503px;
    width: 560px;
    margin: 0;
    padding-top: 28px;
    gap: 18px;
  }
  .contact-links span,
  .contact-links a,
  .contact-links button {
    height: 20px;
    gap: 18px;
  }
  .contact-links b {
    font-size: 13px;
  }
  .contact-card {
    width: 580px;
    height: 600px;
    margin-top: 36px;
    padding: 42px 48px;
  }
  .contact-card > p:first-child {
    position: absolute;
    left: 48px;
    top: 42px;
    margin: 0;
  }
  .contact-card h3 {
    position: absolute;
    left: 48px;
    top: 78px;
    margin: 0;
    font-size: 28px;
  }
  .contact-card-copy {
    position: absolute;
    left: 48px;
    top: 125px;
    margin: 0;
    font-size: 13px;
  }
  .contact-person strong {
    font-size: 20px;
  }
  .contact-person span {
    font-size: 12px;
  }
  .contact-person b {
    font-size: 11px;
  }
  .contact-services {
    bottom: 43px;
  }
  .contact-services a {
    font-size: 12px;
  }
  .site-footer {
    top: 746px;
    bottom: auto;
    left: var(--pad);
    right: var(--pad);
    width: auto !important;
    height: 55px;
    padding-top: 29px;
  }
}

.contact-links svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-links a svg {
  fill: currentColor;
  stroke: none;
}

@media (min-width: 1441px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 2.78vw, 48px);
    row-gap: 40px;
  }
  .service-card {
    width: auto;
  }
  #training .training-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(19px, 1.32vw, 23px);
  }
  #training .module-card,
  #training .feature-strip,
  #ip-system .core-workbench {
    width: auto;
  }
  #ip-system .ip-module-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(20px, 1.39vw, 24px);
  }
  #ip-system .ip-module {
    width: auto;
  }
  .twin-detail-grid,
  .agent-detail-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    gap: clamp(50px, 3.47vw, 60px);
  }
  .experience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .contact-section {
    grid-template-columns: minmax(0, 1fr) minmax(580px, 40.28vw);
    gap: clamp(60px, 4.17vw, 72px);
  }
  .contact-card {
    width: auto;
  }
}

@media (min-width: 0px) {
  #services {
    --service-scale: 1;
    width: 100%;
    height: calc(900px * var(--service-scale));
    min-height: calc(900px * var(--service-scale));
    padding: 0;
    border-top: 0;
    overflow: hidden;
  }
  #services > .service-stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    max-width: none;
    height: 900px;
    margin: 0 0 0 -720px;
    background: #0b0b0b;
    transform: scale(var(--service-scale));
    transform-origin: top center;
  }
  #services .section-heading {
    position: absolute;
    left: 80px;
    top: 54px;
    width: auto;
    height: auto;
    margin: 0;
  }
  #services .section-heading .section-index {
    position: absolute;
    left: 0;
    top: 0;
    width: max-content;
    margin: 0;
    color: #e9827e;
    font: 400 11px/14px "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 2.4px;
    white-space: nowrap;
  }
  #services .section-heading h2 {
    position: absolute;
    left: 0;
    top: 28px;
    width: max-content;
    margin: 0;
    color: #f1f1ef;
    font: 300 40px/48px "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: -0.8px;
    white-space: nowrap;
  }
  #services .service-grid {
    position: absolute;
    left: 80px;
    top: 160px;
    display: grid;
    grid-template-columns: 620px 620px;
    grid-template-rows: 300px 300px;
    gap: 40px;
    width: 1280px;
    height: 640px;
    margin: 0;
  }
  #services .service-card {
    position: relative;
    width: 620px;
    height: 300px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #161616;
    background-image: none;
    box-shadow: none;
  }
  #services .service-training:after,
  #services .service-ip:after {
    content: "";
    position: absolute;
    left: 28px;
    top: 238px;
    width: calc(100% - 56px);
    height: 1px;
    background: #2b2b2b;
  }
  #services .card-label {
    position: static;
    display: block;
    margin: 0;
  }
  #services .card-label span {
    position: absolute;
    top: 24px;
    color: #555;
    font: 400 10px/13px "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 1.5px;
    white-space: nowrap;
  }
  #services .card-label span:first-child {
    left: 28px;
    color: #e9827e;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1.6px;
  }
  #services .card-label span:last-child {
    left: 70px;
  }
  #services .service-copy {
    position: static;
    max-width: none;
  }
  #services .service-copy h3,
  #services .service-lead,
  #services .service-detail {
    position: absolute;
    left: 28px;
    margin: 0;
    white-space: nowrap;
  }
  #services .service-copy h3 {
    top: 64px;
    color: #f1f1ef;
    font: 300 23px/30px "Noto Sans SC", "PingFang SC", sans-serif;
    letter-spacing: -0.3px;
  }
  #services .service-lead {
    top: 108px;
    color: #f1f1ef;
    font: 300 16px/26px "Noto Sans SC", "PingFang SC", sans-serif;
  }
  #services .service-detail {
    top: 186px;
    bottom: auto;
    color: #767676;
    font: 300 11.5px/20px "Noto Sans SC", "PingFang SC", sans-serif;
  }
  #services .service-foot {
    position: absolute;
    left: 28px;
    top: 262px;
    bottom: auto;
    margin: 0;
    color: #535353;
    font: 400 9px/12px "DM Sans", "Helvetica Neue", sans-serif;
    letter-spacing: 1.7px;
    white-space: nowrap;
  }
  #services .card-button {
    position: absolute;
    inset: 250px 28px auto auto;
    width: 122px;
    min-width: 122px;
    height: 38px;
    padding: 0;
    gap: 13px;
    border: 0;
    background: #f3f3f1;
    color: #111;
    font: 400 12px/17px "Noto Sans SC", "PingFang SC", sans-serif;
  }
  #services .training-visual {
    position: absolute;
    left: auto;
    top: 58px;
    right: 28px;
    display: grid;
    grid-template-columns: 120px 120px;
    grid-template-rows: 92px 34px;
    gap: 18px 10px;
    width: 250px;
    height: 144px;
  }
  #services .training-visual > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    width: 120px;
    height: 92px;
    padding: 15px 14px;
    border: 0;
    outline: 1px solid #ffffff18;
    background: #0e0e0d;
  }
  #services .training-visual strong {
    display: block;
    color: #f3f0eb;
    font: 400 30px/36px "Inter", "Helvetica Neue", sans-serif;
    letter-spacing: -1px;
  }
  #services .training-visual > div > span {
    display: block;
    margin: 0;
    color: #817b74;
    font: 400 11px/16px "Noto Sans SC", "PingFang SC", sans-serif;
    white-space: nowrap;
  }
  #services .training-visual p {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: 250px;
    height: 34px;
    margin: 0;
  }
  #services .training-visual p span {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 1px solid #ffffff18;
    background: #191817;
    color: #b2aba3;
    font: 500 11px/16px "Noto Sans SC", "PingFang SC", sans-serif;
  }
  #services .training-visual p span:last-child {
    outline-color: #b95049;
    background: #b95049;
    color: #fff;
  }
  #services .ip-visual {
    position: absolute;
    left: auto;
    top: 58px;
    right: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 57px 57px;
    gap: 6px;
    width: 242px;
    height: 120px;
  }
  #services .ip-visual span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    height: 57px;
    padding: 9px 8px;
    border: 0;
    outline: 1px solid #ffffff18;
    background: #11110f;
    color: #ece8e2;
    font: 400 10.5px/normal "Noto Sans SC", "PingFang SC", sans-serif;
    white-space: nowrap;
  }
  #services .ip-visual .active {
    outline-color: #b9504966;
    background: #2a1716;
    color: #ece8e2;
  }
  #services .ip-visual .active small {
    color: #d8655d;
  }
  #services .twin-visual {
    position: absolute;
    left: auto;
    top: 57px;
    right: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    width: 212px;
    height: 220px;
  }
  #services .twin-visual figure {
    position: relative;
    flex: 0 0 98px;
    width: 98px;
    height: 174px;
    margin: 0;
    overflow: hidden;
    border: 0;
    outline: 1px solid #ffffff1a;
  }
  #services .twin-visual figure:nth-child(2) {
    outline-color: #b9504966;
  }
  #services .twin-visual span {
    position: absolute;
    left: 6px;
    top: 145px;
    bottom: auto;
    padding: 4px 6px;
    background: #0b0b0ad9;
    color: #f1eee9;
    font: 500 8px/11px "Noto Sans SC", "PingFang SC", sans-serif;
    white-space: nowrap;
  }
  #services .twin-visual figure:nth-child(2) span {
    background: #b95049e8;
    color: #fff;
  }
  #services .twin-visual i {
    position: absolute;
    left: 68px;
    top: 8px;
    right: auto;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f5f1ebe8;
    color: #171615;
    font: 400 8px/10px "Inter", sans-serif;
    font-style: normal;
  }
  #services .logo-grid {
    position: absolute;
    left: auto;
    top: 62px;
    right: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 52px);
    gap: 5px;
    width: 232px;
    height: 166px;
  }
  #services .logo-grid span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: 52px;
    padding: 6px 8px;
    border: 0;
    outline: 1px solid #ffffff18;
    background: #0e0e0d;
    color: #a8a19a;
    font: 500 10px/12px "Noto Sans SC", sans-serif;
    white-space: nowrap;
  }
  #services .service-card:hover {
    border: 0;
    box-shadow: 0 24px 50px #0009, inset 0 0 0 1px #e9827ecc;
  }
}

@media (min-width: 1441px) {
  #services > .service-stage {
    left: 0;
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  #services .section-heading {
    left: var(--pad);
  }
  #services .service-grid {
    left: var(--pad);
    width: calc(100% - 2 * var(--pad));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 2.78vw, 48px);
  }
  #services .service-card {
    width: auto;
  }
}

.page-shell {
  --page-height: 900px;
}

.page-shell-contact {
  --page-height: 820px;
}

.page-shell-training {
  --page-height: 1270px;
}

@media (max-width: 1439px) {
  .page-shell {
    position: relative;
    width: 100%;
    height: calc(var(--page-height) * var(--page-scale));
    overflow: hidden;
  }
  .page-shell > section {
    --pad: 80px;
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px !important;
    max-width: none;
    margin-left: -720px;
    transform: scale(var(--page-scale));
    transform-origin: top center;
  }
  .page-shell > .section {
    height: var(--page-height);
    min-height: var(--page-height);
  }
  .page-shell > .hero {
    height: 900px;
    min-height: 900px;
    grid-template-columns: 720px 720px;
  }
  .page-shell .hero-copy,
  .page-shell .hero-photo,
  .page-shell .hero-photo img {
    height: 900px;
    min-height: 0;
  }
  .page-shell #services {
    --service-scale: 1;
  }
  .page-shell > .contact-section {
    height: 820px;
    min-height: 820px;
  }
}

@media (min-width: 1440px) {
  .page-shell {
    display: contents;
  }
}

#training {
  height: 1270px;
  min-height: 1270px;
}

.training-proof {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid #ffffff14;
}

.training-proof-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.training-proof-heading p,
.training-proof-heading h3 {
  margin: 0;
  font-weight: 400;
}

.training-proof-heading p {
  color: var(--accent);
  font: 400 10px/1.3 "DM Sans", "Helvetica Neue", sans-serif;
  letter-spacing: 1.8px;
}

.training-proof-heading h3 {
  color: #777;
  font: 300 12px/1.5 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.2px;
}

.training-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.training-proof-card {
  margin: 0;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.training-proof-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #ffffff12;
  background: #0e0e0e;
}

.training-proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.95s cubic-bezier(0.16, 0.78, 0.22, 1), filter 0.4s ease;
}

.training-proof-card figcaption {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 13px;
  padding: 0 2px;
  border-bottom: 1px solid #ffffff0d;
  color: #aaa;
  font: 300 11px/1.4 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.3px;
}

.training-proof-card figcaption span:first-child {
  color: var(--accent);
  font: 400 9px/1 "DM Sans", "Helvetica Neue", sans-serif;
  letter-spacing: 1.2px;
}

#home .hero-service-button {
  width: 150px;
  min-width: 150px;
}

#home .hero-course-button {
  left: calc(var(--pad) + 166px);
  width: 190px;
  min-width: 190px;
  border: 1px solid #b95049;
  background: #b95049;
  color: #fff;
  font-weight: 500;
  --hero-enter-delay: 0.58s;
}

#home .hero-course-button:hover {
  border-color: #e9827e;
  background: #e9827e;
  color: #fff;
  box-shadow: 0 14px 34px #0008, 0 0 0 1px #b950493d;
}

/* 首屏实拍写真切换器 */
.hero-photo-switcher {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-switch-btn {
  height: 30px;
  padding: 0 12px;
  background: #0b0b0bd9;
  border: 1px solid #ffffff24;
  color: #aaa;
  font: 400 11px/1 "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.hero-switch-btn:hover {
  color: #fff;
  border-color: #e9827e88;
}

.hero-switch-btn.active {
  background: var(--accent-deep);
  border-color: var(--accent);
  color: #fff;
}

/* 实拍卡片可点击放大提示 */
[data-lightbox] {
  cursor: zoom-in;
}

.training-proof-card:hover .training-proof-media {
  border-color: #e9827e88;
}

.training-proof-card:hover img {
  transform: scale(1.04);
}

/* 高清实拍大图预览弹窗 (Lightbox) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(1160px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #141414;
  border: 1px solid #e9827e66;
  box-shadow: 0 28px 80px #000c;
  padding: 18px 18px 16px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(88vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-content figcaption {
  margin-top: 14px;
  color: #d8d8d4;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: var(--accent-deep);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close:hover {
  background: var(--accent);
}

