/* ==========================================================================
   GVA Consulting Portfolio — Design System
   Primary: #1F3864 (navy) | Accent: #00B4D8 (teal) | Gold: #F59E0B
   Background: #FAFAF8 | Font: Inter
   ========================================================================== */

:root {
  --color-primary: #1F3864;
  --color-accent: #00B4D8;
  --color-gold: #F59E0B;
  --color-bg: #FAFAF8;
  --color-bg-alt: #F0EFE9;
  --color-text: #1A1A1A;
  --color-text-muted: #5B6472;
  --color-border: #E2E0D8;
  --color-white: #FFFFFF;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1160px;
  --radius: 8px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
}

.navbar__brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.navbar__brand:hover {
  text-decoration: none;
}

.navbar__links {
  display: flex;
  gap: var(--space-md);
}

.navbar__links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.navbar__links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.navbar__links a.is-active {
  color: var(--color-accent);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn--primary:hover {
  background-color: #16294a;
}

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

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

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

.btn--accent:hover {
  background-color: #0090ad;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero__eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.hero p.hero__lede {
  font-size: 1.15rem;
  max-width: 55ch;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__header {
  max-width: 60ch;
  margin-bottom: var(--space-lg);
}

.section__eyebrow {
  display: block;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Grids & Cards
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-md);
}

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

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

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  height: 100%;
}

.card h3 {
  font-size: 1.1rem;
}

.card--case {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--case:hover {
  box-shadow: 0 8px 24px rgba(31, 56, 100, 0.1);
  transform: translateY(-2px);
}

.card--case .card__tag {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card--case a.card__link {
  color: var(--color-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

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

.stat__number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-gold);
}

.stat__label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-primary);
  color: #C8D3E3;
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__brand {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.footer__heading {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__links a {
  color: #C8D3E3;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-sm);
  font-size: 0.85rem;
  color: #9AAAC4;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Case study scaffold
   -------------------------------------------------------------------------- */

.case-hero {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.case-meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.case-meta__item {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.case-meta__item strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

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

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

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

@media (max-width: 640px) {
  .navbar__links {
    display: none;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

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

/* --------------------------------------------------------------------------
   Client marquee logo overrides
   -------------------------------------------------------------------------- */

#logo-jpmc {
  height: 52px !important;
  max-width: 120px !important;
  object-fit: contain !important;
}

#logo-allstate {
  height: 60px !important;
  max-width: 130px !important;
  object-fit: contain !important;
}

#logo-wellsfargo {
  height: 48px !important;
  max-width: 110px !important;
  object-fit: contain !important;
}

#logo-imperial {
  height: 48px !important;
  max-width: 120px !important;
  object-fit: contain !important;
}

#logo-nsw {
  height: 52px !important;
  max-width: 100px !important;
  object-fit: contain !important;
}

#logo-rakuten {
  height: 60px !important;
  max-width: 130px !important;
  object-fit: contain !important;
}

#logo-linkedin {
  height: 40px !important;
  max-width: 110px !important;
  object-fit: contain !important;
}

/* ==========================================================================
   Homepage — full-bleed sections, inner content capped 1440px.
   Overrides the shared style.css container constraints above.
   ========================================================================== */

body { margin: 0; overflow-x: hidden; }

/* Every section spans full viewport; only .inner is constrained. */
.inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}

.label {
  display: block;
  color: #00B4D8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- 1. NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 11px 80px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(31,56,100,0.08);
}
.nav__brand {
  color: #1F3864;
  font-weight: 700;
  font-size: 1.6rem;
}
.nav__brand:hover { text-decoration: none; }
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: #1F3864;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav__links a:hover { color: #00B4D8; }

/* ---- 2. HERO ---- */
.hero {
  width: 100%;
  background: #1F3864;
  position: relative;
}
section#hero, section.hero, .hero {
  display: flex !important;
  align-items: center !important;
  min-height: 85vh !important;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #00B4D8, #F59E0B, #00B4D8);
}
.hero .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
}
.hero__pills {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.pill {
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.35);
  color: #00B4D8;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  max-width: 700px;
  margin: 0;
  white-space: nowrap;
}
.hero__sub {
  font-size: 18px;
  color: rgba(250,250,248,0.75);
  max-width: 955px;
  line-height: 1.7;
  margin-top: 20px;
  text-align: justify;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}
