/* ================================================================
   METAORGANIC — PAGE-SPECIFIC STYLES
   Home · Company · ODM · M-Library · Contact
   ================================================================ */

/* ══════════════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════════════ */
#canvas-container {
   position: fixed;
   inset: 0;
   z-index: 0;
   pointer-events: none;
}

#canvas-container canvas {
   display: block;
   width: 100% !important;
   height: 100% !important;
}

/* Hero */
.page-home .hero {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: var(--nav-height);
   overflow: hidden;
}

.hero-grid {
   position: absolute;
   inset: 0;
   background-image: linear-gradient(rgba(20, 184, 166, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 184, 166, .06) 1px, transparent 1px);
   background-size: 48px 48px;
   z-index: 1;
   pointer-events: none;
}

.hero-vignette {
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at center, transparent 15%, rgba(248, 251, 251, .95) 100%);
   z-index: 2;
   pointer-events: none;
}

.page-home .hero-content {
   position: relative;
   z-index: 5;
   text-align: center;
   width: 100%;
   max-width: 900px;
   margin: 0 auto;
   padding: 0 var(--space-3);
}

.hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   background: rgba(255, 255, 255, 0.6);
   backdrop-filter: blur(12px);
   border: 1px solid rgba(20, 184, 166, 0.3);
   border-radius: 100px;
   color: var(--primary);
   font-family: 'JetBrains Mono', monospace;
   font-size: var(--fs-xs);
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.1em;
   margin-bottom: var(--space-4);
   box-shadow: var(--shadow-sm);
}

.badge-dot {
   width: 6px;
   height: 6px;
   background: var(--accent);
   border-radius: 50%;
   animation: pingDot 2s infinite;
}

.hero-title {
   font-size: var(--fs-disp);
   font-weight: 500;
   letter-spacing: -0.04em;
   line-height: 1.1;
   margin-bottom: var(--space-3);
}

.hero-sub {
   font-size: var(--fs-lg);
   color: var(--text-secondary);
   line-height: 1.6;
   margin-bottom: var(--space-5);
   max-width: 640px;
   margin-inline: auto;
   font-weight: 400;
}

.hero-actions {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 16px;
   flex-wrap: wrap;
}

.scroll-cue {
   position: absolute;
   left: 50%;
   bottom: var(--space-4);
   transform: translateX(-50%);
   z-index: 5;
   color: var(--text-tertiary);
   font-size: 14px;
   animation: bounceCue 1.6s infinite;
}

/* Pillars */
.pillars-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-3);
}

@media (min-width: 768px) {
   .pillars-grid {
      grid-template-columns: repeat(3, 1fr);
   }
}

.pillar-card {
   background: rgba(255, 255, 255, 0.4);
   backdrop-filter: blur(24px);
   -webkit-backdrop-filter: blur(24px);
   border: 1px solid rgba(255, 255, 255, 0.8);
   border-bottom-color: rgba(20, 184, 166, 0.2);
   border-right-color: rgba(20, 184, 166, 0.2);
   border-radius: 24px;
   padding: var(--space-5) var(--space-4);
   box-shadow: var(--shadow-sm);
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
   display: flex;
   flex-direction: column;
   position: relative;
   overflow: hidden;
}

.pillar-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: -1;
   opacity: 0;
   transition: opacity 0.5s ease;
   background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(20, 184, 166, 0.1), transparent 40%);
}

.pillars-grid:hover .pillar-card {
   filter: blur(3px);
   opacity: 0.6;
   transform: scale(0.98);
}

.pillars-grid .pillar-card:hover {
   filter: blur(0);
   opacity: 1;
   transform: translateY(-8px) scale(1.02);
   background: rgba(255, 255, 255, 0.85);
   border-color: rgba(20, 184, 166, 0.3);
   box-shadow: var(--shadow-float);
}

.pillars-grid .pillar-card:hover::after {
   opacity: 1;
}

.pillar-icon {
   width: 56px;
   height: 56px;
   border-radius: 16px;
   background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(14, 165, 233, 0.05));
   color: var(--accent);
   display: grid;
   place-items: center;
   font-size: 24px;
   margin-bottom: var(--space-4);
   border: 1px solid rgba(20, 184, 166, 0.2);
   transition: all 0.5s ease;
}

.pillars-grid .pillar-card:hover .pillar-icon {
   background: rgba(20, 184, 166, 0.15);
   color: var(--primary);
   transform: scale(1.1) rotate(5deg);
   box-shadow: 0 12px 24px rgba(20, 184, 166, 0.2);
}

.pillar-code {
   font-family: 'JetBrains Mono', monospace;
   font-size: var(--fs-xs);
   color: var(--text-tertiary);
   margin-bottom: 8px;
   font-weight: 600;
   letter-spacing: 0.1em;
}

.pillar-card h3 {
   font-size: var(--fs-lg);
   margin-bottom: 12px;
}

.pillar-card p {
   color: var(--text-secondary);
   font-size: var(--fs-sm);
   line-height: 1.6;
   flex-grow: 1;
}

.pillar-foot {
   margin-top: var(--space-4);
   padding-top: var(--space-3);
   border-top: 1px solid rgba(20, 184, 166, 0.1);
   display: flex;
   align-items: baseline;
   gap: 8px;
}

.pillar-num {
   font-size: var(--fs-xl);
   font-weight: 300;
   line-height: 1;
}

.pillar-unit {
   font-family: 'JetBrains Mono', monospace;
   font-size: var(--fs-xs);
   color: var(--text-tertiary);
   font-weight: 500;
}

/* Tech Platform */
.section-tech-home {
   background: var(--bg-surface);
   border-top: 1px solid var(--border-light);
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: var(--space-3);
   margin-bottom: var(--space-10);
}

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

.stat-pill {
   padding: var(--space-4) var(--space-3);
   text-align: center;
   background: rgba(255, 255, 255, 0.8);
   backdrop-filter: blur(12px);
   border-radius: 24px;
   border: 1px solid var(--border);
   box-shadow: var(--shadow-sm);
   transition: all 0.4s;
}

.stat-pill:hover {
   transform: translateY(-6px);
   border-color: var(--primary-light);
   box-shadow: var(--shadow-md);
}

.stat-pill strong {
   display: block;
   font-size: clamp(2.5rem, 4vw, 3.5rem);
   font-weight: 300;
   line-height: 1;
   margin-bottom: 8px;
   font-family: 'Inter', sans-serif;
}

.stat-pill p {
   font-size: var(--fs-sm);
   color: var(--text-secondary);
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.05em;
}

.compare-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-4);
}

@media (min-width: 1024px) {
   .compare-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-5);
   }
}

.cmp-card {
   padding: var(--space-6) var(--space-5);
   border-radius: 32px;
   display: flex;
   flex-direction: column;
   transition: all 0.5s ease;
}

.cmp-trad {
   background: var(--bg-elevated);
   border: 1px dashed var(--text-tertiary);
   opacity: 0.8;
}

.cmp-trad .cmp-icon {
   background: rgba(0, 0, 0, 0.04);
   border: 1px solid rgba(0, 0, 0, 0.1);
   color: var(--text-tertiary);
}

.cmp-trad .cmp-kicker {
   color: var(--text-tertiary);
}

.cmp-trad h3 {
   color: var(--text-secondary);
}

.cmp-trad .chk-ico {
   color: var(--text-tertiary);
}

