:root {
    /* KOVAR Core */
    --kovar-bg: #000000;
    --kovar-surface: #111115;
    --kovar-surface-soft: #0b0b0f;
    --kovar-border: #24242c;

    /* KOVAR Purple */
    --kovar-purple: #7b2cff;
    --kovar-purple-glow: #9f70ff;
    --kovar-purple-deep: #4d18c9;

    /* Text */
    --kovar-text: #f5f5f7;
    --kovar-text-muted: #a0a0b2;
    --kovar-text-soft: #c7c7d6;

    /* Effects */
    --kovar-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
    --kovar-glow: 0 0 14px rgba(123, 44, 255, 0.28);
    --kovar-radius: 18px;
    --font-brand: Questrial, "Avenir Next", Montserrat, "Segoe UI", sans-serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-slogan: Montserrat, "Avenir Next", var(--font-body);

    --bg: var(--kovar-bg);
    --bg-soft: var(--kovar-surface-soft);
    --surface: var(--kovar-surface);
    --surface-strong: #17171d;
    --line: rgba(42, 42, 53, 0.95);
    --text: var(--kovar-text);
    --muted: var(--kovar-text-muted);
    --muted-strong: var(--kovar-text-soft);
    --accent: var(--kovar-purple);
    --accent-glow: var(--kovar-purple-glow);
    --accent-deep: var(--kovar-purple-deep);
    --shadow: 0 22px 64px rgba(0, 0, 0, 0.5);
    --radius: var(--kovar-radius);
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 72% 20%, rgba(123, 44, 255, 0.14), transparent 31rem),
        linear-gradient(180deg, #000000 0%, #07070b 48%, #000000 100%);
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 1;
    background-image:
        linear-gradient(90deg, rgba(123, 44, 255, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(123, 44, 255, 0.09) 1px, transparent 1px);
    background-position: 0 0;
    background-size: 44px 44px;
}

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(20, 20, 27, 0.82), rgba(11, 11, 15, 0.9));
    border-block: 1px solid rgba(42, 42, 53, 0.9);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--radius);
    transform: translateY(-140%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.82);
    border-bottom: 1px solid rgba(42, 42, 53, 0.86);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.28em;
}

.brand-mark {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border: 1px solid rgba(123, 44, 255, 0.44);
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(123, 44, 255, 0.16), transparent 46%),
        var(--surface);
    box-shadow: 0 0 0 6px rgba(123, 44, 255, 0.05);
}

.brand-mark img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted-strong);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 180ms ease;
}

.nav-menu a img {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    opacity: 0.82;
    filter: brightness(0) saturate(100%) invert(68%) sepia(52%) saturate(2393%) hue-rotate(215deg) brightness(103%) contrast(102%);
    transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--accent-glow);
    text-shadow: var(--kovar-glow);
}

.nav-menu a:hover img,
.nav-menu a:focus-visible img {
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: translateY(-1px);
}

.language-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(123, 44, 255, 0.28);
    border-radius: 999px;
    color: var(--accent-glow);
    font-weight: 700;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(26, 26, 34, 0.86);
    color: var(--text);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    right: -18%;
    top: 8%;
    width: 680px;
    height: 680px;
    content: "";
    border: 1px solid rgba(123, 44, 255, 0.14);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 44, 255, 0.1), transparent 62%);
}

.node-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.node-field span {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.76);
    box-shadow: var(--kovar-glow);
}

.node-field span::after {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 116px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(123, 44, 255, 0.34), transparent);
}

.node-field span:nth-child(1) {
    top: 18%;
    left: 9%;
}

.node-field span:nth-child(2) {
    top: 26%;
    right: 12%;
}

.node-field span:nth-child(2)::after,
.node-field span:nth-child(4)::after {
    right: 8px;
    left: auto;
    background: linear-gradient(270deg, rgba(123, 44, 255, 0.34), transparent);
}

.node-field span:nth-child(3) {
    bottom: 14%;
    left: 5%;
}

.node-field span:nth-child(4) {
    right: 7%;
    bottom: 24%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent-glow);
    font-size: 0.78rem;
    font-family: var(--font-slogan);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(4rem, 12vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
}

