:root {
    --bg: #080808;
    --bg-2: #0e0e0e;
    --card: #111111;
    --card-hover: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.26);
    --text: #f4f4f4;
    --muted: #a6a6a6;
    --dim: #6a6a6a;
    --white: #ffffff;
    --r: 9px;
    --r-sm: 7px;
    --pill: 999px;
    --fd: 'Geist', system-ui, sans-serif;
    --fb: 'Inter', system-ui, sans-serif;
    --fm: 'Geist Mono', ui-monospace, monospace;
    --max: 1080px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fb);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

::selection { background: rgba(255, 255, 255, 0.18); color: #fff; }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d1d1d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2c2c2c; }

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

/* grain + glow */
.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* static dot-grid texture (the roaming spotlight read as ai — gone) */
.bg-fx {
    position: fixed;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-fx::before {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* nav */
/* top status banner */
.top-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    font-family: var(--fm);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.tb-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #c98f1a;
    box-shadow: 0 0 8px rgba(201, 143, 26, 0.5);
}

.nav {
    position: fixed;
    top: 34px; left: 0; right: 0;
    z-index: 100;
    height: 62px;
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border-bottom: 1px solid transparent;
    transition: background 400ms var(--ease), border-color 400ms var(--ease);
}
.nav.scrolled {
    background: rgba(8, 8, 8, 0.85);
    border-bottom-color: var(--border);
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--fd);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-pfp { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; filter: grayscale(1); transition: filter 300ms var(--ease); }
.nav-logo:hover .nav-pfp { filter: grayscale(0); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 0.88rem; color: var(--muted); transition: color 200ms var(--ease); position: relative; }
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 1px; background: var(--white); transition: width 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    background: var(--white);
    color: #080808 !important;
    padding: 8px 16px;
    border-radius: var(--pill);
    font-weight: 500;
    transition: transform 250ms var(--ease), background 250ms var(--ease);
}
.nav-cta:hover { background: #fff; }

/* layout */
main { position: relative; z-index: 2; }
.section { padding: 84px 0; position: relative; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
    font-family: var(--fm);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dim);
    display: inline-block;
    margin-bottom: 16px;
}
.section-head { margin-bottom: 52px; }
.section-title {
    font-family: var(--fd);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

/* hero */
.hero {
    min-height: 86vh;
    display: flex;
    align-items: center;
    padding: 116px 0 56px;
    position: relative;
    overflow: hidden;
}
/* giant ghost word bleeding off the edge */
.hero-ghost {
    position: absolute;
    right: -4%;
    bottom: -16%;
    font-family: var(--fd);
    font-weight: 900;
    font-size: clamp(14rem, 38vw, 38rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; width: 100%; position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: center;
}
.hero-text { min-width: 0; }
.hero-aside { width: 360px; max-width: 100%; justify-self: end; }
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-aside { width: 100%; max-width: 360px; justify-self: start; }
}

.hero-id {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}
.hero-pfp {
    width: 58px; height: 58px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid var(--border);
    filter: grayscale(1) contrast(1.05);
    transition: filter 400ms var(--ease), transform 400ms var(--ease), border-color 300ms var(--ease);
}
.hero-pfp:hover {
    filter: grayscale(0);
    transform: rotate(-3deg) scale(1.04);
    border-color: var(--border-hover);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--fm);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 7px 14px;
    border-radius: var(--pill);
}
.status-pill .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
    font-family: var(--fd);
    font-size: clamp(2.6rem, 7.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    max-width: 16ch;
}
.hero-title .hl {
    color: var(--dim);
    background: linear-gradient(110deg, #fff 30%, #777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* word-rise reveal */
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.hero-title .w.hl .wi {
    background: linear-gradient(110deg, #fff 30%, #777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #999;
}
.hero-title .wi {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 720ms var(--ease);
}
.hero-title.lit .wi { transform: translateY(0); }
.hero-lead {
    margin-top: 26px;
    font-size: 1.12rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 52ch;
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 13px 22px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    transition: transform 250ms var(--ease), background 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease);
}
.btn svg { width: 17px; height: 17px; stroke-width: 1.9; }
.btn-primary { background: var(--white); color: #080808; border-color: var(--white); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1); }
.btn-primary i { transition: transform 250ms var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }
.btn-ghost { background: var(--card); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-on, rgba(255,255,255,.4)); background: var(--card-hover); }

.hero-meta { margin-top: 52px; display: flex; align-items: center; gap: 26px; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-item strong { font-family: var(--fd); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.meta-item span { font-family: var(--fm); font-size: 0.72rem; color: var(--dim); letter-spacing: 0.03em; }
.meta-sep { width: 1px; height: 34px; background: var(--border); }

/* marquee */
.marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    overflow: hidden;
    background: var(--bg-2);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    font-family: var(--fd);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--muted);
    white-space: nowrap;
    /* spacing baked into each item so the loop stays seamless */
    padding: 0 14px;
}
.marquee-track .m-dot { color: var(--dim); font-size: 0.7rem; padding: 0 14px; }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* services */
/* about */
.about-section { padding-top: 90px; padding-bottom: 90px; }
.about-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
.about-label { padding-top: 6px; }
.about-body p {
    font-size: 1.18rem;
    line-height: 1.6;
    color: var(--muted);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    max-width: 60ch;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body p:first-child { color: var(--text); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.svc-card {
    padding: 6px 4px 0;
    transition: none;
    display: flex;
    flex-direction: column;
    position: relative;
}
.svc-card::after { content: none; }
.svc-card:hover { background: transparent; }
.svc-no {
    position: absolute;
    top: 18px; right: 20px;
    font-family: var(--fm);
    font-size: 0.72rem;
    color: var(--dim);
    letter-spacing: 0.05em;
}
.svc-icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    margin-bottom: 20px;
    transition: border-color 350ms var(--ease), background 350ms var(--ease);
}
.svc-icon svg { width: 20px; height: 20px; stroke: var(--muted); stroke-width: 1.6; transition: stroke 350ms var(--ease); }
.svc-card:hover .svc-icon { border-color: var(--border-hover); background: var(--bg-2); }
.svc-card:hover .svc-icon svg { stroke: var(--white); }
.svc-card h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.svc-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; flex: 1; }
.svc-price {
    margin-top: 20px;
    font-family: var(--fm);
    font-size: 0.82rem;
    color: var(--text);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* work */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.work-card {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    transition: none;
}
a.work-card:hover {
    background: transparent;
}
.work-preview {
    aspect-ratio: 16 / 10;
    background-color: #121212;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 15px 15px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    position: relative;
}
.work-preview { transition: background-position 600ms var(--ease); }
a.work-card:hover .work-preview { background-position: 7px 7px; }
.work-preview::after {
    content: attr(data-glyph);
    font-family: var(--fm);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--dim);
    opacity: 0.5;
    letter-spacing: 0.06em;
    transition: opacity 400ms var(--ease), color 400ms var(--ease), transform 500ms var(--ease), letter-spacing 500ms var(--ease);
}
a.work-card:hover .work-preview::after { opacity: 0.92; color: var(--text); transform: translateY(-2px); letter-spacing: 0.12em; }
.work-dashed { background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px); }
.work-status {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--fm); font-size: 0.62rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted);
    background: rgba(8, 8, 8, 0.88);
    border: 1px solid var(--border);
    padding: 5px 10px; border-radius: var(--pill);
}
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.work-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.work-tag { font-family: var(--fm); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--dim); }
.work-arrow { font-family: var(--fm); font-size: 0.98rem; line-height: 1; color: var(--dim); opacity: 0; transform: translate(-3px, 3px); transition: all 300ms var(--ease); }
a.work-card:hover .work-arrow { opacity: 1; transform: translate(0, 0); color: var(--text); }
.work-body h3 { font-family: var(--fd); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 7px; }
.work-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; flex: 1; }
.work-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.work-stack span {
    font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.03em;
    color: var(--dim); border: 1px solid var(--border);
    padding: 3px 9px; border-radius: var(--pill);
}
.work-soon { border-style: dashed; border-color: rgba(255, 255, 255, 0.09); }
.work-soon h3 { color: var(--muted); }
.work-inline { margin-top: 16px; font-family: var(--fm); font-size: 0.78rem; color: var(--text); transition: color 250ms var(--ease); }
.work-inline:hover { color: var(--white); }
/* live mesh preview for the meshgen card - smooth, slowly drifting */
.work-mesh {
    background-color: #181820 !important;
    background-image:
        radial-gradient(60% 60% at 22% 28%, rgba(140, 110, 255, 0.85), transparent 70%),
        radial-gradient(55% 55% at 80% 22%, rgba(255, 110, 170, 0.75), transparent 70%),
        radial-gradient(65% 65% at 65% 82%, rgba(110, 200, 255, 0.8), transparent 72%),
        radial-gradient(50% 50% at 40% 60%, rgba(255, 200, 120, 0.55), transparent 70%) !important;
    background-size: 180% 180% !important;
    background-position: 0% 0% !important;
    filter: saturate(0.92) brightness(0.95);
    animation: meshDrift 14s ease-in-out infinite alternate;
}
.work-mesh::after { content: '' !important; }
@keyframes meshDrift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
/* component smith preview - a live mini button on a grid */
.work-comp {
    background-color: #0c0c0c !important;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) !important;
    background-size: 18px 18px !important;
}
.work-comp::after { content: '' !important; }
.comp-chip {
    padding: 11px 22px;
    border-radius: 8px;
    background: #f4f4f4;
    color: #0b0b0b;
    font-family: var(--fd, 'Geist', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 22px -6px rgba(0,0,0,.5);
    transition: transform 400ms var(--ease), border-radius 400ms var(--ease);
}
a.work-card:hover .comp-chip {
    transform: translateY(-3px);
    border-radius: 999px;
}
/* reflex preview - green go-pad glow */
.work-reflex {
    background: #15171a !important;
    background-size: auto !important;
}
.work-reflex::after {
    color: #3ddc84 !important;
    opacity: 0.9 !important;
    font-weight: 700;
    text-shadow: 0 0 22px rgba(61,220,132,0.55);
    animation: reflexPulse 2.2s var(--ease) infinite;
}
@keyframes reflexPulse {
    0%, 100% { opacity: 0.5; text-shadow: 0 0 14px rgba(61,220,132,0.35); }
    50%      { opacity: 0.95; text-shadow: 0 0 28px rgba(61,220,132,0.65); }
}
.work-note {
    margin-top: 26px;
    font-family: var(--fm);
    font-size: 0.86rem;
    color: var(--dim);
}
.work-note a { color: var(--text); border-bottom: 1px solid var(--border); transition: border-color 250ms var(--ease); }
.work-note a:hover { border-color: var(--white); }

/* process - editorial numbered rows, not boxes */
.process-list { display: flex; flex-direction: column; }
.proc-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 28px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    align-items: start;
    transition: padding-left 350ms var(--ease);
}
.proc-row:last-child { border-bottom: 1px solid var(--border); }
.proc-row:hover { padding-left: 12px; }
.proc-num {
    font-family: var(--fd);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px var(--dim);
    line-height: 0.8;
    transition: -webkit-text-stroke-color 350ms var(--ease), color 350ms var(--ease);
}
.proc-row:hover .proc-num { -webkit-text-stroke-color: var(--muted); }
.proc-row h3 { font-family: var(--fd); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.proc-row p { font-size: 0.96rem; color: var(--muted); line-height: 1.6; max-width: 56ch; }

/* contact */
.contact-section { padding-bottom: 130px; }
.cta-box {
    padding: 16px 12px 0;
    text-align: center;
    position: relative;
}
.cta-box .eyebrow { position: relative; }
.cta-title {
    font-family: var(--fd);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 16px;
    position: relative;
}
.cta-lead { font-size: 1.05rem; color: var(--muted); max-width: 48ch; margin: 0 auto; line-height: 1.6; position: relative; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.socials { margin-top: 34px; display: flex; gap: 12px; justify-content: center; position: relative; }
.socials a {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    transition: all 250ms var(--ease);
}
.socials a:hover { color: var(--white); border-color: var(--border-on, rgba(255,255,255,.4)); background: var(--card-hover); }
.socials svg { width: 17px; height: 17px; }
.socials a:not(:has(svg)) i, .socials i { width: 17px; height: 17px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; position: relative; z-index: 2; }
.footer-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--fm); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.03em;
}
.footer-rat-wrap { display: inline-flex; align-items: center; gap: 9px; }
.footer-rat { width: 22px; height: 22px; border-radius: 6px; filter: grayscale(1) brightness(0.8); opacity: 0.6; transition: all 300ms var(--ease); }
.footer-rat-wrap:hover .footer-rat { opacity: 1; filter: grayscale(0); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* work + service cards get a richer entrance: rise + slight scale + clip wipe */
.work-card[data-reveal], .svc-card[data-reveal] {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    clip-path: inset(0 0 8% 0 round var(--r));
    transition: opacity 650ms var(--ease), transform 650ms var(--ease), clip-path 650ms var(--ease);
}
.work-card[data-reveal].in, .svc-card[data-reveal].in {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0 0 round var(--r));
}
/* stagger across each grid row */
.services-grid [data-reveal].in:nth-child(2), .work-grid [data-reveal].in:nth-child(2), .process-list [data-reveal].in:nth-child(2) { transition-delay: 80ms; }
.services-grid [data-reveal].in:nth-child(3), .work-grid [data-reveal].in:nth-child(3), .process-list [data-reveal].in:nth-child(3) { transition-delay: 160ms; }
.work-grid [data-reveal].in:nth-child(4) { transition-delay: 80ms; }
.work-grid [data-reveal].in:nth-child(5) { transition-delay: 160ms; }

