/* ============================================================
   HELAIA — Three Faces, One Soul
   Shared design system, per-page theming
   ============================================================ */

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

:root {
    /* Shared Design Tokens */
    --font-main: 'Quicksand', sans-serif;
    --max-width: 1120px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-med: 0.4s var(--ease);
    --transition-slow: 0.8s var(--ease-out);

    /* Spacing Scale */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 24px;
    --sp-lg: 48px;
    --sp-xl: 80px;
    --sp-xxl: 120px;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 17px;
}

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

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


/* ============================================================
   PAGE THEMES — Applied via body class
   ============================================================ */

/* --- Helaia: Warm cream / Dusty rose / Deep navy --- */
body.page-helaia {
    --page-bg: #F2E8C9;
    --page-bg-alt: rgba(255, 255, 255, 0.5);
    --page-text: #111A26;
    --page-text-soft: #2D5273;
    --page-text-muted: #869AA6;
    --page-accent: #BF565F;
    --page-accent-deep: #8C3041;
    --page-border: rgba(17, 26, 38, 0.08);
    --nav-bg: rgba(242, 232, 201, 0.92);
    --nav-text: #111A26;
    --nav-accent: #BF565F;
    --footer-bg: #111A26;
    --footer-text: #F2E8C9;
    --footer-muted: rgba(242, 232, 201, 0.45);
    --footer-border: rgba(242, 232, 201, 0.1);
    --footer-hover: #BF565F;
    background: var(--page-bg);
    color: var(--page-text);
}

/* --- Oliver: Stark white / Charcoal / Cool steel --- */
body.page-oliver {
    --page-bg: #F2F2F2;
    --page-bg-alt: #FFFFFF;
    --page-text: #0D0D0D;
    --page-text-soft: #3E4C59;
    --page-text-muted: #869AA6;
    --page-accent: #3E4C59;
    --page-accent-deep: #010D00;
    --page-border: rgba(13, 13, 13, 0.06);
    --nav-bg: rgba(242, 242, 242, 0.92);
    --nav-text: #0D0D0D;
    --nav-accent: #3E4C59;
    --footer-bg: #0D0D0D;
    --footer-text: #F2F2F2;
    --footer-muted: rgba(242, 242, 242, 0.4);
    --footer-border: rgba(242, 242, 242, 0.06);
    --footer-hover: #869AA6;
    background: var(--page-bg);
    color: var(--page-text);
}

/* --- Creative: Dark chocolate / Gold / Gallery warmth --- */
body.page-creative {
    --page-bg: #26231E;
    --page-bg-alt: rgba(242, 242, 242, 0.04);
    --page-text: #F2F2F2;
    --page-text-soft: #BF9969;
    --page-text-muted: rgba(242, 242, 242, 0.5);
    --page-accent: #BF9969;
    --page-accent-deep: #A67244;
    --page-border: rgba(191, 153, 105, 0.12);
    --nav-bg: rgba(38, 35, 30, 0.95);
    --nav-text: #F2F2F2;
    --nav-accent: #BF9969;
    --footer-bg: #0D0D0D;
    --footer-text: #F2F2F2;
    --footer-muted: rgba(242, 242, 242, 0.35);
    --footer-border: rgba(191, 153, 105, 0.1);
    --footer-hover: #BF9969;
    background: var(--page-bg);
    color: var(--page-text);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--page-border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--nav-text);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: var(--sp-lg);
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nav-text);
    position: relative;
    padding: 4px 0;
}

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

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

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--nav-text);
}

