/* =============================================================
   RIMA TAHA — MAIN STYLESHEET
   main.css | Version 1.0.0
   ============================================================= */

/* ── Import Variables ─────────────────────────────────────── */
@import url('variables.css');

/* ── Font Faces (self-hosted woff2) ───────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--deep-teal); /* prevents black flash during page transitions */
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--size-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* ── Skip Link (accessibility) ────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: calc(var(--z-nav) + 100);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ── Focus Styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: inherit;
}

h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }

h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--size-h4);
  color: inherit;
}

p {
  font-size: var(--size-body);
  line-height: var(--lh-body);
  color: var(--ink);
}

a {
  color: var(--teal);
  transition: color var(--anim-fast);
}

a:hover {
  color: var(--deep-teal);
}

/* ── Label Utility ────────────────────────────────────────── */
.label {
  font-family: var(--font-body);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  transition: background-color var(--anim-fast),
              color var(--anim-fast),
              box-shadow var(--anim-medium),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(247, 242, 234, 0.5);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--anim-medium),
              padding var(--anim-medium),
              box-shadow var(--anim-medium);
}

.site-nav.scrolled {
  background-color: var(--deep-teal); /* mobile/tablet default */
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(29, 77, 94, 0.3);
}

/* ── Desktop Nav Links (1024px+) ──────────────────────────── */
.nav-desktop-links {
  display: none; /* hidden on mobile/tablet */
}

@media (min-width: 1024px) {
  /* Hide hamburger, show horizontal links */
  .nav-hamburger { display: none; }

  .nav-desktop-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-desktop-links .nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--cream);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--anim-fast);
    padding: 0;
  }

  .nav-desktop-links .nav-link:hover {
    color: var(--white);
  }

  /* Scrolled state: white bg, ink text */
  .site-nav.scrolled {
    background-color: var(--white);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.09);
  }

  .site-nav.scrolled .nav-logo {
    color: var(--ink);
  }

  .site-nav.scrolled .nav-desktop-links .nav-link {
    color: var(--ink);
  }

  .site-nav.scrolled .nav-desktop-links .nav-link:hover {
    color: var(--teal);
  }

  /* Collaborate CTA pill */
  .nav-desktop-links .nav-cta {
    border: 1.5px solid rgba(247, 242, 234, 0.55);
    border-radius: 50px;
    padding: 6px 18px;
    transition: background var(--anim-fast), color var(--anim-fast), border-color var(--anim-fast);
  }

  .nav-desktop-links .nav-cta:hover {
    background: rgba(247, 242, 234, 0.14);
    border-color: var(--cream);
    color: var(--cream);
  }

  .site-nav.scrolled .nav-desktop-links .nav-cta {
    border-color: var(--teal);
    color: var(--teal);
  }

  .site-nav.scrolled .nav-desktop-links .nav-cta:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
  }
}

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

.nav-chevron {
  display: inline-block;
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.7;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 48px rgba(29,77,94,0.15), 0 2px 8px rgba(29,77,94,0.06);
  padding: 20px 20px 16px;
  min-width: 480px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: calc(var(--z-nav) + 50);
  border: 1px solid rgba(29,77,94,0.07);
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--white);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.nav-dropdown-heading {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mist);
}

.nav-dropdown-link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid rgba(29,77,94,0.04);
  line-height: 1.3;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.nav-dropdown-link:last-child {
  border-bottom: none;
}

.nav-dropdown-link:visited {
  color: var(--ink);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
  color: var(--teal);
  padding-left: 4px;
  outline: none;
}

