/**
 * Miriam Serrano — Cinematographic Premium
 * Video Editor & Postproduction Specialist
 *
 * Design tokens:
 *   --bg:          #0a0a0a
 *   --surface:     #111111
 *   --surface-2:   #161616
 *   --border:      rgba(255,255,255,0.08)
 *   --text:        #ffffff
 *   --text-muted:  rgba(255,255,255,0.5)
 *   --text-hint:   rgba(255,255,255,0.25)
 *   --accent:      #c8a97e (warm gold)
 *   --accent-dim:  rgba(200,169,126,0.3)
 */

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

:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --surface-2: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-hint: rgba(255, 255, 255, 0.25);
    --accent: #c8a97e;
    --accent-hover: #d4b88e;
    --accent-dim: rgba(200, 169, 126, 0.3);
    --accent-bg: rgba(200, 169, 126, 0.08);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    --nav-h: 64px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

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

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

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

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

ul, ol {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


/* ─── Navigation ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    height: var(--nav-h);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
}

.nav-logo span {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 0.5px solid var(--accent-dim);
    padding: 8px 18px;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    display: inline-block;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}


/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10, 10, 10, 0.8) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, transparent 30%, transparent 70%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
}

/* Fallback when no video */
.hero-fallback-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d0d 40%, #1a0e05 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 24px;
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-title-italic {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    display: block;
}

.hero-tagline {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin: 20px auto 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.hero-play {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease) 1.2s forwards;
}

.hero-play:hover {
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.hero-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
    margin-left: 4px;
}

.hero-meta {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 4vw, 48px);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-hint);
}

.hero-scroll-line {
    width: 28px;
    height: 0.5px;
    background: var(--text-hint);
}

.hero-timecode {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-hint);
}


/* ─── Buttons (global) ──────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.4);
}


/* ─── Reel Strip ────────────────────────────────────────────── */
.reel-strip {
    background: #050505;
    padding: 10px 0;
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
}

.reel-inner {
    display: inline-flex;
    animation: reelScroll 30s linear infinite;
}

.reel-item {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-hint);
    padding: 0 24px;
}

.reel-item.accent {
    color: var(--accent-dim);
}

.reel-dot {
    color: var(--accent-dim);
    padding: 0 4px;
}

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


/* ─── Sections (global) ────────────────────────────────────── */
.section {
    padding: clamp(60px, 10vw, 100px) clamp(20px, 4vw, 48px);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-link {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-hint);
    transition: color 0.3s var(--ease);
}

.section-link:hover {
    color: var(--accent);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 clamp(20px, 4vw, 48px);
    max-width: 1400px;
    margin: 0 auto;
}

.section-divider-line {
    flex: 1;
    height: 0.5px;
    background: var(--border);
}

.section-divider-text {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-hint);
}


/* ─── Portfolio Grid ────────────────────────────────────────── */
.portfolio-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.portfolio-filter {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 16px;
    color: var(--text-hint);
    border: 0.5px solid var(--border);
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.portfolio-filter:hover {
    color: var(--text-muted);
    border-color: var(--border-hover);
}

.portfolio-filter.active {
    color: var(--accent);
    border-color: var(--accent-dim);
    background: var(--accent-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.portfolio-item {
    position: relative;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-item.featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .portfolio-item.featured {
        grid-column: 1 / 3;
    }
}

.portfolio-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-item.featured .portfolio-thumb {
    height: 280px;
}

.portfolio-thumb-bg {
    position: absolute;
    inset: 0;
    background: var(--surface-2);
    transition: transform 0.6s var(--ease);
}

.portfolio-item:hover .portfolio-thumb-bg {
    transform: scale(1.05);
}

.portfolio-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.portfolio-item:hover .portfolio-thumb-img {
    transform: scale(1.05);
}

.portfolio-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.portfolio-item:hover .portfolio-thumb-overlay {
    opacity: 1;
}

.portfolio-play {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
    margin-left: 3px;
}

.portfolio-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-hint);
    letter-spacing: 0.06em;
}

.portfolio-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--accent-bg);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 2px;
    border: 0.5px solid var(--accent-dim);
}

.portfolio-info {
    padding: 14px 16px;
}

.portfolio-cat {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
    margin-bottom: 4px;
}

.portfolio-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.3;
}

.portfolio-subtitle {
    font-size: 12px;
    color: var(--text-hint);
    margin-top: 2px;
}


/* ─── Video Modal ───────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s var(--ease);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s var(--ease);
}

.modal-close:hover {
    color: var(--text);
}

.modal-info {
    padding: 16px 0;
}

.modal-title {
    font-size: 18px;
    font-weight: 500;
}

.modal-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}


/* ─── About Strip (Home) ────────────────────────────────────── */
.about-strip {
    background: var(--surface);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    padding: clamp(40px, 6vw, 60px) clamp(20px, 4vw, 48px);
}

