/*
Theme Name: Prime Sunshine
Theme URI: https://primesunshine.in/
Description: Premium WordPress landing page theme for Prime Sunshine Private Limited. Redesigned with editorial sophistication inspired by high-fashion architecture, adhering strictly to official brand guidelines.
Author: Prime Sunshine Creative Studio
Version: 3.2.28
Text Domain: prime-sunshine
*/

:root {
  --amber: #F2A71B;
  --amber-hover: #d99212;
  --amber-tint: rgba(242, 167, 27, 0.12);
  --navy: #0F2A4A;
  --navy-deep: #08192d;
  --navy-light: #163b65;
  --navy-trans: rgba(15, 42, 74, 0.05);
  --ivory: #F4F7FB;
  --sky-tint: #DCE8F5;
  --sky-tint-subtle: #eef4fb;
  --white: #ffffff;
  --black: #000000;
  --text-primary: #0F2A4A;
  --text-muted: #536b85;
  --border-light: rgba(15, 42, 74, 0.12);
  --border-delicate: rgba(15, 42, 74, 0.06);
  --shadow-sm: 0 4px 20px rgba(15, 42, 74, 0.04);
  --shadow-md: 0 12px 36px rgba(15, 42, 74, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, 0.12);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-label: 'Allrounder Monument', 'Cinzel', 'DM Sans', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --section-py: clamp(42px, 6vw, 96px);
  --section-compact-py: clamp(28px, 4.5vw, 54px);
  --section-head-mb: clamp(24px, 4vw, 54px);
  --card-pad: clamp(18px, 2.5vw, 32px);
  --grid-gap: clamp(16px, 2.5vw, 26px);

  /* Type scale */
  --fs-h1: clamp(1.75rem, 4vw + 0.8rem, 3.6rem);
  --fs-h2: clamp(1.5rem, 2.5vw + 0.8rem, 2.8rem);
  --fs-h3: clamp(1.2rem, 1.2vw + 0.6rem, 1.5rem);
  --fs-h4: clamp(1.05rem, 0.5vw + 0.7rem, 1.2rem);
  --fs-body: clamp(0.95rem, 0.4vw + 0.75rem, 1.1rem);
  --fs-small: clamp(0.75rem, 0.2vw + 0.65rem, 0.85rem);
  --lh-h1: 1.15;
  --lh-h2: 1.2;
  --lh-h3: 1.3;
  --lh-h4: 1.35;
  --lh-body: 1.65;

  /* Spacing scale */
  --sp-section-py: clamp(36px, 5vw, 80px);
  --sp-section-head-mb: clamp(20px, 3vw, 40px);
  --sp-container-px: clamp(16px, 3vw, 32px);
  --sp-grid-gap: clamp(12px, 2vw, 24px);

  /* Blog Pinned Section */
  --blog-pin-h: clamp(560px, 100vh, 860px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

/* Lenis Smooth Scroll Engine Support */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1,
.hero-title,
.hero-content h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
}

h2,
.section-head h2,
.signature-header h2,
.blog-motion-title,
.about-story h2,
.contact-left h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

h3,
.portfolio-card h3,
.pillar-title,
.pillar-back-title,
.disciplines-grid h3,
.horizontal-panel-heading,
.form-panel h3,
.faq-question h3,
.expertise-card h3,
.framework-card h3,
.blog-empty-state h3,
.portfolio-expansion-banner h3,
.responsive-cards-grid-3 h3,
.operations-disciplines h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

h4,
.hero-badge-card h4,
.pillar-item h4,
.gov-left h4,
.career-role-card h4,
.contact-details h4,
.footer-col h4,
.about-story h4 {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

@media (max-width: 991px) {
  section {
    padding: var(--section-py) 0;
  }
}

.site-section {
  padding: var(--section-py) 0;
}

.site-section-compact {
  padding: var(--section-compact-py) 0;
}

/* Token-driven spacing for migrated sections */
#about,
#verticals,
#platform,
#operations,
#footprint,
#governance,
#faq,
#contact,
#careers {
  padding-block: var(--sp-section-py);
  --section-py: var(--sp-section-py);
  --section-compact-py: var(--sp-section-py);
}

#about .section-head,
#verticals .section-head,
#platform .section-head,
#operations .section-head,
#footprint .section-head,
#governance .section-head,
#faq .section-head,
#contact .section-head,
#careers .section-head {
  margin-bottom: var(--sp-section-head-mb);
}

.bg-sky {
  background-color: var(--sky-tint-subtle);
}

.bg-navy {
  background-color: var(--navy);
  color: var(--ivory);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--white);
}

.bg-navy p {
  color: #c4d4e5;
}

/* Eyebrow Labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

small,
.metric-label,
.panel-eyebrow,
.panel-badge,
.panel-read-meta,
.pillar-tag,
.portfolio-category-tag,
.portfolio-subtitle,
.brand-strip-title,
.footer-established,
.tag-title,
.brand-corp-tag,
.dropdown-header {
  font-size: var(--fs-small);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--amber);
}

.eyebrow-center {
  justify-content: center;
}

.eyebrow-center::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--amber);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--section-head-mb);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p,
.intro-text,
.about-story .lead,
.signature-header p,
.blog-motion-lead,
.hero-lead,
.archive-lead,
.horizontal-panel-lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.section-head p {
  margin-top: 18px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-amber {
  background-color: var(--amber);
  color: var(--navy-deep);
  border-color: var(--amber);
}

.btn-amber:hover {
  background-color: var(--amber-hover);
  border-color: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 167, 27, 0.3);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-navy:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 42, 74, 0.25);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  border-color: var(--amber);
  color: var(--amber);
  background-color: rgba(242, 167, 27, 0.08);
}

.btn svg {
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & NAVBAR (PIXEL-PERFECT REPLICA)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 42, 74, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 42, 74, 0.05);
}

/* Wide expansive container matching design reference */
.nav-container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.8vw, 64px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

/* Horizontal Brand Lockup with Sun Emblem */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.brand-lockup:hover {
  opacity: 0.92;
}

.brand-sun-icon {
  height: 38px;
  width: auto;
  aspect-ratio: 423 / 294;
  display: block;
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-corp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d49a37;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}

.corp-line {
  display: inline-block;
  width: 14px;
  height: 1px;
  background-color: #d49a37;
  opacity: 0.85;
}

/* Desktop Navigation Menu */
.site-navigation {
  display: flex;
  align-items: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.2vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav>li {
  position: relative;
  display: flex;
  align-items: center;
  height: 78px;
}

.desktop-nav>li.nav-secondary {
  display: none;
}

.desktop-nav .nav-link {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #0F2A4A;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.desktop-nav .nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #627d97;
  margin-top: 1px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.desktop-nav>li:hover>.nav-link {
  color: var(--navy-light);
}

.desktop-nav>li.has-dropdown:hover>.nav-link .nav-chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

/* Smooth Luxury Dropdown Menus */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s;
  z-index: 1050;
  padding-top: 8px;
  /* Bridge gap for smooth hover */
}

.desktop-nav>li.has-dropdown:hover>.nav-dropdown-menu,
.desktop-nav>li.has-dropdown:focus-within>.nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(15, 42, 74, 0.12), 0 2px 8px rgba(15, 42, 74, 0.04);
  border: 1px solid rgba(15, 42, 74, 0.08);
  padding: 16px 18px;
  min-width: 300px;
}

.dropdown-header {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8397aa;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-list li a {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}

.dropdown-list li a strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.18s ease;
}

.dropdown-list li a span {
  font-size: 0.75rem;
  color: #637d97;
  margin-top: 1px;
}

.dropdown-list li a:hover {
  background-color: rgba(242, 167, 27, 0.09);
  transform: translateX(3px);
}

.dropdown-list li a:hover strong {
  color: var(--amber);
}

.dropdown-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 42, 74, 0.06);
  text-align: right;
}

.dropdown-footer a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}

.dropdown-footer a:hover {
  color: var(--amber);
}

/* Header Right Zone: Corporate Tagline with Arrow */
.header-right-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-inquiry-btn {
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  white-space: nowrap;
}

.enterprise-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tag-title {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #657e96;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.tag-slash {
  opacity: 0.55;
  font-weight: 400;
  margin: 0 1px;
}

.tag-arrow-svg {
  display: inline-flex;
  align-items: center;
  color: #657e96;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.enterprise-tag-link:hover .tag-title {
  color: var(--navy);
}

.enterprise-tag-link:hover .tag-arrow-svg {
  transform: translateX(5px);
  color: var(--navy);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(15, 42, 74, 0.15);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--navy);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 42, 74, 0.1);
  padding: 24px 28px 32px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 18px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-top {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 42, 74, 0.08);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid rgba(15, 42, 74, 0.05);
  text-decoration: none;
}

.mobile-drawer-bottom {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 42, 74, 0.08);
}

.mobile-tagline-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #657e96;
  text-decoration: none;
}