/* ── Overlay Work submenu (mobile/tablet) ───────────────────── */
.nav-overlay-work-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-overlay-work-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-overlay-work-toggle {
  background: none;
  border: 1px solid rgba(247,242,234,0.55);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.3s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.nav-overlay-work-toggle[aria-expanded="true"] {
  background: rgba(212, 168, 87, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(180deg);
}

.nav-overlay-submenu {
  margin-top: 16px;
  width: 100%;
  max-width: 420px;
  padding-top: 16px;
  border-top: 1px solid rgba(247,242,234,0.15);
}

.nav-overlay-submenu[hidden] { display: none; }

.nav-overlay-submenu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  text-align: left;
}

.nav-overlay-submenu-inner .nav-dropdown-heading {
  font-size: 11px;
  color: rgba(247,242,234,0.45);
  border-bottom-color: rgba(247,242,234,0.12);
}

.nav-overlay-sub-link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(247,242,234,0.7);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(247,242,234,0.06);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.nav-overlay-sub-link:last-child { border-bottom: none; }

.nav-overlay-sub-link:visited {
  color: rgba(247,242,234,0.7);
}

.nav-overlay-sub-link:hover,
.nav-overlay-sub-link:focus {
  color: var(--gold);
  outline: none;
}

@media (max-width: 767px) {
  .nav-overlay-submenu-inner { grid-template-columns: 1fr; }
  .nav-overlay-links { gap: 4px; margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .nav-dropdown { min-width: 300px; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
  z-index: calc(var(--z-nav) + 20);
  position: relative;
}

.nav-logo:hover {
  color: var(--gold);
}

/* Hamburger trigger — mobile/tablet only */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--cream);
  transition: transform var(--anim-medium), opacity var(--anim-fast);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Nav Overlay (full-screen) ────────────────────────────── */
.nav-overlay {
  text-align: center;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: auto;
  padding: 60px 24px;
  width: 100%;
  box-sizing: border-box;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
}

.nav-overlay-links a {
  padding: 8px 24px;
}

.nav-overlay-contact {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(247, 242, 234, 0.6);
  letter-spacing: 0.05em;
}

.nav-overlay-contact a {
  color: var(--gold);
  text-decoration: none;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
/* Base: dark hero backgrounds (Deep Teal, Forest, Amber) */
.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}

.breadcrumb [aria-current="page"],
.breadcrumb li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.8);
}

/* Light background variant (Cream / White sections) */
.breadcrumb-light a {
  color: rgba(61, 107, 79, 0.7);
}

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

.breadcrumb-light .breadcrumb-separator {
  color: rgba(61, 107, 79, 0.7);
}

.breadcrumb-light [aria-current="page"],
.breadcrumb-light li[aria-current="page"] {
  color: rgba(61, 107, 79, 0.85);
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: auto;
  background-color: var(--deep-teal);
  display: flex;
  align-items: flex-start;
  /* Convert centering offset to explicit top padding — keeps content positions identical */
  padding-top: max(0px, calc((100svh - 550px) / 2 - 80px));
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Clean deep teal — background colour comes from .hero itself */
}

/* Hero background image (swaps in when hero-bg.webp is present) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg-image.loaded { opacity: 1; }

/* Overlay only active when image is loaded */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 77, 94, 0.70);
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg-image.loaded ~ .hero-bg-overlay { opacity: 1; }

/* ── Portrait + stats: right column, stacked vertically ───── */
.hero-portrait-wrap {
  position: absolute;
  left: 50%;          /* starts at column boundary */
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: max(0px, calc((100svh - 550px) / 2 - 80px));
  padding-bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-portrait-frame {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  height: 480px;       /* matches image max-height — enables calc on child */
  overflow: hidden;    /* clips the extra 16px so float gap is invisible */
  /* No gradient border — image floats freely with glow */
  padding: 0;
  background: none;
  animation: none;
  box-shadow: none;
  border-radius: 0;
}

.hero-portrait-frame::before,
.hero-portrait-frame::after {
  display: none;
}

.hero-portrait-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: none;
  height: calc(100% + 16px);
  object-fit: contain;
  object-position: top center;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(212, 168, 87, 0.25));
  transform: scale(1.08);
  transform-origin: top center;
  /* animation moved to .hero-portrait-inner so image + box float together */
}

/* Inner wrapper — floats portrait + stats box as one unit, no gap between them */
.hero-portrait-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  animation: portraitFloat 4s ease-in-out infinite;
}