.wordmark {
    max-width: 100%;
    line-height: 0;
}

.wordmark img {
    display: block;
    width: min(100%, 760px);
    height: auto;
    object-fit: contain;
}

@media (min-width: 900px) {
    .wordmark img {
        transform: translateX(-5%);
    }
}

.brand-slogan {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--muted-strong);
    font-family: var(--font-slogan);
    font-size: clamp(0.78rem, 1.7vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.brand-slogan span {
    color: var(--accent);
}

h2 {
    max-width: 760px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
}

h3 {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
}

.hero-lead {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    line-height: 1.18;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-slogan);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button-icon {
    min-width: 0;
    white-space: nowrap;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    border-color: rgba(123, 44, 255, 0.58);
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(123, 44, 255, 0.18);
}

.button-secondary {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: var(--kovar-glow);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--accent);
    color: var(--accent-glow);
}

.icon-badge {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    place-items: center;
    border: 1px solid rgba(123, 44, 255, 0.26);
    border-radius: 14px;
    background:
        radial-gradient(circle at 64% 28%, rgba(123, 44, 255, 0.12), transparent 54%),
        rgba(8, 8, 12, 0.92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.icon-badge img,
.footer-social img {
    display: block;
    filter: brightness(0) saturate(100%) invert(62%) sepia(59%) saturate(1375%) hue-rotate(216deg) brightness(104%) contrast(101%);
}

.icon-badge img {
    width: 24px;
    height: 24px;
}

.hero-symbol {
    display: grid;
    place-items: center;
}

.wolf-circuit {
    position: relative;
    display: grid;
    width: min(430px, 78vw);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(123, 44, 255, 0.18);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(123, 44, 255, 0.1), rgba(17, 17, 21, 0.5) 46%, rgba(0, 0, 0, 0.2) 72%);
    box-shadow: var(--shadow);
}

.wolf-circuit::before,
.wolf-circuit::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(123, 44, 255, 0.22);
    border-radius: 50%;
}

.wolf-circuit::before {
    inset: 48px;
}

.wolf-circuit::after {
    inset: 96px;
    border-style: dashed;
}

.logo-orbit {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(330px, 70vw);
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(123, 44, 255, 0.12), transparent 58%);
}

.logo-orbit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(123, 44, 255, 0.18));
}

.logo-placeholder {
    color: var(--muted-strong);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 44px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.04rem;
}

.section-heading-wide {
    max-width: 840px;
}

.about-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
    gap: 48px;
    align-items: start;
    padding: 42px;
    border: 1px solid rgba(123, 44, 255, 0.2);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 12%, rgba(123, 44, 255, 0.08), transparent 32%),
        rgba(17, 17, 21, 0.76);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.about-panel::after,
.portfolio-panel::after {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid var(--accent-glow);
    border-radius: 50%;
    box-shadow: var(--kovar-glow);
}

.about-panel .section-heading {
    margin-bottom: 0;
}

.about-copy {
    display: grid;
    gap: 18px;
}

.about-copy p {
    margin-bottom: 0;
    color: var(--muted-strong);
    font-size: 1.06rem;
}

.about-copy .statement {
    margin-top: 8px;
    color: var(--text);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-family: var(--font-slogan);
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.technology-strip {
    padding: 34px 0;
    border-block: 1px solid rgba(42, 42, 53, 0.78);
    background: rgba(0, 0, 0, 0.28);
}

.technology-strip .container {
    display: grid;
    gap: 22px;
}

.technology-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.technology-heading .eyebrow {
    margin-bottom: 0;
}

.technology-heading h2 {
    max-width: 540px;
    margin-bottom: 0;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.2;
    text-align: right;
}

.technology-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.technology-list span {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(123, 44, 255, 0.22);
    border-radius: 999px;
    background: rgba(17, 17, 21, 0.74);
    color: var(--muted-strong);
    font-family: var(--font-slogan);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.technology-list img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    filter: brightness(0) saturate(100%) invert(62%) sepia(59%) saturate(1375%) hue-rotate(216deg) brightness(104%) contrast(101%);
}

.capabilities-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.capability,
.service-card,
.process-list article {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 17, 21, 0.84);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.capability::before,
.process-list article::before {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 9px;
    height: 9px;
    content: "";
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.76);
    box-shadow: var(--kovar-glow);
}

