/* Vecchio & Associates – One-Page CSS */

/* Color palette */
:root {
  --navy: #1f3450;
  --navy-light: #324866;
  --gray-900: #1f2933;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --accent-red: #8b1f2d;
  --max-width: 1100px;
}

/* Global */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Merriweather", serif;
  margin: 0 0 .75rem;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); color: var(--navy); }
h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem); color: var(--navy); }
h3 { font-size: 1.1rem; color: var(--navy-light); }

p { margin: 0 0 1rem; color: var(--gray-700); }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.bg-light {
  background-color: var(--gray-100);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 50;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;   /* increased from 70px */
  padding: 10px 0; /* gives breathing room */
}

}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  height: 100px;
  width: auto;
  display: block;
}

.header-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--gray-700);
}

.main-nav a:hover {
  background-color: var(--gray-100);
  color: var(--navy);
}

/* HERO */
.hero {
  padding: 80px 0 72px;
  text-align: center;
  background: white;   /* fully white hero section */
}


.hero-inner {
  max-width: 750px;
  margin: 0 auto;
}

.hero-graphic {
  display: block;
  margin: 0 auto 20px;
  max-width: 220px;
  height: auto;

  /* Ensure no background is applied by CSS */
  background: transparent !important;
}


.hero-tagline {
  font-size: 1.1rem;
  max-width: 640px;
  margin: .75rem auto 1.75rem;
  color: var(--gray-700);
}

.hero-scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.arrow-down {
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--accent-red);
  border-bottom: 2px solid var(--accent-red);
  transform: rotate(-45deg);
}

/* Section headers */
.section h2 {
  padding-bottom: .4rem;
  position: relative;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--navy));
  border-radius: 999px;
}

/* Philosophy */
.philosophy-lead {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-900);
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 1.25rem;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 18px;
}

/* Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 1.25rem;
}

.clients-grid span {
  text-align: center;
  padding: 7px 10px;
  font-size: .9rem;
  border-radius: 999px;
  border: 1px dashed var(--gray-200);
  background: var(--white);
}

/* Benefits */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 1.25rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  margin-bottom: .9rem;
  padding-left: 18px;
  position: relative;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
}

/* Process */
.steps {
  display: grid;
  gap: 14px;
  margin-top: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15,23,42,.03);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Team */
.team-member {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px;
}

.team-role {
  margin-top: -0.4rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: .7rem;
}

/* Pricing */
.pricing-factors {
  list-style: disc;
  padding-left: 1.5rem;
}

.pricing-factors li {
  margin-bottom: .4rem;
}

.pricing-note {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  background-color: #fff5f6;
  border: 1px solid #ffd8dc;
  color: var(--accent-red);
}

/* Footer */
.site-footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 22px 0 28px;
  text-align: center;
  font-size: .9rem;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 12px 0;
    gap: 8px;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .grid-3,
  .grid-2,
  .clients-grid,
  .philosophy-pillars {
    grid-template-columns: 1fr;
  }
}

/* Stack team bios vertically */
.team-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Photo + bio layout */
.team-member--with-photo {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

/* Photos */
.team-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Bio text width control */
.team-copy p {
  max-width: 75ch;
}

/* Stack team bios vertically */
.team-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Photo + bio layout */
.team-member--with-photo {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

/* Photos (hard constraints so large source images cannot blow up) */
.team-photo img {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}
#team .team-photo img{
  display:block;
  width:160px;
  height:160px;
  max-width:160px;
  max-height:160px;
  object-fit:cover;
}


/* Bio text width control */
.team-copy p {
  max-width: 75ch;
}

/* Mobile */
@media (max-width: 900px) {
  .team-member--with-photo {
    grid-template-columns: 1fr;
  }
}
