/* ============================================================
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 0;
}
   Little Whale Capital — styles.css
   Production stylesheet: all components, all pages
   ============================================================ */

/* ── 1. Fonts ── */
/* NOTE: Original NeueHaasGroteskTextPro fonts missing from fonts/ directory.
   Using Inter from Google Fonts as fallback. Original fonts were:
   - fonts/NeueHaasGroteskTextPro-Regular.woff2
   - fonts/NeueHaasGroteskTextPro-Medium.woff2 
   - fonts/NeueHaasGroteskTextPro-Bold.woff2
   - fonts/NeueHaasGroteskTextPro-Light.woff2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

/* Cormorant Garamond — serif heading typeface (premium dual-font system) */

/* ── 2. CSS Custom Properties ── */
:root {
  /* Colors */
  --navy: #0a1628;
  --navy-mid: #0f1e38;
  --navy-light: #152338;
  --ocean: #1e5f8a;
  --ocean-light: #2a7aad;
  --accent: #b0bec5;
  --accent-light: #cfd8dc;
  --white: #ffffff;
  --warm-white: #fafaf8;
  --off-white: #f5f4f0;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-muted: #7a7a7a;
  --border: #e8e6e0;
  --border-dark: #243550;

  /* Semantic colours */
  --error: #c0392b;
  --success: #27ae60;
  --warning: #f39c12;

  /* Typography */
  --font-serif:
    Inter, 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  --font-sans:
    Inter, 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-med: 400ms;
  --dur-slow: 700ms;
}

/* ── 3. Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--warm-white);
  overflow-x: hidden;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

body > main,
main#main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main#main-content > .footer {
  margin-top: auto;
  flex-shrink: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ── 4. Typography ── */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3,
h4,
h5 {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
h4 {
  font-size: 1.35rem;
}
h5 {
  font-size: 1.1rem;
}

p {
  line-height: 1.75;
  color: var(--text-mid);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-sm);
}

.eyebrow--light {
  color: rgba(142, 145, 150, 0.8);
}

/* ── 5. Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-lg);
  padding-right: var(--sp-lg);
}

.container--narrow {
  max-width: 820px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
}

.section--md {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.section--dark {
  background-color: var(--navy);
  color: var(--white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section--light {
  background-color: var(--warm-white);
}

.section--off {
  background-color: var(--off-white);
}

.section-header {
  margin-bottom: var(--sp-2xl);
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-2xl);
}

.section-header p {
  margin-top: var(--sp-md);
  font-size: 1.05rem;
}

/* ── 6. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: 1.5px solid transparent;
  transition: all var(--dur-med) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

.btn--primary:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--accent-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--accent-outline:hover {
  background: var(--accent);
  color: var(--navy);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── 7. Navigation (Rockefeller-style) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--off-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
  transition:
    background-color var(--dur-med) var(--ease),
    box-shadow var(--dur-med) var(--ease);
}

.nav.scrolled,
.nav.nav--solid {
  background-color: var(--off-white);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  transition: opacity var(--dur-fast) var(--ease);
  flex-shrink: 0;
  margin-right: var(--sp-lg);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ── Desktop Inline Nav Links ── */
.nav-links {
  display: none;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

@media (min-width: 1241px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 1.1rem;
  height: var(--nav-height);
  line-height: var(--nav-height);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s ease-in-out;
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--dur-fast) var(--ease);
  transform-origin: left;
}

.nav-item:hover .nav-link,
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-item:hover .nav-link::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ── Right-side actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--accent);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.nav-icon-btn:hover {
  opacity: 1;
}

/* Search button */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.nav-search-btn:hover {
  opacity: 1;
}

/* ── Language Globe ── */
.lang-globe-wrap {
  position: relative;
  z-index: 300;
}