.nav-toggle svg {
    display: block;
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

body.page-creative .mobile-menu {
    background: rgba(38, 35, 30, 0.97);
}

body.page-helaia .mobile-menu,
body.page-oliver .mobile-menu {
    background: rgba(0, 0, 0, 0.95);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F2F2F2;
}

.mobile-menu a:hover {
    color: var(--page-accent);
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #F2F2F2;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
}


/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--page-accent);
    color: var(--page-bg);
    border: none;
    border-radius: 28px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background: var(--page-accent-deep);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--page-text);
    border: 2px solid var(--page-border);
    border-radius: 28px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-outline:hover {
    border-color: var(--page-accent);
    color: var(--page-accent);
    transform: translateY(-2px);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(from var(--page-accent) r g b / 0.1);
    border: 1px solid rgba(from var(--page-accent) r g b / 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--page-accent-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* For browsers that don't support relative color syntax */
body.page-helaia .badge {
    background: rgba(191, 86, 95, 0.1);
    border-color: rgba(191, 86, 95, 0.2);
    color: #8C3041;
}

body.page-oliver .badge {
    background: rgba(62, 76, 89, 0.1);
    border-color: rgba(62, 76, 89, 0.2);
    color: #3E4C59;
}

body.page-creative .badge {
    background: rgba(191, 153, 105, 0.1);
    border-color: rgba(191, 153, 105, 0.15);
    color: #BF9969;
}

/* Section spacing */
.page-content {
    padding-top: 56px; /* nav height */
}


/* ============================================================
   HELAIA PAGE
   ============================================================ */

/* Hero */
.helaia-hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-xl) var(--sp-md);
    position: relative;
    overflow: hidden;
}

.helaia-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(191, 86, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.helaia-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 82, 115, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.helaia-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #111A26;
    margin-bottom: var(--sp-md);
    position: relative;
    z-index: 1;
}

.helaia-hero h1 span {
    color: #BF565F;
}

.helaia-hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 400;
    color: #2D5273;
    max-width: 520px;
    line-height: 1.5;
    margin-bottom: var(--sp-lg);
    position: relative;
    z-index: 1;
}

.helaia-cta-row {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Products */
.helaia-products {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sp-xl) var(--sp-md) var(--sp-xxl);
}

.helaia-products h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #111A26;
    margin-bottom: var(--sp-xs);
    letter-spacing: -0.02em;
}

.helaia-products .section-lead {
    font-size: 1.05rem;
    color: #2D5273;
    margin-bottom: var(--sp-xl);
    max-width: 480px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
}

.product-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(17, 26, 38, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #BF565F, #8C3041);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(17, 26, 38, 0.08);
}

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

.product-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #BF565F, #8C3041);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-md);
    font-size: 1.4rem;
}

.product-card .card-icon:has(img) {
    background: none;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111A26;
    margin-bottom: var(--sp-xs);
}

.product-card p {
    font-size: 0.95rem;
    color: #2D5273;
    line-height: 1.6;
    margin-bottom: var(--sp-md);
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(191, 86, 95, 0.1);
    color: #8C3041;
    letter-spacing: 0.03em;
}

.card-tag.coming-soon {
    background: rgba(45, 82, 115, 0.1);
    color: #2D5273;
}


/* ============================================================
   OLIVER PAGE
   ============================================================ */
.oliver-intro {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-md) var(--sp-xl);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--sp-xl);
    align-items: start;
}

.oliver-intro-left {
    position: sticky;
    top: 100px;
}

.oliver-photo-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #869AA6;
    margin-bottom: var(--sp-md);
    background: #3E4C59;
}

.oliver-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oliver-intro-left h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #0D0D0D;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--sp-xs);
}

.oliver-intro-left .role {
    font-size: 1rem;
    font-weight: 500;
    color: #3E4C59;
    margin-bottom: var(--sp-md);
}

.oliver-intro-left .location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #869AA6;
}

.oliver-links {
    display: flex;
    gap: var(--sp-sm);
    margin-top: var(--sp-md);
    flex-wrap: wrap;
}

.oliver-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3E4C59;
    transition: all var(--transition-fast);
}

.oliver-link:hover {
    background: #0D0D0D;
    color: #F2F2F2;
    border-color: #0D0D0D;
}

/* Right column */
.oliver-intro-right {
    padding-top: var(--sp-md);
}

.oliver-intro-right .about-text {
    font-size: 1.1rem;
    color: #3E4C59;
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
    max-width: 540px;
}

