/*
 * =============================================================================
 * ATLAS RESOURCE CAPITAL LTD - MAIN STYLESHEET
 * =============================================================================
 * File:        css/styles.css
 * Description: Main stylesheet for atlasrcapital.com
 * Version:     2.0
 * Updated:     June 2026
 *
 * TABLE OF CONTENTS
 * -----------------
 *  1.  Design Tokens (CSS Custom Properties)
 *  2.  Reset & Base
 *  3.  Utility Classes
 *  4.  Scroll Reveal Animation
 *  5.  Navigation
 *  6.  Hero Section
 *  7.  About Section
 *  8.  Section Strip Divider
 *  9.  Approach Section
 * 10.  Services Section
 * 11.  Mandates Section
 * 12.  Focus Section
 * 13.  Partners Section
 * 14.  Opportunities Section
 * 15.  Contact Section
 * 16.  Footer
 * 17.  Legal Pages (overlay panels)
 * 18.  Cookie Banner
 * 19.  Responsive Breakpoints
 *
 * COLOUR PALETTE
 * --------------
 *  Navy:        #0D1F3C  - primary background, headings
 *  Gold:        #C9A84C  - accent, rules, highlights
 *  Deep Navy:   #162845  - card/panel backgrounds
 *  Rule Dark:   #2A3F5F  - subtle dividers on navy
 *  Dark Grey:   #444444  - body text on white
 *  Mid Grey:    #CCCCCC  - secondary text on dark
 *  Light Grey:  #F5F5F5  - card backgrounds on white
 *  White:       #FFFFFF
 *
 * TYPOGRAPHY
 * ----------
 *  Display:  'Cormorant Garamond' - hero headline only (institutional gravitas)
 *  Body:     'Inter'              - all other text
 *  Loaded via Google Fonts in index.html <head>
 * =============================================================================
 */


/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */

:root {
  /* Colours */
  --navy:         #0D1F3C;
  --gold:         #C9A84C;
  --deep-navy:    #162845;
  --rule-dark:    #2A3F5F;
  --dark-grey:    #444444;
  --mid-grey:     #CCCCCC;
  --light-grey:   #F5F5F5;
  --white:        #FFFFFF;
  --error-red:    #c0392b;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width:    1140px;
  --section-pad:  96px 24px;

  /* Transitions */
  --transition:   0.2s ease;
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--dark-grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}


/* =============================================================================
   3. UTILITY CLASSES
   ============================================================================= */

/* Centred, max-width container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Small gold uppercase label above section headings */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Short gold horizontal rule - used under eyebrows */
.gold-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 28px;
}

/* Section heading - default navy */
.section-heading {
  font-family: var(--font-body);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

/* Section heading on dark backgrounds */
.section-heading--white {
  color: var(--white);
}

/* Intro paragraph under section heading */
.section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-grey);
  max-width: 680px;
}

.section-intro--light {
  color: var(--mid-grey);
}

/* Primary CTA button - gold fill */
.btn-primary {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 14px 28px;
  text-decoration: none;
  transition: opacity var(--transition);
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  opacity: 0.85;
}

/* Ghost CTA button - outlined */
.btn-ghost {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--rule-dark);
  padding: 14px 28px;
  text-decoration: none;
  transition: border-color var(--transition);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--gold);
}

/* Keyboard focus - visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* =============================================================================
   4. SCROLL REVEAL ANIMATION
   Triggered by IntersectionObserver in script.js
   Respects prefers-reduced-motion
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =============================================================================
   5. NAVIGATION
   Fixed header. Transparent over hero, solid navy on scroll.
   .nav--scrolled class added by JS on scroll.
   ============================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: var(--navy);
  box-shadow: 0 1px 0 var(--rule-dark);
}

/* Logo mark */
.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.nav__logo-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__logo-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

/* Nav links */
.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a:focus {
  color: var(--gold);
  outline: none;
}

/* Nav CTA */
.nav__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 9px 20px;
  text-decoration: none;
  transition: opacity var(--transition);
}

.nav__cta:hover {
  opacity: 0.85;
}

/* Mobile hamburger toggle - hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s;
}


/* =============================================================================
   6. HERO SECTION
   Full-viewport navy. Cormorant Garamond display type (signature element).
   Pillar strip (Identify / Structure / Connect / Execute) anchored at bottom.
   ============================================================================= */

.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 160px;
}

/* Subtle diagonal gold texture - very low opacity */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(201, 168, 76, 0.03) 80px,
    rgba(201, 168, 76, 0.03) 81px
  );
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Wordmark line above headline */
.hero__wordmark {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__wordmark::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* SIGNATURE ELEMENT: Cormorant Garamond - used only here */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 86px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: normal;
  color: var(--gold);
}

.hero__rule {
  width: 64px;
  height: 1.5px;
  background: var(--gold);
  margin: 28px 0;
}

.hero__sub {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 400;
  color: var(--mid-grey);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Four-pillar strip - anchored at bottom of hero */
.hero__pillars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--deep-navy);
  border-top: 1px solid var(--rule-dark);
  display: flex;
}