.about-strip-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.about-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a1f0f, #1a1510);
    border: 1px solid rgba(200, 169, 126, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 500;
    color: rgba(200, 169, 126, 0.5);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    overflow: hidden;
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-role {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-name {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 500;
    margin-bottom: 12px;
}

.about-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.about-stats {
    display: flex;
    gap: clamp(20px, 3vw, 36px);
    margin-top: 20px;
}

.stat-num {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-hint);
    margin-top: 4px;
}


/* ─── Skills/Tools ──────────────────────────────────────────── */
.skills-section {
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 48px);
    max-width: 1400px;
    margin: 0 auto;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.skill-tag {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 7px 16px;
    border: 0.5px solid var(--border);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.skill-tag:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.skill-tag.highlight {
    color: var(--accent);
    border-color: var(--accent-dim);
}


/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section {
    background: #060606;
    padding: clamp(60px, 10vw, 100px) clamp(20px, 4vw, 48px);
    text-align: center;
    border-top: 0.5px solid var(--border);
}

.cta-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    max-width: 500px;
    margin: 0 auto 12px;
}

.cta-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-email {
    font-size: 12px;
    color: var(--accent-dim);
    letter-spacing: 0.04em;
    margin-top: 20px;
}

.cta-email a {
    color: var(--accent-dim);
    transition: color 0.3s var(--ease);
}

.cta-email a:hover {
    color: var(--accent);
}


/* ─── About Page ────────────────────────────────────────────── */
.about-hero {
    padding: calc(var(--nav-h) + 60px) clamp(20px, 4vw, 48px) 60px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
    border: 0.5px solid var(--border);
}

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

.about-intro {
    padding-top: 40px;
}

.about-intro .section-eyebrow {
    margin-bottom: 12px;
}

.about-intro-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 24px;
}

.about-intro-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-intro-text p {
    margin-bottom: 16px;
}

/* Timeline */
.timeline {
    border-top: 0.5px solid var(--border);
    padding-top: 32px;
    margin-top: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 0.5px solid var(--border);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.04em;
    padding-top: 3px;
}

.timeline-content h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Philosophy */
.philosophy {
    background: var(--surface);
    border-radius: 4px;
    border: 0.5px solid var(--border);
    padding: clamp(28px, 4vw, 40px);
    margin-top: 48px;
}

.philosophy-quote {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--accent-dim);
}


/* ─── Contact Page ──────────────────────────────────────────── */
.contact-page {
    padding: calc(var(--nav-h) + 60px) clamp(20px, 4vw, 48px) 60px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 80px);
}

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 16px;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.contact-detail-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-hint);
    min-width: 80px;
}

.contact-detail a {
    color: var(--text-muted);
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.contact-social a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-hint);
    transition: color 0.3s var(--ease);
}

.contact-social a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 4px;
    padding: clamp(24px, 4vw, 40px);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-hint);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    border: 0.5px solid var(--border);
    border-radius: 2px;
    padding: 12px 16px;
    transition: border-color 0.3s var(--ease);
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-dim);
}

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

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

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

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 2px;
    font-size: 13px;
    margin-bottom: 20px;
}

.form-message.success {
    background: rgba(100, 200, 100, 0.1);
    border: 0.5px solid rgba(100, 200, 100, 0.3);
    color: rgba(100, 200, 100, 0.9);
}

.form-message.error {
    background: rgba(230, 80, 80, 0.1);
    border: 0.5px solid rgba(230, 80, 80, 0.3);
    color: rgba(230, 80, 80, 0.9);
}


/* ─── Testimonials (future) ─────────────────────────────────── */
.testimonials-placeholder {
    background: var(--surface);
    border: 0.5px dashed var(--border);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
}

.testimonials-placeholder p {
    font-size: 13px;
    color: var(--text-hint);
}


/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: #050505;
    border-top: 0.5px solid var(--border);
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 48px) 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    padding-bottom: clamp(28px, 4vw, 40px);
    border-bottom: 0.5px solid var(--border);
}

.footer-logo {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-role {
    font-size: 11px;
    color: var(--text-hint);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 12px;
    color: var(--text-hint);
    transition: color 0.3s var(--ease);
}

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

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social a {
    font-size: 12px;
    color: var(--text-hint);
    transition: color 0.3s var(--ease);
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.2);
}

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


/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01s !important;
        transition-duration: 0.01s !important;
    }
    .reveal { opacity: 1; transform: none; }
    .reel-inner { animation: none; }
}


/* ─── Responsive ────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        max-width: 400px;
    }

    .contact-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-h: 56px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 105;
        align-items: center;
        justify-content: center;
        gap: 32px;
    }

    .nav-links.open a {
        font-size: 18px;
        letter-spacing: 0.15em;
        color: var(--text-muted);
    }

    .nav-links.open a.active {
        color: var(--accent);
    }

    .nav-toggle.open .nav-toggle-line:first-child {
        transform: rotate(45deg) translateY(3.25px);
    }

    .nav-toggle.open .nav-toggle-line:last-child {
        transform: rotate(-45deg) translateY(-3.25px);
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 52px);
    }

    .hero-meta {
        display: none;
    }

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

    .portfolio-item.featured {
        grid-column: 1;
    }

    .portfolio-item.featured .portfolio-thumb {
        height: 200px;
    }

    .about-strip-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-avatar {
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .about-bio {
        margin: 0 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-links,
    .footer-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

/* Small phones */
@media (max-width: 420px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        text-align: center;
    }

    .portfolio-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .portfolio-filter {
        white-space: nowrap;
        flex-shrink: 0;
    }
}


/* ─── Portfolio Page specific ───────────────────────────────── */
.portfolio-page-header {
    padding-top: calc(var(--nav-h) + 48px);
}


/* ─── Print ─────────────────────────────────────────────────── */
@media print {
    .site-header,
    .hero-play,
    .nav-toggle,
    .reel-strip,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: #fff;
        color: #111;
    }
}