.experience-block {
    margin-bottom: var(--sp-lg);
}

.experience-block h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #869AA6;
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-xs);
    border-bottom: 2px solid rgba(13, 13, 13, 0.06);
}

.experience-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--sp-md);
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid rgba(13, 13, 13, 0.04);
}

.experience-item:last-child {
    border-bottom: none;
}

.exp-year {
    font-size: 0.82rem;
    font-weight: 600;
    color: #869AA6;
    padding-top: 2px;
}

.exp-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: 2px;
}

.exp-details .company {
    font-size: 0.88rem;
    color: #3E4C59;
    margin-bottom: 4px;
}

.exp-details p {
    font-size: 0.85rem;
    color: #869AA6;
    line-height: 1.5;
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--sp-md);
}

.skill-pill {
    padding: 6px 14px;
    background: rgba(62, 76, 89, 0.06);
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3E4C59;
    letter-spacing: 0.02em;
}


/* ============================================================
   CREATIVE PAGE
   ============================================================ */
.creative-hero {
    text-align: center;
    padding: var(--sp-xxl) var(--sp-md) var(--sp-xl);
    position: relative;
}

.creative-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(191, 153, 105, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.creative-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: #F2F2F2;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-xs);
    position: relative;
    z-index: 1;
}

.creative-hero h1 span {
    color: #BF9969;
    font-weight: 700;
}

.creative-hero .creative-sub {
    font-size: 1.05rem;
    color: #A67244;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.creative-divider {
    width: 40px;
    height: 2px;
    background: #BF9969;
    margin: var(--sp-lg) auto;
    position: relative;
    z-index: 1;
}

/* Featured image */
.creative-featured {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md) var(--sp-xl);
}

.creative-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(191, 153, 105, 0.12);
}

/* Gallery grid */
.creative-gallery {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md) var(--sp-xxl);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: var(--sp-sm);
}

.gallery-card {
    background: rgba(242, 242, 242, 0.04);
    border: 1px solid rgba(191, 153, 105, 0.1);
    border-radius: var(--radius-md);
    padding: var(--sp-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-med), border-color var(--transition-med);
    cursor: default;
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(191, 153, 105, 0.3);
}

.gallery-card.tall {
    grid-row: span 2;
}

.gallery-card.wide {
    grid-column: span 2;
}

.gallery-card .card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #BF9969;
    margin-bottom: 6px;
}

.gallery-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2F2F2;
    line-height: 1.3;
}

.gallery-card p {
    font-size: 0.82rem;
    color: rgba(242, 242, 242, 0.5);
    margin-top: 4px;
}

/* Palette showcase */
.palette-card {
    padding: 0;
}

.palette-strip {
    display: flex;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.palette-strip .swatch {
    flex: 1;
    transition: flex var(--transition-med);
}

.palette-strip:hover .swatch:hover {
    flex: 2;
}

/* Creative sections — Music & Video */
.creative-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-md) var(--sp-xl);
}

.creative-section-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #BF9969;
    margin-bottom: var(--sp-md);
}

/* Music Player */
.music-player {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(191, 153, 105, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.mp-now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(191, 153, 105, 0.08);
    border-bottom: 1px solid rgba(191, 153, 105, 0.1);
}

.mp-now-title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: #BF9969;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-play-pause {
    background: none;
    border: none;
    color: #BF9969;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mp-play-pause:hover {
    color: #F2F2F2;
    transform: scale(1.15);
}

.mp-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    width: 20px;
}

.mp-eq span {
    display: block;
    width: 3px;
    height: 4px;
    background: #BF9969;
    border-radius: 1px;
    transition: height 0.2s ease;
}

.mp-eq.playing span {
    animation: eqBounce 0.6s ease-in-out infinite alternate;
}

.mp-eq.playing span:nth-child(1) { animation-delay: 0s; }
.mp-eq.playing span:nth-child(2) { animation-delay: 0.15s; }
.mp-eq.playing span:nth-child(3) { animation-delay: 0.3s; }
.mp-eq.playing span:nth-child(4) { animation-delay: 0.1s; }