.cmp-next {
   background: var(--dark-bg);
   color: #fff;
   border: 1px solid var(--dark-border);
   box-shadow: 0 32px 64px rgba(20, 184, 166, 0.15);
   position: relative;
   overflow: hidden;
   transform: scale(1.02);
}

.cmp-next::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle at center, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
   pointer-events: none;
}

.cmp-next .cmp-icon {
   background: rgba(20, 184, 166, 0.15);
   border: 1px solid var(--primary-light);
   color: var(--accent);
   box-shadow: 0 0 16px rgba(20, 184, 166, 0.2);
}

.cmp-next .cmp-kicker {
   color: var(--primary-light);
}

.cmp-next h3 {
   color: #fff;
}

.cmp-next li {
   color: rgba(255, 255, 255, 0.8);
   border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.cmp-next .chk-ico {
   color: var(--primary-light);
}

.compare-grid:hover .cmp-trad {
   filter: grayscale(100%) blur(2px);
   opacity: 0.4;
   transform: scale(0.98);
}

.compare-grid:hover .cmp-next {
   transform: scale(1.04);
   box-shadow: 0 40px 80px rgba(14, 165, 233, 0.2);
   border-color: var(--accent);
}

.cmp-head {
   display: flex;
   align-items: center;
   gap: var(--space-3);
   margin-bottom: var(--space-4);
}

.cmp-icon {
   width: 56px;
   height: 56px;
   border-radius: 16px;
   display: grid;
   place-items: center;
   font-size: 24px;
   flex-shrink: 0;
}

.cmp-kicker {
   display: block;
   font-family: 'JetBrains Mono', monospace;
   font-size: var(--fs-xs);
   font-weight: 600;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   margin-bottom: 4px;
}

.cmp-head h3 {
   font-size: var(--fs-lg);
   font-weight: 600;
   margin: 0;
}

.checklist {
   display: flex;
   flex-direction: column;
   gap: 16px;
   flex-grow: 1;
   position: relative;
   z-index: 2;
}

.checklist li {
   display: flex;
   align-items: center;
   gap: 16px;
   font-size: var(--fs-base);
   padding-bottom: 16px;
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.checklist li:last-child {
   border-bottom: none;
   padding-bottom: 0;
}

.chk-ico {
   flex-shrink: 0;
   font-size: 16px;
   width: 24px;
   display: grid;
   place-items: center;
}

/* CTA */
.section-cta {
   padding: var(--space-8) 0 var(--space-15);
   position: relative;
   z-index: 10;
}

.cta-card {
   position: relative;
   background: rgba(0, 100, 100, 0.8);
   border-radius: 32px;
   padding: var(--space-8) var(--space-4);
   text-align: center;
   overflow: hidden;
   border: 1px solid var(--dark-border);
   box-shadow: 0 48px 100px rgba(15, 118, 110, 0.15);
}

@media (min-width: 768px) {
   .cta-card {
      padding: var(--space-10) var(--space-6);
   }
}

.cta-card::before {
   content: '';
   position: absolute;
   top: -50%;
   left: 0;
   width: 100%;
   height: 150%;
   background: radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
   pointer-events: none;
}

.cta-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 0;
   opacity: 0.1;
   pointer-events: none;
   background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
   background-size: 32px 32px;
}

.cta-content {
   position: relative;
   z-index: 2;
   max-width: 700px;
   margin: 0 auto;
}

.cta-card .eyebrow {
   color: var(--primary-light);
   justify-content: center;
}

.cta-card .eyebrow::before {
   background: var(--primary-light);
   box-shadow: 0 0 12px var(--primary-light);
}

.cta-card h2 {
   color: #fff;
   font-size: var(--fs-2xl);
   margin-bottom: var(--space-3);
   line-height: 1.2;
   letter-spacing: -0.03em;
}

.cta-card p {
   color: rgba(255, 255, 255, 0.7);
   font-size: var(--fs-lg);
   line-height: 1.6;
   margin-bottom: var(--space-5);
}

.cta-actions {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 16px;
   flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   COMPANY PAGE
   ══════════════════════════════════════════════════════════════════ */
/* Company-specific tokens (bottom sections) */
.page-company {
   --ink: #0F172A;
   --ink-2: #334155;
   --ink-3: #64748B;
   --ink-4: #94A3B8;
   --border-mid: rgba(15, 118, 110, .20);
   --r-sm: 10px;
   --r-md: 16px;
   --r-lg: 22px;
}

/* Hero */
.company-hero {
   position: relative;
   height: 100vh;
   min-height: 700px;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   background: #eef2f1;
}

.company-hero .hero-media-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: 0;
   will-change: transform, filter;
   transform-origin: center center;
}

.company-hero .hero-overlay {
   position: absolute;
   inset: 0;
   z-index: 1;
   background: linear-gradient(180deg, rgba(248, 250, 249, 0.1) 0%, rgba(248, 250, 249, 0.5) 60%, var(--bg-surface) 100%);
}

.company-hero .hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
   width: 100%;
   will-change: transform, opacity;
   margin-top: var(--nav-height);
}

.text-body-lg {
   font-size: 1.125rem;
   line-height: 1.7;
   color: var(--text-secondary);
}

/* Stats Bridge */
.stats-bridge {
   background: var(--bg-surface);
   border-bottom: 1px solid var(--border);
   position: relative;
   z-index: 10;
}

.stats-bridge-inner {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
   .stats-bridge-inner {
      grid-template-columns: repeat(4, 1fr);
   }
}

.stat-cell {
   padding: 44px var(--space-5);
   border-right: 1px solid var(--border);
   position: relative;
   transition: background .25s;
}

.stat-cell:nth-child(2) {
   border-right: none;
}

.stat-cell:last-child {
   border-right: none;
}

.stat-cell:nth-child(1),
.stat-cell:nth-child(2) {
   border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
   .stat-cell:nth-child(2) {
      border-right: 1px solid var(--border);
   }

   .stat-cell:nth-child(1),
   .stat-cell:nth-child(2) {
      border-bottom: none;
   }
}

.stat-cell:hover {
   background: var(--bg-elevated);
}

.stat-cell::before {
   content: '';
   position: absolute;
   top: 0;
   left: var(--space-5);
   right: var(--space-5);
   height: 2px;
   background: linear-gradient(90deg, var(--primary-light), transparent);
   opacity: 0;
   transition: opacity .3s;
}

.stat-cell:hover::before {
   opacity: 1;
}

.stat-num {
   display: block;
   font-family: 'Inter', sans-serif;
   font-size: clamp(2.8rem, 4.5vw, 4rem);
   font-weight: 700;
   line-height: 1;
   letter-spacing: -.04em;
   margin-bottom: 10px;
}

.stat-label {
   font-size: .9375rem;
   font-weight: 600;
   color: var(--text-primary);
   margin-bottom: 3px;
}

.stat-sub {
   font-size: .8125rem;
   color: var(--text-tertiary);
}

/* Overview */
.overview-section {
   padding: var(--space-15) 0;
   background: var(--bg);
}

.overview-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 56px;
   align-items: center;
}

@media (min-width: 1024px) {
   .overview-grid {
      grid-template-columns: 1.1fr .9fr;
      gap: 80px;
   }
}

.overview-eyebrow {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 24px;
}

.overview-eyebrow::before {
   content: '';
   display: block;
   width: 28px;
   height: 2px;
   background: var(--primary-light);
   border-radius: 2px;
}

