:root {
  --base: #f9f9f9;
  --text: #1a1a1a;
  --muted: #4a5568;
  --line: rgba(26, 26, 26, 0.12);
  --line-strong: rgba(26, 26, 26, 0.2);
  --surface: #ffffff;
  --shadow: 0 20px 60px rgba(26, 26, 26, 0.04);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-minimal {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(249, 249, 249, 0.84);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand-mono,
.label-mono,
.section-kicker,
.num {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mono {
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.nav-product {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-product-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-v2 {
  padding: 128px 0 96px;
}

.hero-container {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-title,
.statement-container h2,
.legacy-title,
.profile-title,
.profile-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

.main-title {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

.sub-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.sub-lead p {
  margin: 0;
}

.sub-lead p + p {
  margin-top: 20px;
}

.statement-section,
.legacy-section,
.profile-hero,
.profile-section {
  padding: 112px 0;
}

.statement-section {
  border-top: 1px solid var(--line);
}

.statement-container {
  max-width: 780px;
}

.statement-container h2,
.legacy-title,
.profile-title,
.profile-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

.statement-container p,
.legacy-content p,
.profile-lead,
.profile-section p,
.minimal-footer p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.legacy-section {
  border-top: 1px solid var(--line);
}

.legacy-content {
  max-width: 860px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.text-link:hover {
  opacity: 0.72;
  border-color: var(--text);
}

.profile-page {
  min-height: calc(100vh - 68px);
}

.profile-container,
.profile-copy {
  max-width: 860px;
}

.profile-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.profile-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.profile-text {
  flex: 1;
}

.profile-image-container {
  flex-shrink: 0;
  width: 320px;
}

.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: grayscale(0.2);
  mix-blend-mode: multiply;
  transition: filter 0.3s ease;
}

.profile-photo:hover {
  filter: grayscale(0);
}

.biography-prose {
  display: grid;
  gap: 18px;
}

.biography-prose p {
  margin: 0;
}

.minimal-footer {
  border-top: 1px solid var(--line);
}

.minimal-footer p {
  color: rgba(26, 26, 26, 0.42) !important;
  font-size: 13px !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.minimal-footer p + p {
  margin-top: 8px !important;
}

.minimal-footer a {
  color: inherit;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.minimal-footer a:hover {
  color: var(--text);
  border-color: var(--text);
}

@media (min-width: 900px) {
  .minimal-footer p + p {
    margin-top: 0 !important;
  }
}


.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-hero-layout {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .profile-image-container {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }

  .nav-container {
    min-height: 62px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero-v2 {
    padding: 96px 0 72px;
  }

  .statement-section,
  .legacy-section,
  .profile-hero,
  .profile-section {
    padding: 88px 0;
  }

  .sub-lead,
  .statement-container p,
  .legacy-content p,
  .profile-lead,
  .profile-section p,
  .minimal-footer p {
    font-size: 16px;
  }
}

/* Slideshow container */
.slideshow-container {
  max-width: 860px;
  position: relative;
  margin: 0 auto 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.slideshow-container img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: var(--base);
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -24px;
  padding: 16px 20px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s ease;
  border-radius: 0 4px 4px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.15);
  text-decoration: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

@media (max-width: 720px) {
  .prev, .next {
    padding: 10px 14px;
    font-size: 15px;
    margin-top: -18px;
  }
}

/* Caption text */
.caption {
  color: var(--text);
  font-size: 14px;
  padding: 16px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 6px;
  width: 6px;
  margin: 0 4px;
  background-color: var(--line-strong);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active, .dot:hover {
  background-color: var(--text);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.8s;
}

@keyframes fade {
  from {opacity: .5}
  to {opacity: 1}
}

/* ==========================================
   Statement Section Vertical Blocks Layout
   ========================================== */
.statement-block {
  margin-bottom: 88px;
}

.statement-block:last-child {
  margin-bottom: 0;
}

.statement-block h2 {
  margin-bottom: 28px;
}

/* ==========================================
   Legacy Links (Side-by-side)
   ========================================== */
.legacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}

.legacy-links .text-link {
  margin-top: 0;
}

/* ==========================================
   Product Call to Action Block
   ========================================== */
.product-cta-block {
  margin-top: 36px;
  border-top: 1px dashed var(--line);
  padding-top: 24px;
}

.product-cta-block .cta-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.18s ease;
}

.product-cta-block .cta-link:hover {
  opacity: 0.72;
}






/* ==========================================
   Draggable Floating CTA Styles
   ========================================== */
.floating-cta {
  cursor: grab;
  user-select: none;
  touch-action: none; /* Prevent scrolling while dragging on mobile */
}

.floating-cta.dragging {
  cursor: grabbing;
  transform: scale(1.06) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
  opacity: 0.9;
  background: #000000 !important;
  transition: opacity 0.15s ease, background 0.15s ease !important;
}

/* ==========================================
   AI Cinematic Transition Overlay
   ========================================== */
.ai-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #141414 0%, #080808 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.ai-transition-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Glowing central portal */
.ai-portal-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.ai-portal-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.04);
  animation: rotatePortal 8s linear infinite;
}

.ai-portal-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff;
  transform: translateX(-50%);
}

.ai-portal-core {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: pulseCore 2s ease-in-out infinite;
}

.ai-portal-ripple {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: ripplePortal 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  opacity: 0;
}

.ai-portal-ripple:nth-child(2) {
  animation-delay: 0.8s;
}

.ai-portal-ripple:nth-child(3) {
  animation-delay: 1.6s;
}

/* Monospace progress details */
.ai-progress-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  height: 18px;
  text-align: center;
  transition: color 0.3s ease;
}

.ai-progress-bar-container {
  width: 220px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.ai-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), #ffffff, rgba(255,255,255,0.2));
  box-shadow: 0 0 10px #ffffff;
  transition: width 0.08s linear;
}

.ai-progress-percent {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 14px;
  letter-spacing: 0.05em;
}

/* Cinematic scan line */
.ai-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.02) 10%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.02) 90%, rgba(255,255,255,0) 100%);
  animation: scanSweep 6s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* Keyframes */
@keyframes rotatePortal {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCore {
  0%, 100% { transform: scale(0.9); opacity: 0.55; box-shadow: 0 0 15px rgba(255,255,255,0.1); }
  50% { transform: scale(1.1); opacity: 0.95; box-shadow: 0 0 25px rgba(255,255,255,0.3); }
}

@keyframes ripplePortal {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes scanSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
