/* ============================================================================
   PlayerPiano.AI Website - Complete CSS Stylesheet
   Design System: Warm, approachable, professional aesthetic
   ========================================================================== */

/* ============================================================================
   1. ROOT VARIABLES & CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Colors - Backgrounds */
  --warm-bg: #ede4d8;
  --cream: #f7f3ee;
  --cream-white: #faf8f5;

  /* Colors - Primary Brand */
  --screen-blue: #1a92b8;
  --screen-blue-light: #2bb4d8;
  --screen-blue-pale: #e8f6fa;

  /* Colors - Text & Neutral */
  --charcoal: #13171a;
  --charcoal-soft: #2d3239;
  --text-mid: #4a4e56;
  --text-light: #74787f;
  --border-warm: #d9cfc2;
  --white: #ffffff;

  /* Semantic Aliases (used in inline styles across pages) */
  --color-bg-secondary: var(--cream);
  --color-border: var(--border-warm);
  --color-accent: var(--screen-blue);
  --color-accent-light: var(--screen-blue-pale);
  --color-text-secondary: var(--charcoal-soft);
  --color-text-tertiary: var(--text-light);
  --color-text-muted: var(--text-mid);
  --color-text-on-dark: var(--white);
  --color-text-on-dark-secondary: rgba(255, 255, 255, 0.75);

  /* Typography */
  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: Georgia, 'Times New Roman', Times, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  --space-4xl: 3.5rem;
  --space-5xl: 4.5rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: var(--screen-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--screen-blue-light);
}

/* Images */
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ============================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: var(--space-md);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: var(--space-md);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
}

small {
  font-size: 0.875rem;
}

/* ============================================================================
   4. NAVIGATION (.nav)
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background-color: rgba(250, 248, 245, 0.85);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.nav--scrolled {
  box-shadow: 0 4px 12px rgba(19, 23, 26, 0.08);
  border-bottom-color: var(--border-warm);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition-base);
}

.nav__link:hover {
  color: var(--screen-blue);
}

.nav__link--active {
  color: var(--screen-blue);
  font-weight: 600;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: var(--space-md);
    background-color: rgba(250, 248, 245, 0.98);
    padding: var(--space-lg) var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    border-bottom: 1px solid var(--border-warm);
  }

  .nav__links--open {
    max-height: 500px;
  }

  .nav__link {
    padding: var(--space-sm) 0;
  }
}

/* ============================================================================
   5. BUTTONS (.btn)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--screen-blue);
  color: var(--white);
}

.btn--primary:hover {
  background-color: #157a99;
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--screen-blue);
  color: var(--screen-blue);
}

.btn--outline:hover {
  background-color: var(--screen-blue-pale);
}

.btn--secondary {
  background-color: var(--charcoal-soft);
  color: var(--white);
}

.btn--secondary:hover {
  background-color: var(--charcoal);
}

.btn--white {
  background-color: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--white);
}

.btn--white:hover {
  background-color: var(--cream-white);
  border-color: var(--cream);
}

.btn--lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================================
   6. CONTAINER & LAYOUT
   ========================================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: 780px;
}

/* ============================================================================
   7. GRID SYSTEM (.grid)
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   8. HERO SECTION (.hero)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__photo {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem var(--space-xl) 6rem;
  background-size: cover;
  background-position: center;
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19, 23, 26, 0.25) 0%,
    rgba(19, 23, 26, 0.15) 40%,
    rgba(237, 228, 216, 0.65) 100%
  );
  z-index: 0;
}

.hero__photo-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__logo {
  width: 320px;
  max-width: 100%;
  margin: 0 auto var(--space-xl);
  filter: drop-shadow(0 4px 16px rgba(19, 23, 26, 0.1));
}

.hero__wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 8px rgba(19, 23, 26, 0.4);
}

.hero__tagline-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  text-shadow: 0 1px 6px rgba(19, 23, 26, 0.3);
}

.hero__content {
  background-color: var(--warm-bg);
  padding: var(--space-2xl);
}

.hero__content-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--charcoal);
  line-height: 1.2;
}

.hero__headline em {
  color: var(--screen-blue);
  font-style: normal;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero__photo {
    min-height: 320px;
    padding: 3rem var(--space-xl) 4rem;
  }

  .hero__logo {
    width: 240px;
  }

  .hero__content {
    padding: var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ============================================================================
   9. PAGE HEADER (.page-header)
   ========================================================================== */

