/* Data Dash — shared site styles v3
   Bigger logo, brand arrow corners matching the logo
   ─────────────────────────────────────────── */

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

:root {
  --teal: #1aadbe;
  --teal-dark: #1490a0;
  --teal-light: #e8f8fa;
  --teal-glow: rgba(26,173,190,0.15);
  --coral: #e85d3a;
  --orange: #f0923a;
  --gradient-arrow: linear-gradient(135deg, var(--coral), var(--orange));
  --navy: #1a2b3c;
  --navy-dark: #0f1c28;
  --text: #1a2b3c;
  --muted: #6b7a92;
  --light: #f5f8fa;
  --white: #ffffff;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* NAV — bigger logo */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 95px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  transition: box-shadow 0.3s, height 0.3s;
}
nav.site-nav.scrolled { height: 78px; box-shadow: 0 4px 24px rgba(26,43,74,0.08); }
.nav-logo { height: 70px; object-fit: contain; transition: height 0.3s; }
nav.site-nav.scrolled .nav-logo { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--muted); font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -36px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 100%);
}
.nav-cta {
  background: var(--navy) !important; color: #fff !important;
  padding: 0.65rem 1.4rem; border-radius: 8px;
  font-weight: 600 !important; transition: background 0.25s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; transform: translateY(-1px); }
.nav-links a.nav-cta::after { display: none; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -20px; margin-top: 28px;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 0.5rem; min-width: 300px;
  box-shadow: 0 12px 32px rgba(26,43,74,0.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 0.7rem 0.9rem; border-radius: 6px;
  color: var(--navy) !important; font-size: 0.9rem; font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--teal-light); color: var(--teal-dark) !important; }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu .dd-desc {
  display: block; font-size: 0.78rem; color: var(--muted);
  font-weight: 400; margin-top: 0.2rem;
}

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.5rem 0.7rem; cursor: pointer; font-size: 1.2rem;
}
@media (max-width: 900px) {
  nav.site-nav { height: 80px; }
  .nav-logo { height: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: white; padding: 1.5rem 6vw; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(26,43,74,0.1);
  }
  .nav-dropdown-menu {
    position: static; box-shadow: none; border: none;
    background: var(--light); margin-top: 0.5rem;
    opacity: 1; visibility: visible; transform: none;
  }
}

/* Brand mark concept removed — branding comes through logo + colors */

/* Page header */
.page-header {
  padding: 165px 6vw 90px;
  background: linear-gradient(160deg, #f0f9f8 0%, #ffffff 60%, #fff5f1 100%);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,173,190,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,173,190,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
/* Page header — clean, no random corner arrow */

.page-header-inner { position: relative; max-width: 900px; }
.breadcrumb {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 1.25rem; letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { margin: 0 0.6rem; color: var(--border); }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal-light); color: var(--teal);
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 20px;
  margin-bottom: 1.5rem; border: 1px solid rgba(26,173,190,0.2);
}
h1.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--navy); margin-bottom: 1.25rem;
}
h1.page-title em { font-style: italic; color: var(--teal); }
.page-lead {
  font-size: 1.15rem; color: var(--muted); max-width: 640px;
  font-weight: 300; line-height: 1.7;
}

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--navy); color: #fff !important;
  padding: 0.95rem 2.1rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(26,43,74,0.2);
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--teal); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,173,190,0.35); }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--border); color: var(--navy) !important;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  background: transparent; cursor: pointer; font-family: inherit;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal) !important; }
.btn-white {
  display: inline-block; background: #fff; color: var(--navy) !important;
  padding: 1rem 2.5rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* Sections */
section.block { padding: 6rem 6vw; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.section-tag::before {
  content:''; display:block; width:24px; height:2px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}
h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--navy); letter-spacing: -0.022em; line-height: 1.15;
  margin-bottom: 1rem;
}
h2.section-title em { font-style: italic; color: var(--teal); }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; line-height: 1.75; font-weight: 300; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* CTA */
.cta-block {
  text-align:center; background:var(--navy-dark);
  color:#fff; position:relative; overflow:hidden;
  padding: 7rem 6vw;
}
.cta-block::before {
  content:''; position:absolute; top:-200px; left:50%; transform:translateX(-50%);
  width:700px; height:500px;
  background:radial-gradient(ellipse, rgba(26,173,190,0.18) 0%, transparent 70%);
  pointer-events: none;
}
/* CTA — clean, no random corner arrow */
.cta-block-inner { position: relative; z-index: 1; }
.cta-block .section-tag { color: rgba(255,255,255,0.5); justify-content:center; }
.cta-block .section-tag::before { background: linear-gradient(90deg, rgba(255,255,255,0.5), var(--coral)); }
.cta-block h2 {
  font-family: 'DM Serif Display', serif;
  color:#fff; max-width:580px; margin:0 auto 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.022em; line-height: 1.1;
}
.cta-block h2 em { font-style: italic; color: var(--teal); }
.cta-block > .cta-block-inner > p { color:rgba(255,255,255,0.55); max-width:480px; margin:0 auto 2.5rem; font-weight:300; font-size: 1.05rem; }
.cta-email {
  display:block; margin-top:1.5rem;
  color:rgba(255,255,255,0.4); font-size:0.87rem;
}
.cta-email:hover { color:rgba(255,255,255,0.8); }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
  padding: 4rem 6vw 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
