/* =============================================
   Story Brews — Modern PR Agency Website
   ============================================= */

:root {
    --color-bg: #FBFAF8;
    --color-surface: #F3F1EC;
    --color-surface-2: #E9E6DF;
    --color-border: rgba(26, 22, 18, 0.10);
    --color-border-hover: rgba(26, 22, 18, 0.22);
    --color-text: #1A1A1C;
    --color-text-muted: #56565E;
    --color-text-subtle: #67676F;
    /* Brand orange is a fill colour: at 3.0:1 on this ground it is too light
       for body-sized text, so type uses the deeper variant. */
    --color-accent: #DF742D;
    --color-accent-text: #A8500F;
    --color-accent-light: #C25F17;
    --color-accent-glow: rgba(223, 116, 45, 0.10);
    --color-on-accent: #12100E;
    --color-nav-bg: rgba(251, 250, 248, 0.85);
    --color-overlay: rgba(251, 250, 248, 0.97);
    --color-grid-line: rgba(26, 22, 18, 0.04);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 104px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

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

/* =============================================
   Cursor Glow (desktop only)
   ============================================= */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .cursor-glow { display: none; }
}

/* =============================================
   Container
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* =============================================
   Navigation
   ============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background: var(--color-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .nav-inner { padding: 0 40px; }
}

.nav-logo {
    display: block;
    flex-shrink: 0;
}

/* The lockup is stacked, so it needs a taller bar than a one-line wordmark. */
.nav-logo .logo-mark {
    display: block;
    width: 118px;
    height: 81px;
    background-image: url('assets/storybrews-logo.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.footer-brand .nav-logo .logo-mark {
    width: 150px;
    height: 103px;
    margin: 0 auto;
    background-position: center;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    color: var(--color-on-accent);
    background: var(--color-accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    color: var(--color-on-accent);
    background: var(--color-accent-light);
    transform: translateY(-1px);
}

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile menu overlay */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-overlay);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.5rem;
        color: var(--color-text);
    }

    .nav-link-cta {
        font-size: 1rem;
        margin-top: 16px;
    }
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-on-accent);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(223, 116, 45, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    color: var(--color-text);
    border-color: var(--color-border-hover);
    background: var(--color-surface);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent-text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(223, 116, 45, 0.2);
    border-radius: 100px;
    background: rgba(223, 116, 45, 0.05);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--color-text);
}

.hero-title-accent {
    color: var(--color-accent-text);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-subtle);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* =============================================
   Sections — Common
   ============================================= */
.section {
    padding: 120px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-title em {
    color: var(--color-accent-text);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-intro {
    max-width: 52ch;
    margin: 4px auto 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* =============================================
   About Section
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-text {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-accent-text);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-accent-text);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* =============================================
   Vision & Mission
   ============================================= */
.purpose {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 64px;
}

@media (min-width: 760px) {
    .purpose { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.purpose-card {
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
}

.purpose-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-accent-text);
    margin-bottom: 12px;
}

.purpose-card p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

/* =============================================
   Founder
   ============================================= */
.founder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid var(--color-border);
}

@media (min-width: 820px) {
    .founder {
        grid-template-columns: 300px 1fr;
        column-gap: 56px;
        row-gap: 0;
        align-items: stretch;
    }

    .founder-photo {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: auto;
        height: 100%;
    }

    .founder-body { grid-column: 2; grid-row: 1; }
    .founder-awards { grid-column: 2; grid-row: 2; }
}

.founder-photo {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    aspect-ratio: 4 / 5;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    /* Source is landscape; hold the crop on her face. */
    object-fit: cover;
    object-position: 52% 20%;
}

.founder-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-text);
    padding: 6px 14px;
    border: 1px solid rgba(223, 116, 45, 0.28);
    border-radius: 100px;
    margin-bottom: 16px;
}