.page-header {
  position: relative;
  padding: 6rem var(--space-xl) 4rem;
  text-align: center;
  overflow: hidden;
}

.page-header--photo {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(237, 228, 216, 0.75) 0%,
    rgba(237, 228, 216, 0.9) 100%
  );
  z-index: 1;
}

.page-header h1,
.page-header h2,
.page-header p,
.page-header .section__label {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--charcoal);
}

.page-header p {
  color: var(--charcoal-soft);
}

.page-header__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--screen-blue);
  margin-bottom: var(--space-md);
}

@media (max-width: 640px) {
  .page-header {
    padding: 4rem var(--space-xl) 3rem;
  }

  .page-header--photo {
    min-height: 280px;
  }
}

/* ============================================================================
   10. SECTIONS (.section)
   ========================================================================== */

.section {
  padding: var(--space-5xl) var(--space-xl);
}

.section--cream {
  background-color: var(--cream);
}

.section--warm {
  background-color: var(--warm-bg);
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.section--light {
  background-color: var(--cream-white);
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--screen-blue);
  margin-bottom: var(--space-sm);
  display: block;
}

.section--dark .section__label {
  color: var(--screen-blue-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) var(--space-xl);
  }
}

/* ============================================================================
   11. CARDS (.card)
   ========================================================================== */

.card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  background-color: var(--white);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(19, 23, 26, 0.08);
}

.card--dark {
  background-color: var(--charcoal-soft);
  border: none;
  color: var(--white);
}

.card--dark:hover {
  box-shadow: 0 8px 24px rgba(19, 23, 26, 0.2);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--screen-blue-pale);
  color: var(--screen-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card--dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================================
   12. SERVICE TIERS (.tier)
   ========================================================================== */

.tier {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  background-color: var(--white);
  position: relative;
  transition: all var(--transition-base);
}

.tier--featured {
  border: 2px solid var(--screen-blue);
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(26, 146, 184, 0.15);
}

.tier--featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--screen-blue);
  color: var(--white);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tier__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.tier__subtitle {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.tier__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--screen-blue);
  margin-bottom: var(--space-sm);
}

.tier__price-period {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.tier__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-warm);
}

.tier__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.tier__feature svg {
  width: 18px;
  height: 18px;
  color: var(--screen-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.tier__cta {
  width: 100%;
  margin-top: var(--space-lg);
}

/* ============================================================================
   13. CASE STUDY (.case-study)
   ========================================================================== */

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.case-study__content h2 {
  margin-bottom: var(--space-lg);
}

.case-study__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.case-study__visual-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.case-study__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(19, 23, 26, 0.85) 0%,
    rgba(19, 23, 26, 0.5) 50%,
    rgba(19, 23, 26, 0.2) 100%
  );
  z-index: 1;
}

.case-study__quote {
  font-size: 1.1rem;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--screen-blue);
}

/* When the quote sits inside the visual (over the photo) */
.case-study__visual-content .case-study__quote {
  color: var(--white);
  border-left-color: var(--screen-blue-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.case-study__metric {
  padding: var(--space-lg);
  background-color: var(--screen-blue-pale);
  border-radius: var(--radius-md);
}

.case-study__metric-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--screen-blue);
  margin-bottom: var(--space-xs);
}

.case-study__metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .case-study {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .case-study__metrics {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   14. PROCESS STEPS (.process)
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step-counter;
}

.process__step {
  position: relative;
  padding-top: var(--space-2xl);
  counter-increment: step-counter;
}

.process__step::before {
  content: counter(step-counter);
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--screen-blue-pale);
  color: var(--screen-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(16px + 32px / 2);
  width: calc(100% - 16px);
  height: 2px;
  background: linear-gradient(
    to right,
    var(--screen-blue-pale) 0%,
    transparent 100%
  );
}

.process__step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.process__step p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .process {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .process__step::after {
    display: none;
  }
}

/* ============================================================================
   15. NEWSLETTER PREVIEW (.newsletter-preview)
   ========================================================================== */

.newsletter-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19, 23, 26, 0.12);
}

.newsletter-preview__content {
  background-color: var(--cream);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-preview__content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.newsletter-preview__content p {
  color: var(--text-mid);
}

.newsletter-preview__card {
  background-color: var(--white);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-preview__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--screen-blue);
  margin-bottom: var(--space-md);
}

