/*
Theme Name: Revive Detailing
Theme URI: https://revivedetailing.com
Author: Revive Detailing
Description: Custom WordPress theme for Revive Detailing — mobile car detailing in Memphis, TN
Version: 1.0.0
*/

/* ==========================================================================
   Design tokens — .cursorrules + src/index.css (HSL theme vars as references)
   ========================================================================== */

:root {
  --bg-dark: #0d0f18;
  --bg-card: #141720;
  --bg-darkest: #0a0d14;
  --text-primary: #e8e6e0;
  --text-muted: #9aa0b0;
  --text-very-muted: #4a4d5a;
  --border-color: #2a2d3a;
  --silver-1: #b0b8c8;
  --silver-2: #dde2ea;
  --silver-3: #9aa4b4;

  /* Tailwind semantic tokens from src/index.css (for 404 / rare utilities) */
  --tw-background: 228 33% 7%;
  --tw-foreground: 40 10% 90%;
  --tw-muted: 228 18% 13%;
  --tw-muted-foreground: 224 12% 64%;
  --tw-primary: 0 0% 78%;
  --tw-border: 230 14% 19%;
  --radius: 0.375rem;

  --font-display: "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

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

* {
  border-style: none;
  border-width: 0;
  border-color: hsl(var(--tw-border));
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: hsl(var(--tw-background));
  color: hsl(var(--tw-foreground));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   Typography utilities (Tailwind-derived from components)
   ========================================================================== */

/* src/index.css — .text-chrome */
.text-chrome {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-display {
  font-family: var(--font-display);
}

/* Hero headline sizes: text-4xl sm:text-5xl lg:text-6xl xl:text-7xl */
.hero-headline {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-headline {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-headline {
    font-size: 4.5rem;
  }
}

/* Problem.tsx — h2 text-3xl sm:text-4xl lg:text-5xl */
.section-title-chrome {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .section-title-chrome {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title-chrome {
    font-size: 3rem;
  }
}

/* Hero subhead: text-lg sm:text-xl text-muted-foreground */
.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-subhead {
    font-size: 1.25rem;
  }
}

.hero-sms-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-sms-note a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-sms-note a:hover {
  color: var(--silver-1);
}

/* Section headlines: clamp(1.75rem, 4vw, 3rem) from ValueProps, HowItWorks, etc. */
.section-headline-large {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* Page hero h1 Services.tsx / About.tsx */
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ==========================================================================
   Global layout — Tailwind container from tailwind.config.ts
   ========================================================================== */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}

/* Narrow content widths from components */
.container-narrow-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.container-narrow-760 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.container-narrow-720 {
  max-width: 720px;
}

.container-narrow-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.container-narrow-680 {
  max-width: 680px;
}

.container-narrow-640 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.container-narrow-600 {
  max-width: 600px;
}

.container-narrow-faq {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.text-left-lg {
  text-align: center;
}

@media (min-width: 1024px) {
  .text-left-lg {
    text-align: left;
  }
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Section vertical padding — .cursorrules: 64px mobile, 96px desktop */
.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.section-padding-problem {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-padding-problem {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* React uses 96px for many; Problem matches */
.section-padding-page-intro {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-padding-page-intro {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.section-padding-final {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .section-padding-final {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* ==========================================================================
   Global components — .cursorrules
   ========================================================================== */

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #b0b8c8 0%, #dde2ea 50%, #9aa4b4 100%);
  color: #0a0d14;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  box-shadow: 0 2px 20px rgba(180, 190, 210, 0.25);
  border: none;
  border-style: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.cta-button:hover {
  filter: brightness(1.15);
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #9aa0b0;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-headline {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #e8e6e0;
  line-height: 1.1;
  margin-bottom: 24px;
}

.dark-card {
  background: #141720;
  border: 1px solid #2a2d3a;
  border-top: 3px solid #b0b8c8;
  padding: 32px;
}

.price-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #9aa0b0;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

/* src/index.css utilities */
.bg-chrome {
  background: linear-gradient(135deg, #b0b8c8, #dde2ea, #9aa4b4);
}

.bg-chrome-hover:hover {
  background: linear-gradient(135deg, #c0c8d8, #eaecf4, #aab4c4);
}

/* src/index.css */
.border-chrome {
  border-image: linear-gradient(135deg, #c0c0c0, #e8e8e8, #a0a0a0) 1;
}

/* ==========================================================================
   Navbar — src/components/Navbar.tsx + .cursorrules
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* overlay=1099, drawer=1100 sit above */
  background: #0d0f18;
  border-bottom: 1px solid #2a2d3a;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .site-nav__inner {
    height: 80px;
  }
}

.site-nav__logo {
  flex-shrink: 0;
  text-decoration: none;
}

.site-nav__logo img {
  height: 40px;
  width: auto;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}

.site-nav__links a {
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__links a:hover {
  color: var(--text-primary);
}

.site-nav__actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .site-nav__actions {
    display: flex;
  }
}

.site-nav__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__phone:hover {
  color: var(--text-primary);
}

.site-nav__phone-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ── Hamburger toggle button ────────────────────────────── */
.site-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  color: var(--text-primary);
  background: none;
  border: 0;
  cursor: pointer;
  /* Always show hamburger icon; close icon is inside the drawer */
}

@media (min-width: 768px) {
  .site-nav__toggle {
    display: none;
  }
}

.site-nav__toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Hide the X icon in the toggle — it now lives inside the drawer header */
.site-nav__toggle-close {
  display: none !important;
}

/* ── Dimmed overlay backdrop ────────────────────────────── */
.site-nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.28s ease;
}

body.nav-open .site-nav__overlay {
  display: block;
  opacity: 1;
}

/* ── Slide-in drawer ────────────────────────────────────── */
.site-nav__mobile {
  /* Drawer styles live in header.php <style> block.
     This rule ensures the element is never display:none'd by old logic. */
  display: flex !important;
  flex-direction: column;
}

/* Reset any legacy open/close toggling */
@media (max-width: 767px) {
  body.nav-open .site-nav__mobile {
    display: flex !important;
  }
}

/* Inner content reset — layout handled by header.php inline styles */
.site-nav__mobile-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 0 32px;
}

.site-nav__mobile-inner > * + * {
  margin-top: 0; /* spacing now via min-height on each item */
}

/* Links inside drawer */
.site-nav__mobile a {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__mobile a:hover {
  color: var(--text-primary);
}

/* Phone link inside drawer actions block */
.site-nav__mobile-actions .site-nav__phone {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

/* Book Now CTA full-width in drawer */
.site-nav__mobile-actions .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 36px;
}

/* Prevent body scroll when drawer is open */
body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero — src/components/Hero.tsx
   ========================================================================== */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__overlay-solid {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 24, 0.8);
}

/* bg-gradient-to-b from-background/60 via-transparent to-background */
.home-hero__overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 15, 24, 0.6) 0%,
    transparent 50%,
    #0d0f18 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 10;
}

.home-hero__text-wrap {
  max-width: 48rem;
}

@media (min-width: 1024px) {
  .home-hero__text-wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==========================================================================
   Homepage sections — alternating backgrounds (.cursorrules)
   ========================================================================== */

/* hero #0d0f18 — covered by hero overlays ending at #0d0f18 */
.section-bg-dark {
  background: #0d0f18;
}

.section-bg-card {
  background: #141720;
}

/* Problem.tsx */
.home-problem {
  background: #141720;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-problem {
    padding: 96px 0;
  }
}

.home-problem__intro {
  max-width: 48rem;
}

.home-problem__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
}

.home-problem__text {
  color: #9aa0b0;
  font-size: 18px;
  line-height: 1.8;
}

.home-problem__emphasis {
  color: #e8e6e0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}

/* ValueProps.tsx */
.home-value-props {
  background: #0d0f18;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-value-props {
    padding: 96px 0;
  }
}

.home-value-props .section-headline-large {
  margin-bottom: 56px;
}

.home-value-props__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .home-value-props__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-value-card__title {
  font-weight: 700;
  font-size: 18px;
  color: #e8e6e0;
  margin-bottom: 12px;
}

.home-value-card__body {
  font-size: 15px;
  color: #9aa0b0;
  line-height: 1.75;
}

/* HowItWorks.tsx */
.home-how {
  background: #141720;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-how {
    padding: 96px 0;
  }
}

.home-how .section-headline-large {
  margin-bottom: 64px;
}

.home-how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
}

@media (min-width: 640px) {
  .home-how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-how__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-how__num {
  background: linear-gradient(135deg, #b0b8c8, #dde2ea, #9aa4b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.home-how__step-title {
  font-size: 18px;
  font-weight: 700;
  color: #e8e6e0;
  margin-bottom: 12px;
}

.home-how__step-body {
  font-size: 14px;
  color: #9aa0b0;
  line-height: 1.75;
}

.home-how__cta-wrap {
  text-align: center;
  margin-top: 64px;
}

/* HowItWorks CTA hover brightness(1.1) per React */
.home-how .cta-button:hover {
  filter: brightness(1.1);
}

/* Services.tsx (home) */
.home-services {
  background: #0d0f18;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-services {
    padding: 96px 0;
  }
}

.home-services .section-headline-large {
  margin-bottom: 64px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .home-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Services.tsx uses marginBottom 12px on price line */
.home-services .price-badge {
  margin-bottom: 12px;
}

.home-services__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #e8e6e0;
  margin-bottom: 16px;
}

.home-services__card-desc {
  font-size: 14px;
  color: #9aa0b0;
  line-height: 1.75;
}

/* TrustBuilders.tsx */
.home-trust {
  background: #141720;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-trust {
    padding: 96px 0;
  }
}

.home-trust .section-headline-large {
  margin-bottom: 56px;
}

.home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .home-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-trust__cell {
  padding: 32px 0;
}

/* TrustBuilders.tsx: borderBottom when index < 2 */
.home-trust__cell:nth-child(-n + 2) {
  border-bottom: 1px solid #2a2d3a;
}

.home-trust__bold {
  font-size: 18px;
  font-weight: 700;
  color: #e8e6e0;
  margin-bottom: 8px;
}

.home-trust__body {
  font-size: 15px;
  color: #9aa0b0;
  line-height: 1.75;
}

/* FAQ — src/components/FAQ.tsx + .cursorrules */
.home-faq {
  background: #0d0f18;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .home-faq {
    padding: 96px 0;
  }
}

.home-faq .section-headline-large {
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid #2a2d3a;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question__text {
  font-size: 17px;
  font-weight: 600;
  color: #e8e6e0;
  padding-right: 16px;
}

.faq-question__icon,
.faq-icon {
  font-size: 20px;
  color: #9aa0b0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  transform: rotate(0deg);
}

.faq-item.faq-open .faq-question__icon,
.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.faq-open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: 15px;
  color: #9aa0b0;
  line-height: 1.8;
  padding: 0 0 20px;
  margin: 0;
}

/* FinalCTA.tsx — distinct button + section padding 120px desktop */
.home-final-cta {
  background: #141720;
  padding: 80px 0;
}

@media (min-width: 768px) {
  .home-final-cta {
    padding: 120px 0;
  }
}

.home-final-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.home-final-cta .section-headline-large {
  line-height: 1.2;
}

.home-final-cta__sub {
  font-size: 18px;
  color: #9aa0b0;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* FinalCTA inline button — not identical to .cta-button per React */
.final-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #b0b8c8 0%, #dde2ea 50%, #9aa4b4 100%);
  color: #0a0d14;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  text-decoration: none;
  box-shadow: 0 2px 20px rgba(180, 190, 210, 0.25);
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.final-cta-button:hover {
  filter: brightness(1.15);
}

.home-final-cta__footnote {
  font-size: 13px;
  color: #9aa0b0;
  margin-top: 20px;
}

/* ==========================================================================
   Footer — src/components/Footer.tsx
   ========================================================================== */

.site-footer {
  background: #0a0d14;
  padding: 56px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer__logo {
  height: 48px;
  width: auto;
}

.site-footer__tagline {
  font-size: 13px;
  color: #9aa0b0;
  margin-top: 12px;
}

.site-footer__col-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #9aa0b0;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer__link {
  font-size: 14px;
  color: #9aa0b0;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.site-footer__link:hover {
  color: #e8e6e0;
}

.site-footer__contact {
  font-size: 14px;
  color: #9aa0b0;
  margin-bottom: 8px;
}

.site-footer__bottom {
  border-top: 1px solid #2a2d3a;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.site-footer__copyright {
  font-size: 12px;
  color: #4a4d5a;
  margin: 0;
}

/* ==========================================================================
   Services page — src/pages/Services.tsx
   ========================================================================== */

.page-services-hero {
  background: #0d0f18;
  padding-top: 120px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .page-services-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}

.page-services-hero__lead {
  font-size: 18px;
  color: #9aa0b0;
  margin-top: 16px;
  margin-bottom: 40px;
}

.services-intro {
  background: #141720;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .services-intro {
    padding: 80px 0;
  }
}

.services-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #e8e6e0;
  margin-bottom: 20px;
}

.services-intro__body {
  font-size: 16px;
  color: #9aa0b0;
  line-height: 1.8;
}

.services-intro__note {
  font-size: 14px;
  color: #9aa0b0;
  margin-top: 16px;
  font-style: italic;
}

.services-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .services-section {
    padding: 96px 0;
  }
}

.services-section--dark {
  background: #0d0f18;
}

.services-section--card {
  background: #141720;
}

.services-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #e8e6e0;
}

