/* ===========================================================
   AZ Finance — shared stylesheet
   Palette: #2E4664 navy / #C9A24B gold / #FFFFFF white
   =========================================================== */

:root {
  --navy: #3A5578;
  --navy-700: #2F476A;
  --navy-900: #243A5B;
  --gold: #C9A24B;
  --gold-dim: #B0883D;
  --gold-soft: #E8D6A0;
  --white: #FFFFFF;
  --page-bg: #F2F6FB;
  --cream: #EEF3FA;
  --line: #E2E7EF;
  --muted: #6B7280;
  --ink: #111827;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 30, 50, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: #374151; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  background: rgba(46, 70, 100, 0.08);
  border-radius: 999px;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 120px; }
/* Pull the nav to the full viewport width so the logo can sit closer to the actual left edge */
.site-header .container.nav {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 32px;
}

/* LOGO — image-based, matches AZ Finance brand logo */
.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.site-header .logo-img { height: 100px; }
.site-footer .logo-img { height: 64px; }
/* Legacy text-wordmark styles (kept for backward compatibility) */
.logo-az {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700; font-size: 1.85rem; line-height: 1;
  color: var(--navy); letter-spacing: -0.01em;
}
.logo-finance {
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy-900); position: relative; top: -1px;
}
.logo-divider {
  display: inline-block; width: 1px; height: 22px;
  background: var(--gold); margin: 0 2px; position: relative; top: 4px;
}
.site-footer .logo-az { color: var(--gold); }
.site-footer .logo-finance { color: rgba(255,255,255,0.92); }

/* NAV LINKS */
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 0.95rem; color: #374151;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.btn-primary,
.nav-links a.btn-primary.active,
.nav-links a.btn-primary:hover { color: var(--white); }
.nav-links a.btn-primary.active::after { display: none; }
.nav-links a.client-login {
  font-weight: 500;
  font-size: 0.95rem;
  color: #374151;
}
.nav-links a.client-login:hover { color: var(--navy); }

