/* ===== Tokens (Code.lowa brand) ===== */
:root {
    --bg: #f6f8fb;
    --bg-elevated: #ffffff;
    --bg-elevated-2: #edf1f6;
    --text: #0a0c10;
    --text-muted: #556070;
    --accent: #0b6e9f;
    --accent-bright: #38d6f5;
    --accent-soft: rgba(11, 110, 159, .10);
    --on-accent: #ffffff;
    --border: rgba(10, 12, 16, .10);
    --border-strong: rgba(10, 12, 16, .20);
    --shadow: 0 24px 60px -24px rgba(10, 12, 16, .28);
    --shadow-sm: 0 10px 24px -14px rgba(10, 12, 16, .22);
    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --gutter: clamp(16px, 5vw, 32px);
    --header-h: 76px;
    color-scheme: light;
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #0a0c10;
        --bg-elevated: #12151c;
        --bg-elevated-2: #191d26;
        --text: #f2f4f8;
        --text-muted: #98a2b3;
        --accent: #38d6f5;
        --accent-soft: rgba(56, 214, 245, .12);
        --on-accent: #0a0c10;
        --border: rgba(56, 214, 245, .14);
        --border-strong: rgba(56, 214, 245, .30);
        --shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
        --shadow-sm: 0 14px 32px -16px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #0a0c10;
    --bg-elevated: #12151c;
    --bg-elevated-2: #191d26;
    --text: #f2f4f8;
    --text-muted: #98a2b3;
    --accent: #38d6f5;
    --accent-soft: rgba(56, 214, 245, .12);
    --on-accent: #0a0c10;
    --border: rgba(56, 214, 245, .14);
    --border-strong: rgba(56, 214, 245, .30);
    --shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
    --shadow-sm: 0 14px 32px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background .4s ease, color .4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
    text-wrap: balance;
}

p { margin: 0; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: var(--gutter);
}

section { padding-block: clamp(64px, 10vw, 104px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 12px;
}

.eyebrow::before { content: "//"; opacity: .6; }

.section-head {
    max-width: 640px;
    margin-bottom: clamp(32px, 6vw, 52px);
}

.section-head h2 { font-size: clamp(28px, 5vw, 42px); line-height: 1.12; }

.section-head .lede {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: clamp(15px, 2.2vw, 16.5px);
    max-width: 58ch;
}

/* ===== Brand (logo lockup) ===== */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    flex: none;
}

.brand svg { width: 34px; height: 34px; flex: none; }

.wordmark {
    font-size: 20px;
    letter-spacing: -.03em;
    line-height: 1;
    white-space: nowrap;
}

.wordmark b { font-weight: 800; }
.wordmark i { font-style: normal; color: var(--accent); font-weight: 800; }
.wordmark span { font-weight: 300; }

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s ease; }

.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: 0 14px 30px -14px var(--accent);
}

.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ===== Header / nav ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: max(12px, env(safe-area-inset-top)) var(--gutter) 0;
    pointer-events: none;
}

.navbar {
    pointer-events: auto;
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
    color: var(--text-muted);
    padding: 9px 13px;
    border-radius: 999px;
    transition: color .25s ease, background .25s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }

.nav-extra { display: none; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    flex: none;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, color .25s ease;
}

.icon-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }

.fi-glyph {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.04em;
    line-height: 1;
}

.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) .icon-btn .sun { display: none; }
    :root:not([data-theme="light"]) .icon-btn .moon { display: block; }
}

.burger { display: none; }

.burger span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    position: relative;
    transition: background .2s ease;
}

.burger span::before, .burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s ease;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
header.open .burger span { background: transparent; }
header.open .burger span::before { transform: translateY(6px) rotate(45deg); }
header.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width:960px) {
    .nav-hire { display: none; }
}

@media (max-width:860px) {
    .burger { display: inline-flex; }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 10px;
        box-shadow: var(--shadow);
        max-height: calc(100svh - var(--header-h) - 24px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    .nav-links a {
        display: block;
        padding: 14px 16px;
        font-size: 13.5px;
    }

    header.open .nav-links { opacity: 1; visibility: visible; transform: none; }

    .nav-extra {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 8px;
        margin-top: 4px;
        border-top: 1px solid var(--border);
    }

    .nav-extra .btn { width: 100%; font-family: var(--font-body); text-transform: none; letter-spacing: 0; padding: 12px; font-size: 14px; color: inherit; }
    .nav-extra .btn-primary { color: var(--on-accent); background: var(--accent); }
}

@media (max-width:380px) {
    .brand svg { width: 30px; height: 30px; }
    .wordmark { font-size: 18px; }
    .navbar { padding-left: 12px; }
}

/* ===== Hero ===== */
#home {
    padding-top: calc(var(--header-h) + clamp(48px, 9vw, 88px));
    padding-bottom: clamp(56px, 9vw, 88px);
    position: relative;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 60% 20%, black 30%, transparent 75%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.studio-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 22px;
    transition: border-color .25s ease;
    max-width: 100%;
}