@media (max-width: 1023px) {

  .desktop-nav,
  .enterprise-tag-link {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Compact desktop nav for small laptops / iPad Pro landscape (1024px-1180px) */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav-container {
    padding: 0 24px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav .nav-link {
    font-size: 13.5px;
  }

  .header-inquiry-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* Tablet drawer width & header CTA tuning (769px-1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .mobile-drawer {
    left: auto;
    right: 0;
    width: min(420px, 100vw);
    border-left: 1px solid rgba(15, 42, 74, 0.1);
  }
}

@media (min-width: 769px) and (max-width: 820px) {
  .header-inquiry-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-block: clamp(32px, 5vw, 70px) clamp(36px, 6vw, 90px);
  background: radial-gradient(circle at 85% 20%, rgba(220, 232, 245, 0.45), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, rgba(244, 247, 251, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

/* Hero 2-Line Responsive Typography */
.hero-heading-line {
  display: inline;
  white-space: normal;
}

/* Hero Animated "Precision." Golden Accent */
.hero-precision-word {
  display: inline-block;
  white-space: nowrap;
  color: var(--amber, #F2A71B);
  position: relative;
  vertical-align: baseline;
}

.hero-precision-word .precision-char {
  display: inline-block;
  color: inherit;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-precision-word .precision-char {
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-lead {
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.metric-item b {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.metric-item b.stat-counter-heading,
.metric-item b:has(.counter) {
  display: flex !important;
  align-items: flex-start !important;
  font-size: 2.8rem !important;
  line-height: 1 !important;
}

.metric-item b .counter {
  display: inline-block !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  line-height: 1 !important;
}

.metric-item b .stat-plus,
.metric-item b .counter-plus {
  display: inline-block !important;
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin-left: 3px !important;
  line-height: 1 !important;
  transform: translateY(3px) !important;
}

.metric-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 20px;
  align-items: end;
}

.hero-img-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4.2;
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-main:hover img {
  transform: scale(1.03);
}

.hero-img-secondary {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1/1.15;
  margin-bottom: 30px;
}

.hero-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-card {
  background-color: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 3px solid var(--amber);
  box-shadow: var(--shadow-md);
}

.hero-badge-card small {
  display: block;
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.hero-badge-card h4 {
  color: var(--white);
  font-weight: 600;
}

.hero-badge-card p {
  color: #c4d4e5;
  font-size: 0.84rem;
  margin-top: 4px;
  line-height: 1.5;
}


/* ==========================================================================
   HERO HEADING 2-LINE DESKTOP SPECIFICATION (>=1280px)
   Line 1: "Powering Retail Scale with" (nowrap block, fills 91-96% of col)
   Line 2: "Operational Precision." (nowrap block with animated "Precision.")
   Rebalanced grid: 1.48fr / 0.82fr (1.5fr / 0.8fr on >=1600px)
   Reduced gap to collage: 60-100px at all desktop viewports
   ========================================================================== */
@media (min-width: 1280px) {
  .hero-section .container {
    max-width: 1320px;
  }

  .hero-grid {
    grid-template-columns: 1.48fr 0.82fr;
    gap: 28px;
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(3.0rem, 2.85vw + 0.8rem, 3.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }

  .hero-heading-line {
    display: block;
    white-space: nowrap;
  }

  .hero-lead {
    max-width: 710px;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .hero-actions {
    margin-bottom: 48px;
    justify-content: flex-start;
  }

  .hero-gallery {
    gap: 16px;
  }

  .hero-badge-card {
    padding: 18px 16px;
  }

  .hero-badge-card h4 {
    font-size: 1.02rem;
  }

  .hero-badge-card p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

@media (min-width: 1440px) {
  .hero-section .container {
    max-width: 1420px;
  }

  .hero-grid {
    grid-template-columns: 1.48fr 0.82fr;
    gap: 28px;
  }
}

@media (min-width: 1600px) {
  .hero-section .container {
    max-width: 1480px;
  }

  .hero-grid {
    grid-template-columns: 1.5fr 0.8fr;
    gap: 32px;
  }
}

@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-grid-gap);
  }

  .hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--sp-grid-gap);
    row-gap: 0;
    align-items: start;
  }

  .hero-gallery>div:nth-child(2) {
    display: contents;
  }

  .hero-img-main,
  .hero-img-secondary {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0;
    max-height: none;
    transform: none;
  }

  .hero-img-main img,
  .hero-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none;
  }

  .hero-badge-card {
    grid-column: 1 / -1;
    width: 100%;
    position: static;
    margin-top: var(--sp-grid-gap);
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {

  .hero-img-main,
  .hero-img-secondary {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 580px) {
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .metric-item:not(:last-child)::after {
    display: none;
  }

  .metric-counter-group {
    font-size: 3.2rem;
  }

  .metric-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   PARTNER BRAND STRIP & PREMIUM AUTO-ANIMATED CENTER CAROUSEL
   ========================================================================== */
.brand-strip-section {
  background-color: var(--white);
  padding-block: clamp(18px, 2.5vw, 26px);
  border-top: 1px solid var(--border-delicate);
  border-bottom: 1px solid var(--border-delicate);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.brand-strip-title {
  text-align: center;
  font-family: var(--font-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.brand-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 10px;
  /* Soft fade mask on the edges so logos push smoothly into frame */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brand-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: brandButterGlide 30s linear infinite;
}

/* Pause on hover so visitor can easily view and interact with any brand */
.brand-carousel-viewport:hover .brand-carousel-track {
  animation-play-state: paused;
}

@keyframes brandButterGlide {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

.brand-carousel-item {
  flex: 0 0 auto;
  width: 195px;
  margin: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  opacity: 0.90;
  transform: scale(1) translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
  user-select: none;
}

.brand-logo-frame {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-logo-frame img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: contrast(1.04);
  transform: scale(var(--logo-scale, 1));
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* Optical balance scaling per brand logo (target area ratio <= 1.5) */
.brand-carousel-item[data-brand="Burgrill"] { --logo-scale: 0.88; }
.brand-carousel-item[data-brand="Firstcry"],
.brand-carousel-item[data-brand="FirstCry"] { --logo-scale: 1.12; }
.brand-carousel-item[data-brand="Helios"] { --logo-scale: 0.94; }
.brand-carousel-item[data-brand="Jockey"] { --logo-scale: 1.06; }
.brand-carousel-item[data-brand="Manyavar"] { --logo-scale: 1.08; }
.brand-carousel-item[data-brand="Raymond"] { --logo-scale: 1.12; }
.brand-carousel-item[data-brand="Siyaram's"] { --logo-scale: 0.96; }

.brand-carousel-item .active-indicator {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--amber);
  margin-top: 6px;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Butter-Smooth Interactive Push & Highlight State */
.brand-carousel-item.is-active,
.brand-carousel-item:hover {
  opacity: 1;
  transform: scale(1.10) translateY(-3px);
  filter: drop-shadow(0 6px 18px rgba(15, 42, 74, 0.12));
}

.brand-carousel-item.is-active .brand-logo-frame img,
.brand-carousel-item:hover .brand-logo-frame img {
  filter: contrast(1.08) brightness(1.02);
}

.brand-carousel-item.is-active .active-indicator,
.brand-carousel-item:hover .active-indicator {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .brand-strip-title {
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }

  .brand-carousel-track {
    animation-duration: 22s;
  }

  .brand-carousel-item {
    width: 145px;
    margin: 0 14px;
  }

  .brand-logo-frame {
    height: 38px;
  }

  .brand-logo-frame img {
    max-height: 32px;
    max-width: 110px;
    height: auto;
    width: auto;
  }

  .brand-carousel-item.is-active,
  .brand-carousel-item:hover {
    transform: scale(1.06) translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-carousel-track {
    animation: none;
    overflow-x: auto;
  }
}


/* ==========================================================================
   COMPANY INTRODUCTION (ABOUT US - LUXURY EDITORIAL ARCHITECTURE v3.2.11)
   ========================================================================== */
.about-section {
  position: relative;
  background-color: var(--white, #ffffff);
  overflow: hidden;
}

/* Subtle decorative gold curves (opacity <= 0.10) */
.about-bg-curves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.about-bg-curves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-section > .container {
  position: relative;
  z-index: 1;
}

/* 2-Column + Divider Grid (>=1024px) */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.25fr);
  column-gap: clamp(24px, 3vw, 44px);
  row-gap: clamp(48px, 4.5vw, 64px);
  align-items: start;
}

.about-header-col {
  position: relative;
}

.about-eyebrow-wrap {
  margin-bottom: 8px;
}

.about-header-col .eyebrow {
  margin-bottom: 8px;
  letter-spacing: 0.16em;
}

.about-header-col h2,
.about-story h2,
.about-heading {
  font-family: var(--font-heading, 'Cinzel', serif);
  color: var(--navy, #0F2A4A);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2, 1.2);
  margin: 0;
}

/* Mask reveal wrappers for heading */
.about-h2-mask {
  display: block;
  overflow: hidden;
}

.about-h2-line {
  display: inline-block;
}

.about-retail-accent {
  color: var(--amber, #F2A71B);
  font-style: normal;
  font-weight: 700;
  display: inline-block;
}

.about-heading-divider {
  width: 56px;
  height: 2px;
  background-color: var(--amber, #F2A71B);
  margin: 18px 0 20px;
  transform-origin: left;
  will-change: transform;
}

.about-header-col .lead,
.about-story .lead {
  color: var(--navy, #0F2A4A);
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
  font-size: clamp(1.08rem, 0.4vw + 0.98rem, 1.22rem);
  max-width: 44ch;
}

/* Center Column Vertical Divider & Diamond Badge (Desktop >=1024px) */
.about-col-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  min-height: 280px;
}

.about-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(242, 167, 27, 0.5) 15%, rgba(242, 167, 27, 0.5) 85%, transparent);
  transform-origin: top;
  will-change: transform;
}

.about-divider-badge {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(242, 167, 27, 0.5);
  box-shadow: 0 2px 10px rgba(15, 42, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber, #F2A71B);
  will-change: transform, opacity;
}

.about-content-col {
  position: relative;
}

/* Right Side: Our Story Eyebrow + Content */
.about-content-col h4,
.about-story-title {
  font-family: var(--font-label, 'DM Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber, #F2A71B);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.about-story-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(242, 167, 27, 0.45), transparent);
}

.about-content-col p,
.about-story-body {
  color: var(--text-muted, #5A6A80);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 68ch;
  font-size: 1rem;
}

.about-content-col .about-story-lead {
  font-size: clamp(1.1rem, 0.35vw + 1rem, 1.18rem) !important;
  font-weight: 500;
  color: var(--navy, #0F2A4A) !important;
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 16px;
  max-width: 68ch;
}

.about-content-col p+p,
.about-story p+p {
  margin-top: 0;
}

.about-content-col .about-lead {
  margin-bottom: 16px;
}

/* ==========================================================================
   Bottom Row: Unified Navy Band (Desktop >=1024px)
   ========================================================================== */
.about-mission-vision {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.about-mv-band {
  position: relative;
  background: linear-gradient(135deg, #0F2A4A 0%, #0a1f38 100%);
  border: 1px solid rgba(242, 167, 27, 0.28);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  overflow: hidden;
  will-change: transform, opacity;
}

/* Shimmer sweep effect on gold border (runs once) */
.about-mv-band::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(242, 167, 27, 0.35) 50%, transparent 100%);
  pointer-events: none;
  transform: translateX(-100%);
  opacity: 0;
  z-index: 3;
}

.about-mv-band.has-shimmer::after {
  animation: aboutShimmerSweep 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes aboutShimmerSweep {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.about-mv-separator {
  background: linear-gradient(to bottom, transparent, rgba(242, 167, 27, 0.35) 15%, rgba(242, 167, 27, 0.35) 85%, transparent);
  width: 1px;
  height: 100%;
}

.about-mv-item {
  padding: clamp(32px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-mv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.about-mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber, #F2A71B);
  flex-shrink: 0;
}

.about-icon-svg {
  display: block;
}

.about-icon-svg path,
.about-icon-svg circle {
  stroke-dasharray: 70;
  stroke-dashoffset: 0;
}

.about-in-view .about-icon-svg path,
.about-in-view .about-icon-svg circle {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.about-mv-label {
  display: block;
  font-family: var(--font-label, 'DM Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber, #F2A71B);
  margin: 0;
}

.about-mv-item p {
  color: #FFFFFF !important;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 !important;
  font-weight: 400;
}

/* ==========================================================================
   Animation Initial States (Applied ONLY when JS marks .about-anim-ready)
   Content remains 100% visible if JS fails or does not execute.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .about-anim-ready .about-h2-line {
    transform: translateY(100%);
    opacity: 0;
  }

  .about-anim-ready .about-heading-divider {
    transform: scaleX(0);
  }

  .about-anim-ready .about-header-col .lead {
    opacity: 0;
    transform: translateY(14px);
  }

  .about-anim-ready .about-divider-line {
    transform: scaleY(0);
  }

  .about-anim-ready .about-divider-badge {
    transform: scale(0.6);
    opacity: 0;
  }

  .about-anim-ready .about-story-title,
  .about-anim-ready .about-story-lead,
  .about-anim-ready .about-content-col .about-story-body {
    opacity: 0;
    transform: translateY(16px);
  }

  .about-anim-ready .about-mv-band {
    opacity: 0;
    transform: translateY(28px);
  }

  .about-anim-ready .about-icon-svg path,
  .about-anim-ready .about-icon-svg circle {
    stroke-dashoffset: 70;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-anim-ready .about-h2-line,
  .about-anim-ready .about-heading-divider,
  .about-anim-ready .about-header-col .lead,
  .about-anim-ready .about-divider-line,
  .about-anim-ready .about-divider-badge,
  .about-anim-ready .about-story-title,
  .about-anim-ready .about-story-lead,
  .about-anim-ready .about-content-col .about-story-body,
  .about-anim-ready .about-mv-band {
    transform: none !important;
    opacity: 1 !important;
  }

  .about-anim-ready .about-icon-svg path,
  .about-anim-ready .about-icon-svg circle {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .about-mv-band::after {
    display: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints: Tablet (768px to 1023.98px)
   ========================================================================== */
@media (max-width: 1023.98px) {
  .about-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
    column-gap: 0;
  }

  .about-col-divider {
    display: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints: Mobile (<=767.98px)
   ========================================================================== */
@media (max-width: 767.98px) {
  .about-grid {
    max-width: 100%;
    row-gap: 20px;
  }

  .about-heading-divider {
    margin: 14px 0 16px;
  }

  .about-mission-vision {
    display: none;
  }

  .about-mission-vision.is-expanded {
    display: block !important;
    margin-top: 20px;
  }

  .about-mv-band {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
  }

  .about-mv-band::after {
    display: none !important;
  }

  .about-mv-separator {
    display: none;
  }

  /* Mobile Mission Card: Deep Navy with Gold Eyebrow & Target Icon */
  .about-mission-item {
    background: var(--navy, #0F2A4A);
    border-radius: 12px;
    border: 1px solid rgba(242, 167, 27, 0.3);
    padding: 24px !important;
    box-shadow: 0 4px 14px rgba(15, 42, 74, 0.08);
  }

  .about-mission-item p {
    color: #FFFFFF !important;
  }

  /* Mobile Vision Card: Light Amber-Tint with Navy Text & Gold Eye Icon */
  .about-vision-item {
    background: rgba(242, 167, 27, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(242, 167, 27, 0.25);
    padding: 24px !important;
    box-shadow: 0 4px 14px rgba(15, 42, 74, 0.04);
  }

  .about-vision-item .about-mv-header .about-mv-icon {
    color: var(--amber, #F2A71B);
  }

  .about-vision-item .about-mv-header .about-mv-label {
    color: var(--amber, #F2A71B);
  }

  .about-vision-item p {
    color: var(--navy, #0F2A4A) !important;
  }
}

.pillars-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.pillar-item {
  padding-left: 20px;
  border-left: 2px solid var(--amber);
}

.pillar-item small {
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  font-weight: 600;
}

.pillar-item h4 {
  margin: 4px 0 6px;
}

.pillar-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   BUSINESS PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.portfolio-tab {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio-tab:hover {
  border-color: var(--navy);
}

.portfolio-tab.active {
  background-color: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(15, 42, 74, 0.15);
}

/* ==========================================================================
   BUSINESS PORTFOLIO SHOWCASE (3-CARD AUTO-ROTATE ON DESKTOP, SWIPE ON MOBILE)
   ========================================================================== */
.portfolio-scroll-section {
  position: relative;
  background-color: var(--sky);
}

.portfolio-sticky-wrapper {
  width: 100%;
  padding: 48px 0 56px;
}

/* 3-Card Stage */
.portfolio-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

/* Exactly 3-column single row grid: all cards share row 1!
   Row height is determined by the tallest card without layout shift. */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  width: 100%;
}

.portfolio-grid.has-2-cards {
  grid-template-columns: repeat(2, minmax(0, 326px));
  justify-content: center;
}

.portfolio-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px 20px;
  max-width: 326px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  grid-row: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform, opacity;
  transform-origin: center center;
}

/* Base Card Hidden State (incoming group enters from 10px down with scale 0.96) */
.portfolio-card.is-card-hidden {
  opacity: 0 !important;
  transform: translateY(10px) scale(0.96) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Outgoing Under State (outgoing group fades out + 8px up) */
.portfolio-card.is-card-under {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.98) !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.portfolio-card.is-category-hidden {
  display: none !important;
}

/* Active State: 0.55s soft scale-in */
.portfolio-card.is-card-active {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
  visibility: visible !important;
  box-shadow: 0 4px 18px rgba(15, 42, 74, 0.06);
  z-index: 10;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card.is-card-active:hover {
  transform: translateY(-4px) !important;
  border-color: var(--amber);
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.12);
}

/* Gold Line Draw Pseudo-Element (::before is free on .portfolio-card) */
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--amber, #F2A71B);
  border-radius: 12px 12px 0 0;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

@keyframes portfolioGoldLineDraw {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  55% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}


/* Featured Badge & Cards (e.g. Manyavar) */
.portfolio-card.is-featured {
  /* Default border matches standard cards; hover highlight preserved */
}

/* Group Pagination Dots */
.portfolio-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.portfolio-dot {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background-color: rgba(15, 42, 74, 0.18);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.portfolio-dot.active {
  width: 52px;
  background-color: var(--amber);
  box-shadow: 0 2px 10px rgba(242, 167, 27, 0.4);
}

.portfolio-dot:hover:not(.active) {
  background-color: rgba(15, 42, 74, 0.35);
}

.portfolio-dots.is-hidden {
  display: none !important;
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.portfolio-logo-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.portfolio-logo-wrap img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: contrast(1.04);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform;
}

.portfolio-card:hover .portfolio-logo-wrap img {
  transform: scale(1.06);
  filter: contrast(1.08);
}

.portfolio-category-tag {
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background-color: var(--sky-tint);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.portfolio-card h3 {
  margin-bottom: 4px;
}

.portfolio-card .portfolio-subtitle {
  font-weight: 600;
  color: var(--amber-hover);
  margin-bottom: 10px;
}

.portfolio-card p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.portfolio-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-delicate);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-card-foot span {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.portfolio-card-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--navy);
}

.portfolio-card-foot a:hover,
.portfolio-card-foot a:focus-visible {
  color: var(--amber);
}

.portfolio-card.hide {
  display: none;
}



/* ==========================================================================
   OUR EXPERTISE (END-TO-END RETAIL OPERATIONS)
   ========================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.expertise-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.expertise-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--sky-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
  background-color: var(--navy);
  color: var(--amber);
}

.expertise-card h3 {
  margin-bottom: 12px;
}

.expertise-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SIGNATURE VISUAL SECTION (WHERE BRANDS MEET EXECUTION)
   ========================================================================== */
.signature-section {
  position: relative;
  background-color: var(--navy-deep);
  color: var(--ivory);
  overflow: hidden;
  padding: 130px 0;
}

.signature-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.signature-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.signature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(15, 42, 74, 0.7), rgba(8, 25, 45, 0.96) 80%);
  z-index: 2;
}

.signature-content {
  position: relative;
  z-index: 3;
}

.signature-header {
  max-width: 800px;
  margin-bottom: 70px;
}

.signature-header h2 {
  color: var(--white);
}

.signature-header p {
  color: #c4d4e5;
  margin-top: 18px;
}

.execution-framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.framework-card {
  border-top: 2px solid var(--amber);
  padding-top: 24px;
}

.framework-card small {
  display: block;
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 8px;
}

.framework-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.framework-card p {
  color: #b0c5da;
  font-size: 0.92rem;
  line-height: 1.6;
}

.signature-governance-box {
  background-color: rgba(22, 59, 101, 0.6);
  border: 1px solid rgba(220, 232, 245, 0.15);
  border-radius: var(--radius-md);
  padding: 32px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.gov-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gov-left svg {
  color: var(--amber);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.gov-left h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.gov-left p {
  color: #c4d4e5;
  font-size: 0.92rem;
  max-width: 600px;
}

@media (max-width: 991px) {
  .execution-framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .execution-framework-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CAREERS SECTION
   ========================================================================== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.career-role-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.career-role-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}

.career-role-card small {
  font-family: var(--font-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-hover);
  font-weight: 600;
  margin-bottom: 4px;
}

.career-role-card h4 {
  margin-bottom: 6px;
}

.career-role-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.career-role-card button {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-role-card button:hover {
  background-color: var(--navy);
  color: var(--ivory);
}

.form-panel {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}

.form-panel h3 {
  margin-bottom: 8px;
}

.form-panel>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background-color: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F2A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  padding-right: 36px;
  cursor: pointer;
}

.form-field select::-ms-expand {
  display: none;
}

.form-field textarea {
  height: auto;
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.08);
}

/* Phone & Inquiry Type Row (Desktop: ~60/40 ratio; Mobile: single-column stack) */
#contact .form-row-phone-inquiry,
.form-row-phone-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  gap: 12px;
  grid-column: 1 / -1;
  flex-direction: row;
  min-width: 0;
}

#contact .form-row-phone-inquiry .form-field,
.form-row-phone-inquiry .form-field {
  min-width: 0;
}

@media (max-width: 767.98px) {
  #contact .form-row-phone-inquiry,
  .form-row-phone-inquiry {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Phone Input Group & Custom Country Picker */
#contact .phone-input-row,
.phone-input-row {
  display: flex;
  gap: 6px;
  align-items: stretch;
    grid-auto-rows: 1fr;
  position: relative;
  width: 100%;
  min-width: 0;
}

#contact .phone-input-row input[type="tel"],
.phone-input-row input[type="tel"] {
  flex: 1;
  min-width: 0;
}

#contact .country-picker,
.country-picker {
  position: relative;
  flex-shrink: 0;
}

#contact .country-picker-btn,
.country-picker-btn {
  width: 98px;
  min-width: 96px;
  max-width: 104px;
  flex-shrink: 0;
  height: 48px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background-color: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.90rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.country-picker-btn:focus,
.country-picker-btn:focus-visible {
  outline: none;
  border-color: var(--navy);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .country-picker-btn:hover {
    background-color: var(--white);
    border-color: var(--navy);
  }
}

.country-picker-label {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.country-picker-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.country-picker-btn[aria-expanded="true"] .country-picker-arrow {
  transform: rotate(180deg);
}

.country-picker-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(15, 42, 74, 0.15), 0 8px 10px -6px rgba(15, 42, 74, 0.1);
  overflow: hidden;
}

.country-picker-search-wrap {
  padding: 8px;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.country-picker-search {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-sizing: border-box;
}

.country-picker-search:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

.country-picker-list {
  max-height: 240px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.country-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #1e293b;
  user-select: none;
  line-height: 1.4;
  box-sizing: border-box;
}

.country-picker-item .cp-code {
  font-weight: 700;
  color: var(--navy);
  min-width: 36px;
  font-size: 0.85rem;
}

.country-picker-item .cp-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.country-picker-item .cp-dial {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.country-picker-item.selected {
  background-color: var(--amber-tint);
  color: var(--navy);
  font-weight: 600;
}

.country-picker-item.highlighted {
  background-color: #f1f5f9;
  outline: 1px solid var(--amber);
}

@media (hover: hover) and (pointer: fine) {
  .country-picker-item:hover {
    background-color: #f1f5f9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-picker-btn,
  .country-picker-arrow {
    transition: none;
  }
}

.field-error {
  font-size: 0.78rem;
  color: #c92a2a;
  display: none;
  margin-top: 2px;
}

.field-error:not(:empty):not([hidden]) {
  display: block;
}

.field-error[hidden],
[hidden].field-error {
  display: none;
}


.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
.form-field.has-error .country-picker-btn,
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c92a2a;
  background-color: #fff5f5;
}

.form-alert {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-alert.success {
  display: block;
  background-color: #e6fcf5;
  color: #0ca678;
  border: 1px solid #c3fae8;
}

.form-alert.error {
  display: block;
  background-color: #fff5f5;
  color: #e03131;
  border: 1px solid #ffe3e3;
}

/* Custom File Upload Control & Career Modal Field Styling */
.file-upload-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.file-upload-control:focus-within {
  border-color: var(--navy);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.08);
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-file:focus-visible ~ .btn-file-choose {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.btn-file-choose {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-file-choose:hover {
  background-color: #f1f5f9;
  border-color: var(--navy);
}

.file-upload-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.file-upload-name.has-file {
  color: var(--navy);
  font-weight: 500;
}

.file-remove-btn {
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: #475569;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.file-remove-btn:hover {
  background-color: #cbd5e1;
  color: #0f172a;
}

.file-remove-btn[hidden] {
  display: none;
}

.form-helper-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-field.has-error .file-upload-control,
.file-upload-control.has-error,
.file-upload-control[aria-invalid="true"] {
  border-color: #c92a2a;
  background-color: #fff5f5;
}

@media (max-width: 767.98px) {
  .ps-modal-window {
    padding: 24px 20px;
    max-height: 94vh;
  }
  .modal-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .modal-form-grid .form-field {
    grid-column: 1 / -1;
  }
  .ps-col-mobile-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .careers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .careers-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 30px 22px;
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}

#contact .reveal-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#contact .form-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#contact .form-panel form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contact .form-panel .form-grid {
  flex: 1;
}

.contact-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  margin: 36px 0;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  min-width: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--sky-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-info-item:hover .contact-icon,
  .contact-icon:hover,
  .contact-info-item:focus-within .contact-icon {
    background-color: var(--navy, #0F2A4A);
    color: #FFFFFF;
  }
}

.contact-info-item:has(:focus-visible) .contact-icon {
  background-color: var(--navy, #0F2A4A);
  color: #FFFFFF;
}

.contact-details {
  min-width: 0;
}

.contact-details h4 {
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--amber);
}

.compliance-box {
  background-color: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border-left: 3px solid var(--amber);
}

.compliance-box b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.compliance-box p {
  font-size: 0.88rem;
  color: #c4d4e5;
  line-height: 1.55;
}

@media (max-width: 1023px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-grid-gap);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-deep);
  color: #b0c5da;
  padding: var(--sp-section-py) 0 clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(220, 232, 245, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: var(--section-head-mb);
}

.footer-brand .footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #9ab3cd;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 360px;
}

.footer-established {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 1.5px;
  background-color: var(--amber);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #b0c5da;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(220, 232, 245, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #8da4be;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: var(--amber);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-grid-gap);
  }
}

/* ==========================================================================
   SCROLL PROGRESS BAR & MOTION SYSTEM
   ========================================================================== */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), #ffc86b);
  z-index: 1001;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(242, 167, 27, 0.45);
}

/* Scroll-Triggered Editorial Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Staggered Grid Reveal */
.stagger-group>* {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-group.is-revealed>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-group>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-group>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-group>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger-group>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger-group>*:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger-group>*:nth-child(6) {
  transition-delay: 0.40s;
}

.stagger-group>*:nth-child(7) {
  transition-delay: 0.47s;
}

.stagger-group>*:nth-child(8) {
  transition-delay: 0.54s;
}

.stagger-group>*:nth-child(9) {
  transition-delay: 0.61s;
}

/* Editorial Image Clipping Mask Reveals */
.hero-img-main,
.hero-img-secondary {
  position: relative;
  overflow: hidden;
}

.hero-img-main img,
.hero-img-secondary img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.10);
  transition: clip-path 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, transform;
}

.hero-img-main.is-revealed img,
.hero-img-secondary.is-revealed img,
.reveal-right.is-revealed .hero-img-main img,
.reveal-right.is-revealed .hero-img-secondary img {
  clip-path: inset(0% 0 0 0);
  transform: scale(1);
}

.hero-img-main:hover img,
.hero-img-secondary:hover img {
  transform: scale(1.04);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Element Animation retired - hero badge card remains static in base position */
.float-element {
  animation: none;
  transform: none;
}

/* Ambient Signature Glow & Slow Pan */
@keyframes ambientZoom {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.28;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.35;
  }
}

.signature-bg-image img {
  animation: ambientZoom 16s ease-in-out infinite;
}

/* Button Shimmer / Light-sweep Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(60deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
}

.btn:hover::after {
  left: 125%;
  opacity: 1;
}

/* Section Card Micro-interactions */
.expertise-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 18px 40px rgba(15, 42, 74, 0.1);
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.12) rotate(3deg);
}

.career-role-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.career-role-card:hover {
  transform: translateY(-5px);
  border-color: var(--amber);
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.09);
}

/* Active Nav Link Underline Motion */
.desktop-nav a.active::after {
  width: 100%;
}

/* ==========================================================================
   SECTION G: OUR BLOGS & RETAIL PERSPECTIVES (HIGH-CONVERSION EDITORIAL)
   
   Version 3.2.14 simplified landing-page layout:
   - 65% Featured Hero Carousel (auto-rotates top 3 stories)
   - 35% Compact Card Stack
   - Clean, balanced spacing with non-clickable informational cards
   ========================================================================== */

.editorial-blog-section {
  position: relative;
  background-color: var(--sand, #F9F6F0);
  color: var(--navy, #0F2A4A);
  padding: clamp(25px, 2.7vw, 37px) 0 clamp(29px, 3.2vw, 42px);
  z-index: 5;
  overflow: hidden;
}

.editorial-blog-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 40px);
  box-sizing: border-box;
}

/* ==========================================================================
   1. SECTION HEADER ROW
   ========================================================================== */
.editorial-header {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.editorial-header-left {
  max-width: 680px;
}

.editorial-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy, #0F2A4A);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.editorial-subtitle {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--text-muted, #5A6A80);
  margin: 0;
  line-height: 1.55;
  max-width: 580px;
}

/* ==========================================================================
   2. SHOWCASE GRID: 65% FEATURED CAROUSEL + 35% COMPACT STACK
   ========================================================================== */
.editorial-showcase-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: 0;
  align-items: stretch;
}

/* Featured Hero Slider (Left Column ~65%) */
.editorial-featured-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-deep, #0A1C33);
  min-height: 480px;
  box-shadow: 0 16px 40px rgba(15, 42, 74, 0.12);
  display: flex;
}

.featured-slides-track {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 100%;
}

.featured-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(68px, 7vw, 84px);
  box-sizing: border-box;
  z-index: 1;
  cursor: default;
  overflow: hidden;
}

.featured-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.featured-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.featured-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 42, 74, 0.12) 0%,
      rgba(15, 42, 74, 0.38) 22%,
      rgba(15, 42, 74, 0.72) 38%,
      rgba(15, 42, 74, 0.88) 54%,
      rgba(10, 24, 44, 0.96) 100%);
  pointer-events: none;
}

.featured-card-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.featured-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  cursor: default;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.featured-excerpt {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: default;
}

.featured-meta-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-meta-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  cursor: default;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.featured-meta-info .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Mobile Read Hint Default: Hidden on Desktop/Tablet >= 768px */
.featured-mobile-hint {
  display: none;
}

.meta-divider {
  color: var(--amber, #F2A71B);
  opacity: 0.8;
}

/* Pagination Dots Navigation (Inside Card, Bottom-Left on Desktop, Bottom-Center on Mobile) */
.featured-dots-nav {
  position: absolute;
  left: clamp(28px, 4vw, 44px);
  bottom: clamp(24px, 3vw, 32px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.featured-dot.is-active {
  width: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber, #F2A71B);
}

.featured-dot:focus-visible {
  outline: 2px solid var(--amber, #F2A71B);
  outline-offset: 2px;
}

/* Right Column: Stack of 3 Compact Cards (~35%) */
.editorial-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.side-compact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light, rgba(15, 42, 74, 0.08));
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 42, 74, 0.04);
  box-sizing: border-box;
  cursor: default;
}

.compact-card-thumb {
  width: 125px;
  height: 95px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sky, #DCE8F5);
}

.compact-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.compact-card-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--navy, #0F2A4A);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: default;
}

.compact-card-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.compact-card-meta {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.76rem;
  color: var(--text-muted, #5A6A80);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.compact-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Inline Vector Icons */
.meta-svg {
  width: 13px;
  height: 13px;
  vertical-align: -1px;
  stroke: currentColor;
  flex-shrink: 0;
  display: inline-block;
}


/* ==========================================================================
   EDITORIAL BLOG: READING PANEL & SEAM TOGGLE (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .editorial-showcase-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    position: relative;
  }

  .editorial-side-stack {
    display: none;
  }

  .editorial-featured-slider {
    flex: 0 0 calc(58% - 12px);
    min-width: 280px;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    border-radius: 16px;
    transition: flex-basis 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .editorial-featured-slider .featured-title {
    font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  }

  .featured-slides-track {
    min-height: 100%;
    height: 100%;
  }

  .editorial-reading-panel {
    flex: 1 1 calc(42% - 12px);
    min-width: 0;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    position: relative;
    border-radius: 16px;
    background: #F9F6F0;
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 16px 40px rgba(15, 42, 74, 0.06);
    box-sizing: border-box;
    transition: flex-basis 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Read Mode Expanded State */
  .editorial-blog-section.is-reading .editorial-featured-slider {
    flex: 0 0 calc(34% - 12px);
  }

  .editorial-blog-section.is-reading .editorial-reading-panel {
    flex: 1 1 calc(66% - 12px);
  }

  /* State 2 Left Image: No overlay scrim, no text, no heading/excerpt/meta */
  .editorial-blog-section.is-reading .featured-bg-scrim {
    display: none !important;
  }

  .editorial-blog-section.is-reading .featured-card-content {
    display: none !important;
  }

  /* State 2 Lightbox Trigger Button on Left Image */
  .featured-lightbox-trigger {
    display: none;
  }

  .editorial-blog-section.is-reading .featured-slide.is-active .featured-lightbox-trigger {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
    text-align: right;
  }

  .featured-lightbox-trigger:focus-visible {
    outline: 2px solid var(--amber, #F2A71B);
    outline-offset: -2px;
  }

  .lightbox-corner-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 24, 44, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(242, 167, 27, 0.45);
    color: #F2A71B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
    pointer-events: none;
  }

  .featured-lightbox-trigger:hover .lightbox-corner-icon {
    transform: scale(1.08);
    background: rgba(10, 24, 44, 0.92);
  }

  .editorial-blog-section.is-reading .featured-slide {
    padding: 0;
  }

  .editorial-blog-section.is-reading .featured-dots-nav {
    left: 24px;
    bottom: 24px;
    z-index: 5;
  }
}

@media (min-width: 1024px) {
  .editorial-featured-slider .featured-title {
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  }

  .editorial-featured-slider,
  .editorial-reading-panel {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }
}

/* Seam Arrow Toggle Button */
.reading-toggle-btn {
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
}

.reading-toggle-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0F2A4A;
  box-shadow: 0 0 0 2px #ffffff, 0 4px 14px rgba(15, 42, 74, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.reading-toggle-icon {
  width: 16px;
  height: 16px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: rotate(0deg);
}

.editorial-blog-section.is-reading .reading-toggle-icon {
  transform: rotate(180deg);
}

.reading-toggle-btn:focus-visible {
  outline: none;
}

.reading-toggle-btn:focus-visible .reading-toggle-circle {
  outline: 2px solid var(--amber, #F2A71B);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .reading-toggle-btn:hover .reading-toggle-circle {
    transform: scale(1.08);
    background: #14355d;
  }
}

/* 2px Amber Reading Progress Line */
.reading-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(15, 42, 74, 0.06);
  z-index: 10;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--amber, #F2A71B);
  transition: width 0.08s linear;
  will-change: width;
}

/* Scrollable Viewport & Faded Edges Mask */
.reading-panel-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 42, 74, 0.25) transparent;
}

.reading-panel-scroll:focus-visible {
  outline: 2px solid var(--amber, #F2A71B);
  outline-offset: -2px;
}

.reading-panel-scroll::-webkit-scrollbar {
  width: 6px;
}

.reading-panel-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.reading-panel-scroll::-webkit-scrollbar-thumb {
  background: rgba(15, 42, 74, 0.22);
  border-radius: 999px;
}

.reading-panel-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--amber, #F2A71B);
}

/* Panes & Typography */
.reading-panel-pane {
  display: none;
  opacity: 0;
}

.reading-panel-pane.is-active {
  display: block;
  animation: readingPaneFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes readingPaneFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reading-panel-badge {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: #9c6508;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* State 2 Panel Order: "FULL ARTICLE" label -> post heading (h3) -> date only -> content */
.reading-pane-heading,
.reading-pane-date {
  display: none;
}

.editorial-blog-section.is-reading .reading-pane-heading {
  display: block;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--navy, #0F2A4A);
  line-height: 1.3;
  margin: 0 0 8px;
}

.editorial-blog-section.is-reading .reading-pane-date {
  display: block;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ==========================================================================
   BLOG IMAGE LIGHTBOX (State 2 Image Click - Full Uncropped Preview)
   ========================================================================== */
.ps-blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease-in-out, visibility 0.22s ease-in-out;
}

.ps-blog-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.94);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.lightbox-dialog-inner {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 42, 74, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: var(--navy, #0F2A4A);
  border-color: var(--amber, #F2A71B);
  color: var(--amber, #F2A71B);
  transform: scale(1.06);
}

.lightbox-close-btn:focus-visible {
  outline: 2px solid var(--amber, #F2A71B);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ps-blog-lightbox {
    transition: none !important;
  }
  .lightbox-corner-icon,
  .lightbox-close-btn {
    transition: none !important;
  }
}

.reading-pane-body {
  --wp--preset--font-size--small: 0.85rem;
  --wp--preset--font-size--medium: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  --wp--preset--font-size--large: clamp(1.05rem, 0.98rem + 0.25vw, 1.2rem);
  --wp--preset--font-size--x-large: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem);
  --wp--preset--font-size--xx-large: clamp(1.22rem, 1.1rem + 0.35vw, 1.45rem);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  color: #1a2a3a;
  max-width: 68ch;
  overflow-wrap: break-word;
}

.reading-pane-body p {
  margin: 0 0 1.25em;
}

.reading-pane-body p.has-large-font-size {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy, #0F2A4A);
  margin-bottom: 1.3em;
}

.reading-pane-body h2,
.reading-pane-body h3,
.reading-pane-body h4,
.reading-pane-body .wp-block-heading {
  font-family: var(--font-heading, 'Cinzel', serif);
  color: var(--navy, #0F2A4A);
  font-weight: 700;
  margin: 1.6em 0 0.75em;
  line-height: 1.3;
}

.reading-pane-body h2,
.reading-pane-body .wp-block-heading {
  font-size: 1.22rem;
}

.reading-pane-body ul,
.reading-pane-body ol {
  margin: 0 0 1.25em;
  padding-left: 24px;
}

.reading-pane-body li {
  margin-bottom: 0.5em;
}

.reading-pane-body blockquote,
.reading-pane-body .wp-block-quote {
  border-left: 3px solid var(--amber, #F2A71B);
  padding: 10px 0 10px 18px;
  margin: 1.5em 0;
  background: transparent;
}

.reading-pane-body blockquote p,
.reading-pane-body .wp-block-quote p {
  font-style: italic;
  color: #2c3e55;
  margin-bottom: 6px;
}

.reading-pane-body blockquote cite,
.reading-pane-body .wp-block-quote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: #66768a;
  display: block;
  letter-spacing: 0.04em;
}

.reading-pane-body img,
.reading-pane-body figure,
.reading-pane-body table,
.reading-pane-body pre {
  max-width: 100%;
  box-sizing: border-box;
}

.reading-pane-body table,
.reading-pane-body pre {
  overflow-x: auto;
}

.reading-pane-body img {
  height: auto;
  border-radius: 8px;
  margin: 1.2em 0;
}

.reading-pane-body a {
  color: var(--navy, #0F2A4A);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reading-pane-body a:hover {
  color: #9c6508;
}

/* Prefers-Reduced-Motion Rules */
@media (prefers-reduced-motion: reduce) {
  .editorial-featured-slider,
  .editorial-reading-panel,
  .reading-toggle-circle,
  .reading-toggle-icon {
    transition: none;
  }
  .reading-panel-pane.is-active {
    animation: none;
    opacity: 1;
  }
}

/* ==========================================================================
   3. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
/* 1080px grid override retired for flex reading-panel layout */

@media (max-width: 767.98px) {
  .editorial-blog-section {
    padding: clamp(24px, 3.2vw, 26px) 0 clamp(28px, 3.8vw, 30px);
  }

  .editorial-header {
    margin-bottom: 20px;
  }

  .editorial-title {
    font-size: 2rem;
    margin-bottom: 4px;
  }

  .editorial-subtitle {
    font-size: 0.90rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .editorial-reading-panel {
    display: none;
  }

  /* Single Column Stack on Mobile */
  .editorial-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 0;
  }

  /* Featured Hero Card on Mobile */
  .editorial-featured-slider {
    min-height: 330px;
    border-radius: 16px;
  }

  .featured-slides-track {
    min-height: 330px;
  }

  .featured-slide {
    padding: 20px 18px 46px;
  }

  .featured-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .featured-excerpt {
    font-size: 0.84rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Pagination Dots at Bottom Center on Mobile */
  .featured-dots-nav {
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    gap: 7px;
  }

  .featured-dot {
    width: 7px;
    height: 7px;
  }

  .featured-dot.is-active {
    width: 22px;
    height: 7px;
  }

  /* Secondary Cards on Mobile: Hidden entirely */
  .editorial-side-stack {
    display: none !important;
  }

  /* Mobile Featured Card Trigger & Hint */
  .featured-slide {
    cursor: pointer;
  }
  .featured-slide:focus-visible {
    outline: 2px solid var(--amber, #F2A71B);
    outline-offset: -2px;
  }
  .featured-meta-cta-row {
    gap: 8px 12px;
    justify-content: space-between;
  }

  .featured-mobile-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--amber, #F2A71B);
    letter-spacing: 0.04em;
    margin-left: auto;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Reduced Motion Handling */
@media (prefers-reduced-motion: reduce) {
  .featured-slide,
  .featured-bg-img,
  .side-compact-card {
    transition: none !important;
  }
}

/* ==========================================================================
   WORDPRESS CUSTOM LOGO INTEGRATION & RESPONSIVENESS
   ========================================================================== */
.site-logo.site-logo-custom {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.25s ease;
}

.custom-logo-link:hover {
  opacity: 0.9;
}

.custom-logo-link img.custom-logo {
  max-height: 48px;
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.mobile-custom-logo .custom-logo-link img.custom-logo {
  max-height: 38px;
  max-width: 200px;
}

@media (max-width: 768px) {
  .custom-logo-link img.custom-logo {
    max-height: 38px;
    max-width: 190px;
  }
}

/* ==========================================================================
   BLOG ARCHIVE & CATEGORY ARCHIVE TEMPLATES
   ========================================================================== */
.blog-archive-page {
  background-color: var(--ivory);
  min-height: 80vh;
}

.blog-archive-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #163e6e 100%);
  color: #ffffff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(242, 167, 27, 0.15);
}

.blog-archive-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 167, 27, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #9bb7d4;
  margin-bottom: 22px;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: #9bb7d4;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.blog-archive-hero .eyebrow {
  color: var(--amber);
  margin-bottom: 12px;
}

.blog-archive-hero .eyebrow::before {
  background-color: var(--amber);
}

.archive-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.archive-lead {
  max-width: 780px;

  color: #c4d7ec;
  margin: 0;
}

.category-filter-wrap {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9bb7d4;
  font-weight: 600;
}

.category-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #e4edf7;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.category-pill:hover {
  background: rgba(242, 167, 27, 0.15);
  border-color: var(--amber);
  color: #ffffff;
  transform: translateY(-1px);
}

.category-pill.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(242, 167, 27, 0.3);
}

.pill-count {
  display: inline-block;
  padding: 1px 7px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
}

.category-pill.is-active .pill-count {
  background: rgba(15, 42, 74, 0.25);
  color: var(--navy-deep);
}

/* Blog Archive Cards Grid */
.blog-archive-content {
  padding: 70px 0 90px;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1080px) {
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 167, 27, 0.4);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--navy-trans);
}

.blog-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: rgba(15, 42, 74, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--amber);
  border: 1px solid rgba(242, 167, 27, 0.3);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.blog-card-body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.meta-dot {
  opacity: 0.5;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 12px;
  transition: color 0.25s ease;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--amber-hover);
}

.blog-card-excerpt {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-delicate);
  margin-top: auto;
}

.blog-card-desk {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-light);
  text-transform: uppercase;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-card-link svg {
  transition: transform 0.25s ease;
}

.blog-card-link:hover {
  color: var(--amber-hover);
}

.blog-card-link:hover svg {
  transform: translateX(3px);
}

/* Pagination Styling */
.ps-pagination-wrap {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.ps-pagination-wrap .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.ps-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ps-pagination-wrap .page-numbers:hover {
  background-color: var(--navy-trans);
  color: var(--navy);
}

.ps-pagination-wrap .page-numbers.current {
  background-color: var(--navy);
  color: #ffffff;
}

.ps-pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--text-muted);
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.blog-empty-state .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-trans);
  color: var(--navy);
  margin-bottom: 20px;
}

.blog-empty-state h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.blog-empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Call to Action Banner */
.blog-cta-banner {
  padding: 0 0 90px;
}

.blog-cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(242, 167, 27, 0.2);
  position: relative;
  overflow: hidden;
}

.blog-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: radial-gradient(circle at right center, rgba(242, 167, 27, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.blog-cta-content {
  max-width: 680px;
}

.blog-cta-content .eyebrow {
  color: var(--amber);
  margin-bottom: 10px;
}

.blog-cta-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 14px;
  line-height: 1.2;
}

.blog-cta-content p {
  color: #c4d7ec;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.blog-cta-actions {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .blog-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
  }
}

/* ==========================================================================
   SINGLE POST / ARTICLE TEMPLATE
   ========================================================================== */
.single-post-page {
  background-color: #ffffff;
}

.container-editorial {
  max-width: 1040px;
  margin: 0 auto;
}

.container-reading {
  max-width: 820px;
  margin: 0 auto;
}

.single-article-header {
  padding: 60px 0 40px;
  background-color: var(--ivory);
  border-bottom: 1px solid var(--border-light);
}

.single-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.back-to-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.25s ease;
}

.back-to-blog-link svg {
  transition: transform 0.25s ease;
}

.back-to-blog-link:hover {
  color: var(--amber-hover);
}

.back-to-blog-link:hover svg {
  transform: translateX(-4px);
}

.single-cat-badge a {
  display: inline-block;
  padding: 4px 14px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.single-cat-badge a:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.single-article-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.single-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-author-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
}

.meta-desk-icon {
  color: var(--amber);
  display: inline-flex;
  align-items: center;
}

.single-featured-container {
  margin-top: 36px;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.single-featured-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

.single-featured-caption {
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--ivory);
  border-top: 1px solid var(--border-light);
  font-style: italic;
}

/* Typography & Gutenberg Block Styling */
.single-article-body {
  padding-bottom: 80px;
}

.typography-editorial {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1a2e47;
}

.typography-editorial p {
  margin-bottom: 1.8em;
}

.typography-editorial p.has-large-font-size {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 500;
  border-left: 3px solid var(--amber);
  padding-left: 20px;
  margin: 1.8em 0;
}

.typography-editorial h2,
.typography-editorial h3,
.typography-editorial h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  line-height: 1.25;
}

.typography-editorial h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-delicate);
}

.typography-editorial h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.typography-editorial blockquote,
.typography-editorial .wp-block-quote {
  margin: 2.2em 0;
  padding: 24px 32px;
  background: var(--ivory);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy);
}

.typography-editorial blockquote p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.typography-editorial blockquote cite {
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.typography-editorial ul,
.typography-editorial ol {
  margin: 0 0 1.8em 1.4em;
  padding: 0;
}

.typography-editorial li {
  margin-bottom: 0.6em;
  padding-left: 6px;
}

.typography-editorial figure {
  margin: 2.4em 0;
}

.typography-editorial figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.typography-editorial a:not(.btn) {
  color: var(--navy-light);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.typography-editorial a:not(.btn):hover {
  color: var(--amber-hover);
  text-decoration-color: var(--amber-hover);
}

.typography-editorial hr,
.typography-editorial .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 3em 0;
}

/* Article Footer, Tags & Sharing */
.single-article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.single-tags-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tags-label,
.share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: var(--navy);
  color: var(--amber);
  border-color: var(--navy);
}

.single-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.share-linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #ffffff;
}

/* Prev / Next Navigation */
.single-post-navigation {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .post-nav-grid {
    grid-template-columns: 1fr;
  }
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.post-nav-card:hover {
  background: #ffffff;
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.post-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-hover);
  margin-bottom: 8px;
}

.post-nav-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.post-nav-next .post-nav-dir {
  justify-content: flex-end;
}

.post-nav-next {
  text-align: right;
}

/* Related Section on Single Post */
.single-related-section {
  padding: 80px 0 90px;
  background-color: var(--ivory);
  border-top: 1px solid var(--border-light);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-img-main img,
  .hero-img-secondary img {
    clip-path: none !important;
    transform: none !important;
  }

  .pillar-face,
  .pillar-card-inner,
  .pillar-card {
    transition: none !important;
  }

  .portfolio-scroll-section {
    height: auto !important;
  }

  .portfolio-sticky-wrapper {
    position: static !important;
    min-height: auto !important;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    min-height: auto !important;
  }

  .portfolio-card {
    grid-row: auto !important;
    grid-column: auto !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .portfolio-card::before {
    display: none;
    animation: none;
  }

  .portfolio-logo-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .portfolio-dots {
    display: none !important;
  }
}

/* ==========================================================================
   STANDARD PAGE & COMMENTS STYLES
   ========================================================================== */
.standard-page {
  background-color: #ffffff;
  min-height: 70vh;
}

.page-hero {
  padding: 60px 0 50px;
}

.page-hero .page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.page-body-content {
  padding: 40px 0 90px;
}

/* Comments Area */
.comments-area {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

.comments-title,
.comment-reply-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}

.comment-list .comment {
  padding: 24px;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.comment-list .children {
  list-style: none;
  padding-left: 28px;
  margin-top: 20px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.comment-author .fn {
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

.comment-author .avatar {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

.comment-content {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.reply a {
  color: var(--amber);
  text-decoration: none;
}

.reply a:hover {
  text-decoration: underline;
}

.no-comments {
  font-style: italic;
  color: var(--text-muted);
  margin: 20px 0;
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-tint);
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form .form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.comment-form .form-submit .submit:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}




/* Hero Single-Line Full-Width Metrics Strip */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  padding: 36px 0 10px;
  border-top: 1px solid var(--border-light, #e2e8f0);
  margin-top: 48px;
}

.metric-item-single {
  min-width: 0;
  text-align: left;
}

.metric-item-single .metric-num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 700;
  color: var(--navy, #0F2A4A);
  line-height: 1;
  white-space: nowrap;
}

.metric-item-single .metric-label {
  color: var(--text-muted, #536b85);
  margin-top: 8px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .hero-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Hero Single-Line Full-Width Metrics Strip (Desktop: strictly 1 row of 6 columns) */
.hero-metrics.hero-metrics-strip,
.hero-metrics-strip {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 36px 0 10px !important;
  border-top: 1px solid var(--border-light, #e2e8f0) !important;
  margin-top: 48px !important;
}

.metric-item-single {
  min-width: 0;
  text-align: left;
  position: relative;
  z-index: 1;
  padding: 6px 4px;
  border-radius: var(--radius-sm, 6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center bottom;
}

.metric-item-single .metric-num {
  display: flex !important;
  align-items: baseline !important;
  font-family: var(--font-heading, 'Cinzel', serif) !important;
  font-size: clamp(1.35rem, 1.7vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: var(--navy, #0F2A4A);
  line-height: 1 !important;
  white-space: nowrap !important;
  transition: color 0.25s ease;
}

.metric-item-single .metric-label {
  color: var(--text-muted, #536b85);
  margin-top: 6px;
  font-weight: 600;
  font-size: clamp(0.80rem, 0.90vw, 0.88rem);
  white-space: normal;
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .metric-item-single:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 42, 74, 0.08);
    z-index: 10;
  }

  .metric-item-single:hover .metric-num {
    color: #9c6500;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-item-single {
    transition: none;
  }

  .metric-item-single:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(15, 42, 74, 0.08);
  }
}

@media (max-width: 991px) {

  .hero-metrics.hero-metrics-strip,
  .hero-metrics-strip {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 14px !important;
  }
}

/* Careers Banner Layout */
#careers .section-head {
  max-width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

.careers-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding: 24px 32px !important;
  background: var(--navy, #0F2A4A) !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;

}


.careers-banner .careers-banner-left {
  max-width: none !important;
}

.careers-banner .eyebrow {
  margin-bottom: 3px !important;
}

.careers-banner h2 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: #ffffff !important;
}


.careers-banner .careers-banner-right .btn {
  padding: 14px 28px !important;
}


/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN & ADAPTIVE SPACING SYSTEM
   Seamless Fluid Layouts across Mobile (<768px), Tablet (768px-1024px), Desktop (>1024px)
   ========================================================================== */

/* Responsive Grids & Cards */
.responsive-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-grid-gap);
  margin-top: clamp(24px, 3.5vw, 40px);
}

.responsive-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-grid-gap);
  margin-top: clamp(20px, 3vw, 36px);
}

.faq-list {
  gap: var(--sp-grid-gap);
}

.responsive-card {
  padding: var(--card-pad) !important;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .responsive-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .responsive-cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .responsive-cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .responsive-cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
}

/* Responsive Territory Teaser Box */
.territory-teaser-box {
  margin-top: clamp(20px, 3vw, 32px);
  background: var(--navy, #0F2A4A);
  color: #ffffff;
  padding: 24px 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 768px) {
  .territory-teaser-box {
    padding: 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .territory-teaser-box a.btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .territory-teaser-box {
    padding: 18px 16px;
  }
}

/* Responsive Careers Banner */
@media (max-width: 768px) {
  .careers-banner {
    padding: var(--card-pad) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .careers-banner .careers-banner-right {
    width: 100% !important;
  }

  .careers-banner .careers-banner-right .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .careers-banner h2 {
    font-size: 1.25rem !important;
  }
}

/* Responsive Hero Layout & Metrics on Mobile */
@media (max-width: 768px) {

  /* Hero section adjustments */
  .hero-lead {
    margin-bottom: 24px !important;
  }

  .hero-actions {
    margin-bottom: 24px !important;
  }

  .hero-badge-card {
    padding: 12px 16px !important;
    border-radius: var(--radius-sm, 6px) !important;
  }

  .hero-badge-card small {
    letter-spacing: 0.12em !important;
    margin-bottom: 2px !important;
  }

  .hero-badge-card h4 {
    margin: 0 !important;
  }

  .hero-badge-card p {
    font-size: 0.78rem !important;
    margin-top: 3px !important;
    line-height: 1.35 !important;
  }

  /* Mobile Stats Row (below 768px): 2 columns x 3 rows */
  .hero-metrics.hero-metrics-strip,
  .hero-metrics-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 12px !important;
    padding-top: 18px !important;
    margin-top: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-metrics-strip .metric-item-single {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 4px 6px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-metrics-strip .metric-item-single .metric-num {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    font-size: clamp(1.25rem, 4vw, 1.55rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    margin-bottom: 3px !important;
  }

  .hero-metrics-strip .metric-item-single .metric-label {
    width: 100%;
    text-align: left;
    color: var(--text-muted, #536b85);
    font-weight: 600;
    font-size: 0.82rem;
    white-space: normal;
    margin-top: 0;
    line-height: 1.3;
    word-break: normal;
  }


  /* Responsive Header & Navigation */
  .nav-wrapper {
    height: 66px !important;
  }

  .header-inquiry-btn,
  .header-right-zone a.btn-amber {
    display: none;
  }

  .header-right-zone {
    gap: 0;
  }

  .mobile-drawer {
    top: 66px !important;
    padding: 20px 20px 28px !important;
  }

  .mobile-drawer-top {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Header adjustments: hide button, show only logo and burger toggle */
  .header-inquiry-btn,
  .header-right-zone a.btn-amber {
    display: none !important;
  }

  .header-right-zone {
    gap: 0 !important;
  }

  .brand-lockup {
    min-width: 0 !important;
    flex-shrink: 1 !important;
    gap: 8px !important;
  }

  .brand-name {
    font-size: 16px !important;
  }

  .brand-sun-icon {
    height: 30px !important;
    flex-shrink: 0 !important;
  }

  .brand-corp-tag {
    letter-spacing: 0.16em !important;
  }

  .corp-line {
    width: 10px !important;
  }
}

@media (max-width: 420px) {
  .metric-item-single .metric-num {
    font-size: 1.65rem !important;
  }
}

/* Responsive Intro Strip */
@media (max-width: 768px) {
  .intro-strip-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }

  .intro-strip-inner .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Responsive Contact Section & Forms */

@media (max-width: 640px) {
  .form-panel {
    padding: clamp(20px, 4vw, 32px) clamp(16px, 3.5vw, 24px) !important;
    border-radius: 12px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px !important;
    /* Prevents auto-zoom on mobile browsers */
    padding: 13px 14px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }

  .form-panel button[type="submit"] {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Four Pillars Grid (Desktop: 4 columns in 1 row; Tablet & Mobile: 2x2 grid) */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-grid-gap);
  margin-top: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
  /* All 4 cards stretch to equal height */
}

/* Base Card Wrapper */
button.pillar-card,
.pillar-card {
  perspective: 1000px;
  -webkit-perspective: 1000px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.pillar-card:focus-visible {
  outline: 2px solid var(--amber) !important;
  outline-offset: 4px !important;
  border-radius: var(--radius-md, 12px);
}

/* 3D Rotating Inner Container */
.pillar-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Both faces share the exact same cell (1 / 1) */
.pillar-face {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 30px 24px 28px;
  border-radius: var(--radius-md, 12px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 18px rgba(15, 42, 74, 0.06);
  transition: box-shadow 0.35s ease;
}

/* Front Face */
.pillar-face-front {
  background: var(--sky, #DCE8F5);
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  z-index: 2;
}

/* Back Face */
.pillar-face-back {
  background: var(--navy, #0F2A4A);
  color: #ffffff;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  z-index: 1;
}

/* Alternate Top Borders */
.pillar-card-amber .pillar-face-front {
  border-top: 4px solid var(--amber, #F2A71B);
}

.pillar-card-amber .pillar-face-back {
  border-top: 4px solid var(--amber, #F2A71B);
}

.pillar-card-navy .pillar-face-front {
  border-top: 4px solid var(--navy, #0F2A4A);
}

.pillar-card-navy .pillar-face-back {
  border-top: 4px solid var(--amber, #F2A71B);
}

/* Front Face Content */
.pillar-tag {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 8px;
}

.pillar-card-amber .pillar-tag {
  color: var(--amber-hover, #D98200);
}

.pillar-card-navy .pillar-tag {
  color: var(--navy, #0F2A4A);
}

.pillar-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  color: var(--navy, #0F2A4A);
  margin: 4px 0 14px;
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--text-color, #2d3748);
  margin: 0;
}

.pillar-mobile-action {
  display: none;
}

/* Back Face Content */
.pillar-face-back .pillar-tag {
  color: var(--amber, #F2A71B);
}

.pillar-back-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  color: #ffffff;
  margin: 4px 0 12px;
}

.pillar-framework-head {
  display: block;
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: var(--amber, #F2A71B);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.pillar-framework-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-framework-list li strong {
  color: #ffffff;
}

/* Desktop Hover / Focus Flip (@media (hover: hover) and (min-width: 1025px)) */
@media (hover: hover) and (min-width: 1025px) {

  .pillar-card:hover .pillar-card-inner,
  .pillar-card:focus-within .pillar-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
  }

  .pillar-card:hover .pillar-face-back,
  .pillar-card:focus-within .pillar-face-back {
    box-shadow: 0 16px 36px rgba(15, 42, 74, 0.24);
  }
}

/* ===== Operations section: desktop-only card hover animations ===== */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {

  #operations .disciplines-grid>div,
  #operations .responsive-cards-grid-3>div {
    position: relative;
    z-index: 1;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease;
  }

  /* Top 5 cards: wave lift */
  #operations .disciplines-grid>div:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    z-index: 2;
    will-change: transform;
  }

  /* Bottom 2 big cards: pop-up focus */
  #operations .responsive-cards-grid-3>div:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    z-index: 3;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {

  #operations .disciplines-grid>div,
  #operations .responsive-cards-grid-3>div {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== FAQ section: desktop-only hover shift ===== */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #faq .faq-item {
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  }

  #faq .faq-item:hover {
    transform: translateX(12px);
    box-shadow: 0 10px 28px rgba(15, 42, 74, 0.12) !important;
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq-item {
    transform: none !important;
    transition: none !important;
  }
}


/* Footprint 4-Card Responsive Grid Layout (v3.2.28) */
@media (min-width: 768px) {
  #footprint .responsive-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  #footprint .responsive-cards-grid-3 > div {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #footprint .responsive-cards-grid-3 > div > p {
    flex: 1;
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  #footprint .responsive-cards-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== Footprint section: desktop-only card hover (amber sweep, lift, badge pop) ===== */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #footprint .responsive-cards-grid-3>div {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  }

  #footprint .responsive-cards-grid-3>div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--amber, #F2A71B);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  #footprint .responsive-cards-grid-3>div:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 42, 74, 0.14) !important;
    z-index: 2;
  }

  #footprint .responsive-cards-grid-3>div:hover::before {
    transform: scaleX(1);
  }

  #footprint .responsive-cards-grid-3>div>div:first-child>span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  #footprint .responsive-cards-grid-3>div:hover>div:first-child>span {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {

  #footprint .responsive-cards-grid-3>div,
  #footprint .responsive-cards-grid-3>div>div:first-child>span {
    transform: none !important;
    transition: none !important;
  }

  #footprint .responsive-cards-grid-3>div::before {
    display: none !important;
  }
}

/* ===== Governance blue cards: desktop-only cursor-tracking tilt ===== */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #governance .responsive-cards-grid-3>div {
    position: relative;
    z-index: 1;
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  }

  #governance .responsive-cards-grid-3>div.is-tilting {
    transition: transform 0.12s ease-out, box-shadow 0.4s ease;
    box-shadow: 0 18px 40px rgba(15, 42, 74, 0.16);
    z-index: 2;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  #governance .responsive-cards-grid-3>div {
    transform: none !important;
    transition: none !important;
  }
}

/* About Mission/Vision cards styled in Section C */

/* ===== Navbar: desktop nav links hover & active motion ===== */
.site-header .desktop-nav .nav-link {
  display: inline-flex;
  align-items: center;
  transform-origin: center;
  background-image: linear-gradient(var(--amber, #F2A71B), var(--amber, #F2A71B));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  transition: color 0.25s ease, transform 0.25s ease, background-size 0.3s ease;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .site-header .desktop-nav .nav-link:hover,
  .site-header .desktop-nav>li:hover>.nav-link {
    color: var(--navy-light);
    transform: scale(1.06);
  }

  .site-header .desktop-nav .nav-link.active:hover,
  .site-header .desktop-nav>li:hover>.nav-link.active {
    color: var(--amber, #F2A71B);
  }
}

@media (min-width: 1024px) {
  .site-header .desktop-nav .nav-link:focus-visible {
    color: var(--navy-light);
    transform: scale(1.06);
    outline: 2px solid var(--amber, #F2A71B);
    outline-offset: 4px;
  }

  .site-header .desktop-nav .nav-link.active:focus-visible {
    color: var(--amber, #F2A71B);
  }
}

.site-header .desktop-nav .nav-link.active,
.site-header .desktop-nav .nav-link:active {
  color: var(--amber, #F2A71B);
  background-size: 100% 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header .desktop-nav .nav-link {
    transform: none !important;
    transition: color 0.25s ease, background-size 0.3s ease !important;
  }

  .site-header .desktop-nav .nav-link:hover,
  .site-header .desktop-nav>li:hover>.nav-link,
  .site-header .desktop-nav .nav-link:focus-visible {
    transform: none !important;
  }
}

/* Tablet (769px to 1024px) Layout & Tap-to-flip */
@media (min-width: 769px) and (max-width: 1024px) {
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .pillar-card.is-flipped .pillar-card-inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
  }

  .pillar-card.is-flipped .pillar-face-back {
    box-shadow: 0 16px 36px rgba(15, 42, 74, 0.24);
  }
}

/* Mobile 2x2 Tiles (<=768px) */
@media (max-width: 768px) {
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: 18px !important;
  }

  button.pillar-card,
  .pillar-card {
    perspective: none !important;
    -webkit-perspective: none !important;
    min-height: 110px !important;
    border-radius: var(--radius-md, 12px) !important;
  }

  .pillar-card-inner {
    transform: none !important;
    -webkit-transform: none !important;
    display: block !important;
    height: 100% !important;
  }

  .pillar-face-back {
    display: none !important;
  }

  .pillar-face-front {
    transform: none !important;
    -webkit-transform: none !important;
    padding: 14px 12px !important;
    border-radius: var(--radius-md, 12px) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 2px 10px rgba(15, 42, 74, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .pillar-card:active .pillar-face-front {
    transform: scale(0.98);
  }

  .pillar-face-front .pillar-desc {
    display: none !important;
  }

  .pillar-face-front .pillar-tag {
    margin-bottom: 4px !important;
  }

  .pillar-face-front .pillar-title {
    margin: 0 !important;
  }

  .pillar-mobile-action {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--amber-hover, #D98200);
    gap: 4px;
  }
}

/* Shared Pillar Modal Dialog (Mobile & Tablet) */
.pillar-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pillar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 74, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pillar-modal-dialog {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md, 14px);
  padding: 26px 20px 22px;
  box-sizing: border-box;
  box-shadow: 0 20px 48px rgba(15, 42, 74, 0.3);
  border-top: 4px solid var(--amber, #F2A71B);
  transform: translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.pillar-modal.is-active .pillar-modal-dialog {
  transform: translateY(0);
}

.pillar-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 42, 74, 0.06);
  border: none;
  border-radius: 50%;
  color: var(--navy, #0F2A4A);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pillar-modal-close:hover {
  background: rgba(15, 42, 74, 0.12);
  transform: scale(1.05);
}

.pillar-modal-close:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.pillar-modal-badge {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 6px;
}

.pillar-modal-badge.is-amber {
  color: var(--amber-hover, #D98200);
}

.pillar-modal-badge.is-navy {
  color: var(--navy, #0F2A4A);
}

.pillar-modal-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.25rem;
  color: var(--navy, #0F2A4A);
  line-height: 1.35;
  margin: 0 0 14px;
  padding-right: 36px;
  /* clearance for close button */
}

.pillar-modal-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-color, #2d3748);
  margin: 0 0 16px;
}

.pillar-modal-body {
  border-top: 1px solid rgba(15, 42, 74, 0.12);
  padding-top: 14px;
}

.pillar-modal-body b,
.pillar-modal-body .pillar-framework-head {
  display: block;
  font-size: 0.85rem;
  color: var(--navy, #0F2A4A);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-modal-body ul,
.pillar-modal-body ol {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.pillar-modal-body ul {
  list-style: none;
  padding-left: 0;
}

/* Prevent body scrolling when modal is open */
body.pillar-modal-open {
  overflow: hidden !important;
}

/* Prefers Reduced Motion: Crossfade instead of 3D rotation */
@media (prefers-reduced-motion: reduce) {
  .pillar-card-inner {
    transform: none !important;
    -webkit-transform: none !important;
    transition: none !important;
  }

  .pillar-face {
    transition: opacity 0.35s ease !important;
  }

  .pillar-face-front {
    transform: none !important;
    opacity: 1;
  }

  .pillar-face-back {
    transform: none !important;
    opacity: 0;
    pointer-events: none;
  }

  .pillar-card:hover .pillar-face-front,
  .pillar-card:focus-within .pillar-face-front,
  .pillar-card.is-flipped .pillar-face-front {
    opacity: 0;
    pointer-events: none;
  }

  .pillar-card:hover .pillar-face-back,
  .pillar-card:focus-within .pillar-face-back,
  .pillar-card.is-flipped .pillar-face-back {
    opacity: 1;
    pointer-events: auto;
  }

  .pillar-modal,
  .pillar-modal-dialog {
    transition: none !important;
    transform: none !important;
  }
}


/* Mobile Overflow Prevention (<=768px, <=480px, <=360px) */
@media (max-width: 768px) {

  .reveal-right,
  .reveal-left {
    transform: translateY(20px);
  }

  .reveal-right.is-revealed,
  .reveal-left.is-revealed,
  .is-revealed {
    transform: none !important;
  }

  #verticals .portfolio-stage>div:last-child {
    padding: 20px 16px !important;
  }

  #verticals .portfolio-stage>div:last-child .btn {
    white-space: normal !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .portfolio-card {
    max-width: 100% !important;
  }

  .responsive-cards-grid-3>div {
    padding: 20px 16px !important;
  }

  .responsive-cards-grid-3>div>div:first-child {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}

@media (max-width: 360px) {
  .pillars-grid-4>div {
    padding: 14px 10px !important;
  }

  .pillars-grid-4 h3 {
    font-size: 0.90rem !important;
    word-break: break-word !important;
  }
}


/* ==========================================================================
   PHASE 2 MOBILE OPTIMIZATIONS (<=768px & <=680px)
   ========================================================================== */

/* 1. Base Styles for FAQ & Footer to ensure 100% Desktop Parity (>768px / >680px) */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: default;
}

.faq-question h3 {
  margin: 0 !important;
}

.faq-icon {
  display: none;
}

.faq-answer {
  display: block;
}

.footer-col-header {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: default;
  color: inherit;
  font: inherit;
}

.footer-toggle-icon {
  display: none;
}

.footer-col-content {
  display: block;
}

/* 2. "Read More" for Long Paragraphs (>40 words) on Mobile (<=768px) */
@media (max-width: 768px) {
  .read-more-clamped {
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 6px !important;
  }

  .read-more-clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  }

  .intro-strip-section .read-more-clamped::after {
    background: linear-gradient(to bottom, transparent, var(--navy, #0F2A4A));
  }

  #about .read-more-clamped::after {
    background: linear-gradient(to bottom, transparent, var(--ivory, #F4F7FB));
  }

  #platform .read-more-clamped::after {
    background: linear-gradient(to bottom, transparent, var(--sky, #DCE8F5));
  }

  .read-more-clamped.is-expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }

  .read-more-clamped.is-expanded::after {
    display: none !important;
  }

  .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    margin: 4px 0 10px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--amber, #F2A71B);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .read-more-btn:hover,
  .read-more-btn:focus-visible {
    color: var(--amber-hover, #d9910f);
    text-decoration: underline;
  }

  .intro-strip-section .read-more-btn {
    color: var(--amber, #F2A71B);
  }
}

/* 3. Mobile FAQ Accordion (<=767.98px) */
@media (max-width: 767.98px) {
  .faq-item {
    padding: 18px 20px !important;
    transition: padding 0.25s ease;
  }

  .faq-question {
    cursor: pointer;
    margin-bottom: 0 !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 10px;
    color: var(--navy, #0F2A4A);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  }

  .faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    color: var(--amber, #F2A71B);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }

  .faq-item.is-open .faq-answer {
    max-height: 260px;
    opacity: 1;
  }

  .faq-answer p {
    padding-top: 10px;
    font-size: 0.90rem !important;
  }
}

/* 4. Mobile Footer Accordion & Single-Column Structure (<=767.98px) */
@media (max-width: 767.98px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-grid-gap);
    margin-bottom: 24px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-col {
    width: 100%;
    align-self: start;
    min-height: 0;
    border-bottom: 1px solid rgba(220, 232, 245, 0.1);
    padding-bottom: 0;
  }

  .footer-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 14px 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-col h4::after {
    display: none;
  }

  .footer-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    color: var(--amber, #F2A71B);
    width: 24px;
    height: 24px;
  }

  .footer-col-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, padding 0.3s ease;
  }

  .footer-col.is-open .footer-col-content {
    max-height: 420px;
    opacity: 1;
    padding: 8px 0 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding-top: 24px;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-col-content {
    transition: none;
  }
}


/* ==========================================================================
   PHASE 3 MOBILE OPTIMIZATIONS (<=768px & <=640px)
   ========================================================================== */

/* 1. Tighten FAQ & About Spacing (<=767.98px for FAQ Accordion, <=768px for About) */
@media (max-width: 767.98px) {
  .faq-item {
    padding: 14px 18px !important;
    border-radius: 8px !important;
  }

  .faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
  }

  .faq-item.is-open .faq-answer {
    max-height: 220px !important;
    opacity: 1 !important;
    padding-top: 8px !important;
  }

  .faq-answer p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .about-story .lead {
    margin-top: 8px !important;
  }

  .about-story p+p {
    margin-top: 10px !important;
  }


  #about div[style*="grid-template-columns"] {
    margin: 16px 0 !important;
    gap: 10px !important;
  }

  #about div[style*="background: var(--sky"] {
    padding: 14px 16px !important;
  }
}

/* Tablet Verticals Auto-Rotate Wrapper (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .portfolio-stage {
    overflow-x: clip;
    padding: 8px 6px 20px;
    margin-top: -8px;
    margin-bottom: -20px;
  }
}

/* 2. Retail Verticals Horizontal Scroll-Snap Row (<=767.98px) */
@media (max-width: 767.98px) {
  #verticals .container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #verticals .portfolio-stage,
  .portfolio-stage {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #verticals .portfolio-sticky-wrapper {
    padding: 0 !important;
  }

  #verticals .portfolio-tabs {
    margin-bottom: 20px !important;
    gap: 8px !important;
  }

  #verticals .portfolio-tab {
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
  }

  .portfolio-3card-spread,
  #portfolioGrid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 8px 16px 20px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
  }

  .portfolio-3card-spread::-webkit-scrollbar,
  #portfolioGrid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .portfolio-3card-spread .portfolio-card,
  #portfolioGrid .portfolio-card {
    flex: 0 0 85% !important;
    width: 85% !important;
    max-width: 85% !important;
    min-width: 85% !important;
    scroll-snap-align: start !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }


  .portfolio-expansion-banner {
    margin-top: 24px !important;
    padding: 18px 20px !important;
  }
}

/* 3. Operations, Footprint, Governance Horizontal Scroll-Snap Row (<=640px) */
@media (max-width: 640px) {

  #operations .responsive-cards-grid-3,
  #footprint .responsive-cards-grid-3,
  #governance .responsive-cards-grid-3,
  .mobile-cards-snap-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 8px 16px 20px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
  }

  #operations .responsive-cards-grid-3::-webkit-scrollbar,
  #footprint .responsive-cards-grid-3::-webkit-scrollbar,
  #governance .responsive-cards-grid-3::-webkit-scrollbar,
  .mobile-cards-snap-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  #operations .responsive-cards-grid-3>div,
  #footprint .responsive-cards-grid-3>div,
  #governance .responsive-cards-grid-3>div,
  .mobile-cards-snap-row>div {
    flex: 0 0 85% !important;
    width: 85% !important;
    max-width: 85% !important;
    min-width: 85% !important;
    scroll-snap-align: start !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    padding: 20px 18px !important;
  }

  /* Compact card typography & clamping */
  #operations .responsive-cards-grid-3 h3,
  #footprint .responsive-cards-grid-3 h3,
  #governance .responsive-cards-grid-3 h3 {
    margin-bottom: 10px !important;
  }

  #footprint .responsive-cards-grid-3 p,
  #governance .responsive-cards-grid-3 p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
  }

  #operations .responsive-cards-grid-3 ul {
    gap: 8px !important;
  }

  #operations .responsive-cards-grid-3 li {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }
}

/* 4. Compact Hero (<=640px) */
@media (max-width: 640px) {

  .hero-metrics.hero-metrics-strip,
  .hero-metrics-strip {
    gap: 12px 6px !important;
    margin-top: 18px !important;
    padding-top: 12px !important;
  }

  .metric-item-single .metric-num {
    font-size: clamp(1.15rem, 3.8vw, 1.45rem) !important;
    margin-bottom: 2px !important;
  }
}

/* 5. Contact Section Spacing & Compliance Box (<=768px) */
@media (max-width: 768px) {
  .contact-left p {
    font-size: 0.92rem !important;
    margin-top: 10px !important;
  }

  .inquiry-desks {
    margin: 16px 0 !important;
    padding: 14px 16px !important;
  }

  .inquiry-desks b {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  .inquiry-desks ul {
    gap: 6px !important;
    font-size: 0.84rem !important;
  }

  .contact-info-list {
    grid-template-columns: 1fr !important;
    margin: 16px 0 !important;
    gap: 12px !important;
  }

  .contact-info-item {
    gap: 12px !important;
  }

  .contact-details h4 {
    margin-bottom: 2px !important;
  }

  .contact-details p,
  .contact-details a {
    font-size: 0.84rem !important;
  }

  .compliance-box {
    margin-top: 16px !important;
    padding: 14px 16px !important;
  }

  .compliance-box b {
    font-size: 0.88rem !important;
  }

  .compliance-box p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin: 4px 0 0 !important;
  }

  .compliance-box .read-more-clamped {
    -webkit-line-clamp: 2 !important;
  }

  .compliance-box .read-more-clamped::after {
    background: linear-gradient(to bottom, transparent, var(--sky, #DCE8F5)) !important;
  }

  .form-panel {
    padding: 20px 18px !important;
  }

  .form-panel h3 {
    margin-bottom: 6px !important;
  }

  .form-panel>p {
    font-size: 0.86rem !important;
    margin-bottom: 16px !important;
  }

  .form-grid {
    gap: 10px !important;
  }

  .form-field label {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 10px 12px !important;
    font-size: 0.88rem !important;
  }

  .form-field textarea {
    min-height: 72px !important;
  }
}

/* ==========================================================================
   PHASE 4: FINAL POLISH, TABLET ARCHITECTURE & PERFORMANCE
   ========================================================================== */

/* 1. Swipe Row Physics & Indicators (Desktop: dots hidden; carousel only <=640px) */
.swipe-row-dots {
  display: none !important;
}

@media (max-width: 640px) {

  .portfolio-3card-spread,
  .responsive-cards-grid-3,
  .disciplines-grid {
    touch-action: pan-x pan-y pinch-zoom !important;
    overscroll-behavior-x: contain !important;
  }

  .swipe-row-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 12px auto 6px;
    padding: 4px 0;
    width: 100%;
  }

  .swipe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(15, 42, 74, 0.22);
    transition: all 0.25s ease;
    display: inline-block;
  }

  .swipe-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--amber, #F2A71B);
  }

  #operations .swipe-dot {
    background: rgba(255, 255, 255, 0.25);
  }

  #operations .swipe-dot.active {
    background: var(--amber, #F2A71B);
  }
}

/* 2. Color Contrast: Accessible Amber on Light Surfaces (WCAG AA 4.62:1) */
:root {
  --amber-accessible: #9E5E00;
}

.eyebrow {
  color: var(--amber-accessible, #9E5E00);
}

.read-more-btn {
  color: var(--amber-accessible, #9E5E00);
}

.bg-navy .eyebrow,
#operations .eyebrow,
.careers-banner .eyebrow,
.territory-teaser-box .eyebrow,
.site-footer .eyebrow {
  color: var(--amber, #F2A71B) !important;
}

/* 3. Tablet (769px - 1024px) Layout Architecture */
@media (min-width: 769px) and (max-width: 1024px) {
  .responsive-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-grid-gap, 20px);
  }

  .responsive-cards-grid-3>div:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .careers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* Governance 3-Card 2+1 Layout (641px - 1023px) */
@media (min-width: 641px) and (max-width: 1023px) {
  #governance .responsive-cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-grid-gap);
    align-items: stretch;
  }

  #governance .responsive-cards-grid-3>div {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  #governance .responsive-cards-grid-3>div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  #governance .responsive-cards-grid-3>div:last-child:nth-child(odd) p {
    max-width: 60ch;
  }
}

/* 4. Mobile Polish & Section Height Optimization (<=768px) */
@media (max-width: 768px) {

  /* Performance: plain solid background instead of backdrop-filter during scroll */
  .site-header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 42, 74, 0.08) !important;
  }

  /* Tap targets >= 44px */
  .btn,
  .btn-amber,
  .btn-navy,
  .read-more-btn,
  .portfolio-tab,
  .mobile-menu-toggle,
  #mobileMenuToggle,
  .drawer-nav-link,
  .footer-col-header,
  .footer-col-content ul li a {
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-toggle,
  #mobileMenuToggle {
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .portfolio-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer-col-content ul li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }

  /* #hero mobile reduction (target <=950px) */
  .hero-content .eyebrow {
    letter-spacing: 0.08em !important;
    margin-bottom: 6px !important;
  }

  .hero-content h1 {
    margin: 6px 0 10px !important;
  }

  .hero-content .hero-lead {
    margin-bottom: 12px !important;
  }

  .hero-actions {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .hero-actions .btn {
    padding: 10px 16px !important;
  }

  .hero-metrics-strip {
    margin-top: 12px !important;
    gap: 12px 6px !important;
  }

  /* #about mobile reduction (target <=1,000px) */
  #about .about-story h2 {
    margin-top: 4px !important;
  }

  #about .about-story .lead {
    margin-top: 6px !important;
  }

  #about .about-story p+p {
    margin-top: 8px !important;
  }

  #about div[style*="background: var(--sky"] {
    padding: 12px 14px !important;
    margin-top: 12px !important;
  }

  #about div[style*="background: var(--sky"] b {
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
  }

  #about div[style*="background: var(--sky"] p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }



  #verticals .section-head p {
    margin-top: 6px !important;
  }

  #verticals .portfolio-tabs {
    margin-bottom: 12px !important;
    gap: 6px !important;
  }

  #verticals .portfolio-tab {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

  @media (max-width: 767.98px) {

    .portfolio-3card-spread .portfolio-card,
    #portfolioGrid .portfolio-card {
      flex: 0 0 82% !important;
      width: 82% !important;
      max-width: 82% !important;
      min-width: 82% !important;
      padding: 14px 16px !important;
    }
  }

  .portfolio-card h3 {
    margin: 8px 0 4px !important;
  }

  .portfolio-card .portfolio-subtitle {
    margin-bottom: 6px !important;
  }

  .portfolio-card p {
    margin-bottom: 8px !important;
  }

  .portfolio-card-top {
    margin-bottom: 8px !important;
  }

  .portfolio-expansion-banner {
    margin-top: 14px !important;
    padding: 14px 16px !important;
  }

  .portfolio-expansion-banner h3 {
    margin-bottom: 4px !important;
  }

  .portfolio-expansion-banner p {
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
  }

  .portfolio-expansion-banner .btn {
    padding: 8px 14px !important;
  }

  #operations .section-head p {
    margin-top: 6px !important;
  }

  #operations .operations-disciplines {
    margin: 14px 0 !important;
  }

  #operations .operations-disciplines h3 {
    margin-bottom: 12px !important;
  }

  #operations .disciplines-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 4px 16px 14px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
  }

  #operations .disciplines-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  #operations .disciplines-grid>div {
    flex: 0 0 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    min-width: 78% !important;
    scroll-snap-align: start !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }

  #operations .disciplines-grid>div b {
    font-size: 0.9rem !important;
    margin-bottom: 4px !important;
  }

  #operations .disciplines-grid>div p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  #operations .responsive-cards-grid-3 {
    margin-top: 14px !important;
  }

  #operations .responsive-cards-grid-3>div {
    padding: 16px 18px !important;
  }

  #operations .responsive-cards-grid-3 h3 {
    margin-bottom: 10px !important;
  }

  #operations .responsive-cards-grid-3 ul {
    gap: 8px !important;
    font-size: 0.85rem !important;
  }

  /* #contact mobile reduction (target <=1,500px) */
  #contact .contact-left h2 {
    margin-top: 4px !important;
  }

  #contact .contact-left p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
  }

  #contact .inquiry-desks {
    margin: 12px 0 !important;
    padding: 10px 14px !important;
  }

  #contact .inquiry-desks b {
    font-size: 0.82rem !important;
    margin-bottom: 4px !important;
  }

  #contact .inquiry-desks ul {
    gap: 4px !important;
    font-size: 0.8rem !important;
  }

  #contact .contact-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  #contact .contact-info-item {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  #contact .contact-icon {
    width: 28px !important;
    height: 28px !important;
  }

  #contact .contact-details h4 {
    margin-bottom: 2px !important;
  }

  #contact .contact-details p,
  #contact .contact-details a {
    font-size: 0.82rem !important;
  }

  #contact .compliance-box {
    margin-top: 10px !important;
    padding: 8px 12px !important;
  }

  #contact .form-panel {
    padding: 16px 14px !important;
    border-radius: 8px !important;
  }

  #contact .form-panel h3 {
    margin-bottom: 4px !important;
  }

  #contact .form-panel p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  #contact .form-grid {
    gap: 8px !important;
  }

  #contact .form-field {
    margin-bottom: 0 !important;
  }

  #contact .form-field label {
    font-size: 0.78rem !important;
    margin-bottom: 3px !important;
  }

  #contact .form-field input,
  #contact .form-field select,
  #contact .form-field textarea {
    padding: 8px 10px !important;
    font-size: 0.86rem !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  #contact .form-field textarea {
    min-height: 68px !important;
  }

  #contact .form-field.full button[type="submit"] {
    min-height: 44px !important;
    padding: 10px 16px !important;
    margin-top: 4px !important;
  }
}

