/* ============================================================
   PAL DESIGN SYSTEM — CSS CUSTOM PROPERTIES & BASE STYLES
   ============================================================

   This file contains:
   - CSS custom properties (variables) for colors, typography, spacing, etc.
   - Reset and base styles for HTML elements
   - Shared utility classes used across all sections
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Colours */
    --pal-navy: #1a2332;
    --pal-navy-light: #243044;
    --pal-green: #2d5f3f;
    --pal-green-light: #3a7a50;
    --pal-cream: #f8f6f1;
    --pal-cream-dark: #ede9e0;
    --pal-red: #c44536;
    --pal-blue: #4a7c8c;
    --pal-gold: #d4a574;
    --pal-text: #2c2c2c;
    --pal-text-light: #666;
    --pal-text-muted: #999;
    --pal-white: #ffffff;
    --pal-border: #e5e2db;

    /* Typography */
    --font-display: 'Spectral', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26,35,50,0.08);
    --shadow-md: 0 4px 12px rgba(26,35,50,0.10);
    --shadow-lg: 0 8px 30px rgba(26,35,50,0.12);
    --shadow-xl: 0 20px 60px rgba(26,35,50,0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 500ms;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
}

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

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

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

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

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

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ============================================================
   SHARED UTILITY CLASSES
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

/* Section header styles (used in multiple sections) */
.pal-section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.pal-section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pal-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.pal-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--pal-navy);
    letter-spacing: -0.02em;
}

.pal-section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--pal-text-light);
    max-width: 540px;
    margin: var(--space-md) auto 0;
    line-height: 1.6;
}

/* ============================================================
   SECTION 1: NAVIGATION
   Global Header block
   ============================================================ */

.pal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth),
                padding var(--duration-normal) var(--ease-smooth);
}

.pal-nav.scrolled {
    background: rgba(248, 246, 241, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
}

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

.pal-nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: opacity var(--duration-normal);
}

.pal-nav__logo-icon {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
    transition: filter var(--duration-normal);
}

.pal-nav.scrolled .pal-nav__logo-icon {
    filter: none;
}

.pal-nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pal-white);
    line-height: 1.15;
    letter-spacing: -0.01em;
    transition: color var(--duration-normal);
}

.pal-nav.scrolled .pal-nav__logo-text {
    color: var(--pal-navy);
}

.pal-nav__links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.pal-nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--duration-fast);
    position: relative;
}

.pal-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pal-gold);
    transition: width var(--duration-normal) var(--ease-spring);
}

.pal-nav__links a:hover::after {
    width: 100%;
}

.pal-nav.scrolled .pal-nav__links a {
    color: var(--pal-text);
}

.pal-nav__cta {
    background: var(--pal-green);
    color: var(--pal-white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.pal-nav__cta:hover {
    background: var(--pal-green-light);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.pal-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.pal-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pal-white);
    margin: 5px 0;
    transition: all var(--duration-normal);
}

.pal-nav.scrolled .pal-nav__toggle span {
    background: var(--pal-navy);
}

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

    .pal-nav__toggle {
        display: block;
    }

    .pal-nav__links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--pal-cream);
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }

    .pal-nav__links.active a {
        color: var(--pal-text);
    }
}

/* ============================================================
   SECTION 2: HERO
   Full-width hero section
   ============================================================ */

.pal-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pal-hero__bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=1920&q=80') center/cover no-repeat;
}

.pal-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26,35,50,0.45) 0%,
        rgba(26,35,50,0.3) 50%,
        rgba(26,35,50,0.65) 100%
    );
}

.pal-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-4xl) var(--space-lg);
}

.pal-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: var(--space-sm) var(--space-md);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pal-cream);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pal-hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--pal-gold);
    border-radius: 50%;
}

.pal-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--pal-white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.pal-hero__title em {
    font-style: italic;
    color: var(--pal-gold);
}

.pal-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: rgba(248,246,241,0.95);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    background: rgba(0,0,0,0.3);
    padding: 0.6em 1.2em;
    border-radius: var(--radius-md);
}

/* Glassmorphism search/CTA */
.pal-hero__search {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-lg);
    max-width: 500px;
    width: 100%;
}

.pal-hero__search-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-align: left;
}

.pal-hero__search-btn {
    background: var(--pal-green);
    color: var(--pal-white);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: calc(var(--radius-xl) - 4px);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--duration-fast), transform var(--duration-fast);
    white-space: nowrap;
}

.pal-hero__search-btn:hover {
    background: var(--pal-green-light);
    transform: translateY(-1px);
}

.pal-hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.pal-hero__scroll svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255,255,255,0.5);
    stroke-width: 2;
    fill: none;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (max-width: 768px) {
    .pal-hero__search {
        flex-direction: column;
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .pal-hero__search-btn {
        width: 100%;
    }
}

/* ============================================================
   SECTION 3: STATS BAR
   Statistics bar with negative margin overlap
   ============================================================ */

.pal-stats {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.pal-stats__inner {
    background: var(--pal-navy);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    box-shadow: var(--shadow-xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.pal-stat {
    text-align: center;
    position: relative;
}

.pal-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}

.pal-stat__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--pal-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.pal-stat__label {
    font-size: 0.85rem;
    color: rgba(248,246,241,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .pal-stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
        padding: var(--space-xl) var(--space-lg);
    }

    .pal-stat:not(:last-child)::after {
        display: none;
    }
}

/* ============================================================
   SECTION 4: NEIGHBOURHOOD CARDS
   Neighbourhood cards grid section
   ============================================================ */

.pal-neighbourhoods {
    padding: var(--space-4xl) 0;
}

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

/* Featured card (Stratford) — spans full left column */
.pal-card--featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.pal-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--pal-white);
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-normal) var(--ease-spring),
                box-shadow var(--duration-normal);
    cursor: pointer;
}

