/* =========================================
   ECONOMIC ASSOCIATES - MODERN STYLESHEET
   Brand Primary: #070b31 (Deep Navy)
   Brand Accent:  #c99a2e (Executive Gold) — used sparingly; see BRAND BALANCE at the end
   ========================================= */
:root {
  --navy-dark: #050824;
  --navy-primary: #070b31;
  --navy-light: #12195c;
  --accent-gold: #c99a2e;
  --accent-gold-light: #e2b857;
  --accent-gold-hover: #b3851f;
  --bg-light: #f6f8fc;
  --surface-white: #ffffff;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --border-light: #e5e7eb;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(7, 11, 49, 0.05);
  --shadow-md: 0 16px 36px rgba(7, 11, 49, 0.11);
  --shadow-gold: 0 10px 25px rgba(201, 154, 46, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* The header is sticky (78px + banner). Without this, jumping to an #anchor
     leaves the section heading hidden underneath the header. */
  scroll-padding-top: 100px;
}

/* Global utility: the hidden attribute must always win */
[hidden] { display: none !important; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--surface-white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-primary);
  line-height: 1.18;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}
.btn-outline:hover {
  background: var(--navy-primary);
  color: #fff;
}

.btn-outline-dark {
  border-color: var(--border-light);
  color: var(--navy-primary);
  background: #fff;
}
.btn-outline-dark:hover {
  border-color: var(--navy-primary);
  background: var(--bg-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-white {
  background: #fff;
  color: var(--navy-primary);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: var(--navy-dark);
  color: #e5e7eb;
  font-size: 0.84rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.announcement-bar .badge {
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  letter-spacing: 0.8px;
}

.announcement-bar a {
  color: var(--accent-gold-light);
  font-weight: 600;
  margin-left: 6px;
}
.announcement-bar a:hover {
  text-decoration: underline;
}

.close-banner {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}
.close-banner:hover {
  color: #fff;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links > li > a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--navy-primary);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--navy-primary);
  padding-left: 18px;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-primary);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  background-color: var(--navy-primary);
  background-image: url('../../index_files/EA-gallery.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 110px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 8, 36, 0.96) 0%, rgba(7, 11, 49, 0.88) 58%, rgba(18, 25, 92, 0.72) 100%);
}

/* Subtle Architectural Grid Overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  z-index: 1;
}

/* Soft Warm Ambient Glow */
.hero-glow {
  position: absolute;
  top: -120px;
  right: 8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 154, 46, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 154, 46, 0.4);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 46, 0.25);
}

.hero-text h1 {
  color: #fff;
  font-size: clamp(2.8rem, 5.2vw, 4.3rem);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #d1d5db;
  max-width: 570px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Executive Briefing Glass Card */
.hero-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--accent-gold);
  backdrop-filter: blur(16px);
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--accent-gold-light);
}

.gold-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.hero-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-card p {
  color: #d1d5db;
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 154, 46, 0.2);
  color: var(--accent-gold-light);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.hero-card-footer {
  padding-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-card-footer a {
  color: var(--accent-gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-card-footer a:hover {
  color: #fff;
}

/* --- INSTITUTIONAL FOCUS RIBBON --- */
.focus-ribbon {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  color: #d1d5db;
  font-size: 0.85rem;
}

.focus-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ribbon-label {
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.ribbon-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ribbon-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ribbon-items i {
  font-size: 0.45rem;
  color: var(--accent-gold);
}

/* --- SHARED SECTIONS --- */
.section {
  padding: 92px 0;
}

.section-header {
  max-width: 660px;
  margin-bottom: 50px;
}

.flex-header {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.section-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.section-kicker.light {
  color: var(--accent-gold-light);
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- SERVICES BENTO GRID (3 TOP + 2 WIDE BOTTOM = BALANCED RECTANGLE) --- */
.services-section {
  background: var(--bg-light);
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card.wide-card {
  grid-column: span 3;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 154, 46, 0.5);
}

.service-card.featured-service {
  background: linear-gradient(145deg, var(--navy-primary) 0%, var(--navy-light) 100%);
  color: #fff;
  border-color: var(--navy-primary);
}

.service-card.featured-service h3 {
  color: #fff;
}

.service-card.featured-service p {
  color: #d1d5db;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(7, 11, 49, 0.06);
  color: var(--navy-primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

.service-card:hover .service-icon {
  background: var(--navy-primary);
  color: var(--accent-gold-light);
}

.featured-service .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold-light);
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 4px 11px;
  border-radius: 99px;
}

.featured-service .service-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.service-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(7, 11, 49, 0.25);
}

.featured-service .service-num {
  color: rgba(255, 255, 255, 0.3);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link i {
  transition: transform 0.2s ease;
}

.service-card:hover .card-link i {
  transform: translateX(4px);
}

.featured-service .card-link {
  color: var(--accent-gold-light);
}

/* --- BLOG GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-thumb {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 11, 49, 0.88);
  color: var(--accent-gold-light);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.blog-date {
  font-weight: 600;
  color: var(--accent-gold);
}

.blog-read-time {
  color: var(--text-muted);
}

.blog-body h3 {
  font-size: 1.22rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-body h3 a:hover {
  color: var(--navy-light);
}

.read-article {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card:hover .read-article {
  color: var(--accent-gold-hover);
}

/* --- PAPERS SPOTLIGHT --- */
.papers-section {
  padding-top: 10px;
}

.papers-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 55%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.papers-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 154, 46, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  pointer-events: none;
}

.papers-content, .papers-visual {
  position: relative;
  z-index: 2;
}

.papers-content h2 {
  color: #fff;
  font-size: 2.15rem;
  margin-bottom: 16px;
}

.papers-content p {
  color: #e5e7eb;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.papers-content p a {
  color: var(--accent-gold-light);
  text-decoration: underline;
}

.paper-stat-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--accent-gold);
  backdrop-filter: blur(10px);
  padding: 32px 26px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 154, 46, 0.18);
  color: var(--accent-gold-light);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
}

.paper-stat-badge .stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--accent-gold-light);
  margin-bottom: 6px;
}

.paper-stat-badge strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.paper-stat-badge small {
  color: #d1d5db;
  display: block;
  line-height: 1.5;
}

/* --- GALLERY BANNER --- */
.gallery-section {
  padding-top: 0;
}

.gallery-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
}

.gallery-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-banner:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 36, 0.94) 0%, rgba(7, 11, 49, 0.45) 60%, rgba(7, 11, 49, 0.2) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 48px;
}

.gallery-text-block h2 {
  color: #fff;
  font-size: 2.15rem;
  margin-bottom: 8px;
}

.gallery-text-block p {
  color: #d1d5db;
  max-width: 520px;
  font-size: 0.98rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy-dark);
  color: #d1d5db;
  padding-top: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 42px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.92rem;
  color: #9ca3af;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
}

