/* ═══════════════════════════════════════════════════════════════
   YAK PEAK PRODUCTIONS — Awwwards-Level Cinematic Design
   Dark steel-blue palette · Outfit + Inter · GSAP-driven
   ═══════════════════════════════════════════════════════════════ */

:root {
    --black: #000000;
    --near-black: #060a0d;
    --dark-bg: #0a0e12;
    --deep-slate: #1a2e38;
    --dark-steel: #2d4a58;
    --mid-steel: #4a6a7a;
    --steel-blue: #8ba9bd;
    --light-steel: #a8c4d4;
    --powder-blue: #c5d5df;
    --off-white: #e8edf0;
    --white: #f5f7f8;
    --pure-white: #ffffff;
    --muted: #5a7080;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ── Reset ────────────────────────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    background: var(--black);
    color: var(--pure-white);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Screen-reader only — visible to crawlers & assistive tech */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

::selection {
    background: var(--deep-slate);
    color: var(--pure-white);
}

/* ── Scrollbar ────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--dark-steel); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--mid-steel); }

/* ── Layout ───────────────────────────────────────────────────── */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 6rem);
}

/* ── Film grain overlay ───────────────────────────────────────── */

body::after {
    content: '';
    position: fixed;
    inset: -50%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.12;
    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='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 150px;
    animation: grain 0.4s steps(8) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -15%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 10%); }
    80% { transform: translate(3%, -15%); }
    90% { transform: translate(-10%, 5%); }
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════════ */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.35em;
    color: var(--pure-white);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.preloader-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.preloader-space {
    display: inline-block;
    width: 0.35em;
}

.preloader-line {
    width: 140px;
    height: 1px;
    background: var(--deep-slate);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1px;
}

.preloader-line-fill {
    height: 100%;
    width: 0;
    background: var(--steel-blue);
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════ */

@media (pointer: fine) {
    body, a, button, .team-member { cursor: none; }
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--steel-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-expo),
                height 0.4s var(--ease-out-expo),
                background 0.4s ease,
                opacity 0.3s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(139, 169, 189, 0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.5s var(--ease-out-expo),
                height 0.5s var(--ease-out-expo),
                border-color 0.4s ease,
                opacity 0.3s ease;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--pure-white);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(139, 169, 189, 0.5);
}

.cursor-dot.hidden,
.cursor-ring.hidden {
    opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem clamp(2rem, 5vw, 6rem);
    transition: padding 0.6s var(--ease-out-expo),
                background 0.6s ease;
}

.nav.scrolled {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    color: var(--pure-white);
    transition: opacity 0.3s ease;
}
.nav-logo:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover { color: var(--pure-white); }

.nav-links a.active {
    color: var(--pure-white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--steel-blue);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--dark-steel);
    border-radius: 0;
    color: var(--pure-white);
    transition: background 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
    background: var(--deep-slate);
    border-color: var(--mid-steel);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--pure-white);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
    position: absolute;
    left: 0;
}

.nav-toggle span:first-child { top: 2px; }
.nav-toggle span:last-child { bottom: 2px; }

.nav-toggle.open span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.open span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    height: 100vh;
    height: 100lvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

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

.hero-logo-wrap {
    width: clamp(180px, 22vw, 300px);
    margin: 0 auto 2.5rem;
}

.hero-logo-img {
    width: 100%;
    height: auto;
    opacity: 0;
}

.hero-tagline-wrap {
    overflow: hidden;
}

.hero-tagline {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.tagline-line {
    display: block;
    overflow: hidden;
}

.tagline-inner {
    display: block;
    transform: translateY(110%);
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem clamp(2rem, 5vw, 6rem);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
}

.hero-scroll span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--mid-steel), transparent);
    animation: scroll-pulse 2.5s ease-in-out infinite;
}

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

.hero-location {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
}

/* Subtle shimmer on tagline */
.tagline-inner {
    background: linear-gradient(
        120deg,
        var(--muted) 0%,
        var(--light-steel) 25%,
        var(--muted) 50%,
        var(--light-steel) 75%,
        var(--muted) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: tagline-shimmer 8s ease-in-out infinite;
}

@keyframes tagline-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero horizontal line — draws across on load */
.hero-line {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 169, 189, 0.06);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left center;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════════════════════ */

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid-steel);
}

.section-header {
    margin-bottom: 4rem;
}

h2 {
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--pure-white);
}

/* Split text — words get wrapped in spans by JS */
h2 .word {
    display: inline-block;
    overflow: hidden;
}

h2 .word-inner {
    display: inline-block;
    transform: translateY(110%);
}

/* Scrub-linked split text — words reveal tied to scroll progress */
[data-split-scrub] .word-inner {
    transform: translateY(110%);
}