.lang-globe-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.25s ease;
  position: relative;
  z-index: 10;
}
.lang-globe-btn svg {
  pointer-events: none;
}
.lang-globe-btn:hover,
.lang-globe-btn[aria-expanded='true'] {
  opacity: 1;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  min-width: 130px;
  z-index: 1000;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.lang-globe-wrap.open .lang-dropdown {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Language selector: ensure it sits above mobile overlay ── */
.nav {
  isolation: isolate;
}
.lang-globe-wrap {
  isolation: isolate;
}
.nav-open .lang-globe-wrap {
  pointer-events: none;
  opacity: 0;
}

.lang-dropdown-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  background: none;
  border: none;
  padding: 0.55rem 1rem;
  cursor: pointer;
  text-align: center;
  transition:
    background 150ms ease,
    color 150ms ease;
  width: 100%;
}
.lang-dropdown-btn:hover {
  background: var(--off-white);
  color: var(--navy);
}
.lang-dropdown-btn.active {
  color: var(--navy);
  font-weight: 500;
}

/* ── Hamburger Toggle ── */
.nav-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--navy);
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.2s ease,
    width 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span {
  background-color: var(--navy);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hide hamburger on desktop */
@media (min-width: 1241px) {
  .nav-toggle {
    display: none;
  }
}

/* Hide CTA and search on mobile header — keep login icon + language globe visible */
@media (max-width: 1240px) {
  .nav-cta,
  .nav-search-btn {
    display: none;
  }
  /* Shrink login icon + lang globe slightly on mobile for space */
  .nav-icon-btn svg,
  .nav-actions > .lang-globe-wrap .lang-globe-btn svg {
    width: 17px;
    height: 17px;
  }
  /* Ensure lang dropdown doesn't overflow on mobile */
  .nav-actions > .lang-globe-wrap .lang-dropdown {
    right: 0;
    left: auto;
    transform: none;
    min-width: 120px;
  }
  .nav-actions > .lang-globe-wrap.open .lang-dropdown {
    transform: none;
  }
}

/* ── Mega Dropdown Panels ── */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--off-white);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  z-index: 90;
}

.mega-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-dropdown-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem var(--sp-lg) 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}

.mega-title-col {
  padding-left: 2rem;
}

.mega-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.mega-heading {
  font-family: var(--font-serif);
  font-size: 1.87rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mega-links-col {
  padding-left: 2rem;
}

.mega-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-link-list li a {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--navy);
  padding: 0.45rem 0;
  line-height: 1.8;
  border-bottom: 1px solid transparent;
  transition:
    color 0.35s ease-in-out,
    border-color 0.35s ease-in-out;
  text-decoration: none;
}

.mega-link-list li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mega Footer */
.mega-footer {
  border-top: 1px solid var(--border);
}

.mega-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-footer-social a {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  transition: color 0.35s ease-in-out;
}
.mega-footer-social a:hover {
  color: var(--navy);
}

.mega-footer-links {
  display: flex;
  gap: 2rem;
}

.mega-footer-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.35s ease-in-out;
}
.mega-footer-links a:hover {
  color: var(--navy);
}

/* Hide mega dropdowns on mobile */
@media (max-width: 1240px) {
  .mega-dropdown {
    display: none !important;
  }
}

/* ── Search Overlay ── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--sp-lg);
  position: relative;
}

.search-overlay-close {
  position: absolute;
  top: -60px;
  right: var(--sp-lg);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  padding: 8px;
}
.search-overlay-close:hover {
  color: var(--white);
}

.search-overlay-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.search-overlay-input {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.search-overlay-input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.search-results {
  margin-top: 2rem;
  max-height: 50vh;
  overflow-y: auto;
}

.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.search-result-item {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.search-result-item:hover {
  opacity: 0.7;
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.search-result-section {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
}

.search-result-excerpt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.search-result-excerpt mark {
  background: none;
  color: var(--white);
  font-weight: 600;
}

.search-no-results {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 2rem 0;
}

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--nav-height));
  z-index: 99;
  background-color: var(--navy);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-slow) var(--ease),
    visibility var(--dur-slow) var(--ease);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Staggered slide-up entrance for mobile menu items */
.mobile-nav-item,
.mobile-nav-cta,
.mobile-nav-footer {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.mobile-nav-overlay.active .mobile-nav-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.mobile-nav-overlay.active .mobile-nav-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(7) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.46s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(8) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(9) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.58s;
}
.mobile-nav-overlay.active .mobile-nav-item:nth-child(10) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.64s;
}