.overview-eyebrow span {
   font-family: 'Inter', sans-serif;
   font-size: .75rem;
   font-weight: 700;
   letter-spacing: .14em;
   text-transform: uppercase;
   color: var(--primary);
}

.overview-headline {
   font-size: clamp(2.6rem, 5vw, 4rem);
   font-weight: 700;
   line-height: 1.1;
   letter-spacing: -.03em;
   margin-bottom: 28px;
}

.overview-body {
   font-size: 1.0625rem;
   color: var(--text-secondary);
   line-height: 1.85;
   margin-bottom: 32px;
}

.overview-bullets {
   display: flex;
   flex-direction: column;
   gap: 0;
   border: 1px solid var(--border);
   border-radius: 18px;
   overflow: hidden;
   background: var(--bg-surface);
   box-shadow: var(--shadow-sm);
}

.overview-bullet {
   display: flex;
   align-items: flex-start;
   gap: 18px;
   padding: 24px 28px;
   border-bottom: 1px solid var(--border);
   transition: background .25s;
}

.overview-bullet:last-child {
   border-bottom: none;
}

.overview-bullet:hover {
   background: var(--bg-elevated);
}

.bullet-icon {
   width: 38px;
   height: 38px;
   border-radius: 10px;
   display: grid;
   place-items: center;
   flex-shrink: 0;
   background: rgba(20, 184, 166, .09);
   color: var(--primary);
}

.bullet-title {
   font-size: .9375rem;
   font-weight: 700;
   color: var(--text-primary);
   margin-bottom: 4px;
}

.bullet-desc {
   font-size: .875rem;
   line-height: 1.6;
   color: var(--text-secondary);
}

/* Philosophy */
.t-display-en {
   font-family: 'DM Serif Display', Georgia, serif;
   font-size: clamp(2.2rem, 4.5vw, 3.8rem);
   font-weight: 400;
   line-height: 1.12;
   letter-spacing: -.01em;
}

.sec-label {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 52px;
}

.sec-label-num {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .1em;
   color: var(--primary-light);
}

.sec-label-rule {
   flex: 1;
   max-width: 40px;
   height: 1px;
   background: var(--border);
}