@keyframes eqBounce {
    0%   { height: 4px; }
    100% { height: 16px; }
}

.mp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(191, 153, 105, 0.04);
}

.mp-item:last-child {
    border-bottom: none;
}

.mp-item:hover {
    background: rgba(191, 153, 105, 0.06);
}

.mp-item.active {
    background: rgba(191, 153, 105, 0.1);
}

.mp-item-number {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(242, 242, 242, 0.3);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.mp-item.active .mp-item-number {
    color: #BF9969;
}

.mp-item-title {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(242, 242, 242, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-item.active .mp-item-title {
    color: #F2F2F2;
    font-weight: 600;
}

.mp-item-duration {
    font-size: 0.75rem;
    color: rgba(242, 242, 242, 0.25);
}

.video-card {
    background: rgba(242, 242, 242, 0.04);
    border: 1px solid rgba(191, 153, 105, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--transition-med);
}

.video-card:hover {
    border-color: rgba(191, 153, 105, 0.3);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* PDF Thumbnails */
.pdf-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.pdf-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(191, 153, 105, 0.15);
    transition: border-color 0.3s ease, transform 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.pdf-thumb:hover {
    border-color: #BF9969;
    transform: translateY(-2px);
}

.pdf-thumb canvas {
    width: 100%;
    height: auto;
    display: block;
}

.pdf-thumb-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(242, 242, 242, 0.6);
    padding: 6px 0;
    text-align: center;
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pdf-modal.open {
    opacity: 1;
    pointer-events: all;
}

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.pdf-modal-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 900px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(191, 153, 105, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.pdf-modal.open .pdf-modal-content {
    transform: scale(1);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(191, 153, 105, 0.1);
}

.pdf-modal-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #BF9969;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: rgba(242, 242, 242, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.pdf-modal-close:hover {
    color: #F2F2F2;
}

.pdf-modal-viewer {
    flex: 1;
    width: 100%;
    border: none;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-palette {
    display: flex;
    height: 3px;
}

.fp-swatch {
    flex: 1;
    transition: flex 0.4s var(--ease-out);
}

.footer-palette:hover .fp-swatch:hover {
    flex: 3;
}

.footer-body {
    padding: var(--sp-xl) var(--sp-md) var(--sp-lg);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--footer-text);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--footer-muted);
    line-height: 1.55;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--footer-border);
    color: var(--footer-muted);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--footer-hover);
    border-color: var(--footer-hover);
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--footer-muted);
    margin-bottom: var(--sp-sm);
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--footer-muted);
    margin-bottom: 10px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-col a:hover {
    color: var(--footer-hover);
    transform: translateX(3px);
}

.footer-world-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.footer-world-link:hover .footer-dot {
    transform: scale(1.5);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-md);
    border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--footer-muted);
    margin: 0;
}

.footer-back-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--footer-border);
    color: var(--footer-muted);
    transition: all var(--transition-fast);
}

.footer-back-top:hover {
    color: var(--footer-hover);
    border-color: var(--footer-hover);
    transform: translateY(-3px);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .oliver-intro {
        grid-template-columns: 1fr;
        gap: var(--sp-lg);
    }

    .oliver-intro-left {
        position: static;
        text-align: center;
    }

    .oliver-photo-frame {
        margin: 0 auto var(--sp-md);
    }

    .oliver-links {
        justify-content: center;
    }

    .oliver-intro-right .about-text {
        max-width: 100%;
    }

    .creative-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-card.wide {
        grid-column: span 2;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-md);
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    :root {
        --sp-xl: 48px;
        --sp-xxl: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .helaia-hero {
        min-height: 80vh;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .creative-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 160px;
    }

    .gallery-card.wide,
    .gallery-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-brand-top {
        justify-content: center;
    }
    .footer-tagline {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-world-link {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-sm);
    }
}
