/* ============================================
   POLINA FIERA · AI ARTIST · 2026
   Cross-browser professional stylesheet
   ============================================ */

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

:root {
    /* Palette: warm dark + champagne gold */
    --bg: #0d0c0a;
    --bg-soft: #14120f;
    --bg-elevated: #1a1814;
    --surface: #1f1c17;
    --line: rgba(201, 169, 110, 0.18);
    --line-strong: rgba(201, 169, 110, 0.4);

    --text: #f4ecdc;
    --text-soft: #c8bfae;
    --text-muted: #8a8270;

    --gold: #c9a96e;
    --gold-light: #e8d5a8;
    --gold-deep: #a4854a;

    --accent-rose: #d4a89a;
    --accent-violet: #7a5c8c;

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --container: 1320px;
    --section-y: clamp(80px, 12vw, 160px);

    /* Motion */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--bg);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================
   NOISE & CURSOR
   ============================================ */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s var(--ease);
    will-change: transform;
}

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

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(13, 12, 10, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-style: italic;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.4s var(--ease);
}

.logo:hover .logo-mark {
    background: var(--gold);
    color: var(--bg);
}

.logo-text {
    font-style: italic;
    color: var(--text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-toggle {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-active { color: var(--gold); }
.lang-divider { margin: 0 6px; color: var(--text-muted); }
.lang-inactive { color: var(--text-muted); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 22px;
    justify-content: center;
}

.burger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: all 0.4s var(--ease);
}

.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        padding: 40px;
        transition: right 0.5s var(--ease);
        border-left: 1px solid var(--line);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 22px; font-family: var(--font-serif); }
    .burger { display: flex; }
    .lang-toggle { padding: 6px 12px; font-size: 12px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% center;   /* book is on the right — keep it visible while text breathes left */
    opacity: 0;
    transition: opacity 1.4s var(--ease-out);
    z-index: 0;
    /* Slightly shrink + shift right so the book never crashes into the title when it opens */
    transform: scale(0.86) translateX(7%);
    transform-origin: right center;
    /* Soft fade on the left edge so the shrunk video blends into the dark bg without a hard edge */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 12%, black 30%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 12%, black 30%);
}

.hero-video.loaded { opacity: 1; }

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Stronger left fade so the title sits cleanly on dark, book area stays luminous */
        linear-gradient(90deg, rgba(13, 12, 10, 0.92) 0%, rgba(13, 12, 10, 0.6) 35%, rgba(13, 12, 10, 0.18) 60%, rgba(13, 12, 10, 0.05) 100%),
        linear-gradient(180deg, rgba(13, 12, 10, 0.4) 0%, transparent 30%, transparent 70%, rgba(13, 12, 10, 0.92) 100%);
    pointer-events: none;
}

/* On medium-narrow screens the title needs more room — shrink/shift the video a bit more */
@media (max-width: 1100px) {
    .hero-video {
        transform: scale(0.78) translateX(10%);
    }
}

@media (max-width: 700px) {
    .hero-video {
        object-position: 65% center;
        transform: none;          /* on mobile the title is centered, video can fill */
        -webkit-mask-image: none;
                mask-image: none;
    }
    .hero-vignette {
        background:
            linear-gradient(180deg, rgba(13, 12, 10, 0.6) 0%, rgba(13, 12, 10, 0.45) 35%, rgba(13, 12, 10, 0.7) 100%);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: 1;
    animation: float 22s infinite ease-in-out;
    pointer-events: none;
}

.orb-1 {
    width: 520px;
    height: 520px;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.orb-2 {
    width: 480px;
    height: 480px;
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.05); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(72px, 14vw, 220px);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    color: var(--text);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .italic {
    font-style: italic;
    color: var(--gold);
    padding-left: clamp(40px, 8vw, 120px);
}

.hero-subtitle {
    max-width: 580px;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 80px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2.5s infinite;
}

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

.scroll-text {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 100px;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: 20px 40px;
    font-size: 15px;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(201, 169, 110, 0.25);
}

.btn-ghost {
    border: 1px solid var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.05);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 18px 36px;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg);
}