@media (max-width: 767.98px) {
  #faq .section-head p {
    margin-top: 6px !important;
  }

  .faq-item {
    padding: 10px 14px !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
  }

  .faq-question {
    min-height: 44px !important;
  }

  .faq-answer {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    padding-top: 6px !important;
  }
}

/* ==========================================================================
   PHASE 4 REFINEMENT: STRICT HEIGHT TARGETS & TYPOGRAPHY ENFORCEMENT
   ========================================================================== */

@media (max-width: 768px) {

  /* Form Fields: empty error elements collapse */
  .field-error:empty {
    display: none !important;
    min-height: 0 !important;
  }

  #contact .form-field {
    gap: 3px !important;
    margin-bottom: 0 !important;
  }

  /* #contact Left Column: Clean vertical flex column preventing overflow at 320px */
  #contact .contact-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #contact .contact-info-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #contact .contact-details {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  #contact .contact-details a,
  #contact .contact-details p {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  #contact .contact-grid,
  #contact .contact-left,
  #contact .form-panel,
  #contact .inquiry-desks,
  #contact .compliance-box,
  #contact form,
  #contact .form-grid,
  #contact .form-field,
  #contact .form-field input,
  #contact .form-field textarea,
  #contact .form-field select {
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  #contact .contact-info-item {
    padding: 6px 8px !important;
    gap: 8px !important;
    background: rgba(15, 42, 74, 0.03) !important;
    border-radius: 6px !important;
  }

  #contact .contact-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  #contact .contact-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  #contact .contact-details h4 {
    margin-bottom: 1px !important;
  }

  #contact .contact-details p,
  #contact .contact-details a {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }

  #contact .inquiry-desks {
    margin: 8px 0 !important;
    padding: 8px 12px !important;
  }

  #contact .inquiry-desks b {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }

  #contact .inquiry-desks ul {
    gap: 3px !important;
    font-size: 0.78rem !important;
  }

  #contact .compliance-box {
    margin-top: 8px !important;
    padding: 8px 10px !important;
  }

  /* #operations Section Tuning */
  #operations .section-head h2 {
    margin: 2px 0 !important;
  }

  #operations .section-head p {
    margin-top: 4px !important;
  }

  #operations .operations-disciplines {
    margin: 8px 0 !important;
  }

  #operations .operations-disciplines h3 {
    margin-bottom: 8px !important;
  }

  #operations .responsive-cards-grid-3 {
    margin-top: 8px !important;
  }

  #operations .responsive-cards-grid-3>div {
    padding: 12px 14px !important;
  }

  #operations .responsive-cards-grid-3 h3 {
    margin-bottom: 6px !important;
  }

  #operations .responsive-cards-grid-3 ul {
    gap: 5px !important;
    font-size: 0.8rem !important;
  }

  /* #verticals Section Tuning */
  #verticals .section-head h2 {
    margin: 2px 0 !important;
  }

  #verticals .section-head p {
    margin-top: 4px !important;
  }

  #verticals .portfolio-tabs {
    margin-bottom: 8px !important;
    gap: 4px !important;
  }

  .portfolio-card h3 {
    margin: 4px 0 2px !important;
  }

  .portfolio-card .portfolio-subtitle {
    margin-bottom: 4px !important;
  }

  .portfolio-card p {
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .portfolio-card>div[style*="background: var(--sky"] {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    margin-bottom: 6px !important;
  }

  .portfolio-expansion-banner {
    margin-top: 8px !important;
    padding: 10px 12px !important;
  }

  .portfolio-expansion-banner h3 {
    margin-bottom: 2px !important;
  }

  .portfolio-expansion-banner p {
    font-size: 0.78rem !important;
    margin-bottom: 6px !important;
  }

  /* #about Section Tuning */
  #about .about-story h2 {
    margin: 2px 0 !important;
  }

  #about .about-story .lead {
    margin-top: 4px !important;
  }

  #about .about-story h4 {
    margin-bottom: 4px !important;
  }

  #about div[style*="grid-template-columns"] {
    margin: 8px 0 !important;
    gap: 6px !important;
  }

  #about div[style*="background: var(--sky"] {
    padding: 8px 10px !important;
  }

  #about div[style*="background: var(--sky"] p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

}