.sec-label-text {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .13em;
   text-transform: uppercase;
   color: var(--ink-4, #94A3B8);
}

.philosophy {
   position: relative;
   overflow: hidden;
   background: var(--ink, #0F172A);
   padding: 112px 0;
}

.phi-glow-l {
   position: absolute;
   top: -20%;
   left: -8%;
   width: 600px;
   height: 600px;
   background: radial-gradient(circle, rgba(20, 184, 166, .11) 0%, transparent 60%);
   pointer-events: none;
}

.phi-glow-r {
   position: absolute;
   bottom: -20%;
   right: -8%;
   width: 500px;
   height: 500px;
   background: radial-gradient(circle, rgba(8, 145, 178, .09) 0%, transparent 60%);
   pointer-events: none;
}

.philosophy::before {
   content: '';
   position: absolute;
   inset: 0;
   background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
   background-size: 32px 32px;
   pointer-events: none;
}

.phi-inner {
   position: relative;
   z-index: 2;
}

.phi-head {
   max-width: 750px;
   margin-bottom: 64px;
}

.phi-label-row {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 48px;
}

.phi-label-line {
   width: 24px;
   height: 1px;
   background: var(--primary-light);
}

.phi-eyebrow {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .13em;
   text-transform: uppercase;
   color: var(--primary-light);
}

.phi-headline {
   color: #fff;
   margin-bottom: 36px;
}

.phi-body {
   font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
   color: rgba(255, 255, 255, .60);
   line-height: 1.85;
}

.phi-body strong {
   color: rgba(255, 255, 255, .88);
   font-weight: 600;
}

.phi-pillars {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1px;
   background: rgba(255, 255, 255, .07);
   border: 1px solid rgba(255, 255, 255, .07);
   border-radius: var(--r-lg, 22px);
   overflow: hidden;
}

@media (min-width: 640px) {
   .phi-pillars {
      grid-template-columns: repeat(3, 1fr);
   }
}

.phi-pillar {
   padding: 32px 28px;
   background: rgba(255, 255, 255, .03);
   transition: background .3s;
}

.phi-pillar:hover {
   background: rgba(255, 255, 255, .06);
}

.phi-pillar-num {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .1em;
   color: var(--primary-light);
   margin-bottom: 16px;
}

.phi-pillar-title {
   font-size: 1.25rem;
   font-weight: 700;
   color: #fff;
   letter-spacing: -.02em;
   margin-bottom: 12px;
   line-height: 1.3;
}

.phi-pillar-body {
   font-size: .875rem;
   color: rgba(255, 255, 255, .50);
   line-height: 1.75;
}

/* History */
.history {
   background: var(--bg-surface);
   border-top: 1px solid var(--border);
   padding: 96px 0;
}

.history-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 56px;
}

@media (min-width: 1024px) {
   .history-grid {
      grid-template-columns: 260px 1fr;
      gap: 80px;
      align-items: start;
   }
}

@media (min-width: 1024px) {
   .history-sticky {
      position: sticky;
      top: calc(var(--nav-height) + 32px);
   }
}

.t-h2 {
   font-size: clamp(1.875rem, 3.5vw, 2.625rem);
   font-weight: 700;
   line-height: 1.25;
   letter-spacing: -.025em;
}

.history-aside-title {
   margin-bottom: 20px;
}

.history-aside-desc {
   font-size: .9375rem;
   color: var(--ink-3, #64748B);
   line-height: 1.75;
   margin-bottom: 28px;
}

.history-keypoints {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.history-kp {
   padding: 16px 18px;
   border-radius: var(--r-md, 16px);
   border: 1px solid var(--border);
   background: var(--bg-elevated);
   display: flex;
   flex-direction: column;
   gap: 4px;
   transition: border-color .25s, background .25s;
}

.history-kp:hover {
   border-color: var(--border-mid, rgba(15, 118, 110, .20));
   background: var(--bg-surface);
}

.history-kp-label {
   font-family: 'Inter', sans-serif;
   font-size: .625rem;
   font-weight: 700;
   letter-spacing: .1em;
   text-transform: uppercase;
   color: var(--ink-4, #94A3B8);
}

.history-kp-value {
   font-size: .9375rem;
   font-weight: 700;
   color: var(--text-primary);
   line-height: 1.3;
}

.history-kp-sub {
   font-size: .8125rem;
   color: var(--ink-3, #64748B);
}

/* Timeline */
.timeline {
   position: relative;
}

.tl-track-wrap {
   position: absolute;
   left: 0;
   top: 10px;
   bottom: 0;
   width: 1px;
}

.tl-track-base {
   position: absolute;
   inset: 0;
   background: rgba(20, 184, 166, .12);
}

.tl-track-fill {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 0;
   background: linear-gradient(to bottom, var(--primary-light), var(--primary));
   transition: height .45s cubic-bezier(.4, 0, .2, 1);
}

.tl-list {
   display: grid;
   gap: 0;
}

.tl-row {
   position: relative;
   padding: 0 0 32px 28px;
}

@media (min-width: 640px) {
   .tl-row {
      padding: 0 0 32px 36px;
   }
}

.tl-dot {
   position: absolute;
   left: -5px;
   top: 8px;
   width: 11px;
   height: 11px;
   border-radius: 50%;
   background: var(--bg-surface);
   border: 2px solid rgba(20, 184, 166, .22);
   transition: background .4s, border-color .4s, transform .4s;
   z-index: 2;
}

.tl-row.dot-active .tl-dot {
   background: var(--primary-light);
   border-color: var(--primary-light);
   transform: scale(1.2);
}

.tl-card {
   position: relative;
   overflow: hidden;
   padding: 16px;
   border-radius: var(--r-md, 16px);
   border: 1px solid var(--border);
   background: var(--bg);
   transition: border-color .35s, box-shadow .35s, transform .35s;
}

@media (min-width: 640px) {
   .tl-card {
      padding: 20px 22px;
   }
}

.tl-card::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(20, 184, 166, .07) 0%, transparent 68%);
   transform: scaleX(0);
   transform-origin: left center;
   transition: transform .55s cubic-bezier(.4, 0, .2, 1);
   border-radius: inherit;
   pointer-events: none;
}

.tl-row.dot-active .tl-card::before {
   transform: scaleX(1);
}

.tl-row.dot-active .tl-card {
   border-color: var(--border-mid, rgba(15, 118, 110, .20));
   background: var(--bg-surface);
}

.tl-card.highlight {
   border-color: rgba(20, 184, 166, .22);
   background: rgba(20, 184, 166, .03);
}

.tl-card.highlight::before {
   background: linear-gradient(90deg, rgba(20, 184, 166, .11) 0%, transparent 68%);
}

.tl-row.dot-active .tl-card.highlight {
   border-color: rgba(20, 184, 166, .38);
}

.tl-card:hover {
   transform: translateX(4px);
   box-shadow: var(--shadow-sm);
}

.tl-date {
   font-family: 'Inter', sans-serif;
   font-size: .8125rem;
   font-weight: 700;
   letter-spacing: .06em;
   color: var(--primary);
   margin-bottom: 5px;
}

.tl-title {
   font-size: .9375rem;
   font-weight: 600;
   color: var(--text-primary);
   line-height: 1.5;
}

.tl-note {
   font-size: .8125rem;
   color: var(--ink-3, #64748B);
   margin-top: 3px;
}

.tl-badge {
   display: inline-block;
   margin-top: 9px;
   padding: 3px 10px;
   border-radius: 6px;
   background: var(--primary);
   color: #fff;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .05em;
}

/* Team */
.team {
   background: var(--bg);
   border-top: 1px solid var(--border);
   padding: 96px 0;
}

.team-intro {
   display: grid;
   grid-template-columns: 1fr;
   gap: 40px;
   margin-bottom: 64px;
}

@media (min-width: 1024px) {
   .team-intro {
      grid-template-columns: 1fr 1fr;
      align-items: end;
   }
}

.t-body {
   font-size: 1.0625rem;
   color: var(--ink-2, #334155);
   line-height: 1.8;
}

.member-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 20px;
}

@media (min-width: 800px) {
   .member-grid {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(2, 480px);
   }

   .member-card:nth-child(1) {
      grid-column: 1;
      grid-row: 1;
   }

   .member-card:nth-child(2) {
      grid-column: 2;
      grid-row: 1;
   }

   .member-card:nth-child(3) {
      grid-column: 2;
      grid-row: 2;
   }

   .member-card:nth-child(4) {
      grid-column: 3;
      grid-row: 2;
   }
}

.member-card {
   position: relative;
   overflow: hidden;
   border-radius: var(--r-lg, 22px);
   border: 1px solid var(--border);
   background: var(--bg-elevated);
   min-height: 480px;
   transition: box-shadow .45s, border-color .45s;
}

@media (min-width: 800px) {
   .member-card {
      min-height: unset;
   }
}

.member-card:hover,
.member-card.touched {
   box-shadow: var(--shadow-lg);
   border-color: var(--border-mid, rgba(15, 118, 110, .20));
}

.member-portrait {
   position: absolute;
   inset: 0;
}

.member-photo-fallback {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   display: block;
   z-index: 0;
   transition: transform .85s cubic-bezier(.16, 1, .3, 1), opacity 0.5s ease;
}

.member-photo-real {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center top;
   z-index: 1;
   opacity: 0;
   transform: scale(1.08);
   transition: all .85s cubic-bezier(.16, 1, .3, 1);
}

.member-card:hover .member-photo-fallback,
.member-card.touched .member-photo-fallback {
   opacity: 0;
   transform: scale(1.04);
}

.member-card:hover .member-photo-real,
.member-card.touched .member-photo-real {
   opacity: 1;
   transform: scale(1);
}

.member-overlay {
   position: absolute;
   inset: 0;
   z-index: 2;
   background: linear-gradient(to top, rgba(247, 249, 248, .98) 0%, rgba(247, 249, 248, .90) 28%, rgba(247, 249, 248, .40) 52%, rgba(247, 249, 248, .06) 70%, transparent 100%);
   transition: background 0.6s ease;
}

.member-card:hover .member-overlay,
.member-card.touched .member-overlay {
   background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 45%, transparent 100%);
}

.member-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 2;
   background: linear-gradient(to top, rgba(20, 184, 166, .04) 0%, transparent 50%);
   opacity: 0;
   transition: opacity .4s;
}

.member-card:hover::after,
.member-card.touched::after {
   opacity: 1;
}

.member-accent-line {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   z-index: 5;
   background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
   opacity: 0;
   transition: opacity .4s;
}

.member-card:hover .member-accent-line,
.member-card.touched .member-accent-line {
   opacity: 1;
}

.member-index {
   position: absolute;
   top: 18px;
   right: 20px;
   z-index: 4;
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 600;
   letter-spacing: .1em;
   color: rgba(15, 118, 110, .35);
   transition: color 0.4s ease;
}

.member-card:hover .member-index,
.member-card.touched .member-index {
   color: rgba(255, 255, 255, 0.4);
}

.member-content {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   z-index: 3;
   padding: 24px 26px 28px;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
}

.member-dept {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .12em;
   text-transform: uppercase;
   color: var(--primary);
   margin-bottom: 9px;
   transition: color 0.4s ease;
}

.member-card:hover .member-dept,
.member-card.touched .member-dept {
   color: var(--primary-light);
}

.member-name-row {
   display: flex;
   align-items: baseline;
   gap: 9px;
   flex-wrap: wrap;
   margin-bottom: 10px;
}

.member-name {
   font-size: 1.375rem;
   font-weight: 700;
   letter-spacing: -.02em;
   color: var(--text-primary);
   line-height: 1.2;
   transition: color 0.4s ease;
}

.member-card:hover .member-name,
.member-card.touched .member-name {
   color: #fff;
}

.role-badge {
   display: inline-flex;
   align-items: center;
   padding: 3px 8px;
   border-radius: 5px;
   font-family: 'Inter', sans-serif;
   font-size: .625rem;
   font-weight: 700;
   letter-spacing: .06em;
   vertical-align: text-bottom;
   margin-bottom: 2px;
}

.rb-ceo {
   background: var(--text-primary);
   color: #fff;
}

.member-card:hover .rb-ceo,
.member-card.touched .rb-ceo {
   background: #fff;
   color: var(--text-primary);
}

.rb-cto {
   background: var(--primary);
   color: #fff;
}

.rb-rnd {
   background: rgba(20, 184, 166, .10);
   border: 1px solid rgba(20, 184, 166, .25);
   color: var(--primary);
}

.member-card:hover .rb-rnd,
.member-card.touched .rb-rnd {
   background: rgba(20, 184, 166, .2);
   color: var(--primary-light);
   border-color: rgba(20, 184, 166, .4);
}

.member-hidden-info {
   max-height: 0;
   opacity: 0;
   overflow: hidden;
   transform: translateY(15px);
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-hidden-info,
.member-card.touched .member-hidden-info {
   max-height: 200px;
   opacity: 1;
   transform: translateY(0);
   margin-top: 4px;
}

.member-desc {
   font-size: .875rem;
   color: var(--ink-3, #64748B);
   line-height: 1.7;
   margin-bottom: 14px;
   transition: color 0.4s ease;
}

.member-card:hover .member-desc,
.member-card.touched .member-desc {
   color: rgba(255, 255, 255, 0.8);
}

.member-prev {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   padding-top: 13px;
   border-top: 1px solid var(--border);
   font-size: .8125rem;
   color: var(--ink-4, #94A3B8);
   line-height: 1.55;
   transition: color 0.4s ease, border-color 0.4s ease;
}

.member-card:hover .member-prev,
.member-card.touched .member-prev {
   color: rgba(255, 255, 255, 0.6);
   border-top-color: rgba(255, 255, 255, 0.15);
}

.member-prev::before {
   content: '';
   display: block;
   width: 12px;
   height: 1px;
   background: var(--primary-light);
   margin-top: 7px;
   flex-shrink: 0;
}

/* Advisors */
.advisors {
   margin-top: 72px;
   padding-top: 52px;
   border-top: 1px solid var(--border);
}

.advisor-head {
   display: flex;
   align-items: baseline;
   justify-content: space-between;
   margin-bottom: 28px;
   flex-wrap: wrap;
   gap: 10px;
}

.t-h3 {
   font-size: 1.125rem;
   font-weight: 700;
   line-height: 1.35;
   letter-spacing: -.015em;
}

.t-label {
   font-family: 'Inter', sans-serif;
   font-size: .6875rem;
   font-weight: 700;
   letter-spacing: .13em;
   text-transform: uppercase;
}

.advisor-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 12px;
}

@media (min-width: 640px) {
   .advisor-grid {
      grid-template-columns: repeat(3, 1fr);
   }
}

.advisor-card {
   position: relative;
   overflow: hidden;
   padding: 20px 22px;
   background: var(--bg-surface);
   border: 1px solid var(--border);
   border-radius: var(--r-md, 16px);
   transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.advisor-card:hover {
   border-color: var(--border-mid, rgba(15, 118, 110, .20));
   box-shadow: var(--shadow-sm);
   transform: translateY(-3px);
}

.advisor-content {
   position: relative;
   z-index: 2;
   width: 75%;
}

.advisor-name {
   font-size: 1rem;
   font-weight: 700;
   color: var(--text-primary);
   margin-bottom: 5px;
   line-height: 1.3;
}

.advisor-desc {
   font-size: .8125rem;
   color: var(--ink-3, #64748B);
   line-height: 1.6;
}

.advisor-logo-img {
   position: absolute;
   right: 10px;
   bottom: 10px;
   height: 75px;
   width: auto;
   max-width: 90px;
   object-fit: contain;
   opacity: .15;
   filter: grayscale(60%);
   transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
   z-index: 1;
   pointer-events: none;
   transform-origin: bottom right;
}

.advisor-card:hover .advisor-logo-img {
   opacity: .18;
   filter: grayscale(0%);
   transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════════════
   ODM SERVICE PAGE
   ══════════════════════════════════════════════════════════════════ */
/* Hero (shared video hero style for ODM & M-Library) */
.service-hero {
   position: relative;
   min-height: 85vh;
   display: flex;
   align-items: flex-end;
   padding-top: var(--nav-height);
   padding-bottom: 80px;
   overflow: hidden;
}

@media (max-width: 768px) {
   .service-hero {
      min-height: 100vh;
      padding-bottom: 48px;
      align-items: center;
   }

   /* ── Mobile Text Hierarchy ──────────────────────
      Hero h1 (heading-xl)  → ~2rem–2.75rem  (largest)
      Section h2 (heading-lg) → ~1.5rem–1.75rem
      Card h3 (heading-md)    → 1.125rem
      App/Product title       → 1.25rem
      ──────────────────────────────────────────── */
   .service-hero .hero-content .heading-xl {
      font-size: clamp(2rem, 8vw, 2.75rem);
   }

   .service-hero .hero-content .body-lg {
      font-size: 0.9375rem;
      line-height: 1.7;
   }

   /* Section titles — must be smaller than hero */
   .page-odm .heading-lg,
   .page-mlibrary .heading-lg {
      font-size: clamp(1.5rem, 5vw, 1.75rem);
   }

   /* Card-level headings — smaller than section */
   .page-odm .heading-md,
   .page-mlibrary .heading-md {
      font-size: 1.125rem;
   }

   /* Product & App titles */
   .page-mlibrary .product-title {
      font-size: 1.25rem;
   }

   .page-mlibrary .app-title {
      font-size: 1.25rem;
   }

   /* Stats ribbon values */
   .page-mlibrary .stat-val {
      font-size: clamp(2rem, 8vw, 2.5rem);
   }
}

.service-hero .hero-bg {
   position: absolute;
   inset: 0;
   z-index: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.25;
   filter: grayscale(40%);
}

.service-hero::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 1;
   pointer-events: none;
   background-image: radial-gradient(var(--border) 1px, transparent 1px);
   background-size: 32px 32px;
}

.service-hero .hero-overlay {
   position: absolute;
   inset: 0;
   z-index: 2;
   background: linear-gradient(180deg, rgba(248, 250, 249, 0.3) 0%, rgba(248, 250, 249, 0.6) 60%, var(--bg) 100%);
}

.service-hero .hero-content {
   position: relative;
   z-index: 3;
   max-width: 800px;
}

/* Process Pipeline */
.process-section {
   background-color: var(--bg);
   position: relative;
   padding: var(--space-15) 0;
}

.sticky-wrap {
   position: sticky;
   top: 120px;
}

.pipeline-container {
   position: relative;
   padding-left: var(--space-5);
   margin-top: var(--space-4);
   padding-bottom: var(--space-5);
}

@media (min-width: 768px) {
   .pipeline-container {
      margin-top: 0;
   }
}

.pipeline-track {
   position: absolute;
   top: 0;
   bottom: 0;
   left: 15px;
   width: 2px;
   background: var(--border-light);
   z-index: 1;
}

.pipeline-progress {
   position: absolute;
   top: 0;
   left: 15px;
   width: 2px;
   height: 0%;
   background: linear-gradient(to bottom, var(--primary-light), var(--accent));
   box-shadow: 0 0 12px var(--primary-light);
   z-index: 2;
   transition: height 0.1s ease-out;
}

.process-card {
   position: relative;
   margin-bottom: var(--space-6);
   padding: var(--space-5);
   background: rgba(255, 255, 255, 0.4);
   border: 1px solid var(--border-light);
   border-radius: 20px;
   opacity: 0.4;
   filter: grayscale(80%);
   transform: scale(0.96) translateX(-10px);
   transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
   overflow: hidden;
   z-index: 3;
}

.process-card:last-child {
   margin-bottom: 0;
}

.process-bg-num {
   position: absolute;
   right: -10px;
   bottom: -30px;
   font-size: 140px;
   font-weight: 800;
   font-family: 'JetBrains Mono', monospace;
   line-height: 1;
   color: rgba(0, 0, 0, 0.03);
   z-index: 0;
   transition: all 0.6s ease;
}

.process-card::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 0%;
   background: linear-gradient(to top, rgba(20, 184, 166, 0.08) 0%, transparent 100%);
   transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
   z-index: 0;
}

.process-card.active {
   opacity: 1;
   filter: grayscale(0%);
   transform: scale(1) translateX(0);
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(16px);
   border-color: rgba(20, 184, 166, 0.3);
   box-shadow: var(--shadow-float);
}

.process-card.active::before {
   height: 100%;
}

.process-card.active .process-bg-num {
   color: rgba(20, 184, 166, 0.08);
   transform: translateY(-10px);
}

.process-header,
.process-card>p,
.process-list {
   position: relative;
   z-index: 2;
}

.process-node {
   position: absolute;
   left: -49px;
   top: 40px;
   width: 16px;
   height: 16px;
   border-radius: 50%;
   background: var(--bg);
   border: 3px solid var(--border);
   z-index: 4;
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card.active .process-node {
   border-color: var(--primary-light);
   background: #fff;
   box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2), 0 0 16px var(--primary-light);
   transform: scale(1.2);
}

.process-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: var(--space-2);
}

.process-num {
   font-family: 'JetBrains Mono', monospace;
   font-size: 1.25rem;
   font-weight: 500;
   color: var(--text-tertiary);
   transition: color 0.3s;
}

.process-card.active .process-num {
   color: var(--primary);
}

.process-list {
   margin-top: var(--space-3);
   padding-top: var(--space-3);
   border-top: 1px solid var(--border-light);
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.process-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   font-size: 0.95rem;
   color: var(--text-secondary);
}

.process-list li::before {
   content: '\2192';
   color: var(--text-tertiary);
   font-family: 'JetBrains Mono', monospace;
   transition: color 0.3s;
}

.process-card.active .process-list li::before {
   color: var(--primary-light);
}

/* ODM Comparison */
.comparison-section {
   background: var(--bg-surface);
   position: relative;
   overflow: hidden;
}

.comparison-section::after {
   content: '';
   position: absolute;
   top: 0;
   bottom: 0;
   right: 0;
   width: 50%;
   z-index: 0;
   background: linear-gradient(90deg, transparent, var(--bg-elevated));
   pointer-events: none;
}

.comparison-container {
   display: flex;
   flex-direction: column;
   gap: var(--space-4);
   margin-top: var(--space-6);
   position: relative;
   z-index: 10;
}

@media (min-width: 1024px) {
   .comparison-container {
      flex-direction: row;
      align-items: stretch;
      gap: var(--space-5);
   }
}

.compare-card {
   flex: 1;
   padding: var(--space-5);
   border-radius: 24px;
   position: relative;
   display: flex;
   flex-direction: column;
   transition: all 0.5s ease;
}

.legacy-card {
   background: var(--bg);
   border: 1px dashed var(--text-tertiary);
   opacity: 0.8;
}

.legacy-card .check-icon {
   color: var(--text-tertiary);
   background: rgba(0, 0, 0, 0.05);
}

.nextgen-card {
   background: var(--dark-bg);
   color: #fff;
   border: 1px solid rgba(20, 184, 166, 0.3);
   box-shadow: 0 32px 64px rgba(20, 184, 166, 0.15);
   overflow: hidden;
   z-index: 2;
   transform: scale(1.02);
}

.nextgen-card::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle at center, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
   pointer-events: none;
}

.nextgen-card .heading-md {
   color: #fff;
}

.nextgen-card .item-label {
   color: rgba(255, 255, 255, 0.5);
}

.nextgen-card .item-value {
   color: #fff;
}

.nextgen-card .check-icon {
   color: var(--dark-bg);
   background: var(--primary-light);
   box-shadow: 0 0 12px var(--primary-light);
}

.comparison-container:hover .legacy-card {
   filter: grayscale(100%) blur(2px);
   opacity: 0.4;
   transform: scale(0.98);
}

.comparison-container:hover .nextgen-card {
   transform: scale(1.04);
   box-shadow: 0 40px 80px rgba(14, 165, 233, 0.2);
   border-color: var(--accent);
}

.comparison-container:hover .nextgen-card .check-icon {
   background: var(--accent);
   box-shadow: 0 0 12px var(--accent);
}

.compare-list {
   margin-top: var(--space-4);
   display: flex;
   flex-direction: column;
   gap: var(--space-3);
   flex-grow: 1;
   position: relative;
   z-index: 2;
}

.compare-item {
   display: flex;
   flex-direction: column;
   gap: 6px;
   border-bottom: 1px solid var(--border-light);
   padding-bottom: var(--space-3);
}

.nextgen-card .compare-item {
   border-bottom-color: rgba(255, 255, 255, 0.1);
}

.compare-item:last-child {
   border-bottom: none;
   padding-bottom: 0;
}

.item-label {
   font-size: 0.75rem;
   text-transform: uppercase;
   color: var(--text-tertiary);
   font-weight: 700;
   font-family: 'Inter', sans-serif;
   letter-spacing: 0.05em;
}

.item-value {
   display: flex;
   align-items: center;
   gap: 16px;
   font-size: 1rem;
   color: var(--text-primary);
   font-weight: 500;
}

.check-icon {
   width: 28px;
   height: 28px;
   display: grid;
   place-items: center;
   border-radius: 50%;
   flex-shrink: 0;
   transition: all 0.5s;
}

/* Bento Grid (Dark) */
.section-bento {
   background: var(--dark-bg);
   position: relative;
   overflow: hidden;
   padding-bottom: var(--space-15);
}

.section-bento::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 1;
   pointer-events: none;
   opacity: 0.15;
   background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
   background-size: 32px 32px;
   mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
   -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

.section-bento .heading-lg {
   color: #fff;
}

.section-bento .body-md {
   color: rgba(255, 255, 255, 0.7);
}

.bento-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-3);
   position: relative;
   z-index: 10;
   margin-top: var(--space-6);
}

@media (min-width: 768px) {
   .bento-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (min-width: 1024px) {
   .bento-grid {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto auto;
   }

   .bento-1 {
      grid-column: span 2;
   }

   .bento-2 {
      grid-column: span 1;
   }

   .bento-3 {
      grid-column: span 1;
   }

   .bento-4 {
      grid-column: span 2;
   }
}

.bento-card {
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 24px;
   padding: var(--space-5);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
   transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   position: relative;
   overflow: hidden;
   cursor: crosshair;
   min-height: 240px;
}

.bento-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: var(--space-4);
   right: var(--space-4);
   height: 1px;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   opacity: 0.5;
   transition: opacity 0.5s ease;
}

.bento-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: -1;
   opacity: 0;
   transition: opacity 0.5s ease;
   background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(20, 184, 166, 0.1), transparent 40%);
}

