/* ============================================================
   Mercury F&B -- Main Stylesheet
   Premium Dark Corporate Website
   Version 1.0 -- Static Build
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  /* Plus Jakarta Sans -- closest cross-platform match to Avenir (Mac/Win/Android/iOS) */
  /* Swap line below for licensed Avenir web font when available */
  font-family: 'Plus Jakarta Sans', 'Avenir', 'Avenir Next', 'Century Gothic', sans-serif;
  background-color: #1E1D34;
  color: #F0EEE8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* === CSS VARIABLES === */
:root {
  --indigo-deep:   #333368;
  --indigo-mid:    #514D86;
  --gold:          #DAAD65;
  --gold-light:    #E3C18B;
  --slate:         #65698C;
  --taupe:         #A3806F;

  --bg-darkest:    #13122A;
  --bg-dark:       #191830;
  --bg-base:       #1E1D34;
  --bg-section:    #252441;
  --bg-card:       #2C2A4A;
  --bg-card-hover: #333168;

  --text-primary:   #F0EEE8;
  --text-secondary: #B0ADCC;
  --text-muted:     #7A789A;
  --text-gold:      #DAAD65;

  --border-subtle: rgba(101, 105, 140, 0.22);
  --border-accent: rgba(218, 173, 101, 0.38);

  --grad-hero:  linear-gradient(145deg, #13122A 0%, #1E1D34 55%, #252441 100%);
  --grad-logo:  linear-gradient(180deg, #514D86 0%, #DAAD65 100%);

  --max-width: 1320px;
  --pad: clamp(1rem, 4vw, 2rem);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-card:  0 4px 24px rgba(0,0,0,.32);
  --shadow-hover: 0 12px 48px rgba(0,0,0,.5);

  --ease: cubic-bezier(.4,0,.2,1);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--text-primary); }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text-secondary); line-height: 1.85; }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section        { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark  { background: var(--bg-dark); }
.section--alt   { background: var(--bg-section); }
.section--darkest { background: var(--bg-darkest); }

.section-label {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title  { color: var(--text-primary); margin-bottom: 1rem; }
.section-sub    { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.85; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.divider        { width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.25rem 0; }
.divider.center { margin: 1.25rem auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--bg-darkest); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(218,173,101,.3); }
.btn--outline { border: 1px solid rgba(255,255,255,.22); color: var(--text-primary); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--ghost  { color: var(--gold); padding: 0; letter-spacing: .05em; }
.btn--ghost::after { content: ' ->'; transition: letter-spacing .2s; }
.btn--ghost:hover::after { letter-spacing: .12em; }
.btn-group   { display: flex; gap: .875rem; flex-wrap: wrap; }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(19, 18, 42, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  padding: .875rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.logo-mark { width: 30px; height: 38px; flex-shrink: 0; }
.logo-name  { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.logo-name .bold  { font-weight: 900; color: var(--text-primary); }
.logo-name .light { font-weight: 400; color: var(--text-secondary); }

/* Nav */
.primary-nav    { display: flex; align-items: center; gap: 1.5rem; }
.nav-links      { display: flex; align-items: center; gap: .1rem; }
.nav-link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  letter-spacing: .05em;
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--gold); }

/* Dropdown chevron */
.dropdown-chevron {
  width: 10px; height: 7px;
  margin-left: 4px; vertical-align: middle;
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}

/* Dropdown wrapper */
.has-dropdown {
  position: relative;
}
.has-dropdown > .nav-link {
  display: flex; align-items: center; gap: 2px;
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 170px;
  background: rgba(19,18,42,.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
  padding: 16px 6px 6px; /* top padding bridges the gap visually */
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* show fast, hide with a small delay so mouse can cross the gap */
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
  z-index: 200;
}
/* Arrow tip — sits inside the top padding area */
.dropdown::before {
  content: '';
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: var(--border-subtle);
}
.dropdown::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: 0;
  border-bottom-color: rgba(19,18,42,.97);
}

/* Show on hover (desktop) */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.has-dropdown:hover .dropdown-chevron,
.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown links */
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown-link:hover { background: rgba(255,255,255,.07); color: var(--text-primary); }
.dropdown-link.active { color: var(--gold); }
.dropdown-flag { font-size: 1rem; line-height: 1; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0D0C1C;              /* solid fallback */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top: 100px;
  overflow: hidden;
}
/* Full dark scrim + brand radial accents sit over the photo */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 5%  5%,   rgba(51,51,104,.65)   0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%,  rgba(218,173,101,.09) 0%, transparent 50%),
    radial-gradient(ellipse at 65% 35%,  rgba(81,77,134,.28)   0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%,  rgba(218,173,101,.07) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(13,12,28,.84) 0%, rgba(19,18,42,.76) 45%, rgba(19,18,42,.84) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(101,105,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101,105,140,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 3;
}

/* --- Video Background (optional -- drop files into video/ to activate) --- */
.hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 1;                             /* sits above bg-image, below overlays */
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: translate(-50%, -50%);
}
/* Dark scrim over the video — intentionally heavier than the static-photo scrim */
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%,    rgba(51,51,104,.70)   0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(218,173,101,.10) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(13,12,28,.92) 0%, rgba(19,18,42,.86) 40%, rgba(19,18,42,.92) 100%);
}