.newsletter-preview__section {
  margin-bottom: var(--space-lg);
}

.newsletter-preview__section:last-child {
  margin-bottom: 0;
}

.newsletter-preview__section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.newsletter-preview__section-value {
  font-size: 0.95rem;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .newsletter-preview {
    grid-template-columns: 1fr;
  }

  .newsletter-preview__content {
    padding: var(--space-xl);
  }

  .newsletter-preview__card {
    padding: var(--space-xl);
  }
}

/* ============================================================================
   16. CTA BAND (.cta-band)
   ========================================================================== */

.cta-band {
  background-color: var(--charcoal);
  color: var(--white);
  padding: var(--space-4xl) var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta-band__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  opacity: 0.9;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-band p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn {
  margin: 0 auto;
}

.container .cta-band {
  margin: var(--space-4xl) auto;
}

/* ============================================================================
   17. ABOUT INTRO (.about-intro)
   ========================================================================== */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-intro__content h2 {
  margin-bottom: var(--space-lg);
}

.about-intro__content p {
  color: var(--text-mid);
  margin-bottom: var(--space-md);
}

.about-intro__visual {
  position: relative;
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ============================================================================
   18. FORMS (.form)
   ========================================================================== */

.form {
  max-width: 640px;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: var(--space-sm);
  text-transform: capitalize;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
  background-color: var(--white);
  transition: all var(--transition-base);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-light);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--screen-blue);
  background-color: var(--warm-bg);
  box-shadow: 0 0 0 3px rgba(26, 146, 184, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-display);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__success {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-base);
  background-color: var(--screen-blue);
  color: var(--white);
  padding: 0;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.form__success--visible {
  max-height: 100px;
  opacity: 1;
  padding: var(--space-md);
}

.form__success p {
  margin-bottom: 0;
}

/* ============================================================================
   19. CHECKLIST (.checklist)
   ========================================================================== */

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* NOTE: Checkmark icons are now handled by inline SVGs in the HTML.
   The ::before pseudo-element was removed to prevent duplicate checkmarks. */
   
   
/* ============================================================================
   20. VALUES GRID (.values)
   ========================================================================== */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.value {
  text-align: center;
}

.value__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  background-color: var(--screen-blue-pale);
  color: var(--screen-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value h3 {
  margin-bottom: var(--space-sm);
}

.value p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .values {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .value {
    text-align: left;
  }

  .value__icon {
    margin: 0 auto var(--space-md) 0;
  }
}

/* ============================================================================
   21. FAQ (.faq)
   ========================================================================== */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border-warm);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-base);
}

.faq__question:hover {
  color: var(--screen-blue);
}

.faq__question svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-left: var(--space-md);
  color: var(--screen-blue);
  transition: transform var(--transition-base);
}

.faq__item--open .faq__question svg {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq__item--open .faq__answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

/* ============================================================================
   22. PHOTO DIVIDER (.photo-divider)
   ========================================================================== */

.photo-divider {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.photo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(237, 228, 216, 0.3) 100%
  );
}

@media (max-width: 768px) {
  .photo-divider {
    height: 200px;
  }
}

/* ============================================================================
   23. FOUNDER PHOTO (.founder-photo)
   ========================================================================== */

.founder-photo {
  position: relative;
}

.founder-photo__img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ============================================================================
   24. CONTACT INFO (.contact-info)
   ========================================================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--screen-blue-pale);
  color: var(--screen-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-info__value a {
  color: var(--screen-blue);
}

/* ============================================================================
   25. FOOTER (.footer)
   ========================================================================== */

.footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  grid-column: 1;
}

.footer__brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  display: block;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  cursor: pointer;
}

.footer__social:hover {
  background-color: var(--screen-blue);
  color: var(--white);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-2xl) var(--space-xl);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   26. CTA SECTIONS (.cta, .cta--photo)
   ========================================================================== */

.cta {
  padding: var(--space-5xl) var(--space-xl);
  background-color: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.cta--photo {
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 23, 26, 0.7);
  z-index: 1;
}

.cta__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .cta {
    padding: var(--space-3xl) var(--space-xl);
  }
}

/* ============================================================================
   27. BUTTON GROUP (.btn-group)
   ========================================================================== */

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* ============================================================================
   28. NAV LOGO VARIANT (.nav__logo)
   ========================================================================== */

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--charcoal);
}

