/* /css/style.css */

/* ============================================
   ROOT TOKENS
============================================ */
:root {
    --white: #FAFAF8;
    --off-white: #F2F0EB;
    --dark: #1A1916;
    --dark-2: #25241F;
    --dark-3: #0E0D0B;
    --accent: #C8A96E;
    --accent-soft: #D4B985;
    --mid: #B8B0A0;
    --line: rgba(26, 25, 22, 0.10);
    --line-strong: rgba(26, 25, 22, 0.22);

    --display: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Syne', system-ui, sans-serif;
    --mono: 'DM Mono', 'Courier New', monospace;

    --max: 1440px;
    --gutter: clamp(1.5rem, 4vw, 4rem);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   RESET
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--dark); }

/* ============================================
   LOADER
============================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 4rem;
    color: var(--white);
    animation: loaderPulse 1.2s var(--ease-in-out) infinite;
}
.loader__mark span { color: var(--accent); }
@keyframes loaderPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1); }
}

/* ============================================
   CUSTOM CURSOR
============================================ */
.cursor {
    display: none;
    position: fixed;
    top: 0; left: 0;
    z-index: 10000;
    pointer-events: none;
    mix-blend-mode: difference;
}
.cursor__dot {
    width: 6px; height: 6px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: -3px; left: -3px;
    transition: transform 0.1s;
}
.cursor__ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    position: absolute;
    top: -18px; left: -18px;
    transition: transform 0.25s var(--ease-out), width 0.25s, height 0.25s, top 0.25s, left 0.25s;
}
body.cursor--hover .cursor__ring {
    width: 56px; height: 56px;
    top: -28px; left: -28px;
    border-color: var(--accent);
}
@media (pointer: fine) {
    .cursor { display: block; }
    body { cursor: none; }
    a, button, input, select, textarea, label { cursor: none; }
}

/* ============================================
   TYPOGRAPHY UTILS
============================================ */
.tag, .dm {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
}
em {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--dark);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.btn--primary { background: var(--dark); color: var(--white); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--dark); }
.btn--ghost:hover { background: var(--dark); color: var(--white); }
.btn--lg { padding: 1.15rem 2rem; font-size: 0.82rem; }
.btn svg { transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* ============================================
   LANG SWITCH
============================================ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line-strong);
    transition: border-color 0.3s;
    position: relative;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}
.lang-switch:hover { border-color: var(--accent); }
.lang-switch__active { color: var(--accent); font-weight: 500; }
.lang-switch__sep { color: var(--line-strong); }
.lang-switch__alt { color: var(--mid); }

/* ============================================
   NAV
============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.2rem var(--gutter);
    background: rgba(250, 250, 248, 0.72);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s, padding 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); padding-top: 0.8rem; padding-bottom: 0.8rem; }

.nav__inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--sans);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.nav__logo-mark { color: var(--accent); font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.3rem; }

.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s;
}
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 1rem; position: relative; z-index: 101; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav__burger span { display: block; width: 24px; height: 1px; background: var(--dark); transition: transform 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 9rem var(--gutter) 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(200, 169, 110, 0.06), transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(26, 25, 22, 0.03), transparent 50%),
        var(--white);
}

.hero__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    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.85' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.hero__line-deco {
    position: absolute;
    top: 50%; right: 8%;
    width: 1px; height: 40%;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.15;
}

.hero__meta {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 2;
}
.hero__meta--top .tag:first-child { color: var(--accent); }

.hero__content { position: relative; z-index: 2; max-width: 1100px; }

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 1.5rem;
}
.hero__eyebrow .line { display: inline-block; width: 50px; height: 1px; background: var(--mid); }

.hero__title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(3.2rem, 11vw, 11rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--dark);
}
.hero__title span { display: block; }
.hero__title em { display: inline-block; }

.hero__sub {
    margin-top: 1.8rem;
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: var(--dark);
    max-width: 560px;
    line-height: 1.4;
}

.hero__cta-row {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__location {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark);
}
.hero__location .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.2);
    animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(200, 169, 110, 0); }
}

.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid);
}
.hero__scroll svg { animation: bob 2s var(--ease-in-out) infinite; }
@keyframes bob {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(4px); opacity: 1; }
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION HEADER
============================================ */
.section__header {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 3rem;
    align-items: end;
    margin-bottom: 4rem;
}
.section__num {
    grid-row: 1 / 3;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    align-self: start;
    padding-top: 0.5rem;
}
.section__num--light { color: var(--accent); }
.section__title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--dark);
}
.section__lede {
    grid-column: 2;
    font-family: var(--display);
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--mid);
    max-width: 480px;
    margin-top: 0.8rem;
}

/* ============================================
   WORK
============================================ */
.work { padding: 7rem 0; background: var(--white); }

.work__grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

