/* ============================================
   START WITH VOICE — Brand Styles
   ============================================
   Design Direction: "Sketchy Warmth"

   The Excalidraw aesthetic isn't decoration – it IS
   the foundation. Editorial warmth with hand-drawn
   soul. No harsh borders. Flowing layout. Amber
   highlights feel hand-applied.

   Usage: Link this stylesheet to any WithVoice page:
   <link rel="stylesheet" href="swv-styles.css">

   Fonts required (add to <head>):
   <link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Figtree:wght@400;600&family=Fraunces:ital,wght@0,500;0,700;0,900;1,700&display=swap" rel="stylesheet">
   ============================================ */

/* === CUSTOM PROPERTIES (Design Tokens) === */
:root {
    /* Colors – Sketchy Warmth palette */
    --background: #FAFAF8;          /* Warm off-white (slightly ivory) */
    --foreground: #222222;          /* Darker near-black */
    --highlight: #E8C878;           /* Richer golden amber */
    --highlight-dark: #C9A855;      /* Darker amber for hover */
    --highlight-cta: #D4B060;       /* CTA button background */
    --muted: #F5F5F3;               /* Very subtle card backgrounds */
    --border: #E0E0DE;              /* Light grey, subtle */

    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'Figtree', sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Spacing (premium whitespace) */
    --section-padding: 7rem;
    --section-padding-lg: 8rem;
    --container-max: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    /* Subtle grid background - notepad aesthetic */
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

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

/* === TYPOGRAPHY === */
h1 {
    font-family: var(--font-display);
    font-weight: 900;  /* Commanding presence */
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
    font-family: var(--font-display);
    font-weight: 700;  /* Strong but not overpowering */
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.3;
    font-size: 1.25rem;
}

/* === SKETCHY ELEMENTS === */

/* Hand-drawn highlight effect (signature marker look) */
.highlight {
    background: linear-gradient(
        104deg,
        rgba(232, 200, 120, 0) 0.9%,
        rgba(232, 200, 120, 1.0) 2.4%,
        rgba(232, 200, 120, 0.75) 5.8%,
        rgba(232, 200, 120, 0.45) 93%,
        rgba(232, 200, 120, 0.9) 96%,
        rgba(232, 200, 120, 0) 98%
    ),
    linear-gradient(
        183deg,
        rgba(232, 200, 120, 0) 0%,
        rgba(232, 200, 120, 0.55) 7.9%,
        rgba(232, 200, 120, 0) 15%
    );
    padding: 0.1em 0.2em;
    margin: -0.1em -0.1em;
    border-radius: 0.8em 0.3em;
}

/* Sketchy underline */
.underline-sketch {
    position: relative;
    display: inline;
}

.underline-sketch::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12'%3E%3Cpath d='M2 8 Q25 4, 50 8 T98 6' stroke='%23D4BC7A' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
    background-size: 100px 12px;
}

/* Handwritten annotations (commit, not whisper) */
.annotation {
    font-family: var(--font-accent);
    font-size: 1.625rem;
    color: var(--foreground);
    opacity: 0.95;
}

/* Section labels (confident presence) */
.section-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

/* === COMPONENTS === */