.btn svg {
    transition: transform 0.4s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
section {
    position: relative;
    padding: var(--section-y) 0;
}

.section-head {
    margin-bottom: 80px;
}

.section-num {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 500;
    display: block;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 400;
    line-height: 1;
    color: var(--text);
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 18px;
    color: var(--text-soft);
    margin-top: 24px;
    max-width: 560px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.image-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--bg-elevated);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image-placeholder svg,
.image-placeholder picture,
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;  /* keep the hat & face visible if 4:5 crop is tight */
    display: block;
    transition: transform 1.2s var(--ease-out);
}

.about-image:hover .image-placeholder img {
    transform: scale(1.03);
}

.image-tag {
    position: absolute;
    bottom: -12px;
    right: 24px;
    background: var(--gold);
    color: var(--bg);
    padding: 6px 16px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.about-text .lead {
    font-family: var(--font-serif);
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 32px;
    font-weight: 400;
}

.about-text .lead em {
    font-style: italic;
    color: var(--gold);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.about-list li {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-soft);
    border-bottom: 1px solid var(--line);
}

.about-list span {
    color: var(--gold);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image { position: static; max-width: 400px; }
}

/* ============================================
   WORKS
   ============================================ */
.works-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    grid-auto-flow: dense;
    align-items: start;
}

.work-card {
    cursor: pointer;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.work-card.hidden {
    display: none;
}

/* Landscape previews span 2 columns so the artwork is shown
   in its natural horizontal proportion without cropping */
.work-card.landscape {
    grid-column: span 2;
}

.work-image {
    position: relative;
    background: var(--bg-elevated);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    /* aspect-ratio is set inline per card from the real image */
}

.work-image picture,
.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* card matches image ratio, so no real cropping */
    display: block;
    transition: transform 0.8s var(--ease);
}

.book-card:hover .work-image img {
    transform: scale(1.04);
}

.work-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.book-card:hover .work-hover,
.book-card:focus-visible .work-hover {
    opacity: 1;
}

.work-hover-text {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(13, 12, 10, 0.7);
    border: 1px solid rgba(201, 169, 110, 0.4);
    padding: 10px 18px;
    border-radius: 100px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transform: translateY(8px);
    transition: transform 0.4s var(--ease);
}

.book-card:hover .work-hover-text {
    transform: translateY(0);
}

.book-card {
    cursor: pointer;
    outline: none;
}

.book-card:focus-visible {
    box-shadow: 0 0 0 2px var(--gold);
}

.works-hint {
    text-align: center;
    margin-top: 48px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.work-shape {
    position: absolute;
    inset: 0;
    transition: transform 0.8s var(--ease);
}

.work-card:hover .work-shape {
    transform: scale(1.05);
}

.shape-1 {
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}
.shape-2 {
    background:
        conic-gradient(from 45deg at 50% 50%, transparent 0%, rgba(255, 255, 255, 0.15) 25%, transparent 50%);
}
.shape-3 {
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), transparent);
}
.shape-4 {
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}
.shape-5 {
    background:
        linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.5) 100%),
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
}
.shape-6 {
    background:
        conic-gradient(from 180deg at 30% 70%, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.work-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.work-info h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    transition: color 0.3s var(--ease);
}

.work-card:hover .work-info h3 {
    color: var(--gold);
}

.work-info span {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.works-cta {
    margin-top: 60px;
    text-align: center;
}

@media (max-width: 1000px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card.landscape { grid-column: span 2; }
}

@media (max-width: 600px) {
    .works-grid { grid-template-columns: 1fr; gap: 28px; }
    .work-card.landscape { grid-column: span 1; }
}

/* ============================================
   PROCESS
   ============================================ */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.process-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 60px;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.4s var(--ease);
    position: relative;
}

.process-step:hover {
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.03), transparent);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 300;
    color: var(--gold);
    font-style: italic;
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 560px;
}

