/* ============================================
   WORK IN BETA — Stylesheet
   Organized: Tokens → Reset → Layout → Nav →
   Hero → Problem → Offerings → Individuals →
   Framework → Logos → Testimonials → About →
   Footer → Utilities → Responsive
   ============================================ */

/* --------------------------------------------
   TOKENS (Custom Properties)
   -------------------------------------------- */
:root {
  /* Colors */
  --color-ink: #111827;
  --color-paper: #FAFAFA;
  --color-light-gray: #F3F4F6;
  --color-slate: #6B7280;
  --color-muted: #9CA3AF;
  --color-teal: #14B8A6;
  --color-teal-dark: #0D9488;
  --color-border: #E5E7EB;
  --color-white: #FFFFFF;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --fs-hero: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --lh-tight: 1.2;
  --lh-body: 1.6;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-section: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}

/* --------------------------------------------
   LAYOUT
   -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  scroll-margin-top: var(--nav-height);
}

/* --------------------------------------------
   BUTTONS
   -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.btn--teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn--teal:hover {
  background: var(--color-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

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

.btn--ghost:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-1px);
}

/* --------------------------------------------
   NAV
   -------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: var(--color-paper);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 32px;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__logo-light {
  display: block;
}

.nav__logo-dark {
  display: none;
}

.nav--scrolled .nav__logo-light {
  display: none;
}

.nav--scrolled .nav__logo-dark {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-muted);
  transition: color var(--transition-base);
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color: var(--color-teal);
}

.nav--scrolled .nav__link {
  color: var(--color-slate);
}

.nav--scrolled .nav__link:hover {
  color: var(--color-teal);
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-small);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--space-xs);
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav--scrolled .nav__toggle-bar {
  background: var(--color-ink);
}

/* --------------------------------------------
   HERO
   -------------------------------------------- */
