/* ========================================================
   PERSUIT — Centralized Stylesheet
   Shared variables, navigation, footer, animations,
   breadcrumbs, and universal design system rules.
   ======================================================== */

/* ── CSS VARIABLES ── */
:root {
  --charcoal: #232323;
  --black: #000000;
  --white: #ffffff;
  --light-grey: #EAE9EA;
  --warm-grey: #D4D0CF;
  --yellow: #EDC620;
  --golden-yellow: #EDC620; /* alias for legacy pages */
  --burgundy: #461D2A;
  --blue-grey: #4B585C;
  --mid-grey: #A09D9D;
}

/* ── RESET & BASE ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: 'Asul', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); animation: fadeUp 0.8s ease forwards; }
.fade-in { opacity: 0; animation: fadeIn 0.9s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION ── */
#main-nav-wrap { background: rgba(35,35,35,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); position: fixed; top: 0; left: 0; right: 0; z-index: 2000 !important; padding: 0 48px; }
#main-nav {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px;
  font-family: 'Inter', sans-serif; max-width: 1280px; margin: 0px auto;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 22px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > span {
  font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: none;
  letter-spacing: 0.02em; padding: 8px 14px; display: flex; align-items: center; gap: 5px;
  cursor: pointer; transition: color 0.2s; white-space: nowrap; border: none; background: none;
}
.nav-links > li > a:hover, .nav-links > li > span:hover { color: #fff; }
.nav-links a { color: rgba(255,255,255,0.72); }
.nav-links > li > a, .nav-links > li > span { color: rgba(255,255,255,0.72); }
.nav-chevron { font-size: 9px; opacity: 0.4; transition: transform 0.2s, opacity 0.2s; }
.nav-links > li:hover .nav-chevron { transform: rotate(180deg); opacity: 0.7; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px;
  background: #1e1e1e; border: 1px solid rgba(255,255,255,0.08);
  min-width: 260px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.nav-links > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 10px 20px; font-size: 13px;
  color: rgba(255,255,255,0.72); text-decoration: none; transition: all 0.15s;
  letter-spacing: 0.01em;
}
.nav-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.04); padding-left: 24px; }
.nav-dropdown-section { padding: 8px 20px 4px; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 2px; }
.nav-dropdown hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 6px 0; }
.nav-dropdown-wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 560px; gap: 0; }
.nav-dropdown-col { padding: 8px 0; }
.nav-dropdown-col + .nav-dropdown-col { border-left: 1px solid rgba(255,255,255,0.06); }
.nav-dd-accent { color: #EDC620 !important; }
.nav-dd-accent:hover { color: #EDC620 !important; opacity: 0.8; }
.nav-badge-new { display: inline-block; font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: #2A9D8F; color: #fff; padding: 2px 6px; border-radius: 3px; margin-left: 4px; line-height: 1.3; vertical-align: middle; position: relative; top: -1px; }
.nav-cta {
  background: #EDC620; color: #232323; font-size: 12px; font-weight: 600;
  padding: 10px 22px; text-decoration: none; letter-spacing: 0.05em;
  text-transform: uppercase; transition: opacity 0.2s; flex-shrink: 0; white-space: nowrap; border-radius: 4px; display: inline-block;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta-secondary {
  background: rgba(0,0,0,0); color: var(--white); font-size: 12px; font-weight: 600;
  padding: 9px 21px; text-decoration: none; letter-spacing: 0.05em;
  text-transform: uppercase; transition: opacity 0.2s; flex-shrink: 0; white-space: nowrap; border-radius: 4px; border: 1px solid var(--white); display: inline-block;
}
.nav-cta-secondary:hover { background-color: var(--white); color: var(--charcoal); }
@media (max-width: 1000px) {
  #main-nav { padding: 0 20px; background-color: var(--charcoal); }
  .nav-links { display: none; }
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 1000px) {
  .nav-hamburger { display: flex; }
  .nav-cta { font-size: 11px; padding: 8px 16px; }
  .nav-cta-secondary { font-size: 11px; padding: 7px 15px; }
  #main-nav.nav-open .nav-links {
    display: flex !important; flex-direction: column !important; gap: 0;
    position: fixed !important; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(30,30,30,0.99); backdrop-filter: blur(12px);
    padding: 16px 0; overflow-y: auto; z-index: 10000;
  }
  #main-nav.nav-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  #main-nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
  #main-nav.nav-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  #main-nav.nav-open .nav-links > li { display: block !important; width: 100%; }
  #main-nav.nav-open .nav-links > li > a,
  #main-nav.nav-open .nav-links > li > span {
    display: block !important; font-size: 15px !important; padding: 14px 24px !important;
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer;
  }
  #main-nav.nav-open .nav-dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; background: transparent;
    border: none; box-shadow: none; padding: 0 0 8px 20px;
    display: none; min-width: auto;
  }
  #main-nav.nav-open .nav-links > li.mobile-open .nav-dropdown { display: block; }
  #main-nav.nav-open .nav-dropdown a { font-size: 13px; padding: 10px 24px; color: rgba(255,255,255,0.72); }
  #main-nav.nav-open .nav-dropdown-section { padding: 10px 24px 4px; font-size: 9px; }
  #main-nav.nav-open .nav-dropdown hr { margin: 4px 24px; border-top-color: rgba(255,255,255,0.04); }
  #main-nav.nav-open .nav-dropdown-wide { grid-template-columns: 1fr; min-width: auto; }
  #main-nav.nav-open .nav-dropdown-col + .nav-dropdown-col { border-left: none; }

    #main-nav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        height: 64px !important;
    }
}

