/* ==========================================================================
   SPINCONSULTING.ID - DEEP NAVY DIGITAL MASTERPIECE DESIGN SYSTEM
   Midnight Navy Canvas & Luminous Glassmorphic Plates
   Distinct Frosted Light Grey Navigation Bar & Pure Sans-Serif Typography
   ========================================================================== */

:root {
  /* Deep Navy Dark Theme Palette */
  --bg-navy-deep: #060c18;
  --bg-navy-surface: #0a1426;
  --bg-navy-card: rgba(12, 22, 42, 0.72);
  --bg-navy-card-hover: rgba(16, 28, 54, 0.9);
  --border-navy-card: rgba(186, 215, 247, 0.12);
  --border-navy-card-hover: rgba(212, 175, 55, 0.45);

  /* Luminous Text Palette for Navy Canvas */
  --text-white: #ffffff;
  --text-pure: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --color-frost-glow: #bad7f7;
  --color-moon-mist: #c7d3ea;
  --color-fog-veil: #8da2c0;

  /* Frosted Glass Plate Elevation (Navy Dark Mode) */
  --shadow-glass-plate: 
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  --shadow-glass-plate-hover: 
    0 26px 60px rgba(0, 0, 0, 0.65),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);

  /* Preserved Light Grey Navigation Bar Tokens (Exact Light Grey Island) */
  --nav-light-bg: rgba(255, 255, 255, 0.85);
  --nav-light-bg-scrolled: rgba(255, 255, 255, 0.96);
  --nav-light-border: rgba(10, 22, 40, 0.08);
  --nav-light-text-title: #060e1a;
  --nav-light-text-body: #1e293b;
  --nav-light-shadow: 0 12px 32px rgba(10, 22, 40, 0.06), inset 0 1px 1px #ffffff;

  /* Gold Luxury Accent Palette */
  --gold-accent: #d4af37;
  --gold-accent-light: #f5cc4b;
  --gold-accent-glow: rgba(212, 175, 55, 0.4);
  --gold-subtle: rgba(212, 175, 55, 0.12);

  /* Navy Accents for Navbar Compatibility */
  --text-navy-deep: #060e1a;
  --text-navy-primary: #0a1628;
  --text-navy-body: #1e293b;
  --navy-accent-deep: #0a1628;
  --navy-accent-hover: #152642;

  /* Typography: Pure Sans-Serif (Plus Jakarta Sans) Hierarchy */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-navy-deep);
  background: radial-gradient(circle at 50% 8%, #0d1a33 0%, #060c18 45%, #030712 100%);
  background-attachment: fixed;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section[id], [id].section-wrapper {
  scroll-margin-top: 92px;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-weight: 400;
  background: transparent;
  color: #ffffff;
}

/* Universal Typography: Bold Headings & Regular Body Text */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

p, .body-copy {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-moon-mist);
}

/* ----------------- Background Liquid Canvas & Ambient Navy Mist ----------------- */
#liquid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.ambient-light-mist {
  position: fixed;
  inset: 0;
  --scroll-mist-offset: 0px;
  background-image: 
    radial-gradient(circle at 50% calc(-5% + var(--scroll-mist-offset, 0px)), rgba(186, 215, 247, 0.14) 0%, transparent 65%),
    radial-gradient(circle at 85% calc(35% + var(--scroll-mist-offset, 0px)), rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% calc(75% + var(--scroll-mist-offset, 0px)), rgba(30, 58, 110, 0.22) 0%, transparent 55%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  pointer-events: none;
  z-index: 2;
}

/* ----------------- Clean Viewport Edge Stream & Flanks Removed ----------------- */

/* ----------------- Custom Cursor ----------------- */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold-accent-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--gold-accent-glow);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(186, 215, 247, 0.28);
  background: rgba(186, 215, 247, 0.03);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-fluid), height 0.3s var(--ease-fluid), border-color 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(1px);
}

.custom-cursor-follower.hovering {
  width: 58px;
  height: 58px;
  border-color: var(--gold-accent);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 16px var(--gold-accent-glow);
}

.custom-cursor-follower.clicking {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: #ffffff;
}

/* ----------------- Navigation Bar (Apple Frosted Glass Effect) ----------------- */
.nav-island {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 92%;
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 100px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.06), inset 0 1px 1px #ffffff;
  transition: all 0.35s var(--ease-fluid);
}