.capability::after,
.process-list article::after {
    position: absolute;
    top: 24px;
    right: 31px;
    width: 42px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, rgba(123, 44, 255, 0.32), transparent);
}

.capability {
    min-height: 220px;
    padding: 24px;
}

.capability-icon,
.process-list span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--accent-glow);
    font-size: 0.78rem;
    font-family: var(--font-slogan);
    font-weight: 400;
    letter-spacing: 0.12em;
}

.capability p,
.service-card p,
.process-list p,
.portfolio-panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.approach-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-list article {
    padding: 22px;
}

.process-list h3 {
    margin-bottom: 8px;
}

.services-grid {
    align-items: stretch;
}

.service-card {
    position: relative;
    min-height: 190px;
    padding: 26px;
    overflow: hidden;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-card .icon-badge {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.58;
}

.service-card::after {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 8px;
    height: 8px;
    content: "";
    border: 2px solid var(--accent-glow);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.76);
    box-shadow: 0 0 12px rgba(123, 44, 255, 0.24);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(159, 123, 255, 0.42);
    background: rgba(18, 18, 24, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.portfolio {
    padding-block: 80px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.criteria-grid span {
    position: relative;
    display: flex;
    min-height: 74px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(17, 17, 21, 0.84);
    color: var(--muted-strong);
    font-weight: 800;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.criteria-grid span::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: 12px;
    content: "";
    border: 2px solid var(--accent-glow);
    border-radius: 50%;
    box-shadow: var(--kovar-glow);
}

.portfolio-panel,
.contact-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.portfolio-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.74fr);
    padding: 42px;
    border: 1px solid rgba(123, 44, 255, 0.2);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 72% 18%, rgba(123, 44, 255, 0.1), transparent 34%),
        rgba(17, 17, 21, 0.84);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.portfolio-copy p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
}

.portfolio-showcase {
    display: grid;
    justify-items: end;
    gap: 16px;
}

.portfolio-video {
    width: min(100%, 430px);
    margin: 0;
}

.portfolio-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(159, 112, 255, 0.22);
    border-radius: 14px;
    background: #000000;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.portfolio-video figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: right;
}

.portfolio-panel h2,
.contact h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact .contact-layout p:not(.eyebrow) {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
}

.contact-actions {
    display: grid;
    justify-items: end;
    gap: 14px;
}

.contact-mail-button {
    width: fit-content;
    min-width: 0;
    min-height: 52px;
    padding-inline: 28px;
    font-size: 1rem;
    white-space: nowrap;
    text-transform: none;
}

.contact-mail-button img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    filter: brightness(0) invert(1);
}

.site-footer {
    border-top: 1px solid rgba(42, 42, 53, 0.9);
    background: #000000;
}

.footer-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-brand,
.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand-identity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-identity img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.footer-brand-identity span {
    color: var(--text);
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.footer-social a,
.footer-social span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 700;
}

.footer-social a {
    padding: 0 12px;
    border: 1px solid rgba(123, 44, 255, 0.2);
    color: var(--accent-glow);
    transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    border-color: rgba(123, 44, 255, 0.42);
    color: var(--text);
    text-shadow: var(--kovar-glow);
    transform: translateY(-1px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-social img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 45;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(123, 44, 255, 0.24), var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    box-shadow: var(--kovar-glow), 0 18px 40px rgba(123, 44, 255, 0.34);
    outline: 0;
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.nox-assistant {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 46;
}

.nox-toggle {
    position: relative;
    display: grid;
    width: 66px;
    height: 66px;
    padding: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(123, 44, 255, 0.38);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 22%, rgba(159, 112, 255, 0.18), transparent 56%),
        rgba(17, 17, 21, 0.92);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 0 6px rgba(123, 44, 255, 0.05);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nox-toggle:hover,
.nox-toggle:focus-visible {
    border-color: rgba(159, 112, 255, 0.72);
    box-shadow: var(--kovar-glow), 0 18px 40px rgba(0, 0, 0, 0.42);
    outline: 0;
    transform: translateY(-2px);
}

.nox-toggle img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: 50% 18%;
    transform: scale(1.28) translateY(8px);
}

.nox-toggle span {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: var(--kovar-glow);
}

.nox-panel {
    position: absolute;
    bottom: 82px;
    left: 0;
    width: min(430px, calc(100vw - 36px));
}

.nox-card {
    position: relative;
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(123, 44, 255, 0.28);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 16% 12%, rgba(123, 44, 255, 0.16), transparent 38%),
        rgba(10, 10, 14, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), var(--kovar-glow);
    backdrop-filter: blur(18px);
}