@media (max-width: 767.98px) {
  /* #faq Section Tuning */
  #faq .section-head h2 {
    margin: 2px 0 !important;
  }

  #faq .section-head p {
    margin-top: 4px !important;
  }

  #faq .faq-item {
    padding: 4px 10px !important;
    margin-bottom: 4px !important;
  }

  #faq .faq-question {
    min-height: 44px !important;
  }

  #faq .faq-answer {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    padding-top: 4px !important;
  }
}

/* ==========================================================================
   PHASE 4 PINPOINT OPTIMIZATION (ALL 6 TARGETS ACHIEVED)
   ========================================================================== */

@media (max-width: 768px) {

  /* Complete Typography Enforcement (>= 12px) */
  * {
    --min-mobile-fs: 12px;
  }

  /* 1. #contact (Target <=1,500px) */
  #contact .contact-left p {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
  }

  #contact .inquiry-desks {
    margin: 6px 0 !important;
    padding: 6px 10px !important;
  }

  #contact .inquiry-desks b {
    font-size: 0.78rem !important;
    margin-bottom: 2px !important;
  }

  #contact .inquiry-desks ul {
    gap: 2px !important;
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }

  #contact .contact-info-list {
    margin-top: 6px !important;
    gap: 6px !important;
  }

  #contact .compliance-box {
    margin-top: 6px !important;
    padding: 6px 8px !important;
  }

  #contact .form-panel {
    padding: 14px 12px !important;
    margin-top: 6px !important;
  }

  #contact .form-panel p {
    margin-bottom: 8px !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
  }

  #contact .form-grid {
    gap: 6px !important;
  }

  #contact .form-field input,
  #contact .form-field select {
    padding: 6px 10px !important;
    min-height: 44px !important;
    font-size: 0.84rem !important;
  }

  #contact .form-field textarea {
    padding: 6px 10px !important;
    min-height: 54px !important;
    font-size: 0.84rem !important;
  }

  /* 2. #operations (Target <=800px) */
  #operations .section-head h2 {
    margin: 0 !important;
  }

  #operations .section-head p {
    margin-top: 2px !important;
  }

  #operations .operations-disciplines {
    margin: 6px 0 !important;
  }

  #operations .operations-disciplines h3 {
    margin-bottom: 6px !important;
  }

  #operations .responsive-cards-grid-3 {
    margin-top: 6px !important;
  }

  #operations .responsive-cards-grid-3>div {
    padding: 10px 12px !important;
  }

  #operations .responsive-cards-grid-3 h3 {
    margin-bottom: 4px !important;
  }

  /* 3. #verticals (Target <=800px) */
  #verticals .section-head h2 {
    margin: 0 !important;
  }

  #verticals .section-head p {
    margin-top: 2px !important;
  }

  #verticals .portfolio-tabs {
    margin-bottom: 6px !important;
  }

  .portfolio-card-top {
    margin-bottom: 2px !important;
  }

  .portfolio-expansion-banner {
    margin-top: 6px !important;
    padding: 8px 10px !important;
  }

  .portfolio-expansion-banner h3 {
    margin-bottom: 1px !important;
  }

  .portfolio-expansion-banner p {
    margin-bottom: 4px !important;
  }

  /* 5. #about (Target <=1,000px) */
  #about .about-story h2 {
    margin: 0 !important;
  }

  #about .about-story .lead {
    margin-top: 2px !important;
  }

  #about .about-story h4 {
    margin-bottom: 2px !important;
  }

  #about div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    margin: 6px 0 !important;
    gap: 6px !important;
  }

  #about div[style*="background: var(--sky"] {
    padding: 6px 8px !important;
  }

  #about div[style*="background: var(--sky"] p {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
  }

}