.nav-island.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(10, 22, 40, 0.12);
  box-shadow: 0 16px 42px rgba(10, 22, 40, 0.09), inset 0 1px 0 #ffffff;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-navy-deep);
}

.spin-official-logo {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(10, 22, 40, 0.12);
  display: block;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--text-navy-deep);
}

.logo-text span {
  color: var(--gold-accent);
  font-weight: 600;
}

/* Official Instagram Link in Nav */
.nav-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 22, 40, 0.04);
  border: 1px solid rgba(10, 22, 40, 0.08);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.nav-instagram-link:hover {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.35);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.15);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-navy-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 100px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-navy-deep);
  background: rgba(10, 22, 40, 0.05);
}

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

/* Apple-style Glass CTA Button in Navbar */
.btn-apple-glass-cta {
  background: var(--navy-accent-deep);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(10, 22, 40, 0.15);
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
}

.btn-apple-glass-cta:hover {
  background: var(--navy-accent-hover);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ----------------- Hero Section (Spacious & Elegant Layout) ----------------- */
.hero-section {
  position: relative;
  z-index: 10;
  min-height: auto;
  padding-top: 135px;
  padding-bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 110px;
    padding-bottom: 28px;
  }
}

.hero-inner-container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-pill-badge {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 24px;
  background: rgba(186, 215, 247, 0.08);
  border: 1px solid rgba(186, 215, 247, 0.2);
  box-shadow: 0 0 20px rgba(186, 215, 247, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.badge-gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent-light);
  box-shadow: 0 0 8px var(--gold-accent-light);
}

/* ----------------- Architectural Photo Backdrop (Clean Rectangle, No Borders) ----------------- */
/* ----------------- Hero Massive Title (Luminous Platinum & Frost Gradient) ----------------- */
.hero-massive-title {
  position: relative;
  font-family: var(--font-sans);
  font-size: clamp(2.85rem, 6.4vw, 5.4rem);
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 15%, #c7d3ea 60%, #8da2c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.18;
  letter-spacing: -0.035em;
  padding-bottom: 0.18em;
  margin: 0;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero-subheadline {
  position: relative;
  z-index: 10;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--color-moon-mist);
  max-width: 800px;
  line-height: 1.6;
  margin: 16px auto 26px auto;
  font-weight: 400;
  text-shadow: none;
}

/* Category Specializations Row */
.hero-category-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.category-item {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  color: #ffffff;
  letter-spacing: -0.01em;
}

.category-separator {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
  user-select: none;
}

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

/* ----------------- Action Buttons (AuthKit Pill Geometry) ----------------- */
.btn-navy-hero {
  background: linear-gradient(180deg, #d4af37 0%, #b89327 100%);
  color: #05060f;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4), inset 0 1px 1px #ffffff;
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
}

.btn-navy-hero:hover {
  background: linear-gradient(180deg, #f5cc4b 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.btn-whatsapp-instant {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.btn-whatsapp-instant:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-outline-navy {
  background: rgba(186, 215, 247, 0.06);
  border: 1px solid rgba(186, 215, 247, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-navy:hover {
  background: rgba(186, 215, 247, 0.14);
  border-color: rgba(186, 215, 247, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-accent-light);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-accent-light);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ----------------- Asymmetric Kinetic Typography Strip ----------------- */
.kinetic-text-strip {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 16px 0;
  margin-bottom: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 12, 24, 0.65);
  backdrop-filter: blur(12px);
}

.kinetic-marquee-inner {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: kinetic-scroll 45s linear infinite;
  white-space: nowrap;
}

.kinetic-word {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 22px;
}

.kinetic-word span.gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-accent-light);
  display: inline-block;
}

/* ----------------- Section Containers ----------------- */
.section-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 30px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold-accent-light);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0;
  border-left: none;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: none;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-moon-mist);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ----------------- Glassmorphism Floating Cards (AuthKit Frosted Glass Plate + 3D Scroll Tilt) ----------------- */
.glass-panel {
  background: rgba(12, 22, 42, 0.68);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(186, 215, 247, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-glass-plate);
  position: relative;
  overflow: hidden;
  color: var(--color-moon-mist);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.glass-panel::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(186, 215, 247, 0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-panel:hover::after {
  opacity: 1;
}

.glass-panel:hover {
  background: rgba(16, 28, 54, 0.88);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-glass-plate-hover), 0 0 30px rgba(212, 175, 55, 0.15);
}

/* ----------------- SECTION 1: THE 4 CORE PROGRAMS ----------------- */
.programs-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .programs-quad-grid {
    grid-template-columns: 1fr;
  }
}

