:root {
    --bg: #0d1117;
    --bg-soft: #151c24;
    --panel: #1b232d;
    --panel-strong: rgba(14, 20, 27, 0.9);
    --text: #eef2f5;
    --muted: #b9c4ce;
    --line: rgba(255, 255, 255, 0.1);
    --brand: #f68b1f;
    --brand-deep: #cf6a08;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 14px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(246, 139, 31, 0.18), transparent 30%),
        linear-gradient(180deg, #0a0f14 0%, #0d1117 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

main {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.floating-email {
    position: fixed;
    right: 1rem;
    top: 50%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 280px;
    padding: 0.95rem 1rem;
    transform: translateY(-50%);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(246, 139, 31, 0.96), rgba(207, 106, 8, 0.96));
    color: #111;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-email:hover {
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.floating-email__label,
.floating-email__address {
    font-weight: 800;
    font-size: 0.86rem;
    line-height: 1.2;
}

.floating-email__address {
    font-size: 0.82rem;
    word-break: break-word;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(8, 12, 17, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand__logo-wrap {
    flex: 0 0 auto;
}

.brand__logo {
    width: 170px;
    height: auto;
    display: block;
}

.brand__text {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand__eyebrow,
.eyebrow {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
}

.brand__name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--white);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), #ffb45e);
    color: #111;
    font-weight: 800;
    box-shadow: 0 12px 35px rgba(246, 139, 31, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(246, 139, 31, 0.34);
}

.button--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.button--nav {
    min-height: 46px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.flash-wrap {
    padding-top: 1rem;
}

.flash {
    border-radius: 16px;
    padding: 1rem 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.flash--success {
    background: rgba(58, 168, 96, 0.15);
    border: 1px solid rgba(58, 168, 96, 0.35);
}

.flash--error {
    background: rgba(222, 84, 84, 0.16);
    border: 1px solid rgba(222, 84, 84, 0.35);
}

.hero,
.page-hero {
    position: relative;
    padding: 6rem 0 4rem;
}

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 4.25rem 0 2.75rem;
}

.hero__media,
.page-hero::before,
.project-card {
    background-size: cover;
    background-position: center;
}

.hero__media {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(8, 12, 17, 0.92) 22%, rgba(8, 12, 17, 0.5) 60%, rgba(8, 12, 17, 0.86) 100%),
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80');
    transform: scale(1.03);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 2rem;
    align-items: end;
}

.hero h1,
.page-hero h1 {
    margin: 0.5rem 0 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.75rem);
    line-height: 1;
    text-transform: uppercase;
}

.hero__lead,
.page-hero p,
.intro-grid p,
.feature-band p,
.service-card p,
.service-detail p,
.panel p,
.cta p,
.contact-copy p,
.footer__text,
.project-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.hero__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero__stats li,
.hero__card,
.panel,
.service-card,
.project-card,
.contact-form,
.feature-band,
.service-detail {
    border: 1px solid var(--line);
    background: rgba(20, 28, 37, 0.78);
    box-shadow: var(--shadow);
}

.hero__stats li {
    padding: 1rem;
    border-radius: 18px;
}

.hero__stats strong {
    display: block;
    font-size: 1.3rem;
    color: var(--white);
}

.hero__stats span {
    color: var(--muted);
}

.hero__card {
    padding: 2rem;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(22, 31, 41, 0.94) 0%, rgba(14, 20, 27, 0.94) 100%);
}

.hero__card-title,
.footer__brand,
.footer__heading,
.contact-points__label {
    margin: 0 0 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.check-list,
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li,
.footer__links li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.9rem;
    color: var(--muted);
}

.check-list li::before,
.footer__links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), #ffb45e);
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background: rgba(255, 255, 255, 0.02);
}

.section--cta {
    padding-top: 1rem;
    padding-bottom: 5rem;
}

.intro-grid,
.two-column,
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.section-head {
    max-width: 720px;
    margin-bottom: 2rem;
}

.section h2,
.service-detail h2,
.cta h2 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.05;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.service-card,
.panel,
.contact-form,
.feature-band,
.service-detail {
    border-radius: var(--radius);
}

.service-card {
    padding: 1.8rem;
}

.service-card h3,
.feature-band h3,
.service-detail__index,
.project-card h2 {
    margin: 0 0 0.8rem;
    font-family: 'Rajdhani', sans-serif;
}

