/*
Theme Name: Rhythm & Grace Dance Academy
Theme URI: https://rhythmandgracedance.com
Author: Lumière Agency
Author URI: https://lumiere.agency
Description: Premium dance studio WordPress theme — Framer-inspired dark aesthetic with ballet, contemporary, hip-hop, jazz, salsa and ballroom classes for all ages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhythm-grace
Tags: dance studio, ballet, contemporary, hip-hop, jazz, salsa, ballroom, bethesda

/* ========================================
   CSS Design Tokens (Framer-inspired)
   ======================================== */
:root {
  /* Primary Colors */
  --void-black: #000000;
  --pure-white: #ffffff;
  --framer-blue: #0099ff;

  /* Secondary & Accent */
  --muted-silver: #a6a6a6;
  --near-black: #090909;

  /* Surfaces */
  --frosted-white: rgba(255, 255, 255, 0.1);
  --subtle-white: rgba(255, 255, 255, 0.5);
  --ghost-white: rgba(255, 255, 255, 0.6);

  /* Semantic */
  --blue-glow: rgba(0, 153, 255, 0.15);
  --default-link-blue: #0000ee;

  /* Typography */
  --font-display: 'GT Walsheim', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* Spacing (8px base) */
  --space-1: 1px;
  --space-2: 2px;
  --space-3: 3px;
  --space-4: 4px;
  --space-5: 5px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-15: 15px;
  --space-20: 20px;
  --space-30: 30px;
  --space-35: 35px;
  --space-40: 40px;
  --space-50: 50px;
  --space-60: 60px;
  --space-80: 80px;
  --space-100: 100px;
  --space-120: 120px;

  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 15px;
  --radius-2xl: 20px;
  --radius-pill: 40px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-card: rgba(0, 153, 255, 0.15) 0px 0px 0px 1px;
  --shadow-elevated: rgba(255, 255, 255, 0.1) 0px 0.5px 0px 0.5px, rgba(0, 0, 0, 0.25) 0px 10px 30px;
  --shadow-blue-glow: 0 0 40px rgba(0, 153, 255, 0.2);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--void-black);
  color: var(--pure-white);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -3px;
}

h1 { font-size: clamp(40px, 8vw, 110px); letter-spacing: -5.5px; }
h2 { font-size: clamp(32px, 5vw, 85px); letter-spacing: -4.25px; }
h3 { font-size: clamp(28px, 4vw, 62px); letter-spacing: -3.1px; }
h4 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -1px; }
h5 { font-size: 22px; font-weight: 700; letter-spacing: -0.8px; }
h6 { font-size: 18px; font-weight: 600; letter-spacing: -0.5px; }

p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-silver);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--framer-blue);
  margin-bottom: var(--space-20);
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-30);
}

.container--wide {
  max-width: 1400px;
}

section {
  padding: var(--space-120) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-60) 0;
  }
}

/* ========================================
   Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--pure-white);
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.site-logo span {
  color: var(--framer-blue);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-40);
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ghost-white);
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--pure-white);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--framer-blue);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--frosted-white);
  color: var(--pure-white) !important;
  padding: var(--space-10) var(--space-20);
  border-radius: var(--radius-pill);
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-blue-glow);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-10);
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  transition: all 0.3s ease;
  display: block;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--void-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-40);
    text-align: center;
  }

  .main-nav a {
    font-size: 28px;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-15) var(--space-35);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--pure-white);
  color: var(--void-black);
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

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

.btn--ghost:hover {
  background: var(--frosted-white);
  border-color: var(--framer-blue);
}

.btn--blue {
  background: var(--framer-blue);
  color: var(--pure-white);
}

.btn--blue:hover {
  background: #0088ee;
  box-shadow: var(--shadow-blue-glow);
}

.btn--large {
  padding: var(--space-20) var(--space-50);
  font-size: 16px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 153, 255, 0.08) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--framer-blue);
  margin-bottom: var(--space-30);
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.hero__label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--framer-blue);
}

.hero h1 {
  margin-bottom: var(--space-30);
  line-height: 0.9;
}

.hero h1 em {
  font-style: normal;
  color: var(--framer-blue);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--muted-silver);
  margin-bottom: var(--space-50);
  max-width: 500px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: var(--space-20);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-60);
  margin-top: var(--space-100);
  padding-top: var(--space-50);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -2px;
  color: var(--pure-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--muted-silver);
  margin-top: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  margin-bottom: var(--space-80);
}

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

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center h2 {
  max-width: 700px;
  margin: 0 auto;
}

.section-header p {
  margin-top: var(--space-20);
  max-width: 500px;
  font-size: 16px;
}

.section-header--center p {
  margin: var(--space-20) auto 0;
}

/* ========================================
   Class Cards
   ======================================== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-30);
}

.class-card {
  background: var(--near-black);
  border: 1px solid rgba(0, 153, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-40);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.class-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 153, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.class-card:hover {
  border-color: rgba(0, 153, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated), var(--shadow-blue-glow);
}

.class-card:hover::before {
  opacity: 1;
}

.class-card__icon {
  width: 56px;
  height: 56px;
  background: var(--frosted-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-30);
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.class-card h3 {
  font-size: 24px;
  letter-spacing: -1px;
  margin-bottom: var(--space-15);
  position: relative;
  z-index: 1;
}

.class-card__meta {
  display: flex;
  gap: var(--space-20);
  margin-bottom: var(--space-20);
  position: relative;
  z-index: 1;
}

.class-card__meta span {
  font-size: 12px;
  color: var(--muted-silver);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.class-card p {
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.class-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-25);
  font-size: 13px;
  font-weight: 600;
  color: var(--framer-blue);
  position: relative;
  z-index: 1;
  transition: gap 0.2s ease;
}

.class-card__link:hover {
  gap: var(--space-12);
}

/* ========================================
   Instructors
   ======================================== */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-30);
}

