@font-face {
  font-family: "LiliSansSC";
  src: url("../assets/fonts/LiliSansSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LiliSansSC";
  src: url("../assets/fonts/LiliSansSC-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --canvas: #F4F1EA;
  --canvas-soft: #F7F6F2;
  --surface: #FFFFFF;
  --apricot: #EFE5DF;
  --stage-backdrop: #ECE8DF;
  --ink: #22272B;
  --ink-strong: #292F33;
  --muted: #626C74;
  --soft: #87929D;
  --line: #E7EBED;
  --line-warm: #E3E0D6;
  --coral: #F76449;
  --coral-deep: #E8684B;
  --coral-soft: rgba(247, 100, 73, 0.10);
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.10);
  --danger: #DC2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-xs: 0 2px 8px rgba(34, 39, 43, 0.04);
  --shadow-sm: 0 8px 24px rgba(34, 39, 43, 0.06);
  --shadow-md: 0 18px 44px rgba(34, 39, 43, 0.09);
  --font: "LiliSansSC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: clip;
  background: var(--canvas);
}

html.ppt-active,
body.ppt-deck-mode {
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  background: var(--stage-backdrop);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.overlay-open {
  overflow: hidden;
}

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

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

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

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }
}

/* Dual-Mode Visibility */
.ppt-only {
  display: none !important;
}

body.ppt-deck-mode .ppt-only {
  display: block !important;
}

body.ppt-deck-mode .ppt-slide.ppt-only {
  display: grid !important;
}

body.ppt-deck-mode .ppt-dock.ppt-only {
  display: flex !important;
}

body.ppt-deck-mode .web-only {
  display: none !important;
}

/* =========================================================================
   1. STICKY FROSTED WARM-WHITE HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-warm);
  transition: box-shadow 0.22s ease, background 0.22s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 26px rgba(34, 39, 43, 0.06);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-link img {
  height: 32px;
  width: auto;
}

.brand-tag {
  font-size: 11.5px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-warm);
  white-space: nowrap;
}

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

.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--coral-soft);
  color: var(--coral);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-section-nav {
  display: none;
}

/* =========================================================================
   2. BUTTONS, CAPSULES & HAIRLINE PRIMITIVES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 6px 13px;
  font-size: 12px;
}

.btn-primary {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(247, 100, 73, 0.24);
}

.btn-primary:hover {
  background: var(--coral-deep);
}

.btn-ink {
  background: var(--ink-strong);
  color: #FFFFFF;
}

.btn-ink:hover {
  background: var(--ink);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line-warm);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-apricot {
  background: var(--apricot);
  border-color: var(--line-warm);
  color: var(--ink-strong);
}

.btn-apricot:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.pill-btn,
.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-warm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.pill-btn:hover,
.link-pill:hover,
.pill-btn.active {
  border-color: var(--coral);
  background: var(--coral-soft);
  color: var(--coral);
}

.coral-bar {
  width: 48px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.badge-zero {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 700;
}

.badge-coral {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 700;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--line-warm);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.evidence-note {
  font-size: 11.5px;
  color: var(--soft);
  line-height: 1.5;
}

/* =========================================================================
   3. WEB 6-ACT SECTION ARCHITECTURE
   ========================================================================= */
.act-section {
  position: relative;
}

.act-band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line-warm);
}

.act-band.surface-soft {
  background: var(--canvas-soft);
}

.act-band.surface-white {
  background: var(--surface);
}

.ppt-slide {
  padding: 58px 0;
  border-bottom: 1px solid var(--line-warm);
}

.ppt-slide[data-slide="1"] {
  padding: 0;
  border-bottom: 1px solid var(--line-warm);
}

.ppt-slide-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.ppt-slide[data-slide="1"] .ppt-slide-inner {
  max-width: none;
  padding: 0;
}

.ppt-slide-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ppt-slide-head-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ppt-slide-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.22;
  color: var(--ink-strong);
  letter-spacing: -0.015em;
}

.ppt-slide-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
}

.ppt-slide-logo {
  height: 22px;
  width: auto;
  opacity: 0.72;
  flex-shrink: 0;
}

.ppt-slide-foot {
  display: none;
}

/* =========================================================================
   4. S01 HERO COVER (74% WARM WHITE + VENETIAN LIGHT / 26% HORIZON VIEWPORT)
   ========================================================================= */