@media (max-width: 700px) {
    .process-step { grid-template-columns: 60px 1fr; gap: 24px; padding: 32px 0; }
    .step-num { font-size: 36px; }
    .step-content h3 { font-size: 24px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial {
    padding: 40px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    position: relative;
    transition: all 0.4s var(--ease);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: var(--font-serif);
    font-size: 100px;
    color: var(--gold);
    line-height: 1;
    opacity: 0.3;
}

.testimonial:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial footer {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.testimonial strong {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 4px;
    font-size: 14px;
    letter-spacing: 0.05em;
    font-style: normal;
}

.testimonial span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 400;
    line-height: 1.1;
    margin: 24px 0 24px;
    letter-spacing: -0.01em;
}

.contact-title em {
    font-style: italic;
    color: var(--gold);
}

.contact-sub {
    font-size: 18px;
    color: var(--text-soft);
    margin-bottom: 56px;
}

.contact-form {
    text-align: left;
    margin-bottom: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-field {
    margin-bottom: 24px;
    position: relative;
}

.form-field label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s var(--ease);
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a96e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

.form-field select option {
    background: var(--bg-elevated);
    color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-form .btn {
    width: 100%;
    margin-top: 16px;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.05em;
}

.contact-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.contact-direct a {
    color: var(--text-soft);
    font-size: 15px;
    transition: color 0.3s var(--ease);
}

.contact-direct a:hover {
    color: var(--gold);
}

.contact-direct span {
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-soft);
    transition: color 0.3s var(--ease);
}

.footer-nav a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 7, 6, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    cursor: zoom-out;
}

.lb-figure {
    position: relative;
    z-index: 2;
    margin: 0;
    width: min(92vw, 1400px);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lb-image-wrap {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.lb-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: lbFadeIn 0.5s var(--ease-out);
}

@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.lb-caption {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 4px 12px;
    color: var(--text);
}

.lb-meta {
    text-align: left;
}

.lb-title {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 500;
    color: var(--gold-light);
    margin: 0 0 4px;
}

.lb-subtitle {
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.lb-counter {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--gold);
    font-style: italic;
    white-space: nowrap;
}

.lb-divider {
    margin: 0 8px;
    color: var(--text-muted);
}

.lb-close,
.lb-nav {
    position: absolute;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.3);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lb-close:hover,
.lb-nav:hover {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
    transform: scale(1.05);
}

.lb-close {
    top: 24px;
    right: 24px;
}

.lb-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lb-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-strip {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    padding: 8px;
    max-width: 90vw;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 169, 110, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.lb-strip::-webkit-scrollbar { display: none; }

.lb-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 80px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    background: var(--bg-elevated);
    transition: all 0.3s var(--ease);
    opacity: 0.5;
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-thumb:hover { opacity: 0.85; }

.lb-thumb.active {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

@media (max-width: 700px) {
    .lb-close,
    .lb-nav {
        width: 42px;
        height: 42px;
    }
    .lb-close { top: 16px; right: 16px; }
    .lb-prev  { left: 12px; }
    .lb-next  { right: 12px; }
    .lb-image { max-height: 60vh; }
    .lb-caption { flex-direction: column; gap: 8px; align-items: flex-start; }
    .lb-thumb { width: 48px; height: 64px; }
    .lb-strip { bottom: 12px; padding: 6px; }
}

/* ============================================
   SHOWREEL — full-bleed video band
   ============================================ */
.showreel {
    padding: 0;
    background: var(--bg);
    overflow: hidden;
}

.showreel-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 80vh;
    overflow: hidden;
    background: var(--bg);
}

.showreel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.4s var(--ease-out);
}

.showreel-video.loaded { opacity: 1; }

.showreel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 12, 10, 0.35) 0%, transparent 30%, transparent 60%, rgba(13, 12, 10, 0.85) 100%),
        radial-gradient(ellipse at center, transparent 40%, rgba(13, 12, 10, 0.4) 100%);
    pointer-events: none;
}