.services-section__lead {
  font-size: 16px;
  color: #9aa0b0;
}

.services-section__head-spaced {
  margin-bottom: 56px;
}

.services-section__head-tight {
  margin-bottom: 16px;
}

.services-section__head-medium {
  margin-bottom: 12px;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.services-card {
  background: #141720;
  border: 1px solid #2a2d3a;
  border-top: 3px solid #b0b8c8;
  padding: 40px;
}

.services-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #e8e6e0;
  margin-bottom: 6px;
}

.services-card__name--sm {
  font-size: 20px;
}

.services-card__tagline {
  font-size: 14px;
  color: #9aa0b0;
  font-style: italic;
  margin-bottom: 24px;
}

.services-card__tagline--tight {
  margin-bottom: 16px;
  margin-top: 8px;
}

.services-card__text {
  font-size: 14px;
  color: #9aa0b0;
  margin-bottom: 20px;
}

.services-sub-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #9aa0b0;
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 20px;
}

.services-sub-label--first {
  margin-top: 0;
}

.services-divider {
  border-top: 1px solid #2a2d3a;
  margin-top: 20px;
}

.services-bullets {
  font-size: 14px;
  color: #9aa0b0;
  line-height: 1.9;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-bullets li {
  margin: 0;
}

.services-bullets-spacing {
  margin-top: 20px;
}

.services-bullets-spacing-sm {
  margin-top: 16px;
}

.services-card__para {
  font-size: 14px;
  color: #9aa0b0;
  line-height: 1.8;
  margin-top: 16px;
}

.severe-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  color: #b0b8c8;
  margin-bottom: 24px;
}