.hero-cover {
  display: grid;
  grid-template-rows: minmax(470px, 74%) minmax(168px, 26%);
  background: var(--canvas);
}

.hero-venetian {
  position: relative;
  overflow: hidden;
  padding: 52px 0 38px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.68) 0%, rgba(244, 241, 234, 0.92) 60%, rgba(239, 229, 223, 0.55) 100%);
}

.hero-venetian::before {
  content: "";
  position: absolute;
  inset: -15% -10%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -24deg,
    rgba(255, 255, 255, 0.52) 0px,
    rgba(255, 255, 255, 0.52) 22px,
    rgba(244, 241, 234, 0) 22px,
    rgba(244, 241, 234, 0) 68px
  );
  opacity: 0.55;
  animation: venetianDrift 18s ease-in-out infinite alternate;
}

@keyframes venetianDrift {
  from {
    transform: translate3d(-14px, -6px, 0);
  }
  to {
    transform: translate3d(16px, 8px, 0);
  }
}

.hero-cover-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 40px;
  align-items: end;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.1;
  color: var(--ink-strong);
  letter-spacing: -0.025em;
}

.hero-h1 .coral {
  color: var(--coral);
}

.hero-sub {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 600px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-warm);
}

.hero-metric-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hero-metric-val {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.15;
}

.hero-metric-val .accent {
  color: var(--coral);
}

.hero-metric-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Bottom 26% Full-Width Horizon Viewport */
.hero-horizon {
  position: relative;
  width: 100%;
  min-height: 190px;
  max-height: 250px;
  overflow: hidden;
  border-top: 1px solid var(--line-warm);
  background: var(--apricot);
}

.hero-horizon-img,
.hero-horizon-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-horizon-video {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-horizon-video.is-playing {
  opacity: 1;
}

.hero-horizon-caption {
  position: absolute;
  left: 28px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(227, 224, 214, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* =========================================================================
   5. S02 5-ELEMENT TRADE CONNECTOR (SVG PULSE + 4× 16:9 WINDOWS)
   ========================================================================= */
.trade-connector-wrap {
  position: relative;
  padding: 12px 0 8px;
}

.trade-pulse-svg {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 76px;
  width: 88%;
  height: 24px;
  z-index: 1;
  pointer-events: none;
}

.trade-pulse-line {
  stroke: var(--coral);
  stroke-width: 1.4;
  stroke-dasharray: 6 6;
  fill: none;
  animation: pulseDash 16s linear infinite;
}

@keyframes pulseDash {
  to {
    stroke-dashoffset: -240;
  }
}

.trade-flow-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trade-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trade-node:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trade-node.is-hub {
  border-color: var(--coral);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5F2 100%);
}

.trade-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}

.trade-media img,
.trade-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ken-burns {
  animation: kenBurnsZoom 14s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

.trade-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.trade-node-title {
  margin: 0;
  font-size: 15px;
  color: var(--ink-strong);
}

.trade-node-duty {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.trade-footer-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================================
   6. S03 FOUNDER & SHENZHEN HQ GALLERY
   ========================================================================= */
.founder-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 24px;
  align-items: stretch;
}

.founder-story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.founder-points {
  display: grid;
  gap: 10px;
}

.founder-point {
  padding: 10px 14px;
  border-left: 2px solid var(--coral);
  background: var(--canvas-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.founder-point strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink-strong);
}

.founder-point span {
  font-size: 12.5px;
  color: var(--muted);
}

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

.hq-main-video {
  grid-column: span 3;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--canvas-soft);
}

.hq-main-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hq-photo-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--canvas-soft);
}

.hq-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hq-photo-tile:hover img {
  transform: scale(1.04);
}

.tile-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.90);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

/* =========================================================================
   7. S04 7 REPRESENTATIVE CASES (3-COLUMN ARCH GALLERY + .phone-shell)
   ========================================================================= */
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.arch-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.72fr;
  gap: 20px;
  align-items: center;
}

.case-story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.case-story-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink-strong);
}

.case-meta-row {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  font-size: 13px;
}

.case-meta-row.is-record {
  background: var(--apricot);
  border-color: var(--line-warm);
}

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