/* Credential strip in right column — fixed width, single row */
.hero-portrait-wrap .credential-strip {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 680px;
  pointer-events: auto;
  gap: 0;
}

.hero-portrait-wrap .credential-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 32px;
  min-width: 0;
  white-space: nowrap;
}

.hero-portrait-wrap .credential-divider {
  flex-shrink: 0;
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* No overlay — transparent PNG background is preserved */
.hero-portrait-teal-overlay { display: none; }
.hero-portrait-overlay       { display: none; }

/* ── Vertical column divider line ─────────────────────────── */
.hero-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  height: 200px;
  width: 1px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-divider-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent  0%,
    #D4A857     20%,
    #2E7A8A     50%,
    #D4A857     80%,
    transparent 100%
  );
  position: relative;
}

/* Shimmer highlight — moves top to bottom continuously */
.hero-divider-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -25%;
  width: 1px;
  height: 25%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85), transparent);
  animation: dividerShimmer 3s ease-in-out infinite;
}

@keyframes dividerShimmer {
  0%   { top: -25%; }
  100% { top: 110%; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 40px 0 0;
}

.hero-content .container {
  max-width: var(--container-max);
}

.hero-text {
  max-width: min(calc(48vw - 40px), 574px);
}

.hero-philosophical {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-philosophical-mark {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 300;
  color: rgba(247, 242, 234, 0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* ── Credential Strip ─────────────────────────────────────── */
.credential-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.credential-item {
  text-align: center;
}

.credential-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.credential-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.7);
}

.credential-divider {
  width: 1px;
  height: 48px;
  background: rgba(247, 242, 234, 0.2);
}

/* ── Scroll Indicator ─────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

/* Premium scroll indicator — dripping gold line */
.scroll-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,242,234,0.55);
}

.scroll-line-wrap {
  width: 1px;
  height: 52px;
  background: rgba(247,242,234,0.15);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-line {
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--gold) 50%, var(--gold));
  animation: scrollDrip 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scrollDrip {
  0%   { top: -60%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { top: 100%;  opacity: 0; }
}

/* ── Hero Responsive ──────────────────────────────────────── */

/* ── Large monitors (above 1920px) ───────────────────────────── */
@media (min-width: 1921px) {

  /* 1. Hero — background full width, content capped */
  .hero {
    padding-top: max(0px, calc((100svh - 550px) / 2 - 120px));
  }

  /* Pull quote closer to nav without moving any other element */
  .hero-content {
    margin-top: -60px;
  }

  .hero-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
  }

  /* Portrait: cap at 600px, never upscale beyond natural size */
  .hero-portrait-frame {
    height: 600px;
  }

  .hero-portrait-img {
    max-height: 600px;
    max-width: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: top center;
    image-rendering: high-quality;
  }

  /* 2. All sections — backgrounds full width, content contained */
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
  }

  /* 3. Typography scale-up */
  .hero-headline      { font-size: 72px; }
  .hero-philosophical { font-size: 20px; }
  .section-title      { font-size: 48px; }
}

/* 1920×1080 laptop target */
@media (max-width: 1920px) {
  .hero-content {
    padding-top: 120px !important;
  }

  .hero-headline {
    font-size: 44px;
  }

  .hero-philosophical {
    font-size: 18px;
  }

  .hero-portrait-frame {
    height: 400px;
    overflow: hidden;
  }

  .hero-portrait-img {
    max-height: 400px;
    height: 100%;
    width: auto;
  }

  .hero-portrait-wrap .credential-strip {
    width: 540px;
  }

  .hero-portrait-wrap .credential-number {
    font-size: 22px;
  }

  .hero-portrait-wrap .credential-label {
    font-size: 10px;
  }

  /* SCROLL: centred horizontally */
  .hero-scroll-indicator {
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
  }

  /* Portrait + stats box: push down 10% within the right column */
  .hero-portrait-inner {
    margin-top: 10%;
  }
}