.social-links a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  padding: 22px 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 960px) {
  .hero-content,
  .papers-box {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.wide-card {
    grid-column: span 3;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 5%;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  /* Mobile: show the Our Services sub-links inline instead of as a hover popup */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 6px 0 4px 4px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 2px solid var(--accent-gold);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-menu a {
    padding: 8px 10px;
  }

  .service-card,
  .service-card.wide-card {
    grid-column: span 6;
  }

  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .flex-header,
  .gallery-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .papers-box {
    padding: 36px 24px;
  }
}


/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */
.page-hero {
  position: relative;
  background-color: var(--navy-primary);
  background-image: url('../../index_files/EA-gallery.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #9ca3af;
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--accent-gold-light);
}

.breadcrumb .current {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.page-hero-content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
}

/* Metrics Strip */
.metrics-strip {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0;
  color: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  border-left: 2px solid var(--accent-gold);
  padding-left: 18px;
}

.metric-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.86rem;
  color: #d1d5db;
  font-weight: 500;
}

/* Story Split Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-text h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.story-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--navy-primary);
  margin-bottom: 18px;
}

.story-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.story-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding-bottom: 36px;
}

.story-image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.story-floating-card {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  background: var(--navy-primary);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.story-floating-card .quote-mark {
  color: var(--accent-gold);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 6px;
}

.story-floating-card p {
  color: #f3f4f6;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.story-floating-card small {
  color: var(--accent-gold-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Guiding Pillars */
.pillars-section {
  background: var(--bg-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(7, 11, 49, 0.06);
  color: var(--navy-primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Timeline Section */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy-primary);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: border-top-color 0.3s ease, transform 0.3s ease;
}

.timeline-card:hover {
  border-top-color: var(--accent-gold);
  transform: translateY(-4px);
}

.timeline-year {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .metrics-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .metrics-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   TEAM PAGE STYLES
   ========================================= */
.founder-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-portrait-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-primary) 0%, var(--navy-light) 100%);
  box-shadow: var(--shadow-md);
}

.founder-portrait-wrap img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: top center;
}

.founder-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.founder-socials {
  display: flex;
  gap: 10px;
}

.founder-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-primary);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 6px;
}

.founder-socials a:hover {
  background: var(--navy-primary);
  color: #fff;
  border-color: var(--navy-primary);
}

.founder-details h2 {
  font-size: 2.3rem;
  margin-bottom: 6px;
}

.founder-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
  margin-bottom: 12px;
}

.founder-creds {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--navy-primary);
  margin-bottom: 22px;
}

.founder-creds i {
  color: var(--navy-primary);
  margin-right: 6px;
}

.founder-bio p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.founder-bio .lead-para {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.04rem;
}

/* Team Cards Grid - UPDATED AS REQUESTED */
.team-grid-section {
  background: var(--bg-light);
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  gap: 32px;
  margin: 0 auto; /* Centers the grid on the page */
}

.team-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 154, 46, 0.55);
}

.team-photo-box {
  position: relative;
  height: 320px; /* UPDATED AS REQUESTED */
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.team-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo-box img {
  transform: scale(1.05);
}

.team-dept-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 11, 49, 0.88);
  color: var(--accent-gold-light);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.team-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
  margin-bottom: 14px;
}

.team-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.team-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.bio-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bio-trigger:hover {
  color: var(--accent-gold-hover);
}

.team-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy-primary);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.team-social-icon:hover {
  background: var(--navy-primary);
  color: #fff;
}

/* Bio Modal */
.bio-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 8, 36, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.bio-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.bio-modal-card {
  position: relative;
  background: #fff;
  max-width: 560px;
  width: 100%;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--accent-gold);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.bio-modal-backdrop.open .bio-modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  color: var(--navy-primary);
  cursor: pointer;
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--navy-primary);
  color: #fff;
}

.bio-modal-card h3 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.modal-role {
  font-weight: 700;
  color: var(--accent-gold-hover);
  font-size: 0.95rem;
}

.modal-divider {
  height: 1px;
  background: var(--border-light);
  margin: 18px 0;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .founder-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .founder-portrait-wrap {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .team-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   CONTACT US PAGE STYLES
   ========================================= */
.contact-hero {
  /* Using the gallery image as fallback, or point to your specific contact bg */
  background-image: url('../../index_files/EA-gallery.jpg'); 
}

.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Contact Info Column */
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.info-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 4px;
}

.info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-text p a {
  color: var(--text-muted);
}

.info-text p a:hover {
  color: var(--accent-gold);
}

.contact-socials {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.contact-socials .social-links a {
  width: 36px;
  height: 36px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  color: var(--navy-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.contact-socials .social-links a:hover {
  background: var(--navy-primary);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Contact Form Column */
.form-card {
  background: var(--surface-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent-gold);
}

.form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-subtext {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.required {
  color: #dc2626;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.15);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-block {
  width: 100%;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-card {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* =========================================
   CONTACT FORM STATES (added)
   ========================================= */
.ea-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-error { display: block; color: #dc2626; font-size: 0.8rem; margin-top: 6px; font-weight: 600; }
.form-group input.has-error,
.form-group textarea.has-error { border-color: #dc2626; background: #fff5f5; }
.form-group input.has-error:focus,
.form-group textarea.has-error:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }

.count-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.char-count { margin-left: auto; color: var(--text-muted); font-size: 0.78rem; }
.char-count.is-near { color: var(--accent-gold-hover); font-weight: 700; }

.alert-success {
  background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 4px solid #059669;
  color: #065f46; padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-size: 0.94rem;
}
.alert-success strong { display: block; margin-bottom: 4px; }

.alert-error {
  background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid #dc2626;
  color: #991b1b; padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 0.92rem;
}

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none !important; }


/* =========================================
   SIGNUP PAGE STYLES (Creative & Premium)
   ========================================= */
.signup-page {
  min-height: calc(100vh - 78px); /* Subtract header height */
  background: var(--bg-light);
}

.signup-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: calc(100vh - 78px);
}

/* --- Left Visual Panel --- */
.signup-visual {
  position: relative;
  background: var(--navy-primary);
  color: #fff;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.signup-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 8, 36, 0.95) 0%, rgba(7, 11, 49, 0.85) 100%);
  z-index: 1;
}

.signup-visual__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 154, 46, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

.signup-visual__glow {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 154, 46, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.signup-visual__content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.signup-visual__content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 24px 0;
  line-height: 1.15;
}

.signup-visual__content .lead {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 32px;
  line-height: 1.7;
}

.signup-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signup-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #e5e7eb;
}

.signup-perks li i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* --- Right Form Panel --- */
.signup-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--surface-white);
}

.signup-card {
  width: 100%;
  max-width: 520px;
}

.signup-card__header {
  margin-bottom: 32px;
}

.signup-card__header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.text-gold {
  color: var(--accent-gold);
  font-weight: 600;
}
.text-gold:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

/* Floating Labels */
.form-group.floating {
  position: relative;
  margin-bottom: 24px;
}

.form-group.floating input {
  width: 100%;
  padding: 16px 16px 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-light);
  transition: all 0.2s ease;
}

.form-group.floating input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.12);
}

.form-group.floating label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
  padding: 0 4px;
}

.form-group.floating input:focus ~ label,
.form-group.floating input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  color: var(--accent-gold);
  background: var(--surface-white);
  font-weight: 600;
}

.form-group.floating input.has-error {
  border-color: #dc2626;
  background: #fff5f5;
}
.form-group.floating input.has-error:focus ~ label {
  color: #dc2626;
}

/* Password Toggle & Strength */
.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.toggle-password:hover { color: var(--navy-primary); }

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  align-items: center;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
  min-width: 110px;
}

