/* ==========================================================================
   Langston Avenues — Stylesheet
   Design tokens live in :root and [data-theme="dark"].
   ========================================================================== */

/* ==========================================================================
   BRAND COLORS — edit ONLY these three lines to rebrand the entire site.
   Every other color below is generated from these three as tints/shades,
   so changing these three updates buttons, links, hovers, dark mode, etc.
   ========================================================================== */
:root {
  --brand-green:  #005B32;   /* primary — buttons, links, headings accents */
  --brand-orange: #F5921D;   /* accent — CTAs, highlights, badges */
  --brand-dark:   #201919;   /* text on light theme / background on dark theme */
}

:root {
  /* ---- Color: light theme ---- */
  --bg: #F7F6F2;
  --bg-elevated: #FFFFFF;
  --bg-sunken: #EFEDE7;
  --text: var(--brand-dark);
  --text-muted: #5A5250;
  --border: #E1DCD5;

  --primary: var(--brand-green);
  --primary-strong: #013D21;
  --primary-tint: #E1EBE5;
  --on-primary: #FFFFFF;

  --accent: var(--brand-orange);
  --accent-strong: #C97710;
  --accent-tint: #FCE7CC;

  --shadow-color: 20 20% 8%;

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --transition-theme: background-color .35s ease, color .35s ease, border-color .35s ease;
}

[data-theme="dark"] {
  --bg: var(--brand-dark);
  --bg-elevated: #2B2322;
  --bg-sunken: #171212;
  --text: #F6F1EC;
  --text-muted: #B8ACA6;
  --border: #3B322F;

  --primary: #1F9E67;
  --primary-strong: #3CBE84;
  --primary-tint: #163829;
  --on-primary: #0B1310;

  --accent: #FFA83D;
  --accent-strong: var(--brand-orange);
  --accent-tint: #3A2A16;

  --shadow-color: 0 0% 0%;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  transition: var(--transition-theme);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }

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

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: var(--on-primary);
  padding: .75em 1.25em;
  border-radius: var(--radius-s);
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}

.section-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-strong);
  font-size: 1.05rem;
  margin: 0 0 .4em;
}
.section-kicker--center { text-align: center; }

.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 20ch;
}
.section-heading--center {
  text-align: center;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}
.placeholder-note {
  font-style: italic;
  color: var(--accent-strong);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 20px -8px hsl(var(--shadow-color) / 0.55);
}
.btn-primary:hover { background: var(--primary-strong); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
[data-theme="dark"] .btn-outline { color: var(--primary-strong); border-color: var(--primary-strong); }
.btn-outline:hover { background: var(--primary-tint); }

.btn-small { padding: .6em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(0, 0%, 100%, 0);
  backdrop-filter: blur(10px);
  transition: var(--transition-theme), box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  background: hsl(var(--shadow-color) / 0.03);
  background-color: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
}
.logo-mark { color: var(--accent); display: inline-flex; }

.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: .2em 0;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle .icon { transition: opacity .25s ease, transform .35s ease; }
.theme-toggle .icon-moon { position: absolute; opacity: 0; transform: rotate(-40deg) scale(.6); }
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(40deg) scale(.6); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); position: static; }
.theme-toggle { position: relative; }
.theme-toggle .icon-sun { position: static; }
.theme-toggle .icon-moon { position: absolute; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 24px;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    margin: 0;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .header-actions .btn-small { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding-top: 72px; padding-bottom: 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

.hero-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-strong);
  font-size: 1.1rem;
  margin-bottom: .6em;
}