/* Laptop (1024–1440px): two columns, scaled down for smaller screens */
@media (min-width: 1024px) and (max-width: 1440px) {
  /* 1. Text clearance — force quote away from navigation */
  .hero-content {
    padding-top: 140px;
  }

  .hero-philosophical {
    margin-top: 80px !important;
  }

  /* 2. Portrait: scale down proportionally */
  .hero-portrait-frame {
    height: 400px;
    overflow: hidden;
  }

  .hero-portrait-img {
    max-height: 400px;
    height: 100%;
    width: auto;
  }

  /* 3. Stats bar: narrower + smaller text + tighter padding */
  .hero-portrait-wrap .credential-strip {
    width: 520px;
  }

  .hero-portrait-wrap .credential-item {
    padding: 12px 16px;
  }

  .hero-portrait-wrap .credential-number {
    font-size: 22px;
  }

  .hero-portrait-wrap .credential-label {
    font-size: 9px;
  }

  /* 4. Scroll indicator: centred horizontally */
  .hero-scroll-indicator {
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
  }

  /* 5. H1: tighter at laptop size */
  .hero-headline {
    font-size: 44px;
  }

  .hero-philosophical {
    font-size: 16px;
  }
}

/* Tablet (768–1023px): single column, text → portrait → stats */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 60px;
  }

  /* Text block first */
  .hero-content {
    order: 1;
    padding: 0;
    width: 100%;
    padding-top: 120px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-divider { display: none; }

  /* Portrait + stats: in-flow below text, centered */
  .hero-portrait-wrap {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-portrait-inner {
    align-items: center;
  }

  .hero-portrait-frame {
    height: auto;
    overflow: visible;
  }

  .hero-portrait-img {
    max-height: 400px;
    max-width: 400px;
    height: auto;
  }

  .hero-portrait-wrap .credential-strip {
    width: 100%;
    max-width: 420px;
  }
}

/* Mobile (< 768px): single column, portrait hidden, stats BELOW CTAs */
@media (max-width: 767px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 48px; /* ensures nothing cut off at bottom */
  }

  /* Text block (quote → headline → sub → CTAs) comes first */
  .hero-content {
    order: 1;
    padding: 0;
    width: 100%;
    padding-top: 100px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-headline {
    font-size: 28px;
  }

  .hero-philosophical {
    font-size: 14px;
  }

  /* CTAs: side by side if space allows, 12px gap, wrap on very narrow screens */
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-divider { display: none; }

  /* Stats bar: in-flow below CTAs, inside hero, with bottom margin */
  .hero-portrait-wrap {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
  }

  /* Hide portrait image completely on mobile */
  .hero-portrait-frame {
    display: none;
  }

  /* Stats bar: full width, single row, smaller text */
  .hero-portrait-wrap .credential-strip {
    width: 100%;
    max-width: none;
  }

  .hero-portrait-wrap .credential-item {
    padding: 10px 6px;
  }

  .hero-portrait-wrap .credential-number {
    font-size: 20px;
  }

  .hero-portrait-wrap .credential-label {
    font-size: 9px;
  }

  /* Scroll indicator: in-flow below stats bar, centred on the row */
  .hero-scroll-indicator {
    order: 3;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-top: 16px;
    padding-bottom: 0;
  }
}

/* Credential divider hidden on small mobile */
@media (max-width: 480px) {
  .credential-strip {
    gap: 8px;
  }

  .credential-divider {
    display: none;
  }
}

/* ── Three Domain Cards ───────────────────────────────────── */
.domains-section {
  padding: var(--section-padding) 0;
  background: var(--cream);
}

/* Section header — two-column: left text, right pull quote */
.domains-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.domains-header-left {
  /* Contains label, title, intro */
}

/* Pull quote — top right of section */
.domains-pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--deep-teal);
  text-align: right;
  margin: 0;
  padding: 28px 0 0 0;
  border: none;
  position: relative;
}

.domains-pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 2px;
  background: var(--gold);
}

.section-label {
  color: var(--sage);
  margin-bottom: 16px;
}

.section-title {
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ink);
  max-width: 600px;
  margin-bottom: 0;
  opacity: 0.8;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.domain-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.domain-card--digital {
  background: var(--deep-teal);
}