.studio-pill:hover { border-color: var(--accent); }
.studio-pill svg { width: 24px; height: 24px; color: var(--text); flex: none; }
.studio-pill strong { color: var(--text); font-weight: 600; }

.dot-live {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
    flex: none;
}

.hero-copy h1 {
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 800;
}

.hero-copy h1 em { font-style: normal; color: var(--accent); }

.role-line {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: clamp(13.5px, 2.4vw, 17px);
    color: var(--text-muted);
    min-height: 1.6em;
    overflow-wrap: anywhere;
}

.role-line .kw { color: var(--accent); opacity: .75; }
.role-line .str { color: var(--accent); }

.caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: -3px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 52ch;
    font-size: clamp(15.5px, 2.2vw, 17px);
}

.hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 32px;
    margin-top: 40px;
}

.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats .num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }

.hero-stats .lbl {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

.hero-portrait { position: relative; display: flex; justify-content: center; }

.portrait-ring {
    position: relative;
    width: min(360px, 78vw);
    aspect-ratio: 1/1.08;
}

.portrait-ring::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
    background: conic-gradient(from 0deg, #0b6e9f, #38d6f5, #0b6e9f);
    filter: blur(2px);
    animation: spin 14s linear infinite;
    opacity: .9;
}

@keyframes spin { to { transform: rotate(360deg); } }

.portrait-ring img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
    border: 6px solid var(--bg);
    box-shadow: var(--shadow);
}

.badge-float {
    position: absolute;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    white-space: nowrap;
    animation: floaty 5s ease-in-out infinite;
}

.badge-float svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.badge-1 { top: 6%; left: -6%; animation-delay: .2s; }
.badge-2 { bottom: 8%; right: -4%; animation-delay: 1.1s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width:900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-portrait { order: -1; }
    .portrait-ring { width: min(300px, 70vw); }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
}

@media (max-width:560px) {
    .hero-copy { text-align: left; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hero-stats div {
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--bg-elevated);
    }
    .hero-stats .num { font-size: 22px; }
    .hero-stats .lbl { font-size: 10px; }
    .portrait-ring { width: min(240px, 66vw); }
    .badge-float { font-size: 11px; padding: 7px 10px; }
    .badge-1 { left: -4px; top: 2%; }
    .badge-2 { right: -4px; bottom: 4%; }
}

/* ===== Reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].in-view { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion:reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ===== Services / hire ===== */
#services { background: var(--bg-elevated); border-block: 1px solid var(--border); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 18px;
}

.s-card {
    padding: 24px;
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 4px;
}

.s-ico svg { width: 21px; height: 21px; }
.s-card h3 { font-size: 18px; }
.s-card p { color: var(--text-muted); font-size: 14.5px; }

.platform-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width:760px) { .platform-grid { grid-template-columns: 1fr; } }

.platform {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-l);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }

.platform.fiverr { background: #0a0c10; color: #fff; border-color: rgba(56, 214, 245, .25); }
.platform.insta { background: var(--bg); color: var(--text); }

.platform .p-logo {
    width: 58px; height: 58px;
    border-radius: 16px;
    flex: none;
    display: flex; align-items: center; justify-content: center;
}

.platform.fiverr .p-logo { background: #1dbf73; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.platform.insta .p-logo { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); color: #fff; }
.platform.insta .p-logo svg { width: 28px; height: 28px; }

.platform .p-txt { flex: 1; min-width: 0; }
.platform small { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.platform h3 { font-size: clamp(18px, 3vw, 21px); margin: 2px 0 4px; }
.platform p { font-size: 14px; opacity: .75; }
.platform.fiverr small { color: #38d6f5; opacity: 1; }

.platform .arrow {
    width: 44px; height: 44px; border-radius: 50%;
    flex: none;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid currentColor;
    opacity: .5;
    transition: opacity .3s ease, transform .3s ease;
}

.platform:hover .arrow { opacity: 1; transform: rotate(-45deg); }
.platform .arrow svg { width: 18px; height: 18px; }

.platform .watermark {
    position: absolute;
    right: -30px; bottom: -40px;
    width: 160px; height: 160px;
    color: #fff;
    opacity: .06;
    pointer-events: none;
}

@media (max-width:420px) {
    .platform { padding: 20px; gap: 14px; }
    .platform .p-logo { width: 50px; height: 50px; border-radius: 14px; }
    .platform .arrow { display: none; }
}

/* ===== Projects ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 22px;
}

.p-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }

.p-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-elevated-2); }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-thumb img { transform: scale(1.05); }

.p-tag {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    color: var(--accent);
    border: 1px solid var(--border-strong);
    padding: 5px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.p-body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-body h3 { font-size: 18px; }
.p-body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.p-foot { padding: 0 20px 20px; margin-top: auto; }

.more-wrap { display: none; margin-top: 22px; text-align: center; }

@media (max-width:640px) {
    .project-grid.collapsed .p-card:nth-child(n+5) { display: none; }
    .more-wrap { display: block; }
    .more-wrap .btn { width: 100%; }
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

@media (max-width:860px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo { max-width: 380px; width: 100%; margin-inline: auto; }
}

.about-photo { position: relative; padding: 12px; }

.about-photo .frame {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.about-photo .corner { position: absolute; width: 60px; height: 60px; border: 2px solid var(--accent); }
.corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 14px; }
.corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 14px; }

.about-bio p { color: var(--text-muted); margin-bottom: 16px; font-size: clamp(15px, 2.2vw, 16px); }
.about-bio p strong { color: var(--text); font-weight: 600; }

.skills-title {
    font-family: var(--font-mono);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin: 32px 0 14px;
}

.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg-elevated-2);
    border: 1px solid var(--border);
    transition: border-color .25s ease, color .25s ease;
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Reviews ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 20px;
}

.r-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.r-who { display: flex; align-items: center; gap: 13px; }

.r-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    border: 1px solid var(--border);
}

.r-avatar-fallback {
    width: 48px; height: 48px;
    border-radius: 50%;
    flex: none;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border);
}

.r-name { font-weight: 600; font-size: 15px; }
.r-role { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.r-quote { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

.r-quote::before {
    content: "\201C";
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
    line-height: 0;
    vertical-align: -6px;
    margin-right: 3px;
}

.review-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 22px 24px;
    margin-bottom: 32px;
}

.review-cta p { color: var(--text-muted); max-width: 52ch; font-size: 15px; }

.swipe-hint { display: none; }

/* Mobile: reviews become a swipeable carousel */
@media (max-width:640px) {
    .review-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 14px;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .review-grid::-webkit-scrollbar { display: none; }

    .r-card { flex: 0 0 86%; scroll-snap-align: start; }

    .swipe-hint {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 6px;
    }

    .swipe-hint span {
        width: 6px; height: 6px; border-radius: 99px;
        background: var(--border-strong);
        transition: width .3s ease, background .3s ease;
    }

    .swipe-hint span.on { width: 20px; background: var(--accent); }

    .review-cta { flex-direction: column; align-items: stretch; }
    .review-cta .btn { width: 100%; }
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
}

@media (max-width:860px) { .contact-grid { grid-template-columns: 1fr; } }

.c-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: clamp(20px, 4vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.c-row { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.c-row > div:last-child { min-width: 0; }

.c-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex: none;
}

.c-ico svg { width: 19px; height: 19px; }
.c-row h4 { font-size: 14.5px; margin-bottom: 2px; }

.c-row p, .c-row a {
    font-size: 14.5px;
    color: var(--text-muted);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.c-row a:hover { color: var(--accent); }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.cta-card {
    background: #0a0c10;
    color: #f2f4f8;
    border-color: rgba(56, 214, 245, .25);
    position: relative;
    overflow: hidden;
}

.cta-card .c-row p { color: #98a2b3; }
.cta-card .c-ico { background: rgba(56, 214, 245, .14); color: #38d6f5; }
.cta-card .btn-primary { background: #38d6f5; color: #0a0c10; box-shadow: none; }
.cta-card .btn-ghost { color: #f2f4f8; border-color: rgba(255, 255, 255, .25); }
.cta-card .btn-ghost:hover { color: #38d6f5; border-color: #38d6f5; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-card .watermark { position: absolute; right: -40px; bottom: -50px; width: 190px; height: 190px; color: #fff; opacity: .05; pointer-events: none; --accent: #38d6f5; }

@media (max-width:520px) {
    .cta-btns { flex-direction: column; }
    .cta-btns .btn { width: 100%; }
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
    font-size: 13px;
    color: var(--text-muted);
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-family: var(--font-mono); font-size: 12.5px; }
.foot-links a:hover { color: var(--accent); }

@media (max-width:640px) {
    footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ===== Mobile sticky hire bar ===== */
.hire-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 90;
    display: none;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    transform: translateY(140%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.hire-bar .btn { flex: 1; min-height: 46px; }
.hire-bar.show { transform: none; }

@media (max-width:640px) {
    .hire-bar { display: flex; }
    body { padding-bottom: 84px; }
}