@media (max-width: 767.98px) {
  /* FAQ (Target <=600px) */
  #faq .section-head h2 {
    margin: 0 !important;
  }

  #faq .section-head p {
    margin-top: 2px !important;
  }

  #faq .faq-item {
    padding: 3px 10px !important;
    margin-bottom: 3px !important;
  }
}

@media (max-width: 768px) {
  #about .about-story h2 {
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  #contact .contact-left h2 {
    margin: 0 !important;
  }
}


/* About Section Story Block Toggle (Desktop: always visible; Mobile: collapsible behind 1 button) */
.about-collapsed-block {
  display: block;
}

.about-story-toggle {
  display: none !important;
}

@media (max-width: 767.98px) {
  .about-collapsed-block {
    display: none;
  }

  .about-collapsed-block.is-expanded {
    display: block !important;
  }

  .about-story-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--amber, #F2A71B);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(242, 167, 27, 0.4);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 0;
    transition: all 0.2s ease;
  }

  .about-story-toggle:hover {
    background: rgba(242, 167, 27, 0.08);
    border-color: var(--amber, #F2A71B);
  }
}


/* Overridden by .editorial-blog-section */


/* ==========================================================================
   RETAIL VERTICALS: DESKTOP / TABLET GRID (>= 768px) & TAG FIT (768-1100px)
   ========================================================================== */