.mobile-nav-overlay.active .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.mobile-nav-inner {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Mobile CTA */
.mobile-nav-cta {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid var(--accent);
  padding: 0.75rem 1.5rem;
  margin-bottom: var(--sp-lg);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}
.mobile-nav-cta:hover {
  background: var(--accent);
  color: var(--navy);
}

/* Mobile Menu */
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-nav-toggle-item:hover {
  color: var(--accent);
}

.mobile-nav-chevron {
  transition: transform 0.35s ease-in-out;
  color: var(--accent);
  flex-shrink: 0;
}

.mobile-nav-item.open .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  list-style: none;
  padding: 0 0 0.5rem 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
}

.mobile-nav-item.open .mobile-nav-sub {
  max-height: 500px;
}

.mobile-nav-sub li a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.45rem 0 0.45rem 0.75rem;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-nav-sub li a:hover {
  color: var(--accent);
}

/* Mobile direct link */
/* Safety: all links inside mobile nav items are white */
.mobile-nav-item a,
.mobile-nav-direct {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
  padding: 0.85rem 0;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.mobile-nav-item a:hover,
.mobile-nav-direct:hover {
  color: var(--accent);
}

/* Mobile Footer */
.mobile-nav-footer {
  margin-top: auto;
  padding-top: var(--sp-lg);
  padding-bottom: calc(var(--sp-lg) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--sp-sm);
}

.mobile-nav-footer-social > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: color 0.35s ease;
  line-height: 0;
}
.mobile-nav-footer-social a:hover {
  color: var(--white);
}

.mobile-nav-footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--sp-md);
}

.mobile-nav-footer-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}
.mobile-nav-footer-links a:hover {
  color: var(--white);
}

/* Mobile globe variant */

/* Hide mobile nav overlay on desktop */
@media (min-width: 1241px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* Footer - 5 columns */
@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

/* -- Hero Split -- */
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--sp-2xl)) var(--sp-lg) var(--sp-3xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding-top: 6rem;
}

.hero-company-name {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 1rem;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0;
  margin: 0 0 1.5rem;
  max-width: 500px;
}

.hero-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.hero-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.hero-card {
  background: rgba(15, 30, 56, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 3px solid var(--ocean);
  border-radius: 4px;
  padding: var(--sp-md) var(--sp-lg);
  opacity: 0;
  transform: translateX(30px);
  animation: heroCardIn 0.8s ease forwards;
}

.hero-card:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-card .eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

@keyframes heroCardIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* -- Audience Selector -- */
.audience-selector {
  padding: var(--sp-xl) 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.audience-label {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: var(--sp-lg);
}

.audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  max-width: 800px;
  margin: 0 auto;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: var(--sp-lg);
  text-decoration: none;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.08);
}

.audience-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.audience-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.audience-card-arrow {
  margin-top: var(--sp-sm);
  color: var(--ocean);
  font-size: 1.2rem;
  transition: transform var(--dur-fast) var(--ease);
}

.audience-card:hover .audience-card-arrow {
  transform: translateX(4px);
}

/* ── 9. Hero — Homepage ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(30, 95, 138, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(10, 40, 70, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 145, 150, 0.3), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--sp-2xl)) var(--sp-lg) var(--sp-3xl);
}

/* hero-split scroll indicator positioning */
.hero-split .hero-scroll {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  grid-column: 1 / -1;
}

.hero h1 {
  color: var(--white);
  max-width: 900px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--sp-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(142, 145, 150, 0.6), transparent);
}

@keyframes scrollBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── 10. Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy);
  overflow: hidden;
  padding-bottom: var(--sp-2xl);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(30, 95, 138, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--sp-xl)) var(--sp-lg) 0;
}

.page-hero h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: var(--sp-md);
  max-width: 700px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 560px;
}

.page-hero-rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-bottom: var(--sp-md);
}