.program-box {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.program-number {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.program-badge {
  background: rgba(186, 215, 247, 0.08);
  border: 1px solid rgba(186, 215, 247, 0.18);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
}

.program-format-tag {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--gold-accent-light);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.program-format-tag::before {
  content: '●';
  color: var(--gold-accent-light);
  font-size: 0.6rem;
}

.program-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--color-moon-mist);
  line-height: 1.65;
  margin-bottom: 22px;
}

.program-module-bullets {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.module-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--color-moon-mist);
  font-weight: 500;
}

.module-bullet-item span.bullet-gold {
  color: var(--gold-accent-light);
  font-size: 0.7rem;
}

.program-footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----------------- SECTION 2: PINTEREST-STYLE 3D CURVED CAROUSEL (COVER FLOW) ----------------- */
.projects-3d-section {
  position: relative;
  overflow: visible;
  padding-bottom: 16px;
}

/* 3D Curved Perspective Stage */
.projects-3d-stage {
  position: relative;
  width: 100%;
  max-width: 1340px;
  height: auto;
  min-height: 0;
  margin: 20px auto 0 auto;
  /* perspektif dipasang di .projects-3d-track (bukan di sini) supaya seluruh area kartu samping bisa di-klik */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  touch-action: pan-y;
  user-select: none;
}

.projects-3d-track {
  position: relative;
  width: 100%;
  height: 620px;
  perspective: 1400px;
  perspective-origin: 50% 48%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual 3D Glass Flyer Card (Pinterest Curved Cylindrical Cover Flow) */
.project-3d-card {
  position: absolute;
  width: 375px;
  height: 595px;
  max-width: 86vw;
  border-radius: 28px;
  background: #0d172e;
  border: 1px solid rgba(186, 215, 247, 0.16);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: transform 0.48s cubic-bezier(0.2, 0.85, 0.3, 1), 
              opacity 0.42s ease, 
              filter 0.42s ease, 
              box-shadow 0.42s ease, 
              border-color 0.42s ease;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

.project-3d-card.is-center-card {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #0c162c !important;
  transform-style: flat !important;
  backface-visibility: visible !important;
}

.project-3d-card.is-center-card .card-3d-title {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.project-3d-card.is-center-card .card-3d-desc {
  color: #e2e8f0;
}

/* Kartu samping sengaja tanpa efek hover (dulu terang + border emas, kelihatan 'maju'); hanya kartu tengah yang menonjol */

.card-3d-glass-border {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 10;
}

/* Card Top Badges & Index */
.card-3d-top-actions {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-3d-badge {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.card-3d-badge.banking-cat {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-3d-badge.sharia-cat {
  background: #059669;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-3d-badge.risk-cat {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-3d-badge.finance-cat {
  background: #7c3aed;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-3d-badge.cert-cat {
  background: #d97706;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-3d-index-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  background: #081120;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Poster Graphic Area (Simulating Pinterest Full-Bleed High-Impact Visual) */
.card-3d-poster {
  position: relative;
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-3d-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.2;
  pointer-events: none;
}

.poster-alm {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.35) 0%, transparent 60%),
              linear-gradient(145deg, #071530 0%, #0e2042 50%, #221d08 100%);
}

.poster-sharia {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.35) 0%, transparent 60%),
              linear-gradient(145deg, #02261d 0%, #064736 50%, #15331e 100%);
}

.poster-basel {
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.35) 0%, transparent 60%),
              linear-gradient(145deg, #0a1324 0%, #132545 50%, #1e3a8a 100%);
}

.poster-credit {
  background: radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.35) 0%, transparent 60%),
              linear-gradient(145deg, #181136 0%, #25184f 50%, #372370 100%);
}

.poster-bod {
  background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.35) 0%, transparent 60%),
              linear-gradient(145deg, #241607 0%, #3d2812 50%, #523412 100%);
}

.poster-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.1) 0%, rgba(5, 10, 20, 0.75) 100%);
  pointer-events: none;
}