/* Soft pills – no harsh border */
.pill {
    display: inline-block;
    background: var(--highlight);
    color: var(--foreground);
    border-radius: 2em;
    padding: 0.35rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Buttons – softer, warmer */
.button {
    display: inline-block;
    padding: 1.125rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.button-primary {
    background: var(--foreground);
    color: var(--background);
    box-shadow: 0 2px 8px rgba(42, 42, 42, 0.15);
}

.button-primary:hover {
    background: #3d3d3d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 42, 42, 0.2);
}

.button-secondary {
    background: var(--highlight);
    color: var(--foreground);
}

.button-secondary:hover {
    background: var(--highlight-dark);
}

.button-outline {
    background: transparent;
    color: var(--foreground);
    border: 1.5px solid var(--border);
}

.button-outline:hover {
    border-color: var(--foreground);
    background: var(--muted);
}

/* Commanding CTA button - amber background, larger presence */
.button-cta {
    background: var(--highlight-cta);
    color: var(--foreground);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(42, 42, 42, 0.15);
}

.button-cta:hover {
    background: var(--highlight-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 42, 42, 0.2);
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-annotation {
    font-family: var(--font-accent);
    font-size: 1.375rem;
    opacity: 0.9;
    margin-top: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    transition: opacity 0.15s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-cta {
    background: var(--foreground);
    color: var(--background) !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
}

.nav-cta:hover {
    opacity: 0.85 !important;
}

/* === HERO SECTION === */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.5rem;
}

/* Hero illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration img {
    width: 100%;
    max-width: 550px;
}

/* === LOGO WALL === */
.logo-wall {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.logo-wall-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-wall-label {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    text-align: center;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.logo-wall-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 2.5rem;
}

.logo-wall-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.65;
    transition: opacity 0.2s ease;
    filter: grayscale(100%);
}

.logo-wall-item:hover {
    opacity: 0.85;
}

.logo-wall-item svg {
    height: 28px;
    width: auto;
}

.logo-wall-item span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

/* === FLOWING SECTIONS (no borders) === */
.section {
    padding: var(--section-padding) 0;
}

/* Premium section variant for key sections */
.section-premium {
    padding: var(--section-padding-lg) 0;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    max-width: 580px;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    opacity: 0.75;
    line-height: 1.7;
}

/* === HOW IT WORKS – Method Steps === */
.method-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.method-step {
    padding: 2rem 2rem 2rem 2.5rem;
    background: var(--background);
    border-radius: 1rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--highlight);
    box-shadow: 0 2px 12px rgba(42, 42, 42, 0.06);
}

.method-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(42, 42, 42, 0.1);
    border-left-color: var(--highlight-dark);
}

.step-number {
    font-family: var(--font-accent);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--highlight-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.step-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-description {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.75;
}

/* === CURRICULUM – Soft cards === */
.curriculum {
    background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.curriculum-card {
    background: var(--background);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    box-shadow: 0 2px 12px rgba(42, 42, 42, 0.04);
    transition: box-shadow 0.2s ease;
}

.curriculum-card:hover {
    box-shadow: 0 4px 20px rgba(42, 42, 42, 0.08);
}

.card-pill {
    align-self: flex-start;
}

.card-title {
    font-size: 1.125rem;
}

.card-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    opacity: 0.75;
}

/* === QUOTE WALL === */
.quote-wall {
    padding: var(--section-padding) 0;
}

.quote-wall-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-wall-subtitle {
    font-family: var(--font-accent);
    font-size: 1.375rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quote-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.quote-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.quote-card {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Varied border-radius for sketchy feel */
.quote-card:nth-child(3n+1) { border-radius: 0.75rem 0.5rem 0.75rem 0.5rem; }
.quote-card:nth-child(3n+2) { border-radius: 0.5rem 0.75rem 0.5rem 0.75rem; }
.quote-card:nth-child(3n+3) { border-radius: 0.625rem 0.75rem 0.625rem 0.625rem; }

.quote-card:hover {
    border-color: var(--highlight);
    border-left: 2px solid var(--highlight-dark);
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.06);
}

.quote-text {
    font-size: 1.0625rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
}

.quote-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.quote-author-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.quote-author-role {
    font-size: 0.75rem;
    opacity: 0.65;
}

/* Hero testimonial - prominent, breathing room */
.hero-testimonial {
    background: rgba(232, 200, 120, 0.08);
    border: 1px solid var(--highlight);
    border-radius: 1rem;
    padding: 2.5rem 3rem;
    margin-bottom: 2.5rem;
    position: relative;
}

/* Leader quote cards - subtle amber warmth */
.leader-quote-card {
    background: rgba(232, 200, 120, 0.06);
    border: 1px solid rgba(232, 200, 120, 0.4);
    border-left: 3px solid var(--highlight);
}

.hero-testimonial::before {
    content: '"';
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--highlight);
    line-height: 1;
    opacity: 0.6;
}

.hero-testimonial .quote-text {
    font-size: 1.75rem;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.hero-testimonial .quote-author {
    padding-left: 2rem;
}

.hero-testimonial .quote-avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

.hero-testimonial .quote-author-name {
    font-size: 1rem;
}

.hero-testimonial .quote-author-role {
    font-size: 0.875rem;
}

/* === QUOTE WALL MASONRY === */
.quote-wall-masonry-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 2rem;
    position: relative;
}

.quote-wall-masonry {
    columns: 4;
    column-gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quote-wall-masonry-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, var(--background));
    pointer-events: none;
}

.masonry-quote {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.masonry-quote:hover {
    border-color: var(--highlight);
    transform: translateY(-2px);
}

/* Varied backgrounds for visual interest */
.masonry-quote:nth-child(5n+1) { background: rgba(232, 200, 120, 0.04); }
.masonry-quote:nth-child(5n+3) { background: rgba(232, 200, 120, 0.06); border-left: 2px solid var(--highlight); }

.masonry-quote-text {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.masonry-quote-text.quote-large {
    font-size: 1.125rem;
    font-weight: 500;
}

.masonry-quote-attr {
    font-size: 0.8125rem;
    opacity: 0.6;
    font-style: italic;
}

/* Stats – softer presentation */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--muted);
    border-radius: 1rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--foreground);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.65;
    line-height: 1.4;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.pricing-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--highlight);
}