/* Hero content sits on top of all overlay layers */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 960px;
}
.hero-eyebrow {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--text-primary); margin-bottom: 1.5rem; font-weight: 900; }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary); max-width: 580px;
  margin-bottom: 2.5rem; line-height: 1.85;
}
.hero-markets {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 2.5rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
}
.hero-markets .active { color: var(--text-secondary); }
.hero-markets .sep    { color: var(--border-subtle); }

/* === HERA STRIP === */
.hera-strip {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.hera-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hera-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
  transition: all .3s var(--ease);
}
.hera-card:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-4px); }
.hera-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-mid), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.4rem;
}
.hera-card-label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.hera-card h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: .625rem; font-weight: 900; }
.hera-card p  { font-size: .875rem; color: var(--text-secondary); }

/* === OVERVIEW BLOCK === */
.overview-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.overview-quote {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 800; color: var(--text-primary);
  line-height: 1.45;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}
.overview-text p { margin-bottom: 1.25rem; }
.overview-text p:last-child { margin-bottom: 0; }

/* === CAPABILITIES GRID === */
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cap-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.cap-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo-mid), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.cap-card:hover::before { transform: scaleX(1); }
.cap-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cap-num { font-size: 2.25rem; font-weight: 900; color: rgba(218,173,101,.12); margin-bottom: .75rem; }
.cap-card h3  { font-size: 1.05rem; color: var(--text-primary); margin-bottom: .5rem; font-weight: 800; }
.cap-card p   { font-size: .86rem; color: var(--text-secondary); }

/* === MARKETS SECTION === */
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.market-card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card); overflow: hidden;
  transition: all .35s var(--ease);
}
.market-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(81,77,134,.28) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none; /* don't block button clicks */
}
.market-card:hover::before { opacity: 1; }
.market-card:hover { border-color: var(--border-accent); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.market-flag {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .875rem;
  display: flex; align-items: center; gap: .5rem;
}
.market-flag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.market-card h3 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); color: var(--text-primary); margin-bottom: 1rem; font-weight: 900; }
.market-card p  { font-size: .95rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 380px; }
.market-bg { position: absolute; bottom: -15px; right: -10px; font-size: 7.5rem; font-weight: 900; color: rgba(255,255,255,.025); user-select: none; pointer-events: none; letter-spacing: -.04em; }

/* === BRANDS === */
.brands-cats { display: flex; flex-direction: column; gap: 2.5rem; }
.brand-cat { border-top: 1px solid var(--border-subtle); padding-top: 2rem; }
.brand-cat-label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.brand-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .875rem; }
.brand-card {
  padding: 1.625rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card); text-align: center;
  transition: all .3s var(--ease);
}
.brand-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.brand-card-name { font-size: 1.1rem; font-weight: 900; color: var(--text-primary); margin-bottom: .4rem; }
.brand-card-desc { font-size: .82rem; color: var(--text-secondary); margin-bottom: .875rem; }
.brand-tag {
  display: inline-block; font-size: .65rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border-accent);
  padding: .2rem .6rem; border-radius: 2px;
}

/* === PILLARS === */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all .3s var(--ease);
}
.pillar:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.pillar-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, var(--indigo-mid), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1.25rem;
}
.pillar h3 { font-size: 1.2rem; color: var(--text-primary); margin-bottom: .625rem; font-weight: 800; }
.pillar p  { font-size: .875rem; color: var(--text-secondary); }

/* === CAREERS TEASER === */
.careers-teaser { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg-darkest); text-align: center; }
.careers-teaser h2 { max-width: 700px; margin: 0 auto 1rem; }
.careers-teaser p  { max-width: 540px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: 140px; padding-bottom: clamp(4rem, 7vw, 6rem);
  position: relative; overflow: hidden;
  /* Dark base -- photo sits on top via background-image inline style */
  background-color: #13122A;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Dark overlay + radial accents + grid -- sits over the photo, keeps text readable */
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%,  rgba(81,77,134,.55)  0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%,  rgba(218,173,101,.10) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(13,12,28,.86) 0%, rgba(19,18,42,.78) 45%, rgba(19,18,42,.88) 100%);
  pointer-events: none; z-index: 1;
}
/* Subtle grid texture layer */
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(rgba(101,105,140,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101,105,140,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
/* Gold accent line at the bottom edge of the hero */
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,173,101,.5), transparent);
  z-index: 3;
}
.page-hero-inner { position: relative; z-index: 4; }
.breadcrumb { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { margin: 0 .4rem; color: var(--border-subtle); }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 3.75rem); max-width: 820px; margin-bottom: 1rem; }
.page-hero-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.85; }

/* === CONTENT (inner pages) === */
.content-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.content-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.content-block p { font-size: .96rem; color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.9; }
.content-block p:last-child { margin-bottom: 0; }