p {
    font-size: 1.05rem;
    color: var(--powder-blue);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

em {
    font-style: italic;
    color: var(--pure-white);
}

/* ═══════════════════════════════════════════════════════════════
   REEL SECTION — FULL BLEED AUTOPLAY
   ═══════════════════════════════════════════════════════════════ */

.reel {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
    max-height: 100svh;
    background: var(--black);
    overflow: hidden;
}

.section-num {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--mid-steel);
    opacity: 0.6;
}

/* Reel inner — scales from 0.92 to 1.0 on scroll, with rounded corners shrinking away */
.reel-inner {
    position: absolute;
    inset: 0;
    transform: scale(0.92);
    border-radius: 8px;
    overflow: hidden;
    will-change: transform, border-radius;
}

.reel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop baked-in 2.40:1 letterbox bars from 16:9 source (exact: 1.35, +margin) */
    transform: scale(1.36);
}

.reel-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.4) 100%),
        linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.15) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */

.about {
    padding: 12rem 0;
    position: relative;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(139, 169, 189, 0.03) 0%, transparent 60%),
        var(--black);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 169, 189, 0.08);
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-left-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

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

.about-services li {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(139, 169, 189, 0.08);
}

.about-services li:first-child {
    border-top: 1px solid rgba(139, 169, 189, 0.08);
}

.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: start;
}

.about-right h2 {
    margin-bottom: 3rem;
}

.about-right h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    margin-top: 2rem;
    background: var(--steel-blue);
}

.about-body p {
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ═══════════════════════════════════════════════════════════════
   BIG TEXT DIVIDER
   ═══════════════════════════════════════════════════════════════ */

.big-text-section {
    padding: 6rem 0;
    overflow: hidden;
    background: var(--near-black);
    border-top: 1px solid rgba(139, 169, 189, 0.04);
    border-bottom: 1px solid rgba(139, 169, 189, 0.04);
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;        /* allow vertical scroll, we handle horizontal */
}

.big-text-section:active,
.big-text-section.is-dragging {
    cursor: grabbing;
}

.big-text-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    white-space: nowrap;
    will-change: transform;
}

.big-text {
    font-family: var(--font-display);
    font-weight: 100;
    font-size: clamp(4rem, 10vw, 9rem);
    letter-spacing: -0.03em;
    color: var(--dark-steel);
    -webkit-text-stroke: 1px var(--dark-steel);
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease, -webkit-text-fill-color 0.5s ease;
    line-height: 1;
}

@supports not (-webkit-text-stroke: 1px black) {
    .big-text { color: var(--deep-slate); }
}

.big-text:hover {
    color: var(--pure-white);
    -webkit-text-stroke-color: var(--pure-white);
    -webkit-text-fill-color: var(--pure-white);
}

.big-text-dot {
    width: 8px;
    height: 8px;
    background: var(--dark-steel);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════ */

.team {
    padding: 10rem 0 12rem;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 169, 189, 0.08);
}

.section-header-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}

.team-member {
    background: var(--near-black);
    border: 1px solid rgba(139, 169, 189, 0.06);
    transition: border-color 0.6s ease, transform 0.6s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    will-change: clip-path, opacity;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--steel-blue), var(--deep-slate));
    transition: width 1s var(--ease-out-expo);
}

.team-member:hover {
    border-color: rgba(139, 169, 189, 0.15);
    transform: translateY(-4px);
}

.team-member:hover::before {
    width: 100%;
}

.team-member-inner {
    padding: clamp(2rem, 4vw, 3.5rem);
}

.team-name-wrap {
    margin-bottom: 1.5rem;
}

.team-name {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.team-role {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-steel);
}

.team-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--steel-blue), transparent);
    margin-bottom: 1.5rem;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--powder-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.team-credits-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.team-credit {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(139, 169, 189, 0.1);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.team-member:hover .team-credit {
    border-color: rgba(139, 169, 189, 0.2);
    color: var(--steel-blue);
}

.team-link {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.team-link:hover {
    color: var(--pure-white);
    gap: 0.65rem;
}

.team-link .arrow {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}

.team-link:hover .arrow {
    transform: translate(2px, -2px);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */

.contact {
    padding: 14rem 0 10rem;
    background:
        radial-gradient(ellipse at 70% 60%, rgba(139, 169, 189, 0.03) 0%, transparent 50%),
        var(--near-black);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(139, 169, 189, 0.08);
}

.contact-inner {
    max-width: 700px;
}

.contact-heading {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 100;
    line-height: 1.05;
    margin-bottom: 2rem;
    will-change: transform, opacity;
}

.contact-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    margin-top: 2rem;
    background: linear-gradient(to right, var(--steel-blue), transparent);
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--powder-blue);
    max-width: 500px;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-email {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.02em;
    color: var(--steel-blue);
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--pure-white);
    transition: width 0.6s var(--ease-out-expo);
}

.contact-email:hover {
    color: var(--pure-white);
}

.contact-email:hover::after {
    width: 100%;
}

.contact-location {
    margin-top: 1rem;
}

.contact-location span {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(139, 169, 189, 0.04);
    position: relative;
    overflow: hidden;
}

.footer-statement {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 0;
}

.footer-icon {
    width: clamp(6rem, 20vw, 14rem);
    height: auto;
    display: block;
    margin: 0 auto;
    will-change: transform, opacity;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 169, 189, 0.04);
}