/* ── BREADCRUMBS ── */
.breadcrumb {
  position: fixed; 
  top: 64px; 
  left: 0; 
  right: 0; 
  z-index: 999;
  background: rgba(26,26,26,1);
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 48px;
  height: 36px; 
  display: flex; 
  align-items: center;
}
.bc-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 0;
}
.breadcrumb a, .breadcrumb span { font-size: 11px; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; }
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s ease; }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: rgba(255,255,255,0.45); }
.breadcrumb span:last-child { color: rgba(255,255,255,0.72); }
.bc-sep { color: rgba(255,255,255,0.2); margin: 0 8px; font-size: 10px; }
body { padding-top: 100px !important; }
@media (max-width: 768px) {
  .breadcrumb { padding: 0 16px; top: 64px; height: 32px; }
  .breadcrumb a, .breadcrumb span { font-size: 10px; }
  body { padding-top: 96px !important; }
}

/* ── FOOTER (full grid version) ── */
footer {
    background: var(--black);
    padding: 56px 20px 28px;
}
/*
#main-footer {
  background: #1a1a1a;
  padding: 60px 48px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
}
*/
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr repeat(7, 1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-logo-img { height: 20px; width: auto; display: block; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); font-weight: 300; max-width: 220px; }
.footer-col-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.footer-col-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 13px; color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col-links a:hover { color: rgba(255,255,255,0.8); }
.footer-accent { color: var(--yellow) !important; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  flex-wrap: wrap;
  row-gap: 20px;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.5); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
footer li { line-height: 1.6; }
footer li a { line-height: normal; display: inline-block; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  #main-footer { padding: 40px 20px 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-links { gap: 0px; }
}

/* ── ACCESSIBILITY: min font sizes ── */
p, li, td, th, dd, dt, blockquote {
  font-size: max(14px, inherit);
  line-height: max(1.55, inherit);
}
[class*="card"] p, [class*="card"] [class*="desc"], [class*="card"] [class*="body"] {
  font-size: max(13px, inherit);
}
@media (max-width: 768px) {
  p, li, td, th, dd, dt, blockquote {
    font-size: max(14px, inherit);
    line-height: max(1.5, inherit);
  }
}

/* ── CARD STANDARDIZATION ── */
[class*="card"] { border-radius: 8px; overflow: hidden; }
[class*="card"] { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
/* [class*="card"]:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); } */
a:not([class]):hover { opacity: 0.85; }
a, button, input, select, textarea, [role="button"] { transition-duration: 0.2s; transition-timing-function: ease; }
[class*="stat-num"], [class*="stat-number"], [class*="stat-value"] { font-weight: 700; line-height: 1.1; }
@media (max-width: 768px) {
  [class*="card"]:hover { transform: none; box-shadow: none; }
}

/* ── VIDEO CONTROLS ── */
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-volume-slider { display: none; }

/* ── YELLOW ON LIGHT FIX ── */
.customers-section .section-eyebrow,
.customers-section .persona-role,
.proof-section .section-eyebrow,
.perspectives-section .section-eyebrow,
.conv-section .section-eyebrow,
.conv-card .conv-num,
.persp-link,
.section-eyebrow-light,
[style*="background: var(--white)"] .section-eyebrow,
[style*="background: #fff"] .section-eyebrow {
  color: #767676 !important;
}
.conv-card.featured .conv-num { color: var(--golden-yellow) !important; }

/* ── SKIP TO CONTENT (accessibility) ── */
.skip-to-content {
  position: absolute; top: -100px; left: 0;
  background: var(--yellow); color: var(--charcoal);
  padding: 12px 24px; z-index: 10000;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }

/* ── FOCUS INDICATORS (accessibility) ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.btn-primary {
	background: var(--yellow); color: var(--charcoal);
	font-size: 14px; font-weight: 600; padding: 16px 36px;
	text-decoration: none; letter-spacing: 0.06em;
	text-transform: uppercase; transition: opacity 0.2s;
	display: inline-block; border-radius: 4px; width: fit-content;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  white-space: nowrap; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--yellow);
  padding: 16px 32px; text-decoration: none;
  border: 1px solid rgba(237,198,32,0.3);
  transition: all 0.2s; border-radius: 4px;
}
.btn-secondary:hover { border-color: var(--yellow); }
.btn-ghost {
	border: 1.5px solid rgba(255,255,255,0.2);
	color: rgba(255,255,255,0.6);
	font-size: 14px; font-weight: 400; padding: 15px 36px;
	text-decoration: none; letter-spacing: 0.04em;
	transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; text-transform: uppercase;
}
.btn-ghost:hover {
	border-color: rgba(255,255,255,0.5);
	color: var(--white);
}
.btn-ghost::after {
    content: '→';
    transition: transform 0.2s;
    position: relative;
    top: -1px;
    left: 6px;
}

.btn-ghost { color: rgba(255,255,255,0.72); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; text-transform: uppercase; }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-ghost-dark { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; text-transform: uppercase; }
.btn-ghost-dark::after { content: '→'; transition: transform 0.2s; }
.btn-ghost-dark:hover { color: var(--charcoal); }
.btn-ghost-dark:hover::after { transform: translateX(4px); }
.btn-outline {
  border: 1.5px solid var(--charcoal); color: var(--charcoal);
  font-family: 'Inter', -apple-system, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 14px 32px; border-radius: 4px;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-dark {
  background: var(--charcoal); color: var(--white);
  font-family: 'Inter', -apple-system, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 14px 32px; border-radius: 4px;
  text-decoration: none; display: inline-block; transition: background 0.2s; width: fit-content;
}
.btn-dark:hover { background: var(--black); }

strong {
    font-weight: 600;
}