/* Strength States */
.strength-weak .strength-bar:nth-child(1) { background: #dc2626; }
.strength-weak .strength-text { color: #dc2626; }

.strength-fair .strength-bar:nth-child(-n+2) { background: #f59e0b; }
.strength-fair .strength-text { color: #f59e0b; }

.strength-good .strength-bar:nth-child(-n+3) { background: #3b82f6; }
.strength-good .strength-text { color: #3b82f6; }

.strength-strong .strength-bar { background: #10b981; }
.strength-strong .strength-text { color: #10b981; }

.match-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.match-hint.match { color: #10b981; }
.match-hint.mismatch { color: #dc2626; }

/* =========================================
   Custom Checkbox — NATIVE input (single,
   conflict-free implementation).
   The browser always draws the box; accent-color
   makes the checked state a DARK navy fill with a
   white check — impossible to miss on white cards.
   ========================================= */
.checkbox-group {
  margin: 8px 0 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.custom-checkbox input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--navy-primary);   /* dark check, per your request */
  cursor: pointer;
}

.custom-checkbox a {
  color: var(--accent-gold-hover);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.custom-checkbox a:hover {
  color: var(--navy-primary);
}

.checkbox-group .field-error {
  margin: 8px 0 0 30px;
}

.custom-checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(201, 154, 46, 0.35);
  outline-offset: 3px;
}

.recaptcha-notice {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.5;
}
.recaptcha-notice a {
  color: var(--navy-primary);
  text-decoration: underline;
}

/* Button Loader State — hidden by default; CSS swaps the label when disabled */
.btn-loader { display: none; align-items: center; gap: 8px; }
.btn[disabled] .btn-text { display: none; }
.btn[disabled] .btn-loader { display: inline-flex; }

/* Responsive */
@media (max-width: 960px) {
  .signup-split {
    grid-template-columns: 1fr;
  }
  .signup-visual {
    padding: 60px 30px;
    min-height: auto;
  }
  .signup-form-wrapper {
    padding: 40px 20px;
  }
}

/* =========================================
   AUTOFILL HANDLING (Chrome)
   ========================================= */

/* Lift the floating label when Chrome autofills (fixes the overlap) */
.form-group.floating input:-webkit-autofill ~ label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  color: var(--accent-gold);
  background: var(--surface-white);
  font-weight: 600;
}

/* Neutralize Chrome's blue autofill background so it matches our design */
.form-group.floating input:-webkit-autofill,
.form-group.floating input:-webkit-autofill:hover,
.form-group.floating input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-dark);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-light) inset;
  caret-color: var(--text-dark);
  transition: background-color 9999s ease-in-out 0s;
}
.form-group.floating input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(201, 154, 46, 0.12);
}

/* Re-assert the loader rules (idempotent — safe if already present) */
.btn-loader { display: none; align-items: center; gap: 8px; }
.btn[disabled] .btn-text { display: none; }
.btn[disabled] .btn-loader { display: inline-flex; }


/* =========================================
   AUTH CARDS: forgot / reset shared bits
   ========================================= */
.auth-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-primary), var(--navy-light));
  color: var(--accent-gold-light);
  display: grid; place-items: center; font-size: 1.5rem;
  margin: 0 auto 18px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 154, 46, 0.25);
}
.auth-card__icon i { transition: transform .4s ease; }
.login-card:hover .auth-card__icon i { transform: rotate(-12deg) scale(1.08); }

.resend-row {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 0.9rem; color: var(--text-muted);
}
.resend-row .resend-btn {
  background: none; border: none; color: var(--accent-gold); font-weight: 700;
  cursor: pointer; font-family: inherit; font-size: 0.9rem; padding: 0;
}
.resend-row .resend-btn:hover { color: var(--accent-gold-hover); text-decoration: underline; }
.resend-row .resend-btn[disabled] { color: var(--text-muted); cursor: not-allowed; text-decoration: none; }

.dev-panel {
  margin-top: 24px; padding: 16px 18px; border-radius: 10px;
  background: #fffbeb; border: 1px dashed var(--accent-gold);
  font-size: 0.82rem; color: #92400e; line-height: 1.6;
}
.dev-panel strong { display: block; margin-bottom: 4px; letter-spacing: .5px; }
.dev-panel code {
  display: block; word-break: break-all; background: #fff; padding: 8px 10px;
  border-radius: 6px; border: 1px solid var(--border-light); margin-top: 8px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.78rem; color: var(--navy-primary);
}
.dev-panel a { color: var(--accent-gold-hover); font-weight: 700; text-decoration: underline; }

.auth-foot { text-align: center; margin-top: 24px; font-size: 0.92rem; color: var(--text-muted); }

/* =========================================
   CONFERENCES PAGE (prefix cf-)
   ========================================= */

/* Hero countdown */
.conference-hero { padding-bottom: 110px; }
.cf-countdown {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 28px 0 6px; padding: 14px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,154,46,0.35);
  border-radius: 14px; backdrop-filter: blur(8px);
}
.cf-cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.cf-cd-unit span {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.9rem; color: var(--accent-gold-light); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cf-cd-unit small {
  font-size: 0.62rem; letter-spacing: 1.4px; text-transform: uppercase;
  color: #9ca3af; margin-top: 6px;
}
.cf-cd-sep { color: rgba(226,184,87,0.45); font-size: 1.4rem; align-self: flex-start; margin-top: 4px; }
.cf-cd-label { color: #d1d5db; font-size: 0.82rem; margin-bottom: 26px; letter-spacing: 0.4px; }
.cf-countdown.is-done { display: none; }

/* Feature grid */
.cf-feature { background: var(--surface-white); }
.cf-feature-grid { display: grid; grid-template-columns: 1.5fr 0.85fr; gap: 48px; align-items: start; }
.cf-feature-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 6px 0 16px; }
.cf-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; }
.cf-meta i { color: var(--accent-gold); margin-right: 8px; width: 16px; text-align: center; }
.cf-dot { margin: 0 10px; color: var(--border-light); }
.cf-venues { display: grid; gap: 16px; margin-top: 26px; }
.cf-venue {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-light); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.cf-venue-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: var(--navy-primary); color: var(--accent-gold-light);
  display: grid; place-items: center; font-size: 1.1rem;
}
.cf-venue h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; color: var(--navy-primary); margin-bottom: 4px; }
.cf-venue p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