.project {
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.project.is-visible { opacity: 1; transform: translateY(0); }
.project:nth-child(odd) { margin-top: 0; }
.project:nth-child(even) { margin-top: 4rem; }

.project__thumb {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--dark);
    margin-bottom: 1.2rem;
}
.project:nth-child(even) .project__thumb { aspect-ratio: 16 / 11; }

.project__thumb--g1 { background: linear-gradient(135deg, #2a2823 0%, #1a1916 60%, #0d0c0a 100%); }
.project__thumb--g2 { background: linear-gradient(160deg, #3d3528 0%, #1f1c15 50%, #0a0907 100%); }
.project__thumb--g3 { background: linear-gradient(200deg, #1f2a2d 0%, #14181a 50%, #08090a 100%); }
.project__thumb--g4 { background: linear-gradient(125deg, #4a3a25 0%, #251d12 60%, #0d0a06 100%); }
.project__thumb--g5 { background: linear-gradient(180deg, #2d2520 0%, #1a1612 50%, #0a0807 100%); }
.project__thumb--g6 { background: linear-gradient(145deg, #38302a 0%, #1d1916 60%, #0c0a08 100%); }

.project__thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(200, 169, 110, 0.18), transparent 55%),
        radial-gradient(ellipse at 30% 80%, rgba(255, 255, 255, 0.04), transparent 60%);
    transition: opacity 0.6s;
}
.project__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    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.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.6;
}

.project__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: transform 0.8s var(--ease-out);
}
.project:hover .project__thumb img { transform: scale(1.04); }

.project__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 22, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    z-index: 2;
}
.project:hover .project__overlay { opacity: 1; }

.project__view {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out);
}
.project:hover .project__view { transform: translateY(0); }
.project__view-circle {
    width: 56px; height: 56px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project__featured {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 3;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--accent);
    background: rgba(26, 25, 22, 0.4);
}

.project__index {
    position: absolute;
    top: 1rem; right: 1rem;
    z-index: 3;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: rgba(250, 250, 248, 0.6);
}

.project__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.project__name {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.project__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; flex-shrink: 0; }
.project__tag {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.2rem 0.45rem;
    border: 1px solid rgba(200, 169, 110, 0.35);
    transition: background 0.3s, color 0.3s;
}
.project:hover .project__tag { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.project__desc {
    margin-top: 0.4rem;
    font-family: var(--display);
    font-weight: 300;
    font-size: 1rem;
    color: var(--mid);
    line-height: 1.4;
}

/* ============================================
   SERVICES
============================================ */
.services {
    padding: 7rem 0;
    background: var(--off-white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.services__list {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.service {
    display: grid;
    grid-template-columns: 100px 1fr 2fr auto;
    gap: 2.5rem;
    align-items: start;
    padding: 2.8rem 0;
    border-top: 1px solid var(--line-strong);
    transition: padding 0.5s var(--ease-out), background 0.5s;
    cursor: default;
    position: relative;
}
.service:last-child { border-bottom: 1px solid var(--line-strong); }
.service:hover { padding-left: 1.5rem; padding-right: 1.5rem; background: rgba(250, 250, 248, 0.6); }

.service__num { font-family: var(--mono); font-size: 0.9rem; color: var(--accent); letter-spacing: 0.05em; padding-top: 0.3rem; }
.service__name { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--dark); line-height: 1.1; letter-spacing: -0.01em; }
.service__desc { font-family: var(--display); font-weight: 300; font-size: 1.05rem; line-height: 1.5; color: var(--mid); max-width: 520px; padding-top: 0.5rem; }
.service__arrow { align-self: center; color: var(--dark); opacity: 0; transform: translateX(-10px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.service:hover .service__arrow { opacity: 1; transform: translateX(0); color: var(--accent); }

/* ============================================
   ABOUT
============================================ */
.about { padding: 8rem var(--gutter); background: var(--white); }
.about__grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about__left .section__num { display: block; margin-bottom: 1.5rem; padding: 0; }
.about__title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.about__photo {
    margin-top: 2.5rem;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid var(--line);
    position: relative;
}
.about__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.about__photo:hover img { transform: scale(1.03); }
.about__photo:empty::after {
    content: '';
    display: block;
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #38302a 0%, #1d1916 60%, #0c0a08 100%);
}

.about__body {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.about__body--muted { color: var(--mid); }

.about__stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}
.stat__num { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); line-height: 1; }
.stat__num sup { font-size: 0.5em; vertical-align: super; }
.stat__label { display: block; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }

/* ============================================
   CREW
============================================ */
.crew {
    padding: 7rem 0;
    background: var(--off-white);
    border-top: 1px solid var(--line);
}

.crew__grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
}

.crew__card { text-align: center; }
.crew__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--dark);
    margin-bottom: 1.2rem;
    position: relative;
}
.crew__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.6s, transform 0.6s var(--ease-out);
}
.crew__card:hover .crew__photo img { filter: grayscale(0%); transform: scale(1.03); }
.crew__photo:empty::after {
    content: '';
    display: block;
    width: 100%; height: 100%;
    background: linear-gradient(160deg, #3d3528 0%, #1f1c15 50%, #0a0907 100%);
}

.crew__name {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}
.crew__role {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ============================================
   CONTACT
============================================ */
.contact {
    padding: 8rem var(--gutter);
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.08), transparent 60%);
    pointer-events: none;
}
.contact__inner { max-width: 1100px; margin: 0 auto; position: relative; }
.contact__header { margin-bottom: 4rem; }
.contact__header .section__num { display: inline-block; margin-bottom: 1.2rem; padding: 0; }
.contact__title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--white);
    max-width: 900px;
}
.contact__title em { color: var(--accent); }
.contact__lede { margin-top: 1.5rem; font-family: var(--display); font-weight: 300; font-size: 1.2rem; color: var(--mid); }

.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.field--full { grid-column: 1 / -1; }

.field {
    position: relative;
    border-bottom: 1px solid rgba(250, 250, 248, 0.2);
    padding-bottom: 0.5rem;
    transition: border-color 0.3s;
}
.field:focus-within { border-bottom-color: var(--accent); }
.field label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.6rem; }
.field input, .field select, .field textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    font-family: var(--display);
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--white);
    outline: none;
    resize: vertical;
}
.field textarea { font-size: 1.1rem; line-height: 1.5; }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B8B0A0' fill='none' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.5rem center; padding-right: 2rem; }
.field select option { background: var(--dark); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(184, 176, 160, 0.5); }

.brief__submit { margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.brief__submit .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.brief__submit .btn--primary:hover { background: var(--white); border-color: var(--white); }
.brief__status { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--mid); }
.brief__status.is-success { color: var(--accent); }
.brief__status.is-error { color: #d97757; }

/* ============================================
   FOOTER
============================================ */
.footer { padding: 4rem var(--gutter) 2rem; background: var(--dark-2); color: var(--white); }
.footer__top {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250, 250, 248, 0.1);
}
.footer__logo { font-family: var(--sans); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 0.8rem; }
.footer__tagline { font-family: var(--display); font-weight: 300; font-style: italic; font-size: 1.15rem; color: var(--mid); max-width: 280px; }
.footer__nav { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__nav a { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); transition: color 0.3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__contact a { font-family: var(--display); font-weight: 300; font-size: 1.05rem; color: var(--white); transition: color 0.3s; }
.footer__contact a:hover { color: var(--accent); }
.footer__contact .dm { display: block; margin-bottom: 0.2rem; color: var(--mid); }
.footer__bottom {
    max-width: var(--max);
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
    .nav__links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 360px;
        height: 100vh; height: 100dvh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2.5rem;
        gap: 2rem;
        transition: right 0.5s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .nav__links.is-open { right: 0; }
    .nav__links a { font-size: 1.4rem; font-family: var(--display); font-weight: 300; text-transform: none; letter-spacing: 0; }
    .nav__burger { display: flex; }

    .hero__line-deco { display: none; }

    .work__grid { grid-template-columns: 1fr; gap: 3rem; }
    .project:nth-child(even) { margin-top: 0; }
    .project__thumb, .project:nth-child(even) .project__thumb { aspect-ratio: 4 / 5; }

    .service { grid-template-columns: 50px 1fr; gap: 0.5rem 1rem; padding: 2rem 0; }
    .service__num { grid-column: 1; grid-row: 1; padding-top: 0.4rem; }
    .service__name { grid-column: 2; grid-row: 1; }
    .service__desc { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-top: 0.3rem; color: var(--dark); opacity: 0.6; }
    .service__arrow { display: none; }
    .service:hover { padding-left: 0; padding-right: 0; }

    .about__grid { grid-template-columns: 1fr; gap: 2rem; }
    .about__photo { max-width: 400px; }
    .about__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    .crew__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; }

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

    .footer__top { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2rem; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }

    .section__header { grid-template-columns: 1fr; gap: 0.5rem; }
    .section__num { grid-row: 1; }
    .section__lede { grid-column: 1; }

    .hero__meta--bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .hero__scroll { flex-direction: row; }
}

@media (max-width: 540px) {
    .hero__title { font-size: clamp(2.8rem, 14vw, 5rem); }
    .hero__cta-row { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .stat__num { font-size: 1.8rem; }
    .project__meta { flex-direction: column; gap: 0.4rem; }
    .project__tags { justify-content: flex-start; }
}

@media (pointer: coarse) {
    .cursor { display: none !important; }
    body { cursor: auto; }
    a, button, input, select, textarea, label { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .loader { display: none; }
}