.hero-heading {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: .5em;
}
.hero-heading .reveal-line {
  display: block;
  overflow: hidden;
}
.hero-heading .reveal-line span,
.hero-heading .reveal-line {
  opacity: 0;
  transform: translateY(100%);
  animation: line-up .7s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero-heading .reveal-line:nth-child(1) { animation-delay: .05s; }
.hero-heading .reveal-line:nth-child(2) { animation-delay: .2s; }
.hero-heading .reveal-line:nth-child(3) { animation-delay: .35s; }
.reveal-line--accent { color: var(--accent-strong); }

@keyframes line-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub, .hero-actions.reveal-fade {
  opacity: 0;
  animation: fade-up .7s ease forwards;
}
.hero-sub { animation-delay: .5s; font-size: 1.08rem; max-width: 46ch; }
.hero-actions { animation-delay: .62s; display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-heading .reveal-line, .hero-sub, .hero-actions.reveal-fade {
    opacity: 1; transform: none; animation: none;
  }
}

.hero-visual { display: flex; justify-content: center; }
.growth-chart { width: 100%; max-width: 480px; height: auto; color: var(--primary); }
.chart-baseline { stroke: var(--border); stroke-width: 1.5; }
.chart-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 1.8s .4s cubic-bezier(.22,.7,.2,1) forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .chart-path { stroke-dashoffset: 0; animation: none; }
}
.chart-points circle { fill: var(--accent); }
.chart-labels text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--text-muted);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  padding: 28px 0;
  background: var(--primary-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--primary-strong);
  font-weight: 500;
  font-size: .95rem;
}
[data-theme="dark"] .trust-item { color: var(--primary-strong); }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media.img-fallback .about-frame,
.about-frame:has(img[src=""]) { }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 14ch; }

/* ==========================================================================
   Services
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .card-grid, .card-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid--3 { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 30px -18px hsl(var(--shadow-color) / .5);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.service-card p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing { background: var(--bg-sunken); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.9rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); }

.price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 22px 40px -22px hsl(var(--shadow-color) / .6);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 1.9rem;
  background: var(--accent);
  color: var(--primary-strong);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .3em .8em;
  border-radius: 999px;
  margin: 0;
}

.price-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.price-tag {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--primary);
  margin: 0 0 .1em;
}
[data-theme="dark"] .price-tag { color: var(--primary-strong); }
.price-tag span { font-size: 1rem; font-family: var(--font-body); color: var(--text-muted); font-weight: 500; }
.price-annual { font-size: .85rem; color: var(--accent-strong); font-weight: 600; margin-bottom: 1em; }
.price-desc { font-size: .92rem; }
.price-best {
  font-size: .88rem;
  font-style: italic;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: .7em;
  margin-bottom: 1.2em;
}
.price-features {
  margin: 0 0 1.6em;
  display: flex;
  flex-direction: column;
  gap: .55em;
  flex-grow: 1;
}
.price-features li {
  font-size: .88rem;
  color: var(--text-muted);
  padding-left: 1.3em;
  position: relative;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-callout {
  margin-top: 3rem;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-l);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.pricing-callout h3 { color: var(--on-primary); margin-bottom: .2em; }
.pricing-callout p { color: var(--on-primary); opacity: .85; margin: 0; }
.pricing-callout .btn-primary {
  background: var(--accent);
  color: var(--primary-strong);
}
.pricing-callout .btn-primary:hover { background: var(--accent-strong); color: var(--on-primary); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2rem;
  margin: 0;
}
.testimonial-card blockquote {
  margin: 0 0 1.4em;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: .2em;
}
.testimonial-name { font-weight: 600; font-size: .92rem; }
.testimonial-result { font-size: .85rem; color: var(--accent-strong); font-weight: 600; }

/* ==========================================================================
   FAQ / Accordion
   ========================================================================== */

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item h3 { margin: 0; font-family: var(--font-body); }

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 2.2rem 1.4rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-strong);
  transition: transform .25s ease;
}
.accordion-trigger[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion-panel p {
  padding: 0 2.2rem 1.4rem 0;
  margin: 0;
  font-size: .96rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; align-items: center; gap: .7rem; }
.contact-details svg { color: var(--accent-strong); flex-shrink: 0; }
.contact-details a:hover { color: var(--primary); }

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 2.2rem;
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .4em;
}
.optional { font-weight: 400; color: var(--text-muted); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: .75em .9em;
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .96rem;
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 90px; }