.nav__logo-icon {
  flex-shrink: 0;
}

.nav__logo-icon img {
  display: block;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.nav__logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  line-height: 1.2;
}

.nav__cta {
  margin-left: var(--space-sm);
}

@media (max-width: 768px) {
  .nav__logo-tagline {
    display: none;
  }

  .nav__cta {
    margin-left: 0;
    padding-top: var(--space-sm);
  }
}

/* ============================================================================
   29. FOOTER VARIANT CLASSES
   ========================================================================== */

.footer__brand-col {
  grid-column: 1;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  display: block;
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.footer__logo:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer__brand-col {
    grid-column: 1 / -1;
  }
}

/* ============================================================================
   30. VALUES GRID VARIANT (.values__grid)
   ========================================================================== */

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .values__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .values__grid .value {
    text-align: left;
  }

  .values__grid .value__icon {
    margin: 0 auto var(--space-md) 0;
  }
}

/* ============================================================================
   31. CASE STUDY ADDITIONS
   ========================================================================== */

.case-study__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--screen-blue);
  margin-bottom: var(--space-sm);
  display: block;
}

.case-study__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study__visual-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  z-index: 2;
}

.case-study__attribution {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   32. ANIMATIONS & TRANSITIONS
   ========================================================================== */

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.stagger > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger--visible > * {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.stagger--visible > :nth-child(6) { transition-delay: 0.5s; }

/* ============================================================================
   27. UTILITY CLASSES
   ========================================================================== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.pt-lg { padding-top: var(--space-lg); }
.pb-lg { padding-bottom: var(--space-lg); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }

.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--screen-blue);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: var(--radius-sm);
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================================================
   33. ENHANCED MOBILE RESPONSIVE STYLES
   ========================================================================== */

/* Tablet breakpoint (max-width: 960px) */
@media (max-width: 960px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile improvements (max-width: 768px) */
@media (max-width: 768px) {
  /* Larger base font for readability on mobile (older demographic) */
  body {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  /* Larger touch targets for nav links */
  .nav__link {
    padding: var(--space-md) 0;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Ensure buttons are comfortably tappable */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.4rem;
  }

  .btn--lg {
    min-height: 48px;
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
  }

  /* Fix featured tier scale on mobile */
  .tier--featured {
    transform: none;
  }

  /* Checklist items comfortable spacing */
  .checklist__item {
    padding: var(--space-xs) 0;
    min-height: 44px;
    align-items: center;
  }

  /* FAQ touch targets */
  .faq__question {
    min-height: 48px;
    padding: var(--space-lg) 0;
    font-size: 1.05rem;
  }

  /* Contact info comfortable tap targets */
  .contact-info__item {
    padding: var(--space-sm) 0;
  }

  /* Footer links comfortable for older thumbs */
  .footer__link {
    padding: var(--space-xs) 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
  }

  .footer__social {
    width: 44px;
    height: 44px;
  }

  /* CTA section mobile */
  .cta {
    padding: var(--space-3xl) var(--space-lg);
  }

  .cta .btn-group {
    flex-direction: column;
  }

  .cta .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Tighter section padding on small screens */
  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .section__inner {
    padding: 0 var(--space-sm);
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Hero adjustments */
  .hero__photo {
    min-height: 280px;
    padding: 2.5rem var(--space-md) 3rem;
  }

  .hero__content {
    padding: var(--space-lg);
  }

  .hero__wordmark {
    font-size: 1.2rem;
  }

  /* Page headers */
  .page-header {
    padding: 3.5rem var(--space-md) 2.5rem;
  }

  .page-header--photo {
    min-height: 240px;
  }

  /* Cards breathe on small screens */
  .card {
    padding: var(--space-lg);
  }

  /* Tier cards */
  .tier {
    padding: var(--space-lg);
  }

  /* Form inputs comfortable for larger fingers */
  .form__input,
  .form__select,
  .form__textarea {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Footer compact on small screens */
  .footer {
    padding: var(--space-xl) var(--space-md);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================================================
   34. PRINT STYLES
   ========================================================================== */

@media print {
  body {
    background-color: var(--white);
  }

  .nav,
  .footer {
    display: none;
  }

  a {
    color: var(--charcoal);
  }

  .btn {
    border: 1px solid var(--charcoal);
  }
}

/* ============================================================================
   END OF STYLESHEET - PlayerPiano.AI Design System
   ========================================================================== */