.hero__pillar {
  flex: 1;
  padding: 18px 24px;
  border-right: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__pillar:last-child {
  border-right: none;
}

.hero__pillar-num {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.6;
}

.hero__pillar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}


/* =============================================================================
   7. ABOUT SECTION
   White background. Two-column layout: heading + stats | body text.
   ============================================================================= */

.about {
  padding: var(--section-pad);
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about__stat-group {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.about__stat {
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

.about__stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.about__stat-value {
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.55;
}

.about__body p + p {
  margin-top: 18px;
}


/* =============================================================================
   8. SECTION STRIP DIVIDER
   Deep navy band between sections. Scrolling label row.
   ============================================================================= */

.strip {
  background: var(--deep-navy);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.strip__item {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.strip__dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}


/* =============================================================================
   9. APPROACH SECTION
   Navy background. Four-column card grid.
   ============================================================================= */

.approach {
  padding: var(--section-pad);
  background: var(--navy);
}

.approach__header {
  margin-bottom: 56px;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}

.approach__card {
  background: var(--navy);
  padding: 36px 28px;
  transition: background var(--transition);
}

.approach__card:hover {
  background: var(--deep-navy);
}

.approach__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 18px;
}

.approach__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.approach__rule {
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  margin-bottom: 16px;
}

.approach__body {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mid-grey);
}


/* =============================================================================
   10. SERVICES SECTION
   Light grey background. 3-column card grid with gold left border.
   ============================================================================= */

.services {
  padding: var(--section-pad);
  background: var(--light-grey);
}

.services__header {
  margin-bottom: 52px;
}

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

.services__card {
  background: var(--white);
  padding: 30px 26px;
  border-left: 3px solid var(--gold);
  transition: box-shadow var(--transition);
}

.services__card:hover {
  box-shadow: 0 4px 20px rgba(13, 31, 60, 0.08);
}

.services__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.services__card-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark-grey);
}


/* =============================================================================
   11. MANDATES SECTION
   White background. 2-column card grid.
   ============================================================================= */

.mandates {
  padding: var(--section-pad);
  background: var(--white);
}

.mandates__header {
  margin-bottom: 52px;
}

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

.mandates__card {
  background: var(--light-grey);
  padding: 30px 26px;
  border-left: 3px solid var(--gold);
}

.mandates__card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.mandates__card-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark-grey);
}


/* =============================================================================
   12. FOCUS SECTION
   Navy background. Two columns with vertical rule divider.
   ============================================================================= */

.focus {
  padding: var(--section-pad);
  background: var(--navy);
}

.focus__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  align-items: start;
}

.focus__divider {
  background: var(--rule-dark);
  align-self: stretch;
}

.focus__col-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.focus__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.focus__list li {
  font-size: 14px;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  gap: 10px;
}

.focus__list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  flex-shrink: 0;
}


/* =============================================================================
   13. PARTNERS SECTION
   Light grey background. Chip-style partner category tags.
   ============================================================================= */

.partners {
  padding: var(--section-pad);
  background: var(--light-grey);
}

.partners__header {
  margin-bottom: 44px;
}

.partners__disclaimer {
  font-size: 13px;
  color: var(--dark-grey);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.partners__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partners__chip {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}


/* =============================================================================
   14. OPPORTUNITIES SECTION
   Deep navy background. Two-column: statement | aside with CTA.
   Deliberately discreet - no project details published.
   ============================================================================= */

.opportunities {
  padding: var(--section-pad);
  background: var(--deep-navy);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.opportunities__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.opportunities__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid-grey);
  margin-top: 18px;
}

.opportunities__note {
  font-size: 12px;
  color: rgba(204, 204, 204, 0.45);
  margin-top: 18px;
  font-style: italic;
}

.opportunities__aside {
  border-left: 1px solid var(--rule-dark);
  padding-left: 48px;
}

.opportunities__aside-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid-grey);
  margin-bottom: 24px;
}


/* =============================================================================
   15. CONTACT SECTION
   White background. Two-column: contact details | enquiry form.
   Form submits server-side via contact.php (PHP mail(), CSRF + Turnstile).
   ============================================================================= */

.contact {
  padding: var(--section-pad);
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__info-item {
  margin-bottom: 26px;
}

.contact__info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact__info-value {
  font-size: 14px;
  color: var(--dark-grey);
  text-decoration: none;
  display: block;
  line-height: 1.6;
}

a.contact__info-value:hover {
  color: var(--navy);
}

/* Form layout */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact__input,
.contact__textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--light-grey);
  border: 1px solid transparent;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--gold);
}

.contact__input.error,
.contact__textarea.error {
  border-color: var(--error-red);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__submit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 14px 32px;
  align-self: flex-start;
  transition: opacity var(--transition);
  border-radius: 0;
}

.contact__submit:hover:not(:disabled) {
  opacity: 0.85;
}

