/* =========================================================
   9TEEN.MEDIA — Main Stylesheet
   ========================================================= */

:root {
    --bg: #0C0C0C;
    --bg-2: #141414;
    --surface: #1A1A1A;
    --line: rgba(245, 240, 232, 0.12);
    --line-strong: rgba(245, 240, 232, 0.22);

    --ink: #F5F0E8;
    --ink-dim: rgba(245, 240, 232, 0.65);
    --ink-muted: rgba(245, 240, 232, 0.42);

    --accent: #D4FF4A;
    --accent-2: #FF8561;

    --wa-green: #25D366;
    --wa-green-deep: #128C7E;

    --font-display: 'Instrument Serif', 'Georgia', serif;
    --font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --radius: 14px;
    --radius-lg: 22px;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

.grain {
    position: fixed; inset: 0; pointer-events: none; z-index: 999;
    opacity: 0.05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.02em;
    font-size: clamp(3rem, 9vw, 8.5rem);
}
.display em { font-style: italic; color: var(--accent); }
.display--md { font-size: clamp(2.25rem, 6vw, 5rem); }

.mono-label, .meta-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
}
.mono-label.muted { color: var(--ink-muted); }

.section-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.section-num.dark { color: var(--bg); }
.section-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.35s var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--dark { background: var(--bg); color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--bg); }

.btn--outline-dark { border-color: rgba(12, 12, 12, 0.3); color: var(--bg); }
.btn--outline-dark:hover { background: var(--bg); color: var(--accent); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(12, 12, 12, 0.55);
    border-bottom: 1px solid var(--line);
}
.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}
.nav__logo-img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform 0.35s var(--ease);
}
.nav__logo:hover .nav__logo-img { transform: scale(1.05); }

.live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(212, 255, 74, 0.65); }
    70%  { box-shadow: 0 0 0 10px rgba(212, 255, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 255, 74, 0); }
}

.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
    font-size: 0.92rem;
    color: var(--ink-dim);
    position: relative;
    transition: color 0.3s var(--ease);
}
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav__cta .arrow { transition: transform 0.3s var(--ease); }
.nav__cta:hover .arrow { transform: translateX(3px) rotate(-45deg); }

.nav__toggle { display: none; width: 36px; height: 36px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    padding: 9rem clamp(1.25rem, 4vw, 3rem) 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: end;
    padding-bottom: 4rem;
}
.hero__headline { animation: fadeUp 1.1s var(--ease) both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero__sub {
    margin-top: 2rem;
    max-width: 52ch;
    color: var(--ink-dim);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.55;
}
.hero__ctas { margin-top: 2.25rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeUp 1.1s 0.3s var(--ease) both;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero__card:hover { border-color: var(--accent); transform: translateY(-4px); }

.card-row { display: flex; align-items: center; gap: 0.6rem; }
.card-row.between { justify-content: space-between; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.card-big { font-family: var(--font-display); font-size: 3rem; line-height: 1; font-style: italic; letter-spacing: -0.02em; }
.card-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.card-bar__fill { height: 100%; width: 62%; background: var(--accent); border-radius: 4px; }
.card-note { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.4; }

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
    margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem));
}
.marquee__track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: scroll 35s linear infinite;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    color: var(--ink-dim);
    padding-left: 2.5rem;
}
.marquee__track span { flex-shrink: 0; }
.marquee__track span:nth-child(even) {
    font-family: var(--font-body);
    color: var(--accent);
    font-size: 0.8em;
    align-self: center;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 8rem clamp(1.25rem, 4vw, 3rem) 6rem; }
.about__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 1.1rem; color: var(--ink-dim); font-size: 1.05rem; max-width: 44ch; padding-top: 1rem; }