/* responsive */
@media (max-width: 880px) {
    .services-grid, .work-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.nav-cta) { display: none; }
    .section { padding: 80px 0; }
    .hero-ghost { font-size: 30vw; bottom: -8%; }
    .about-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-body p { font-size: 1.05rem; }
}
@media (max-width: 560px) {
    .hero-meta { gap: 16px; flex-wrap: wrap; }
    .meta-sep { display: none; }
    .cta-box { padding: 44px 24px; }
    .hero { min-height: auto; padding: 110px 0 60px; }
    .footer-inner { flex-direction: column; gap: 12px; }
    .proc-row { grid-template-columns: 1fr; gap: 10px; }
    .proc-num { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    .status-pill .dot { animation: none; }
    * { scroll-behavior: auto; }
}

/* ============================================================
   discord profile card — original v4 card, recolored dark/black
   (same structure, sizing, banner img, bubble, bio bar, tooltips)
   ============================================================ */
.contact-side {
    width: 360px;
    max-width: 100%;
    margin: 44px auto 0;
    position: relative;
}
.contact-side-note {
    font-family: var(--fm);
    font-size: 0.7rem;
    color: var(--dim);
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.4;
    margin-top: 14px;
}

.dc-card {
    width: 360px;
    max-width: 100%;
    background: linear-gradient(158deg, #1f2024 0%, #161719 26%, #121214 52%, #101012 76%, #0c0c0e 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.75), 0 8px 22px -12px rgba(0, 0, 0, 0.5);
    font-family: 'Inter Tight', 'gg sans', system-ui, sans-serif;
    color: #f2f3f7;
    position: relative;
}

/* banner — the white+black cat photo */
.dc-banner {
    height: 105px;
    background-image: url("/assets/img/whitenblackcatbanner.png");
    background-size: cover;
    background-position: center 35%;
    position: relative;
}

.dc-head { position: relative; padding: 0 16px; }
.dc-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin-top: -46px;
}
.dc-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 7px solid #161719;          /* ring matches darkest theme tone */
    background: #161719;
    object-fit: cover;
    display: block;
}