.arch-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-warm);
  box-shadow: var(--shadow-sm);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* Realistic Portrait Phone Shell (ONLY valid container for 9:16 videos) */
.phone-shell {
  position: relative;
  width: 100%;
  max-width: 224px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  padding: 10px 8px;
  border-radius: 30px;
  background: #1C2024;
  border: 2px solid #30363C;
  box-shadow: 0 18px 36px rgba(34, 39, 43, 0.16);
  display: flex;
  flex-direction: column;
}

.phone-shell::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #3A4149;
  margin: 0 auto 7px;
  flex-shrink: 0;
}

.phone-shell-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #111417;
}

.phone-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-shell-label {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-shell.is-compact {
  max-width: 176px;
  padding: 8px 6px;
  border-radius: 24px;
}

.phone-shell.is-compact .phone-shell-screen {
  border-radius: 16px;
}

.phone-shell.is-modal {
  max-width: 286px;
}

/* =========================================================================
   8. S05 200+ FACTORY WALL & DRAWER LAUNCHERS
   ========================================================================= */
.wall-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

.wall-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--canvas-soft);
}

.wall-frame img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.wall-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* =========================================================================
   9. S06 MACRO BARS & 4-STEP VIDEO LOOP
   ========================================================================= */
.macro-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
}

.macro-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.macro-bar-list {
  display: grid;
  gap: 12px;
}

.macro-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 78px;
  align-items: center;
  gap: 12px;
}

.macro-bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--canvas);
  overflow: hidden;
}

.macro-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--soft);
}

.macro-bar-fill.is-coral {
  background: var(--coral);
}

.macro-bar-fill.is-down {
  background: #B8C0C7;
}

.loop-right-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

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

.loop-step-box {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}

.loop-step-box strong {
  display: block;
  font-size: 13px;
  color: var(--ink-strong);
  margin-bottom: 3px;
}

.loop-step-box span {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================================
   10. S07 SOUL 4 QUESTIONS (4-COLUMN HAIRLINE DIAGNOSTIC)
   ========================================================================= */
.soul-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.soul-col {
  padding: 18px 18px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.soul-col:last-child {
  border-right: none;
}

.soul-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.06em;
}

.soul-title {
  margin: 6px 0 10px;
  font-size: 17px;
  color: var(--ink-strong);
}

.soul-checks {
  display: grid;
  gap: 8px;
}

.soul-check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--canvas-soft);
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.soul-check-item:has(input:checked),
.soul-check-item.is-checked {
  border-color: var(--coral);
  background: var(--coral-soft);
}

.soul-check-item input {
  margin-top: 3px;
  accent-color: var(--coral);
  flex-shrink: 0;
}

.soul-diag-bar {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--apricot);
  border: 1px solid var(--line-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================================
   11. S08 5-STEP CUSTOMS SELECTION × 7×3 AB TEST MATRIX
   ========================================================================= */
.method-pair-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

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

.triptych-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--canvas-soft);
}

.triptych-item img,
.triptych-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.customs-step {
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  font-size: 11.5px;
}

.customs-step strong {
  display: block;
  color: var(--coral);
  font-size: 12px;
  margin-bottom: 3px;
}

.matrix-7x3-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.matrix-big-num {
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.matrix-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =========================================================================
   12. S09 5-LAYER INVERTED TRAPEZOID FUNNEL + 80% DYNAMIC GUARANTEE
   ========================================================================= */
.s09-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}

.s09-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.tab-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--line-warm);
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.tab-btn.active {
  background: var(--coral);
  color: #FFFFFF;
}

.s09-panel {
  display: none;
}

.s09-panel.is-active {
  display: block;
}

.funnel-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
}

.funnel-trapezoid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.trapezoid-tier {
  height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-strong);
  border: 1px solid var(--line);
  transition: width 0.25s ease;
}

.trapezoid-tier.t1 {
  width: 100%;
  background: #ECEFF1;
}

.trapezoid-tier.t2 {
  width: 86%;
  background: #EFEBE4;
}

.trapezoid-tier.t3 {
  width: 72%;
  background: #EFE5DF;
}

.trapezoid-tier.t4 {
  width: 58%;
  background: #FADCD4;
  border-color: rgba(247, 100, 73, 0.35);
}