.nox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(42, 42, 53, 0.95);
    border-radius: 50%;
    background: rgba(17, 17, 21, 0.9);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.nox-close:hover,
.nox-close:focus-visible {
    border-color: rgba(159, 112, 255, 0.62);
    color: var(--accent-glow);
    outline: 0;
}

.nox-figure {
    display: grid;
    align-self: start;
    min-height: 202px;
    place-items: end center;
}

.nox-figure img {
    width: 138px;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.nox-copy {
    display: grid;
    gap: 6px;
    padding-right: 32px;
}

.nox-copy .eyebrow {
    margin-bottom: 0;
}

.nox-copy h2 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.nox-copy p:not(.eyebrow),
.nox-answer {
    margin-bottom: 0;
    color: var(--muted);
}

.nox-copy p:not(.eyebrow) {
    font-size: 0.88rem;
    line-height: 1.45;
}

.nox-questions {
    display: grid;
    grid-column: 1 / -1;
    gap: 7px;
}

.nox-questions button {
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(123, 44, 255, 0.22);
    border-radius: 999px;
    background: rgba(17, 17, 21, 0.84);
    color: var(--muted-strong);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    line-height: 1.25;
    text-align: left;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nox-questions button:hover,
.nox-questions button:focus-visible,
.nox-questions button.is-active {
    border-color: rgba(159, 112, 255, 0.6);
    background: rgba(123, 44, 255, 0.14);
    color: var(--text);
    outline: 0;
}

.nox-answer {
    grid-column: 1 / -1;
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(42, 42, 53, 0.95);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    font-size: 0.86rem;
    line-height: 1.45;
}

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

    .nav-menu {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(11, 11, 15, 0.96);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: grid;
        gap: 14px;
    }

    .language-link {
        width: fit-content;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-grid,
    .approach-layout {
        grid-template-columns: 1fr;
    }

    .hero-symbol {
        order: -1;
    }

    .about-panel,
    .capabilities-grid,
    .services-grid,
    .criteria-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-panel {
        padding: 34px;
    }

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

    .technology-heading h2 {
        max-width: 100%;
        text-align: left;
    }

    .portfolio-panel,
    .contact-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-panel {
        grid-template-columns: 1fr;
    }

    .portfolio-showcase {
        justify-items: start;
        width: 100%;
    }

    .portfolio-video {
        width: 100%;
    }

    .portfolio-video figcaption {
        text-align: left;
    }

    .contact-actions {
        justify-items: start;
    }

}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .about-panel,
    .capabilities-grid,
    .services-grid,
    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .capability,
    .service-card {
        min-height: auto;
    }

    .button {
        width: 100%;
    }

    .contact-mail-button {
        width: fit-content;
        max-width: 100%;
        padding-inline: 22px;
        font-size: 0.95rem;
    }

    .wordmark {
        margin-bottom: 16px;
    }

    .brand-slogan {
        letter-spacing: 0.18em;
    }

    .wolf-circuit {
        width: min(320px, 86vw);
    }

    .logo-orbit {
        width: min(240px, 72vw);
    }

    .portfolio-panel {
        padding: 28px;
    }

    .about-panel {
        padding: 28px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 76px;
    }

    .footer-brand,
    .footer-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .nox-assistant {
        bottom: 14px;
        left: 14px;
    }

    .nox-panel {
        bottom: 76px;
    }

    .nox-card {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .nox-figure {
        min-height: 182px;
    }

    .nox-figure img {
        width: 116px;
    }

    .nox-copy {
        padding-right: 28px;
    }
}

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