.btn-solid {
  background: #00B4D8;
  color: #FFFFFF;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.btn-solid:hover { background: #0090ad; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* ---- Shared section shells ---- */
.section { width: 100%; }
.section--cream { background: #FAFAF8; }
.section--white { background: #FFFFFF; }
.section--navy  { background: #1F3864; }
.section .inner { padding: 64px 80px; }
.h-sec {
  font-size: 36px;
  font-weight: 800;
  color: #1F3864;
  margin: 0 0 20px;
}
.h-sec--white { color: #FFFFFF; }
.h-sec--tight { margin-bottom: 8px; }
.subtext {
  color: #64748B;
  font-size: 14px;
  margin: 0 0 40px;
}

/* ---- 3. ABOUT ---- */
.about__body {
  font-size: 18px;
  color: #4A5568;
  line-height: 1.75;
  max-width: 100%;
  margin: 0 0 48px;
  text-align: justify;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    "left tl tr right"
    "left bl br right";
  gap: 24px;
}
.metric-tile--left  { grid-area: left; }
.metric-tile--tl    { grid-area: tl; }
.metric-tile--tr    { grid-area: tr; }
.metric-tile--bl    { grid-area: bl; }
.metric-tile--br    { grid-area: br; }
.metric-tile--right { grid-area: right; }
.metric-tile {
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 12px;
  border-top: 3px solid #00B4D8;
  box-shadow: 0 10px 40px rgba(31,56,100,0.12), 0 2px 8px rgba(31,56,100,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}
.metric-tile:hover {
  transform: translateY(-4px);
  border-top-color: #F59E0B;
  box-shadow: 0 20px 60px rgba(31,56,100,0.2), 0 4px 12px rgba(31,56,100,0.1);
}
.metric-tile__num {
  font-size: 2rem;
  font-weight: 700;
  color: #F59E0B;
  line-height: 1;
  text-align: center;
}
.metric-tile__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #1F3864;
  text-align: center;
}

/* ---- 4. JOURNEY ---- */
.company-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  position: relative;
}
.company-row__line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: #00B4D8;
  z-index: 0;
}
.company-card {
  width: calc(25% - 18px);
  height: 180px;
  box-sizing: border-box;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  text-align: center;
  cursor: pointer;
  font: inherit;
  appearance: none;
}
.company-card:focus-visible {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
}
.company-card.is-selected {
  border: 2px solid #F59E0B;
  box-shadow: 0 4px 20px rgba(245,158,11,0.25);
}
.company-card img {
  height: 56px;
  max-width: 160px;
  object-fit: contain;
}
.company-card img.logo-mw {
  height: 70px;
  max-width: 180px;
  object-fit: contain;
}
.company-card__role {
  font-size: 11px;
  font-weight: 700;
  color: #1F3864;
  line-height: 1.4;
  margin-top: 8px;
}
.company-card__date {
  font-size: 10px;
  color: #00B4D8;
  font-weight: 500;
}
.click-bubble {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  background: #00B4D8;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}
.click-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(0,180,216,0.4);
  z-index: -1;
  animation: click-bubble-pulse 1.5s infinite;
}
@keyframes click-bubble-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}
.live-dot {
  width: 14px;
  height: 14px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34,197,94,0.4);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.clients { margin-top: 48px; }
.clients-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: #00B4D8;
  text-align: center;
}
.clients__label {
  color: #00B4D8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 24px;
}
.clients__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.client-card {
  width: calc((100% - 96px) / 7);
  height: 135px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 22px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-card img {
  height: 75px;
  max-width: 110px;
  object-fit: contain;
}
.cba-card {
  width: 140px;
  height: 72px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cba-card img {
  height: 32px;
  object-fit: contain;
}
.cba-card__name {
  font-size: 10px;
  font-weight: 700;
  color: #1F3864;
  text-align: center;
  margin-top: 4px;
}
.fp-card {
  width: 140px;
  height: 72px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fp-card img {
  height: 28px;
  object-fit: contain;
}
.fp-card__name {
  font-size: 10px;
  font-weight: 700;
  color: #1F3864;
  text-align: center;
}
.mw-card {
  width: 140px;
  height: 72px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mw-card img {
  height: 28px;
  object-fit: contain;
}
.mw-card__name {
  font-size: 10px;
  font-weight: 700;
  color: #1F3864;
  text-align: center;
}
.client-card img.logo-jpmc     { height: 71px; max-width: 110px; }
.client-card img.logo-allstate { height: 71px; max-width: 110px; }
.client-card img.logo-wf       { height: 83px; max-width: 110px; }
.client-card img.logo-imperial { height: 68px; max-width: 110px; }
.client-card img.logo-nsw      { height: 83px; max-width: 110px; }
.client-card img.logo-rakuten  { height: 68px; max-width: 110px; }
.client-card img.logo-linkedin { height: 75px; max-width: 110px; }

/* ---- 5. CAPABILITIES ---- */
.cap-section {
  background: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.cap-if {
  font-size: 4rem;
  font-weight: 800;
  color: #1F3864;
  margin-bottom: 2rem;
  text-align: left;
}
.cap-symptoms {
  display: flex;
  flex-direction: column;
}
.cap-symptom {
  background: #F7F7F5;
  border-left: 3px solid #00B4D8;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.5rem;
  box-shadow: none;
}
.cap-symptom:last-child { margin-bottom: 0; }

/* ---- 7. CREDENTIALS ---- */
.cred-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
}
.cred-card {
  flex: 1;
  box-sizing: border-box;
  background: #FAFAF8;
  border: 1px solid rgba(31,56,100,0.1);
  border-radius: 8px;
  padding: 32px;
}
.cred-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1F3864;
  margin-bottom: 16px;
}
.cred-card__line {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.8;
}
.cred-badge {
  height: 88px;
  width: auto;
  object-fit: contain;
}
.cred-body {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}
.cred-col-left {
  flex: 1;
}
.cred-col-right {
  width: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}
.cred-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cred-tile {
  background: #FFFFFF;
  border: 1px solid rgba(31,56,100,0.1);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cred-tile__title {
  font-size: 12px;
  font-weight: 700;
  color: #1F3864;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cred-tile__num {
  font-size: 10px;
  color: #64748B;
  font-weight: 400;
}
.cred-tile__sub {
  font-size: 11px;
  font-weight: 500;
  color: #4A5568;
}

/* ---- 8. CONTACT ---- */
.contact .inner {
  padding: 40px 80px;
  text-align: center;
}
.contact .label { margin-bottom: 16px; }
.contact h2 {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.contact__sub {
  font-size: 16px;
  color: rgba(250,250,248,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.btn-gold {
  background: #F59E0B;
  color: #1F3864;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-gold:hover { background: #E08D00; text-decoration: none; }
.contact__avail {
  margin-top: 28px;
  font-size: 11px;
  color: rgba(250,250,248,0.4);
  text-align: center;
}

/* ---- FOOTER (homepage) ---- */
.footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 80px;
  box-sizing: border-box;
  background: #162A50;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00B4D8, #F59E0B, #00B4D8, transparent);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.footer__name {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 14px;
}
.footer__tag {
  font-size: 11px;
  color: rgba(250,250,248,0.5);
  margin-top: 4px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-right a {
  color: #00B4D8;
  font-size: 11px;
  text-decoration: none;
}
.footer-bottom {
  width: 100%;
  margin-top: 20px;
  font-size: 9px;
  color: rgba(250,250,248,0.3);
  letter-spacing: 1px;
  text-align: center;
}

/* ---- Responsive (homepage) ---- */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .company-row { flex-wrap: wrap; }
  .company-row__line { display: none; }
  .company-card { width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "left left"
      "tl tr"
      "bl br"
      "right right";
  }
}
@media (max-width: 640px) {
  .company-card { width: 100%; }
  .cap-if { font-size: 2.75rem; }
  .cred-row { flex-direction: column; }
  .footer-row { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right { align-items: center; }

  .inner, .section .inner, .nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ===== HERO VISUAL ===== */
#hero-visual .canvas {
  position: relative;
  width: 760px;
  height: 700px;
  overflow: hidden;
}

/* ---- Aura ring ---- */
#hero-visual .ring-glow {
  animation: heroRingGlowPulse 3s ease-in-out infinite;
}
@keyframes heroRingGlowPulse {
  0%, 100% {
    stroke: #00B4D8;
    opacity: 0.2;
    stroke-width: 10;
  }
  33% {
    stroke: #00B4D8;
    opacity: 0.5;
    stroke-width: 14;
  }
  66% {
    stroke: #F59E0B;
    opacity: 0.5;
    stroke-width: 14;
  }
}

/* ---- Selected Work (homepage) ---- */
.selected-work__metric {
  color: #00B4D8;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  margin-bottom: 12px;
}

/* ---- Silhouette ---- */
#hero-visual .silhouette {
  position: absolute;
  left: 110px;
  top: 140px;
  width: 480px;
  height: 480px;
  overflow: hidden;
  z-index: 2;
}
#hero-visual .silhouette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 50%;
  display: block;
}

/* ---- Capability icons ---- */
#hero-visual .node {
  position: absolute;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  opacity: 0;
  animation: heroNodeFadeIn 0.5s ease-out forwards;
}
#hero-visual .node img {
  width: 65px;
  height: 65px;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0,180,216,0.6));
}
#hero-visual .node span {
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  margin-top: 5px;
  max-width: 90px;
  text-shadow: 0 0 6px rgba(0,180,216,0.5);
}
@keyframes heroNodeFadeIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

#hero-visual .node-1 { left: 305px; top: 15px;  animation-delay: 0.1s; }
#hero-visual .node-2 { left: 570px; top: 90px;  animation-delay: 0.3s; }
#hero-visual .node-3 { left: 640px; top: 310px; animation-delay: 0.5s; }
#hero-visual .node-4 { left: 540px; top: 540px; animation-delay: 0.7s; }
#hero-visual .node-5 { left: 60px;  top: 540px; animation-delay: 0.9s; }
#hero-visual .node-6 { left: -10px; top: 310px; animation-delay: 1.1s; }
#hero-visual .node-7 { left: 60px;  top: 90px;  animation-delay: 1.3s; }

/* ===== MOBILE RESPONSIVE ===== */

/* ---- Hamburger button (hidden on desktop) ---- */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #1F3864;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

@media (max-width: 768px) {

  /* ---- Navigation ---- */
  .nav { position: relative; }
  .nav__brand { font-size: 17px !important; white-space: nowrap; }
  .hamburger { display: block; }
  .nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1F3864;
    position: absolute;
    top: 100%;
    left: 0;
    gap: 0;
    padding: 0;
    margin: 0;
    z-index: 100;
  }
  .nav__links.nav-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 1rem;
    color: #FFFFFF;
    box-sizing: border-box;
  }
  .nav__links a:hover { color: #00B4D8; }

  /* ---- Hero (index.html) ---- */
  #hero-visual { display: none !important; }
  .hero {
    min-height: auto !important;
    padding: 4rem 1.5rem !important;
    background: #1F3864 !important;
    width: 100vw !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  .hero h1 {
    font-size: 1.8rem !important;
    white-space: normal !important;
    word-break: break-word;
  }
  .hero__sub { font-size: 1rem !important; }
  .hero__actions {
    flex-direction: column !important;
    width: 100%;
  }
  .hero__actions a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* ---- About (index.html) ---- */
  .metric-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    grid-template-areas: none !important;
    gap: 1rem !important;
  }
  .metric-tile,
  .metric-tile--left,
  .metric-tile--tl,
  .metric-tile--tr,
  .metric-tile--bl,
  .metric-tile--br,
  .metric-tile--right {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .metric-tile__num { font-size: 1.75rem !important; }

  /* ---- Journey (index.html) ---- */
  .company-row { flex-direction: column !important; }
  .company-card { width: 100% !important; margin-bottom: 1rem; }
  .timeline-ruler { display: none !important; }
  #journey { height: auto !important; }
  .clients { margin-top: 0 !important; }

  #journey .inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  #journey .company-row {
    margin-bottom: 1rem !important;
  }
  #journey .clients {
    margin-top: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
  }
  #journey #engagement-strip {
    width: 100% !important;
  }
  #journey #clients-prompt {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  #journey .clients__row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
  }
  #journey .client-card,
  #journey .cba-card,
  #journey .fp-card,
  #journey .mw-card {
    width: 45% !important;
    margin: 0 !important;
  }

  /* ---- Capabilities (index.html) ---- */
  .cap-symptom { width: 100%; padding: 1rem 1rem 1rem 1rem; }
  .cap-if { font-size: 2.5rem !important; }

  /* ---- Case study pages (cases/*.html) ---- */
  .cs-header-row { flex-direction: column !important; gap: 2rem !important; }
  .cs-header-video, .cs-video {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 1.5rem !important;
  }
  .cs-header-stake { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
  .stake-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem 1rem !important;
  }
  .cs-section .inner { padding: 2rem 1.5rem !important; }
  .cs-part__label { font-size: 1.5rem !important; }

  /* ---- Outcome section (cases/*.html) ---- */
  .kpi-row { grid-template-columns: repeat(2, 1fr) !important; }
  .cost-row { grid-template-columns: 1fr !important; }
  .qual-grid { grid-template-columns: 1fr !important; }

  /* ---- work.html ---- */
  .work-grid { grid-template-columns: 1fr !important; }
  .work-card { width: 100%; }

  /* ---- General ---- */
  .inner, .section .inner { padding: 0 1.5rem !important; }
  .section { padding: 3rem 0 !important; }
  body { font-size: 0.88rem; }
  .h-sec { font-size: 1.8rem !important; }
  p, .cap-symptom {
    text-align: left !important;
  }

  .cred-tile__title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .cred-col-right {
    display: none;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  #hero-visual {
    display: none !important;
  }

  h1, .hero h1 {
    white-space: normal !important;
    font-size: 1.8rem !important;
  }

  .hero__sub, .hero p {
    font-size: 0.85rem !important;
  }

  .inner {
    padding: 0 1.5rem !important;
  }

  .cred-row {
    flex-direction: column;
  }

  .cred-col-right {
    display: none;
  }
}

