/* ==========================================================================
   A Message from Our Founder - Apple + Antigravity Luxury Floating Gallery
   Vertical Hero Image (70% Area) + Overlapping Glass Mini-Cards & Depth Layers
   ========================================================================== */

:root {
  --fms-bg-gradient: linear-gradient(180deg, #F8FAFC 0%, #F5F7FA 50%, #FFFFFF 100%);
  --fms-text-heading: #0F172A;
  --fms-text-accent: #2563EB;
  --fms-text-body: #475569;
  --fms-text-muted: #64748B;
  --fms-font-heading: 'Syne', 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --fms-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

.fms-section {
  position: relative;
  background: var(--fms-bg-gradient);
  color: var(--fms-text-heading);
  padding: 130px 0 140px;
  overflow: hidden;
  font-family: var(--fms-font-body);
}

/* Minimal Subtle Ambient Lighting & Mesh Glow */
.fms-bg-glow-1 {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.fms-bg-glow-2 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 161, 57, 0.045) 0%, transparent 75%);
  filter: blur(90px);
  pointer-events: none;
}

.fms-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.fms-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 68px;
  align-items: center;
}

/* Left Column: Executive Letter Content (UNTOUCHED) */
.fms-content-col {
  max-width: 590px;
}

.fms-heading {
  position: relative;
  font-family: var(--fms-font-heading);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fms-text-heading);
  margin: 0 0 28px;
  padding-bottom: 16px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fms-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #D4A139 100%);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.fms-paragraph {
  font-family: var(--fms-font-body);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: var(--fms-text-body);
  margin: 0 0 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.fms-closing {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s;
}

.fms-salutation {
  display: block;
  font-family: var(--fms-font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fms-text-accent);
  margin-bottom: 10px;
}

.fms-author {
  display: block;
  font-family: var(--fms-font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--fms-text-heading);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.fms-role {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fms-text-body);
  margin-bottom: 4px;
}

.fms-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--fms-text-muted);
  line-height: 1.55;
  max-width: 540px;
}

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

/* ==========================================================================
   RIGHT COLUMN: APPLE + ANTIGRAVITY LUXURY VERTICAL FLOATING GALLERY
   ========================================================================== */

.fms-collage-stage {
  position: relative;
  height: 620px;
  width: 100%;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.fms-collage-stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ambient Radial Mesh Glow Behind Visual Composition */
.fms-stage-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(212, 161, 57, 0.06) 45%, transparent 70%);
  filter: blur(75px);
  pointer-events: none;
}

/* Abstract Glass Layer Behind Hero Image */
.fms-glass-backlayer {
  position: absolute;
  top: 3%;
  left: 18%;
  width: 68%;
  height: 86%;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
  z-index: 1;
  transform: rotate(-3deg);
  animation: fmsRotateBack 10s ease-in-out infinite alternate;
}

/* Common Image Frame Styling (30px rounded corners, glassmorphism, soft shadow) */
.fms-visual-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  outline: 1px solid rgba(37, 99, 235, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 75px -15px rgba(15, 23, 42, 0.15), 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 0 35px 2px rgba(37, 99, 235, 0.06);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fms-card-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 2;
}

.fms-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Smooth 1.03x Hover Zoom & Soft Shadow Transition */
.fms-visual-card:hover {
  box-shadow: 0 40px 90px -15px rgba(15, 23, 42, 0.22), 0 0 50px rgba(37, 99, 235, 0.12);
}

.fms-visual-card:hover img {
  transform: scale(1.03);
}

/* 1. Large Vertical Hero Founder/Event Image (70% area & central focus) */
.fms-hero-card {
  top: 2%;
  left: 14%;
  width: 68%;
  height: 84%;
  z-index: 2;
  animation: fmsFloatHero 7s ease-in-out infinite alternate;
}

/* 2. Floating Mini Card Top-Left (Overlapping Edge) */
.fms-float-card-tl {
  top: -10px;
  left: -2%;
  width: 44%;
  height: 200px;
  z-index: 3;
  animation: fmsFloatTL 8s ease-in-out infinite alternate 1s;
}

/* 3. Floating Mini Card Bottom-Right (Overlapping Edge) */
.fms-float-card-br {
  bottom: 0;
  right: -2%;
  width: 46%;
  height: 210px;
  z-index: 4;
  animation: fmsFloatBR 6.5s ease-in-out infinite alternate 0.5s;
}

/* Floating Animations */
@keyframes fmsRotateBack {
  0% { transform: rotate(-3deg) translateY(0); }
  100% { transform: rotate(-1.5deg) translateY(-8px); }
}

@keyframes fmsFloatHero {
  0% { transform: translateY(0); }
  100% { transform: translateY(-9px); }
}

@keyframes fmsFloatTL {
  0% { transform: translateY(0); }
  100% { transform: translateY(-11px); }
}

@keyframes fmsFloatBR {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

/* Responsive Adaptations */
@media (max-width: 1199px) {
  .fms-split-grid {
    gap: 50px;
  }
  .fms-collage-stage {
    height: 540px;
  }
  .fms-hero-card {
    height: 82%;
  }
  .fms-float-card-tl {
    height: 175px;
  }
  .fms-float-card-br {
    height: 185px;
  }
}

@media (max-width: 991px) {
  .fms-section {
    padding: 100px 0 110px;
  }
  .fms-split-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .fms-content-col {
    max-width: 100%;
  }
  .fms-collage-stage {
    height: 500px;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .fms-section {
    padding: 80px 0 90px;
  }
  .fms-heading {
    margin-bottom: 20px;
  }
  .fms-collage-stage {
    height: 420px;
  }
  .fms-hero-card {
    left: 10%;
    width: 78%;
    height: 82%;
  }
  .fms-float-card-tl {
    left: -4%;
    width: 48%;
    height: 145px;
  }
  .fms-float-card-br {
    right: -4%;
    width: 50%;
    height: 155px;
  }
}