.trapezoid-tier.t5 {
  width: 48%;
  min-width: 240px;
  background: var(--coral);
  border-color: var(--coral);
  color: #FFFFFF;
}

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

.slider-card {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}

.slider-card.is-full {
  grid-column: span 2;
}

.slider-card label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.slider-card input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

.guarantee-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

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

.dyn-kpi-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}

.dyn-kpi-card.is-highlight {
  background: var(--apricot);
  border-color: var(--coral);
}

.dyn-kpi-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.2;
}

.dyn-kpi-card.is-highlight .dyn-kpi-val {
  color: var(--coral);
}

.safety-valves {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.valve-chip {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.valve-chip strong {
  display: block;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

/* =========================================================================
   13. S10–S14 PRODUCTS, 9 SITES, TIMELINE & AI 8-KIT SPLIT STAGE
   ========================================================================= */
.engine-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.engine-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.engine-card.is-featured {
  border: 1.5px solid var(--coral);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF3EF 100%);
}

.engine-arrow-badge {
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--apricot);
  border: 1px solid var(--line-warm);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

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

.phase-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.phase-col.is-apricot {
  background: var(--apricot);
  border: 1.5px solid var(--coral);
}

.phase-price-num {
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.1;
}

.phase-col.is-apricot .phase-price-num {
  color: var(--coral);
}

.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
}

.clean-list li {
  position: relative;
  padding-left: 14px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.evidence-pills-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* 9 Showcase Sites Grid */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.site-card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.site-domain {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

/* Product 2 Tiers & Dual Cycle Timeline */
.tiers-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.18fr 0.94fr;
  gap: 14px;
  align-items: stretch;
}

.tier-white-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.tier-white-card.is-crown {
  border: 1.5px solid var(--coral);
  box-shadow: var(--shadow-sm);
}

.tier-crown-ribbon {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--apricot);
  border: 1px solid rgba(247, 100, 73, 0.35);
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.cycle-bar-box {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
}

.cycle-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.cycle-node {
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
}

.cycle-node .c-day {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral);
}

.cycle-node h4 {
  margin: 3px 0 4px;
  font-size: 13px;
  color: var(--ink-strong);
}

.cycle-node p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.42;
}

/* AI 8-Kit Left-Nav / Right-Stage */
.kit-split-stage {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 16px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.kit-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.kit-nav-item {
  width: 100%;
  text-align: left;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.kit-nav-item:hover {
  background: var(--canvas-soft);
}

.kit-nav-item.active {
  background: var(--apricot);
  border-color: var(--line-warm);
  border-left: 2.5px solid var(--coral);
}

.kit-nav-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
  flex-shrink: 0;
}

.kit-nav-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.3;
}

.kit-stage {
  min-width: 0;
  min-height: 360px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reception-steps-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reception-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 12.5px;
}

.reception-template {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  white-space: pre-wrap;
  font-size: 12.5px;
  color: var(--ink);
}

/* =========================================================================
   14. S15 ASSETS & GUARANTEES / S16 CONTACT & #wecom-qr-slot
   ========================================================================= */
.assets-5-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.asset-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.asset-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
}

.asset-card h4 {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-strong);
}

.asset-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.guarantees-4-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: var(--apricot);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.guarantee-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(227, 224, 214, 0.9);
}

.guarantee-item h4 {
  margin: 4px 0;
  font-size: 14px;
  color: var(--ink-strong);
}

.guarantee-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* S16 Contact & Hot-Swap WeCom QR */
.contact-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 20px;
  align-items: start;
}

.contact-left-card,
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.contact-quote {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.25;
}

.contact-hq-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}

.contact-hq-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 128px;
}

.contact-hq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wecom-qr-slot {
  width: 118px;
  min-height: 118px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-warm);
  background: var(--canvas-soft);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.wecom-qr-slot img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.wecom-qr-fallback {
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.wecom-qr-fallback strong {
  display: block;
  color: var(--ink-strong);
  margin-bottom: 3px;
}

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

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-warm);
  background: var(--canvas-soft);
  font-size: 13px;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1.5px solid var(--coral);
  background: var(--surface);
}