.form-row--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  font-size: .9rem;
  min-height: 1.2em;
}
.form-status.is-success { color: var(--primary); font-weight: 600; }
.form-status.is-error { color: #B23A3A; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--primary-strong);
  color: var(--on-primary);
  padding-top: 64px;
}
[data-theme="dark"] .site-footer { background: var(--bg-sunken); border-top: 1px solid var(--border); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer .logo { color: var(--on-primary); margin-bottom: .8rem; }
.site-footer .logo-mark { color: var(--accent-strong); }
.site-footer p { color: hsl(0 0% 100% / .68); font-size: .92rem; }
[data-theme="dark"] .site-footer p { color: var(--text-muted); }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: hsl(0 0% 100% / .55);
  margin-bottom: 1rem;
}
[data-theme="dark"] .site-footer h4 { color: var(--text-muted); }

.site-footer div a {
  display: block;
  color: hsl(0 0% 100% / .85);
  font-size: .92rem;
  margin-bottom: .7rem;
}
[data-theme="dark"] .site-footer div a { color: var(--text); }
.site-footer div a:hover { color: var(--accent-strong); }

.social-links { display: flex; gap: .8rem; margin-top: 1rem; }
.social-links a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid hsl(0 0% 100% / .25);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
}
.social-links a:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.6rem 24px;
  border-top: 1px solid hsl(0 0% 100% / .15);
  font-size: .84rem;
  color: hsl(0 0% 100% / .6);
}
[data-theme="dark"] .footer-bottom { border-top-color: var(--border); color: var(--text-muted); }
.footer-bottom div { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--accent-strong); }

/* ==========================================================================
   Scroll-triggered reveal animations
   Any element with class "reveal-on-scroll" starts hidden/offset and
   animates in once it's added the "is-visible" class by main.js
   (via IntersectionObserver). Add [data-stagger] to a container to
   auto-delay each direct reveal-on-scroll child in sequence.
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero background orbs — soft, slow-drifting brand-color blobs behind
   the hero copy. Purely decorative (aria-hidden), pauses under
   prefers-reduced-motion.
   ========================================================================== */

.hero { position: relative; overflow: hidden; }

.hero-orbs {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  will-change: transform;
}
[data-theme="dark"] .hero-orb { opacity: .28; }

.hero-orb--a {
  width: 380px; height: 380px;
  top: -80px; left: 0;
  background: var(--primary);
  animation: orb-float-a 16s ease-in-out infinite;
}
.hero-orb--b {
  width: 300px; height: 300px;
  top: 120px; right: 6%;
  background: var(--accent);
  animation: orb-float-b 13s ease-in-out infinite;
}
.hero-orb--c {
  width: 220px; height: 220px;
  bottom: -60px; left: 30%;
  background: var(--primary);
  opacity: .22;
  animation: orb-float-c 19s ease-in-out infinite;
}

@keyframes orb-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes orb-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(.94); }
}
@keyframes orb-float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

.hero-grid, .hero-visual { position: relative; z-index: 1; }

/* ==========================================================================
   Attention-grabbing primary CTA — a soft breathing glow ring using the
   brand orange, so the main "book a consultation" actions pop instead of
   sitting flat. Applied via the .btn-pulse class.
   ========================================================================== */

