/* ============================================
   ClearSoup — Personal Branding by Nikita
   Bold. Modern. Warm. Premium.
   
   Design inspired by the ClearSoup logo:
   Bold black geometric sans-serif with a playful
   ladle mark — confident, clean, approachable.
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Core palette — derived from logo's bold black identity */
    --color-black: #0D0D0D;
    --color-charcoal: #1A1A1A;
    --color-dark: #2B2B2B;
    --color-graphite: #3D3D3D;

    /* Warm accents — adds approachability to the bold identity */
    --color-amber: #E8913A;
    --color-amber-light: #F2A854;
    --color-amber-glow: rgba(232, 145, 58, 0.12);
    --color-terracotta: #C96B3C;
    --color-cream: #FDF5EC;

    /* Neutrals */
    --color-bg: #FAFAFA;
    --color-bg-warm: #F5F0EB;
    --color-bg-off: #F0ECE6;
    --color-surface: #FFFFFF;
    --color-surface-hover: #FEFEFE;

    --color-text: #0D0D0D;
    --color-text-secondary: #555555;
    --color-text-muted: #999999;
    --color-text-light: #F5F0EB;
    --color-text-on-dark: #E0DBD4;

    --color-border: rgba(13, 13, 13, 0.08);
    --color-border-strong: rgba(13, 13, 13, 0.15);
    --color-border-dark: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 900px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Typography ---------- */
.section-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.section-headline em {
    font-style: normal;
    color: var(--color-amber);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-amber);
    margin-bottom: var(--space-md);
    padding: 0.4rem 1rem 0.4rem 0;
}

.section-tag::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--color-amber);
    border-radius: 1px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-black);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 13, 13, 0.2);
}

.btn-primary:hover {
    background: var(--color-charcoal);
    box-shadow: 0 8px 32px rgba(13, 13, 13, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border-strong);
}

.btn-outline:hover {
    border-color: var(--color-black);
    background: var(--color-black);
    color: white;
    transform: translateY(-2px);
}

.btn-amber {
    background: var(--color-amber);
    color: white;
    box-shadow: 0 4px 20px rgba(232, 145, 58, 0.3);
}

.btn-amber:hover {
    background: var(--color-terracotta);
    box-shadow: 0 8px 32px rgba(232, 145, 58, 0.35);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

/* Logo wordmark — matches the ClearSoup bold identity */
.logo-mark {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-black);
    letter-spacing: -0.045em;
    line-height: 1;
}

.logo-mark--light {
    color: white;
}

/* Fallback text logo */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-black);
    letter-spacing: -0.04em;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-amber);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-black);
    color: white !important;
    padding: 0.55rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.825rem;
}

.nav-cta:hover {
    background: var(--color-amber) !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-black);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.mobile-nav-links a:hover {
    color: var(--color-amber);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 7rem var(--space-lg) var(--space-xl);
    overflow: hidden;
    background: var(--color-bg);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 80% 30%, var(--color-amber-glow), transparent),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(232, 145, 58, 0.04), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-pretext {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-amber);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-pretext::before {
    content: '';
    width: 2.5rem;
    height: 2px;
    background: var(--color-amber);
    border-radius: 1px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.hero-headline em {
    font-style: normal;
    color: var(--color-amber);
    position: relative;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-amber);
    opacity: 0.25;
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
}

.hero-image-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle,
        rgba(232, 145, 58, 0.1) 0%,
        rgba(232, 145, 58, 0.04) 40%,
        transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow:
        0 30px 60px rgba(13, 13, 13, 0.1),
        0 0 0 1px rgba(13, 13, 13, 0.04);
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-black));
    border-radius: 1px;
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    font-weight: 600;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Animations ---------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

/* IntersectionObserver driven */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ---------- About ---------- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.6fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-content .section-headline {
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    max-width: 620px;
}

/* ---------- Story Banner ---------- */
.story-banner {
    position: relative;
    background: var(--color-black);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.story-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(232, 145, 58, 0.15), transparent),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(232, 145, 58, 0.08), transparent);
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.story-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.04em;
}

.story-sub {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-amber-light);
    letter-spacing: 0.01em;
}

/* ---------- Authority ---------- */
.authority {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.authority-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    margin-top: var(--space-sm);
    letter-spacing: -0.03em;
}

.authority-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.authority-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.authority-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.authority-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
}

.list-icon {
    color: var(--color-amber);
    flex-shrink: 0;
}

/* ---------- D4 Framework ---------- */
.framework {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
}

.framework-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.framework-steps {
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.framework-step {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.framework-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 13, 13, 0.06);
    border-color: var(--color-amber);
}

.framework-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    margin: 0 auto var(--space-md);
}

.framework-step:hover .step-number {
    background: var(--color-amber);
    transform: scale(1.1);
    transition: all var(--transition-base);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.step-line { display: none; }

/* ---------- Services ---------- */
.services {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-warm);
}

.services-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-surface);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(13, 13, 13, 0.06);
}

/* Featured variant — amber left accent */
.service-card--featured {
    border-left: 4px solid var(--color-amber);
}

.service-card--featured:hover {
    border-color: var(--color-amber);
    border-left-width: 4px;
}

/* Dark variant — for newsletters */
.service-card--dark {
    background: var(--color-black);
    border-color: transparent;
}

.service-card--dark .service-icon {
    color: var(--color-amber);
    background: rgba(232, 145, 58, 0.12);
}

.service-card--dark .service-title {
    color: white;
}

.service-card--dark .service-desc {
    color: var(--color-text-on-dark);
}

