:root {
    --blue: #2878ff;
    --blue-deep: #1259d6;
    --cyan: #79e8ff;
    --ink: #071326;
    --ink-soft: #10213d;
    --paper: #f4f7fb;
    --white: #fff;
    --muted: #657086;
    --line: #dce3ec;
    --success: #16794a;
    --danger: #b42318;
    --shadow: 0 24px 70px rgba(7, 19, 38, .14);
    --radius: 22px;
    --container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    margin-bottom: .55em;
    font-weight: 780;
    line-height: .98;
    letter-spacing: -.045em;
}
h1 { font-size: clamp(3rem, 7.3vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 140px) 0; }
.section-light { background: var(--white); }
.section-ink { color: var(--white); background: var(--ink); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px;
    color: var(--white); background: var(--blue); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
    margin-bottom: 20px; color: var(--cyan); font-size: .73rem; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow-blue { color: var(--blue); }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    min-height: 54px; padding: 13px 24px; border: 1px solid transparent;
    border-radius: 999px; font-size: .88rem; font-weight: 750;
    transition: transform .2s, color .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-deep); }
.button-light { color: var(--ink); background: var(--white); }
.button-dark { color: var(--white); background: var(--ink); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.34); }
.button-small { min-height: 40px; padding: 8px 17px; font-size: .78rem; }
.text-link {
    display: inline-flex; gap: 10px; align-items: center; color: var(--blue);
    font-size: .9rem; font-weight: 800; border-bottom: 1px solid currentColor;
}
.text-link-light { color: var(--white); }

/* Navigation */
.site-header {
    position: absolute; z-index: 50; top: 0; left: 0; width: 100%; color: var(--white);
    transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
    position: fixed; color: var(--ink); background: rgba(255,255,255,.94);
    box-shadow: 0 8px 30px rgba(7,19,38,.08); backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; line-height: 1.05; }
.brand-lockup img { width: 145px; height: auto; object-fit: contain; border-radius: 0; }
.brand-lockup span { max-width: 105px; font-size: .82rem; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { position: relative; font-size: .82rem; font-weight: 700; }
.site-nav > a:not(.nav-cta)::after {
    position: absolute; bottom: -8px; left: 0; width: 100%; height: 1px;
    content: ""; background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform .2s;
}
.site-nav > a:hover::after, .site-nav > a.is-active::after, .site-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
    display: inline-flex; gap: 14px; align-items: center; padding: 11px 18px;
    color: var(--ink); background: var(--white); border-radius: 999px;
}
.is-scrolled .nav-cta { color: var(--white); background: var(--blue); }
.nav-toggle { display: none; padding: 9px; color: inherit; background: none; border: 0; }
.nav-toggle::before, .nav-toggle::after, .nav-toggle .nav-toggle-line {
    display: block; width: 26px; height: 2px; margin: 6px 0; content: ""; background: currentColor;
    transition: transform .2s, opacity .2s;
}