.domain-card--ecological {
  background: var(--amber);
}

.domain-card--human {
  background: var(--sage);
}

.domain-card-inner {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  text-decoration: none;
}

.domain-card-inner:hover {
  text-decoration: none;
}

.domain-card-inner:hover .domain-card-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.domain-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Icon animations — pulse glow, breathe, slow rotate */
@keyframes iconPulseGlow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(212,168,87,0.3)); }
  50%       { filter: drop-shadow(0 0 10px rgba(212,168,87,0.7)); }
}

@keyframes iconRotateSlow {
  0%   { transform: rotate(0deg);   }
  100% { transform: rotate(360deg); }
}

.domain-card-icon--digital {
  animation: iconPulseGlow 3s ease-in-out infinite;
}

.domain-card-icon--ecological {
  /* breathe handled by .roots-group child */
}

.domain-card-icon--human {
  animation: iconRotateSlow 24s linear infinite;
  transform-origin: center center;
}

/* ── Card 1: Node pulse + data-flow line animation ────────── */
@keyframes nodePulse {
  0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 0px rgba(212,168,87,0)); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 6px rgba(212,168,87,0.85)); }
}

@keyframes dataFlow {
  0%   { stroke-dashoffset: 32; opacity: 0.2; }
  40%  { opacity: 0.85; }
  100% { stroke-dashoffset: 0;  opacity: 0.2; }
}

.dc1-node { animation: nodePulse 2.8s ease-in-out infinite; }
.dc1-n1   { animation-delay: 0s; }
.dc1-n2   { animation-delay: 0.4s; }
.dc1-n3   { animation-delay: 0.8s; }
.dc1-n4   { animation-delay: 1.2s; }
.dc1-n5   { animation-delay: 1.6s; }

.dc1-line { animation: dataFlow 2.8s linear infinite; }
.dc1-l1   { animation-delay: 0s; }
.dc1-l2   { animation-delay: 0.4s; }
.dc1-l3   { animation-delay: 0.8s; }
.dc1-l4   { animation-delay: 1.2s; }
.dc1-l5   { animation-delay: 1.6s; }

/* ── Card 2: Roots breathe animation ─────────────────────── */
@keyframes rootsBreathe {
  0%, 100% { transform: scale(0.96); opacity: 0.85; }
  50%       { transform: scale(1.04); opacity: 1; }
}

.roots-group {
  transform-origin: 30px 30px;
  animation: rootsBreathe 3.5s ease-in-out infinite;
}

/* Reduced motion — disable per-element icon animations */
@media (prefers-reduced-motion: reduce) {
  .dc1-node,
  .dc1-line,
  .roots-group { animation: none !important; opacity: 1 !important; }
}

.domain-card-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.6);
  margin-bottom: 16px;
}

.domain-card-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.domain-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(247, 242, 234, 0.8);
  line-height: 1.7;
  flex: 1;
}