.showreel-caption {
    position: absolute;
    left: 50%;
    bottom: clamp(28px, 6vw, 80px);
    transform: translateX(-50%);
    text-align: center;
    color: var(--text);
    z-index: 2;
    padding: 0 20px;
    width: 100%;
    max-width: 900px;
}

.showreel-caption .eyebrow {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.showreel-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}

.showreel-title em {
    font-style: italic;
    color: var(--gold);
}

@media (max-width: 700px) {
    .showreel-frame { aspect-ratio: 4 / 5; max-height: none; }
}

/* ============================================
   ATMOSPHERIC SECTION BACKGROUNDS
   ============================================ */
section { position: relative; }

.section-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.section-bg picture,
.section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.16;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

/* Pull main content above the bg layer */
section > .container { position: relative; z-index: 2; }

/* Specific intensity tweaks per section */
.about .section-bg img        { opacity: 0.10; }
.works .section-bg img        { opacity: 0.08; }
.process .section-bg img      { opacity: 0.14; }
.testimonials .section-bg img { opacity: 0.10; }
.contact .section-bg img      { opacity: 0.12; }

/* ============================================
   DECORATIVE FLOURISH DIVIDERS (transparent PNG strip)
   ============================================ */
.divider-flourish {
    width: min(680px, 86%);
    margin: 0 auto 56px;
    opacity: 0.95;
    pointer-events: none;
    /* No background, no blend-mode — image already has alpha channel */
}

.divider-flourish picture,
.divider-flourish img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 24px rgba(201, 169, 110, 0.18));
}

@media (max-width: 600px) {
    .divider-flourish {
        width: min(440px, 90%);
        margin-bottom: 40px;
    }
}

/* ============================================
   PROCESS STEP ICONS
   ============================================ */
.process-step {
    /* Was: 120px 1fr ; now: icon | num | content */
    grid-template-columns: 96px 80px 1fr;
}

.step-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.3);
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(201, 169, 110, 0.08);
    transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}

.step-icon picture,
.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-step:hover .step-icon {
    transform: scale(1.08) rotate(-3deg);
    border-color: var(--gold);
}

@media (max-width: 700px) {
    .process-step {
        grid-template-columns: 56px 1fr;
        gap: 16px;
    }
    .step-icon {
        width: 56px;
        height: 56px;
        grid-row: span 1;
    }
    .process-step .step-num {
        display: none;  /* keep it minimal on mobile */
    }
}

/* ============================================
   CONTACT ICON (envelope)
   ============================================ */
.contact-icon {
    display: block;
    width: 130px;
    height: 130px;
    margin: 24px auto 8px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.4);
    box-shadow:
        inset 0 0 40px rgba(0, 0, 0, 0.6),
        0 20px 60px rgba(201, 169, 110, 0.08);
    animation: gentle-float 6s ease-in-out infinite;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* ============================================
   SOCIAL MEDALLIONS (footer)
   ============================================ */
.footer-social {
    gap: 14px;
}

.social-medallion {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--line);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    padding: 0;
}

.social-medallion picture,
.social-medallion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.social-medallion:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(201, 169, 110, 0.18);
}

.social-medallion:hover img {
    transform: scale(1.08);
}

/* Override the old text-based footer-social link styles
   which used flex/border/letters */
.footer-social a {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.4);
    color: transparent;
    font-size: 0;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .header, .footer, .scroll-indicator, .cursor-glow, .noise, .hero-bg, .section-bg, .divider-flourish, .step-icon {
        display: none !important;
    }
    body { background: white; color: black; }
}
