/* Telos CFO & Advisory — Full-Width Bands (var-d) */

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

:root {
  --green: #62BB46;
  --dark: #202124;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-700: #495057;
  --gray-900: #212529;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 .text-outline, h2 .text-outline-dark {
  font-size: 0.92em;
}

h3, h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav.scrolled .nav-logo { color: var(--dark); }
nav.scrolled .nav-links a { color: var(--dark); }

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

nav.scrolled .nav-toggle span { background: var(--dark); }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--dark);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(98, 187, 70, 0.15) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.text-outline {
  -webkit-text-stroke: 2px var(--green);
  color: transparent;
}

.text-outline-dark {
  -webkit-text-stroke: 2px var(--dark);
  color: transparent;
}

.text-fill {
  color: var(--green);
}

.band-green .text-outline {
  -webkit-text-stroke: 2px white;
  color: transparent;
}

.band-green .text-fill {
  color: white;
}

.hero-tagline {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 600px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: 0.55;
  margin-bottom: 3rem;
  max-width: 600px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary { background: white; color: var(--dark); }
.btn-primary:hover { background: var(--green); color: white; }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.horizon-bar {
  position: relative;
  background: white;
  color: var(--dark);
  padding: 2rem;
  margin-top: auto;
  border-bottom: 3px solid var(--green);
}

.horizon-stats {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Bands --- */
.band { padding: 6rem 2rem; }

.band-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.band-white { background: white; }
.band-light { background: var(--gray-100); }
.band-dark { background: var(--dark); color: white; }
.band-green { background: var(--green); color: white; }

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.25rem;
  opacity: 0.7;
  margin-bottom: 3rem;
}

/* --- Accordion (Services) --- */
.accordion {
  text-align: left;
  margin-top: 3rem;
}

.accordion-item {
  border-bottom: 1px solid var(--gray-300);
}

.accordion-header {
  width: 100%;
  padding: 2rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.5rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.accordion-header { color: var(--green); }
.accordion-header:hover { opacity: 0.8; }

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 2rem;
}

.accordion-content p { margin-bottom: 1rem; opacity: 0.8; }
.accordion-content ul { list-style: none; }
.accordion-content li { padding: 0.4rem 0; opacity: 0.85; }

/* --- When to Engage --- */
.when-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}

.when-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.when-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.when-card ul { list-style: none; font-size: 0.95rem; }
.when-card li { padding: 0.4rem 0; opacity: 0.85; }

/* --- Team --- */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

a.team-card {
  text-decoration: none;
  color: inherit;
}

.team-card {
  padding: 3.5rem 1.5rem 2rem;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.team-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.team-card .team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: -4rem auto 1rem;
  border: 3px solid var(--green);
}

.team-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.team-role { font-size: 0.85rem; opacity: 0.6; font-weight: 400; }

/* --- Approach --- */
.approach-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.approach-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.phase-number {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.approach-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--dark); }
.approach-card p { color: var(--dark); opacity: 0.7; font-size: 0.95rem; }

/* --- Engagement --- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}

.engagement-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.engagement-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--dark); min-height: 3.5rem; }
.engagement-card p { color: var(--dark); opacity: 0.7; font-size: 0.9rem; margin-bottom: 0.5rem; }

/* --- Getting Started --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}

.step-card {
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-card p { opacity: 0.7; font-size: 0.9rem; }

.contact-block {
  margin-top: 3rem;
  text-align: center;
}

.contact-block p {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.contact-block .btn-primary {
  background: var(--dark);
  color: white;
}

.contact-block .btn-primary:hover {
  background: var(--green);
  color: white;
}

/* --- Footer --- */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.footer-info {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 3rem;
  opacity: 0.5;
}

.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  text-align: left;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-links { gap: 1.5rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    gap: 0;
    padding: 1rem 2rem 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; display: block; color: white; }
  nav.scrolled .nav-links { background: rgba(255, 255, 255, 0.98); }
  nav.scrolled .nav-links a { color: var(--dark); }
  .hero-content { padding: 6rem 1rem 3rem; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; }
  .btn { width: 100%; text-align: center; }
  .horizon-stats { grid-template-columns: 1fr; gap: 1rem; }
  .when-grid,
  .engagement-grid,
  .steps-grid,
  .approach-scroll,
  .team-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