/* real discord status — masked SVG shapes */
.dc-status {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #161719;
    display: grid;
    place-items: center;
}
.dc-status svg { width: 16px; height: 16px; display: block; }
.dc-status .dcs { display: none; }
.dc-card[data-status="online"]  .dcs-online  { display: block; }
.dc-card[data-status="idle"]    .dcs-idle    { display: block; }
.dc-card[data-status="dnd"]     .dcs-dnd     { display: block; }
.dc-card[data-status="offline"] .dcs-offline { display: block; }

/* custom-status speech bubble */
.dc-bubble {
    position: absolute;
    left: calc(100% + 14px);
    top: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 210px;
    background: #2b2d31;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: #dbdee1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 4;
}
.dc-bubble::before {
    content: '';
    position: absolute;
    width: 9px; height: 9px;
    background: #2b2d31;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    left: -6px;
    bottom: -5px;
}
.dc-bubble::after { content: none; }
.dc-bubble-emoji { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

/* body */
.dc-body { padding: 12px 16px 16px; }
.dc-name {
    font-family: 'Inter Tight', 'gg sans', var(--fd), sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f4f5f8;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 3px;
}
.dc-tagline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13.5px;
    color: #b5bac1;
    line-height: 1.35;
    margin: 0;
}
.dc-uname { font-weight: 500; color: #949ba4; }
.dc-dot-sep { color: #4e5058; }
.dc-pronouns { color: #b5bac1; }

/* badges */
.dc-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 3px;
}
.dc-badge {
    position: relative;
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}
.dc-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dc-badge::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #0c0c0e;
    color: #f2f3f7;
    font-family: 'gg sans', var(--fm), sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 160ms var(--ease), transform 160ms var(--ease);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 20;
}
.dc-badge::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 5px solid transparent;
    border-top-color: #0c0c0e;
    opacity: 0;
    transition: opacity 160ms var(--ease), transform 160ms var(--ease);
    pointer-events: none;
    z-index: 20;
}
.dc-badge:hover::after, .dc-badge:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* info panel */
.dc-panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 14px;
}
.dc-section + .dc-section {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.dc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #949ba4;
    margin: 0 0 7px;
    line-height: 16px;
}
.dc-bio { position: relative; padding-left: 12px; }
.dc-bio::before {
    content: '';
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 3px;
    border-radius: 2px;
    background: #4e5058;
}
.dc-bio p {
    font-size: 13.5px;
    color: #dbdee1;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}
.dc-mono {
    font-family: var(--fm);
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 5px;
    border-radius: 4px;
    color: #d0d4da;
}
.dc-bio a { color: #00a8fc; text-decoration: none; }
.dc-bio a:hover { text-decoration: underline; }
.dc-since {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #dbdee1;
    margin: 0;
    line-height: 1.3;
}
.dc-since .dc-clyde { width: 18px; height: 18px; color: #949ba4; flex-shrink: 0; }

@media (max-width: 540px) {
    .dc-bubble { left: auto; right: 8px; top: -34px; }
    .dc-bubble::before { display: none; }
}