.booking-result {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--emerald-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.booking-result pre {
  margin: 6px 0 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
}

/* =========================================================================
   15. FOOTER (WARM GALLERY FOOTER — ZERO #061826 NAVY BLOCK)
   ========================================================================= */
.site-footer {
  background: var(--canvas-soft);
  color: var(--muted);
  border-top: 1px solid var(--line-warm);
  padding: 44px 0 32px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  color: var(--ink-strong);
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--coral);
}

/* =========================================================================
   16. PPT DECK MODE (100vw × 100dvh ZERO-SCROLL STAGE + DOCK)
   ========================================================================= */
body.ppt-deck-mode main,
body.ppt-deck-mode section.act-section,
body.ppt-deck-mode .reveal {
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  contain: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.ppt-deck-mode .reveal {
  transition: none !important;
}

body.ppt-deck-mode .ppt-slide {
  position: fixed;
  inset: 12px 20px 60px 20px;
  background: var(--canvas);
  border-radius: 14px;
  border: 1px solid var(--line-warm);
  box-shadow: 0 20px 56px rgba(34, 39, 43, 0.10);
  padding: clamp(14px, 2.2vh, 30px) clamp(20px, 3vw, 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(8px, 1.3vh, 14px);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  z-index: 1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

body.ppt-deck-mode .ppt-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 40;
}

body.ppt-deck-mode .ppt-slide-inner {
  display: contents;
}

body.ppt-deck-mode .ppt-slide-head {
  margin-bottom: 0;
  padding-bottom: 8px;
}

body.ppt-deck-mode .ppt-slide-title {
  font-size: clamp(20px, 2.2vw, 28px);
}

body.ppt-deck-mode .ppt-slide-sub {
  font-size: 12.5px;
  margin-top: 2px;
}

body.ppt-deck-mode .ppt-slide-body {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}

body.ppt-deck-mode .ppt-slide[data-slide="14"] .ppt-slide-body {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

body.ppt-deck-mode .ppt-slide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--soft);
}

/* S01 Cover in PPT Mode */
body.ppt-deck-mode .ppt-slide[data-slide="1"] {
  padding: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 0;
}

body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-cover {
  height: 100%;
  min-height: 0;
  grid-template-rows: 74% 26%;
}

body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-venetian {
  padding: 26px 0 18px;
  display: flex;
  align-items: center;
}

body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-horizon {
  min-height: 0;
  max-height: none;
  height: 100%;
}

body.ppt-deck-mode .ppt-slide[data-slide="1"] .ppt-slide-foot {
  padding: 6px 28px;
  background: var(--surface);
}

/* PPT Mode Compact Density Overrides for 1280×720 & 1440×900 */
body.ppt-deck-mode .case-tabs {
  margin-bottom: 10px;
  gap: 5px;
}

body.ppt-deck-mode .arch-gallery {
  gap: 16px;
}

body.ppt-deck-mode .case-story-card {
  padding: 14px 16px;
  gap: 7px;
}

body.ppt-deck-mode .case-meta-row {
  padding: 7px 10px;
  font-size: 12px;
}

body.ppt-deck-mode .arch-frame {
  max-height: 360px;
}

body.ppt-deck-mode .phone-shell {
  max-width: 196px;
}

body.ppt-deck-mode .wall-frame img {
  max-height: 340px;
}

body.ppt-deck-mode .s09-shell {
  padding: 12px 16px;
}

body.ppt-deck-mode .s09-topbar {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

body.ppt-deck-mode .trapezoid-tier {
  height: 36px;
  font-size: 12px;
}

body.ppt-deck-mode .slider-card {
  padding: 7px 10px;
}

body.ppt-deck-mode .phase-col {
  padding: 13px 15px;
  gap: 7px;
}

body.ppt-deck-mode .phase-price-num {
  font-size: 28px;
}

body.ppt-deck-mode .clean-list {
  font-size: 12px;
  gap: 4px;
}

body.ppt-deck-mode .evidence-pills-row {
  margin-top: 10px;
}

body.ppt-deck-mode .tier-white-card {
  padding: 12px 14px;
  gap: 6px;
}

body.ppt-deck-mode .cycle-bar-box {
  margin-top: 10px;
  padding: 10px 14px;
}

body.ppt-deck-mode .cycle-timeline {
  margin-top: 8px;
  gap: 8px;
}

body.ppt-deck-mode .cycle-node {
  padding: 8px 9px;
}

body.ppt-deck-mode .kit-split-stage {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 10px 12px;
  overflow: hidden;
}

body.ppt-deck-mode .kit-nav {
  overflow-y: auto;
  min-height: 0;
}

body.ppt-deck-mode .kit-nav-item {
  padding: 6px 9px;
}

body.ppt-deck-mode .kit-stage {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  gap: 8px;
}

body.ppt-deck-mode .reception-card {
  padding: 9px 12px;
  gap: 6px;
  font-size: 12px;
}

body.ppt-deck-mode .reception-template {
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.42;
}

/* S03 Founder & HQ Gallery PPT Compact Sizing */
body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-layout {
  gap: 16px;
  align-items: stretch;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-story-card {
  padding: 14px 16px;
  gap: 8px;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-story-card h3 {
  font-size: 16.5px !important;
  margin: 5px 0 4px !important;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-story-card p {
  font-size: 12px !important;
  margin-bottom: 6px !important;
  line-height: 1.4;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-points {
  gap: 6px;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-point {
  padding: 7px 11px;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-point strong {
  font-size: 12.5px;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-point span {
  font-size: 11.5px;
  line-height: 1.32;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .hq-gallery-grid {
  gap: 8px;
  align-content: start;
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .hq-main-video {
  aspect-ratio: auto;
  height: clamp(200px, 34vh, 285px);
}

body.ppt-deck-mode .ppt-slide[data-slide="3"] .hq-photo-tile {
  aspect-ratio: auto;
  height: clamp(84px, 13.5vh, 118px);
}

/* S13 Tiers & Dual Cycle Compact Sizing */
body.ppt-deck-mode .ppt-slide[data-slide="13"] .tiers-grid {
  gap: 11px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card {
  padding: 10px 12px;
  gap: 4px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card h3 {
  font-size: 15px !important;
  margin: 4px 0 2px !important;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card .phase-price-num {
  font-size: 20px !important;
  line-height: 1.1;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card .clean-list {
  font-size: 11px;
  line-height: 1.32;
  gap: 2.5px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card .clean-list li::before {
  top: 6px;
  width: 4px;
  height: 4px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-bar-box {
  margin-top: 8px;
  padding: 8px 12px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-timeline {
  margin-top: 6px;
  gap: 7px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-node {
  padding: 6px 8px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-node h4 {
  font-size: 12px;
  margin: 2px 0 3px;
}

body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-node p {
  font-size: 10.5px;
  line-height: 1.3;
}

body.ppt-deck-mode .contact-left-card,
body.ppt-deck-mode .contact-form-card {
  padding: 13px 16px;
}

body.ppt-deck-mode .contact-hq-thumb {
  max-height: 104px;
}

body.ppt-deck-mode .wecom-qr-slot {
  width: 104px;
  min-height: 104px;
  padding: 6px;
}

body.ppt-deck-mode .wecom-qr-slot img {
  width: 72px;
  height: 72px;
}

body.ppt-deck-mode .form-2col {
  gap: 7px;
}

body.ppt-deck-mode .field input,
body.ppt-deck-mode .field select,
body.ppt-deck-mode .field textarea {
  padding: 6px 9px;
  font-size: 12px;
}

body.ppt-deck-mode .web-only-copy {
  display: none;
}

@media (max-height: 780px) {
  body.ppt-deck-mode .ppt-slide {
    inset: 8px 16px 56px 16px;
    padding: 10px 22px;
    row-gap: 6px;
  }
  body.ppt-deck-mode .ppt-slide-title {
    font-size: 19px;
    line-height: 1.18;
  }
  body.ppt-deck-mode .ppt-slide-sub {
    font-size: 11.5px;
    line-height: 1.3;
  }
  body.ppt-deck-mode .ppt-slide-head {
    padding-bottom: 5px;
  }
  body.ppt-deck-mode .ppt-slide-foot {
    padding-top: 5px;
    font-size: 11px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-h1 {
    font-size: 38px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-lead {
    margin-bottom: 12px;
    font-size: 13px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-story-card {
    padding: 10px 14px;
    gap: 6px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="3"] .founder-point {
    padding: 5px 9px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="3"] .hq-main-video {
    height: 220px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="3"] .hq-photo-tile {
    height: 92px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card {
    padding: 8px 10px;
    gap: 3px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card > div > div:nth-of-type(3),
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card > div > div:nth-of-type(4) {
    font-size: 10.5px !important;
    line-height: 1.24;
    margin-bottom: 4px !important;
    padding: 3px 6px !important;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card .phase-price-num {
    font-size: 18px !important;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .tier-white-card .clean-list {
    font-size: 10.5px;
    line-height: 1.26;
    gap: 2px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-bar-box {
    margin-top: 6px;
    padding: 7px 10px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-bar-box .tab-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-timeline {
    margin-top: 5px;
    gap: 6px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-node {
    padding: 5px 7px;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="13"] .cycle-node p {
    font-size: 10px;
    line-height: 1.25;
  }
  body.ppt-deck-mode .phone-shell {
    max-width: 168px;
  }
  body.ppt-deck-mode .arch-frame {
    max-height: 280px;
  }
  body.ppt-deck-mode .wall-frame img {
    max-height: 270px;
  }
  body.ppt-deck-mode .trapezoid-tier {
    height: 31px;
    font-size: 11.5px;
  }
  body.ppt-deck-mode .safety-valves {
    margin-top: 8px;
  }
  body.ppt-deck-mode .valve-chip {
    padding: 5px 8px;
    font-size: 11px;
  }
  body.ppt-deck-mode .cycle-node p {
    font-size: 10.5px;
    line-height: 1.28;
  }
  body.ppt-deck-mode .assets-5-grid {
    margin-bottom: 10px;
    gap: 8px;
  }
  body.ppt-deck-mode .asset-card {
    padding: 11px 12px;
  }
  body.ppt-deck-mode .guarantees-4-band {
    padding: 10px 12px;
    gap: 8px;
  }
}

/* Bottom Floating PPT Dock */
.ppt-dock {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%) translateY(130%);
  z-index: 60;
  height: 46px;
  width: min(1220px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  padding: 0 14px;
  box-shadow: 0 12px 32px rgba(34, 39, 43, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.24s ease;
}

body.ppt-deck-mode .ppt-dock {
  transform: translateX(-50%) translateY(0);
}

.ppt-dock-nav,
.ppt-dock-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.ppt-slide-select {
  border: 1px solid var(--line-warm);
  background: var(--canvas-soft);
  border-radius: 999px;
  padding: 5px 10px;
  max-width: 185px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

/* =========================================================================
   17. OVERLAY STACK: #sub-drawer (90) < #content-modal (100) < #tool-drawer (110)
   ========================================================================= */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 39, 43, 0.56);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.overlay-backdrop.open {
  display: flex;
}

#sub-drawer {
  z-index: 90;
  justify-content: flex-end;
  padding: 0;
}

#content-modal {
  z-index: 100;
}

#tool-drawer {
  z-index: 110;
}

.sub-drawer {
  width: min(1040px, 94vw);
  height: 100dvh;
  background: var(--canvas);
  border-left: 1px solid var(--line-warm);
  box-shadow: -18px 0 48px rgba(34, 39, 43, 0.16);
  display: flex;
  flex-direction: column;
}

.sub-drawer-head,
.drawer-header,
.modal-header {
  padding: 14px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sub-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px;
}

.drawer-panel {
  width: min(1240px, 96vw);
  height: min(90vh, 900px);
  background: var(--surface);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.drawer-iframe {
  width: 100%;
  flex: 1;
  border: none;
  background: var(--canvas-soft);
}

.modal-card {
  width: min(940px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.modal-body {
  padding: 20px 24px 24px;
}

/* Directory & Video Library inside #sub-drawer */
.dir-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.dir-filters input,
.dir-filters select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-warm);
  background: var(--surface);
  font-size: 13px;
}

.dir-table-wrap {
  max-height: 62vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.dir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.dir-table th,
.dir-table td {
  padding: 10px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.dir-table th {
  position: sticky;
  top: 0;
  background: var(--canvas-soft);
  color: var(--ink-strong);
  font-weight: 700;
}

.video-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.v-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.v-card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.v-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--canvas-soft);
  overflow: hidden;
}

.v-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-card-meta {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

/* Promo Cards & Access-Gap Placeholder */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card.is-gap {
  background: var(--canvas-soft);
  border: 1px dashed var(--line-warm);
}

.promo-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--canvas-soft);
  overflow: hidden;
}

.promo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buyer 3-Step Phone Simulator */
.phone-sim-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 24px;
  align-items: center;
}

.phone-sim-steps {
  display: grid;
  gap: 10px;
}

.phone-sim-step {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
}

.phone-sim-step.active {
  background: var(--apricot);
  border-color: var(--coral);
}

/* =========================================================================
   18. REVEAL ANIMATION & ACCESSIBILITY
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-venetian::before,
  .ken-burns,
  .trade-pulse-line {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   19. RESPONSIVE BREAKPOINTS (INCL. 390×844 MOBILE ZERO OVERFLOW)
   ========================================================================= */
@media (max-width: 1040px) {
  .brand-tag {
    display: none;
  }
  .trade-flow-grid,
  .soul-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trade-pulse-svg {
    display: none;
  }
  .assets-5-grid,
  .cycle-timeline,
  .safety-valves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guarantees-4-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-inner {
    padding: 10px 14px;
    gap: 8px;
  }
  .mobile-section-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-section-nav::-webkit-scrollbar {
    display: none;
  }
  .mobile-section-nav a {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-warm);
    color: var(--ink);
  }
  .hero-cover-grid,
  .founder-layout,
  .arch-gallery,
  .macro-split,
  .method-pair-grid,
  .funnel-split,
  .guarantee-calc,
  .engine-compare,
  .phase-gallery,
  .tiers-grid,
  .kit-split-stage,
  .contact-layout,
  .phone-sim-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .kit-nav {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 10px;
  }
  .engine-arrow-badge {
    transform: rotate(90deg);
  }
  .sites-grid,
  .video-wall-grid,
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.ppt-deck-mode .ppt-slide {
    inset: 8px 8px 56px 8px;
    padding: 12px 14px;
    row-gap: 8px;
  }
  body.ppt-deck-mode .ppt-slide-body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="14"] .ppt-slide-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  body.ppt-deck-mode .kit-split-stage {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  body.ppt-deck-mode .kit-stage {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-cover {
    overflow-y: auto;
    overflow-x: hidden;
    grid-template-rows: auto minmax(140px, auto);
  }
  body.ppt-deck-mode .ppt-slide[data-slide="1"] .hero-venetian {
    padding: 18px 0 14px;
    display: block;
  }
}

@media (max-width: 600px) {
  .hide-xs {
    display: none;
  }
  .brand-link img {
    height: 26px;
  }
  .nav-actions .btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .ppt-slide {
    padding: 36px 0;
  }
  body.ppt-deck-mode .ppt-slide {
    inset: 6px 6px 54px 6px;
    padding: 10px 12px;
  }
  .ppt-slide-inner,
  .hero-cover-grid {
    padding: 0 16px;
  }
  .hero-metrics-strip,
  .trade-flow-grid,
  .soul-grid,
  .customs-steps,
  .funnel-sliders-grid,
  .dyn-kpi-grid,
  .safety-valves,
  .sites-grid,
  .cycle-timeline,
  .assets-5-grid,
  .guarantees-4-band,
  .form-2col,
  .video-wall-grid,
  .promo-grid,
  .loop-4-grid,
  .loop-right-wrap,
  .contact-hq-row {
    grid-template-columns: 1fr;
  }
  .slider-card.is-full {
    grid-column: span 1;
  }
  .trapezoid-tier.t1,
  .trapezoid-tier.t2,
  .trapezoid-tier.t3,
  .trapezoid-tier.t4,
  .trapezoid-tier.t5 {
    width: 100%;
    min-width: 0;
  }
  .hq-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hq-main-video {
    grid-column: span 1;
  }
  .macro-bar-row {
    grid-template-columns: 72px 1fr 64px;
    gap: 8px;
  }
  .ppt-dock {
    width: calc(100vw - 12px);
    height: 44px;
    padding: 0 8px;
    gap: 4px;
    bottom: 6px;
  }
  .ppt-dock .btn-sm {
    padding: 5px 8px;
    font-size: 11px;
  }
  .ppt-slide-select {
    max-width: 108px;
    padding: 4px 6px;
    font-size: 11px;
  }
  #ppt-slide-indicator {
    min-width: 34px !important;
    font-size: 11px !important;
  }
  .ppt-dock-tools {
    display: none;
  }
}