.btn-teal {
  background: #00B4D8;
  color: #fff;
  border: none;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-teal:hover {
  background: #0096b5;
}

.contact__options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.contact__card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact__detail:last-child {
  margin-bottom: 0;
}

.contact__detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00B4D8;
  margin-bottom: 0.35rem;
}

.contact__detail a,
.contact__detail span {
  font-size: 1rem;
  color: #1F3864;
  font-weight: 500;
  text-decoration: none;
}

.contact__detail a:hover {
  text-decoration: underline;
}

.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1F3864;
  background: #f7f7f7;
  box-sizing: border-box;
}

.form__input:focus {
  outline: none;
  border-color: #00B4D8;
  background: #fff;
}

#form-submit {
  width: auto;
  padding: 0.85rem 2.5rem;
  display: block;
  margin: 0.5rem auto 0 auto;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: #F59E0B;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

#form-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.contact__opt.active {
  background: #fff;
  color: #00B4D8;
  border: 2px solid #00B4D8;
}

.form__row--inline {
  display: flex;
  gap: 0.75rem;
}

.form__input--isd {
  width: 140px;
  flex-shrink: 0;
}

/* ---- Section background pass (index.html) ---- */
#about {
  background: #FFFFFF !important;
}
#about .h-sec {
  color: #1F3864;
}
#about .about__body {
  color: #1F3864;
}
#credentials {
  background: #1F3864 !important;
}
#credentials .h-sec {
  color: #FFFFFF;
}
#credentials .cred-card {
  background: #FAFAF8;
  border: 1px solid #E5E5E5;
}
#credentials .cred-card__title {
  color: #1F3864;
}
#credentials .cred-tile {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
}

