/* ============================================================
   PARAMITA CAPITAL — Design System
   Navy / Gold Professional Wealth Management Theme
   ============================================================ */

/* ---- CSS Custom Properties -------------------------------- */
:root {
  --navy-deep:   #08131E;
  --navy:        #0D2137;
  --navy-mid:    #1B3558;
  --navy-light:  #2C4A6E;
  --gold:        #C5A028;
  --gold-light:  #D4B54A;
  --gold-pale:   #EDD97C;
  --gold-muted:  #8A6F1C;
  --cream:       #FAF8F4;
  --cream-dark:  #F0EBE0;
  --white:       #FFFFFF;
  --text-dark:   #0D1B2A;
  --text-mid:    #3A4A5C;
  --text-light:  #6B7B8E;
  --border:      rgba(197, 160, 40, 0.25);

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --ease-out-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
  --transition:      250ms var(--ease-smooth);
  --transition-slow: 600ms var(--ease-smooth);
  --shadow-sm:   0 2px 12px rgba(13, 33, 55, 0.10);
  --shadow-md:   0 8px 32px rgba(13, 33, 55, 0.18);
  --shadow-lg:   0 20px 60px rgba(13, 33, 55, 0.28);

  /* Navbar height — used for scroll-padding */
  --nav-h: 72px;
}

/* ---- Base Reset & Typography ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Offset anchor targets so they clear the fixed nav */
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   STICKY NAVIGATION
   ============================================================ */
.pcm-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* Start transparent over the hero */
  background: transparent;
  transition:
    background var(--transition-slow),
    box-shadow var(--transition-slow),
    padding var(--transition);
  padding: 1.25rem 0;
}

/* Solid state — added via JS on scroll */
.pcm-navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 24px rgba(8, 19, 30, 0.55);
  padding: 0.625rem 0;
}

/* Thin gold progress line at the very bottom of the nav */
.pcm-navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.pcm-navbar.scrolled::after { opacity: 0.5; }

.pcm-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;   /* anchor for the mobile dropdown */
}

/* Brand */
.pcm-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.pcm-brand img {
  height: 2.5rem;
  width: auto;
  flex-shrink: 0;
}

.pcm-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcm-brand:hover .pcm-brand-name { color: var(--gold-light); }

/* ---- Desktop nav links ------------------------------------ */
.pcm-nav-wrapper {
  display: flex;
  align-items: center;
}

/* ---- Nav links -------------------------------------------- */
.pcm-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcm-nav .nav-item { position: relative; }

.pcm-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.8rem;
  border-radius: 2px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.pcm-nav .nav-link:hover,
.pcm-nav .nav-link:focus-visible {
  color: var(--gold-light);
  background: rgba(197, 160, 40, 0.09);
  outline: none;
}

/* Down-chevron on "Solutions" */
.pcm-nav .has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid rgba(255,255,255,.5);
  margin-left: 0.15rem;
  transition: transform var(--transition), border-top-color var(--transition);
  flex-shrink: 0;
}

.pcm-nav .has-dropdown:hover > .nav-link::after,
.pcm-nav .has-dropdown.open > .nav-link::after {
  transform: rotate(180deg);
  border-top-color: var(--gold-light);
}

/* ---- Shared dropdown / submenu base ----------------------- */
@keyframes dropdownOpen {
  from { opacity: 0; transform: translateY(-5px) scaleY(0.96); }
  to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}