/* ── 11. Pillars Section ── */
.pillars {
  background-color: var(--warm-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillar {
  padding: var(--sp-2xl) var(--sp-xl);
  border-right: 1px solid var(--border);
  position: relative;
  transition: background-color var(--dur-med) var(--ease);
}

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

.pillar:hover {
  background-color: var(--off-white);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: var(--sp-md);
  display: block;
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-size: 1.7rem;
  margin-bottom: var(--sp-md);
  color: var(--navy);
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-md);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.pillar-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── 12. Services Overview (homepage) ── */
.services-overview {
  background-color: var(--navy);
}

.services-overview .section-header--center h2 {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background-color: var(--border-dark);
  border: 1.5px solid var(--border-dark);
}

.service-tile {
  background-color: var(--navy-light);
  padding: var(--sp-xl) var(--sp-lg);
  transition: background-color var(--dur-med) var(--ease);
}

.service-tile:hover {
  background-color: var(--navy-mid);
}

.service-tile-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--sp-md);
  color: var(--accent);
}

.service-tile h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-tile p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* ── 13. CTA Section ── */
.cta-section {
  background-color: var(--warm-white);
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
}

.cta-section h2 {
  color: var(--navy);
  max-width: 680px;
  margin: 0 auto var(--sp-md);
}

.cta-section p {
  max-width: 520px;
  margin: 0 auto var(--sp-xl);
  font-size: 1.05rem;
}

.cta-rule {
  width: 1px;
  height: 60px;
  background: var(--accent);
  margin: 0 auto var(--sp-xl);
}

/* ── Trust Strip (homepage) ── */
.trust-strip {
  background-color: var(--navy-light);
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.trust-inner {
  text-align: center;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.trust-dot {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}

/* ── Home Publications Teaser ── */
.home-publications {
  padding-bottom: var(--sp-2xl);
}

.home-pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.home-pub-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-dark);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home-pub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.home-pub-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-sm);
}

.home-pub-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-pub-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.home-pub-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.home-pub-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: var(--sp-sm);
  flex: 1;
}

.home-pub-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.home-pub-card:hover .home-pub-link {
  color: var(--accent);
}

.home-pub-viewall {
  text-align: center;
  margin-top: var(--sp-xl);
}

@media (max-width: 900px) {
  .home-pub-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
}

@media (max-width: 600px) {
  .trust-badges {
    flex-direction: column;
    gap: 0.4rem;
  }
  .trust-dot {
    display: none;
  }
}

/* ── Why LWC ── */
.why-lwc {
  background: var(--warm-white, #faf9f7);
}

.why-lwc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-xl);
}

.why-lwc-item {
  text-align: center;
}

.why-lwc-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--accent, #b8977e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  color: var(--accent, #b8977e);
}

.why-lwc-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy, #0a1628);
  margin-bottom: 0.75rem;
}

.why-lwc-item p {
  font-size: 0.9rem;
  color: var(--text-mid, #666);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .why-lwc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
  }
}

@media (max-width: 600px) {
  .why-lwc-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
}

/* ── Home CTA ── */

/* ── 14. Stats Strip ── */
.stats-strip {
  background-color: var(--navy-light);
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── 15. About Page ── */
.about-mission {
  background-color: var(--warm-white);
}

.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.about-sidebar {
  padding-top: var(--sp-sm);
}

.about-sidebar-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: var(--sp-md);
}

.about-sidebar p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
}

.about-content h2 {
  margin-bottom: var(--sp-md);
  color: var(--navy);
}

.about-content p + p {
  margin-top: var(--sp-md);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

.value-card {
  padding: var(--sp-lg);
  border: 1px solid var(--border);
  transition:
    border-color var(--dur-med) var(--ease),
    box-shadow var(--dur-med) var(--ease);
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.value-card-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Heritage section */
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.heritage-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--navy-light);
  overflow: hidden;
}

.heritage-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.heritage-visual-text {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
}

.heritage-visual-badge {
  position: absolute;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  background: var(--accent);
  color: var(--navy);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.heritage-content h2 {
  margin-bottom: var(--sp-md);
  color: var(--navy);
}

.heritage-content p + p {
  margin-top: var(--sp-md);
}

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-light);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-placeholder {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
}

.team-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card .title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Differentiators */
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diff-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.diff-item:first-child {
  border-top: 1px solid var(--border);
}

.diff-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.2rem;
}

.diff-content h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.diff-content p {
  font-size: 0.92rem;
}