.bento-grid:hover .bento-card {
   filter: blur(4px);
   opacity: 0.5;
   transform: scale(0.98);
   border-color: transparent;
}

.bento-grid .bento-card:hover {
   filter: blur(0);
   opacity: 1;
   transform: translateY(-8px) scale(1.02);
   background: rgba(255, 255, 255, 0.06);
   border-color: rgba(20, 184, 166, 0.4);
   box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.bento-grid .bento-card:hover::after,
.bento-grid .bento-card:hover::before {
   opacity: 1;
}

.bento-icon-wrapper {
   width: 56px;
   height: 56px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   display: grid;
   place-items: center;
   margin-bottom: var(--space-4);
   transition: all 0.5s ease;
}

.bento-icon-wrapper svg {
   width: 24px;
   height: 24px;
   stroke: #14B8A6;
}

.bento-grid .bento-card:hover .bento-icon-wrapper {
   background: rgba(20, 184, 166, 0.15);
   border-color: var(--primary-light);
   box-shadow: 0 0 24px rgba(20, 184, 166, 0.2);
   transform: scale(1.05);
}

.bento-card .heading-md {
   color: #fff;
   margin-bottom: 8px;
}

.bento-card .body-md {
   color: rgba(255, 255, 255, 0.6);
   transition: color 0.3s;
}

.bento-card:hover .body-md {
   color: rgba(255, 255, 255, 0.9);
}

/* ══════════════════════════════════════════════════════════════════
   M-LIBRARY PAGE
   ══════════════════════════════════════════════════════════════════ */
/* Stats Ribbon */
.stats-ribbon {
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   background: rgba(255, 255, 255, 0.4);
   backdrop-filter: blur(16px);
   padding: var(--space-6) 0;
   position: relative;
   z-index: 10;
}

.stat-item {
   text-align: left;
   padding-left: var(--space-3);
   border-left: 1px solid var(--border);
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
}

.stat-item:first-child {
   border-left: none;
   padding-left: 0;
}

@media (max-width: 767px) {
   .stat-item {
      border-left: none;
      border-top: 1px solid var(--border);
      padding-left: 0;
      padding-top: var(--space-3);
      margin-top: var(--space-3);
   }

   .stat-item:first-child {
      border-top: none;
      padding-top: 0;
      margin-top: 0;
   }
}

.stat-val {
   font-family: 'Pretendard Variable', 'Inter', sans-serif;
   font-size: clamp(2.5rem, 4vw, 3.5rem);
   font-weight: 700;
   letter-spacing: -0.03em;
   background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   line-height: 1.1;
   margin-bottom: var(--space-1);
   display: inline-block;
}

.stat-label-ml {
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-primary);
}