/* Price card */
.cf-price-card {
  background: linear-gradient(160deg, var(--navy-primary), var(--navy-light));
  color: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md); border-top: 3px solid var(--accent-gold);
  position: sticky; top: 100px;
}
.cf-price-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px;
  background: rgba(201,154,46,0.18); color: var(--accent-gold-light);
  padding: 5px 12px; border-radius: 99px; margin-bottom: 18px;
}
.cf-price-label { font-size: 0.78rem; color: #d1d5db; letter-spacing: 1px; text-transform: uppercase; }
.cf-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: #fff; margin: 4px 0 22px; }
.cf-price-includes { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.cf-price-includes li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: #e5e7eb; }
.cf-price-includes i { color: var(--accent-gold-light); }
.cf-brochure {
  display: block; text-align: center; margin-top: 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--accent-gold-light);
}
.cf-brochure:hover { color: #fff; }
.cf-brochure i { margin-right: 6px; }

/* Outcomes */
.cf-outcomes { background: var(--bg-light); }
.cf-outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cf-outcome {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cf-outcome:hover { transform: translateY(-4px); border-color: rgba(201,154,46,0.5); }
.cf-outcome-num {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem;
  color: var(--accent-gold); line-height: 1; flex-shrink: 0;
}
.cf-outcome p { color: var(--text-dark); font-size: 0.98rem; }

/* Agenda accordion */
.cf-agenda { background: var(--surface-white); }
.cf-accordion { max-width: 880px; }
.cf-session {
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  margin-bottom: 14px; overflow: hidden; background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cf-session[open] { border-color: var(--accent-gold); box-shadow: var(--shadow-sm); }
.cf-session summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
}
.cf-session summary::-webkit-details-marker { display: none; }
.cf-sess-num {
  font-family: 'Playfair Display', serif; font-weight: 700; color: var(--accent-gold);
  font-size: 1.05rem; flex-shrink: 0;
}
.cf-sess-title { font-weight: 700; color: var(--navy-primary); font-size: 1.05rem; flex-grow: 1; }
.cf-sess-chev { color: var(--text-muted); transition: transform 0.3s ease; }
.cf-session[open] .cf-sess-chev { transform: rotate(180deg); color: var(--accent-gold); }
.cf-sess-body { padding: 0 24px 22px 64px; animation: cfFade 0.35s ease; }
@keyframes cfFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cf-sess-intro { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 14px; }
.cf-sess-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cf-sess-points li {
  position: relative; padding-left: 22px; color: var(--text-dark); font-size: 0.92rem; line-height: 1.6;
}
.cf-sess-points li::before {
  content: '›'; position: absolute; left: 0; top: 0;
  color: var(--accent-gold); font-weight: 700;
}

/* Audience chips */
.cf-audience { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cf-audience-label { font-weight: 700; color: var(--navy-primary); font-size: 0.92rem; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cf-chip {
  background: var(--bg-light); border: 1px solid var(--border-light);
  color: var(--navy-primary); font-size: 0.82rem; font-weight: 600;
  padding: 7px 16px; border-radius: 99px; transition: all 0.2s ease;
}
.cf-chip:hover { background: var(--navy-primary); color: #fff; border-color: var(--navy-primary); }

/* Past editions */
.cf-past { background: var(--bg-light); }
.cf-past-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cf-past-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cf-past-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,154,46,0.5); }
.cf-past-q {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  background: rgba(7,11,49,0.06); color: var(--navy-primary); padding: 4px 11px;
  border-radius: 99px; margin-bottom: 16px;
}
.cf-past-card h3 { font-size: 1.15rem; margin-bottom: 12px; flex-grow: 1; }
.cf-past-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 18px; }
.cf-past-card p i { color: var(--accent-gold); margin-right: 6px; }
.cf-past-link { font-weight: 700; font-size: 0.9rem; color: var(--navy-primary); display: inline-flex; gap: 8px; align-items: center; }
.cf-past-link:hover { color: var(--accent-gold-hover); }
.cf-past-link i { transition: transform 0.2s ease; }
.cf-past-card:hover .cf-past-link i { transform: translateX(4px); }

/* Contact callout */
.cf-contact { padding-top: 0; }
.cf-contact-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary) 60%, var(--navy-light));
  border-radius: var(--radius-lg); padding: 48px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cf-contact-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201,154,46,0.15) 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.5; pointer-events: none;
}
.cf-contact-card > div { position: relative; z-index: 1; }
.cf-contact-card h2 { color: #fff; font-size: 1.8rem; margin-bottom: 10px; }
.cf-contact-card p { color: #d1d5db; max-width: 520px; font-size: 0.96rem; }
.cf-contact-actions { display: flex; flex-direction: column; gap: 12px; }

/* Floating register bar */
.cf-floatbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(5,8,36,0.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,154,46,0.4);
  transform: translateY(110%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cf-floatbar.is-shown { transform: translateY(0); }
.cf-floatbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; }
.cf-floatbar-text { display: flex; flex-direction: column; color: #fff; }
.cf-floatbar-text strong { font-size: 0.95rem; }
.cf-floatbar-text span { font-size: 0.8rem; color: var(--accent-gold-light); }

/* Responsive */
@media (max-width: 960px) {
  .cf-feature-grid { grid-template-columns: 1fr; }
  .cf-price-card { position: static; }
  .cf-outcome-grid, .cf-past-grid { grid-template-columns: 1fr; }
  .cf-sess-body { padding-left: 24px; }
  .cf-contact-card { flex-direction: column; align-items: flex-start; }
  .cf-floatbar-text span { display: none; }
}
@media (max-width: 600px) {
  .cf-countdown { padding: 12px 14px; gap: 6px; }
  .cf-cd-unit { min-width: 40px; }
  .cf-cd-unit span { font-size: 1.4rem; }
}


/* ============================================================================
   seminars.css — styles for seminars.php only
   ----------------------------------------------------------------------------
   - Every class starts with "sm-" so it cannot clash with style.css.
   - Colours and radii come from the variables already defined in your style.css
     (:root { --navy-primary, --accent-gold, ... }), so the page always matches
     the rest of the site. Change a brand colour once in style.css and this
     page follows.
   - Layout words you will see: "grid" = rows and columns, "flex" = items in a
     line, "clamp(min, ideal, max)" = a size that grows with the screen.
   ============================================================================ */

/* ---------- A. HERO (page-hero itself is styled in style.css) ---------- */
.sm-hero { padding-bottom: 104px; }

/* ---------- B. FIVE-STEP TIMELINE ---------- */
.sm-journey { background: var(--surface-white); }

.sm-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* five equal columns */
  gap: 18px;
  position: relative;
  counter-reset: none;
}
/* The thin gold line that runs behind the five number badges */
.sm-steps::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: 22px;        /* 22px = half the badge height */
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold) 12%, var(--accent-gold) 88%, transparent);
  opacity: .45;
}

.sm-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sm-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 154, 46, .55);
}

/* Number badge sitting half-outside the top edge of the card */
.sm-step-num {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.15rem;
  color: var(--accent-gold-light);
  background: var(--navy-primary);
  border: 3px solid #fff;                  /* white ring separates it from the line */
  box-shadow: var(--shadow-sm);
}

.sm-step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--navy-primary);
  background: rgba(7, 11, 49, .06);
  transition: all .25s ease;
}
.sm-step:hover .sm-step-icon { background: var(--navy-primary); color: var(--accent-gold-light); }

.sm-step h3 { font-size: 1.35rem; margin-bottom: 4px; }
.sm-step-title {
  font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent-gold-hover); margin-bottom: 12px;
}
.sm-step-text { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- C. SEMINAR vs CONFERENCE ---------- */
.sm-compare { background: var(--bg-light); }
.sm-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.sm-compare-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 6px 0 16px; }
.sm-compare-text p  { color: var(--text-muted); margin-bottom: 22px; }

.sm-table {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sm-row {
  display: grid;
  grid-template-columns: .8fr 1fr 1.1fr;   /* label | conference | seminar */
  border-top: 1px solid var(--border-light);
}
.sm-row:first-child { border-top: 0; }
.sm-row > span { padding: 18px 20px; font-size: .92rem; color: var(--text-muted); }
.sm-row .sm-cell-label { font-weight: 700; color: var(--navy-primary); }
.sm-row .is-hl { background: rgba(201, 154, 46, .08); color: var(--text-dark); font-weight: 600; }
.sm-row-head > span {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #9ca3af; background: var(--bg-light);
}
.sm-row-head .is-hl { background: var(--navy-primary); color: var(--accent-gold-light); }

/* ---------- D. UPCOMING SEMINARS ---------- */
.sm-upcoming { background: var(--surface-white); }
.sm-cards { display: grid; gap: 20px; }

.sm-card {
  display: grid;
  grid-template-columns: auto 1fr auto;    /* date | details | price + button */
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201, 154, 46, .55); }