@media (min-width: 768px) {

  .portfolio-3card-spread,
  #portfolioGrid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }

  .portfolio-grid.has-2-cards,
  #portfolioGrid.has-2-cards {
    grid-template-columns: repeat(2, minmax(0, 326px)) !important;
    justify-content: center !important;
  }

  .portfolio-3card-spread .portfolio-card,
  #portfolioGrid .portfolio-card {
    flex: none !important;
    width: 100% !important;
    max-width: 326px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    grid-row: 1 !important;
  }

  /* Entrance Gold Line Draw & Logo Layering on Desktop (min-width: 768px) */
  .portfolio-card.is-card-entering::before {
    animation: portfolioGoldLineDraw 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--line-delay, 0ms) forwards;
  }

  .portfolio-card.is-card-hidden .portfolio-logo-wrap {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .portfolio-card.is-card-under .portfolio-logo-wrap {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .portfolio-card.is-card-active .portfolio-logo-wrap {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Tag chips & logo wrap robustness: ensure no clipping or overflow */
.portfolio-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  margin-bottom: 12px !important;
}

.portfolio-logo-wrap {
  height: 38px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 110px;
}

.portfolio-logo-wrap img {
  max-height: 32px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portfolio-category-tag {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  background-color: var(--sky-tint);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

/* Tablet & Intermediate Desktop (768px to 1100px): narrow card optimization */
@media (min-width: 768px) and (max-width: 1100px) {
  .portfolio-card {
    padding: 16px 12px !important;
  }

  .portfolio-card-top {
    gap: 4px 6px !important;
    margin-bottom: 8px !important;
  }

  .portfolio-logo-wrap {
    height: 32px !important;
    max-width: 85px !important;
  }

  .portfolio-logo-wrap img {
    max-width: 80px !important;
    max-height: 26px !important;
  }

  .portfolio-category-tag {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
    letter-spacing: 0.03em !important;
  }

  .portfolio-card h3 {
    font-size: 1.10rem !important;
    margin: 6px 0 2px !important;
  }

  .portfolio-card .portfolio-subtitle {
    font-size: 0.72rem !important;
    margin-bottom: 4px !important;
  }

  .portfolio-card p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
}

/* ==========================================================================
   Desktop Section Gap Refinements (v3.2.10)
   Item 2: Platform Pillars Top Space Reduction (~80-96px gap)
   Item 3a: Footprint Bottom Space Reduction (~80-96px gap)
   ========================================================================== */
@media (min-width: 1024px) {
  #verticals .portfolio-sticky-wrapper {
    padding-bottom: 0 !important;
  }
  #verticals {
    padding-bottom: 24px !important;
  }
  #platform {
    padding-top: 32px !important;
  }

  #footprint {
    padding-bottom: 24px !important;
  }
  #governance {
    padding-top: 32px !important;
  }
}