/* ── 16. Services Page ── */
.service-detail {
  padding: var(--sp-2xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.service-detail-inner.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.service-detail-inner.reverse .service-info {
  order: 2;
}

.service-detail-inner.reverse .service-visual {
  order: 1;
}

.service-info h2 {
  color: var(--navy);
  margin-bottom: var(--sp-sm);
}

.service-info > p {
  font-size: 1.05rem;
  margin-bottom: var(--sp-lg);
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.service-benefit {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.service-benefit:last-child {
  border-bottom: none;
}

.service-benefit-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-benefit-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.service-visual {
  aspect-ratio: 4/5;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--ocean) 100%);
  opacity: 0.5;
}

.service-visual-icon {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.08);
}

.service-visual-icon svg {
  width: 160px;
  height: 160px;
}

/* ── 17. Insights Page ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--dur-med) var(--ease),
    transform var(--dur-med) var(--ease);
  cursor: pointer;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.article-card-image {
  aspect-ratio: 16/9;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.article-card-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

.article-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

.article-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  flex: 1;
}

.article-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.article-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  margin-top: auto;
  width: fit-content;
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast);
}

.article-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Featured article */
.article-card--featured {
  grid-column: span 3;
  flex-direction: row;
}

.article-card--featured .article-card-image {
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.article-card--featured .article-card-body {
  padding: var(--sp-2xl);
}

.article-card--featured h3 {
  font-size: 2rem;
}

/* Filters */
.insights-filters {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.filter-btn {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

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

/* ── 18. Contact Page ── */
.contact-layout {
  max-width: 600px;
  margin: 0 auto;
}
.contact-info {
  width: 100%;
}

.contact-info h2 {
  color: var(--navy);
  margin-bottom: var(--sp-md);
}

.contact-info > p {
  font-size: 1.05rem;
  margin-bottom: var(--sp-xl);
}

.contact-detail {
  padding: var(--sp-md) 0;
  border-top: 1px solid var(--border);
}

.contact-detail:last-of-type {
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-xl);
}

.contact-detail-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.contact-detail p,
.contact-detail address {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-style: normal;
  line-height: 1.7;
}

.contact-discretion {
  background: var(--off-white);
  padding: var(--sp-md) var(--sp-lg);
  border-left: 2px solid var(--accent);
  margin-top: var(--sp-lg);
}

.contact-discretion p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-mid);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--sp-2xl);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--sp-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--warm-white);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(30, 95, 138, 0.08);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
  line-height: 1.6;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-xl);
  color: var(--navy);
}

.form-success-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  color: var(--accent);
}

/* Map placeholder */
.map-placeholder {
  height: 280px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.map-overlay {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.map-pin {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin: 0 auto var(--sp-sm);
}

/* ── 19. Footer ── */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.footer-brand-logo-icon {
  width: 32px;
  height: 18px;
  color: var(--accent);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-brand-logo-text {
  font-family: var(--font-sans);
  font-size: 0.99rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: var(--sp-md);
}

.footer-brand-langs {
  display: flex;
  gap: 0.5rem;
}

.footer-lang {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--dur-fast) var(--ease);
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
}

.footer-linkedin svg {
  opacity: 1;
  color: #0077B5;
  transition: opacity var(--dur-fast) var(--ease);
}

.footer-linkedin:hover svg {
  opacity: 1;
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer-bottom {
  padding: var(--sp-md) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  max-width: 680px;
}

.footer-legal-links {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-xs);
}

.footer-legal-links a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-reg {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  line-height: 1.6;
}

/* ── 21. Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Make content visible immediately if JS hasn't loaded or for print */
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}
.reveal--delay-2 {
  transition-delay: 0.2s;
}
.reveal--delay-3 {
  transition-delay: 0.3s;
}
.reveal--delay-4 {
  transition-delay: 0.4s;
}

.reveal--fade {
  transform: none;
}

.reveal--left {
  transform: translateX(-28px);
}

.reveal--left.revealed {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(28px);
}

.reveal--right.revealed {
  transform: translateX(0);
}

/* ── 22. Dividers & Misc ── */
.rule-gold {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: var(--sp-md) 0;
}

.rule-gold--center {
  margin-left: auto;
  margin-right: auto;
}

.text-white {
  color: var(--white);
}
.text-navy {
  color: var(--navy);
}
.text-gold {
  color: var(--accent);
}
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}