.sm-date {
  width: 78px; padding: 12px 0;
  border-radius: 14px; text-align: center;
  background: linear-gradient(160deg, var(--navy-primary), var(--navy-light));
  color: #fff;
  border-top: 3px solid var(--accent-gold);
}
.sm-date-day { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.sm-date-mon { display: block; margin-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; color: var(--accent-gold-light); }

.sm-days {
  display: inline-block; margin-bottom: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  background: rgba(7, 11, 49, .06); color: var(--navy-primary);
  padding: 4px 11px; border-radius: 99px;
}
.sm-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.sm-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--text-muted); }
.sm-meta i { color: var(--accent-gold); margin-right: 6px; width: 14px; text-align: center; }

.sm-card-side { text-align: right; display: grid; gap: 12px; justify-items: end; }
.sm-fee { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy-primary); }

/* Empty state */
.sm-empty {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 30px 32px;
  background: var(--bg-light);
  border: 1.5px dashed rgba(201, 154, 46, .6);
  border-radius: var(--radius-lg);
}
.sm-empty > div { flex: 1 1 320px; }
.sm-empty-icon {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--accent-gold-light); background: var(--navy-primary);
}
.sm-empty h3 { font-size: 1.3rem; margin-bottom: 6px; }
.sm-empty p  { color: var(--text-muted); font-size: .95rem; }

/* "Designed for" chips */
.sm-audience { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sm-audience-label { font-weight: 700; color: var(--navy-primary); font-size: .92rem; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-chip {
  background: var(--bg-light); border: 1px solid var(--border-light);
  color: var(--navy-primary); font-size: .82rem; font-weight: 600;
  padding: 7px 16px; border-radius: 99px; transition: all .2s ease;
}
.sm-chip:hover { background: var(--navy-primary); color: #fff; border-color: var(--navy-primary); }

/* ---------- E. IN-HOUSE CALL-TO-ACTION ---------- */
.sm-inhouse-wrap { padding-top: 0; background: var(--surface-white); }
.sm-inhouse {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 52px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary) 60%, var(--navy-light));
  box-shadow: var(--shadow-md);
}
/* Faint gold dot pattern, same idea as the Papers box on the home page */
.sm-inhouse::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(201, 154, 46, .18) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sm-inhouse > div { position: relative; z-index: 1; }
.sm-inhouse h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 10px; max-width: 560px; }
.sm-inhouse p  { color: #d1d5db; max-width: 520px; }
.sm-inhouse-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- F. RELATED SERVICES ---------- */
.sm-related { background: var(--bg-light); }
.sm-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sm-rel {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sm-rel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 154, 46, .55); }
.sm-rel-icon {
  width: 46px; height: 46px; margin-bottom: 10px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.15rem;
  color: var(--navy-primary); background: rgba(7, 11, 49, .06); transition: all .25s ease;
}
.sm-rel:hover .sm-rel-icon { background: var(--navy-primary); color: var(--accent-gold-light); }
.sm-rel h3 { font-size: 1.2rem; }
.sm-rel p  { color: var(--text-muted); font-size: .9rem; }
.sm-rel-go { margin-top: 10px; color: var(--accent-gold-hover); transition: transform .25s ease; }
.sm-rel:hover .sm-rel-go { transform: translateX(6px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .sm-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .sm-steps::before { display: none; }              /* the connecting line only makes sense in one row */
  .sm-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .sm-compare-grid { grid-template-columns: 1fr; gap: 32px; }
  .sm-card { grid-template-columns: auto 1fr; }
  .sm-card-side { grid-column: 1 / -1; text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; width: 100%; }
}
@media (max-width: 640px) {
  .sm-steps { grid-template-columns: 1fr; }
  .sm-row { grid-template-columns: .7fr 1fr 1fr; }
  .sm-row > span { padding: 14px 12px; font-size: .84rem; }
  .sm-related-grid { grid-template-columns: 1fr; }
  .sm-inhouse { padding: 34px 24px; }
  .sm-card { padding: 20px; gap: 18px; }
  .sm-card-side { grid-auto-flow: row; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-step, .sm-card, .sm-rel, .sm-chip { transition: none; }
}


/* =========================================
   ROBUSTNESS (added)
   ========================================= */

/* If JavaScript is switched off or fails to load, the scroll-reveal script never runs,
   so anything marked .reveal would stay invisible. Show it normally in that case. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* Respect the visitor's "reduce motion" setting (also stops the countdown blink etc.) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================
   REPORTS PAGE STYLES (prefix rp-)
   ========================================= */

/* --- Hero Specific --- */
.reports-hero {
  background-image: url('../../index_files/EA-gallery.jpg'); /* Fallback image */
}

/* --- Featured Report Spotlight --- */
.featured-report-section {
  background: var(--bg-light);
  padding-bottom: 60px;
}

.featured-report-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--accent-gold);
}

.fr-visual {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.fr-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 99px;
  z-index: 2;
}

.fr-cover-placeholder {
  width: 200px;
  height: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--accent-gold);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.featured-report-card:hover .fr-cover-placeholder {
  transform: rotate(0deg) scale(1.02);
}

.fr-cover-placeholder i {
  font-size: 3rem;
  color: var(--accent-gold-light);
  margin-bottom: 16px;
}

.fr-cover-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.fr-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fr-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.fr-excerpt {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.fr-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.fr-meta li i {
  color: var(--accent-gold);
  margin-right: 6px;
}

.fr-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Archive Grid --- */
.reports-archive-section {
  background: var(--surface-white);
}

.report-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy-primary);
  color: #fff;
  border-color: var(--navy-primary);
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.report-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.report-thumb {
  position: relative;
  height: 180px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.report-icon-fallback {
  font-size: 3.5rem;
  color: rgba(7, 11, 49, 0.1);
  transition: color 0.3s ease, transform 0.3s ease;
}

.report-card:hover .report-icon-fallback {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.report-type-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy-primary);
  color: var(--accent-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
}

.report-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.report-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
  margin-bottom: 8px;
  display: block;
}

.report-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.report-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.report-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-link i {
  transition: transform 0.2s ease;
}

.report-card:hover .report-link {
  color: var(--accent-gold-hover);
}

.report-card:hover .report-link i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 960px) {
  .featured-report-card {
    grid-template-columns: 1fr;
  }
  
  .fr-visual {
    padding: 50px 20px;
  }
  
  .fr-content {
    padding: 32px;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
  }
  
  .flex-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}


/* =========================================
   ADVISORY SERVICES PAGE STYLES
   ========================================= */

.advisory-hero {
  background-image: url('../../index_files/EA-gallery.jpg'); /* Fallback image */
}

.advisory-services-section {
  background: var(--surface-white);
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.advisory-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advisory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advisory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 154, 46, 0.4);
}

.advisory-card:hover::before {
  opacity: 1;
}

.advisory-icon {
  width: 56px;
  height: 56px;
  background: rgba(7, 11, 49, 0.05);
  color: var(--navy-primary);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.advisory-card:hover .advisory-icon {
  background: var(--navy-primary);
  color: var(--accent-gold-light);
}

.advisory-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.advisory-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.advisory-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.advisory-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.advisory-list li::before {
  content: '\f00c'; /* FontAwesome checkmark */
  font-family: 'FontAwesome';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-gold);
  font-size: 0.8rem;
}

/* --- Methodology Section --- */
.methodology-section {
  background: var(--bg-light);
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

/* Connecting line */
.methodology-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: dashed 2px var(--accent-gold);
  opacity: 0.4;
  z-index: 1;
}

.method-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.method-num {
  width: 48px;
  height: 48px;
  background: var(--navy-primary);
  color: var(--accent-gold-light);
  border: 3px solid var(--bg-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}

.method-step h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
}