.founder-name {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.founder-bio {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.founder-awards {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 26px;
    border-top: 1px solid var(--color-border);
}

.founder-awards li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-accent-text);
}

.founder-awards svg {
    flex-shrink: 0;
}

/* =============================================
   Services Section
   ============================================= */
.services {
    background: var(--color-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

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

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

.service-card {
    padding: 36px 32px;
    background: var(--color-bg);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: var(--color-surface-2);
}

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

.service-card:hover .service-icon {
    color: var(--color-accent-text);
    transform: scale(1.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--color-text-subtle);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* =============================================
   Clients Section
   ============================================= */
.clients {
    background: var(--color-surface);
}

.client-marquee {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
}

.client-marquee:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 6px;
}

.marquee-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-left 70s linear infinite;
}

.marquee-row--reverse .marquee-track {
    animation-name: marquee-right;
}

/* Keeps moving under the mouse; keyboard users tabbing in can still stop it. */
.client-marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.marquee-group {
    list-style: none;
    display: flex;
}

.marquee-client {
    width: 236px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 23px;
}

.marquee-logo {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-name {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--color-text-subtle);
}

@media (max-width: 600px) {
    .marquee-client { width: 176px; padding: 18px 14px; }
    .marquee-logo { height: 60px; }
}

/* No motion requested: rows become swipeable instead of moving on their own. */
@media (prefers-reduced-motion: reduce) {
    .marquee-row {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .marquee-track { animation: none; }
    .marquee-group[aria-hidden="true"] { display: none; }
}

/* =============================================
   Testimonials Carousel
   ============================================= */
.carousel {
    position: relative;
}

.carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -4px;
    padding: 4px;
    border-radius: 20px;
}

.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-viewport:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-viewport { scroll-behavior: auto; }
}

.carousel-track {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: border-color 0.35s var(--ease-smooth);
}

@media (min-width: 760px) {
    .testimonial-card { flex-basis: calc(50% - 12px); }
}

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

.quote-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
    opacity: 0.35;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 28px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-glow);
    border: 1px solid rgba(223, 116, 45, 0.25);
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-text);
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth),
                background 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

.carousel-btn svg { width: 18px; height: 18px; }

.carousel-btn:hover:not(:disabled) {
    color: var(--color-text);
    border-color: var(--color-border-hover);
    background: var(--color-surface-2);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border-hover);
    cursor: pointer;
    transition: background 0.3s var(--ease-smooth), width 0.3s var(--ease-out);
}

.carousel-dot[aria-selected="true"] {
    width: 22px;
    border-radius: 100px;
    background: var(--color-accent);
}

.carousel-dot:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* =============================================
   Contact Section
   ============================================= */
.contact {
    background: var(--color-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item svg {
    color: var(--color-accent-text);
    flex-shrink: 0;
}

.contact-item:hover {
    color: var(--color-text);
    border-color: var(--color-border-hover);
    background: var(--color-surface-2);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent-text);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* =============================================
   Footer
   ============================================= */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-subtle);
}

/* =============================================
   Animations
   ============================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Selection
   ============================================= */
::selection {
    background: rgba(223, 116, 45, 0.3);
    color: var(--color-text);
}

/* =============================================
   Scrollbar
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-subtle);
}

/* =============================================
   Form Fields
   ============================================= */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-form label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
}

.contact-form .optional {
    font-weight: 400;
    color: var(--color-text-subtle);
}

.contact-form .req {
    color: var(--color-accent-text);
}

.form-error {
    font-size: 0.8125rem;
    color: #C2341A;
    line-height: 1.5;
}

.form-group input[aria-invalid="true"] {
    border-color: #C2341A;
}

.form-trap {
    position: absolute;
    left: -9999px;
}

.form-status {
    font-size: 0.875rem;
    color: var(--color-accent-text);
    text-align: center;
    line-height: 1.5;
    min-height: 1.2em;
}

.form-status.is-error {
    color: #C2341A;
}