.stat-desc {
   font-size: 0.875rem;
   color: var(--text-secondary);
   margin-top: 4px;
}

/* Product Cards */
.product-section {
   position: relative;
}

.product-section::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 0;
   pointer-events: none;
   background-image: linear-gradient(to right, var(--border-light) 1px, transparent 1px), linear-gradient(to bottom, var(--border-light) 1px, transparent 1px);
   background-size: 64px 64px;
   -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
   mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
}

.product-card {
   position: relative;
   height: 480px;
   border-radius: 24px;
   overflow: hidden;
   box-shadow: var(--shadow-sm);
   transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   cursor: pointer;
   background: var(--bg-surface);
}

.product-bg {
   position: absolute;
   inset: 0;
   z-index: 1;
}

.product-bg img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-overlay {
   position: absolute;
   inset: 0;
   z-index: 2;
   background: linear-gradient(180deg, rgba(4, 16, 15, 0) 0%, rgba(4, 16, 15, 0.4) 40%, rgba(4, 16, 15, 0.9) 100%);
   transition: background 0.6s ease;
}

.product-content {
   position: relative;
   z-index: 3;
   padding: var(--space-4);
   color: #fff;
}

.product-tag-wrap {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: auto;
   position: absolute;
   top: var(--space-3);
   left: var(--space-3);
   right: var(--space-3);
   z-index: 4;
}