.domain-card-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Card 1 — Digital (teal background): teal CTA — lightened for visibility on dark bg */
.domain-card--digital .domain-card-cta {
  color: #2E7A8A;
  opacity: 1;
  filter: brightness(1.8);
}
.domain-card--digital .domain-card-inner:hover .domain-card-cta {
  color: #4aa8bc;
  text-shadow: 0 0 12px rgba(46, 122, 138, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Card 2 — Ecological (amber background): cream CTA */
.domain-card--ecological .domain-card-cta {
  color: #F7F2EA;
}
.domain-card--ecological .domain-card-inner:hover .domain-card-cta {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(247, 242, 234, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Card 3 — Human (sage background): gold CTA */
.domain-card--human .domain-card-cta {
  color: #D4A857;
}
.domain-card--human .domain-card-inner:hover .domain-card-cta {
  color: #e8c070;
  text-shadow: 0 0 12px rgba(212, 168, 87, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.domain-card-cta svg {
  transition: transform var(--anim-fast);
}

.domain-card:hover .domain-card-cta svg {
  transform: translateX(4px);
}

/* ── Section CTA Link ─────────────────────────────────────── */
.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1px solid var(--deep-teal);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--deep-teal);
  border-radius: 50px;
  transition: left 0.3s ease;
  z-index: 0;
}

.section-cta:hover::before {
  left: 0;
}

.section-cta-text,
.section-cta-arrow {
  position: relative;
  z-index: 1;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-teal);
  transition: color 0.3s ease;
}

.section-cta:hover .section-cta-text,
.section-cta:hover .section-cta-arrow {
  color: var(--white);
}

.section-cta-arrow {
  transition: transform 0.3s ease, color 0.3s ease;
}

.section-cta:hover .section-cta-arrow {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .domains-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .domains-pull-quote {
    text-align: left;
    font-size: 20px;
  }

  .domains-pull-quote::before {
    left: 0;
    right: auto;
  }

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

  .domain-card {
    min-height: 320px;
  }
}

/* ── Current Work Tiles ───────────────────────────────────── */
.work-section {
  padding: var(--section-padding) 0;
  background: var(--mist);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.work-tile {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 77, 94, 0.08);
}

.work-tile-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.work-tile-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(26, 26, 24, 0.4);
}

.work-tile-img-placeholder--teal    { background: var(--deep-teal); color: rgba(247,242,234,0.4); }
.work-tile-img-placeholder--amber   { background: var(--amber); color: rgba(247,242,234,0.4); }
.work-tile-img-placeholder--forest  { background: var(--forest); color: rgba(247,242,234,0.4); }

.work-tile-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-tile-tag {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  align-self: flex-start;
}

.work-tile-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--deep-teal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.work-tile-desc {
  font-size: 15px;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.6;
  flex: 1;
}

.work-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.work-tile-link svg {
  transition: transform var(--anim-fast);
}

.work-tile:hover .work-tile-link svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Initiative Tiles (Active Initiatives section) ───────── */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grid-gap);
  margin: 56px 0 0;
}

/* Each tile spans 2 of 6 columns = 3 per row */
.initiative-tile { grid-column: span 2; }

/* Row 2 (tiles 4+5): center in the 6-col grid */
.initiative-tile:nth-child(4) { grid-column: 2 / 4; }
.initiative-tile:nth-child(5) { grid-column: 4 / 6; }

@keyframes borderSweep {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.initiative-tile {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  padding-top: 44px; /* compensate for removed border-top — ::before is 4px */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--anim-medium), box-shadow var(--anim-medium);
}

/* Animated sweep bar — translateX loop, two shimmers 50% apart = no reset jump */
.initiative-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;       /* twice tile width; overflow:hidden clips it */
  height: 4px;
  border-radius: 12px 12px 0 0;
  animation: borderSweep 8s linear infinite;
}

.initiative-tile--teal::before {
  background: linear-gradient(
    90deg,
    #2E7A8A 0%,
    #2E7A8A 33%,
    rgba(255,255,255,0.55) 38%,
    #2E7A8A 43%,
    #2E7A8A 83%,
    rgba(255,255,255,0.55) 88%,
    #2E7A8A 93%,
    #2E7A8A 100%
  );
}

.initiative-tile--amber::before {
  background: linear-gradient(
    90deg,
    #B8873A 0%,
    #B8873A 33%,
    rgba(255,255,255,0.55) 38%,
    #B8873A 43%,
    #B8873A 83%,
    rgba(255,255,255,0.55) 88%,
    #B8873A 93%,
    #B8873A 100%
  );
}

.initiative-tile--sage::before {
  background: linear-gradient(
    90deg,
    #3D6B4F 0%,
    #3D6B4F 33%,
    rgba(255,255,255,0.55) 38%,
    #3D6B4F 43%,
    #3D6B4F 83%,
    rgba(255,255,255,0.55) 88%,
    #3D6B4F 93%,
    #3D6B4F 100%
  );
}

/* Stagger so tiles don't shimmer in sync */
.initiative-tile--amber::before { animation-delay: -2.66s; }
.initiative-tile--sage::before  { animation-delay: -5.33s; }