.poster-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.project-3d-card.is-center-card .poster-watermark {
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.poster-status-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: rgba(8, 16, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 100px;
}

.status-dot-gold {
  color: var(--gold-accent-light);
}

/* Card Content Area */
.card-3d-content {
  padding: 22px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-3d-title {
  font-family: var(--font-sans);
  font-size: 1.16rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.card-3d-meta {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-accent-light);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.card-3d-desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--color-moon-mist);
  line-height: 1.58;
  margin-bottom: 14px;
}

.card-3d-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-chip {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-frost-glow);
  background: rgba(186, 215, 247, 0.08);
  border: 1px solid rgba(186, 215, 247, 0.15);
  padding: 4px 9px;
  border-radius: 6px;
}

.card-3d-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #d4af37 0%, #b89327 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  color: #05060f;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.card-3d-cta:hover {
  background: linear-gradient(180deg, #f5cc4b 0%, #d4af37 100%);
  color: #05060f;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ----------------- Pinterest Bottom Floating Glass Capsule ----------------- */
.projects-bottom-capsule {
  margin-top: 50px;
  width: 540px;
  max-width: min(92vw, 540px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(10, 20, 38, 0.88);
  border: 1px solid rgba(186, 215, 247, 0.18);
  border-radius: 100px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  z-index: 30;
  box-sizing: border-box;
}

.capsule-arrow-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(186, 215, 247, 0.08);
  border: 1px solid rgba(186, 215, 247, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.capsule-arrow-btn:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #05060f;
  transform: scale(1.08);
}

.capsule-center-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  text-align: center;
}

.capsule-thumb-preview {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-accent);
  background: linear-gradient(135deg, #152c54, #b8860b);
  box-shadow: 0 0 10px rgba(180, 138, 26, 0.3);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.capsule-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-width: 0;
}

.capsule-current-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
  text-align: center;
}

.capsule-current-sub {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--color-fog-veil);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
  text-align: center;
}

/* Dots under Capsule */
.projects-capsule-dots {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.p3d-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.p3d-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--gold-accent-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
  .projects-3d-section {
    padding-bottom: 20px;
  }
  .projects-3d-stage {
    height: auto;
    min-height: 0;
  }
  .projects-3d-track {
    height: 570px;
  }
  .project-3d-card {
    width: 90vw;
    height: 550px;
  }
  .card-3d-poster {
    height: 195px;
  }
  .projects-bottom-capsule {
    width: 92vw;
    margin-top: 40px;
  }
  .capsule-current-sub {
    display: none;
  }
  .capsule-current-title {
    max-width: 200px;
  }
}

/* ----------------- SECTION 3: THE 4 PILLARS (WHY US) ----------------- */
#why-us {
  padding-top: 26px;
  padding-bottom: 32px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

.pillar-card {
  padding: 28px;
  background: rgba(12, 22, 42, 0.65);
  border: 1px solid rgba(186, 215, 247, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-glass-plate);
  transition: all 0.3s var(--ease-fluid);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass-plate-hover);
  background: rgba(16, 28, 54, 0.85);
  border-color: rgba(212, 175, 55, 0.4);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: rgba(186, 214, 247, 0.06);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.14);
  display: grid;
  place-items: center;
  color: var(--color-frost-glow);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-accent);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 18px rgba(212, 175, 55, 0.25);
  color: var(--gold-accent-light);
  transform: scale(1.06);
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.pillar-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--color-moon-mist);
  line-height: 1.6;
}

/* ----------------- SECTION 4: EDITORIAL PRACTITIONER PROFILES ----------------- */
#practitioners {
  padding-top: 32px;
  padding-bottom: 36px;
}

.editorial-team-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.team-editorial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.team-editorial-item:hover {
  padding-left: 28px;
  border-color: var(--gold-accent-light);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.team-editorial-name {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.25s ease;
}

.team-editorial-item:hover .team-editorial-name {
  color: var(--gold-accent-light);
}

.team-editorial-role {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--color-fog-veil);
  text-align: right;
  font-weight: 400;
}

/* Floating Editorial Duotone Card */
.editorial-hover-card {
  position: fixed;
  width: 280px;
  height: 350px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--gold-accent);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s var(--ease-fluid), transform 0.3s var(--ease-fluid);
  overflow: hidden;
}

.editorial-hover-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.2) 0%, rgba(6, 12, 24, 0.95) 100%);
}

.editorial-hover-content {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.editorial-hover-content h4 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.editorial-hover-content p {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-moon-mist);
}