.contact__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success confirmation panel */
.contact__confirmation {
  display: none;
  background: var(--light-grey);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
}

.contact__confirmation.visible {
  display: block;
}

.contact__confirmation-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact__confirmation-body {
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.65;
}

.contact__note {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

/* Inline error message */
.contact__error-msg {
  font-size: 12px;
  color: var(--error-red);
  margin-top: 4px;
  display: none;
}

.contact__error-msg.visible {
  display: block;
}


/* =============================================================================
   16. FOOTER
   Navy background. Four-column grid. Gold top border.
   ============================================================================= */

.footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 64px 24px 32px;
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer__brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 2px;
}

.footer__motto {
  font-size: 12px;
  color: var(--mid-grey);
  font-style: italic;
  margin-top: 10px;
}

.footer__col-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--mid-grey);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__contact-item {
  font-size: 12.5px;
  color: var(--mid-grey);
  margin-bottom: 7px;
  line-height: 1.5;
}

.footer__contact-item a {
  color: var(--mid-grey);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__contact-item a:hover {
  color: var(--gold);
}

/* Footer bottom bar */
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}

.footer__bottom-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer__legal {
  font-size: 11px;
  color: var(--mid-grey);
  line-height: 1.65;
  max-width: 620px;
}

.footer__legal-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.footer__legal-links a {
  font-size: 11px;
  color: var(--mid-grey);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__legal-links a:hover {
  color: var(--gold);
}

.footer__copy {
  font-size: 11px;
  color: var(--mid-grey);
  margin-top: 8px;
}

.footer-legal {
  font-family: Calibri, sans-serif;
  font-size: 12px;
  color: #8FA8C8;            /* Atlas Steel */
  text-align: center;
  padding: 14px 20px;
  border-top: 1px solid rgba(143,168,200,0.25);
  background: #0D1B2A;       /* Atlas Ink */
}


/* =============================================================================
   17. LEGAL PAGES
   Full-screen overlay panels for Privacy Policy, Cookie Policy, Terms of Use.
   Opened by footer links, closed by button or Escape key.
   ============================================================================= */

.legal-page {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  overflow-y: auto;
  padding: 80px 24px 64px;
}

.legal-page.open {
  display: block;
}

.legal-page__close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 10px 20px;
}

.legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 32px;
  display: block;
}

.legal-page h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

.legal-page p,
.legal-page li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark-grey);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
  list-style: disc;
}

.legal-page a {
  color: var(--navy);
  text-decoration: underline;
}


/* =============================================================================
   18. COOKIE BANNER
   Fixed at bottom of viewport. Dismissed permanently via localStorage.
   ============================================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--deep-navy);
  border-top: 1px solid var(--rule-dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 150;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__text {
  font-size: 12.5px;
  color: var(--mid-grey);
  max-width: 680px;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: none;
}

.cookie-banner__btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  padding: 10px 20px;
  white-space: nowrap;
}


/* =============================================================================
   19. RESPONSIVE BREAKPOINTS
   Mobile-first approach. Breakpoints: 540px / 640px / 768px / 860px / 900px
   ============================================================================= */

/* ── 900px and below ── */
@media (max-width: 900px) {
  .approach__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ── 860px and below - mobile nav ── */
@media (max-width: 860px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Mobile nav open state */
  .nav.mobile-open {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 16px;
    background: var(--navy);
  }

  .nav.mobile-open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 16px 0 4px;
    border-top: 1px solid var(--rule-dark);
    margin-top: 8px;
  }

  .nav.mobile-open .nav__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 4px;
  }
}

/* ── 768px and below ── */
@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .opportunities__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .opportunities__aside {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--rule-dark);
    padding-top: 40px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__row {
    grid-template-columns: 1fr;
  }
}

/* ── 640px and below ── */
@media (max-width: 640px) {
  .mandates__grid {
    grid-template-columns: 1fr;
  }

  .focus__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .focus__divider {
    display: none;
  }
}

/* ── 540px and below ── */
@media (max-width: 540px) {
  .approach__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  /* Hero pillars - 2x2 grid on mobile */
  .hero__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__pillar {
    border-right: 1px solid var(--rule-dark);
  }

  .hero__pillar:nth-child(2n) {
    border-right: none;
  }

  .hero__pillar:nth-child(3),
  .hero__pillar:nth-child(4) {
    border-top: 1px solid var(--rule-dark);
  }

  .footer__bottom-top {
    flex-direction: column;
  }

  .footer__legal-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Fix header overlap with top border line in footer */
.footer-section {
  padding-top: 24px;
  margin-top: 12px;
}

/* Consistent uppercase styling for footer column headers */
.footer-column-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

/* Clean spacing between contact profiles in footer */
.contact-profile {
  color: var(--mid-grey);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.contact-profile a {
  color: var(--mid-grey);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-profile a:hover {
  color: var(--gold);
}

/* Advisory list in footer-column */
.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul li {
  font-size: 13px;
  color: var(--mid-grey);
}