.stats {
    grid-column: 1 / -1;
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}
.stat { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.stat__num sup { font-size: 0.4em; color: var(--accent); margin-left: 2px; }
.stat__label { margin-top: 0.6rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
    padding: 6rem clamp(1.25rem, 4vw, 3rem);
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.services__title { max-width: 18ch; margin-bottom: 3.5rem; }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }

.service {
    grid-column: span 2;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.45s var(--ease);
    cursor: pointer;
}
.service::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(212, 255, 74, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
    pointer-events: none;
}
.service:hover { border-color: var(--accent); transform: translateY(-4px); }
.service:hover::before { opacity: 1; }
.service:hover .service__icon { color: var(--accent); transform: rotate(-8deg) scale(1.1); }

.service--accent { grid-column: span 3; background: linear-gradient(135deg, var(--surface), var(--bg)); }
.service--wide   { grid-column: span 3; }

/* Clickable service card (Video & Photo → gallery page) */
.service--link { text-decoration: none; color: inherit; }
.service--link .service__cta {
    margin-top: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    align-self: flex-start;
    transition: all 0.35s var(--ease);
}
.service--link .service__cta .arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.service--link:hover .service__cta { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.service--link:hover .service__cta .arrow { transform: translateX(4px); }

.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.service__icon { width: 28px; height: 28px; color: var(--ink-dim); transition: all 0.45s var(--ease); }
.service__name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: auto;
}
.service__desc { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.5; max-width: 40ch; }
.service__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.service__tags span {
    padding: 4px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

/* =========================================================
   WORK / PORTFOLIO
   ========================================================= */
.work { padding: 8rem clamp(1.25rem, 4vw, 3rem) 6rem; }
.work__title { max-width: 16ch; margin-bottom: 3.5rem; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 1rem; }

.project {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.project:hover { transform: translateY(-4px); border-color: var(--accent); }

.project--lg   { grid-column: span 2; }
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }

.project__img {
    position: absolute; inset: 0;
    overflow: hidden;
    background: var(--bg-2);
}

.project__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 2;
    transition: transform 1.1s var(--ease), filter 0.5s var(--ease);
    filter: saturate(0.95) brightness(0.9);
}
.project:hover .project__img img {
    transform: scale(1.04);
    filter: saturate(1.05) brightness(0.95);
}

.project__fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem;
    overflow: hidden;
    transition: transform 0.6s var(--ease);
}

.project__fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 70% 50%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 70% 50%, black, transparent 75%);
    pointer-events: none;
}

.project__fallback::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 65%);
    pointer-events: none;
}

.project:hover .project__fallback { transform: scale(1.03); }