.method-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Section --- */
.advisory-cta-section {
  background: var(--surface-white);
  padding-top: 0;
}

.advisory-cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 60%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201, 154, 46, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: #d1d5db;
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 960px) {
  .advisory-grid {
    grid-template-columns: 1fr;
  }
  
  .methodology-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .methodology-steps::before {
    display: none; /* Hide the line on mobile/tablet */
  }
  
  .advisory-cta-card {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .methodology-steps {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   INSIGHTS PAGE STYLES
   ========================================= */

.insights-hero {
  background-image: url('../../index_files/EA-gallery.jpg'); /* Fallback image */
}

.insights-archive-section {
  background: var(--bg-light);
}

.insights-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.insight-thumb {
  position: relative;
  height: 200px;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.insight-icon-fallback {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease, transform 0.3s ease;
}

.insight-card:hover .insight-icon-fallback {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.insight-cat-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.insight-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.insight-date {
  font-weight: 700;
  color: var(--navy-primary);
}

.insight-read-time {
  color: var(--text-muted);
}

.insight-read-time i {
  margin-right: 4px;
}

.insight-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.insight-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.insight-link i {
  transition: transform 0.2s ease;
}

.insight-card:hover .insight-link {
  color: var(--accent-gold-hover);
}

.insight-card:hover .insight-link i {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .flex-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--navy-dark);
  color: #d1d5db;
  padding-top: 68px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  /* 2fr for brand, 1fr for each link column */
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 42px;
  /* Inverts the dark SVG logo to white for the dark background */
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 360px;
  font-size: 0.92rem;
  color: #9ca3af;
  margin-bottom: 22px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-col a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* =========================================
   PRIVACY POLICY PAGE (prefix pv-)
   Paste this block at the very END of style.css (after the rp- block).
   Colours come from the :root variables at the top of this file.
   ========================================= */

/* ---------- Hero ---------- */
.pv-hero { padding-bottom: 120px; }          /* extra room: the cards below overlap the hero */
.pv-updated {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; color: #d1d5db;
}
.pv-updated i { color: var(--accent-gold-light); }

/* ---------- "At a glance" cards (pulled up over the hero's bottom edge) ---------- */
.pv-glance-wrap { margin-top: -64px; position: relative; z-index: 3; }
.pv-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pv-glance-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.pv-glance-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px; font-size: 1.15rem;
  color: var(--accent-gold-light); background: var(--navy-primary);
}
.pv-glance-card h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.pv-glance-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Policy layout: contents menu + text ---------- */
.pv-body { background: var(--surface-white); padding-top: 72px; }
.pv-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }

/* Contents menu */
.pv-toc {
  position: sticky; top: 110px;               /* stays in view under the 78px header */
  padding: 22px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.pv-toc-title {
  display: block; margin-bottom: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent-gold-hover);
}
.pv-toc ol { list-style: none; counter-reset: pv; display: flex; flex-direction: column; gap: 2px; }
.pv-toc li { counter-increment: pv; }
.pv-toc li a {
  display: flex; gap: 10px; padding: 8px 10px;
  border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
}
.pv-toc li a::before { content: counter(pv) "."; font-weight: 700; color: rgba(7, 11, 49, .35); }
.pv-toc li a:hover { color: var(--navy-primary); background: #fff; }
.pv-toc li a.is-current { color: var(--navy-primary); font-weight: 700; background: #fff; border-left-color: var(--accent-gold); }
.pv-print {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border-light); width: 100%;
  font-size: .84rem; font-weight: 600; color: var(--navy-primary);
}
.pv-print:hover { color: var(--accent-gold-hover); }

/* The text */
.pv-article { max-width: 760px; }
.pv-section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border-light); }
.pv-section:last-child { border-bottom: 0; margin-bottom: 0; }
.pv-section h2 { display: flex; align-items: center; gap: 14px; font-size: 1.7rem; margin-bottom: 16px; }
.pv-num {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; font-weight: 700;
  color: var(--accent-gold-light); background: var(--navy-primary);
}
.pv-text p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 14px; }
.pv-text a { color: var(--navy-primary); font-weight: 600; border-bottom: 1px solid rgba(201, 154, 46, .6); }
.pv-text a:hover { color: var(--accent-gold-hover); }

/* Numbered "where we gather information" list */
.pv-list { list-style: none; counter-reset: pvl; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.pv-list li {
  counter-increment: pvl; position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px 16px 58px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.pv-list li::before {
  content: counter(pvl); position: absolute; left: 16px; top: 16px;
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; font-size: .85rem; font-weight: 700;
  color: var(--accent-gold-hover); background: rgba(201, 154, 46, .16);
}
.pv-list strong { color: var(--navy-primary); font-size: .98rem; }
.pv-list span   { color: var(--text-muted); font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pv-glance { grid-template-columns: 1fr; }
  .pv-glance-wrap { margin-top: -48px; }
  .pv-layout { grid-template-columns: 1fr; gap: 28px; }
  .pv-toc { position: static; }                 /* menu becomes a normal block above the text */
}
@media (max-width: 640px) {
  .pv-section h2 { font-size: 1.4rem; }
  .pv-list li { padding-left: 54px; }
}

/* Printing: show only the policy itself */
@media print {
  .site-header, .announcement-bar, .site-footer, .pv-toc, .pv-glance-wrap, .hero-overlay, .hero-grid-pattern, .hero-glow { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 16px; }
  .page-hero h1, .pv-updated { color: #000; -webkit-text-fill-color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================
   CONFERENCE RESERVATION PAGE (prefix rv-)
   Paste at the very END of style.css (after the sv- block).
   ========================================= */
.rv-hero { padding-bottom: 80px; }
.rv-section { background: var(--bg-light); padding-top: 56px; }
.rv-muted { color: var(--text-muted); font-size: .9rem; }

/* ---------- Layout: form + sticky ticket ---------- */
.rv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; margin-top: -110px; position: relative; z-index: 3; }
.rv-form {
  background: #fff; border: 1px solid var(--border-light); border-top: 4px solid var(--accent-gold);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px;
}

/* ---------- Progress dots ---------- */
.rv-steps { list-style: none; display: flex; gap: 0; margin-bottom: 34px; }
.rv-steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--text-muted); position: relative; }
.rv-steps li + li::before { content: ""; flex: 1; height: 2px; background: var(--border-light); margin-right: 10px; order: -1; }
.rv-steps b {
  width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-light); border: 2px solid var(--border-light); font-size: .85rem; transition: all .25s ease;
}
.rv-steps li.is-active { color: var(--navy-primary); }
.rv-steps li.is-active b { background: var(--navy-primary); border-color: var(--navy-primary); color: var(--accent-gold-light); }
.rv-steps li.is-done b { background: var(--accent-gold); border-color: var(--accent-gold); color: #fff; }
.rv-steps li.is-done + li::before, .rv-steps li.is-active::before { background: var(--accent-gold); }

/* ---------- Panels (only hidden when the script is running) ---------- */
.rv-js .rv-panel { display: none; }
.rv-js .rv-panel.is-active { display: block; animation: rvIn .35s ease; }
@keyframes rvIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rv-panel + .rv-panel { margin-top: 36px; }
.rv-js .rv-panel + .rv-panel { margin-top: 0; }
.rv-panel h2 { font-size: 1.6rem; margin-bottom: 8px; }
.rv-panel > .rv-muted { margin-bottom: 20px; }

/* ---------- Fields ---------- */
.rv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.rv-field { display: block; margin: 18px 0 0; font-size: .88rem; font-weight: 600; color: var(--navy-primary); }
.rv-field i { color: #dc2626; font-style: normal; }
.rv-field input, .rv-field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 16px;
  border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-light);
  font-family: inherit; font-size: .95rem; color: var(--text-dark); font-weight: 400;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rv-field input:focus, .rv-field textarea:focus {
  outline: none; border-color: var(--accent-gold); background: #fff; box-shadow: 0 0 0 3px rgba(201, 154, 46, .15);
}
.rv-field input.has-error { border-color: #dc2626; background: #fff5f5; }
.rv-err { display: block; min-height: 0; margin-top: 6px; color: #dc2626; font-size: .8rem; font-weight: 600; }
.rv-err:empty { display: none; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-alert {
  display: flex; gap: 10px; align-items: center; margin-bottom: 22px; padding: 14px 18px;
  background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid #dc2626; border-radius: 10px;
  color: #991b1b; font-size: .92rem;
}

/* ---------- Delegate cards ---------- */
.rv-delegate { margin: 0 0 18px; padding: 8px 22px 22px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: var(--bg-light); }
.rv-delegate legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; width: auto; }
.rv-del-num { font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-gold-hover); }
.rv-del-remove { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; color: var(--text-muted); cursor: pointer; border: 1px solid var(--border-light); }
.rv-del-remove:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.rv-delegate .rv-field input { background: #fff; }
.rv-mode { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rv-pill { cursor: pointer; }
.rv-pill input { position: absolute; opacity: 0; pointer-events: none; }
.rv-pill span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px;
  background: #fff; border: 1px solid var(--border-light); font-size: .86rem; font-weight: 600; color: var(--navy-primary); transition: all .2s ease;
}
.rv-pill input:checked + span { background: var(--navy-primary); border-color: var(--navy-primary); color: #fff; }
.rv-pill input:checked + span i { color: var(--accent-gold-light); }
.rv-pill input:focus-visible + span { outline: 3px solid rgba(201, 154, 46, .45); outline-offset: 2px; }
.rv-add {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; cursor: pointer;
  border: 1.5px dashed rgba(201, 154, 46, .7); background: #fff; font: 600 .9rem inherit; font-family: inherit; color: var(--navy-primary);
}
.rv-add:hover { background: rgba(201, 154, 46, .08); }

/* ---------- Review ---------- */
.rv-review { margin: 18px 0 6px; }
.rv-rv-block { padding: 16px 0; border-bottom: 1px solid var(--border-light); font-size: .95rem; color: var(--text-muted); }
.rv-rv-block h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .74rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-gold-hover); margin-bottom: 6px; }
.rv-rv-block ul, .rv-done-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rv-rv-block li, .rv-done-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--navy-primary); font-weight: 600; }
.rv-rv-block em, .rv-done-list em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: rgba(201, 154, 46, .16); color: var(--accent-gold-hover); }
.rv-rv-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 4px; color: var(--text-muted); }
.rv-rv-total strong { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--navy-primary); }
.rv-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .9rem; color: var(--text-muted); cursor: pointer; }
.rv-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-primary); flex-shrink: 0; }
.rv-consent a { color: var(--navy-primary); font-weight: 600; border-bottom: 1px solid rgba(201, 154, 46, .6); }

