/* ==========================================================================
   THE INVITATION PALACE - OUR STORY STYLES
   Matches the luxury aesthetic, typography, and palette of the website
   ========================================================================== */

@font-face {
  font-family: 'Absans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/absans.woff2') format('woff2'),
       url('../assets/fonts/absans.ttf') format('truetype'),
       url('https://static.wixstatic.com/ufonts/8c3f0e_59fb57afe89a464494e49a7d8036fb75/woff2/file.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Custom Font-Face: Tangier-Medium (helloazure.com exact quote font)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Tangier-Medium';
  src: url('../assets/fonts/Tangier-Medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nomark';
  src: url('../assets/fonts/nomark.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Reforma-1969';
  src: url('../assets/fonts/reforma-1969.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Reforma-2018';
  src: url('../assets/fonts/reforma-2018.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blackstone';
  src: url('../assets/fonts/blackstone.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BeaufortPro-Light';
  src: url('../assets/fonts/BeaufortPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Glassy Navbar matching Homepage & Collections
   Top state: Navlink text is Black over light background
   Scrolled state: Navbar takes #3B0301 and Navlink text becomes White
   -------------------------------------------------------------------------- */
.site-header {
  background: #FAF8F5 !important;
  background-color: #FAF8F5 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03) !important;
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

/* Nav links when at the top: Black */
.site-header .nav-link {
  color: #000000 !important;
  text-shadow: none !important;
  transition: color 0.3s ease, opacity 0.25s ease !important;
}

.site-header .nav-link:hover {
  color: #b58d3d !important;
}

.site-header .nav-link.active {
  color: #b58d3d !important;
}

/* Mobile hamburger bars when at the top: Black */
.mobile-menu-toggle span {
  background-color: #000000 !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease !important;
}

/* Scrolled State: Navbar takes #3B0301 background and Nav links turn White */
.site-header.is-scrolled {
  background: #3B0301 !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.site-header.is-scrolled .nav-link {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.site-header.is-scrolled .nav-link:hover {
  color: #D4AF37 !important;
}

.site-header.is-scrolled .nav-link.active {
  color: #D4AF37 !important;
}

/* Mobile hamburger bars when scrolled: White */
.site-header.is-scrolled .mobile-menu-toggle span {
  background-color: #FFFFFF !important;
}

/* Mobile Nav Drawer opens right below navbar handled seamlessly in style.css */
@media (max-width: 768px) {
  .mobile-nav-drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    top: 64px !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
  }
}

/* Backside scroll lock when mobile navigation is active */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* --------------------------------------------------------------------------
   Story Page Main Container
   -------------------------------------------------------------------------- */
.story-page-main {
  width: 100%;
  background-color: #ffffff;
  padding-top: 35px;
  padding-bottom: 60px;
  min-height: 80vh;
}

/* Story Hero Section */
.story-hero {
  text-align: center;
  padding: 45px 20px 28px 20px;
}

.story-hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: #555555;
  max-width: 720px;
  margin: 18px auto 0 auto;
  text-align: center;
  display: block;
}

.story-hero-title {
  font-family: 'Cinzel', 'Libre Caslon Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 auto;
  line-height: 1.25;
}

.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 140px;
  max-width: 140px;
  min-width: 140px;
  height: auto;
  background: none;
  border: none;
  margin: 18px auto 0 auto;
  padding: 0;
}

.story-divider::before,
.story-divider::after {
  content: '';
  flex: 1 1 0%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b58d3d);
}

.story-divider::after {
  background: linear-gradient(90deg, #b58d3d, transparent);
}

.story-divider-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #b58d3d;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Story Content Wrapper */
.story-content-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 60px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   AZURE QUOTE SECTION
   Faithfully replicated from helloazure.com/about-azure/
   Font: Tangier-Medium (italic script calligraphy style as shown on helloazure)
   Author: Open Sans uppercase tracked
   -------------------------------------------------------------------------- */
.azure-quote-section {
  width: 100%;
  padding: 60px 24px 50px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.azure-quote-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.azure-quote-text {
  margin: 0 0 28px;
  padding: 0;
  border: none;
}

.azure-quote-lines {
  margin: 0;
  padding: 0;
  font-family: 'Tangier-Medium', 'Pinyon Script', 'Baskervville', cursive, serif;
  font-style: italic;
  font-weight: 400;
  font-size:  clamp(22px, 2.5vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #3b3a36;
  text-align: center;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.azure-quote-lines .quote-line {
  display: block;
}




@media only screen and (max-width: 767px) {
  .azure-quote-section {
    padding: 40px 18px 35px;
  }

  .azure-quote-lines {
    font-size: clamp(21px, 6vw, 28px);
    line-height: 1.4;
  }
}

/* --------------------------------------------------------------------------
   LEPENN DESIGNS SHOWCASE BANNER SECTION
   Faithfully replicated from lepenndesigns.com/services
   Features 3 seamless adjacent luxury photos with a floating white card
   bearing the headline in exact 'Nomark' typeface.
   -------------------------------------------------------------------------- */
.lepenn-showcase-section {
  width: 100%;
  padding: 40px 0 80px;
  background-color: transparent;
  box-sizing: border-box;
  overflow: visible;
}

.lepenn-gallery-strip {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.75fr 1fr;
  gap: 8px;
  box-sizing: border-box;
}

.lepenn-gallery-item {
  position: relative;
  height: 480px;
  overflow: hidden;
  background-color: #f5f2ee;
}

.lepenn-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.lepenn-gallery-item:hover img {
  transform: scale(1.03);
}

/* Floating White Overlay Card */
.lepenn-banner-card {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 26px 44px;
  /* box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08); */
  z-index: 10;
  text-align: center;
  white-space: nowrap;
}

.lepenn-banner-title {
  margin: 0;
  padding: 0;
  font-family: 'Nomark', 'Cinzel', 'Libre Caslon Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 36px);
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: #011724;
  text-transform: uppercase;
}

.lepenn-banner-title span {
  display: block;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .lepenn-gallery-strip {
    padding: 0 14px;
    gap: 5px;
  }

  .lepenn-gallery-item {
    height: 340px;
  }

  .lepenn-banner-card {
    padding: 16px 28px;
    bottom: -22px;
  }

  .lepenn-banner-title {
    font-size: clamp(16px, 2.5vw, 24px);
  }
}

@media only screen and (max-width: 767px) {
  .lepenn-showcase-section {
    padding: 25px 0 50px;
  }

  /* Keep the exact same 3-column horizontal triptych UI on mobile */
  .lepenn-gallery-strip {
    display: grid;
    grid-template-columns: 1fr 1.75fr 1fr;
    padding: 0 10px;
    gap: 3px;
    position: relative;
  }

  .lepenn-gallery-item {
    height: 220px;
  }

  /* Overlapping Floating Banner Card centered exactly across the bottom on mobile */
  .lepenn-banner-card {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 88%;
    padding: 10px 18px;
    white-space: nowrap;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); */
  }

  .lepenn-banner-title {
    font-size: clamp(12px, 3.4vw, 16px);
    line-height: 1.25;
    letter-spacing: 0.04em;
  }
}

@media only screen and (max-width: 480px) {
  .lepenn-gallery-item {
    height: 180px;
  }

  .lepenn-banner-card {
    padding: 8px 14px;
    bottom: -14px;
  }

  .lepenn-banner-title {
    font-size: clamp(10.5px, 3.2vw, 13.5px);
    letter-spacing: 0.035em;
  }
}

/* --------------------------------------------------------------------------
   WHAT WE STAND FOR SECTION
   Faithfully replicated from bombaylettering.com/about
   Typography:
   - Header & Value Titles: Reforma 1969 Blanca (exact match)
   - Paragraph Body: Reforma 2018 Blanca (exact match, color #a6a6a6)
   - Delicate vertical line separators between columns
   -------------------------------------------------------------------------- */
.bombay-stand-for-section {
  width: 100%;
  padding: 80px 24px 70px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.bombay-stand-for-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.bombay-stand-for-title {
  font-family: 'Reforma-1969', 'Cinzel', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 38px);
  color: #9c9a96;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 60px;
  line-height: 1.3;
}

.bombay-stand-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

.bombay-value-col {
  padding: 0 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Delicate vertical divider lines between columns */
.bombay-value-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  width: 1px;
  background-color: #f0ede8;
}

.bombay-value-title {
  font-family: 'Reforma-1969', 'Cinzel', Georgia, serif;
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 19px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c9a96;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.3;
}

.bombay-value-desc {
  font-family: 'Absans', 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: #a6a6a6;
  text-align: center;
  margin: 0;
  letter-spacing: 0.015em;
}

/* Tablet responsiveness */
@media only screen and (max-width: 991px) {
  .bombay-stand-for-section {
    padding: 60px 20px 50px;
  }

  .bombay-stand-for-title {
    margin-bottom: 45px;
  }

  .bombay-stand-for-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .bombay-value-col {
    padding: 0 24px;
  }

  /* Clear 4-column divider logic for 2x2 grid */
  .bombay-value-col:not(:last-child)::after {
    display: none;
  }

  .bombay-value-col:nth-child(odd)::after {
    display: block;
    right: 0;
  }
}

/* Mobile responsiveness */
@media only screen and (max-width: 640px) {
  .bombay-stand-for-section {
    padding: 45px 16px 40px;
  }

  .bombay-stand-for-title {
    margin-bottom: 35px;
  }

  .bombay-stand-for-grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .bombay-value-col {
    padding: 0 10px;
  }

  .bombay-value-col::after {
    display: none !important;
  }

  .bombay-value-title {
    margin-bottom: 14px;
  }

  .bombay-value-desc {
    font-size: 13px;
    line-height: 1.65;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   LEPENN EVENT BRANDING & STATIONERY PROCESS SECTION
   1000% EXACT REPLICATION FROM LEPENNDESIGNS.COM/SERVICES
   (Showit triptych, continuous white shelf, Moroccan arabesque arch,
    deep midnight blue atmosphere with parallax window, and floating cards)
   ========================================================================== */

.lepenn-process-section {
  width: 100%;
  position: relative;
  background-color: #F6F3F1;
  overflow: visible;
  box-sizing: border-box;
}

/* --- UPPER SECTION (Cream #F6F3F1) --- */
.lepenn-process-upper {
  position: relative;
  width: 100%;
  padding: 64px 20px 0;
  box-sizing: border-box;
  z-index: 5;
}

.lepenn-process-header {
  text-align: center;
  max-width: 509px;
  margin: 0 auto 35px;
}

/* Header title: Exact match to LePenn .st-d-heading */
.lepenn-process-title {
  font-family: 'Cormorant Infant', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #011724;
  margin: 0;
  letter-spacing: 0em;
  text-align: center;
}

/* --- 3-COLUMN TRIPTYCH CONTAINER --- */
.lepenn-triptych-container {
  width: 100%;
  max-width: 1200px;
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: start;
  position: relative;
}

/* Continuous White Shelf Bar across the entire width behind before & after (top: 335px on LePenn) */
.lepenn-white-shelf {
  position: absolute;
  top: 335px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 331px;
  background-color: #FFFFFF;
  z-index: 1;
  pointer-events: none;
}

/* Mobile Kamaan Arch Background (Hidden on Desktop) */
.lepenn-mobile-kamaan-bg {
  display: none;
}

/* Stage Columns */
.lepenn-stage-col {
  text-align: center;
  box-sizing: border-box;
  padding: 10px 20px;
  position: relative;
  z-index: 2;
}

.lepenn-stage-col.stage-before,
.lepenn-stage-col.stage-after {
  padding-top: 388px;
}

/* Stage Headers: side-by-side script + 2-line tracked sans on Desktop */
.lepenn-stage-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Script element exactly angled at -3deg and animated with 2s duration matching LePenn */
.stage-script {
  font-family: 'Blackstone', cursive;
  font-size: 40px;
  line-height: 1.1;
  color: #957F4B;
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: center center;
  opacity: 0;
  transition: color 0.5s ease;
  cursor: default;
}

/* Keyframes for LePenn 2-second ease-in-out fadeIn animation */
@keyframes lpFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
  }
}

.lepenn-process-section.is-revealed .stage-script {
  animation: lpFadeIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.lepenn-process-section.is-revealed .stage-before .stage-script {
  animation-delay: 0.1s;
}

.lepenn-process-section.is-revealed .stage-during .stage-script {
  animation-delay: 0.3s;
}

.lepenn-process-section.is-revealed .stage-after .stage-script {
  animation-delay: 0.5s;
}

.stage-script:hover {
  color: #B09A63;
}

/* Subheading: EXACT LePenn .st-d-subheading */
.stage-sub {
  font-family: 'Martel Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #957F4B;
  text-align: left;
}

/* Stage Item Lists: EXACT LePenn .st-d-paragraph */
.stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stage-list li {
  font-family: 'Absans', 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #011724;
  margin-bottom: 0;
  text-align: center;
}

/* --- CENTER MOROCCAN ARCH CREST --- */
.lepenn-crest-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 10;
  margin-bottom: -221px; /* Projects 221px down into the dark section */
}

.lepenn-crest-shape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 785px;
  height: 785px;
  pointer-events: none;
  z-index: 1;
}

.lepenn-crest-shape svg {
  width: 100%;
  height: 100%;
  fill: #FFFFFF;
  display: block;
}

.lepenn-stage-col.stage-during {
  position: relative;
  z-index: 2;
  padding: 135px 25px 110px;
  max-width: 340px;
  margin: 0 auto;
}

/* --- LOWER SECTION: DEEP MIDNIGHT BLUE WITH PARALLAX (LePenn #contact-cta) --- */
.lepenn-process-lower {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-color: #011724;
  padding: 260px 20px 80px;
  box-sizing: border-box;
  text-align: center;
  z-index: 4;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}

/* PARALLAX FIXED BACKGROUND (100% exact match across desktop & mobile) */
.lepenn-lower-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../assets/story/ourstorybackendimage.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.20;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.lepenn-lower-content {
  position: relative;
  z-index: 5;
  max-width: 618px;
  margin: 0 auto;
}

/* Heading: EXACT LePenn .st-d-heading */
.lepenn-lower-heading {
  font-family: 'Cormorant Infant', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 20px;
  letter-spacing: 0em;
  text-align: center;
}

/* Subheading: EXACT LePenn .st-d-subheading */
.lepenn-lower-sub {
  font-family: 'Martel Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 auto 35px;
  max-width: 470px;
  text-align: center;
}

/* Vertical Hairline Pointer Line: width: 1px, height: 176px */
.lepenn-pointer-line {
  width: 1px;
  height: 176px;
  background-color: #FFFFFF;
  margin: 0 auto;
}

/* --- FLOATING WHITE ACTION CARDS BAR (LePenn #review-cta) --- */
.lepenn-process-cards-bar {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  height: 140px;
  z-index: 20;
  box-sizing: border-box;
}

.lepenn-action-cards-wrap {
  position: relative;
  top: -32px; /* Overlaps 32px up into the midnight blue section */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  box-sizing: border-box;
  padding: 0 20px;
}

.lepenn-action-card {
  width: 197px;
  height: 110px;
  box-sizing: border-box;
  background-color: #F6F3F1;
  border: 10px solid #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: background-color 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.lepenn-action-card:hover {
  background-color: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.action-card-text {
  font-family: 'Martel Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #957F4B;
  transition: color 0.5s ease;
}

.lepenn-action-card:hover .action-card-text {
  color: #011724;
}

/* ==========================================================================
   TABLET RESPONSIVE (768px - 991px)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .lepenn-triptych-container {
    grid-template-columns: 1fr 1.3fr 1fr;
    max-width: 760px;
  }

  .lepenn-crest-shape {
    width: 600px;
    height: 600px;
  }

  .lepenn-process-lower {
    min-height: 520px;
    padding: 220px 20px 70px;
  }

  .lepenn-action-cards-wrap {
    gap: 30px;
  }

  .lepenn-action-card {
    width: 180px;
    height: 100px;
  }
}

/* ==========================================================================
   MOBILE VIEW (max-width: 767px)
   'Before' & 'After' Side-by-Side Framed Inside the Desktop Moroccan Arch Shape
   ('During' removed; exact Moroccan arch silhouette encloses the two stages)
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .lepenn-process-upper {
    padding: 44px 12px 0;
    overflow: visible;
  }

  .lepenn-process-header {
    max-width: 320px;
    margin: 0 auto 24px;
  }

  .lepenn-process-title {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  /* Mobile Palace Kamaan Arch Background */
  .lepenn-mobile-kamaan-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 12px 30px rgba(1, 23, 36, 0.08));
  }

  .lepenn-mobile-kamaan-bg svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Container framing Before & After side-by-side inside the Kamaan Arch */
  .lepenn-triptych-container {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    max-width: 375px;
    min-height: 350px;
    margin: 0 auto -35px;
    position: relative;
    box-sizing: border-box;
    padding: 92px 10px 36px;
    justify-content: center;
    align-items: flex-start;
    background-color: transparent;
    border: none;
    box-shadow: none;
    z-index: 10;
  }

  /* Hide desktop shelf and desktop crest on mobile */
  .lepenn-white-shelf,
  .lepenn-crest-wrapper {
    display: none !important;
  }

  /* Completely remove/hide stage-during on mobile */
  .lepenn-stage-col.stage-during {
    display: none !important;
  }

  /* Left: BEFORE Column */
  .lepenn-stage-col.stage-before {
    position: relative !important;
    width: 50% !important;
    max-width: 50% !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    padding: 0 6px 0 4px !important;
    box-sizing: border-box;
    text-align: center;
    border-right: 1px solid rgba(149, 127, 75, 0.22);
    z-index: 5;
  }

  /* Right: AFTER Column */
  .lepenn-stage-col.stage-after {
    position: relative !important;
    width: 50% !important;
    max-width: 50% !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    padding: 0 4px 0 6px !important;
    box-sizing: border-box;
    text-align: center;
    z-index: 5;
  }

  /* Remove any dividers */
  .lepenn-stage-col.stage-before::after,
  .lepenn-stage-col.stage-during::after {
    display: none !important;
  }

  /* Stage Headers */
  .lepenn-stage-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
  }

  .stage-script {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 2px;
    opacity: 1 !important;
  }

  .stage-sub {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .sub-br {
    display: inline;
  }

  /* Stage List Items */
  .stage-list {
    margin-top: 10px;
    padding: 0;
  }

  .stage-list li {
    font-size: 12.5px;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: #011724;
    margin-bottom: 6px;
    text-align: center;
  }

  @media only screen and (max-width: 360px) {
    .lepenn-triptych-container {
      padding: 78px 8px 36px;
    }
    .stage-script {
      font-size: 24px;
    }
    .stage-sub {
      font-size: 9px;
      letter-spacing: 0.12em;
    }
    .stage-list li {
      font-size: 11.5px;
      line-height: 1.55;
    }
  }

  /* Lower Dark Section on Mobile */
  .lepenn-process-lower {
    min-height: 380px;
    padding: 95px 20px 55px;
    z-index: 4;
  }

  .lepenn-lower-bg {
    opacity: 0.12;
  }

  .lepenn-lower-content {
    max-width: 290px;
    margin: 0 auto;
  }

  .lepenn-lower-heading {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .lepenn-lower-sub {
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0.2em;
    max-width: 270px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Vertical Hairline Pointer on Mobile */
  .lepenn-pointer-line {
    height: 95px;
    background-color: rgba(255, 255, 255, 0.85);
  }

  /* Action Cards Bar on Mobile */
  .lepenn-process-cards-bar {
    height: auto;
    min-height: auto;
    background-color: #FFFFFF;
    padding: 36px 16px 46px;
  }

  .lepenn-action-cards-wrap {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 0;
  }

  .lepenn-action-card {
    width: 100%;
    max-width: 250px;
    min-height: 76px;
    box-sizing: border-box;
    background-color: #F6F3F1;
    border: 1px solid rgba(149, 127, 75, 0.22);
    border-radius: 2px;
    padding: 12px 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .lepenn-action-card:active,
  .lepenn-action-card:hover {
    background-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .action-card-text {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.2em;
    color: #957F4B;
  }

  .lepenn-action-card:active .action-card-text,
  .lepenn-action-card:hover .action-card-text {
    color: #011724;
  }
}

/* ==========================================================================
   LEPENN DESIGNS: "OUR APPROACH" SECTION (lepenndesigns.com/design-process)
   - Deep midnight navy background (#01253a / #011724)
   - Arch crest cutout silhouette at top edge
   - Left: Nomark serif gold header, gold accent rule, Cormorant text
   - Right: Full-bleed slider with fine white inner frame overlay
   - Fully responsive for desktop, tablet, and mobile
   ========================================================================== */
.lepenn-approach-section {
  position: relative;
  width: 100%;
  background-color: #01253a;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 5;
}

/* Moroccan Arch Silhouette Cutout at the Top of Navy Section */
.lepenn-approach-crest-cutout {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 90px;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.lepenn-approach-crest-cutout svg {
  width: 100%;
  height: 280px;
  transform: translateY(-190px); /* reveal the dome/arch curves pointing downward */
  display: block;
}

.lepenn-approach-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  min-height: 650px;
  box-sizing: border-box;
}

/* Narrative Left Column */
.lepenn-approach-text-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 140px 80px 100px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  z-index: 2;
}

.lepenn-approach-title {
  font-family: 'Nomark', 'BeaufortPro-Light', 'Cinzel', serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #b09a63;
  margin: 0 0 28px 0;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Vertical Gold Accent Hairline Rule */
.lepenn-approach-accent-line {
  width: 1px;
  height: 65px;
  background-color: #957f4b;
  margin: 0 0 32px 0;
}

.lepenn-approach-desc {
  font-family: 'Absans', 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  max-width: 440px;
}

.lepenn-approach-desc p {
  margin: 0 0 20px 0;
  text-align: justify;
}

.lepenn-approach-desc p:last-child {
  margin-bottom: 0;
}

.lepenn-approach-desc .approach-lead {
  font-size: 17px;
  color: #F6F3F1;
}

/* Sliding Showcase Right Column */
.lepenn-approach-gallery-col {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background-color: #011d2d;
}

.lepenn-approach-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 650px;
}

.approach-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.04);
}

.approach-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.approach-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Fine Inner White Border Frame (matching LePenn .sie-our-approach_1) */
.approach-frame-overlay {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 6;
  box-sizing: border-box;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR "OUR APPROACH"
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .lepenn-approach-text-col {
    padding: 110px 50px 80px 60px;
  }
  .lepenn-approach-title {
    font-size: 34px;
  }
  .lepenn-approach-desc {
    font-size: 15px;
  }
  .approach-frame-overlay {
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}

@media screen and (max-width: 768px) {
  .lepenn-approach-section {
    padding: 0;
  }

  .lepenn-approach-inner {
    flex-direction: column;
    min-height: auto;
  }

  .lepenn-approach-crest-cutout {
    width: 240px;
    height: 70px;
  }

  .lepenn-approach-crest-cutout svg {
    height: 220px;
    transform: translateY(-150px);
  }

  /* Narrative Stack */
  .lepenn-approach-text-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 90px 24px 50px 24px;
    text-align: left;
  }

  .lepenn-approach-title {
    font-size: 28px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .lepenn-approach-accent-line {
    height: 60px;
    margin-bottom: 24px;
  }

  .lepenn-approach-desc {
    max-width: 100%;
    font-size: 14.5px;
    line-height: 1.75;
  }

  .lepenn-approach-desc p {
    text-align: left;
  }

  /* Image Slider Stack Below Text */
  .lepenn-approach-gallery-col {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 380px;
    height: 380px;
  }

  .lepenn-approach-slider {
    min-height: 380px;
    height: 380px;
  }

  .approach-frame-overlay {
    top: 14px;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

/* ==========================================================================
   INSTAGRAM VIDEO REELS SHOWCASE (HELLO AZURE / FLO-FOOTER STYLE)
   - 2-row × 5-column (10-tile) luxury square grid
   - Center floating white pill badge @theinvitationpalace
   - Overlaid white play button icons (▶)
   - Smooth video playback, hover zoom, and lightbox preview
   ========================================================================== */
.azure-insta-section {
  position: relative;
  width: 100%;
  background-color: #FAF8F5;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Central Floating Brand Pill Button */
.azure-insta-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  pointer-events: auto;
  text-align: center;
}

.azure-insta-pill {
  display: inline-block;
  background-color: #FFFFFF;
  color: #80a5b5;
  font-family: 'BeaufortPro-Light', 'Cinzel', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.15rem 3.5rem;
  border-radius: 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  border: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.azure-insta-pill:hover,
.azure-insta-pill:focus-visible {
  color: #FAF8F5;
  background-color: #3B0301;
  transform: scale(1.03);
  box-shadow: 0 16px 45px rgba(1, 23, 36, 0.3);
  outline: none;
}

/* 10-Item Grid (5 columns × 2 rows on desktop) */
.azure-insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.azure-insta-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.75; /* Increased height for desktop cards */
  overflow: hidden;
  background-color: #111A22;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.azure-insta-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.azure-insta-img,
.azure-insta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.92);
}

.azure-insta-tile:hover .azure-insta-img,
.azure-insta-tile:hover .azure-insta-video {
  transform: scale(1.08);
  filter: brightness(1);
}

/* Dark subtle overlay & play button badge */
.azure-insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 23, 36, 0.12);
  pointer-events: none;
  transition: background-color 0.4s ease;
}

.azure-insta-tile:hover .azure-insta-overlay {
  background: rgba(1, 23, 36, 0.04);
}

.azure-insta-playbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #011724;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}

.azure-play-icon {
  width: 16px;
  height: 16px;
  margin-left: 2px; /* optical center */
  fill: #011724;
  transition: fill 0.3s ease;
}

.azure-insta-tile:hover .azure-insta-playbtn {
  background: #FFFFFF;
  color: #957F4B;
  transform: scale(1.15);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.azure-insta-tile:hover .azure-play-icon {
  fill: #957F4B;
}

/* Video playing state */
.azure-insta-tile.is-playing .azure-insta-playbtn {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.azure-insta-tile.is-playing:hover .azure-insta-playbtn {
  opacity: 0.8;
  transform: scale(1);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS: DESKTOP LANDSCAPE vs MOBILE PORTRAIT
   - Desktop/Tablet: Landscape layout (5 columns × 2 rows = 10 items)
   - Mobile: Portrait layout (4 columns × 5 rows = 20 items) matching reference!
   ========================================================================== */
@media screen and (min-width: 1025px) {
  .azure-insta-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .azure-insta-tile:nth-child(n+11) {
    display: none; /* Exactly 10 items (5x2 landscape grid) on desktop */
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .azure-insta-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .azure-insta-tile:nth-child(n+11) {
    display: none; /* 10 items on tablet landscape */
  }
  .azure-insta-pill {
    font-size: 1.25rem;
    padding: 0.9rem 2.8rem;
  }
}

@media screen and (max-width: 768px) {
  .azure-insta-section {
    padding: 0;
    margin: 0;
    background-color: #FAF8F5;
  }

  /* PORTRAIT MOBILE LAYOUT: 3 columns x 4 rows = 12 items */
  .azure-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .azure-insta-tile {
    display: block !important;
    aspect-ratio: 3 / 4.2; /* Increased height of the cards */
  }

  /* Show exactly 12 cards on mobile */
  .azure-insta-tile:nth-child(n+13) {
    display: none !important;
  }

  /* Central Floating Banner in Portrait Mobile */
  .azure-insta-header {
    width: auto;
    max-width: 86%;
  }

  .azure-insta-pill {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    padding: 0.75rem 1.45rem;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  }

  .azure-insta-playbtn {
    width: 38px;
    height: 38px;
  }

  .azure-play-icon {
    width: 12px;
    height: 12px;
  }
}