.footer-bottom-left {
    justify-self: start;
}

.footer-bottom-center {
    justify-self: center;
}

.footer-bottom-right {
    justify-self: end;
}

.footer-back-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.4s ease, gap 0.4s var(--ease-out-expo);
}

.footer-back-top:hover {
    color: var(--steel-blue);
    gap: 0.9rem;
}

.footer-back-top svg {
    transition: transform 0.4s var(--ease-out-expo);
}

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

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

.footer-location {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet ───────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about { padding: 8rem 0; }
    .team { padding: 8rem 0; }
    .contact { padding: 10rem 0 8rem; }
}

/* ── Mobile ──────────────────────────────────────────────── */

@media (max-width: 768px) {

    /* Hide custom cursor on touch devices */
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    /* Finer grain on mobile */
    body::after {
        background-size: 80px;
        opacity: 0.08;
    }

    /* Nav — fullscreen overlay menu */
    .nav {
        padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
    }

    .nav.scrolled {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 0.25em;
    }

    .nav-cta {
        padding: 0.8rem 2rem;
    }

    /* Hero — tighten for mobile viewport */
    .hero-logo-wrap {
        width: clamp(140px, 50vw, 220px);
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        letter-spacing: 0.25em;
    }

    .hero-bottom {
        padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
    }

    .hero-location { display: none; }

    .hero-scroll span {
        font-size: 0.55rem;
    }

    .hero-scroll-line {
        height: 35px;
    }

    .hero-line {
        bottom: 70px;
    }

    /* Reel — generous but not full viewport on mobile */
    .reel {
        aspect-ratio: auto;
        height: 65vh;
        height: 65svh;
        max-height: none;
    }

    .reel-inner {
        transform: scale(0.95);
        border-radius: 6px;
    }

    /* About — compact mobile spacing */
    .about {
        padding: 6rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-left {
        gap: 1.5rem;
    }

    .about-right h2 {
        margin-bottom: 2rem;
    }

    .about-body p {
        font-size: 1rem;
        line-height: 1.8;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    p {
        font-size: 0.95rem;
    }

    /* Big text — scale down, tighter padding */
    .big-text-section {
        padding: 3.5rem 0;
    }

    .big-text {
        font-size: clamp(2.5rem, 13vw, 5rem);
    }

    .big-text-dot {
        width: 5px;
        height: 5px;
    }

    /* Team — stacked cards, refined spacing */
    .team {
        padding: 6rem 0 8rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member-inner {
        padding: clamp(1.5rem, 5vw, 2.5rem);
    }

    .team-name {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
    }

    .team-bio {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .team-credit {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    /* Contact — elegant mobile spacing */
    .contact {
        padding: 6rem 0 6rem;
    }

    .contact-heading {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .contact-sub {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .contact-email {
        font-size: clamp(1rem, 4.5vw, 1.4rem);
    }

    /* Footer — stacked, centered */
    .footer {
        padding: 4rem 0 2.5rem;
    }

    .footer-statement {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .footer-icon {
        width: clamp(5rem, 18vw, 10rem);
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        justify-self: center;
    }

    .footer-back-top {
        justify-content: center;
    }

    .footer-copy {
        font-size: 0.7rem;
    }
}

/* ── Small phones ────────────────────────────────────────── */

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .about { padding: 4.5rem 0; }
    .team { padding: 4.5rem 0 6rem; }
    .contact { padding: 4.5rem 0; }

    .reel {
        aspect-ratio: auto;
        height: 60vh;
        height: 60svh;
        max-height: none;
    }

    .contact-heading {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .team-member-inner {
        padding: 1.25rem;
    }

    .big-text-section {
        padding: 2.5rem 0;
    }

    .footer-statement {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
}

/* ── Touch device cursor cleanup ─────────────────────────── */

@media (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }

    body, a, button, .team-member {
        cursor: auto;
    }
}