/* ── 23. Responsive ── */
@media (max-width: 1024px) {
  :root {
    --sp-3xl: 7rem;
    --sp-2xl: 5rem;
  }

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

  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: var(--sp-xl) var(--sp-lg);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-xl);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  .about-mission-inner {
    grid-template-columns: 1fr;
  }

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

  .heritage-visual {
    aspect-ratio: 16/7;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .article-card--featured {
    grid-column: span 2;
  }

  .service-detail-inner,
  .service-detail-inner.reverse {
    grid-template-columns: 1fr;
  }

  .service-detail-inner.reverse .service-info,
  .service-detail-inner.reverse .service-visual {
    order: unset;
  }

  .service-visual {
    aspect-ratio: 16/7;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-3xl: 4rem;
    --sp-2xl: 3rem;
    --sp-xl: 2rem;
    --sp-lg: 1.5rem;
    --nav-height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .container {
    padding-left: var(--sp-md);
    padding-right: var(--sp-md);
  }

  /* Reduce page hero height on mobile — key fix for "too big" feel */
  .page-hero {
    min-height: 40vh;
    padding-bottom: var(--sp-lg);
  }

  .page-hero-inner {
    padding-top: calc(var(--nav-height) + var(--sp-lg));
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.55rem);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  /* Homepage hero — full viewport on mobile */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: var(--sp-xl);
  }

  .hero-inner {
    padding-top: calc(var(--nav-height) + var(--sp-lg));
    padding-bottom: var(--sp-xl);
  }

  .hero h1 {
    font-size: clamp(1.87rem, 7vw, 2.7rem);
    margin-bottom: var(--sp-md);
  }

  .hero-company-name {
    font-size: clamp(0.8rem, 3.2vw, 1.2rem);
    letter-spacing: 0;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: var(--sp-lg);
  }

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

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

  /* Mobile footer: hide all page link columns, show only legal/disclaimers */
  .footer-main {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    padding-top: var(--sp-lg);
  }

  .footer-reg {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: var(--sp-lg);
  }

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

  .article-card--featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .article-card--featured .article-card-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

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

  .hero-scroll {
    display: flex;
    bottom: var(--sp-lg);
  }

  .hero-split {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + var(--sp-lg));
    padding-bottom: 6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* Reduce section spacing */
  .section {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }

  .section--md {
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-xl);
  }

  .section-header {
    margin-bottom: var(--sp-xl);
  }

  .section-header--center {
    margin-bottom: var(--sp-xl);
  }

  /* CTA section */
  .cta-section {
    padding: var(--sp-2xl) var(--sp-md);
  }

  .cta-rule {
    height: 40px;
  }

  /* Touch-friendly targets */
  .btn {
    min-height: 44px;
    padding: 0.875rem 1.75rem;
    font-size: 0.75rem;
  }

  /* Form elements */
  .form-row {
    flex-direction: column;
  }
  .form-group {
    width: 100%;
  }
  input,
  textarea,
  select {
    min-height: 44px;
    font-size: 16px; /* prevent iOS zoom */
  }

  /* Hero adjustments */
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Pillar grid */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: var(--sp-lg) var(--sp-md);
  }

  /* Service detail sections */
  .service-detail {
    padding: var(--sp-xl) 0;
  }

  .service-visual {
    aspect-ratio: 16/9;
  }

  /* Team page grid */
  .team-member {
    padding: var(--sp-lg);
  }

  .team-member-name {
    font-size: 1.5rem;
  }

  /* Heritage section */
  .heritage-visual {
    aspect-ratio: 16/9;
  }

  /* Article page */
  .article-page-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .article-body {
    font-size: 1rem;
  }

  /* Contact page */
  .contact-form-wrap {
    padding: var(--sp-md);
  }

  .contact-form-title {
    font-size: 1.4rem;
  }

  /* Differentiators */
  .diff-item {
    grid-template-columns: 45px 1fr;
    gap: var(--sp-md);
  }

  .diff-num {
    font-size: 2rem;
  }

  /* About mission */
  .about-mission-inner {
    gap: var(--sp-lg);
  }

  .about-sidebar p {
    font-size: 1.2rem;
  }
}