.product-code {
   background: rgba(255, 255, 255, 0.15);
   backdrop-filter: blur(8px);
   padding: 6px 12px;
   border-radius: 100px;
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.8rem;
   font-weight: 600;
   color: #fff;
   border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-category {
   background: var(--primary);
   color: #fff;
   padding: 4px 10px;
   font-size: 0.75rem;
   font-weight: 600;
   border-radius: 6px;
}

.product-title-row {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   margin-bottom: 8px;
}

.product-title {
   font-size: 1.5rem;
   font-weight: 700;
   color: #fff;
   line-height: 1.3;
   margin: 0;
}

.reveal-icon {
   width: 32px;
   height: 32px;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, 0.4);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
   flex-shrink: 0;
}

.reveal-icon svg {
   width: 16px;
   height: 16px;
   stroke: #fff;
   stroke-width: 2;
}

.product-desc {
   font-size: 0.95rem;
   color: rgba(255, 255, 255, 0.8);
   margin: 0;
}

.product-data {
   max-height: 0;
   opacity: 0;
   overflow: hidden;
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.data-row {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 16px;
   font-size: 0.875rem;
}

.data-label {
   color: rgba(255, 255, 255, 0.5);
   font-weight: 500;
   flex-shrink: 0;
}

.data-value {
   color: #fff;
   font-weight: 500;
   text-align: right;
}

.product-card:hover,
.product-card.touched {
   transform: translateY(-8px);
   box-shadow: var(--shadow-float);
}

.product-card:hover .product-bg img,
.product-card.touched .product-bg img {
   transform: scale(1.08);
}

.product-card:hover .product-overlay,
.product-card.touched .product-overlay {
   background: linear-gradient(180deg, rgba(4, 16, 15, 0.1) 0%, rgba(4, 16, 15, 0.7) 40%, rgba(4, 16, 15, 0.95) 100%);
}

.product-card:hover .reveal-icon,
.product-card.touched .reveal-icon {
   transform: rotate(135deg);
   background: var(--primary);
   border-color: var(--primary);
}

.product-card:hover .product-data,
.product-card.touched .product-data {
   max-height: 200px;
   opacity: 1;
   margin-top: var(--space-3);
   padding-top: var(--space-3);
   border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Applications */
.app-section {
   background: var(--bg-elevated);
}

.app-card {
   position: relative;
   padding: var(--space-5) var(--space-4);
   border-top: 1px solid var(--border);
   background: transparent;
   display: flex;
   flex-direction: column;
   overflow: hidden;
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   height: 100%;
}

.app-card::before {
   content: '';
   position: absolute;
   top: -1px;
   left: 0;
   width: 0%;
   height: 2px;
   background: linear-gradient(90deg, var(--primary), var(--accent));
   transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: -1;
   opacity: 0;
   background-image: radial-gradient(rgba(20, 184, 166, 0.25) 1.5px, transparent 1.5px);
   background-size: 24px 24px;
   transition: opacity 0.6s ease;
}

.app-card:hover {
   background: var(--bg-surface);
   box-shadow: var(--shadow-sm);
   border-radius: 0 0 16px 16px;
   transform: translateY(-6px);
}

.app-card:hover::before {
   width: 100%;
}

.app-card:hover::after {
   opacity: 0.3;
}

.app-header {
   display: flex;
   align-items: baseline;
   justify-content: space-between;
   margin-bottom: var(--space-2);
   flex-wrap: wrap;
   gap: 8px;
}

.app-title {
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--text-primary);
   transition: color 0.3s;
   margin: 0;
}

.app-card:hover .app-title {
   color: var(--primary);
}

.code-tags {
   display: flex;
   gap: 8px;
   flex-wrap: wrap;
}

.code-badge {
   padding: 4px 10px;
   border-radius: 4px;
   border: 1px solid var(--border);
   color: var(--text-secondary);
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.75rem;
   font-weight: 600;
   transition: all 0.3s;
}

.app-card:hover .code-badge {
   border-color: var(--primary-light);
   color: var(--primary);
   background: rgba(20, 184, 166, 0.05);
}

/* Core Technology (Dark) */
.section-tech {
   position: relative;
   padding: var(--space-15) 0;
   overflow: hidden;
   background-color: var(--dark-bg);
}

.section-tech .heading-lg,
.section-tech .heading-md {
   color: #ffffff !important;
}

.section-tech .body-md {
   color: rgba(255, 255, 255, 0.7) !important;
}

.tech-shade {
   position: absolute;
   inset: 0;
   z-index: 2;
   pointer-events: none;
   background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(4, 10, 9, 0.7) 40%, var(--dark-bg) 100%);
}