.service-card--dark .service-list li {
    color: rgba(224, 219, 212, 0.75);
}

.service-card--dark .service-list li::before {
    background: var(--color-amber);
}

.service-card--dark:hover {
    box-shadow: 0 20px 50px rgba(13, 13, 13, 0.25);
}

/* Icon */
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-amber-glow);
    color: var(--color-amber);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

/* Title */
.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

/* Desc */
.service-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* Sub-groups */
.service-sub-group {
    margin-bottom: var(--space-md);
}

.service-sub-group:last-child {
    margin-bottom: 0;
}

.service-sub-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-amber);
    margin-bottom: var(--space-xs);
}

/* List */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--color-amber);
    border-radius: 50%;
}

/* Framework callout */
.framework-callout {
    margin-top: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-black);
    color: white;
    border-radius: var(--radius-lg);
    text-align: center;
}

.framework-callout p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.framework-callout strong {
    color: var(--color-amber);
    font-weight: 800;
}

/* ---------- Philosophy / Pillars ---------- */
.philosophy {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.philosophy-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Equation */
.pillars-equation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--space-3xl);
    padding: var(--space-lg) var(--space-md);
    background: var(--color-surface);
    border: 2px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
}

.eq-item {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-black);
    padding: 0.5rem 1.2rem;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    letter-spacing: -0.01em;
}

.eq-plus, .eq-equals {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.eq-result {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    background: var(--color-amber);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-full);
}

/* Pillar Cards */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.pillar-card {
    background: var(--color-surface);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(13, 13, 13, 0.06);
    border-color: rgba(232, 145, 58, 0.3);
}

.pillar-icon {
    color: var(--color-amber);
    margin-bottom: var(--space-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-amber-glow);
    border-radius: var(--radius-md);
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.pillar-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.testimonial-card {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 13, 13, 0.06);
}

.testimonial-card.featured {
    background: var(--color-black);
    border-color: transparent;
}

.testimonial-card.featured .testimonial-quote { color: var(--color-amber); }
.testimonial-card.featured .testimonial-text { color: var(--color-text-on-dark); }
.testimonial-card.featured .author-name { color: white; }
.testimonial-card.featured .author-title { color: rgba(224, 219, 212, 0.6); }

.testimonial-card.featured:hover {
    box-shadow: 0 20px 50px rgba(13, 13, 13, 0.25);
}

.testimonial-quote {
    color: var(--color-amber);
    margin-bottom: var(--space-md);
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text);
    flex-grow: 1;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.testimonial-card.featured .testimonial-author {
    border-top-color: var(--color-border-dark);
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.author-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    margin-top: var(--space-sm);
    letter-spacing: -0.03em;
}

.contact-headline em {
    font-style: normal;
    color: var(--color-amber);
}

.contact-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.contact-link svg { color: var(--color-amber); flex-shrink: 0; }

.contact-link:hover {
    color: var(--color-text);
}

/* Form */
.contact-form {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(13, 13, 13, 0.04);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.06);
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--color-black);
    padding: var(--space-xl) 0 var(--space-lg);
}

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

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    color: white;
    font-size: 1.6rem;
}

.footer-brand .nav-logo img {
    height: 28px;
    filter: brightness(0) invert(1);
    margin: 0 auto;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: rgba(224, 219, 212, 0.5);
    margin-top: var(--space-xs);
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(224, 219, 212, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-amber);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-dark);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(224, 219, 212, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-pretext { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

    .hero-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .authority-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .framework-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .framework-step:nth-child(2)::after {
        display: none;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero {
        min-height: auto;
        padding: 6rem var(--space-sm) var(--space-lg);
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-image-wrapper {
        max-width: 240px;
    }

    .hero-scroll-indicator { display: none; }

    /* D4 framework — single column on mobile */
    .framework-steps {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: var(--space-md);
    }

    .framework-step::after { display: none !important; }

    .framework-step {
        padding: var(--space-lg) var(--space-md);
    }

    /* Pillars */
    .pillars-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pillars-equation {
        gap: 0.5rem;
        padding: var(--space-md);
    }

    .eq-item {
        font-size: 0.85rem;
        padding: 0.35rem 0.8rem;
    }

    .footer-links {
        gap: var(--space-md);
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Reduce section spacing on mobile */
    .about,
    .authority,
    .framework,
    .services,
    .philosophy,
    .testimonials,
    .contact {
        padding: var(--space-2xl) 0;
    }

    .story-banner {
        padding: var(--space-2xl) 0;
    }

    .story-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-headline {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .framework-header,
    .services-header,
    .philosophy-header,
    .testimonials-header {
        margin-bottom: var(--space-xl);
    }

    /* Service cards — tighter padding */
    .service-card {
        padding: var(--space-lg) var(--space-md);
    }

    .service-title {
        font-size: 1.2rem;
    }

    /* Authority */
    .authority-headline {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Contact */
    .contact-headline {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .contact-form {
        padding: var(--space-lg) var(--space-md);
    }

    /* Footer */
    .footer {
        padding: var(--space-lg) 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }

    .hero-headline {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .hero-image-wrapper {
        max-width: 200px;
    }

    .pillars-equation {
        flex-direction: column;
        gap: 0.4rem;
    }

    .eq-plus, .eq-equals {
        font-size: 1rem;
    }

    .eq-result {
        font-size: 0.95rem;
    }

    .pillar-card {
        padding: var(--space-lg) var(--space-md);
    }

    .story-headline {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .story-sub {
        font-size: 1rem;
    }

    .about-text {
        font-size: 1rem;
    }
}