/* ============================================================
   ADDITIONAL PAGE STYLES
   ============================================================ */

/* ── Team Page — Initials Cards ── */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
  align-items: start;
}

.team-member {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--sp-2xl);
  transition: box-shadow var(--dur-med) var(--ease);
}

.team-member:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.team-initials {
  width: 100px;
  height: 100px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  position: relative;
}

.team-initials::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.team-initials span {
  font-family: var(--font-serif);
  font-size: 1.87rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.team-photo {
  width: 125px;
  height: 125px;
  margin-bottom: var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 1;
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
}

.team-member-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.team-member-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--sp-md);
  line-height: 1.25;
}

.team-member-bio {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.team-member-bio p + p {
  margin-top: var(--sp-md);
}

.team-member-highlights {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.team-member-highlights li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.team-member-highlights li::before {
  content: '›';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Publications Listing ── */
.publications-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.pub-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-lg));
}

.pub-sidebar-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
}

.pub-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pub-sidebar-links a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast) var(--ease);
}

.pub-sidebar-links a:first-child {
  border-top: 1px solid var(--border);
}

.pub-sidebar-links a:hover,
.pub-sidebar-links a.active {
  color: var(--navy);
}

.pub-listing {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

/* ── Article Full View ── */
.article-page {
  padding-top: 0;
}

/* ── Content Prose ── */
.content-prose {
  max-width: 720px;
  margin: 0 auto;
}

.content-prose p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: var(--sp-md);
}

.content-prose p strong {
  color: var(--navy);
  font-weight: 600;
}

.article-page-header {
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
  transition: color var(--dur-fast) var(--ease);
}

.article-back:hover {
  color: var(--accent);
}

.article-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: var(--sp-md);
}

.article-body {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-mid);
}

.article-body p + p {
  margin-top: var(--sp-md);
}

.article-body .lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: var(--sp-lg);
  line-height: 1.75;
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 780px;
}

.legal-content h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: var(--sp-sm);
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: var(--sp-sm);
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  padding: 0.25rem 0;
  list-style: disc;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
}

/* ── Contact Page Map ── */
.contact-map {
  margin-top: var(--sp-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
  filter: grayscale(0.6) contrast(1.1);
}

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .team-page-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 768px) {
  .publications-layout {
    grid-template-columns: 1fr;
  }

  .pub-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .pub-sidebar-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-xs);
  }

  .pub-sidebar-links a {
    border: 1px solid var(--border);
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .pub-sidebar-links a:first-child {
    border-top: 1px solid var(--border);
  }

  .team-member {
    padding: var(--sp-lg);
  }
}

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

  /* Publications sidebar goes horizontal */
  .pub-sidebar-links {
    gap: 0.4rem;
  }

  .pub-sidebar-links a {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }

  /* Article featured */
  .article-card--featured .article-card-body {
    padding: var(--sp-lg);
  }

  .article-card--featured h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  :root {
    --sp-3xl: 3rem;
    --sp-2xl: 2.5rem;
    --sp-xl: 1.75rem;
    --sp-lg: 1.25rem;
  }

  h1 {
    font-size: 1.87rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.3rem;
  }

  .container {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .page-hero {
    min-height: 35vh;
  }

  .page-hero-inner {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 1.87rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stats: single column on very small screens */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .diff-item {
    grid-template-columns: 36px 1fr;
    gap: var(--sp-sm);
  }

  .diff-num {
    font-size: 1.8rem;
  }

  /* Audience cards */
  .audience-cards {
    gap: var(--sp-md);
  }

  .audience-card {
    padding: var(--sp-md);
  }

  /* Service tiles */
  .service-tile {
    padding: var(--sp-lg) var(--sp-md);
  }

  .service-tile h4 {
    font-size: 1.2rem;
  }

  /* Value cards */
  .value-card {
    padding: var(--sp-md);
  }

  /* Pillar */
  .pillar h3 {
    font-size: 1.4rem;
  }

  /* Team */
  .team-initials {
    width: 80px;
    height: 80px;
  }

  .team-initials span {
    font-size: 1.8rem;
  }

  .team-photo {
    width: 100px;
    height: 100px;
  }

  .team-member-name {
    font-size: 1.35rem;
  }

  .team-member-bio {
    font-size: 0.9rem;
  }

  /* Article cards */
  .article-card h3 {
    font-size: 1.15rem;
  }

  .article-card-body {
    padding: var(--sp-md);
  }

  /* Cookie */

  /* Footer */
  .footer-legal {
    font-size: 0.7rem;
  }

  .footer-reg {
    font-size: 0.58rem;
  }

  /* Section header */
  .section-header p {
    font-size: 0.95rem;
  }

  /* About sidebar */
  .about-sidebar p {
    font-size: 1.1rem;
  }

  /* Contact discretion */
  .contact-discretion {
    padding: var(--sp-sm) var(--sp-md);
  }

  /* Hero card */
  .hero-card {
    padding: var(--sp-sm) var(--sp-md);
  }

  .hero-card h3 {
    font-size: 1rem;
  }

  .hero-card p {
    font-size: 0.82rem;
  }

  /* Button sizing */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.72rem;
  }
}