.fallback-url {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.fallback-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.fallback-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

/* Per-site theme gradients */
.project__fallback[data-theme="infra"] {
    background:
        radial-gradient(circle at 20% 20%, #2a4a7a 0%, transparent 50%),
        linear-gradient(135deg, #0f1e3a 0%, #1a2f52 50%, #0a1428 100%);
}
.project__fallback[data-theme="interior"] {
    background:
        radial-gradient(circle at 80% 30%, #b08968 0%, transparent 55%),
        linear-gradient(135deg, #5a3a2a 0%, #7a4e36 50%, #3d2818 100%);
}
.project__fallback[data-theme="abs"] {
    background:
        radial-gradient(circle at 30% 80%, #ff7a3c 0%, transparent 50%),
        linear-gradient(135deg, #8b3a1a 0%, #c95a28 50%, #5a2410 100%);
}
.project__fallback[data-theme="ngi"] {
    background:
        radial-gradient(circle at 70% 20%, #c63d8a 0%, transparent 55%),
        linear-gradient(145deg, #3a1557 0%, #6b1e74 50%, #1e0830 100%);
}
.project__fallback[data-theme="nip"] {
    background:
        radial-gradient(circle at 70% 70%, #2d8870 0%, transparent 55%),
        linear-gradient(135deg, #0f3a34 0%, #1a5247 50%, #082622 100%);
}

.project__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,12,12,0.92) 0%, rgba(12,12,12,0.3) 55%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.project__meta {
    position: relative;
    z-index: 4;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: transform 0.5s var(--ease);
}
.project:hover .project__meta { transform: translateY(-4px); }

.project__cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.project__name { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.project__year { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); margin-top: 0.3rem; }

.project--archive {
    background: linear-gradient(135deg, var(--accent), #a8d83a);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 0;
    transition: all 0.5s var(--ease);
}
.project--archive:hover {
    background: linear-gradient(135deg, var(--ink), #e8e1d0);
    transform: translateY(-4px);
    border: 0;
}
.project__archive-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.archive-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--bg);
}
.archive-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(12, 12, 12, 0.8);
    margin-top: 0.25rem;
    line-height: 1.5;
}
.archive-cta {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(12, 12, 12, 0.35);
    border-radius: 999px;
    transition: all 0.3s var(--ease);
}
.project--archive:hover .archive-cta {
    background: var(--bg);
    color: var(--accent);
    border-color: var(--bg);
}
.project--archive:hover .archive-cta .arrow { transform: translateX(4px); }

.work__foot {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.work__foot-text {
    max-width: 60ch;
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================================
   SHOOTS / LENS WORK
   ========================================================= */
.shoots {
    padding: 8rem clamp(1.25rem, 4vw, 3rem) 6rem;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.shoots__title { max-width: 18ch; margin-bottom: 1.25rem; }
.shoots__sub {
    max-width: 58ch;
    color: var(--ink-dim);
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    margin-bottom: 3.5rem;
    line-height: 1.55;
}
.shoots__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 340px;
    gap: 1rem;
}

.shoot {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
    cursor: pointer;
}
.shoot:hover { transform: translateY(-4px); border-color: var(--accent); }
.shoot--tall { grid-row: span 2; }
.shoot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter 0.5s var(--ease);
    filter: saturate(0.95) brightness(0.92);
}
.shoot:hover img {
    transform: scale(1.05);
    filter: saturate(1.05) brightness(1);
}
.shoot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,12,12,0.88) 0%, rgba(12,12,12,0.15) 45%, transparent 100%);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.4s var(--ease);
}
.shoot:hover::after { opacity: 1; }
.shoot figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.4rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(0);
    transition: transform 0.5s var(--ease);
}
.shoot:hover figcaption { transform: translateY(-4px); }
.shoot__cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.shoot__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
}
.shoots__foot {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
    padding: 6rem clamp(1.25rem, 4vw, 3rem);
    background: var(--bg);
}

/* ---------- Video reel strip inside testimonials ---------- */
.reel-strip {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}
.reel-strip__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.reel-strip__title {
    max-width: 18ch;
    margin-top: 0.8rem;
}
.reel-strip__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.reel-strip__link .arrow { transition: transform 0.3s var(--ease); }
.reel-strip__link:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.reel-strip__link:hover .arrow { transform: translateX(4px); }

.reel-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.reel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    aspect-ratio: 9 / 16;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
    cursor: pointer;
}
.reel:hover { border-color: var(--accent); transform: translateY(-4px); }
.reel video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.reel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,12,12,0.85) 0%, rgba(12,12,12,0.1) 45%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s var(--ease);
}
.reel:hover::after { opacity: 0.9; }

.reel__sound {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(12, 12, 12, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}
.reel__sound:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
}

.reel figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.5s var(--ease);
}
.reel:hover figcaption { transform: translateY(-3px); }
.reel__cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.reel__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--ink);
    font-weight: 400;
}