.pcm-dropdown,
.pcm-submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: rgba(8, 19, 30, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

/* ---- Dropdown item (shared L1 & L2) ----------------------- */
.pcm-nav .dropdown-item {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.pcm-nav .dropdown-item:hover,
.pcm-nav .dropdown-item:focus {
  color: var(--gold-light);
  background: rgba(197, 160, 40, 0.10);
  outline: none;
}

/* Right-arrow › on items that expand a submenu */
.pcm-nav .has-submenu > .dropdown-item::after {
  content: '›';
  font-size: 1.1em;
  line-height: 1;
  color: rgba(255,255,255,.4);
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: color var(--transition), transform var(--transition);
}

.pcm-nav .has-submenu:hover > .dropdown-item::after,
.pcm-nav .has-submenu.sub-open > .dropdown-item::after {
  color: var(--gold-light);
}

/* ---- DESKTOP: pure-CSS hover (≥ 992px) -------------------- */
@media (min-width: 992px) {
  /* Level 1 — below the nav link */
  .pcm-dropdown {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 220px;
    display: none;
    transform-origin: top center;
  }

  .pcm-nav .has-dropdown:hover  > .pcm-dropdown,
  .pcm-nav .has-dropdown:focus-within > .pcm-dropdown {
    display: block;
    animation: dropdownOpen 0.18s var(--ease-smooth) forwards;
  }

  /* Level 2 — to the right of the parent item */
  .pcm-nav .has-submenu { position: relative; }

  .pcm-submenu {
    position: absolute;
    top: -0.5rem;
    left: 100%;
    min-width: 190px;
    display: none;
    transform-origin: top left;
    background: rgba(20, 42, 78, 0.97);  /* slightly lighter navy for L2 */
  }

  .pcm-nav .has-submenu:hover > .pcm-submenu,
  .pcm-nav .has-submenu:focus-within > .pcm-submenu {
    display: block;
    animation: dropdownOpen 0.15s var(--ease-smooth) forwards;
  }

  /* Rotate › to ↓ when hovered */
  .pcm-nav .has-submenu:hover > .dropdown-item::after { transform: rotate(90deg); }
}

/* ---- Hamburger button ------------------------------------- */
.pcm-toggler {
  display: none;          /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.pcm-toggler:hover {
  background: rgba(197, 160, 40, 0.12);
  border-color: rgba(197, 160, 40, 0.35);
}

.pcm-toggler span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s var(--ease-smooth), opacity 0.2s ease, width 0.3s ease;
}

/* Hamburger → X morph when open */
.pcm-toggler.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.pcm-toggler.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.pcm-toggler.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;   /* respects mobile browser chrome */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 55%, #1A3A5C 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 55%, rgba(197, 160, 40, 0.07) 0%, transparent 48%),
    radial-gradient(circle at 82% 18%, rgba(197, 160, 40, 0.04) 0%, transparent 38%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  animation: heroFadeIn 1.1s var(--ease-smooth) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: heroFadeIn 1.1s 0.1s var(--ease-smooth) both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: heroFadeIn 1.1s 0.2s var(--ease-smooth) both;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 5.25rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.hero-title-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
  animation: heroFadeIn 1.1s 0.3s var(--ease-smooth) both;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 2.75rem;
  animation: heroFadeIn 1.1s 0.35s var(--ease-smooth) both;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 1rem 2.75rem;
  border-radius: 2px;
  box-shadow: 0 4px 22px rgba(197, 160, 40, 0.38);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: heroFadeIn 1.1s 0.45s var(--ease-smooth) both;
}

.hero-cta:hover {
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(197, 160, 40, 0.55);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFadeIn 1.6s 0.8s var(--ease-smooth) both;
}

.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1) translateY(0); }
  50%       { opacity: 0.9;  transform: scaleY(1.08) translateY(3px); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { padding: 6rem 0; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 1.125rem;
}

.section-divider {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.section-text {
  color: var(--text-mid);
  font-size: 1.025rem;
  line-height: 1.88;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.40s; }
.animate-on-scroll.delay-6 { transition-delay: 0.48s; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--cream);
}

.about-section .section-text p { color: var(--text-mid); }

/* ============================================================
   SIX SIGMA SECTION — Enhanced card animations
   ============================================================ */
.sigma-section {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

/* Ambient glow blobs */
.sigma-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 40, 0.055) 0%, transparent 65%);
  pointer-events: none;
}

.sigma-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 74, 110, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.sigma-section .section-label { color: var(--gold); }
.sigma-section .section-title { color: var(--white); }

.sigma-intro {
  color: rgba(255, 255, 255, 0.60);
  font-size: 1rem;
  line-height: 1.95;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}
.sigma-intro strong { color: var(--gold-light); font-weight: 600; }
.sigma-intro em     { color: rgba(255, 255, 255, 0.82); font-style: italic; }

/* Grid */
.sigma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

