/* ============================================================
   DIRECT JOURNEYLINE HOLDINGS — Design System
   ============================================================ */

/* --- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* --- Custom Properties ------------------------------------ */
:root {
  /* Colors */
  --color-navy:        #0B1F3A;
  --color-navy-mid:    #142E52;
  --color-gold:        #C9A84C;
  --color-white:       #F5F7FA;
  --color-light-gray:  #E8ECF1;
  --color-text:        #1A1A2E;
  --color-text-muted:  #5A6478;

  /* Typography */
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  /* Sizing */
  --max-width: 1200px;
  --section-padding-desktop: 80px;
  --section-padding-mobile:  48px;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 2px 12px rgba(11, 31, 58, 0.10);
  --shadow-card-hover: 0 8px 32px rgba(11, 31, 58, 0.18);
  --transition: 0.22s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* --- Layout Utilities ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: var(--section-padding-desktop);
}

main {
  flex: 1;
}

/* --- Section Label ---------------------------------------- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

/* --- Buttons ---------------------------------------------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #b8922e;
  border-color: #b8922e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
  outline: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.15);
  outline: none;
}

/* --- Card ------------------------------------------------- */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

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

/* --- Navigation ------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-navy-mid);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.nav-logo-text .logo-tagline {
  display: none;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(245, 247, 250, 0.80);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--color-white);
  background-color: rgba(245, 247, 250, 0.07);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--color-gold);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger open state */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) 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(-9px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--color-navy-mid);
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    padding: 12px 24px 20px;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.35);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid rgba(245, 247, 250, 0.07);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(245, 247, 250, 0.75);
  font-family: var(--font-body);
}

.footer-main {
  padding-block: 64px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(245, 247, 250, 0.65);
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(245, 247, 250, 0.70);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--color-gold);
}

.footer-bar {
  border-top: 1px solid rgba(245, 247, 250, 0.10);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bar p {
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.45);
}

.footer-bar a {
  font-size: 0.875rem;
  color: rgba(245, 247, 250, 0.45);
  transition: color var(--transition);
}

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

/* --- Section padding responsive --------------------------- */
@media (max-width: 768px) {
  section {
    padding-block: var(--section-padding-mobile);
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3125rem; }
}

/* --- Page Shell ------------------------------------------- */
.page-hero-placeholder {
  padding-block: var(--section-padding-desktop);
  background-color: var(--color-navy-mid);
  text-align: center;
}

.page-hero-placeholder h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero-placeholder p {
  color: rgba(245, 247, 250, 0.65);
  font-size: 1.125rem;
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* --- Nav logo image --------------------------------------- */
.nav-logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/* --- Hero ------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1800&q=80');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* no padding-block override — hero is full viewport */
  padding-block: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-inline: 24px;
  padding-block: 40px;
}

.hero-content .section-label {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0ms;
  opacity: 0;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 150ms;
  opacity: 0;
  text-shadow: 0 2px 16px rgba(11, 31, 58, 0.5);
}

.hero-content .hero-sub {
  font-size: 1.2rem;
  color: rgba(245, 247, 250, 0.85);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 40px;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 300ms;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 450ms;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(245, 247, 250, 0.55);
  animation: chevronBounce 1.8s ease-in-out infinite;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
  transition: color var(--transition);
}

.hero-scroll:hover {
  color: var(--color-gold);
}

.hero-scroll svg {
  display: block;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content .hero-sub {
    font-size: 1.0625rem;
  }
}

/* --- Mission Statement ------------------------------------ */
.mission {
  background-color: #ffffff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: center;
}

.mission-quote {
  border-left: 4px solid var(--color-gold);
  padding-left: 32px;
}

.mission-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.45;
  color: var(--color-navy);
  font-style: italic;
}

.mission-copy p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

@media (max-width: 860px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mission-quote blockquote {
    font-size: 1.375rem;
  }
}

/* --- Company Cards ---------------------------------------- */
.companies-section {
  background-color: var(--color-light-gray);
}

.companies-section h2 {
  margin-bottom: 12px;
}

.companies-section .section-header {
  margin-bottom: 48px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.company-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.company-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 168, 76, 0.10);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.company-card h3 {
  font-size: 1.375rem;
  color: var(--color-navy);
  margin: 0;
}

.company-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

.card-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.card-link:hover {
  color: #b8922e;
  gap: 8px;
}

/* --- Testimonials ----------------------------------------- */
.testimonials {
  background-color: var(--color-navy);
}

.testimonials h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.testimonials .section-header {
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background-color: var(--color-navy-mid);
  border-radius: var(--radius-md);
  padding: 36px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--color-gold);
  opacity: 0.7;
  user-select: none;
  display: block;
}

.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.88);
  font-style: italic;
  flex: 1;
}

.testimonial-attribution {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}

/* --- CTA Banner ------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  border-top: 3px solid var(--color-gold);
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(245, 247, 250, 0.72);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ============================================================
   ABOUT PAGE SECTIONS
   ============================================================ */

/* --- Page Hero (shared, short variant) -------------------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-block: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.62);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-inline: 24px;
  padding-block: 40px;
}

.page-hero-content h1 {
  color: var(--color-white);
  font-size: 2.75rem;
  text-shadow: 0 2px 16px rgba(11, 31, 58, 0.5);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 50vh;
  }

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

/* --- Company Overview ------------------------------------- */
.overview {
  background-color: #ffffff;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: center;
}

/* Stats block */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* Narrative copy */
.overview-copy h2 {
  margin-bottom: 24px;
}

.overview-copy p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}

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

  .stats-grid {
    gap: 28px 20px;
  }

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

/* --- Our Approach ----------------------------------------- */
.approach {
  background-color: var(--color-light-gray);
}

.approach .section-header {
  margin-bottom: 56px;
}