/* ----------------- SECTION 5: B2B INQUIRY & CONTACT FORM ----------------- */
#contact {
  padding-top: 36px;
  padding-bottom: 48px;
}

.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .contact-section-grid { grid-template-columns: 1fr; }
}

.contact-quick-box {
  padding: 24px;
  background: rgba(12, 22, 42, 0.65);
  border: 1px solid rgba(186, 215, 247, 0.08);
  box-shadow: var(--shadow-glass-plate);
  border-radius: 16px;
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
}

.quick-box-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.quick-box-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--color-moon-mist);
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-office-meta {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--color-fog-veil);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-frost-glow);
}

/* AuthKit Form Inputs (Dark Mode Inset Border) */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(199, 211, 234, 0.06);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.12);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(199, 211, 234, 0.5);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: rgba(199, 211, 234, 0.09);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.35), 0 0 16px rgba(186, 215, 247, 0.14);
}

.form-select option {
  background: #060c18;
  color: #ffffff;
}

/* Executive Form Submit CTA */
.btn-gold {
  background: linear-gradient(180deg, #d4af37 0%, #b89327 100%);
  color: #05060f;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 8px 24px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background: linear-gradient(180deg, #f5cc4b 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px #ffffff, 0 12px 30px rgba(212, 175, 55, 0.5);
}

/* ----------------- FOOTER (Official Brand & Links) ----------------- */
.footer-section {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 16, 0.85);
  padding: 32px 24px 24px 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer-brand-name span {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-brand-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-right-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
  max-width: 580px;
}

@media (max-width: 860px) {
  .footer-right-block {
    align-items: flex-start;
    text-align: left;
    margin-top: 8px;
  }
}

.footer-tagline-statement {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-moon-mist);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.footer-social-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
}

.footer-instagram-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-instagram-link:hover {
  color: var(--gold-accent-light);
}

.footer-copy {
  color: var(--text-dim);
}

@keyframes kinetic-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   APPLE-DESIGN REFINEMENTS (2026-11-02)
   Keeps the navy look; fixes phone overflow, legibility, press feedback, carousel drag, reduced motion.
   ========================================================================== */

html, body { overflow-x: clip; }

/* Readable body sizes (min ~16px for running text, ~13px for meta) */
.section-subtitle { font-size: 1.08rem; }
.program-desc, .pillar-desc, .quick-box-desc { font-size: 1rem; line-height: 1.6; }
.module-bullet-item { font-size: 0.95rem; }
.card-3d-desc { font-size: 0.94rem; }
.card-3d-meta { font-size: 0.8rem; }
.spec-chip { font-size: 0.74rem; }
.team-editorial-role { font-size: 0.95rem; color: var(--color-moon-mist); }
.contact-office-meta { font-size: 0.95rem; color: var(--color-moon-mist); }
.form-input, .form-textarea, .form-select { font-size: 1rem; }
.footer-tagline-statement, .footer-social-meta { font-size: 0.92rem; }