.instructor-card {
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s ease;
}

.instructor-card:hover {
  border-color: rgba(0, 153, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.instructor-card__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.instructor-card__body {
  padding: var(--space-30);
}

.instructor-card h3 {
  font-size: 22px;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-5);
}

.instructor-card__role {
  font-size: 12px;
  color: var(--framer-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: var(--space-15);
}

.instructor-card p {
  font-size: 13px;
  line-height: 1.6;
}

.instructor-card__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-20);
}

.specialty-tag {
  font-size: 11px;
  padding: var(--space-4) var(--space-12);
  background: rgba(0, 153, 255, 0.1);
  color: var(--framer-blue);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ========================================
   Schedule Table
   ======================================== */
.schedule-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 153, 255, 0.12);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.schedule-table th,
.schedule-table td {
  padding: var(--space-20) var(--space-25);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--framer-blue);
  background: var(--near-black);
}

.schedule-table td {
  font-size: 14px;
  color: var(--ghost-white);
  background: var(--void-black);
}

.schedule-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.schedule-table .class-name {
  font-weight: 600;
  color: var(--pure-white);
}

.schedule-table .instructor {
  color: var(--muted-silver);
  font-size: 13px;
}

.schedule-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-badge--beginner {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
}

.schedule-badge--intermediate {
  background: rgba(0, 153, 255, 0.1);
  color: var(--framer-blue);
}

.schedule-badge--advanced {
  background: rgba(255, 102, 0, 0.1);
  color: #ff6600;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-30);
}

.testimonial-card {
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-40);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(0, 153, 255, 0.15);
  box-shadow: var(--shadow-elevated);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-25);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #ffc107;
}

.testimonial-card__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ghost-white);
  margin-bottom: var(--space-30);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-15);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--framer-blue), #6c5ce7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--pure-white);
}

.testimonial-card__detail {
  font-size: 12px;
  color: var(--muted-silver);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #050505 0%, #0a0a1a 100%);
  border-top: 1px solid rgba(0, 153, 255, 0.1);
  border-bottom: 1px solid rgba(0, 153, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-20);
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto var(--space-40);
  font-size: 16px;
}

.cta-section .btn {
  margin-top: var(--space-10);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-60);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.contact-info__item {
  display: flex;
  gap: var(--space-20);
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 153, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--framer-blue);
  font-size: 20px;
}

.contact-info__item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: var(--space-5);
  letter-spacing: 0;
}

.contact-info__item p {
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-silver);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-15) var(--space-20);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--pure-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--framer-blue);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-10);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--void-black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-80) 0 var(--space-40);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-60);
  margin-bottom: var(--space-60);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 14px;
  margin-top: var(--space-20);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pure-white);
  margin-bottom: var(--space-25);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-col a {
  font-size: 14px;
  color: var(--muted-silver);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--pure-white);
}

.footer-bottom {
  padding-top: var(--space-40);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-20);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: var(--space-15);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--frosted-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--framer-blue);
  transform: translateY(-2px);
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
  padding: var(--space-120) 0 var(--space-80);
  padding-top: calc(72px + var(--space-120));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 153, 255, 0.06) 0%, transparent 60%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: -4px;
  margin-bottom: var(--space-20);
}

.page-header p {
  font-size: 18px;
  max-width: 550px;
}

/* ========================================
   About Page Specific
   ======================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-80);
  align-items: center;
}

@media (max-width: 900px) {
  .about-story {
    grid-template-columns: 1fr;
  }
}

.about-story__image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border: 1px solid rgba(0, 153, 255, 0.1);
}

.about-story h2 {
  margin-bottom: var(--space-30);
}

.about-story p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-20);
}

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

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--near-black);
  border: 1px solid rgba(0, 153, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-40);
  text-align: center;
}

.value-card__icon {
  font-size: 40px;
  margin-bottom: var(--space-25);
}

.value-card h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-15);
}

.value-card p {
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

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

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

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-blue { color: var(--framer-blue); }
.text-white { color: var(--pure-white); }
.text-muted { color: var(--muted-silver); }

.mt-20 { margin-top: var(--space-20); }
.mt-40 { margin-top: var(--space-40); }
.mt-60 { margin-top: var(--space-60); }
.mb-20 { margin-bottom: var(--space-20); }
.mb-40 { margin-bottom: var(--space-40); }

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

/* ========================================
   WordPress Specific
   ======================================== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-silver);
  text-align: center;
  margin-top: 0.5rem;
}

/* Gutenberg-ready */
.has-background {
  padding: 2rem;
}

.has-framer-blue-background {
  background-color: var(--framer-blue);
}

.has-void-black-background {
  background-color: var(--void-black);
}