/* ---- Card entrance keyframe -------------------------------- */
@keyframes cardEnter {
  0%   { opacity: 0; transform: translateY(32px) scale(0.94); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.005); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Shimmer sweep keyframe */
@keyframes shimmerSweep {
  0%   { transform: translateX(-100%) skewX(-18deg); }
  100% { transform: translateX(300%)  skewX(-18deg); }
}

/* Chinese character float */
@keyframes chineseFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

/* Card base */
.sigma-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(197, 160, 40, 0.16);
  border-radius: 4px;
  padding: 2rem 1.75rem 1.75rem;
  /* Default invisible — JS adds .visible */
  opacity: 0;
  /* smooth hover transitions */
  transition:
    background    0.35s var(--ease-smooth),
    border-color  0.35s var(--ease-smooth),
    box-shadow    0.35s var(--ease-smooth),
    transform     0.35s var(--ease-smooth);
}

/* Card entrance: triggered when .visible is added by IntersectionObserver */
.sigma-card.visible {
  animation: cardEnter 0.65s var(--ease-out-spring) forwards;
}

/* Delay each card's entrance individually */
.sigma-card:nth-child(1) { animation-delay: 0.00s; }
.sigma-card:nth-child(2) { animation-delay: 0.08s; }
.sigma-card:nth-child(3) { animation-delay: 0.16s; }
.sigma-card:nth-child(4) { animation-delay: 0.24s; }
.sigma-card:nth-child(5) { animation-delay: 0.32s; }
.sigma-card:nth-child(6) { animation-delay: 0.40s; }

/* Left-edge gold accent bar */
.sigma-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-muted) 100%);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.4s var(--ease-out-spring);
}

/* Shimmer sweep — separate element via ::after */
.sigma-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197, 160, 40, 0.10) 50%,
    transparent 100%
  );
  pointer-events: none;
  /* Start off-screen left */
  transform: translateX(-100%) skewX(-18deg);
}

/* Hover state */
.sigma-card:hover {
  background: rgba(197, 160, 40, 0.055);
  border-color: rgba(197, 160, 40, 0.42);
  box-shadow:
    0 0 0 1px rgba(197, 160, 40, 0.15),
    0 16px 48px rgba(8, 19, 30, 0.55);
  transform: translateY(-6px);
}

.sigma-card:hover::before {
  transform: scaleY(1);
}

/* Trigger shimmer sweep on hover */
.sigma-card:hover::after {
  animation: shimmerSweep 0.7s var(--ease-smooth) forwards;
}

/* Card contents */
.sigma-number {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.sigma-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.sigma-card:hover .sigma-title { color: var(--gold-pale); }

.sigma-name {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.sigma-chinese {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.875rem;
  letter-spacing: 0.15em;
  display: inline-block;
  transition: color var(--transition);
}

.sigma-card:hover .sigma-chinese {
  color: rgba(197, 160, 40, 0.55);
  animation: chineseFloat 2s ease-in-out infinite;
}

.sigma-desc {
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.sigma-card:hover .sigma-desc { color: rgba(255, 255, 255, 0.62); }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.subscribe-section {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
}

.subscribe-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.subscribe-section .section-title { color: var(--navy); }

.section-text-single {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.subscribe-form { max-width: 620px; margin: 0 auto; }

.form-alert {
  padding: 0.875rem 1.25rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}
.form-alert-success {
  background: rgba(39, 174, 96, 0.09);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #1b7040;
}
.form-alert-danger {
  background: rgba(220, 53, 69, 0.09);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #a0242f;
}

.subscribe-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subscribe-input {
  flex: 1;
  min-width: 155px;
  background: var(--white);
  border: 1px solid rgba(13, 33, 55, 0.16);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  /* minimum touch target */
  min-height: 48px;
}

.subscribe-input::placeholder { color: var(--text-light); }

.subscribe-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.14);
}

.subscribe-btn {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 3px;
  padding: 0.9rem 2.25rem;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 40, 0.42);
}
.subscribe-btn:active { transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.pcm-footer {
  background: var(--navy-deep);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(197, 160, 40, 0.18);
}

.pcm-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pcm-footer-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
  z-index: 500;
  text-decoration: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 16px rgba(197, 160, 40, 0.22);
}

.scroll-top-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 991px)
   ============================================================ */