/* Instant press feedback on every button (responds on press, not on release) */
.btn-navy-hero, .btn-whatsapp-instant, .btn-outline-navy, .btn-outline-gold,
.btn-apple-glass-cta, .btn-gold, .card-3d-cta, .capsule-arrow-btn {
  transition: transform 0.12s ease-out, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-navy-hero:active, .btn-whatsapp-instant:active, .btn-outline-navy:active, .btn-outline-gold:active,
.btn-apple-glass-cta:active, .btn-gold:active, .card-3d-cta:active { transform: scale(0.97); }
.capsule-arrow-btn:active { transform: scale(0.92); }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, .projects-3d-stage:focus-visible,
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible {
  outline: 2px solid var(--gold-accent-light);
  outline-offset: 3px;
}
.projects-3d-stage:focus-visible { border-radius: 28px; }

/* 3D carousel: JS drives every frame with a spring, so CSS must not tween transforms */
.projects-3d-stage.p3d-js .project-3d-card {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.projects-3d-stage.p3d-js { cursor: grab; }
.projects-3d-stage.is-dragging { cursor: grabbing; }
.projects-3d-stage.is-dragging .project-3d-card { pointer-events: none; }

/* Status message under the form can hold a button */
#inquiry-status-msg { display: grid; justify-items: start; }

/* Custom cursor only where there is a real mouse */
@media (hover: none), (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-follower, .editorial-hover-card { display: none; }
}

/* Phones: nothing wider than the screen */
@media (max-width: 600px) {
  .nav-island { width: calc(100% - 24px); padding: 6px 8px 6px 14px; top: 10px; }
  .nav-instagram-link span { display: none; }
  .nav-instagram-link { padding: 7px; }
  .logo-text { font-size: 1.05rem; }
  .spin-official-logo { width: 32px; height: 32px; }
  .btn-apple-glass-cta { padding: 8px 14px; }

  .hero-pill-badge { font-size: 0.68rem; letter-spacing: 0.06em; padding: 8px 14px; max-width: 100%; text-align: center; }
  .hero-massive-title { font-size: clamp(1.9rem, 9.6vw, 2.85rem); line-height: 1.1; }
  .hero-inner-container { padding: 0 16px; max-width: 100%; }
  .hero-subheadline { font-size: 1.05rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-group > a { justify-content: center; min-height: 48px; }

  .section-wrapper { padding-left: 16px; padding-right: 16px; }
  .section-tag::before, .section-tag::after { width: 24px; }
  .program-box { padding: 24px; }

  .team-editorial-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 8px; }
  .team-editorial-item:hover { padding-left: 8px; }
  .team-editorial-name { font-size: 1.25rem; }
  .team-editorial-role { text-align: left; }

  .contact-section-grid .glass-panel { padding: 22px !important; }
  #b2b-inquiry-form > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Reduced motion: no marquee, no ambient canvas, no hover lifts */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kinetic-marquee-inner { animation: none; }
  #liquid-canvas { display: none; }
  .glass-panel, .pillar-card, .btn-navy-hero, .btn-whatsapp-instant, .btn-outline-navy, .btn-gold { transition: none; }
  .pillar-card:hover, .btn-navy-hero:hover, .btn-whatsapp-instant:hover, .btn-outline-navy:hover, .btn-gold:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-island { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Phones: taller cards + shorter poster so the larger text never clips the CTA */
@media (max-width: 768px) {
  .projects-3d-track { height: 640px; }
  .project-3d-card { height: 620px; }
  .card-3d-poster { height: 160px; }
}

/* ==========================================================================
   REVISION 2026-11-02 (user feedback round 1)
   ========================================================================== */

/* Flyer cards: 4:5 flyer on top, short description, inquiry button */
.project-3d-card.flyer-card { height: auto; width: 360px; }
.card-flyer-img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-bottom: 1px solid rgba(255, 255, 255, 0.08); -webkit-user-drag: none; user-select: none; }
.flyer-card .card-3d-content { padding: 18px 20px 20px; gap: 14px; flex-grow: 0; }
.flyer-card .card-3d-desc { margin-bottom: 0; }
.projects-3d-track { height: 630px; }
@media (max-width: 768px) {
  .project-3d-card.flyer-card { width: min(82vw, 340px); height: auto; }
  .projects-3d-track { height: 600px; }
}

/* Capsule: no thumbnail dot, text centered */
.capsule-center-info { justify-content: center; }
.capsule-text-group { align-items: center; }

/* Pillar icons become a large, faint, blurred watermark behind the text */
.pillar-card { position: relative; overflow: hidden; }
.pillar-card .pillar-icon-box {
  position: absolute; right: -28px; bottom: -28px; width: 170px; height: 170px; margin: 0;
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: var(--color-frost-glow); opacity: 0.07; filter: blur(2px);
  pointer-events: none; transform: none !important; z-index: 0;
}
.pillar-card .pillar-icon-box svg { width: 100%; height: 100%; stroke-width: 1.2; }
.pillar-card:hover .pillar-icon-box { color: var(--gold-accent-light); opacity: 0.12; }
.pillar-card .pillar-title, .pillar-card .pillar-desc { position: relative; z-index: 1; }

/* REVISION 2026-11-02 round 2: steady text on hover, quieter pillar watermark */
.glass-panel {
  transform-style: flat;
  perspective: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-fluid);
}
.pillar-card { transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-fluid); }
.pillar-card .pillar-icon-box { opacity: 0.035; filter: none; width: 190px; height: 190px; right: -44px; bottom: -44px; }
.pillar-card .pillar-icon-box svg { stroke-width: 2.4; }
.pillar-card:hover .pillar-icon-box { opacity: 0.06; }

/* Tombol nav tidak patah baris */
.btn-apple-glass-cta { white-space: nowrap; }
