/* rashidminhas.com — portfolio styles */
:root {
    --navy-900: #070d18;
    --navy-800: #0b1322;
    --navy-700: #111c30;
    --navy-600: #1a2740;
    --ink: #0f1a2b;
    --body: #46536a;
    --muted: #6b778c;
    --paper: #ffffff;
    --soft: #f5f6f9;
    --line: #e3e7ee;
    --accent: #c8622f;
    --accent-2: #e9894f;
    --accent-dark: #a94f22;
    --on-dark: #e8edf5;
    --on-dark-muted: #9aa7bd;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 26, 43, .06), 0 2px 8px rgba(15, 26, 43, .04);
    --shadow: 0 10px 30px -10px rgba(15, 26, 43, .18), 0 2px 6px rgba(15, 26, 43, .05);
    --shadow-lg: 0 30px 60px -20px rgba(15, 26, 43, .35);
    --head: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
    --font: "Inter", "Segoe UI", system-ui, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: #fff; padding: .5rem .8rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: .75rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
    font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .18s ease; }
.btn:hover .ico { transform: translateX(2px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem .95rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 8px 22px -8px rgba(200, 98, 47, .7); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(200, 98, 47, .8); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5); }

/* ---------- Header ---------- */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 13, 24, .78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .2s ease, box-shadow .2s ease;
}
.top.is-scrolled { background: rgba(7, 13, 24, .94); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .5); }
.top-in { width: min(var(--wrap), calc(100% - 3rem)); margin: 0 auto; display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.mark { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; min-width: 0; }
.mark-badge {
    width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff; font: 800 .85rem var(--head); letter-spacing: .03em;
    box-shadow: 0 6px 16px -6px rgba(200, 98, 47, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.mark-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mark-name strong { font: 700 1rem var(--head); color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.mark-name em { font-style: normal; color: var(--on-dark-muted); font-size: .78rem; white-space: nowrap; }

.top-nav { display: flex; align-items: center; gap: .35rem; }
.top-nav > a:not(.btn) {
    color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .94rem;
    padding: .5rem .85rem; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.top-nav > a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.top-nav > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.top-nav .btn { margin-left: .5rem; }

.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; place-items: center;
}
.nav-toggle .ico { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; background: var(--navy-800); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(233, 137, 79, .22), transparent 60%),
        radial-gradient(700px 500px at 5% 100%, rgba(61, 111, 214, .18), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1, .page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.grad { background: linear-gradient(120deg, #ffb27a, var(--accent-2) 45%, #f5c48a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin: 1.4rem 0 0; max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark-muted); line-height: 1.7; }
.hero-lede strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; color: var(--on-dark-muted); }
.hero-proof li { display: flex; align-items: center; gap: .45rem; }
.hero-proof .ico { color: #5fd3a4; }

.pill {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.5rem; padding: .4rem .9rem .4rem .75rem;
    border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem; font-weight: 500; color: var(--on-dark);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* Profile card */
.profile-card {
    position: relative; padding: 1.6rem; border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}
.profile-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(233, 137, 79, .6), transparent 40%, transparent 70%, rgba(61, 111, 214, .5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.profile-top { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.profile-top div strong { display: block; font: 700 1.15rem var(--head); color: #fff; }
.profile-top div span { display: flex; align-items: center; gap: .35rem; color: var(--on-dark-muted); font-size: .88rem; margin-top: .15rem; }
.avatar {
    width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center;
    background: linear-gradient(135deg, #ffb27a, var(--accent) 60%, #7a2f10);
    color: #fff; font: 800 1.35rem var(--head); letter-spacing: .02em;
    box-shadow: 0 12px 30px -10px rgba(200, 98, 47, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.avatar-xl { width: 140px; height: 140px; border-radius: 36px; font-size: 2.8rem; }
img.avatar-photo { object-fit: cover; display: block; }
.creds { list-style: none; margin: 0; padding: 1rem 0; display: grid; gap: .35rem; }
.creds li { display: flex; align-items: center; gap: .9rem; padding: .6rem .5rem; border-radius: 12px; transition: background .15s ease; }
.creds li:hover { background: rgba(255, 255, 255, .05); }
.creds strong { display: block; color: #fff; font-weight: 600; font-size: .96rem; }
.creds em { font-style: normal; color: var(--on-dark-muted); font-size: .84rem; }
.ci { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(233, 137, 79, .14); color: #ffb27a; border: 1px solid rgba(233, 137, 79, .25); }
.ci .ico { width: 20px; height: 20px; }
.profile-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.profile-foot a {
    display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .65rem; border-radius: 12px;
    background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem;
    transition: background .15s ease;
}
.profile-foot a:hover { background: rgba(255, 255, 255, .12); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 20ch; }
.page-hero-tall { padding: clamp(5rem, 12vw, 9rem) 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem;
    color: var(--accent); font: 700 .78rem var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.page-hero .eyebrow, .band-dark .eyebrow { color: #ffb27a; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -2.5rem; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.stat { padding: 1.6rem 1.5rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 800 clamp(1.9rem, 3vw, 2.4rem) var(--head); color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin: .6rem 0 .5rem; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.band { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--navy-800); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(233, 137, 79, .14), transparent 60%); pointer-events: none; }
.band-dark h2, .band-dark h3 { color: #fff; }

.sec-head { max-width: 44rem; margin-bottom: 2.75rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.sec-head > p:not(.eyebrow) { margin: 1rem 0 0; font-size: 1.08rem; color: var(--muted); }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service {
    position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #fff1e8, #ffe2cf); color: var(--accent); margin-bottom: 1.4rem; }
.service-ico .ico { width: 26px; height: 26px; }
.service h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.service p { margin: 0; }
.service ul { list-style: none; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .45rem; }
.service li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Project cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pcard {
    display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard.is-hidden { display: none; }
.pcard-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard-kicker { margin: 0 0 .5rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pa); }
.pcard-kicker span { color: var(--line); }
.pcard h3 { font-size: 1.35rem; margin-bottom: .55rem; }
.pcard-body > p:not(.pcard-kicker) { margin: 0; font-size: .95rem; color: var(--muted); }
.pcard-go { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.pcard-go .ico { transition: transform .2s ease; color: var(--pa); }
.pcard:hover .pcard-go .ico { transform: translateX(4px); }
.tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .76rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px; background: var(--soft); color: var(--body); border: 1px solid var(--line); }

/* Screen mock */
.shot {
    --pa: var(--accent);
    position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
    background: linear-gradient(145deg, color-mix(in srgb, var(--pa) 85%, #000) 0%, color-mix(in srgb, var(--pa) 45%, #0b1322) 100%);
}
.shot::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.shot-glow { position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); z-index: -1; }
.shot-icon { position: absolute; left: 1.1rem; top: 1rem; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.shot-icon .ico { width: 22px; height: 22px; }
.shot-win {
    position: absolute; left: 18%; right: -4%; top: 26%; bottom: -10%;
    background: #fff; border-radius: 12px 0 0 0; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
    transition: transform .4s ease; display: flex; flex-direction: column; overflow: hidden;
}
.pcard:hover .shot-win { transform: translate(-6px, -6px); }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f1f3f7; border-bottom: 1px solid #e5e8ef; }
.shot-bar b { width: 7px; height: 7px; border-radius: 50%; background: #d4d9e2; }
.shot-bar b:first-child { background: #ff6b5f; } .shot-bar b:nth-child(2) { background: #ffbf3c; } .shot-bar b:nth-child(3) { background: #2bc840; }
.shot-bar span { margin-left: 8px; font-size: .62rem; color: #8a94a6; font-weight: 500; background: #fff; padding: 1px 8px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; }
.shot-side { background: #f7f8fb; border-right: 1px solid #eef0f4; padding: 10px 8px; display: grid; gap: 7px; align-content: start; }
.shot-side u { display: block; height: 6px; border-radius: 4px; background: #e2e6ee; }
.shot-side u:first-child { background: var(--pa); opacity: .7; width: 80%; }
.shot-main { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.shot-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.shot-kpis s { display: block; height: 26px; border-radius: 6px; background: #f3f5f9; border: 1px solid #eceff4; position: relative; }
.shot-kpis s::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 45%; height: 5px; border-radius: 3px; background: var(--pa); opacity: .55; }
.shot-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding-top: 4px; }
.shot-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--pa), color-mix(in srgb, var(--pa) 40%, #fff)); opacity: .85; }
.shot-large { border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); }
.shot-large .shot-icon { width: 54px; height: 54px; left: 1.5rem; top: 1.4rem; }
.shot-large .shot-icon .ico { width: 28px; height: 28px; }
.shot-large .shot-bar span { font-size: .75rem; }
.shot.shot-real { aspect-ratio: auto !important; height: auto; padding: 0; overflow: hidden; background: #e7ecf2; }
.shot.shot-real::before { display: none; }
.shot.shot-real img { position: static !important; inset: auto; width: 100% !important; height: auto !important; max-width: 100%; object-fit: contain !important; display: block; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button {
    font: 600 .9rem var(--font); padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
    background: #fff; color: var(--body); border: 1px solid var(--line); transition: all .15s ease;
}
.filters button span { margin-left: .3rem; font-size: .78rem; padding: .05rem .45rem; border-radius: 999px; background: var(--soft); }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button.is-on span { background: rgba(255, 255, 255, .15); }

/* Stack / chips */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split .sec-head { margin-bottom: 0; position: sticky; top: 110px; }
.stack { display: grid; gap: 1rem; }
.stack-group { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.stack-group h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: var(--font); margin-bottom: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
    padding: .45rem .9rem; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink);
    background: var(--soft); border: 1px solid var(--line); transition: all .15s ease;
}
.chips li:hover { border-color: var(--accent); color: var(--accent-dark); background: #fff7f2; }
.chips-sm li { padding: .25rem .6rem; font-size: .82rem; border-radius: 8px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.steps li { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .2s ease, border-color .2s ease; }
.steps li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(233, 137, 79, .35); }
.steps span { display: inline-block; font: 800 2.2rem var(--head); line-height: 1; background: linear-gradient(135deg, #ffb27a, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.steps p { margin: 0; font-size: .94rem; }

/* Engage */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.engage article { padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--soft)); }
.engage article > .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 1rem; }
.engage h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.engage p { margin: 0; font-size: .96rem; }

/* CTA */
.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.band + .cta, .band-soft + .cta { padding-top: clamp(3rem, 6vw, 4.5rem); }
.cta-box {
    position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(2.25rem, 5vw, 3.5rem); border-radius: 26px; color: rgba(255, 255, 255, .85);
    background: linear-gradient(130deg, var(--accent-dark), var(--accent) 45%, var(--accent-2));
    box-shadow: 0 30px 60px -25px rgba(200, 98, 47, .7);
}
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; max-width: 22ch; }
.cta-box p { margin: .6rem 0 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-box .btn-ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); }

/* ---------- Case study ---------- */
.case-hero { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.case-hero .hero-bg { background: radial-gradient(600px 400px at 85% 20%, color-mix(in srgb, var(--pa) 40%, transparent), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.case-hero .eyebrow { color: color-mix(in srgb, var(--pa) 55%, #fff); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.back { display: flex; width: fit-content; align-items: center; gap: .4rem; margin-bottom: 1.5rem; color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; font-weight: 500; }
.back:hover { color: #fff; }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 44rem; font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.prose h2:not(:first-child) { margin-top: 2.5rem; }
.prose p { margin: 0 0 1.15rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.checks li { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .95rem; }
.checks .ico { color: var(--pa, var(--accent)); width: 18px; height: 18px; }
.facts-card { position: sticky; top: 100px; padding: 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.facts-card dl { margin: 0 0 1.25rem; }
.facts-card dl > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts-card dl > div:first-child { padding-top: 0; }
.facts-card dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.facts-card dd { margin: 0; font-weight: 600; color: var(--ink); }
.facts-card dd a { display: inline-flex; align-items: center; gap: .3rem; color: var(--pa, var(--accent)); text-decoration: none; }
.facts-card dd a:hover { text-decoration: underline; }

.neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.nb { display: block; padding: 1.25rem 1.5rem; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: all .2s ease; }
.nb:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.nb span { display: flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nb strong { display: block; margin-top: .35rem; font: 700 1.2rem var(--head); color: var(--ink); }
.nb-next { text-align: right; grid-column: 2; }
.nb-next span { justify-content: flex-end; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.about-badge { text-align: center; padding: 2rem 2.5rem; border-radius: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.about-badge .avatar { margin: 0 auto 1.25rem; }
.about-badge p { margin: 0; }
.about-badge strong { display: block; color: #fff; font: 700 1.1rem var(--head); }
.about-badge em { font-style: normal; color: var(--on-dark-muted); font-size: .9rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.values { padding: 2rem; border-radius: 20px; background: var(--navy-800); color: var(--on-dark-muted); box-shadow: var(--shadow-lg); }
.values h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.25rem; }
.values ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.values li { display: flex; gap: .85rem; }
.values li > .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(61, 220, 151, .15); color: #3ddc97; margin-top: 2px; }
.values strong { display: block; color: #fff; font-weight: 600; }
.values span { font-size: .92rem; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.25rem; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--line)); }
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start; }
.tl-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 2px solid var(--accent); color: var(--accent); z-index: 1; box-shadow: 0 0 0 6px var(--soft); }
.tl-ico .ico { width: 22px; height: 22px; }
.tl-card { padding: 1.4rem 1.6rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.tl-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.tl-tag { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tl-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.tl-card p:last-child { margin: 0; }
.tl-card a { color: var(--accent); font-weight: 600; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; margin: 0 0 1.1rem; font-size: .86rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea {
    display: block; width: 100%; margin-top: .45rem; padding: .8rem .95rem; border-radius: 12px;
    border: 1px solid var(--line); background: var(--soft); color: var(--ink); font: 400 1rem var(--font);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form input::placeholder, .form textarea::placeholder { color: #9aa3b2; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(200, 98, 47, .12); }
.form textarea { min-height: 9rem; resize: vertical; }
.form button { margin-top: .25rem; }
.form-note { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: 12px; font-weight: 500; }
.form-note.ok { background: #e9f9f1; color: #11734b; border: 1px solid #b6ebd2; }
.form-note.bad { background: #fdeeee; color: #b42828; border: 1px solid #f5c6c6; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contact-side { display: grid; gap: .85rem; }
.ccard { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: all .2s ease; }
a.ccard:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.ccard .ci { background: #fff1e8; color: var(--accent); border-color: #ffd9c2; }
.ccard span:not(.ci) { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.ccard strong { display: block; color: var(--ink); font-weight: 600; }
.note-card { padding: 1.5rem; border-radius: 16px; background: var(--navy-800); color: var(--on-dark-muted); }
.note-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .85rem; }
.note-card ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: .93rem; }
.note-card li::marker { color: #ffb27a; font-weight: 700; }

/* Inbox */
.inbox-wrap { max-width: 820px; }
.form-narrow { max-width: 460px; }
.password-change { margin-top: 2rem; }
.password-change h2 { font-size: 1.2rem; }
.inbox-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.inbox-item { padding: 1.25rem 1.5rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.inbox-item header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.inbox-item strong { color: var(--ink); }
.inbox-item time, .inbox-meta { color: var(--muted); font-size: .9rem; }
.inbox-meta a, .text-link { color: var(--accent); font-weight: 600; }
.inbox-item .prose { font-size: 1rem; }
.close-line { margin: 0 0 1rem; }
.lede { color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--navy-900); color: var(--on-dark-muted); padding: clamp(3.5rem, 6vw, 4.5rem) 0 0; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-brand p { margin: 1.1rem 0 0; max-width: 24rem; line-height: 1.7; }
.foot h4 { color: #fff; font: 700 .82rem var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot a { color: var(--on-dark-muted); text-decoration: none; transition: color .15s ease; }
.foot a:hover { color: #fff; }
.foot-contact li { display: flex; align-items: center; gap: .6rem; }
.foot-contact .ico { color: #ffb27a; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.foot-base p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-grid, .case-grid, .case-body, .about-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .split .sec-head, .facts-card { position: static; }
    .services, .engage { grid-template-columns: minmax(0, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .stat { padding: 1.25rem 1.1rem; }
    .about-hero { grid-template-columns: minmax(0, 1fr); }
    .about-badge { display: none; }
    .profile-card { max-width: 520px; }
}

@media (max-width: 760px) {
    .wrap, .top-in { width: calc(100% - 2rem); }
    .top-in { min-height: 64px; }
    .mark-name em { display: none; }
    .nav-toggle { display: grid; }
    .top-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem 1rem 1.25rem;
        background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease;
    }
    .nav-open .top-nav { opacity: 1; visibility: visible; transform: none; }
    .top-nav > a:not(.btn) { padding: .8rem 1rem; border-radius: 12px; font-size: 1rem; }
    .top-nav .btn { margin: .5rem 0 0; padding: .85rem; }
    .pgrid, .steps, .checks, .form-row, .neighbors { grid-template-columns: minmax(0, 1fr); }
    .nb-next { grid-column: auto; }
    .hero-cta .btn { flex: 1 1 auto; }
    .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .cta-box { flex-direction: column; align-items: flex-start; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
    .profile-foot { grid-template-columns: minmax(0, 1fr); }
    .mark-name strong { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- OperationalHub spotlight (home) ---------- */
.oh-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: 2.5rem; }
.oh-top .sec-head { margin-bottom: 0; }
.oh-top .sec-head > p:not(.eyebrow) { color: var(--on-dark-muted); }
.oh-top .hero-cta { margin-top: 1.6rem; }
.oh-mv { display: grid; gap: .9rem; }
.oh-mv > div { padding: 1.2rem 1.35rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-left: 3px solid var(--accent-2); }
.oh-mv span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb27a; }
.oh-mv p { margin: .35rem 0 0; color: var(--on-dark); font-size: .98rem; }
.oh-mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.oh-mods li { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.oh-mods li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(233, 137, 79, .4); transform: translateY(-2px); }
.oh-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(233, 137, 79, .14); color: #ffb27a; }
.oh-ico .ico { width: 19px; height: 19px; }
.oh-mods em { display: block; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.oh-mods strong { display: block; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.oh-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.75rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.oh-foot h3 { font-size: .8rem; font-family: var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1rem; }
.oh-h3-gap { margin-top: 1.5rem; }
.oh-clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.oh-clients li { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border-radius: 14px; background: #fff; }
.oh-clients b { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--navy-800); color: #ffb27a; font: 800 .85rem var(--head); }
.oh-clients strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.oh-clients span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.chips-dark li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--on-dark); }
.chips-dark li:hover { background: rgba(233, 137, 79, .15); border-color: rgba(233, 137, 79, .5); color: #fff; }

@media (max-width: 1080px) { .oh-mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .oh-top, .oh-foot { grid-template-columns: minmax(0, 1fr); }
    .oh-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .oh-mods, .oh-clients { grid-template-columns: minmax(0, 1fr); }
}