.rv-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border-light); }

/* ---------- The ticket ---------- */
.rv-ticket { position: sticky; top: 104px; filter: drop-shadow(0 18px 30px rgba(7, 11, 49, .18)); }
.rv-ticket-top { background: linear-gradient(145deg, var(--navy-dark), var(--navy-light)); color: #fff; padding: 30px 28px 26px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.rv-tk-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(201, 154, 46, .22); color: var(--accent-gold-light); font-size: .7rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.rv-ticket-top h3 { color: #fff; font-size: 1.25rem; margin: 14px 0 16px; }
.rv-tk-meta { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: .86rem; color: #d1d5db; }
.rv-tk-meta i { width: 18px; color: var(--accent-gold-light); }
/* the torn edge: a dashed line with a "bite" cut out of each side */
.rv-tk-tear { position: relative; height: 22px; background: #fff; }
.rv-tk-tear::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed var(--border-light); }
.rv-tk-tear::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0 50%, var(--bg-light) 11px, transparent 12px),
    radial-gradient(circle at 100% 50%, var(--bg-light) 11px, transparent 12px);
}
.rv-ticket-bottom { background: #fff; padding: 8px 28px 26px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.rv-tk-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: .92rem; color: var(--text-muted); }
.rv-tk-row strong { color: var(--navy-primary); }
.rv-tk-total { border-top: 1px solid var(--border-light); margin-top: 6px; padding-top: 14px; }
.rv-tk-total strong { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--accent-gold-hover); }
.rv-tk-barcode { height: 38px; margin: 14px 0 12px; opacity: .8; background: repeating-linear-gradient(90deg, var(--navy-primary) 0 2px, transparent 2px 5px, var(--navy-primary) 5px 6px, transparent 6px 10px, var(--navy-primary) 10px 13px, transparent 13px 15px); }
.rv-tk-note { font-size: .78rem; color: var(--text-muted); }
.rv-tk-note i { color: var(--accent-gold); margin-right: 4px; }