/* Home */
.hero {
    position: relative; min-height: 820px; padding: 150px 0 80px; overflow: hidden;
    color: var(--white); background:
        radial-gradient(circle at 78% 38%, rgba(40,120,255,.42), transparent 28%),
        radial-gradient(circle at 20% 85%, rgba(121,232,255,.12), transparent 30%),
        var(--ink);
}
.hero-grid-overlay {
    position: absolute; inset: 0; opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 66px 66px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero-inner {
    position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .85fr;
    gap: 80px; align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero-copy h1 { max-width: 800px; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 640px; color: #b9c6d9; font-size: clamp(1rem, 1.55vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof {
    display: flex; gap: 25px; align-items: center; margin-top: 60px; color: #aebbd0;
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hero-proof strong { color: var(--white); font-size: 1.45rem; letter-spacing: -.04em; }
.hero-visual { position: relative; min-height: 560px; }
.hero-card {
    position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.2);
    background: #16223a; box-shadow: 0 40px 100px rgba(0,0,0,.42);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main { top: 10px; right: 0; width: 82%; height: 440px; transform: rotate(3deg); }
.hero-card-float { bottom: 0; left: 0; width: 50%; height: 250px; transform: rotate(-6deg); }
.hero-card span {
    position: absolute; bottom: 14px; left: 14px; padding: 7px 11px;
    color: var(--ink); background: var(--white); font-size: .68rem; font-weight: 800;
}
.orbit-badge {
    position: absolute; right: -25px; bottom: 0; display: grid; place-items: center;
    width: 125px; height: 125px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
    color: var(--white); background: rgba(7,19,38,.72); backdrop-filter: blur(8px);
}
.orbit-badge span {
    position: absolute; inset: 8px; display: grid; place-items: start center;
    font-size: .55rem; font-weight: 800; letter-spacing: .09em;
}
.orbit-badge strong { font-size: 1.7rem; }
.hero-marquee {
    position: absolute; bottom: 0; width: 100%; padding: 12px 0; overflow: hidden;
    color: var(--ink); background: var(--cyan); font-size: .7rem; font-weight: 900;
    letter-spacing: .17em; text-align: center; text-transform: uppercase; white-space: nowrap;
}
.section-heading { max-width: 790px; margin-bottom: 55px; }
.split-heading, .section-heading-row {
    display: flex; max-width: none; gap: 50px; align-items: end; justify-content: space-between;
}
.split-heading > *:first-child { max-width: 760px; }
.split-heading > p { max-width: 350px; color: var(--muted); }
.centered-heading { margin-inline: auto; text-align: center; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
    display: grid; grid-template-columns: 80px 1fr minmax(220px, 380px) 44px;
    gap: 25px; align-items: center; padding: 32px 4px; border-bottom: 1px solid var(--line);
    transition: color .2s, padding .2s;
}
.service-row:hover { padding-inline: 18px; color: var(--blue); }
.service-number { color: var(--blue); font-weight: 850; }
.service-row h3 { margin: 0; }
.service-row p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-arrow { justify-self: end; font-size: 1.45rem; }
.manifesto-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 9vw; align-items: center; }
.manifesto-media { position: relative; }
.manifesto-media img { width: 100%; min-height: 580px; object-fit: cover; filter: saturate(.8); }
.media-label {
    position: absolute; right: -35px; bottom: 35px; padding: 21px 26px;
    color: var(--ink); background: var(--cyan);
}
.media-label span { display: block; margin-top: 3px; font-size: .72rem; text-transform: uppercase; }
.manifesto-copy p:not(.eyebrow) { color: #b8c3d4; font-size: 1.08rem; }
.work-section { background: #e8eef6; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 28px; }
.project-card:nth-child(even) { margin-top: 76px; }
.project-image {
    position: relative; display: block; overflow: hidden; aspect-ratio: 1.15 / 1;
    background: #dbe2ec;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-image > span {
    position: absolute; right: 20px; bottom: 20px; padding: 10px 14px;
    color: var(--ink); background: var(--white); border-radius: 999px;
    font-size: .72rem; font-weight: 800; opacity: 0; transform: translateY(10px); transition: .25s;
}
.project-card:hover .project-image img { transform: scale(1.035); }
.project-card:hover .project-image > span { opacity: 1; transform: translateY(0); }
.project-meta { display: flex; justify-content: space-between; padding-top: 18px; }
.project-meta span { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-meta h3 { margin: 6px 0 0; }
.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-grid.three { grid-template-columns: repeat(3, 1fr); }
.process-grid > div { padding: 36px 28px 20px 0; border-right: 1px solid var(--line); }
.process-grid > div + div { padding-left: 28px; }
.process-grid > div:last-child { border-right: 0; }
.process-grid span { color: var(--blue); font-size: .78rem; font-weight: 850; }
.process-grid h3 { margin-top: 50px; }
.process-grid p { color: var(--muted); font-size: .9rem; }
.testimonial-section { color: var(--white); background: var(--blue); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
    margin: 0; padding: 34px; color: var(--ink); background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.testimonial-card p { font-size: 1.05rem; }
.testimonial-card footer { padding-top: 22px; border-top: 1px solid var(--line); }
.testimonial-card footer span { display: block; color: var(--muted); font-size: .8rem; }
.stars { margin-bottom: 18px; color: #f4b226; letter-spacing: .12em; }
.feedback-empty { padding: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); }
.feedback-empty p { max-width: 650px; color: #d9e6ff; }
.blog-preview { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.blog-card { overflow: hidden; background: var(--paper); }
.blog-image { display: block; overflow: hidden; aspect-ratio: 1.35 / 1; background: #dce3ec; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card-body { padding: 27px; }
.blog-card-body > span { color: var(--blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.blog-card-body h2, .blog-card-body h3 { margin-top: 13px; font-size: 1.5rem; line-height: 1.12; }
.blog-card-body p { color: var(--muted); font-size: .9rem; }
.cta-band { padding: clamp(70px, 10vw, 130px) 0; color: var(--white); background: var(--blue); text-align: center; }
.cta-band h2 { max-width: 850px; margin-inline: auto; }

/* Interior pages */
.page-hero, .service-hero, .project-hero, .article-hero {
    padding: 190px 0 105px; color: var(--white); background:
        radial-gradient(circle at 78% 20%, rgba(40,120,255,.48), transparent 28%), var(--ink);
}
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .55fr; gap: 60px; align-items: end; }
.page-hero h1 { max-width: 970px; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.page-hero-grid > p { color: #b7c3d6; }
.about-story { display: grid; grid-template-columns: .8fr 1fr; gap: 9vw; align-items: center; }
.about-image-stack { position: relative; min-height: 560px; }
.about-image-stack > img { width: 86%; height: 520px; object-fit: cover; }
.about-logo-card {
    position: absolute; right: 0; bottom: 0; width: 48%; padding: 22px; background: var(--blue);
    box-shadow: var(--shadow);
}
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 42px; }
.about-stats strong { display: block; color: var(--blue); font-size: 2.7rem; letter-spacing: -.06em; }
.about-stats span { color: var(--muted); font-size: .77rem; text-transform: uppercase; }
.values-section { background: #e8eef6; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values-grid > div { padding: 34px; background: var(--white); }
.values-grid span { color: var(--blue); font-weight: 800; }
.values-grid h3 { margin-top: 60px; }
.values-grid p { color: var(--muted); font-size: .9rem; }
.service-feature {
    display: grid; grid-template-columns: 90px 1fr 1fr; gap: 45px; padding: 55px 0;
    border-bottom: 1px solid var(--line);
}
.service-index { color: var(--blue); font-weight: 850; }
.service-feature ul { margin: 0; padding: 0; list-style: none; }
.service-feature li { padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.service-hero { position: relative; }
.service-hero .container { position: relative; }
.service-hero h1 { max-width: 900px; }
.service-hero p:not(.eyebrow) { max-width: 700px; color: #c1ccdc; font-size: 1.15rem; }
.service-hero-number { position: absolute; top: 0; right: 0; color: rgba(255,255,255,.12); font-size: 12rem; font-weight: 900; line-height: 1; }
.service-content-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 9vw; }
.service-description { font-size: 1.2rem; }
.deliverable-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.deliverable-list li { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deliverable-list span { color: var(--blue); font-size: .75rem; font-weight: 800; }
.related-services { background: #e8eef6; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-grid a { padding: 32px; background: var(--white); }
.related-grid span { color: var(--blue); font-size: .72rem; font-weight: 800; }
.related-grid h3 { margin: 30px 0 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }
.filter-bar a { padding: 9px 16px; background: var(--white); border-radius: 999px; font-size: .78rem; font-weight: 750; }
.filter-bar a.is-active { color: var(--white); background: var(--blue); }
.project-hero h1, .article-heading h1 { max-width: 1000px; }
.project-hero-meta { display: flex; gap: 35px; color: #adbacd; }
.project-cover { width: min(1380px, calc(100% - 48px)); margin: -50px auto 0; }
.project-cover img { width: 100%; max-height: 850px; object-fit: contain; background: #e7ecf3; box-shadow: var(--shadow); }
.project-story { display: grid; grid-template-columns: 1.05fr .8fr; gap: 9vw; }
.prose { color: #3d4b60; font-size: 1.05rem; }
.related-work { background: #e8eef6; }
.article-heading { max-width: 980px; }
.article-heading p:last-child { max-width: 700px; color: #bac7d9; font-size: 1.15rem; }
.article-cover { width: min(1100px, calc(100% - 48px)); margin: -35px auto 0; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; box-shadow: var(--shadow); }
.article-layout { max-width: 780px; padding-block: 80px; }
.article-prose { color: #334158; font-family: Georgia, serif; font-size: 1.12rem; }
.article-prose h2, .article-prose h3 { margin-top: 2em; color: var(--ink); font-family: Inter, sans-serif; line-height: 1.1; }
.article-prose a { color: var(--blue); text-decoration: underline; }
.article-prose img { margin: 35px auto; }
.contact-page {
    min-height: 100vh; padding: 175px 0 100px; color: var(--white);
    background: radial-gradient(circle at 18% 48%, rgba(40,120,255,.42), transparent 35%), var(--ink);
}
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 9vw; align-items: start; }
.contact-intro h1 { font-size: clamp(3.2rem, 6vw, 6rem); }
.contact-intro > p:not(.eyebrow) { color: #bdc9da; }
.contact-details { margin-top: 60px; }
.contact-details a, .contact-details span { display: block; margin-top: 10px; }
.contact-details a { font-size: 1.15rem; font-weight: 750; }
.contact-form-card { padding: clamp(26px, 4vw, 50px); color: var(--ink); background: var(--white); border-radius: var(--radius); }
.site-form { display: grid; gap: 19px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.site-form label, .admin-form label { display: grid; gap: 7px; font-size: .78rem; font-weight: 800; }
.site-form input, .site-form textarea, .site-form select,
.admin-form input, .admin-form textarea, .admin-form select {
    width: 100%; padding: 13px 14px; color: var(--ink); background: var(--paper);
    border: 1px solid transparent; border-radius: 8px; outline: none;
}
.site-form input:focus, .site-form textarea:focus, .site-form select:focus,
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,120,255,.12);
}
.site-form textarea, .admin-form textarea { min-height: 145px; resize: vertical; }
.field-error { color: var(--danger); font-size: .75rem; font-weight: 700; }
.notice { margin-bottom: 22px; padding: 13px 16px; border-radius: 8px; font-size: .88rem; }
.notice-success { color: var(--success); background: #e9f8ef; border: 1px solid #a8dfbd; }
.notice-error { color: var(--danger); background: #fff0ef; border: 1px solid #f2b8b5; }
.empty-state { grid-column: 1 / -1; padding: 45px; color: var(--muted); background: var(--white); text-align: center; }
.pagination { margin-top: 48px; }

/* Footer */
.site-footer { padding: 85px 0 25px; color: var(--white); background: #040b16; }
.brand-light { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .55fr .55fr; gap: 70px; }
.footer-intro p { max-width: 520px; margin: 25px 0; color: #9cabc0; }
.footer-email { font-size: clamp(1.25rem, 2.7vw, 2.25rem); font-weight: 750; letter-spacing: -.04em; }
.footer-label { color: #718198; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; font-size: .9rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
    display: flex; justify-content: space-between; margin-top: 70px; padding-top: 22px;
    color: #718198; border-top: 1px solid #192438; font-size: .72rem;
}

/* Auth and profile */
.auth-body { min-height: 100vh; background: var(--ink); }
.auth-shell { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 100vh; }
.auth-story {
    display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 6vw, 80px);
    color: var(--white); background: radial-gradient(circle at 20% 60%, rgba(40,120,255,.55), transparent 42%), var(--ink);
}
.auth-story h1 { max-width: 620px; font-size: clamp(3rem, 5.5vw, 6rem); }
.auth-panel { display: grid; place-items: center; padding: 40px; background: var(--paper); }
.auth-card { width: min(480px, 100%); padding: 38px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card form { display: grid; gap: 18px; }
.auth-card label { font-size: .8rem; font-weight: 750; }
.auth-card input[type=email], .auth-card input[type=password], .auth-card input[type=text] {
    width: 100%; padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px;
}
.auth-card button { padding: 12px 18px; color: var(--white); background: var(--blue); border: 0; border-radius: 999px; }
.profile-body { background: var(--paper); }
.profile-topbar {
    display: flex; align-items: center; justify-content: space-between; padding: 16px max(24px, calc((100vw - 1180px) / 2));
    background: var(--white); border-bottom: 1px solid var(--line);
}
.profile-main { width: var(--container); margin: 50px auto; }
.profile-heading { margin-bottom: 30px; }

/* Admin */
.admin-body { min-height: 100vh; background: #edf1f7; }
.admin-shell { min-height: 100vh; }
.admin-sidebar {
    position: fixed; z-index: 70; inset: 0 auto 0 0; display: flex; flex-direction: column;
    width: 270px; padding: 26px 18px; color: #c5d0e2; background: var(--ink);
}
.admin-brand { display: flex; gap: 12px; align-items: center; padding: 0 10px 26px; color: var(--white); font-weight: 800; }
.admin-brand img { width: 155px; height: auto; border-radius: 0; }
.admin-brand span { max-width: 110px; font-size: .8rem; line-height: 1.05; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a {
    display: flex; align-items: center; justify-content: space-between; padding: 11px 13px;
    border-radius: 8px; font-size: .82rem; font-weight: 650;
}
.admin-nav a:hover, .admin-nav a.is-active, .admin-nav a.active { color: var(--white); background: #162844; }
.admin-badge { min-width: 23px; padding: 2px 7px; color: var(--ink); background: var(--cyan); border-radius: 999px; text-align: center; }
.admin-sidebar-footer { display: grid; gap: 8px; margin-top: auto; padding: 16px 10px 0; border-top: 1px solid #22304a; }
.admin-sidebar-footer a, .admin-sidebar-footer button {
    padding: 0; color: #9cacbf; background: none; border: 0; font-size: .76rem; text-align: left;
}
.admin-main { min-height: 100vh; margin-left: 270px; }
.admin-topbar {
    display: flex; align-items: center; justify-content: space-between; min-height: 78px;
    padding: 14px 34px; background: var(--white); border-bottom: 1px solid var(--line);
}
.admin-topbar h1 { margin: 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; }
.admin-kicker { display: block; color: var(--blue); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.admin-user { font-size: .8rem; font-weight: 750; }
.admin-menu-toggle { display: none; }
.admin-content { padding: 35px; }
.admin-header {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px;
}
.admin-header h2 { margin: 0; font-size: 2rem; }
.admin-header p { margin: 7px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card, .admin-card { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.stat-card span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 12px; font-size: 2.5rem; line-height: 1; letter-spacing: -.06em; }
.admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 20px; }
.admin-card h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-links a { padding: 16px; color: var(--blue); background: var(--paper); border-radius: 8px; font-size: .82rem; font-weight: 750; }
.data-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.data-table th { padding: 13px 16px; color: var(--muted); background: #f8fafc; font-size: .67rem; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 15px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.data-table img { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; }
.table-title { font-weight: 750; }
.table-muted { color: var(--muted); font-size: .76rem; }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.table-actions a, .table-actions button {
    padding: 5px 9px; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
    border-radius: 6px; font-size: .7rem; font-weight: 750;
}
.table-actions .danger { color: var(--danger); }
.status { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; }
.status-live, .status-read, .status-completed { color: #12653d; background: #e1f6e9; }
.status-draft, .status-new { color: #825d06; background: #fff4d4; }
.status-archived { color: #5c6878; background: #e9edf2; }
.admin-form-card { max-width: 960px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.admin-form { display: grid; gap: 20px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-form .full { grid-column: 1 / -1; }
.checkbox-row { display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 9px !important; }
.checkbox-row input { width: auto; }
.image-preview { max-width: 280px; max-height: 180px; object-fit: cover; border-radius: 8px; }
.admin-form-actions { display: flex; gap: 10px; padding-top: 10px; }
.message-body { padding: 24px; color: #34435a; background: var(--paper); border-radius: 8px; white-space: pre-wrap; }
.meta-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 25px; }
.meta-list div { padding: 14px; background: var(--paper); border-radius: 8px; }
.meta-list span { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr 360px; gap: 35px; }
    .hero-visual { min-height: 470px; }
    .hero-card-main { height: 370px; }
    .hero-card-float { height: 190px; }
    .manifesto-grid, .about-story { gap: 55px; }
    .testimonial-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card:last-child, .blog-card:last-child { grid-column: span 2; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    :root { --container: min(100% - 32px, 680px); }
    .site-header { position: absolute; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column;
        align-items: flex-start; justify-content: center; gap: 20px; padding: 70px 28px;
        color: var(--white); background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s;
    }
    .site-nav.is-open { z-index: 60; opacity: 1; pointer-events: auto; }
    .site-nav > a { font-size: 1.7rem; }
    .nav-toggle { position: relative; z-index: 70; }
    .nav-open .nav-toggle::before { transform: translateY(8px) rotate(45deg); }
    .nav-open .nav-toggle .nav-toggle-line { opacity: 0; }
    .nav-open .nav-toggle::after { transform: translateY(-8px) rotate(-45deg); }
    .hero { min-height: auto; padding-top: 135px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { min-height: 510px; width: min(520px, 100%); margin: 20px auto 0; }
    .split-heading, .section-heading-row { display: block; }
    .section-heading-row .button, .section-heading-row > a { margin-top: 18px; }
    .service-row { grid-template-columns: 48px 1fr 30px; }
    .service-row p { display: none; }
    .manifesto-grid, .about-story, .service-content-grid, .project-story, .contact-grid,
    .page-hero-grid { grid-template-columns: 1fr; }
    .manifesto-media img { min-height: 430px; }
    .media-label { right: 15px; }
    .process-grid, .process-grid.three { grid-template-columns: repeat(2, 1fr); }
    .process-grid > div:nth-child(2) { border-right: 0; }
    .project-grid { gap: 35px 18px; }
    .project-card:nth-child(even) { margin-top: 45px; }
    .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
    .testimonial-card:last-child, .blog-card:last-child { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-intro { grid-column: 1 / -1; }
    .service-feature { grid-template-columns: 55px 1fr; }
    .service-feature > div:last-child { grid-column: 2; }
    .values-grid { grid-template-columns: 1fr; }
    .about-image-stack { min-height: 480px; }
    .about-image-stack > img { height: 440px; }
    .related-grid { grid-template-columns: 1fr; }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-story { min-height: 44vh; }
    .admin-sidebar { transform: translateX(-100%); transition: transform .22s; box-shadow: 30px 0 70px rgba(0,0,0,.2); }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-menu-toggle { display: inline-flex; padding: 7px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
    .admin-topbar { gap: 15px; padding: 13px 20px; }
    .admin-user { display: none; }
    .admin-content { padding: 24px 18px; }
    .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    :root { --container: calc(100% - 28px); }
    h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
    h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .section { padding: 70px 0; }
    .nav-wrap { min-height: 72px; }
    .brand-lockup img { width: 40px; height: 40px; }
    .hero { padding-top: 115px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-proof {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px;
        margin-top: 40px;
    }
    .hero-proof > div { min-width: 0; }
    .hero-proof strong, .hero-proof span { display: block; }
    .hero-visual { min-height: 390px; }
    .hero-card-main { width: 88%; height: 300px; }
    .hero-card-float { width: 52%; height: 155px; }
    .orbit-badge { right: 0; width: 95px; height: 95px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card:nth-child(even) { margin-top: 0; }
    .project-image { aspect-ratio: 1.12 / 1; }
    .process-grid, .process-grid.three { grid-template-columns: 1fr; }
    .process-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .process-grid > div + div { padding-left: 0; }
    .process-grid h3 { margin-top: 25px; }
    .form-row, .admin-form-grid { grid-template-columns: 1fr; }
    .admin-form .full { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-intro { grid-column: auto; }
    .footer-bottom { display: grid; gap: 8px; }
    .page-hero, .service-hero, .project-hero, .article-hero { padding: 140px 0 75px; }
    .service-hero-number { font-size: 7rem; }
    .service-feature { grid-template-columns: 40px 1fr; gap: 18px; }
    .about-stats { grid-template-columns: 1fr; }
    .project-cover, .article-cover { width: calc(100% - 20px); }
    .contact-page { padding-top: 130px; }
    .contact-form-card { border-radius: 14px; }
    .auth-panel { padding: 18px; }
    .auth-card { padding: 25px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 18px; }
    .stat-card strong { font-size: 2rem; }
    .admin-header { display: block; }
    .admin-header .button { margin-top: 13px; }
    .meta-list { grid-template-columns: 1fr; }
}

/* Public dark theme — based on the Startup Agency and inner-page layouts */
.public-site {
    color: #f5f8ff;
    background: #07101e;
}
.public-site .site-header.is-scrolled {
    color: #f5f8ff;
    background: rgba(7, 16, 30, .94);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.public-site .is-scrolled .nav-cta { color: #fff; background: var(--blue); }
.public-site .section-light,
.public-site .process-section,
.public-site .blog-preview,
.public-site .services-detail-list,
.public-site .work-index { color: #f5f8ff; background: #07101e; }
.public-site .section-ink,
.public-site .work-section,
.public-site .values-section,
.public-site .related-work,
.public-site .related-services { color: #f5f8ff; background: #0b1628; }
.public-site .split-heading > p,
.public-site .service-row p,
.public-site .manifesto-copy p:not(.eyebrow),
.public-site .process-grid p,
.public-site .blog-card-body p,
.public-site .service-feature li,
.public-site .prose,
.public-site .article-prose,
.public-site .about-copy > p,
.public-site .values-grid p,
.public-site .page-hero-grid > p { color: #a9b5c8; }
.public-site .service-list,
.public-site .service-row,
.public-site .process-grid,
.public-site .process-grid > div,
.public-site .service-feature,
.public-site .service-feature li,
.public-site .deliverable-list,
.public-site .deliverable-list li { border-color: #28364c; }
.public-site .project-meta h3,
.public-site .blog-card h2,
.public-site .blog-card h3,
.public-site .article-prose h2,
.public-site .article-prose h3 { color: #f5f8ff; }
.public-site .project-image { background: #111f34; }
.public-site .blog-card,
.public-site .testimonial-card,
.public-site .values-grid > article,
.public-site .values-grid > div,
.public-site .related-grid a,
.public-site .empty-state { color: #f5f8ff; background: #101d31; border: 1px solid #26364f; }
.public-site .testimonial-card footer,
.public-site .footer-bottom { border-color: #28364c; }
.public-site .testimonial-card footer span,
.public-site .blog-card-body > span,
.public-site .empty-state { color: #93a3ba; }
.public-site .testimonial-section,
.public-site .cta-band { background: #1768ec; }
.public-site .button-dark { color: #07101e; background: #fff; }
.public-site .filter-bar a { color: #bdc8d8; background: #101d31; border: 1px solid #26364f; }
.public-site .filter-bar a.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
.public-site .contact-form-card {
    color: #f5f8ff;
    background: #101d31;
    border: 1px solid #2a3a53;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.public-site .site-form input,
.public-site .site-form textarea,
.public-site .site-form select {
    color: #f5f8ff;
    background: #0a1526;
    border-color: #2a3a53;
}
.public-site .site-form input::placeholder,
.public-site .site-form textarea::placeholder { color: #728099; }
.public-site .article-layout aside { color: #a9b5c8; }

.startup-home-hero {
    min-height: 900px;
    padding-top: 145px;
    background:
        radial-gradient(circle at 72% 44%, rgba(52, 118, 255, .34), transparent 28%),
        radial-gradient(circle at 70% 52%, rgba(106, 227, 255, .13), transparent 42%),
        #07101e;
}
.startup-home-hero .hero-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
.startup-home-hero .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(4.4rem, 7.2vw, 7.4rem);
    line-height: .89;
}
.startup-home-hero .hero-copy h1 span { color: #7aeaff; }
.startup-home-hero .hero-actions { margin-top: 42px; }
.startup-home-hero .button-ghost { min-width: 190px; }
.startup-hero-note {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 24px;
    align-items: start;
    max-width: 560px;
    margin-top: 76px;
}
.startup-note-line { width: 100%; height: 1px; margin-top: 13px; background: #5f718c; }
.startup-hero-note p { margin: 0; color: #aab7c9; font-size: .95rem; }
.startup-cube-stage { min-height: 650px; }
.startup-glow {
    position: absolute;
    top: 15%;
    left: 7%;
    width: 85%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(56,129,255,.46), transparent 66%);
    filter: blur(26px);
}
.startup-cube {
    position: absolute;
    z-index: 2;
    top: 2%;
    left: -10%;
    width: 125%;
    height: 96%;
    object-fit: contain;
    filter: drop-shadow(0 50px 70px rgba(0,0,0,.35));
}
.startup-circle {
    position: absolute;
    z-index: 3;
    right: 2%;
    bottom: 7%;
    width: 132px;
    height: 132px;
    animation: startup-spin 18s linear infinite;
}
@keyframes startup-spin { to { transform: rotate(360deg); } }
.startup-service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.startup-service-card {
    position: relative;
    min-height: 390px;
    padding: 30px;
    overflow: hidden;
    color: #f5f8ff;
    background: #101d31;
    border: 1px solid #283a56;
    border-radius: 20px;
    transition: transform .25s, border-color .25s, background .25s;
    grid-column: span 2;
}
.startup-service-card:hover {
    transform: translateY(-7px);
    border-color: #4a85e8;
    background: #132541;
}
.startup-service-card:nth-child(4),
.startup-service-card:nth-child(5) { grid-column: span 3; }
.startup-service-top {
    display: flex;
    justify-content: space-between;
    color: #7aeaff;
    font-size: .76rem;
    font-weight: 850;
}
.startup-service-card h3 {
    position: relative;
    z-index: 2;
    max-width: 280px;
    margin-top: 80px;
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
}
.startup-service-card p {
    position: relative;
    z-index: 2;
    max-width: 330px;
    color: #9facbf;
    font-size: .9rem;
}
.startup-service-orb {
    position: absolute;
    right: -70px;
    bottom: -95px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(122,234,255,.3);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(122,234,255,.4), rgba(40,120,255,.16) 40%, transparent 68%);
}

.inner-page-hero {
    padding: 190px 0 0;
    overflow: hidden;
    color: #f5f8ff;
    background:
        radial-gradient(circle at 85% 12%, rgba(40,120,255,.28), transparent 25%),
        #07101e;
}
.inner-hero-caption h1 {
    max-width: 1120px;
    margin: 0;
    font-size: clamp(3.5rem, 6.7vw, 6.8rem);
    line-height: 1.02;
}
.inner-kicker {
    display: inline-block;
    margin: 0 26px 16px 0;
    padding: 8px 14px;
    color: #7aeaff;
    border: 1px solid #3f5370;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
    vertical-align: middle;
}
.inner-hero-lead {
    width: min(460px, 46%);
    margin: 38px 0 75px auto;
    color: #a9b5c8;
    font-size: 1.05rem;
}
.inner-marquee {
    width: 100%;
    padding: 13px 0 25px;
    overflow: hidden;
    white-space: nowrap;
}
.inner-marquee span {
    display: block;
    color: transparent;
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 850;
    line-height: .9;
    letter-spacing: -.045em;
    -webkit-text-stroke: 1px rgba(255,255,255,.2);
}
.inner-cover {
    width: calc(100% - 30px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}
.inner-cover img { width: 100%; height: min(64vw, 700px); object-fit: cover; }
.inner-cover-services img { object-position: center 42%; filter: saturate(.75) brightness(.7); }
.contact-inner-hero { padding-bottom: 0; }
.contact-inner-hero .inner-hero-caption h1 { font-size: clamp(5rem, 12vw, 12rem); }
.contact-inner-section { min-height: auto; padding-top: 105px; background: #0b1628; }
.contact-inner-section .contact-intro h2 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1;
}

@media (max-width: 900px) {
    .startup-home-hero .hero-inner { grid-template-columns: 1fr; }
    .startup-home-hero .hero-copy h1 { max-width: 780px; }
    .startup-cube-stage { min-height: 560px; }
    .startup-cube { left: 0; width: 100%; }
    .startup-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .startup-service-card,
    .startup-service-card:nth-child(4),
    .startup-service-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 600px) {
    .startup-home-hero { min-height: auto; padding-top: 120px; }
    .startup-home-hero .hero-copy h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
    .startup-hero-note { grid-template-columns: 55px 1fr; margin-top: 48px; }
    .startup-cube-stage { min-height: 400px; }
    .startup-circle { width: 92px; height: 92px; }
    .startup-service-grid { grid-template-columns: 1fr; }
    .startup-service-card { min-height: 335px; }
    .inner-page-hero { padding-top: 135px; }
    .inner-hero-caption h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
    .inner-kicker { display: table; margin-bottom: 25px; }
    .inner-hero-lead { width: 100%; margin: 30px 0 55px; }
    .inner-marquee span { font-size: 4.2rem; }
    .inner-cover { width: calc(100% - 16px); border-radius: 15px 15px 0 0; }
    .inner-cover img { height: 400px; }
    .contact-inner-hero .inner-hero-caption h1 { font-size: clamp(4.2rem, 20vw, 7rem); }
    .contact-inner-section { padding-top: 75px; }
}