/* Footer — clean, no random corner arrow */
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  /* Logo is transparent PNG — looks great on dark background as-is */
}
.footer-brand p {
  font-size: 0.88rem; margin-top: 0.5rem;
  line-height: 1.65; max-width: 320px;
}
.footer-col h5 {
  color: white; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.78rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Reusable */
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,43,74,0.09);
  border-color: rgba(26,173,190,0.3);
}

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

/* ─── PAGE HEADER: two-column variant for visual support ─── */
.page-header.with-visual .page-header-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  max-width: 1280px;
  align-items: center;
}
.page-header.with-visual { padding: 165px 6vw 100px; }
.page-header-visual {
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}
@media (max-width: 960px) {
  .page-header.with-visual .page-header-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ─── MINI DASHBOARD MOCKUP — reusable across pages ─── */
.mini-dash {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(26,43,74,0.18), 0 2px 8px rgba(26,43,74,0.05);
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.mini-dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, #fafbfc 0%, #f5f8fa 100%);
  border-bottom: 1px solid var(--border);
}
.mini-dash-title {
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  letter-spacing: 0.02em;
}
.mini-dash-status {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 700;
  color: var(--teal); letter-spacing: 0.1em;
}
.mini-dash-body { padding: 1.25rem; }
.mini-dash-kpis {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem; margin-bottom: 1rem;
}
.mini-kpi-cell {
  background: var(--light); border-radius: 8px; padding: 0.7rem 0.8rem;
}
.mini-kpi-cell .kpi-label {
  font-size: 0.62rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.25rem;
}
.mini-kpi-cell .kpi-value {
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  font-family: 'DM Serif Display', serif;
}
.mini-kpi-cell .kpi-delta {
  font-size: 0.65rem; color: var(--teal); font-weight: 600;
}
.mini-kpi-cell .kpi-delta.neg { color: var(--coral); }
.mini-chart {
  background: linear-gradient(180deg, #f8fbfc 0%, white 100%);
  border-radius: 8px; padding: 0.85rem;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.mini-chart-label {
  font-size: 0.65rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.5rem;
}
.mini-dash-insight {
  background: linear-gradient(135deg, rgba(26,173,190,0.08), rgba(26,173,190,0.02));
  border-left: 2px solid var(--teal);
  border-radius: 6px; padding: 0.7rem 0.85rem;
  font-size: 0.72rem; color: var(--navy); line-height: 1.5;
}
.mini-dash-insight strong { color: var(--teal-dark); font-weight: 600; }

/* Bar group for mini chart */
.mini-bars {
  display: flex; align-items: end; gap: 4px; height: 60px;
}
.mini-bars .bar {
  flex: 1; background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  border-radius: 3px 3px 0 0; opacity: 0.85;
  transition: opacity 0.2s;
  animation: barGrow 1s ease both;
}
.mini-bars .bar.coral { background: linear-gradient(180deg, var(--coral), #c84a2a); }
@keyframes barGrow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); } }

/* ─── PHOTO BLOCK ─── reusable, framed photo treatment ─── */
.photo-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.photo-block.reverse { grid-template-columns: 1fr 1.1fr; }
.photo-block.reverse .photo-frame { order: -1; }
@media (max-width: 900px) {
  .photo-block, .photo-block.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-block.reverse .photo-frame { order: 0; }
}
.photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px -16px rgba(26,43,74,0.22);
  /* Fallback gradient shown if img fails to load, also visible during loading */
  background:
    radial-gradient(circle at 20% 20%, rgba(26,173,190,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232,93,58,0.12), transparent 50%),
    linear-gradient(135deg, var(--teal-light) 0%, #f5f8fa 60%, #fff5f1 100%);
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-frame:hover img { transform: scale(1.03); }
.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,43,74,0.06), transparent 40%, rgba(26,173,190,0.08));
  pointer-events: none;
}
/* Decorative accent for photo */
.photo-frame .photo-accent {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--white);
  padding: 0.85rem 1.1rem;
  border-radius: 0 14px 0 0;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.photo-frame .photo-accent .pulse-dot { background: var(--teal); }

.photo-text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--navy); line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.photo-text h3 em { font-style: italic; color: var(--teal); }
.photo-text p {
  color: var(--muted); font-size: 1rem; line-height: 1.75;
  font-weight: 300; margin-bottom: 1rem;
}

/* Industry mini-chart preview (for industry cards) */
.ind-preview {
  margin: 1rem 0 1.25rem;
  height: 48px;
  background: linear-gradient(180deg, #f8fbfc, white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  display: flex; align-items: end; gap: 3px;
}
.ind-preview .bar {
  flex: 1; background: var(--teal); border-radius: 2px 2px 0 0;
  opacity: 0.7;
}

/* ─── HEADER-SIDE PHOTO FRAME ─── for hero of sub-pages ─── */
.header-photo-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px -16px rgba(26,43,74,0.22);
  /* Fallback gradient if image fails */
  background:
    radial-gradient(circle at 25% 25%, rgba(26,173,190,0.18), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(232,93,58,0.12), transparent 50%),
    linear-gradient(135deg, var(--teal-light) 0%, #f5f8fa 60%, #fff5f1 100%);
}
.header-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.header-photo-frame:hover img { transform: scale(1.03); }
.header-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,43,74,0.05), transparent 40%, rgba(26,173,190,0.07));
  pointer-events: none;
}
.header-photo-accent {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 0 14px 0 0;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: var(--navy);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.header-photo-accent .pulse-dot { background: var(--teal); }
