/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    padding-top: var(--nav-h);
    position: relative; overflow: hidden;
}
.hero-panel {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 24px;
}
.hero-inner {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 72px var(--pad) 64px;
    text-align: center;
    position: relative; overflow: hidden;
}
.hero-inner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(232,84,26,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(232,84,26,0.06) 0%, transparent 45%);
    pointer-events: none;
}
.hero-inner::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border2);
    border-radius: 4px;
    padding: 6px 16px;
    margin-bottom: 28px;
    position: relative; z-index: 1;
}
.hero-eyebrow .tw-word-wrap {
    min-width: 95px; text-align: right; display: inline-block;
}
.hero-eyebrow .tw {
    color: #55D6F7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.hero-eyebrow .dot { color: #55D6F7; font-size: 18px; line-height: 1; }
.hero-h1 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(36px, 4.5vw, 56px); font-weight: 800;
    line-height: 1.12; letter-spacing: -0.01em;
    margin-bottom: 22px; color: var(--text);
    position: relative; z-index: 1;
}
.hero-h1 .accent { color: #FFB596; }
.hero-sub {
    font-size: 17px; color: var(--text2); line-height: 1.72;
    max-width: 560px; margin: 0 auto;
    position: relative; z-index: 1;
}

/* ─── TABS ───────────────────────────────────────────────── */
.tabs {
    display: flex; gap: 0; width: fit-content;
    border: 1px solid var(--border); border-radius: 4px;
    overflow: hidden; margin-bottom: 40px;
}
.tab {
    padding: 10px 24px; background: var(--bg2);
    font-family: 'Outfit', sans-serif;
    font-size: 12px; font-weight: 600; color: var(--text2);
    border: none; border-right: 1px solid var(--border);
    cursor: pointer; letter-spacing: 0.04em;
    transition: background 0.15s, color 0.15s;
}
.tab:last-child { border-right: none; }
.tab.active { background: var(--bg3); color: var(--orange); box-shadow: inset 0 -2px 0 var(--orange); }
.tab:not(.active):hover { background: var(--bg3); color: var(--text); }

/* ─── WORK CARDS ─────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.work-card.hidden { display: none; }
.work-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}
.work-card:hover { border-color: rgba(255,181,150,0.28); transform: translateY(-2px); }
.work-card.span-2 { grid-column: span 2; }
.work-card.span-3 { grid-column: 1 / -1; }
.wc-img {
    width: 100%; aspect-ratio: 16/9;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden; flex-shrink: 0;
}
.wc-img::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 32px 32px;
}
.wc-img::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,181,150,0.07) 0%, transparent 70%);
}
.work-card.span-2 .wc-img,
.work-card.span-3 .wc-img { aspect-ratio: 21/9; }
.wc-img-label {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; z-index: 1;
}
.wc-img-label span {
    font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text3); border: 1px solid var(--border);
    padding: 5px 12px; border-radius: 2px; background: rgba(10,10,10,0.55);
}
.wc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.wc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.wc-client {
    font-size: 10px; font-weight: 700; color: #55D6F7;
    letter-spacing: 0.1em; text-transform: uppercase;
    width: 100%;
}
.wc-tags { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; }
.wc-reg {
    display: inline-block;
    font-size: 9px; font-weight: 600; letter-spacing: 0.07em;
    color: #FFFFFF;
    background: rgba(83, 86, 91, 0.46);
    border: 0.5px solid rgba(122, 133, 153, 0.15);
    padding: 2px 8px; border-radius: 1px;
}
.wc-title {
    font-size: 15px; font-weight: 700; color: var(--text);
    letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px;
}
.wc-desc {
    font-size: 13px; color: var(--text2); line-height: 1.65;
    margin-bottom: 16px; flex: 1;
}
.wc-outcomes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.wc-outcome {
    display: inline-flex; align-items: baseline; gap: 6px;
    padding: 6px 10px; background: var(--bg);
    border-left: 2px solid #FFB596;
}
.wc-outcome .on {
    font-size: 12px; font-weight: 700; color: #FFB596;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.wc-outcome .ol { font-size: 11px; color: var(--text2); }
.wc-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600; color: #55D6F7;
    transition: gap 0.15s; margin-top: auto;
}
.wc-link:hover { gap: 8px; }
.wc-ref { opacity: 0.55; }

/* ─── CARD IMAGE ─────────────────────────────────────────── */
.wc-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: relative; z-index: 0;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section { background: var(--bg); padding: 100px 0; }
.cta-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 var(--pad);
    display: flex; align-items: center; gap: 40px;
    flex-wrap: wrap;
}
.cta-pill {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(20px, 2.5vw, 28px); font-weight: 800;
    color: var(--bg); line-height: 1.3;
    background: var(--orange);
    border-radius: 4px;
    padding: 24px 48px;
}
.cta-headline {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(32px, 4vw, 52px); font-weight: 800;
    color: var(--text); line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card.span-2, .work-card.span-3 { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .hero-panel { padding: 0 12px; }
    .hero-inner { padding: 56px 20px 48px; border-radius: 12px; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card.span-2, .work-card.span-3 { grid-column: auto; }
    .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .cta-pill { padding: 18px 32px; }
}