.initiative-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
  .initiative-tile::before { animation: none; }
}

.initiative-tile-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.initiative-tile-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.initiative-tile-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 32px;
}

.initiative-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: auto;
}

.initiative-tile--teal  .initiative-tile-link { color: var(--teal); }
.initiative-tile--amber .initiative-tile-link { color: var(--amber); }
.initiative-tile--sage  .initiative-tile-link { color: var(--sage); }

/* Text-only underline — scoped to text span, arrow excluded */
/* Explore link underline — matches nav-link hover technique exactly */
.initiative-link-text {
  position: relative;
  display: inline-block;
}

.initiative-link-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.initiative-tile:hover .initiative-link-text::after { width: 100%; }

.initiative-tile--teal  .initiative-link-text::after,
.initiative-tile--amber .initiative-link-text::after,
.initiative-tile--sage  .initiative-link-text::after { background: linear-gradient(90deg, var(--teal), var(--gold)); }

.initiative-tile-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

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

/* Responsive */
@media (max-width: 1023px) and (min-width: 768px) {
  .initiative-grid { grid-template-columns: repeat(2, 1fr); }
  .initiative-tile,
  .initiative-tile:nth-child(4),
  .initiative-tile:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 767px) {
  .initiative-grid { grid-template-columns: 1fr; }
  .initiative-tile,
  .initiative-tile:nth-child(4),
  .initiative-tile:nth-child(5) { grid-column: span 1; }
}

/* ── Home Insights Preview Cards ─────────────────────────── */
.home-insight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(29,77,94,0.07);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--anim-medium), box-shadow var(--anim-medium);
}
.home-insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.home-insight-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: auto;
  padding-top: 20px;
}
.home-insight-link-text {
  position: relative;
  display: inline-block;
}
.home-insight-link-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-insight-card:hover .home-insight-link-text::after { width: 100%; }
.home-insight-link-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.home-insight-card:hover .home-insight-link-arrow { transform: translateX(4px); }

/* ── Gulf Logo Ticker ─────────────────────────────────────── */
.gulf-ticker-section {
  background: #F7F2EA;
  padding: 56px 0;
}

.gulf-ticker-header {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto 40px;
  padding: 0 40px;
}

.gulf-ticker-rule {
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, transparent, rgba(29,77,94,0.25));
}

.gulf-ticker-rule--right {
  background: linear-gradient(to left, transparent, rgba(29,77,94,0.25));
}

.gulf-ticker-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
}

.gulf-ticker-outer {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.gulf-ticker-outer::before,
.gulf-ticker-outer::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}

.gulf-ticker-outer::before {
  left: 0;
  background: linear-gradient(to right, #F7F2EA, transparent);
}

.gulf-ticker-outer::after {
  right: 0;
  background: linear-gradient(to left, #F7F2EA, transparent);
}

.gulf-ticker-inner {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
}

.gulf-ticker-outer:hover .gulf-ticker-inner {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gulf-ticker-item {
  padding: 0 48px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gulf-ticker-logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.72;
  transition: opacity 0.4s ease;
}

.gulf-ticker-item:hover .gulf-ticker-logo {
  opacity: 1;
}

.gulf-ticker-logo--dc {
  height: 42px !important;
}

.gulf-ticker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D4A857;
  opacity: 0.4;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .gulf-ticker-inner {
    animation: none;
  }
}



/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--cream);
  text-align: center;
}

.cta-section-eyebrow {
  color: var(--sage);
  margin-bottom: 16px;
}

.cta-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--deep-teal);
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto 24px;
}

.cta-section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.75;
  max-width: 480px;
  margin: 0 auto 40px;
}

.cta-section-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary-dark {
  background: var(--deep-teal);
  color: var(--white);
}

.btn-primary-dark:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: rgba(247, 242, 234, 0.75);
  text-decoration: none;
  transition: color var(--anim-fast);
}

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

.footer-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: rgba(247, 242, 234, 0.75);
  text-decoration: none;
  transition: color var(--anim-fast);
}