.approach h2 {
  margin-top: 8px;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

/* Connector line between steps */
.step-connector {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(201,168,76,0.3) 100%);
  margin-top: 28px; /* align with center of the number circle */
  align-self: start;
  flex-shrink: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-number span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}

.step-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}

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

  .step-connector {
    width: 2px;
    height: 32px;
    margin-top: 0;
    margin-left: 27px; /* align with circle center */
    background: linear-gradient(180deg, var(--color-gold) 0%, rgba(201,168,76,0.3) 100%);
    align-self: auto;
  }
}

/* --- Soft CTA (navy, centered) ---------------------------- */
.soft-cta {
  background-color: var(--color-navy);
  text-align: center;
}

.soft-cta h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.soft-cta p {
  font-size: 1.0625rem;
  color: rgba(245, 247, 250, 0.72);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
}

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

/* ============================================================
   COMPANIES PAGE SECTIONS
   ============================================================ */

/* --- Company two-column layout ---------------------------- */
.company-section {
  /* backgrounds set per-section inline via modifier classes */
}

.company-section--white  { background-color: #ffffff; }
.company-section--gray   { background-color: var(--color-light-gray); }

.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* "reverse" variant: image left, text right on desktop */
@media (min-width: 861px) {
  .company-layout.reverse .company-image {
    order: -1;
  }
}

/* Mobile: image always stacks above text */
@media (max-width: 860px) {
  .company-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .company-layout .company-image {
    order: -1;
  }
}

/* --- Image column ----------------------------------------- */
.company-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  aspect-ratio: 4 / 3;
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.company-image:hover img {
  transform: scale(1.03);
}

/* --- Text column ------------------------------------------ */
.company-text h2 {
  font-size: 2.5rem;
  margin: 10px 0 20px;
}

.company-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.company-text p:last-of-type {
  margin-bottom: 0;
}

/* --- Feature list ----------------------------------------- */
.feature-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  background-color: rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  /* Gold checkmark via inline SVG background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

@media (max-width: 860px) {
  .company-text h2 {
    font-size: 2rem;
  }
}

/* ============================================================
   TEAM PAGE SECTIONS
   ============================================================ */

/* --- Team grid -------------------------------------------- */
.team-grid-section {
  background-color: #ffffff;
}

.team-grid-section .section-header {
  margin-bottom: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.team-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Circular headshot */
.team-headshot {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
}

.team-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Initials fallback (when photo unavailable) */
.team-headshot-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--color-navy-mid);
  border: 3px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  user-select: none;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 5px;
  color: var(--color-navy);
}

.team-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: left;
  flex: 1;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity var(--transition);
}

.team-linkedin:hover {
  opacity: 0.72;
}

/* --- Values section --------------------------------------- */
.values-section {
  background-color: var(--color-navy);
  text-align: center;
}

.values-section h2 {
  color: var(--color-white);
  margin-bottom: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.value-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(201, 168, 76, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item h3 {
  color: var(--color-white);
  font-size: 1.25rem;
}

.value-item p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(245, 247, 250, 0.70);
  max-width: 300px;
  margin-inline: auto;
}

/* ============================================================
   CONTACT PAGE SECTIONS
   ============================================================ */

/* --- Contact layout --------------------------------------- */
.contact-section {
  background-color: #ffffff;
}

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

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* --- Left column ------------------------------------------ */
.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Reason cards */
.reason-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.reason-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.08);
}

.reason-icon {
  font-size: 1.375rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.reason-card h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.reason-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Direct contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact-detail-item svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.contact-detail-item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Right column — form ---------------------------------- */
.contact-form-wrap {
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-field label .optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-left: 4px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: #ffffff;
  border: 1.5px solid #d0d7e2;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-field 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='%235A6478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a0aab8;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 500px) {
  .contact-form-wrap {
    padding: 28px 20px;
  }

  .contact-form .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   ANIMATIONS & INTERACTIONS
   ============================================================ */

/* --- 1. Scroll reveal ------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Stagger siblings in grids so they don't all pop at once */
.companies-grid .company-card.reveal:nth-child(2),
.testimonials-grid .testimonial-card.reveal:nth-child(2),
.team-grid .team-card.reveal:nth-child(2),
.values-grid .value-item.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.companies-grid .company-card.reveal:nth-child(3),
.testimonials-grid .testimonial-card.reveal:nth-child(3),
.team-grid .team-card.reveal:nth-child(3),
.values-grid .value-item.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.team-grid .team-card.reveal:nth-child(4)  { transition-delay: 0.1s; }
.team-grid .team-card.reveal:nth-child(5)  { transition-delay: 0.2s; }
.team-grid .team-card.reveal:nth-child(6)  { transition-delay: 0.1s; }
.team-grid .team-card.reveal:nth-child(7)  { transition-delay: 0.2s; }

/* --- 2. Nav scroll shadow --------------------------------- */
.site-nav {
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* --- 3. Button hover (tighten to spec: 0.15s) ------------ */
.btn-primary,
.btn-secondary {
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background-color 0.15s ease, border-color 0.15s ease,
              color 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.18);
}

/* --- 4. Company card gold left-border on hover ----------- */
.company-card {
  border-left: 3px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition),
              border-left-color 0.2s ease;
}

.company-card:hover {
  border-left-color: var(--color-gold);
}

/* Restore hover transforms on revealed cards — specificity fix:
   .reveal.visible sets transform: none, so hover rules defined earlier
   in the file lose the cascade battle. Re-declaring them here wins. */
.company-card.visible:hover,
.card.visible:hover {
  transform: translateY(-4px);
}

.team-card.visible:hover {
  transform: translateY(-4px);
}

/* --- 5. Respect prefers-reduced-motion ------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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