/* ==========================================================================
   Form Submission Feedback & UI Spinner (Vanilla CSS, transform/opacity only)
   ========================================================================== */
.ps-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(15, 42, 74, 0.25);
  border-top-color: #0F2A4A;
  border-radius: 50%;
  animation: psBtnSpin 0.75s linear infinite;
  box-sizing: border-box;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes psBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-btn-spinner {
    animation: none;
    opacity: 0.6;
  }
}



/* ==========================================================================
   MOBILE BLOG BOTTOM SHEET (< 768px)
   ========================================================================== */
.ps-blog-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

@media (min-width: 768px) {
  .ps-blog-bottom-sheet {
    display: none !important;
  }
}

.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.6);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.bottom-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: #F9F6F0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -12px 48px rgba(10, 24, 44, 0.3);
  border-top: 1px solid rgba(242, 167, 27, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  box-sizing: border-box;
}

.ps-blog-bottom-sheet.is-open .bottom-sheet-backdrop {
  opacity: 1;
}

.ps-blog-bottom-sheet.is-open .bottom-sheet-panel {
  transform: translateY(0);
}

.bottom-sheet-drag-handle {
  padding: 12px 0 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: pan-y;
}

.drag-bar {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 42, 74, 0.22);
}

.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 12px;
  border-bottom: 1px solid rgba(15, 42, 74, 0.08);
  flex-shrink: 0;
}