/* ---------- Confirmation ---------- */
.rv-done { max-width: 820px; margin: -110px auto 0; position: relative; z-index: 3; background: #fff; border: 1px solid var(--border-light); border-top: 4px solid var(--accent-gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 48px; text-align: center; }
.rv-done-badge { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #ecfdf5; color: #059669; font-size: 1.9rem; box-shadow: 0 0 0 10px rgba(5, 150, 105, .08); animation: rvPop .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes rvPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.rv-done-label { font-size: .74rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-muted); }
.rv-done-ref { display: inline-block; margin: 8px 0 30px; padding: 12px 28px; border: 2px dashed rgba(201, 154, 46, .7); border-radius: 12px; font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: 3px; color: var(--navy-primary); user-select: all; }
.rv-done-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; padding: 24px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.rv-done-grid h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .74rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-gold-hover); margin-bottom: 8px; }
.rv-done-grid p { color: var(--text-muted); font-size: .92rem; }
.rv-done-total { font-family: 'Playfair Display', serif; font-size: 1.9rem !important; font-weight: 700; color: var(--navy-primary) !important; }
.rv-next-title { margin: 28px 0 12px; font-size: 1.3rem; text-align: left; }
.rv-next { text-align: left; padding-left: 22px; color: var(--text-muted); display: flex; flex-direction: column; gap: 8px; }
.rv-next a { color: var(--navy-primary); font-weight: 600; border-bottom: 1px solid rgba(201, 154, 46, .6); }
.rv-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- Closed ---------- */
.rv-closed { max-width: 560px; margin: -90px auto 0; position: relative; z-index: 3; text-align: center; padding: 48px; background: #fff; border-radius: var(--radius-lg); border-top: 4px solid var(--accent-gold); box-shadow: var(--shadow-md); }
.rv-closed-icon { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 18px; background: var(--navy-primary); color: var(--accent-gold-light); font-size: 1.5rem; }
.rv-closed p { color: var(--text-muted); margin: 8px 0 22px; }

/* ---------- Responsive + print ---------- */
@media (max-width: 960px) {
  .rv-layout { grid-template-columns: 1fr; margin-top: -80px; }
  .rv-ticket { position: static; order: -1; }     /* ticket moves above the form on small screens */
  .rv-done-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rv-form, .rv-done { padding: 26px 20px; }
  .rv-grid-2 { grid-template-columns: 1fr; }
  .rv-steps span { display: none; }
  .rv-nav .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
}
@media print {
  .site-header, .announcement-bar, .site-footer, .rv-done-actions, .hero-overlay, .hero-grid-pattern, .hero-glow { display: none !important; }
  .rv-done { margin: 0; box-shadow: none; border: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { .rv-js .rv-panel.is-active, .rv-done-badge { animation: none; } }

/* =====================================================================
   BRAND BALANCE — less gold, more blue          (added 26 Nov 2026)
   ---------------------------------------------------------------------
   Client feedback: the brand is BLUE and WHITE. Gold should be a small
   accent that emphasises a few things, not a main colour.

   HOW THIS WORKS
   This block sits at the very END of style.css, so for anything it
   repeats, it wins (in CSS, when two rules are equally specific, the
   later one wins).

   1. The three --accent-gold variables are pointed at BLUES. Every rule
      in this file that says var(--accent-gold…) — about 140 of them —
      turns blue at once, without editing each one.
   2. A few rules wrote the gold colour directly as rgba(201, 154, 46, …)
      instead of using the variable. Those are repeated below in blue.
   3. Real gold is kept, through the new --ea-gold variables, ONLY on:
        • the small pulsing dots (.pulse-dot)
        • the "UPCOMING" badge in the top bar
        • the line under the current / hovered menu item
      To bring gold back somewhere else, use var(--ea-gold) there.
      To undo EVERYTHING, delete this whole block.
   ===================================================================== */

:root {
  /* The real gold, kept for accents only */
  --ea-gold:        #c99a2e;
  --ea-gold-light:  #e2b857;

  /* The blues */
  --ea-blue:        #2a46c2;   /* royal blue — for use on WHITE / light backgrounds   */
  --ea-blue-deep:   #1b2d8a;   /* darker royal blue — hover states, small text        */
  --ea-blue-soft:   #a9bbff;   /* light periwinkle — for use on the NAVY backgrounds  */

  /* Point the old "gold" names at the blues (see note 1 above) */
  --accent-gold:       var(--ea-blue);
  --accent-gold-light: var(--ea-blue-soft);
  --accent-gold-hover: var(--ea-blue-deep);
  --shadow-gold: 0 10px 25px rgba(42, 70, 194, 0.28);
}


/* ---------- 1. GOLD WE KEEP (now only 3 tiny details) ----------
   Round 2 of client feedback: still too much gold. The big highlighted
   headline words were the main culprit — they now fade from white into
   a light blue instead. Gold survives ONLY on three small details:     */

.pulse-dot                      { background: var(--ea-gold); }   /* the little dot in the labels   */
.announcement-bar .badge        { background: var(--ea-gold); }   /* "UPCOMING" in the top bar      */
.nav-links > li > a::after      { background: var(--ea-gold); }   /* line under the current menu item */

/* Headline highlight ("Economics Associates", "Economic Intelligence"…):
   white → light blue. background-clip:text paints the gradient INSIDE the
   letters only.                                                         */
.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #b9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Numbers that used to be gold: big stats, countdown digits, quote mark */
.metric-num,
.cf-cd-unit span                { color: #ffffff; }
.cf-cd-sep                      { color: rgba(169, 187, 255, 0.5); }
.story-floating-card .quote-mark{ color: var(--ea-blue-soft); }


/* ---------- 2. Things on NAVY backgrounds: use the SOFT blue ----------
   (royal blue is too dark to see well on navy)                          */

.ribbon-label,
.ribbon-items i,
.signup-perks li i,
.cf-meta i                      { color: var(--ea-blue-soft); }
.hero-card                      { border-top-color: var(--ea-blue-soft); }
.story-floating-card            { border-left-color: var(--ea-blue-soft); }
.paper-stat-badge               { border-top-color: var(--ea-blue-soft); }
.metric-item                    { border-left-color: rgba(169, 187, 255, 0.6); }
.announcement-bar a             { color: var(--ea-blue-soft); }


/* ---------- 3. Gold that was typed in directly → blue ---------- */

/* Soft glows behind heroes */
.hero-glow,
.signup-visual__glow {
  background: radial-gradient(circle, rgba(92, 122, 255, 0.18) 0%, transparent 70%);
}

/* Faint dot patterns on navy panels */
.papers-pattern,
.signup-visual__grid,
.cta-pattern,
.cf-contact-card::before,
.sm-inhouse::before {
  background-image: radial-gradient(rgba(169, 187, 255, 0.16) 1px, transparent 1px);
}

/* Pills, rings and badges on navy */
.eyebrow-pill                   { border-color: rgba(169, 187, 255, 0.38); }
.check-badge,
.stat-icon-ring,
.cf-price-badge                 { background: rgba(169, 187, 255, 0.16); }
.auth-card__icon                { border-color: rgba(169, 187, 255, 0.3); }
.cf-countdown                   { border-color: rgba(169, 187, 255, 0.35); }
.cf-floatbar                    { border-top-color: rgba(169, 187, 255, 0.4); }

/* Card borders when you hover over them */
.service-card:hover,
.team-card:hover,
.advisory-card:hover,
.sm-step:hover,
.cf-outcome:hover,
.cf-past-card:hover,
.sm-card:hover,
.sm-rel:hover                   { border-color: rgba(42, 70, 194, 0.45); }

/* The glow around a form box while you type in it */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group.floating input:focus,
.rv-field input:focus,
.rv-field textarea:focus        { box-shadow: 0 0 0 3px rgba(42, 70, 194, 0.14); }
.form-group.floating input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 3px rgba(42, 70, 194, 0.14);
}
.custom-checkbox input[type="checkbox"]:focus-visible,
.rv-pill input:focus-visible + span { outline-color: rgba(42, 70, 194, 0.4); }

/* Light tints and dashed outlines */
.sm-row .is-hl                  { background: rgba(42, 70, 194, 0.07); }
.sm-empty                       { border-color: rgba(42, 70, 194, 0.5); }
.rv-add                         { border-color: rgba(42, 70, 194, 0.55); }
.rv-add:hover                   { background: rgba(42, 70, 194, 0.06); }
.pv-list li::before             { background: rgba(42, 70, 194, 0.12); }
.pv-text a,
.rv-consent a,
.rv-next a                      { border-bottom-color: rgba(42, 70, 194, 0.35); }


/* ---------- 4. Pages with their own <style> block ----------
   Those blocks load AFTER style.css, so "html body" in front makes these
   rules more specific — enough to win anyway.                           */

html body .phone-field:focus-within      { border-color: var(--ea-blue); box-shadow: 0 0 0 3px rgba(42, 70, 194, 0.14); }
html body .blg-feature::before,
html body .blg-thumb::after              { background-image: radial-gradient(rgba(169, 187, 255, 0.16) 1px, transparent 1px); }
html body .blg-search input:focus        { box-shadow: 0 0 0 3px rgba(42, 70, 194, 0.14); }
html body .blg-empty                     { border-color: rgba(42, 70, 194, 0.5); }
html body .filter-btn.active .filter-count { background: rgba(169, 187, 255, 0.25); }
html body .gallery-card:hover            { border-color: rgba(42, 70, 194, 0.45); }
html body .ar-date-chip                  { background: rgba(42, 70, 194, 0.1); }
html body .ar-more-card:hover            { border-color: rgba(42, 70, 194, 0.45); }

/* ===================== END OF BRAND BALANCE ===================== */