@media (max-width: 991px) {
  :root { --nav-h: 64px; }

  section { padding: 4.5rem 0; }

  .sigma-grid { grid-template-columns: repeat(2, 1fr); }

  /* --- Mobile nav ----------------------------------------- */
  .pcm-toggler { display: flex; }

  .pcm-nav-wrapper {
    /* Hidden by default; animated open/close */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 19, 30, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(8, 19, 30, 0.6);

    /* Collapsed */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.38s var(--ease-smooth), visibility 0.38s;
  }

  .pcm-nav-wrapper.open {
    max-height: 520px;
    visibility: visible;
  }

  .pcm-nav {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0 1rem;
  }

  .pcm-nav .nav-item { width: 100%; }

  .pcm-nav .nav-link {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 52px;
    justify-content: space-between;
  }

  /* Keep chevron visible on mobile so user knows Solutions is tappable */
  .pcm-nav .has-dropdown > .nav-link::after { display: inline-block; }
  /* Rotate chevron when open */
  .pcm-nav .has-dropdown.open > .nav-link::after { transform: rotate(180deg); border-top-color: var(--gold-light); }

  /* Level 1 dropdown — hidden until .open */
  .pcm-dropdown {
    display: none;
    position: static;
    background: rgba(255,255,255,0.04);
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
    margin: 0 0 0 1.5rem;
    padding: 0.25rem 0;
  }

  .pcm-nav .has-dropdown.open > .pcm-dropdown { display: block; }

  /* Level 2 submenu — hidden until .sub-open */
  .pcm-submenu {
    display: none;
    position: static;
    background: rgba(255,255,255,0.04);
    border: none;
    border-left: 2px solid rgba(197,160,40,0.15);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
    margin: 0 0 0 1.25rem;
    padding: 0.125rem 0;
  }

  .pcm-nav .has-submenu.sub-open > .pcm-submenu { display: block; }

  /* Rotate › to ↓ when submenu is open */
  .pcm-nav .has-submenu.sub-open > .dropdown-item::after { transform: rotate(90deg); color: var(--gold-light); }

  .pcm-nav .dropdown-item {
    font-size: 0.76rem;
    padding: 0.625rem 1.25rem;
    min-height: 44px;
    width: 100%;
  }

  .subscribe-form-row { flex-direction: column; }
  .subscribe-btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --nav-h: 60px; }

  section { padding: 3.5rem 0; }

  .sigma-grid { grid-template-columns: 1fr; }
  .sigma-card { padding: 1.5rem 1.375rem; }

  .hero-title-main { letter-spacing: 0.05em; }
  .hero-content    { padding: 5rem 1.25rem 3.5rem; }
  .hero-description { letter-spacing: 0.12em; font-size: 0.75rem; }

  .pcm-brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }
}

/* ============================================================
   RESPONSIVE — Small phones (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title-main { letter-spacing: 0.03em; }
  .hero-content    { padding: 5rem 1rem 3rem; }
  .sigma-card      { padding: 1.25rem 1.125rem; }
  .subscribe-form-row { gap: 0.625rem; }

  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
}

/* ============================================================
   INNER PAGES — Shared Styles
   ============================================================ */

/* ---- Page Banner (replaces full-height hero on inner pages) */
.page-banner {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy-mid) 60%, #1a3a5c 100%);
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 60%, rgba(197,160,40,.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(197,160,40,.04) 0%, transparent 38%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  animation: heroFadeIn 0.9s var(--ease-smooth) forwards;
}

.page-banner-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0;
  line-height: 1.15;
}

.page-banner-divider {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
}

/* ---- Inner content sections -------------------------------- */
.inner-section {
  padding: 5rem 0;
  background: var(--cream);
}

.inner-section.alt {
  background: var(--cream-dark);
}

.inner-section.dark {
  background: var(--navy-deep);
}

.inner-section.dark .section-title { color: var(--white); }
.inner-section.dark .inner-text    { color: rgba(255,255,255,.65); }

.inner-text {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--text-mid);
  max-width: 780px;
  margin: 0 auto;
}