.service-card--accent {
    background: linear-gradient(180deg, rgba(246, 139, 31, 0.14), rgba(20, 28, 37, 0.92));
}

.feature-band {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

.feature-band__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-band__items article {
    padding-left: 1rem;
    border-left: 2px solid rgba(246, 139, 31, 0.35);
}

.cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.4rem;
    border-radius: var(--radius);
    border: 1px solid rgba(246, 139, 31, 0.2);
    background: linear-gradient(135deg, rgba(246, 139, 31, 0.14), rgba(20, 28, 37, 0.94));
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.26;
}

.page-hero--about::before {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80');
}

.page-hero--services::before {
    background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1600&q=80');
}

.page-hero--projects::before {
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80');
}

.page-hero--contact::before {
    background-image: url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?auto=format&fit=crop&w=1600&q=80');
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.services-stack {
    display: grid;
    gap: 1.2rem;
}

.service-detail {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem;
    padding: 1.8rem;
}

.service-detail__index {
    color: var(--brand);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.project-card {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(9, 13, 18, 0.92) 100%);
}

.project-card__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.6rem;
}

.project-card__tag {
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.85rem;
}

.project-card--one {
    background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=80');
}

.project-card--two {
    background-image: url('https://images.unsplash.com/photo-1581092160607-ee22731ad738?auto=format&fit=crop&w=1200&q=80');
}

.project-card--three {
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1200&q=80');
}

.panel {
    padding: 1.8rem;
}

.contact-copy {
    padding-right: 2rem;
}

.contact-points {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form {
    padding: 2rem;
}

.form-intro {
    margin-bottom: 1.5rem;
}

.form-status {
    margin-bottom: 1.2rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-weight: 700;
}

.form-status--success {
    background: rgba(58, 168, 96, 0.15);
    border: 1px solid rgba(58, 168, 96, 0.35);
    color: #dff5e6;
}

.form-status--error {
    background: rgba(222, 84, 84, 0.16);
    border: 1px solid rgba(222, 84, 84, 0.35);
    color: #ffd6d6;
}

.form-kicker {
    margin: 0 0 0.5rem;
    color: var(--brand);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
}

.form-intro h3 {
    margin: 0 0 0.6rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 13, 18, 0.75);
    color: var(--white);
    padding: 0.95rem 1rem;
    font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(246, 139, 31, 0.45);
    border-color: transparent;
}

.field--error input,
.field--error select,
.field--error textarea {
    border-color: rgba(222, 84, 84, 0.9);
}

.field__error {
    display: block;
    margin-top: 0.55rem;
    color: #ffb9b9;
    font-size: 0.92rem;
    font-weight: 600;
}

.field__optional {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 420px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 14, 0.72);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 2rem;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.trust-pills span {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
}

.footer__bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero__content,
    .feature-band,
    .intro-grid,
    .two-column,
    .contact-layout,
    .service-detail,
    .footer__grid,
    .card-grid,
    .project-grid,
    .feature-band__items {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        padding-right: 0;
    }
}

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

    .site-nav {
        position: absolute;
        top: 86px;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(11, 16, 22, 0.97);
        border: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 3.6rem;
        padding-bottom: 2.25rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .brand {
        gap: 0.6rem;
    }

    .brand__logo {
        width: 128px;
    }

    .hero__stats,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-email {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        transform: none;
        writing-mode: horizontal-tb;
        text-orientation: initial;
        border-radius: 16px;
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 560px) {
    .topbar__inner {
        min-height: 78px;
    }

    .brand {
        align-items: flex-start;
        max-width: calc(100% - 64px);
    }

    .brand__logo {
        width: 112px;
    }

    .brand__name {
        font-size: 1rem;
    }

    .brand__eyebrow {
        font-size: 0.7rem;
    }

    .hero,
    .page-hero {
        padding-top: 3.4rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero__card,
    .service-card,
    .panel,
    .contact-form,
    .feature-band,
    .service-detail,
    .cta {
        padding: 1.3rem;
    }

    .form-intro h3 {
        font-size: 1.6rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.85rem 0.9rem;
    }

    .form-actions {
        align-items: stretch;
    }

    .form-actions .button {
        width: 100%;
    }
}