/* ---- Mobile/tablet fixes: My Work, Expertise, Journey, Clients Served, Hero ---- */
@media (max-width: 900px) {
  .work-cards-grid { grid-template-columns: 1fr !important; }
  #capabilities .cap-cards { grid-template-columns: 1fr !important; }

  #journey .client-card { width: calc(25% - 12px) !important; }
  #journey .clients__row {
    justify-content: center !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  #journey .client-card { width: calc(50% - 8px) !important; }

  .work-cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .selected-work__metric { white-space: normal !important; }
}

/* ---- Hero proof strip: mobile portrait ---- */
@media (max-width: 600px) {
  .hero-proof {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-proof__group {
    min-width: 0;
    text-align: center;
  }
  .hero-proof__desc {
    white-space: normal !important;
  }
  .hero-proof__num {
    font-size: 1.2rem !important;
    white-space: nowrap !important;
  }
  .hero-proof__divider {
    margin: 0 8px !important;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  #journey .company-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  #journey .company-card { width: calc(50% - 12px) !important; }
}

@media (max-width: 599px) {
  #journey .company-row { flex-direction: column !important; }
  #journey .company-card { width: 100% !important; }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 100px !important;
    overflow: hidden !important;
  }
}

/* ---- Hero mobile portrait: equalise top/bottom spacing ---- */
@media (max-width: 768px) {
  .hero {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* ---- Hero landscape mobile: CTA cut off by bottom border ---- */
@media (max-width: 926px) and (orientation: landscape) {
  .hero {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 56px !important;
  }
  .nav__brand {
    font-size: 15px !important;
    white-space: nowrap !important;
  }
  .nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ---- About Me proof strip: stack on narrow mobile ---- */
@media (max-width: 600px) {
  #about .proof-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #about .proof-tile {
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    border-bottom: 1px solid #E5E5E5 !important;
  }
  #about .proof-tile:last-child {
    border-bottom: none !important;
  }
}

.form__input--phone {
  flex: 1;
}