.btn-pulse {
  position: relative;
}
.btn-pulse::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: .55;
  z-index: -1;
  animation: btn-pulse-ring 2.6s ease-out infinite;
}
@keyframes btn-pulse-ring {
  0% { transform: scale(.92); opacity: .5; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse::before { animation: none; display: none; }
}

/* Underline sweep on nav links now uses a two-tone brand gradient */
.main-nav a::after {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Card hover: slightly stronger "pop" — lift + brand-orange glow ring */
.service-card, .price-card, .testimonial-card {
  transition: transform .28s cubic-bezier(.22,.9,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover, .testimonial-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px hsl(var(--shadow-color) / .45), 0 0 0 1px var(--accent-tint);
}

/* ==========================================================================
   Booking modal — "Book a Consultation" popup calendar
   ========================================================================== */

.booking-overlay {
  position: fixed;
  inset: 0;
  background: hsl(0 0% 0% / .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.booking-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal {
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: var(--radius-l);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.9,.3,1), opacity .3s ease;
  box-shadow: 0 30px 60px -20px hsl(0 0% 0% / .4);
}
.booking-overlay.is-open .booking-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .booking-overlay, .booking-modal { transition: none; }
}

.booking-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-close:hover { border-color: var(--accent); color: var(--accent-strong); }

.booking-modal h2 {
  font-size: 1.4rem;
  padding-right: 2rem;
  margin-bottom: .2em;
}
.booking-modal .booking-sub {
  font-size: .92rem;
  margin-bottom: 1.6rem;
}

.booking-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.booking-calendar-head span { font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.booking-nav-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.booking-nav-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-strong); }
.booking-nav-btn:disabled { opacity: .35; cursor: not-allowed; }

.booking-weekdays, .booking-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.booking-weekdays {
  font-size: .74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: .3rem;
}
.booking-days { margin-bottom: 1.4rem; }

.booking-day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: var(--radius-s);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.booking-day:hover:not(:disabled) { background: var(--primary-tint); }
.booking-day:disabled { color: var(--border); cursor: not-allowed; }
.booking-day.is-empty { visibility: hidden; }
.booking-day.is-selected {
  background: var(--primary);
  color: var(--on-primary);
  transform: scale(1.06);
}

.booking-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.booking-time {
  padding: .6em .5em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.booking-time:hover { border-color: var(--accent); }
.booking-time.is-selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.booking-fields { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.booking-fields .form-row { margin-bottom: 0; }

.booking-status {
  font-size: .88rem;
  min-height: 1.2em;
  margin-bottom: 1rem;
}
.booking-status.is-error { color: #C0392B; font-weight: 600; }

.booking-confirmation {
  text-align: center;
  padding: 1rem 0;
}
.booking-confirmation .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.booking-confirmation h3 { margin-bottom: .3em; }
.booking-add-calendar {
  display: flex;
  gap: .8rem;
  justify-content: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

[hidden] { display: none !important; }

/* ==========================================================================
   Growth chart — looping animation
   The static .chart-path draws in once on load, then .chart-comet loops
   forever: a short bright gradient segment travels the same path
   continuously using the pathLength="1000" trick (so dash math is exact
   regardless of curve geometry). Milestone dots "ping" on a matching loop.
   ========================================================================== */

.chart-path {
  stroke: url(#chartGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: .55;
  animation: draw-line 1.8s .4s cubic-bezier(.22,.7,.2,1) forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

.chart-comet {
  stroke: url(#chartGradient);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 70 930;
  stroke-dashoffset: 1000;
  opacity: 0;
  animation:
    comet-fade-in .6s 2.1s ease forwards,
    comet-travel 4s 2.2s linear infinite;
}
@keyframes comet-fade-in { to { opacity: 1; } }
@keyframes comet-travel {
  0%   { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: -70; }
}

@media (prefers-reduced-motion: reduce) {
  .chart-path { stroke-dashoffset: 0; opacity: .55; animation: none; }
  .chart-comet { animation: none; opacity: 0; }
}

.chart-points circle:not([class]) { fill: var(--accent); }
.chart-ping {
  fill: var(--accent);
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: chart-ping 4s ease-out infinite;
}
.chart-ping--1 { animation-delay: 2.5s; }
.chart-ping--2 { animation-delay: 3.7s; }
.chart-ping--3 { animation-delay: 5.1s; }
@keyframes chart-ping {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chart-ping { display: none; }
}

.chart-label {
  opacity: .75;
  transition: opacity .3s ease, fill .3s ease;
}
.chart-label--1 { animation: label-flash 4s ease-in-out infinite; animation-delay: 2.4s; }
.chart-label--2 { animation: label-flash 4s ease-in-out infinite; animation-delay: 3.6s; }
.chart-label--3 { animation: label-flash 4s ease-in-out infinite; animation-delay: 5.0s; }
@keyframes label-flash {
  0%, 90%, 100% { fill: var(--text-muted); }
  8% { fill: var(--accent-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .chart-label { animation: none !important; }
}

/* ==========================================================================
   Gradient text utility — for highlighting a word/name (e.g. "Langston")
   ========================================================================== */

.text-gradient {
  background: linear-gradient(100deg, var(--primary), var(--accent) 65%, var(--primary));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .text-gradient { animation: none; background-position: 30% center; }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ==========================================================================
   Reusable decorative background orbs (used in Coach and other sections,
   same mechanism as the hero orbs but scoped to their own container).
   ========================================================================== */

.bg-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
  will-change: transform;
}
[data-theme="dark"] .bg-orb { opacity: .18; }
.bg-orb--a { width: 340px; height: 340px; top: -10%; right: -6%; background: var(--accent); animation: orb-float-a 18s ease-in-out infinite; }
.bg-orb--b { width: 260px; height: 260px; bottom: -10%; left: -4%; background: var(--primary); animation: orb-float-b 15s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .bg-orb { animation: none; } }

/* ==========================================================================
   Tilt cards — subtle 3D pop on hover/mouse-move (JS adds the rotation via
   inline custom properties; this just declares the transform + easing).
   Falls back to a plain hover lift if JS/pointer isn't available.
   ========================================================================== */

.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.tilt-card:hover, .tilt-card:focus-visible {
  box-shadow: 0 26px 50px -22px hsl(var(--shadow-color) / .55);
}
@media (prefers-reduced-motion: reduce) {
  .tilt-card { transform: none !important; }
}

/* ==========================================================================
   Coach section — TC Langston's personal brand spot
   ========================================================================== */

.coach {
  position: relative;
  overflow: hidden;
  background: var(--bg-sunken);
}
.coach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .coach-grid { grid-template-columns: 1fr; }
  .coach-media { order: -1; }
}

.coach-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .15em;
}
.coach-title {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.4em;
}
.coach-quote {
  margin: 0 0 1.4em;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
}
.coach-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.2em 0 1.6em;
}
.coach-credentials li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-tint);
  border: 1px solid var(--border);
  padding: .5em 1em;
  border-radius: 999px;
}
[data-theme="dark"] .coach-credentials li { color: var(--primary-strong); }

.coach-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.social-links--coach a {
  border-color: var(--border);
  color: var(--text);
}
.social-links--coach a:hover { border-color: var(--accent); color: var(--accent-strong); }

.coach-media { display: flex; justify-content: center; }
.coach-frame {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 3/4;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.coach-frame::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  z-index: -1;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: .85;
}
.coach-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach-frame-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: hsl(0 0% 0% / .55);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .5em 1em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Team sub-block within the Coach section */
.team-block { position: relative; z-index: 1; margin-top: 5rem; }
.team-card {
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2rem 1.5rem;
  transition: transform .25s ease, border-color .25s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.team-avatar {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}
[data-theme="dark"] .team-avatar { color: var(--primary-strong); }
.team-card h4 { font-size: 1.02rem; margin-bottom: .2em; }
.team-card p { font-size: .88rem; margin: 0; }
.team-card--add { border-style: dashed; }
.team-avatar--add { background: transparent; border: 2px dashed var(--border); color: var(--text-muted); }

/* Reuse about-media as a lightbox trigger too now */
.about-media { position: relative; z-index: 1; }
.about-media.img-fallback .about-frame { display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Price count-up number styling (animation handled in JS)
   ========================================================================== */

.price-num { display: inline-block; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Image lightbox
   ========================================================================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: hsl(0 0% 0% / .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: min(90vw, 720px);
  max-height: 85vh;
  border-radius: var(--radius-m);
  transform: scale(.94);
  transition: transform .25s ease;
  box-shadow: 0 40px 80px -20px hsl(0 0% 0% / .6);
}
.lightbox-overlay.is-open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid hsl(0 0% 100% / .3);
  background: hsl(0 0% 100% / .1);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-close:hover { background: hsl(0 0% 100% / .2); }
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay, .lightbox-img { transition: none; }
}

/* Service card icons — small colored badge that pops on hover */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background-color .25s ease, color .25s ease;
}
[data-theme="dark"] .service-icon { color: var(--primary-strong); }
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--accent-tint);
  color: var(--accent-strong);
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-icon { transform: none; }
}