/* ============================================================
   MULTILINGUAL RESPONSIVE FIXES
   ============================================================ */

/* Global: prevent long compound words (especially German) from breaking layout */
body {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Enable automatic hyphenation for German (long compound words) */
html[lang="de"] .team-member-bio,
html[lang="de"] .pillar p,
html[lang="de"] .service-detail-text,
html[lang="de"] .diff-text,
html[lang="de"] .article-body,
html[lang="de"] .about-sidebar p,
html[lang="de"] .section-header p,
html[lang="de"] .page-hero p,
html[lang="de"] .heritage-text,
html[lang="de"] .principle-text,
html[lang="de"] .disclaimer-text,
html[lang="de"] p {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Buttons: allow wrapping on mobile when translated text is longer */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  /* Mobile CTA in nav */
  .mobile-nav-cta {
    white-space: normal;
  }

  /* Hero company name: always single line, scale down to fit */
  .hero-company-name {
    white-space: nowrap;
    font-size: 3.5vw;
    letter-spacing: 0;
  }
}

/* Mobile nav: scale font for longer translated labels */
@media (max-width: 768px) {
  .mobile-nav-toggle-item,
  .mobile-nav-direct {
    font-size: clamp(1rem, 3.8vw, 1.3rem);
  }
}

/* Footer reg text: ensure wrapping on all screens */
.footer-reg {
  word-break: normal;
  overflow-wrap: break-word;
}

/* Ensure translated eyebrow text doesn't overflow */
.eyebrow {
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* Contact form: handle longer translated labels */
@media (max-width: 600px) {
  .form-group label {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  select option {
    white-space: normal;
  }
}

/* Publication cards: handle longer translated titles and excerpts */
@media (max-width: 480px) {
  .article-card h3 {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* KYC form: responsive adjustments for translated content */
@media (max-width: 600px) {
  .kyc-option-label {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .kyc-progress-text {
    font-size: 0.75rem;
  }
}

/* Hide client login icon on mobile — appears as "LWC Access" in mobile nav instead */
@media (max-width: 1240px) {
  .nav-icon-btn[aria-label="Client Login"] {
    display: none;
  }
}

/* Client Login Button */
.client-login-btn {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  opacity: 0.55;
  transition: opacity 200ms;
}
.client-login-btn:hover {
  opacity: 1;
}

/* Remove browser-default underline on title attribute spans */
[title] {
  text-decoration: none;
  border-bottom: none;
}

/* ── TEST: Hide elements on mobile landing page only ── */
@media (max-width: 768px) {
  .page-home .home-publications,
  .page-home .hero-scroll,
  .page-home .footer-logo-img,
  .page-home .footer-linkedin {
    display: none !important;
  }

  /* Fill viewport: hero stretches, footer sits at bottom, no empty scroll */
  .page-home {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .page-home .hero {
    flex: 1;
    min-height: 0;
  }
  .page-home .footer {
    flex-shrink: 0;
  }
}