.bottom-sheet-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy, #0F2A4A);
  background: rgba(242, 167, 27, 0.2);
  border: 1px solid rgba(242, 167, 27, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.4;
}

.bottom-sheet-close-btn {
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 50%;
  color: var(--navy, #0F2A4A);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  line-height: 0;
}

.bottom-sheet-close-btn:hover {
  background: rgba(15, 42, 74, 0.08);
}

.bottom-sheet-close-btn:focus-visible {
  outline: 2px solid var(--amber, #F2A71B);
  outline-offset: 1px;
}

.bottom-sheet-content {
  padding: 18px 20px 36px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  outline: none;
}

.bottom-sheet-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.30rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--navy, #0F2A4A);
  margin: 0 0 8px;
}

.bottom-sheet-date {
  font-size: 0.76rem;
  font-weight: 600;
  color: #66768a;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.bottom-sheet-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1a2a3a;
  overflow-wrap: break-word;
}

.bottom-sheet-body p {
  margin: 0 0 1.15em;
}

/* Bottom Sheet First Paragraph Override: ~1.05rem (approx 17px), clearly smaller than sheet title (1.30rem) */
#blogBottomSheet .bottom-sheet-body {
  --wp--preset--font-size--large: 1.05rem;
}

#blogBottomSheet .bottom-sheet-body p.has-large-font-size,
#blogBottomSheet .bottom-sheet-body > p:first-of-type {
  font-size: 1.05rem !important;
  line-height: 1.7;
  font-weight: 500;
  color: var(--navy, #0F2A4A);
  margin-bottom: 1.2em;
}

.bottom-sheet-body h2,
.bottom-sheet-body h3,
.bottom-sheet-body h4,
.bottom-sheet-body .wp-block-heading {
  font-family: var(--font-heading, 'Cinzel', serif);
  color: var(--navy, #0F2A4A);
  font-weight: 700;
  margin: 1.4em 0 0.65em;
  line-height: 1.3;
  font-size: 1.15rem;
}

.bottom-sheet-body ul,
.bottom-sheet-body ol {
  margin: 0 0 1.15em;
  padding-left: 22px;
}

.bottom-sheet-body li {
  margin-bottom: 0.45em;
}

.bottom-sheet-body blockquote,
.bottom-sheet-body .wp-block-quote {
  border-left: 3px solid var(--amber, #F2A71B);
  padding: 8px 0 8px 14px;
  margin: 1.3em 0;
  background: transparent;
}

.bottom-sheet-body blockquote p,
.bottom-sheet-body .wp-block-quote p {
  font-style: italic;
  color: #2c3e55;
  margin-bottom: 4px;
}

.bottom-sheet-body img,
.bottom-sheet-body figure,
.bottom-sheet-body table,
.bottom-sheet-body pre {
  max-width: 100%;
  box-sizing: border-box;
}

.bottom-sheet-body img {
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

@media (prefers-reduced-motion: reduce) {
  .bottom-sheet-backdrop,
  .bottom-sheet-panel {
    transition: none !important;
  }
}