.pricing-card-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pricing-card-audience {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.pricing-card-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.pricing-card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-card-features li::before {
    content: '✓';
    color: var(--highlight-dark);
    font-weight: 600;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 1.375rem;
    opacity: 0.7;
}

.pricing-note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pricing-note a:hover {
    opacity: 0.7;
}

/* === FOUNDER SECTION === */
.founder-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.founder-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    align-items: center;
}

.founder-image {
    display: flex;
    justify-content: center;
}

.founder-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(42, 42, 42, 0.12);
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founder-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.founder-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.85;
    max-width: 520px;
}

.founder-content .annotation {
    margin-top: 0.5rem;
}

.founder-content .annotation a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.founder-content .annotation a:hover {
    opacity: 0.7;
}

/* === CTA SECTION – Warm, inviting === */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--highlight);
    position: relative;
    overflow: hidden;
}

/* Sketchy decoration - dashed circle */
.cta-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' stroke='%23E8D4A8' stroke-width='2' fill='none' stroke-dasharray='8 12'/%3E%3C/svg%3E") no-repeat;
    opacity: 0.5;
}

/* Sketchy decoration - rotated rectangle */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 5%;
    width: 150px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 150'%3E%3Crect x='25' y='25' width='100' height='100' rx='8' stroke='%23E8D4A8' stroke-width='2' fill='none' transform='rotate(12 75 75)'/%3E%3C/svg%3E") no-repeat;
    opacity: 0.4;
}

.cta-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-annotation {
    display: block;
    margin-bottom: 1rem;
}

.cta-title {
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.65;
}

/* === FOOTER === */
.footer {
    padding: 3rem 0;
    background: var(--foreground);
    color: var(--background);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1.125rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta-group {
        align-items: center;
    }

    .hero-illustration {
        order: -1;
    }

    .method-steps {
        grid-template-columns: 1fr;
    }

    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .quote-grid,
    .quote-grid-3,
    .quote-grid-4 {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .quote-wall-masonry {
        columns: 2;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .quote-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === HAMBURGER MENU === */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    margin: 5px 0;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
        --section-padding-lg: 5rem;
    }

    body {
        font-size: 16px;
    }

    .nav-hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.0625rem;
        padding: 0.5rem 0;
    }

    .nav-cta {
        align-self: flex-start;
    }

    .hero {
        padding-top: 5rem;
        min-height: auto;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-quote {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .button {
        text-align: center;
    }

    /* Hero testimonial responsive */
    .hero-testimonial {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

    .hero-testimonial .quote-text {
        font-size: 1.25rem;
        padding-left: 1rem;
    }

    .hero-testimonial .quote-author {
        padding-left: 1rem;
    }

    .hero-testimonial::before {
        font-size: 3rem;
        left: 0.75rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

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

    .founder-image {
        order: -1;
    }

    .founder-content {
        align-items: center;
    }

    .founder-content p {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .quote-wall-masonry {
        columns: 1;
    }

    .quote-wall-masonry-container {
        padding: 0 1rem;
    }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .hero-illustration,
    .method-step,
    .curriculum-card,
    .testimonial-card,
    .stat,
    .founder-container {
        opacity: 0;
        transform: translateY(24px);
        animation: fadeInUp 0.7s ease forwards;
    }

    .founder-container { animation-delay: 0.1s; }

    .hero-content { animation-delay: 0.1s; }
    .hero-illustration { animation-delay: 0.25s; }

    .method-step:nth-child(1) { animation-delay: 0.1s; }
    .method-step:nth-child(2) { animation-delay: 0.18s; }
    .method-step:nth-child(3) { animation-delay: 0.26s; }
    .method-step:nth-child(4) { animation-delay: 0.34s; }

    .curriculum-card:nth-child(1) { animation-delay: 0.1s; }
    .curriculum-card:nth-child(2) { animation-delay: 0.18s; }
    .curriculum-card:nth-child(3) { animation-delay: 0.26s; }
    .curriculum-card:nth-child(4) { animation-delay: 0.34s; }

    .stat:nth-child(1) { animation-delay: 0.1s; }
    .stat:nth-child(2) { animation-delay: 0.18s; }
    .stat:nth-child(3) { animation-delay: 0.2s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
