/* ===== Vennergy Advisors — shared styles ===== */

:root {
  --teal: #34C2D7;
  --green: #73C26D;
  --orange: #F79B1C;
  --gold: #FFC20E;
  --charcoal: #4A4A4A;
  --charcoal-dark: #333333;
  --ink: #2B2B2B;
  --paper: #FFFFFF;
  --paper-alt: #F7F8F8;
  --line: #E6E7E8;
  --max-width: 1160px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--charcoal-dark);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: #555; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.lede {
  font-size: 1.15rem;
  color: #556;
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--charcoal-dark);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: #222; }

.btn-accent {
  background: var(--gold);
  color: #2B2B2B;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 194, 14, 0.35); }

.btn-outline {
  background: transparent;
  border-color: #cfd2d3;
  color: var(--charcoal-dark);
}
.btn-outline:hover { border-color: var(--charcoal-dark); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand img { height: 40px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal-dark);
  margin: 6px 0;
  transition: 0.2s;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal-dark);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover { background: var(--paper-alt); }
.main-nav a.active { color: var(--orange); }

.main-nav .btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FBFCFC 0%, #F3F5F5 100%);
  border-bottom: 1px solid var(--line);
}

.hero .container {
  padding-top: 88px;
  padding-bottom: 96px;
  position: relative;
  z-index: 2;
}

.hero-inner { max-width: 720px; }

.hero-graphic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-graphic img {
  position: absolute;
  top: 50%;
  right: -80px;
  width: 620px;
  max-width: none;
  transform: translateY(-50%);
  opacity: 0.94;
}

/* ---------- Hero video variant ---------- */
.hero-video {
  min-height: 680px;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(23,19,15,0.62) 0%, rgba(23,19,15,0.4) 38%, rgba(23,19,15,0.88) 100%);
}

.hero-video .container { z-index: 3; }
.hero-video .eyebrow { color: #C9A227; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.hero-video h1 { color: #fff; }
.hero-video .lede { color: #E4DCC8; }
.hero-video .badge {
  background: rgba(23,19,15,0.55);
  border-color: rgba(228,220,200,0.3);
  color: #E4DCC8;
  backdrop-filter: blur(2px);
}
.hero-video .btn-outline {
  border-color: rgba(228,220,200,0.55);
  color: #fff;
}
.hero-video .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-video .btn-accent { background: #C9A227; color: #17130F; }
.hero-video .btn-accent:hover { box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35); }

@media (max-width: 760px) {
  .hero-video { min-height: 560px; }
  .hero-video-bg { object-position: center 60%; }
}

.page-header {
  position: relative;
  overflow: hidden;
}

.page-header-mark {
  position: absolute;
  top: 50%;
  right: -60px;
  width: 260px;
  transform: translateY(-50%);
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}

.page-header .container { position: relative; z-index: 2; }

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.badge .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-teal { background: var(--teal); }
.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }

.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Duotone statement section ---------- */
.duotone {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 0 !important;
}

.duotone-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duotone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 19, 15, 0.15) 0%, rgba(23, 19, 15, 0.85) 88%);
}

.duotone-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 64px 0 56px;
}

.duotone-content .eyebrow { color: #C9A227; }
.duotone-content h2 { color: #fff; max-width: 34ch; }
.duotone-content p { color: #E4DCC8; max-width: 56ch; }
.duotone-content .btn-accent { background: #C9A227; color: #17130F; }
.duotone-content .btn-accent:hover { box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35); }

/* ---------- Pillars (Venn concept) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pillar-photo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--paper-alt);
}

.pillar-photo.is-light {
  filter: brightness(1.16) saturate(0.82);
}

.pillar-body { padding: 0 26px 32px; }

.pillar .ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -26px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.ring-teal { background: var(--teal); }
.ring-green { background: var(--green); }
.ring-orange { background: var(--orange); }

.pillar h3 { margin-bottom: 10px; }
.pillar p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card.card-green { border-top-color: var(--green); }
.service-card.card-orange { border-top-color: var(--orange); }
.service-card.card-gold { border-top-color: var(--gold); }

.service-card .tag, .pillar-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--paper-alt);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.badge-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5a00;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 6px;
}

.service-card ul, .pillar-body ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #555;
  font-size: 0.95rem;
}
.service-card ul li, .pillar-body ul li { margin-bottom: 6px; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--charcoal-dark);
}
.stat .label { color: #667; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--charcoal-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfd3d4; margin-bottom: 0; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.value-list { display: grid; gap: 20px; margin-top: 8px; }
.value-item { display: flex; gap: 16px; }
.value-item .swatch {
  width: 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.value-item h4 { margin-bottom: 6px; }
.value-item p { margin-bottom: 0; font-size: 0.95rem; }

.venn-figure {
  position: relative;
  background: var(--paper-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.venn-figure img { max-width: 280px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-weight: 700;
}
.contact-row .label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: #889; margin-bottom: 2px; }
.contact-row a { font-weight: 600; color: var(--charcoal-dark); }
.contact-row a:hover { color: var(--orange); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7dadb;
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  background: #fcfdfd;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(52, 194, 215, 0.15);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-note { font-size: 0.85rem; color: #889; margin-top: -6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-dark);
  color: #cfd3d4;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: #a6acae; max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #cfd3d4; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #8b9294;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(180deg, #FBFCFC 0%, #F3F5F5 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.page-header .eyebrow { margin-bottom: 12px; }
.page-header p { max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillars, .services-grid, .stats { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .venn-figure { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 24px;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { display: block; padding: 14px 16px; }
  .main-nav .btn { margin-left: 0; margin-top: 8px; display: block; text-align: center; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-top { flex-direction: column; }
  .hero-graphic img { width: 300px; right: -90px; top: 0; transform: none; opacity: 0.35; }
  .page-header-mark { width: 140px; right: -30px; }
}