.pal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pal-card__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform var(--duration-slow);
}

.pal-card:hover .pal-card__img {
    transform: scale(1.04);
}

.pal-card--featured .pal-card__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

.pal-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(26,35,50,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
}

.pal-card__zone {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pal-white);
    letter-spacing: 0.05em;
}

/* Zone colour coding */
.pal-card__zone--z2 {
    background: rgba(45, 95, 63, 0.85);
    border-color: rgba(45, 95, 63, 0.4);
}
.pal-card__zone--z23 {
    background: rgba(74, 124, 140, 0.85);
    border-color: rgba(74, 124, 140, 0.4);
}
.pal-card__zone--z5 {
    background: rgba(212, 165, 116, 0.9);
    color: var(--pal-navy);
    border-color: rgba(212, 165, 116, 0.5);
}

.pal-card__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pal-white);
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.pal-card--featured .pal-card__name {
    font-size: 2rem;
}

.pal-card__borough {
    font-size: 0.8rem;
    color: rgba(248,246,241,0.9);
    margin-bottom: var(--space-md);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    font-weight: 500;
}

.pal-card__stats {
    display: flex;
    gap: var(--space-lg);
}

.pal-card__stat-item {
    display: flex;
    flex-direction: column;
}

.pal-card__stat-value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pal-gold);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.pal-card__stat-label {
    font-size: 0.7rem;
    color: rgba(248,246,241,0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pal-card__tagline {
    font-size: 0.85rem;
    color: rgba(248,246,241,0.95);
    margin-top: var(--space-md);
    line-height: 1.5;
    display: block;
    font-weight: 500;
    background: rgba(0,0,0,0.25);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.pal-card--featured .pal-card__tagline {
    display: block;
}

@media (max-width: 1024px) {
    .pal-cards-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .pal-card--featured {
        grid-column: 1;
        grid-row: auto;
    }

    .pal-card--featured .pal-card__img {
        min-height: 300px;
        aspect-ratio: 16/10;
    }
}

/* ============================================================
   SECTION 5: PHOTO STRIP
   Full-width photo grid section
   ============================================================ */

.pal-photostrip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 0 -24px;
}

.pal-photostrip__item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.pal-photostrip__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow);
}

.pal-photostrip__item:hover .pal-photostrip__img {
    transform: scale(1.06);
}

.pal-photostrip__label {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pal-white);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .pal-photostrip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   SECTION 6: FEATURES ("Why PAL")
   Features/benefits section with 3-column grid
   ============================================================ */

.pal-features {
    padding: var(--space-4xl) 0;
    background: var(--pal-white);
}

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

.pal-feature {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--pal-border);
    transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.pal-feature:hover {
    border-color: var(--pal-green);
    box-shadow: var(--shadow-md);
}

.pal-feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    background: rgba(45,95,63,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pal-feature__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pal-green);
    stroke-width: 1.5;
    fill: none;
}

.pal-feature__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pal-navy);
    margin-bottom: var(--space-sm);
}

.pal-feature__text {
    font-size: 0.9rem;
    color: var(--pal-text-light);
    line-height: 1.7;
}

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

/* ============================================================
   SECTION 7: NEWSLETTER CTA
   Newsletter call-to-action section
   ============================================================ */

.pal-cta {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.pal-cta__bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1584622781564-1d987f7333c1?w=1920&q=80') center/cover no-repeat;
}

.pal-cta__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.88), rgba(45,95,63,0.82));
}

.pal-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.pal-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--pal-white);
    margin-bottom: var(--space-md);
}

.pal-cta__text {
    font-size: 1.05rem;
    color: rgba(248,246,241,0.8);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.pal-cta__form {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.pal-cta__input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: var(--pal-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--duration-fast);
}

.pal-cta__input::placeholder {
    color: rgba(255,255,255,0.5);
}

.pal-cta__input:focus {
    border-color: var(--pal-gold);
}

.pal-cta__submit {
    padding: var(--space-md) var(--space-xl);
    background: var(--pal-gold);
    color: var(--pal-navy);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--duration-fast), transform var(--duration-fast);
    white-space: nowrap;
}

.pal-cta__submit:hover {
    background: #e0b584;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .pal-cta__form {
        flex-direction: column;
    }

    .pal-cta__submit {
        width: 100%;
    }
}

/* ============================================================
   SECTION 8: FOOTER
   Global footer section
   ============================================================ */

.pal-footer {
    background: var(--pal-navy);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.pal-footer__inner {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.pal-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.pal-footer__brand-icon {
    height: 60px;
    width: auto;
}

.pal-footer__brand-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pal-white);
    line-height: 1.15;
}

.pal-footer__desc {
    font-size: 0.85rem;
    color: rgba(248,246,241,0.6);
    line-height: 1.7;
    max-width: 280px;
}

.pal-footer__heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pal-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.pal-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pal-footer__links a {
    font-size: 0.85rem;
    color: rgba(248,246,241,0.65);
    transition: color var(--duration-fast);
}

.pal-footer__links a:hover {
    color: var(--pal-white);
}

.pal-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pal-footer__copy {
    font-size: 0.8rem;
    color: rgba(248,246,241,0.4);
}

@media (max-width: 768px) {
    .pal-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .pal-footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .pal-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ANIMATIONS
   Reveal and transition animations used across sections
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow), transform var(--duration-slow) var(--ease-spring);
}

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