.inner-text em {
  font-style: italic;
  color: var(--text-dark);
}

.inner-text strong {
  color: var(--navy);
  font-weight: 600;
}

.inner-text a {
  color: var(--gold);
  border-bottom: 1px solid rgba(197,160,40,.3);
  transition: border-color var(--transition), color var(--transition);
}

.inner-text a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Styled blockquote / pull-quote */
.inner-blockquote {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.75rem;
  background: rgba(197,160,40,.04);
  border-radius: 0 4px 4px 0;
  margin: 0 auto;
  max-width: 780px;
}

.inner-blockquote-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.inner-blockquote-text {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
}

/* Divider rule */
.inner-rule {
  border: none;
  border-top: 1px solid rgba(197,160,40,.22);
  margin: 2.5rem auto;
  max-width: 680px;
}

/* ---- Contact form ----------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background: var(--cream);
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form-group {
  margin-bottom: 1.125rem;
}

.contact-input,
.contact-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(13,33,55,.15);
  border-radius: 3px;
  padding: 0.9rem 1.125rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  min-height: 48px;
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-input::placeholder,
.contact-textarea::placeholder { color: var(--text-light); }

.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,160,40,.13);
}

.contact-submit {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 3px;
  padding: 1rem 2.75rem;
  cursor: pointer;
  min-height: 48px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,160,40,.42);
}

/* ---- Team grid -------------------------------------------- */
.team-section {
  padding: 5rem 0;
  background: var(--cream);
}

.team-section.alt { background: var(--cream-dark); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(13,33,55,.08);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-photo-wrap {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 1.5rem 1.5rem 1rem;
  position: relative;
}

.team-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.team-photo {
  width: 100%;
  max-width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 2px solid rgba(197,160,40,.4);
  margin: 0 auto;
  display: block;
}

.team-info {
  padding: 1.25rem 1rem 1.5rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.team-role {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ---- Timeline --------------------------------------------- */
.timeline-section {
  padding: 5rem 0;
  background: var(--cream);
}

.timeline-list {
  position: relative;
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 0;
}

/* Vertical centre line */
.timeline-list::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(197,160,40,.1));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 2rem;
  margin-bottom: 3.5rem;
  align-items: start;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Date — left column */
.tl-date {
  text-align: right;
  padding-top: 0.25rem;
}

.tl-date-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Dot — centre column */
.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(197,160,40,.3);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

/* Content — right column */
.tl-content { padding-top: 0; }

.tl-image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid rgba(13,33,55,.08);
}

.tl-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tl-body {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* ---- Image with caption ------------------------------------ */
.image-section {
  padding: 4rem 0;
  background: var(--cream-dark);
}

.image-figure {
  max-width: 900px;
  margin: 0 auto;
}

.image-figure img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13,33,55,.08);
}

.image-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.875rem;
  letter-spacing: 0.04em;
}

/* Two-column image layout */
.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* ---- Countdown section ------------------------------------ */
.countdown-section {
  padding: 5rem 0;
  background: var(--navy-deep);
  text-align: center;
}

.countdown-section .section-title { color: var(--white); }

.countdown-text {
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

.countdown-sub {
  color: rgba(255,255,255,.45);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* ---- Responsive — inner pages ----------------------------- */
@media (max-width: 991px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .image-pair { grid-template-columns: 1fr; gap: 1.5rem; }

  .timeline-list::before { left: 20px; }
  .timeline-item {
    grid-template-columns: auto 1fr;
    grid-template-areas: "dot content" "dot date";
    gap: 0 1rem;
  }
  .tl-date { grid-area: date; text-align: left; padding-top: 0.5rem; }
  .tl-dot  { grid-area: dot;  margin-top: 0.4rem; }
  .tl-content { grid-area: content; }
}

@media (max-width: 767px) {
  .inner-section { padding: 3.5rem 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .team-photo { height: 110px; max-width: 110px; }
  .team-info  { padding: 1rem 0.875rem 1.25rem; }
  .team-name  { font-size: 1rem; }

  .page-banner { padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .contact-form { padding: 0 0.5rem; }
  .inner-blockquote { padding: 1rem 1.25rem; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