.tech-bg {
   position: absolute;
   inset: 0;
   z-index: 1;
   background-size: cover;
   background-position: center;
   opacity: 0;
   transition: opacity 1s ease-in-out, transform 8s ease-out;
   transform: scale(1.05);
}

.tech-bg.active {
   opacity: 0.6;
   transform: scale(1);
}

.bg-default {
   background: radial-gradient(circle at center, #0F2A28 0%, rgba(32, 178, 170, 1) 100%);
   opacity: 1;
   transform: scale(1);
}

.bg-genomics {
   background-image: url('../images/tech/genomics-bg.png');
   filter: saturate(1.2);
}

.bg-metabolism {
   background-image: url('../images/tech/metabolism-bg.png');
   filter: sepia(50%) hue-rotate(150deg) saturate(1.5);
}

.tech-mesh {
   position: absolute;
   inset: 0;
   z-index: 3;
   pointer-events: none;
   opacity: 0.15;
   background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
   background-size: 32px 32px;
}

.tech-content {
   position: relative;
   z-index: 10;
}

.tech-cards-wrapper {
   display: flex;
   gap: var(--space-4);
   margin-top: var(--space-6);
   flex-wrap: wrap;
   align-items: flex-start;
}

@media (min-width: 768px) {
   .tech-cards-wrapper {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
   }
}

.ai-card {
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 24px;
   padding: var(--space-5);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
   transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
   display: flex;
   flex-direction: column;
   cursor: pointer;
   position: relative;
   overflow: hidden;
}

.ai-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: var(--space-4);
   right: var(--space-4);
   height: 1px;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
   opacity: 0.5;
   transition: opacity 0.5s ease;
}

.ai-card::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: -1;
   opacity: 0;
   transition: opacity 0.5s ease;
   background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
}

.tech-cards-wrapper:hover .ai-card {
   filter: blur(4px);
   opacity: 0.5;
   transform: scale(0.98);
   border-color: transparent;
}

.tech-cards-wrapper .ai-card:hover {
   filter: blur(0);
   opacity: 1;
   transform: translateY(-8px) scale(1.02);
   background: rgba(255, 255, 255, 0.08);
   border-color: rgba(255, 255, 255, 0.2);
   box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-cards-wrapper .ai-card:hover::after,
.tech-cards-wrapper .ai-card:hover::before {
   opacity: 1;
}

.ai-card[data-type="genomics"] {
   --hover-color: var(--primary-light);
}

.ai-card[data-type="metabolism"] {
   --hover-color: var(--accent);
}

.ai-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: var(--space-3);
}

.ai-icon-wrap {
   width: 48px;
   height: 48px;
   border-radius: 12px;
   background: rgba(255, 255, 255, 0.05);
   display: flex;
   align-items: center;
   justify-content: center;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.5s ease;
}

.ai-card:hover .ai-icon-wrap {
   background: rgba(255, 255, 255, 0.1);
   border-color: var(--hover-color);
   box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.tech-reveal-icon {
   width: 32px;
   height: 32px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, 0.05);
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-reveal-icon svg {
   width: 16px;
   height: 16px;
   stroke: #fff;
   stroke-width: 2;
   transition: all 0.5s;
}

.ai-card:hover .tech-reveal-icon {
   transform: rotate(135deg);
   background: var(--hover-color);
}

.ai-list-wrapper {
   max-height: 0;
   opacity: 0;
   overflow: hidden;
   transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-card:hover .ai-list-wrapper {
   max-height: 250px;
   opacity: 1;
   margin-top: var(--space-4);
}

.ai-list {
   padding-top: var(--space-4);
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.ai-list li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   font-size: 0.95rem;
   color: rgba(255, 255, 255, 0.8);
}

.ai-list li::before {
   content: '';
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.3);
   margin-top: 8px;
   flex-shrink: 0;
   transition: background 0.5s ease;
}

.ai-card:hover .ai-list li::before {
   background: var(--hover-color);
   box-shadow: 0 0 8px var(--hover-color);
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════ */
.page-contact {
   --bg: #ffffff;
}

.page-contact main {
   padding-top: var(--nav-height);
}

.contact-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: var(--space-8);
   align-items: start;
}

@media (min-width: 1024px) {
   .contact-grid {
      grid-template-columns: 4fr 6fr;
      gap: var(--space-15);
   }
}

.sticky-info {
   position: sticky;
   top: calc(var(--nav-height) + var(--space-8));
}

.t-hero {
   font-size: clamp(3rem, 6vw, 5.5rem);
   font-weight: 500;
   letter-spacing: -0.03em;
   line-height: 1.1;
   margin-bottom: var(--space-4);
}

.t-body-lg {
   font-size: 1.125rem;
   line-height: 1.6;
   color: var(--text-secondary);
   font-weight: 300;
}

.contact-item {
   margin-top: var(--space-8);
}

.contact-item .t-mono {
   display: block;
   margin-bottom: 8px;
   color: var(--primary);
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.85rem;
   letter-spacing: 0.05em;
   text-transform: uppercase;
}

.contact-item p,
.contact-item a {
   font-size: 1.125rem;
   color: var(--text-primary);
}

.contact-item a:hover {
   color: var(--primary);
   text-decoration: underline;
   text-underline-offset: 4px;
}

/* Form */
.form-group {
   margin-bottom: var(--space-8);
   position: relative;
}

.form-group label {
   display: block;
   font-size: 0.85rem;
   font-weight: 500;
   color: var(--text-secondary);
   margin-bottom: 8px;
   transition: color 0.3s;
}

.form-control {
   width: 100%;
   padding: 12px 0;
   font-family: inherit;
   font-size: 1.25rem;
   font-weight: 400;
   background: transparent;
   border: none;
   border-bottom: 1px solid #E4E4E7;
   color: var(--text-primary);
   transition: all 0.4s ease;
   outline: none;
   border-radius: 0;
}

.form-control::placeholder {
   color: #D4D4D8;
   font-weight: 300;
}

.form-control:focus {
   border-bottom-color: var(--primary);
}

textarea.form-control {
   resize: none;
   min-height: 120px;
   line-height: 1.5;
}

/* Map */
.map-section {
   width: 100%;
   height: 500px;
   background: var(--bg-elevated);
   margin-top: var(--space-15);
   border-top: 1px solid var(--border);
}

.map-section iframe {
   width: 100%;
   height: 100%;
   filter: grayscale(.10) opacity(0.5);
   transition: filter 0.5s ease;
   border: none;
}

.map-section:hover iframe {
   filter: grayscale(0) opacity(1);
}

/* Success Modal */
.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(10px);
   z-index: 300;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.4s ease;
}

.modal-overlay.active {
   opacity: 1;
   pointer-events: auto;
}

.modal-content {
   text-align: center;
   transform: translateY(20px);
   transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
   transform: translateY(0);
}

.success-icon {
   width: 80px;
   height: 80px;
   margin: 0 auto var(--space-4);
   color: var(--primary);
}