.services-disclaimer {
  font-size: 13px;
  color: #4a4d5a;
  font-style: italic;
  margin-top: 24px;
  text-align: center;
}

.services-not-sure {
  background: #141720;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .services-not-sure {
    padding: 96px 0;
  }
}

.services-not-sure h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #e8e6e0;
}

.services-not-sure__body {
  font-size: 18px;
  color: #9aa0b0;
  margin-top: 16px;
  margin-bottom: 40px;
}

.services-not-sure__foot {
  font-size: 13px;
  color: #9aa0b0;
  margin-top: 16px;
}

/* ==========================================================================
   About page — src/pages/About.tsx
   ========================================================================== */

.page-about-hero {
  background: #0d0f18;
  padding-top: 120px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .page-about-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}

.page-about-hero__sub {
  font-size: 18px;
  color: #9aa0b0;
  margin-top: 16px;
}

.about-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 96px 0;
  }
}

.about-section--card {
  background: #141720;
}

.about-section--dark {
  background: #0d0f18;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-pull-quote {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #e8e6e0;
  line-height: 1.3;
  max-width: 340px;
}

.about-prose-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-prose {
  font-size: 16px;
  color: #9aa0b0;
  line-height: 1.85;
}

.about-prose--emphasis {
  color: #e8e6e0;
  font-weight: 500;
}

