/* ============================================
   Trendsculpt — Black & Neon Green Theme
   ============================================ */

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

:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #161616;
    --ink: #f5f5f3;
    --muted: #8a8a85;
    --line: #1f1f1f;
    --line-2: #2a2a2a;
    --accent: #b6ff3c;        /* neon green */
    --accent-2: #d4ff7a;      /* lighter neon */
    --accent-glow: rgba(182, 255, 60, 0.35);
    --max: 1200px;
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 18px 40px -16px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 30px rgba(182,255,60,0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.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; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; color: var(--accent); }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 600;
    box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-2);
    box-shadow: 0 0 24px var(--accent-glow);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,10,0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 24px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}
.nav__logo-img {
    height: 36px;
    width: auto;
    display: block;
}
.nav__logo-mark {
    color: var(--accent);
    font-size: 1.1rem;
    text-shadow: 0 0 12px var(--accent-glow);
}
.nav__links {
    display: flex;
    gap: 32px;
}
.nav__links a {
    font-size: 0.92rem;
    color: var(--muted);
    transition: color .2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__menu { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav__menu span { width: 22px; height: 2px; background: var(--ink); display:block; }

/* ---------- Hero ---------- */
.hero {
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--muted);
    background: var(--bg-2);
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
}
.hero__badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(182,255,60,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(182,255,60,0.05); }
}
.hero__title {
    font-size: clamp(2.8rem, 6.6vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 600;
    max-width: 14ch;
    color: var(--ink);
}
.hero__title em { color: var(--accent); }
.hero__sub {
    margin-top: 24px;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 56ch;
}
.hero__cta {
    margin-top: 36px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__marquee {
    margin-top: 90px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero__marquee-track {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    align-items: center;
}
.hero__marquee-track .sep { color: var(--accent); }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */
.section__head { margin-bottom: 56px; max-width: 800px; }
.section__head--center { margin: 0 auto 56px; text-align: center; }
.section__head--row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.section__eyebrow {
    display: block;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}
.section__title {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--ink);
}

/* ---------- Clients ---------- */
.clients { padding: 110px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.clients__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}
.client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .25s, color .25s;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
}
.client:nth-child(6n) { border-right: 0; }
.client:nth-last-child(-n+6) { border-bottom: 0; }
.client:hover { background: var(--accent); color: var(--bg); }
.client__mark { font-size: 1.1rem; color: var(--accent); transition: color .25s; }
.client:hover .client__mark { color: var(--bg); }
.clients__note {
    text-align: center;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

/* ---------- Services ---------- */
.services { padding: 110px 0; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.card {
    background: var(--bg);
    padding: 36px 32px;
    transition: background .25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
}
.card:hover { background: var(--bg-2); }
.card--accent {
    background: var(--accent);
    color: var(--bg);
}
.card--accent .card__num { color: var(--bg); }
.card--accent .card__text,
.card--accent .card__list { color: rgba(10,10,10,0.75); }
.card--accent .card__list li::before { color: var(--bg); }
.card__num {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}
.card__title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.card--accent .card__title { color: var(--bg); }
.card__text { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
}
.card__list li::before {
    content: "→";
    color: var(--accent);
    margin-right: 8px;
    font-weight: 600;
}

/* ---------- Stats ---------- */
.stats { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat__num {
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 20px var(--accent-glow);
}
.stat__label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'JetBrains Mono', monospace;
}

/* ---------- Portfolio ---------- */
.portfolio { padding: 110px 0; }
.portfolio__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter {
    padding: 8px 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}
.pf-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    grid-row: span calc(var(--h, 1) * 2);
    cursor: pointer;
}
.pf-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.pf-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}
.pf-visual--1 { background: linear-gradient(135deg, #1a1a1a 0%, var(--accent) 100%); }
.pf-visual--2 { background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%); }
.pf-visual--3 { background: linear-gradient(135deg, var(--accent) 0%, #6fb022 100%); }
.pf-visual--4 { background: linear-gradient(135deg, #1f1f1f 0%, #3a3a3a 100%); }
.pf-visual--5 { background: linear-gradient(135deg, #2a2a2a 0%, var(--accent) 150%); }
.pf-visual--6 { background: linear-gradient(135deg, #0a0a0a 0%, var(--accent) 200%); }
.pf-visual--7 { background: linear-gradient(135deg, #161616 0%, #161616 50%, var(--accent) 200%); }
.pf-visual--8 { background: linear-gradient(135deg, var(--accent) 0%, #0a0a0a 100%); }

.pf-tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 12px;
    background: rgba(10,10,10,0.85);
    border: 1px solid var(--line-2);
    color: var(--ink);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(6px);
}
.pf-stat {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: var(--ink);
}
.pf-visual--3 .pf-stat,
.pf-visual--8 .pf-stat { color: var(--bg); }
.pf-stat__num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}
.pf-stat__label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}
.pf-visual--3 .pf-stat__label,
.pf-visual--8 .pf-stat__label { color: rgba(10,10,10,0.7); }
.pf-meta {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}
.pf-meta h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.pf-meta p { font-size: 0.82rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.portfolio__more {
    margin-top: 48px;
    text-align: center;
}

/* ---------- Process ---------- */
.process { padding: 110px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.process__list li {
    display: flex;
    gap: 24px;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}
.process__list li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; margin-right: 32px; }
.process__step {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    min-width: 48px;
    font-family: 'JetBrains Mono', monospace;
}
.process__list h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.process__list p { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }

/* ---------- Quote ---------- */
.quote { padding: 120px 0; }
.quote__text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.25;
    font-weight: 500;
    max-width: 28ch;
    margin: 0 auto;
    text-align: center;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.quote__text em { color: var(--accent); }
.quote__author {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}
.quote__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: grid; place-items: center;
    font-weight: 700;
}
.quote__name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.quote__role { font-size: 0.85rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ---------- CTA ---------- */
.cta { padding: 60px 0 120px; }
.cta__inner {
    background: var(--bg-2);
    color: var(--ink);
    border-radius: 28px;
    padding: 72px 56px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
    border: 1px solid var(--line-2);
    position: relative;
    overflow: hidden;
}
.cta__inner::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}
.cta__inner > * { position: relative; z-index: 1; }
.cta__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--ink);
}
.cta__title em { color: var(--accent); }
.cta__text {
    margin-top: 18px;
    color: var(--muted);
    max-width: 40ch;
}
.cta__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cta__form input,
.cta__form textarea {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    color: var(--ink);
    padding: 14px 16px;
    border-radius: 12px;
    font: inherit;
    resize: vertical;
    transition: border-color .2s, background .2s;
}
.cta__form input::placeholder,
.cta__form textarea::placeholder { color: var(--muted); }
.cta__form input:focus,
.cta__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
}
.cta__form .btn--primary {
    background: var(--accent);
    color: var(--bg);
    margin-top: 6px;
}
.cta__form .btn--primary:hover {
    background: var(--accent-2);
    box-shadow: 0 0 28px var(--accent-glow);
}
.cta__success {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}
.cta__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line-2);
}
.cta__label {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}
.cta__contact a,
.cta__contact span { color: var(--ink); font-size: 0.95rem; }
.cta__contact a:hover { color: var(--accent); }
.cta__socials { display: flex; gap: 10px; }
.cta__socials a {
    width: 36px; height: 36px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: background .2s, border-color .2s, color .2s;
}
.cta__socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 60px; border-top: 1px solid var(--line); }
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 0.88rem;
    font-family: 'JetBrains Mono', monospace;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}
.footer__logo-img {
    height: 40px;
    width: auto;
    display: block;
}
.footer__brand .nav__logo-mark { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .clients__grid { grid-template-columns: repeat(4, 1fr); }
    .client:nth-child(6n) { border-right: 1px solid var(--line); }
    .client:nth-child(4n) { border-right: 0; }
    .client:nth-last-child(-n+6) { border-bottom: 1px solid var(--line); }
    .client:nth-last-child(-n+4) { border-bottom: 0; }
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .nav__menu { display: flex; }
    .nav__menu span { background: var(--ink); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process__list { grid-template-columns: 1fr; }
    .process__list li:nth-child(odd) { border-right: 0; padding-right: 0; margin-right: 0; }
    .cta__inner { grid-template-columns: 1fr; padding: 48px 32px; }
    .cta__contact { grid-template-columns: 1fr; gap: 24px; }
    .hero { padding: 70px 0 50px; }
    .services, .portfolio, .process, .quote, .clients { padding: 80px 0; }
}

@media (max-width: 600px) {
    .services__grid { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .pf-item { grid-row: span calc(var(--h, 1) * 1); }
    .clients__grid { grid-template-columns: repeat(2, 1fr); }
    .client:nth-child(4n) { border-right: 1px solid var(--line); }
    .client:nth-child(2n) { border-right: 0; }
    .client:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .client:nth-last-child(-n+2) { border-bottom: 0; }
    .hero__title { font-size: 2.6rem; }
    .container { padding: 0 20px; }
}