/* CTA button inside the top nav — visually distinct pill */
.nav-links a.btn-nav {
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-left: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-links a.btn-nav:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

/* DROPDOWN */
.nav-item { position: relative; }
.nav-item > a.has-caret::after { display: none; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px; min-width: 260px;
  box-shadow: 0 18px 40px rgba(20, 30, 50, 0.12);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: #FFFFFF;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: #374151; font-size: 0.92rem; font-weight: 500;
}
.dropdown a::before { display: none; }
.dropdown a:hover { background: var(--cream); color: var(--navy); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-on-dark { background: var(--white); color: var(--navy); }
.btn-on-dark:hover { background: #EEF2F8; }

/* HERO */
.hero {
  position: relative;
  /* Navy gradient — shown as-is when no video, OR seen tinted through the overlay when the video is present */
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 100%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  color: var(--white); overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 0.95fr 1.25fr;
  gap: 48px; align-items: center; padding: 56px 0 40px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lede {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  max-width: 540px; margin-bottom: 32px;
}
.hero .eyebrow { background: rgba(255,255,255,0.12); color: var(--white); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateX(40px);
}
.hero-video-card {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* === TRUSTED BY (client logo strip) === */
.trusted-by {
  background: var(--cream);
  padding: 44px 0 48px;
  text-align: center;
}
.trusted-by .trusted-headline {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}
.trusted-by .logo-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* White card wrapper */
.trusted-by .logo-cell {
  background: #FFFFFF;
  height: 68px;
  border-radius: 10px;
  border: 1px solid rgba(20, 30, 50, 0.06);
  box-shadow: 0 1px 2px rgba(20, 30, 50, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trusted-by .logo-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 30, 50, 0.08);
}
/* The logo image itself — filters apply only to the image content */
.trusted-by .logo-grid img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  mix-blend-mode: multiply;  /* makes white pixels transparent so the card white shows through cleanly */
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.trusted-by .logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
}
/* Dark-background logos: invert so their dark bg becomes light and blends with the card.
   These use screen blend to keep the (now-dark) text visible on the white card. */
.trusted-by .logo-grid img[src*="humane-intelligence"],
.trusted-by .logo-grid img[src*="vinovest"],
.trusted-by .logo-grid img[src*="uslege"],
.trusted-by .logo-grid img[src*="eyelevel"] {
  filter: grayscale(1) invert(1);
}
.trusted-by .logo-cell:hover img[src*="humane-intelligence"],
.trusted-by .logo-cell:hover img[src*="vinovest"],
.trusted-by .logo-cell:hover img[src*="uslege"],
.trusted-by .logo-cell:hover img[src*="eyelevel"] {
  filter: grayscale(0) invert(1);
}
@media (max-width: 1100px) {
  .trusted-by .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .trusted-by .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trusted-by .logo-grid img { height: 56px; padding: 8px 10px; }
}

/* SECTIONS */
section { padding: 32px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }
.section-navy .eyebrow { background: rgba(255,255,255,0.12); color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* CARDS / GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(46, 70, 100, 0.25);
}
.card .icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  background: rgba(46, 70, 100, 0.08); color: var(--navy);
  border-radius: 12px; margin-bottom: 20px;
}
.card h3 { color: var(--navy-900); margin-bottom: 10px; }
.card p { color: #4B5563; margin-bottom: 16px; }
.card ul { padding-left: 18px; margin: 0; color: #4B5563; }
.card ul li { margin-bottom: 6px; }
.card-link {
  display: inline-block; margin-top: 20px;
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease;
}
.card-link:hover { transform: translateX(2px); }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  padding: 28px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step); display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 1.7rem; color: var(--navy);
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* INDUSTRIES */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry {
  padding: 36px 28px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line); text-align: left;
}
.industry .icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px;
  background: var(--navy); color: var(--white);
  border-radius: 12px; margin-bottom: 20px;
}
.industry h3 { color: var(--navy-900); }
.industry p { color: var(--muted); margin: 0; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; line-height: 1;
}
.stat .lbl {
  color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* TESTIMONIALS */
.tgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tquote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.tquote .quote { font-size: 1.1rem; color: var(--ink); margin-bottom: 22px; line-height: 1.55; }
.tquote .who { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700;
}
.who .name { font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.who .role { color: var(--muted); font-size: 0.85rem; }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--white); border-radius: 20px;
  padding: 60px 48px; text-align: center;
  margin: 0 auto; max-width: var(--max);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }

/* FOOTER */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,0.75);
  padding: 64px 0 28px; font-size: 0.92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white); font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid a { display: block; color: rgba(255,255,255,0.7); padding: 4px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-grid .logo { color: var(--white); margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px; display: flex; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}

/* PAGE HEADER (non-home) */
.page-head {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 100%);
  color: var(--white); padding: 96px 0 80px; text-align: center;
}
.page-head h1 { color: var(--white); }
.page-head p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info .info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .info-row .icon {
  width: 40px; height: 40px;
  background: rgba(46,70,100,0.08); color: var(--navy);
  border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
}
.contact-info .info-row .label { color: var(--muted); font-size: 0.85rem; margin: 0; }
.contact-info .info-row .val { font-weight: 600; color: var(--navy-900); margin: 0; }
form .field { margin-bottom: 18px; }
form label {
  display: block; font-weight: 600; font-size: 0.88rem;
  color: var(--navy-900); margin-bottom: 6px;
}
form input, form select, form textarea {
  width: 100%; padding: 12px 14px;
  font-size: 0.95rem; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color 0.15s ease;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--navy); }
form textarea { min-height: 130px; resize: vertical; }

/* TOOL STACK GRID (services page — "We work in the tools you already use") */
.tool-stack .section-head { margin-bottom: 36px; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.tool-cell {
  background: #FFFFFF;
  height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(20, 30, 50, 0.06);
  box-shadow: 0 1px 2px rgba(20, 30, 50, 0.03);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tool-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 30, 50, 0.08);
}
.tool-cell img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.tool-cell:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 1024px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tool-cell { height: 72px; }
}

/* STAT BAND (home page — big impact numbers) */
.stat-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stat-band::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
  pointer-events: none;
}
.stat-band::after {
  content: "";
  position: absolute; bottom: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 65%);
  pointer-events: none;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative; z-index: 1;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white); line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat-suffix { font-size: 0.55em; color: rgba(255,255,255,0.75); font-weight: 700; }