/* ---------- Existing testimonials ---------- */
.testimonials__title { max-width: 20ch; margin-bottom: 3.5rem; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.quote {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: all 0.4s var(--ease);
}
.quote:hover { border-color: var(--accent); transform: translateY(-4px); }
.quote__stars { color: var(--accent); letter-spacing: 3px; font-size: 0.9rem; }
.quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.35;
    font-style: italic;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.quote figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    margin-top: auto;
}
.quote figcaption img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}
.quote figcaption strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.quote figcaption span { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); margin-top: 2px; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
    background: var(--accent);
    color: var(--bg);
    padding: 7rem clamp(1.25rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(12,12,12,0.08), transparent 70%);
    pointer-events: none;
}
.cta__inner { max-width: 1100px; margin: 0 auto; text-align: left; position: relative; z-index: 1; }
.cta__headline {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 11vw, 10rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 1.5rem 0 2rem;
}
.cta__headline em {
    font-style: italic;
    color: var(--bg);
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
    text-decoration-color: var(--bg);
}
.cta__sub { max-width: 50ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(12, 12, 12, 0.75); margin-bottom: 2.5rem; }
.cta__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); padding: 5rem clamp(1.25rem, 4vw, 3rem) 1.5rem; }
.footer__top {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}
.footer__logo-img {
    height: 130px;
    width: auto;
    margin-bottom: 1.25rem;
    transition: transform 0.4s var(--ease);
}
.footer__logo-img:hover { transform: scale(1.03); }
.footer__brand p { color: var(--ink-dim); font-size: 0.95rem; line-height: 1.5; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.footer__cols div a {
    display: block;
    color: var(--ink-dim);
    font-size: 0.95rem;
    padding: 0.35rem 0;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__cols div a:hover { color: var(--ink); transform: translateX(4px); }

.footer__wordmark {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(4rem, 18vw, 18rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    text-align: center;
    padding: 3rem 0 2rem;
    user-select: none;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* =========================================================
   STICKY WHATSAPP BUTTON
   ========================================================= */
.wa-sticky {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 14px 22px 14px 16px;
    background: var(--wa-green);
    color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4),
                0 2px 6px rgba(0, 0, 0, 0.25);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
    animation: wa-fade-in 0.7s var(--ease) 0.9s both;
}
.wa-sticky:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--wa-green-deep);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55),
                0 4px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}
.wa-sticky:active {
    transform: translateY(-1px) scale(1.02);
}

.wa-sticky__icon {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.wa-sticky__label {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

/* Pulsing ring behind the button */
.wa-sticky__ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--wa-green);
    opacity: 0.55;
    animation: wa-pulse 2.4s infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);    opacity: 0.55; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
@keyframes wa-fade-in {
    from { opacity: 0; transform: translateY(14px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__card { max-width: 340px; }
    .about__grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service, .service--accent, .service--wide { grid-column: span 1; }

    .work__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }
    .project--lg, .project--wide { grid-column: span 2; }
    .project--tall { grid-row: span 1; }
    .project--archive { grid-column: span 2; }

    .shoots__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    /* reel strip → 2 cols on tablet */
    .reel-strip__grid { grid-template-columns: repeat(2, 1fr); }

    .testimonials__grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 2rem; }
    .footer__logo-img { height: 110px; }
}

@media (max-width: 700px) {
    .nav__logo-img { height: 46px; }
    .nav__links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease);
    }
    .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav__links a { font-size: 1.15rem; color: var(--ink); }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }

    .hero { padding-top: 7rem; min-height: auto; }
    .hero__meta { font-size: 10px; }

    .services__grid { grid-template-columns: 1fr; }
    .service { grid-column: span 1; min-height: 240px; }

    .work__grid { grid-template-columns: 1fr; }
    .project--lg, .project--wide, .project--archive { grid-column: span 1; }

    .shoots__grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .shoot--tall { grid-row: span 1; }

    /* reel strip → horizontal scroll on mobile */
    .reel-strip__grid {
        grid-template-columns: repeat(4, 70%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        scrollbar-width: none;
    }
    .reel-strip__grid::-webkit-scrollbar { display: none; }
    .reel-strip__grid .reel { scroll-snap-align: start; }

    .footer__cols { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; }
    .footer__logo-img { height: 85px; }

    .fallback-name { font-size: 2rem; }
    .project__fallback { padding: 1.75rem; }

    /* Sticky WhatsApp — icon only on mobile */
    .wa-sticky {
        padding: 14px;
        bottom: 18px;
        right: 18px;
        gap: 0;
    }
    .wa-sticky__label { display: none; }
    .wa-sticky__icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee__track { animation: none; }
    .auto-reel { display: none; }
    .wa-sticky__ring { display: none; }
}