.about-name-section .section-headline-large {
  margin-bottom: 32px;
}

.about-values .section-headline-large {
  margin-bottom: 56px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-value-block {
  border-top: 1px solid #2a2d3a;
  padding-top: 24px;
}

.about-value-title {
  font-size: 18px;
  font-weight: 700;
  color: #e8e6e0;
  margin-bottom: 12px;
}

.about-value-body {
  font-size: 15px;
  color: #9aa0b0;
  line-height: 1.75;
}

.about-vision .section-headline-large {
  margin-bottom: 32px;
}

.about-final-cta {
  background: #0d0f18;
  padding: 80px 0;
}

@media (min-width: 768px) {
  .about-final-cta {
    padding: 120px 0;
  }
}

.about-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #e8e6e0;
}

.about-final-cta__body {
  font-size: 18px;
  color: #9aa0b0;
  margin-top: 16px;
  margin-bottom: 40px;
}

.about-final-cta__foot {
  font-size: 13px;
  color: #9aa0b0;
  margin-top: 20px;
}

/* ==========================================================================
   404 — src/pages/NotFound.tsx
   ========================================================================== */

.error-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: hsl(var(--tw-muted));
}

.error-404__inner {
  text-align: center;
}

.error-404__title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.error-404__text {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--tw-muted-foreground));
}

.error-404__link {
  color: hsl(var(--tw-primary));
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.error-404__link:hover {
  opacity: 0.9;
}

/* ==========================================================================
   WordPress / misc
   ========================================================================== */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}