.stat-label {
  font-size: 0.98rem; color: rgba(255,255,255,0.80);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* TEAM STRIP (home page — horizontal team headshot preview) */
.team-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.team-strip-item {
  text-align: center; text-decoration: none;
  transition: transform 0.2s ease;
}
.team-strip-item:hover { transform: translateY(-4px); }
.team-strip-item img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center top;
  border-radius: 999px;
  border: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.team-strip-item:hover img {
  border-color: var(--navy-900);
  box-shadow: 0 12px 24px rgba(46,70,100,0.18);
}
.team-strip-name {
  color: var(--navy-900); font-weight: 700; font-size: 0.95rem;
  margin-top: 12px;
}
.team-strip-role {
  color: var(--muted); font-size: 0.82rem; margin-top: 2px;
}
@media (max-width: 900px) {
  .team-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .team-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Services page hero photo band */
.services-hero-band {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 700;
  max-height: 520px;
  overflow: hidden;
  padding: 0;
}
.services-hero-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.services-hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(27,43,65,0.80) 0%, rgba(27,43,65,0.55) 55%, rgba(27,43,65,0.25) 100%);
}
.services-hero-overlay .eyebrow {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.services-hero-overlay h1 {
  color: var(--white);
  margin: 14px 0 14px;
  max-width: 780px;
}
.services-hero-overlay p {
  color: rgba(255,255,255,0.90);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0;
}

/* Money/coins accent image inside CFO Advisory block */
.svc-block-accent {
  display: block;
  width: 60%;
  max-width: 240px;
  margin: 32px auto 0;
  opacity: 0.9;
}

/* About page hero photo band */
.hero-visual-caption {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.about-hero-band {
  position: relative;
  width: 100%;
  height: clamp(220px, 34vh, 340px);
  overflow: hidden;
  padding: 0;
}
.about-hero-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(27,43,65,0.82) 0%, rgba(27,43,65,0.55) 60%, rgba(27,43,65,0.30) 100%);
}
.about-hero-overlay .eyebrow {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.about-hero-overlay h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 10px 0 14px;
  max-width: 900px;
}
.about-hero-overlay p {
  color: rgba(255,255,255,0.90);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0;
}

/* "Who we are" split — text on left, photo on right */
.who-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.who-photo img {
  width: 100%; height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(20, 30, 50, 0.12);
  display: block;
}
@media (max-width: 900px) {
  .who-split { grid-template-columns: 1fr; gap: 32px; }
}

/* Full-width photo band with headline overlay */
.photo-band {
  position: relative;
  height: clamp(240px, 30vw, 380px);
  overflow: hidden;
  padding: 0;
}
.photo-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.photo-band-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(27,43,65,0.78) 0%, rgba(27,43,65,0.55) 60%, rgba(27,43,65,0.30) 100%);
}

/* CTA band with photo background */
.cta-band-photo {
  position: relative; overflow: hidden;
  padding: 80px 48px;
}
.cta-band-photo .cta-band-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0.35;
}
.cta-band-photo .cta-band-inner {
  position: relative; z-index: 1;
}

/* CLIENT LOGIN PAGE */
.login-wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; max-width: 980px; margin: 0 auto;
  align-items: start;
}
.login-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.login-side {
  padding: 32px 8px;
}
.login-benefits { list-style: none; padding: 0; margin: 0; }
.login-benefits li {
  padding: 10px 0 10px 28px; position: relative;
  color: #374151; border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.login-benefits li:last-child { border-bottom: none; }
.login-benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: var(--navy); font-weight: 700;
}
@media (max-width: 800px) {
  .login-wrap { grid-template-columns: 1fr; gap: 24px; }
  .login-card { padding: 28px; }
}

/* SERVICE DETAIL BLOCKS */
.svc-block {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px;
  align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line);
}
.svc-block:last-child { border-bottom: none; }
.svc-block h2 { margin-bottom: 16px; }
.svc-block .icon-lg {
  width: 64px; height: 64px;
  background: var(--navy); color: var(--white);
  border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
}
.svc-block ul { list-style: none; padding: 0; }
.svc-block ul li {
  padding: 10px 0 10px 30px; position: relative;
  color: #374151; border-bottom: 1px solid var(--line);
}
.svc-block ul li:last-child { border-bottom: none; }
.svc-block ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 16px; height: 16px;
  background: rgba(58, 85, 120, 0.12); border-radius: 4px;
}
.svc-block ul li::after {
  content: "✓"; position: absolute; left: 3px; top: 11px;
  color: var(--navy); font-weight: 700; font-size: 0.85rem;
}