.hero {
  background: var(--color-ink);
  color: var(--color-white);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__container {
  max-width: var(--max-width);
}

.hero__row {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: var(--space-xl);
}

.hero__content {
  max-width: 640px;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-image {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.hero__headline {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero__subtext {
  font-size: var(--fs-body-lg);
  color: var(--color-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-sm);
  max-width: 580px;
}

.hero__differentiator {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-teal);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

/* --------------------------------------------
   PROBLEM
   -------------------------------------------- */
.problem {
  background: var(--color-paper);
}

.problem__container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.problem__headline {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.problem__body p {
  font-size: var(--fs-body-lg);
  color: var(--color-slate);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.problem__body p:last-child {
  margin-bottom: 0;
}

.problem__closer {
  font-size: var(--fs-h3) !important;
  font-weight: var(--fw-semibold);
  color: var(--color-teal) !important;
  margin-top: var(--space-sm);
}

/* --------------------------------------------
   OFFERINGS
   -------------------------------------------- */
.offerings {
  background: var(--color-light-gray);
}

.offerings__heading {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.offerings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.offerings__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.offerings__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.offerings__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-teal);
}

.offerings__number {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-teal);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  display: block;
}

.offerings__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.offerings__subtitle {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.offerings__desc {
  font-size: var(--fs-body);
  color: var(--color-slate);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.offerings__cta {
  align-self: flex-start;
}

/* --------------------------------------------
   INDIVIDUALS
   -------------------------------------------- */
.individuals {
  background: var(--color-paper);
}

.individuals__block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.individuals__heading {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
}

.individuals__desc {
  font-size: var(--fs-body-lg);
  color: var(--color-slate);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------
   FRAMEWORK
   -------------------------------------------- */
.framework {
  background: var(--color-light-gray);
}

.framework__heading {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-md);
}

.framework__summary {
  font-size: var(--fs-body-lg);
  color: var(--color-slate);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-body);
}

.framework__progression {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
}

.framework__level {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 var(--space-sm);
}

.framework__level-marker {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin: 0 auto var(--space-sm);
}

.framework__level--1 .framework__level-marker {
  background: rgba(20, 184, 166, 0.3);
}

.framework__level--2 .framework__level-marker {
  background: rgba(20, 184, 166, 0.5);
}

.framework__level--3 .framework__level-marker {
  background: rgba(20, 184, 166, 0.75);
}

.framework__level--4 .framework__level-marker {
  background: var(--color-teal);
}

.framework__connector {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: var(--color-border);
  margin-top: 23px;
  position: relative;
}

.framework__connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-teal);
  border-top: 2px solid var(--color-teal);
  transform: rotate(45deg);
}

.framework__level-name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.framework__level-desc {
  font-size: var(--fs-small);
  color: var(--color-slate);
  line-height: var(--lh-body);
}

.framework__insight {
  font-size: var(--fs-body-lg);
  color: var(--color-slate);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--lh-body);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

/* --------------------------------------------
   LOGOS
   -------------------------------------------- */
.logos {
  background: var(--color-paper);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.logos__tagline {
  font-size: var(--fs-small);
  color: var(--color-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-lg);
}

.logos__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.logos__item {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.logos__item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --------------------------------------------
   TESTIMONIALS
   -------------------------------------------- */
.testimonials {
  background: var(--color-light-gray);
}

.testimonials__heading {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.testimonials__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.testimonials__text {
  font-size: var(--fs-body-lg);
  color: var(--color-ink);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonials__author {
  display: block;
  font-style: normal;
}

.testimonials__name {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  display: block;
}

.testimonials__role {
  font-size: var(--fs-small);
  color: var(--color-slate);
}

/* --------------------------------------------
   ABOUT
   -------------------------------------------- */
.about {
  background: var(--color-paper);
}

.about__heading {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.about__card {
  text-align: center;
}

.about__headshot {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-md);
}

.about__name {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.about__bio {
  font-size: var(--fs-body);
  color: var(--color-slate);
  line-height: var(--lh-body);
  max-width: 440px;
  margin: 0 auto var(--space-md);
}

.about__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--color-slate);
  font-weight: var(--fw-medium);
  transition: color var(--transition-base);
}

.about__linkedin:hover {
  color: var(--color-teal);
}

.about__linkedin svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.footer__newsletter {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__newsletter-heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.footer__newsletter-desc {
  font-size: var(--fs-body);
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer__newsletter-embed {
  display: flex;
  justify-content: center;
}

.footer__contact-block {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__contact-heading {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer__contact-links {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
}

.footer__contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.footer__contact-name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

.footer__contact-email {
  font-size: var(--fs-small);
  color: var(--color-teal);
  transition: color var(--transition-base);
}

.footer__contact-email:hover {
  color: var(--color-teal-dark);
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--color-muted);
  transition: color var(--transition-base);
}

.footer__contact-link:hover {
  color: var(--color-teal);
}

.footer__contact-link svg {
  width: 16px;
  height: 16px;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer__nav-link {
  font-size: var(--fs-small);
  color: var(--color-muted);
  transition: color var(--transition-base);
}

.footer__nav-link:hover {
  color: var(--color-teal);
}

.footer__copyright {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--color-muted);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------
   UTILITIES
   -------------------------------------------- */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------
   RESPONSIVE — Tablet (< 1200px)
   -------------------------------------------- */
@media (max-width: 1199px) {
  .hero__row {
    grid-template-columns: 1fr 1fr;
  }

  .offerings__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offerings__card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }

  .framework__connector {
    width: 24px;
    min-width: 24px;
  }

  .framework__level {
    max-width: 180px;
  }

  .about__grid {
    gap: var(--space-lg);
  }
}

/* --------------------------------------------
   RESPONSIVE — Mobile (< 768px)
   -------------------------------------------- */
@media (max-width: 767px) {
  /* Nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-ink);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav--scrolled .nav__links {
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__cta {
    align-self: flex-start;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

  .hero__row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__image {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__subtext {
    max-width: 100%;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__headline {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  /* Problem */
  .problem__headline {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  /* Offerings */
  .offerings__grid {
    grid-template-columns: 1fr;
  }

  .offerings__card:last-child {
    max-width: 100%;
  }

  /* Individuals */
  .individuals__block {
    padding: var(--space-xl) var(--space-md);
  }

  /* Framework */
  .framework__progression {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .framework__level {
    max-width: 300px;
    width: 100%;
  }

  .framework__connector {
    width: 2px;
    min-width: 2px;
    height: 32px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .framework__connector::after {
    right: -3px;
    top: auto;
    bottom: -4px;
    transform: rotate(135deg);
  }

  /* Logos */
  .logos__strip {
    gap: var(--space-md) var(--space-lg);
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Footer */
  .footer__contact-links {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
  }
}