.footer-linkedin-link:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 242, 234, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(247, 242, 234, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(247, 242, 234, 0.45);
  text-decoration: none;
  transition: color var(--anim-fast);
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Quote Block ──────────────────────────────────────────── */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  margin: 40px 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--deep-teal);
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-block cite {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  font-style: normal;
}

/* ── GDPR Cookie Notice ───────────────────────────────────── */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-cookie);
  background: var(--cream);
  color: var(--ink);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--mist);
}

.cookie-notice p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-notice p a {
  color: var(--teal);
}

.cookie-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--anim-fast);
}

.cookie-btn-accept:hover {
  background: var(--deep-teal);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--sage);
  border: 1px solid var(--mist);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--anim-fast), border-color var(--anim-fast);
}

.cookie-btn-decline:hover {
  color: var(--ink);
  border-color: var(--sage);
}

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

/* ── Utility ──────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 20px;
  }
}

/* ── Testimonial Slider (shared) ───────────────────────────── */
.testimonial-section { padding: var(--section-padding) 0; background: var(--cream); }
.testimonial-header  { text-align:center; margin-bottom:56px; }
.testimonial-viewport { overflow:hidden; position:relative; }
.testimonial-track { display:flex; gap:24px; transition: transform 600ms cubic-bezier(0.16,1,0.3,1); will-change:transform; }
.testimonial-card { flex:0 0 calc((100% - 48px)/3); background:var(--white); border-radius:4px; padding:36px 32px; display:flex; flex-direction:column; gap:20px; box-shadow:0 1px 4px rgba(26,26,24,0.06); }
.testimonial-quote { font-family:var(--font-display); font-size:19px; font-weight:400; font-style:italic; color:var(--ink); line-height:1.6; flex:1; }
.testimonial-quote::before { content:'\201C'; color:var(--gold); margin-right:2px; }
.testimonial-quote::after  { content:'\201D'; color:var(--gold); margin-left:2px; }
.testimonial-author { display:flex; align-items:center; gap:14px; }
.testimonial-avatar { width:44px; height:44px; border-radius:50%; flex-shrink:0; object-fit:cover; }
.testimonial-name { font-family:var(--font-body); font-size:14px; font-weight:500; color:var(--ink); }
.testimonial-meta { font-family:var(--font-body); font-size:12px; font-weight:300; color:var(--ink); opacity:0.55; margin-top:2px; }
.testimonial-nav  { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:40px; }
.testimonial-arrow { width:40px; height:40px; border-radius:50%; border:1px solid var(--mist); background:var(--white); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color 0.2s,opacity 0.2s; }
.testimonial-arrow:hover { border-color:var(--teal); }
.testimonial-arrow:disabled { opacity:0.3; cursor:default; }
.testimonial-arrow svg { width:16px; height:16px; stroke:var(--ink); fill:none; stroke-width:1.5; }
.testimonial-dots { display:flex; gap:8px; align-items:center; }
.testimonial-dot { width:7px; height:7px; border-radius:50%; background:var(--mist); cursor:pointer; transition:background 0.25s,transform 0.25s; border:none; padding:0; }
.testimonial-dot.active { background:var(--teal); transform:scale(1.35); animation:testimonialDotPulse 0.4s ease-out; }
@keyframes testimonialDotPulse { 0%{box-shadow:0 0 0 0 rgba(46,122,138,0.4)} 100%{box-shadow:0 0 0 6px rgba(46,122,138,0)} }
@media(max-width:900px){ .testimonial-card{ flex-basis:calc((100% - 24px)/2); } }
@media(max-width:600px){ .testimonial-card{ flex-basis:100%; } }
@media(prefers-reduced-motion:reduce){ .testimonial-track{ transition:none; } }

/* ── Responsive Grid Utilities ───────────────────────────── */
@media (max-width: 767px) {
  .two-col,
  .about-intro-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 900px) {
  .four-col { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .four-col { grid-template-columns: 1fr !important; }
}

/* ── Responsive Table Overflow ───────────────────────────── */
@media (max-width: 767px) {
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