/* TEAM GRID */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px; margin-top: 32px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.team-member {
  position: relative;
  text-align: center;
  padding: 16px 12px; border-radius: 18px;
  transition: transform 0.22s ease, background 0.22s ease;
}
.team-member:hover { transform: translateY(-6px); background: var(--cream); }
.team-link {
  display: block; text-decoration: none;
}
.team-linkedin {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(20, 30, 50, 0.08);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  z-index: 3;
}
.team-linkedin:hover {
  background: #0A66C2; color: var(--white); transform: translateY(-1px);
}
.team-avatar {
  width: 230px; height: 230px; border-radius: 999px;
  background: linear-gradient(155deg, #EEF3F9 0%, #DAE3EF 100%);
  display: grid; place-items: center;
  margin: 0 auto 22px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.team-avatar .initials {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1;
}
.team-member:hover .team-avatar {
  box-shadow: 0 0 0 3px var(--navy-900), 0 18px 30px rgba(46, 70, 100, 0.18);
}
.team-name { color: var(--navy-900); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.team-title { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.team-cta {
  display: inline-block; margin-top: 10px;
  color: var(--navy-900); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; opacity: 0; transition: opacity 0.22s ease;
}
.team-member:hover .team-cta { opacity: 1; }

/* BIO PAGE */
.bio-hero { padding: 60px 0 80px; background: #FAFAFA; }
.bio-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.back-to-team {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.9rem; margin-bottom: 36px;
  font-weight: 500; text-decoration: none;
}
.back-to-team:hover { color: var(--navy); }
.bio-greeting {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800; color: var(--navy-900); margin-bottom: 28px;
  letter-spacing: -0.03em; line-height: 1.1;
}
.bio-greeting .wave { display: inline-block; margin-left: 6px; }
.bio-content p { color: #000000; font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.3rem; font-weight: 400; }
.bio-content p strong, .bio-content p em {
  color: #000000; font-weight: 400; font-style: normal;
  font-family: inherit; font-size: inherit;
}
.bio-photo {
  width: 100%; aspect-ratio: 3/4;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.0) 0%, rgba(20,30,50,0.25) 100%),
    linear-gradient(160deg, #C8D2E0 0%, #8B9DB8 45%, #3A4D6B 100%);
  border-radius: 6px; position: relative; overflow: hidden;
  filter: grayscale(0.55) contrast(1.05);
  box-shadow: 0 30px 60px rgba(20, 30, 50, 0.18);
}
.bio-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 28%, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.bio-photo .photo-mono { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.bio-photo .photo-mono span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11rem; font-weight: 700;
  color: rgba(255,255,255,0.18); letter-spacing: -0.06em; line-height: 1;
}
.bio-photo .photo-name {
  position: absolute; left: 24px; bottom: 20px;
  color: rgba(255,255,255,0.92); font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; z-index: 2;
}
.focus-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.focus-tag {
  padding: 7px 14px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid var(--line);
  color: var(--navy); font-size: 0.82rem; font-weight: 500;
}
.focus-tag::before { content: "·"; margin-right: 6px; color: var(--navy); font-weight: 700; }
.bio-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 56px 0;
}
.bio-fact .lbl {
  color: var(--muted); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px;
}
.bio-fact .val { color: var(--navy-900); font-weight: 600; font-size: 1.02rem; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .hero-visual { order: -1; aspect-ratio: 16 / 10; }
  .grid-3, .industries, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .tgrid, .contact-grid, .svc-block { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 24px 0; }
  .cta-band { padding: 44px 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo { max-width: 420px; margin: 0 auto; }
  .bio-facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .industries, .stats, .steps, .footer-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}


/* === PHOTO SUPPORT (real headshots) === */
.team-avatar.has-image { background: none; border: 1px solid var(--line); }
.team-avatar.has-image .initials { display: none; }
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: inherit;
  display: block;
}

.bio-photo.has-image {
  background: none !important;
  filter: none;
}
.bio-photo.has-image::after { display: none; }
.bio-photo.has-image .photo-mono { display: none; }
.bio-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  z-index: 0;
}
.bio-photo .photo-name { z-index: 2; }