.mission-box {
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  border-left: 3px solid var(--gold); background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 1rem;
}
.mission-box-label { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .375rem; }
.mission-box-val   { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }

/* Rights Flow */
.rights-flow { display: flex; flex-direction: column; gap: .75rem; }
.rights-level {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.375rem 1.75rem;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: var(--bg-card); transition: border-color .3s;
}
.rights-level:hover { border-color: var(--border-accent); }
.rights-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-mid), var(--gold));
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .9rem; color: white;
}
.rights-level h4 { font-size: .96rem; font-weight: 800; color: var(--text-primary); margin-bottom: .2rem; }
.rights-level p  { font-size: .84rem; color: var(--text-secondary); margin: 0; }
.rights-arrow { display: flex; align-items: center; padding-left: 3rem; color: var(--gold); font-size: 1.25rem; opacity: .6; }

/* Functions Grid */
.functions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fn-item {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); background: var(--bg-card);
  transition: all .3s var(--ease);
}
.fn-item:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.fn-tag  { font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: .375rem; }
.fn-item h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: .5rem; font-weight: 800; }
.fn-item p  { font-size: .86rem; color: var(--text-secondary); }

/* === STATS STRIP === */
.stats-strip {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item  { text-align: center; padding: 1.5rem; }
.stat-val {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; display: block; margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--indigo-mid), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 1rem; font-weight: 800; }
.contact-info p  { font-size: .9rem; color: var(--text-secondary); margin-bottom: 2rem; }
.contact-ch { padding: 1rem 1.375rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-card); margin-bottom: .75rem; }
.contact-ch-label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }
.contact-ch-val   { font-size: .875rem; color: var(--text-secondary); }
.contact-form { background: var(--bg-card); padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.form-group   { margin-bottom: 1.375rem; }
.form-label   { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.form-control {
  width: 100%; padding: .875rem 1rem;
  background: var(--bg-section); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: .9rem; transition: border-color .2s; outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* === NEWS === */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.news-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); transition: all .3s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* Thumbnail */
.news-thumb {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-card-hover));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  flex-shrink: 0;
}
.news-thumb span { background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 4px; }

/* Card body */
.news-body,
.news-card-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }

/* Category label */
.news-cat {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 .75rem;
}

/* Title */
.news-title { font-size: 1rem; font-weight: 800; line-height: 1.45; color: var(--text-primary); margin: 0 0 .625rem; }
.news-title a { color: inherit; text-decoration: none; transition: color .2s; }
.news-title a:hover { color: var(--gold); }

/* Excerpt */
.news-excerpt { font-size: .86rem; color: var(--text-secondary); line-height: 1.65; margin: 0 0 1.25rem; flex: 1; }

/* Date */
.news-date { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--border-subtle); }

/* Legacy selectors kept for backward compatibility */
.news-card h3 { font-size: .98rem; color: var(--text-primary); margin-bottom: .5rem; font-weight: 800; line-height: 1.4; }
.news-card > p  { font-size: .84rem; color: var(--text-secondary); margin-bottom: 1.25rem; }

/* === FOOTER === */
.site-footer { background: var(--bg-darkest); border-top: 1px solid var(--border-subtle); padding: clamp(4rem, 7vw, 6rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.footer-logo { display: flex; align-items: center; gap: .625rem; margin-bottom: 1.25rem; }
.footer-tagline { font-size: .875rem; color: var(--text-secondary); line-height: 1.75; max-width: 300px; margin-bottom: 1.5rem; }
.footer-col h4 { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .875rem; color: var(--text-secondary); transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy   { font-size: .75rem; color: var(--text-muted); }
.footer-legal  { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .75rem; color: var(--text-muted); transition: color .2s; }
.footer-legal a:hover { color: var(--text-secondary); }

/* === ACCENT LINE === */
.gold-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .35; }

/* === ANIMATE ON SCROLL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .overview-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .functions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 1.125rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-darkest); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; padding: 80px 1.5rem 2rem;
    transition: right .3s var(--ease);
    border-left: 1px solid var(--border-subtle);
    z-index: 999; gap: .75rem; overflow-y: auto;
  }
  .primary-nav.open { right: 0; }
  .primary-nav .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .primary-nav .nav-link { padding: .75rem 0; width: 100%; font-size: .95rem; border-bottom: 1px solid var(--border-subtle); border-radius: 0; }

  /* Mobile dropdown */
  .has-dropdown { width: 100%; }
  .has-dropdown > .nav-link { justify-content: space-between; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: rgba(255,255,255,.04);
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 0 16px;
  }
  .dropdown::before, .dropdown::after { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .dropdown-chevron { transform: rotate(180deg); }
  .dropdown-link { border-bottom: 1px solid var(--border-subtle); border-radius: 0; font-size: .85rem; }

  .hera-strip-grid, .markets-grid, .pillars-grid, .capabilities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .content-2col { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .brand-cards, .functions-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-group { flex-direction: column; align-items: flex-start; }
}
