/* Public site design system */

:root {
    --bg-primary: #07090b;
    --bg-secondary: #0b0e12;
    --bg-tertiary: #10151b;
    --bg-card: rgba(16, 20, 26, 0.92);
    --bg-card-hover: rgba(20, 25, 32, 0.96);
    --bg-muted: rgba(255, 255, 255, 0.035);

    --text-primary: #f3f6f8;
    --text-secondary: #aeb8c2;
    --text-tertiary: #737f8c;

    --accent-primary: #89b8c8;
    --accent-secondary: #d4b06a;
    --accent-tertiary: #8fb89d;

    --gradient-1: linear-gradient(135deg, #eef3f6 0%, #89b8c8 100%);
    --gradient-2: linear-gradient(135deg, #d7dde2 0%, #d4b06a 100%);
    --gradient-3: linear-gradient(135deg, #d7dde2 0%, #8fb89d 100%);

    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-width: 1180px;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 8px;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.34);
    --shadow-glow: 0 0 0 1px rgba(137, 184, 200, 0.18);

    --transition-fast: 0.16s ease;
    --transition-base: 0.22s ease;
    --transition-slow: 0.36s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(137, 184, 200, 0.08), transparent 30%),
        linear-gradient(180deg, #07090b 0%, #0a0d11 42%, #07090b 100%);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::before {
    display: none;
}

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

a {
    color: inherit;
}

strong {
    color: var(--text-primary);
    font-weight: 650;
}

.gradient-background,
.hero-decorative-elements,
.gradient-orb,
.hero-orb,
.cta-decoration,
.cta-orb {
    display: none;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 9, 11, 0.86);
    backdrop-filter: blur(18px);
    transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

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

.logo {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    white-space: nowrap;
}

.logo:hover .logo-text {
    color: var(--text-primary);
}

.logo-text {
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.logo-subtitle {
    margin-top: 5px;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-muted);
    border-color: var(--border);
}

.nav-link::before,
.nav-link::after {
    display: none;
}

.nav-cta {
    margin-left: 8px;
    color: var(--text-primary);
    background: rgba(137, 184, 200, 0.12);
    border-color: rgba(137, 184, 200, 0.28);
}

.nav-cta:hover {
    background: rgba(137, 184, 200, 0.18);
    border-color: rgba(137, 184, 200, 0.4);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: var(--bg-muted);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-secondary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 76px;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: auto;
    padding: 48px 0 42px;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.hero-copy {
    max-width: 650px;
}

.hero-media {
    position: relative;
    min-width: 0;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(137, 184, 200, 0.32), rgba(255, 255, 255, 0.06), rgba(212, 176, 106, 0.18));
    opacity: 0.72;
}

.hero-media img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    min-height: 34px;
    margin-bottom: 22px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.badge-icon {
    width: 7px;
    height: 7px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent-primary);
    color: transparent;
    flex: 0 0 7px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 50px;
    font-weight: 720;
    line-height: 1.03;
    letter-spacing: 0;
}

.title-line,
.title-highlight {
    display: block;
    min-height: 1em;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.title-highlight {
    color: var(--accent-primary);
}

.title-highlight::after {
    display: none;
}

.hero-subtitle {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.62;
}

.highlight-name,
.highlight-text {
    color: var(--text-primary);
    font-weight: 650;
}

.highlight-name::after {
    display: none;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 64px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.hero-feature:hover {
    transform: translateY(-2px);
    border-color: rgba(137, 184, 200, 0.28);
    background: rgba(137, 184, 200, 0.06);
    color: var(--text-primary);
}

.feature-icon {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent-primary);
    color: transparent;
    flex: 0 0 8px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: rgba(137, 184, 200, 0.45);
    background: #dbe5e9;
    color: #071015;
    box-shadow: 0 12px 34px rgba(137, 184, 200, 0.12);
}

.btn-primary:hover {
    border-color: rgba(137, 184, 200, 0.72);
    background: #f1f6f8;
    box-shadow: 0 16px 42px rgba(137, 184, 200, 0.16);
}

.btn-secondary {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: rgba(137, 184, 200, 0.36);
    background: rgba(137, 184, 200, 0.08);
}

.btn::before,
.btn::after,
.btn-primary::before,
.btn-primary::after {
    display: none;
}

.btn-arrow {
    display: inline-flex;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.section,
.services-section {
    position: relative;
    padding: 72px 0;
}

.section + .section {
    border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.stats-section,
.solutions-section,
.cta-section {
    background: rgba(255, 255, 255, 0.012);
}

.section-header {
    margin-bottom: 32px;
    text-align: center;
}

.section-title,
.section-title-small {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0;
    text-align: center;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.section-title-small {
    font-size: 34px;
}

.section-subtitle,
.section-subtitle-small {
    max-width: 620px;
    margin: 0 auto 42px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.section-subtitle-small {
    margin-bottom: 0;
}

.section-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.card,
.case-card,
.review-card,
.stat-item,
.cta-card {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.card:hover,
.case-card:hover,
.review-card:hover,
.stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(137, 184, 200, 0.26);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.card {
    padding: 26px;
    overflow: hidden;
}

.card::before,
.case-card::before,
.case-card::after,
.review-card::before,
.stat-item::before {
    display: none;
}

.card .card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.card .card:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.card-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    margin-bottom: 14px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(137, 184, 200, 0.24);
    border-radius: var(--border-radius-sm);
    background: rgba(137, 184, 200, 0.08);
    color: transparent;
}

.card-icon::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.card-title {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.25;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.72;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
}

.stat-item {
    position: relative;
    min-height: 190px;
    padding: 28px 20px;
    text-align: left;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.78;
}

.stat-icon-wrapper {
    display: none;
}

.stat-value {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 720;
    line-height: 1;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.stat-label {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
}

.stat-description {
    margin-top: 8px;
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
}

.case-card {
    overflow: hidden;
}

.case-card:hover .case-image {
    transform: none;
}

.case-image {
    width: 100%;
    height: 226px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(137, 184, 200, 0.12), transparent 42%),
        linear-gradient(180deg, #11171e, #090c10);
}

div.case-image::before {
    display: none;
}

.case-content {
    padding: 22px;
}

.case-title {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 21px;
    font-weight: 650;
    line-height: 1.25;
}

.case-description {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.tech-tag:hover {
    border-color: rgba(137, 184, 200, 0.32);
    background: rgba(137, 184, 200, 0.07);
    color: var(--text-primary);
}

.tech-tag::before {
    display: none;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 650;
    text-decoration: none;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.case-link:hover {
    gap: 11px;
    color: var(--text-primary);
    transform: none;
}

.case-link::after {
    display: none;
}

.review-card {
    padding: 26px;
    overflow: hidden;
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.review-author {
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 650;
}

.review-rating {
    color: var(--accent-secondary);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.review-text {
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-style: normal;
    line-height: 1.72;
}

.review-project {
    color: var(--text-tertiary);
    font-size: 13px;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(174, 184, 194, 0.56);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(137, 184, 200, 0.28);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(137, 184, 200, 0.6);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 3px rgba(137, 184, 200, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.cta-section {
    padding: 82px 0;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    text-align: center;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(137, 184, 200, 0.1), transparent 55%, rgba(212, 176, 106, 0.07));
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.cta-icon {
    display: none;
}

.cta-title {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.16;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.cta-subtitle {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.cta-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(143, 184, 157, 0.16);
    color: var(--accent-tertiary);
    font-size: 11px;
    font-weight: 800;
}

.btn-cta {
    min-height: 50px;
    padding: 14px 22px;
}

.footer {
    position: relative;
    z-index: 1;
    margin-top: 72px;
    padding: 56px 0 28px;
    border-top: 1px solid var(--border);
    background: rgba(7, 9, 11, 0.78);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 38px;
}

.footer-title {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-subtitle {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 650;
}

.footer-text,
.footer-links a {
    color: var(--text-secondary);
}

.footer-text {
    max-width: 390px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: none;
}

.footer-links a::before {
    display: none;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 13px;
    text-align: center;
}

.flash-messages {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 300px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.flash-success {
    border-color: rgba(143, 184, 157, 0.38);
    color: #a8d4b2;
}

.flash-error {
    border-color: rgba(230, 110, 110, 0.42);
    color: #f0a2a2;
}

.flash-close {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    opacity: 0.72;
}

.flash-close:hover {
    opacity: 1;
}

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(24px);
    }
}

.flash-message {
    animation: slideInRight 0.22s ease;
}

/* Neutralize legacy inline showcase accents in content pages. */
.card[style*="var(--gradient-1)"] {
    border: 1px solid var(--border) !important;
    background: var(--bg-card) !important;
}

.card[style*="var(--gradient-1)"] .card-title,
.card[style*="var(--gradient-1)"] p {
    color: var(--text-primary) !important;
}

[style*="rgba(99, 102, 241"],
[style*="rgba(139, 92, 246"],
[style*="rgba(236, 72, 153"],
[style*="rgba(245, 158, 11"],
[style*="rgba(16, 185, 129"] {
    border-color: var(--border) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

[style*="#10b981"],
[style*="#f59e0b"] {
    border-color: var(--border) !important;
    color: var(--text-secondary) !important;
}

.card li > span[style*="font-size: 24px"],
.card li > span[style*="font-size:24px"] {
    display: inline-flex !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--accent-primary);
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-media {
        max-width: 760px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .nav-menu {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        background: rgba(7, 9, 11, 0.96);
        transform: translateY(-120%);
        transition: transform var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link,
    .nav-cta {
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }

    .hero {
        min-height: auto;
        padding: 58px 0 46px;
    }

    .hero-title {
        font-size: 44px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-title-small,
    .cta-title {
        font-size: 30px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        min-height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 16px;
    }

    .nav-content {
        min-height: 68px;
    }

    .main-content {
        padding-top: 68px;
    }

    .nav-menu {
        top: 68px;
        padding-inline: 16px;
    }

    .hero {
        padding-top: 42px;
        padding-bottom: 22px;
    }

    .hero-layout {
        position: relative;
        display: block;
    }

    .hero-copy {
        position: relative;
        z-index: 1;
    }

    .hero-media {
        position: absolute;
        right: 0;
        bottom: 8px;
        left: 0;
        z-index: 0;
        opacity: 0.14;
        pointer-events: none;
    }

    .hero-media::before {
        display: none;
    }

    .hero-media img {
        height: 180px;
        object-fit: cover;
        filter: brightness(0.85);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta,
    .section-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section,
    .services-section,
    .cta-section {
        padding: 54px 0;
    }

    .stats,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .review-card,
    .cta-card {
        padding: 22px;
    }

    .stat-item {
        min-height: auto;
    }

    .case-image {
        height: 190px;
    }

    .review-header {
        flex-direction: column;
        gap: 10px;
    }

    .flash-messages {
        right: 16px;
        left: 16px;
    }

    .flash-message {
        min-width: 0;
    }
}

/* ============================================
   Black editorial redesign inspired by references
   ============================================ */

:root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0a;
    --bg-card: rgba(9, 9, 9, 0.72);
    --bg-card-hover: rgba(16, 16, 16, 0.84);
    --bg-muted: rgba(255, 255, 255, 0.045);

    --text-primary: #f7f7f3;
    --text-secondary: #b8b8b2;
    --text-tertiary: #70706b;

    --accent-primary: #f2f2ec;
    --accent-secondary: #9ca3af;
    --accent-tertiary: #d6d6cf;

    --border: rgba(255, 255, 255, 0.095);
    --border-strong: rgba(255, 255, 255, 0.18);
    --shadow-md: 0 22px 70px rgba(0, 0, 0, 0.58);
    --shadow-lg: 0 34px 120px rgba(0, 0, 0, 0.72);
}

body {
    background: #000;
}

body::before {
    display: none;
}

body::after {
    display: none;
}

.navbar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.76);
}

.nav-content {
    min-height: 72px;
}

.logo-text {
    font-size: 20px;
    letter-spacing: 0;
    text-transform: none;
}

.logo-subtitle,
.nav-link {
    letter-spacing: 0;
    text-transform: none;
}

.nav-link {
    min-height: 36px;
    color: rgba(247, 247, 243, 0.7);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.055);
}

.nav-cta,
.btn-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.main-content {
    padding-top: 72px;
}

.hero {
    min-height: auto;
    padding: 24px 0 0;
}

.hero .container {
    max-width: 1240px;
}

.hero-layout {
    position: relative;
    display: block;
    min-height: 0;
    padding: 30px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-layout::before {
    content: none;
    display: none;
}

.hero-poster-word {
    position: absolute;
    top: 0;
    right: -2vw;
    z-index: 0;
    color: rgba(255, 255, 255, 0.048);
    font-family: var(--font-primary);
    font-size: clamp(104px, 19vw, 260px);
    font-weight: 800;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
    animation: posterFade 1.1s ease both;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 10px;
}

.hero-badge {
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.052);
    color: rgba(247, 247, 243, 0.72);
    font-size: 12px;
    text-transform: uppercase;
}

.badge-icon,
.feature-icon {
    background: #f7f7f3;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.36);
}

.hero-title {
    max-width: 850px;
    margin-bottom: 18px;
    font-size: clamp(66px, 8vw, 108px);
    font-weight: 800;
    line-height: 0.84;
    text-transform: uppercase;
    animation: heroTitleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.title-line,
.title-highlight {
    color: #f8f8f2;
    text-shadow: 0 18px 70px rgba(255, 255, 255, 0.06);
}

.title-highlight {
    color: rgba(248, 248, 242, 0.78);
}

.hero-subtitle {
    max-width: 575px;
    margin-bottom: 20px;
    color: rgba(247, 247, 243, 0.68);
    font-size: 16px;
}

.highlight-text {
    color: #fff;
}

.hero-features {
    max-width: 710px;
    margin-bottom: 18px;
}

.hero-feature {
    min-height: 58px;
    padding: 10px 12px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
}

.hero-feature:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.075);
}

.hero-media {
    position: absolute;
    top: 52%;
    right: 0;
    z-index: 1;
    width: min(48vw, 610px);
    max-width: none;
    transform: translateY(-50%);
    opacity: 0.9;
    animation: mediaDrift 7s ease-in-out infinite;
}

.hero-media::before {
    inset: -1px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: 2;
    border-radius: 7px;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.11) 42%, transparent 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.52));
    opacity: 0.45;
}

.hero-media img {
    filter: grayscale(0.15) saturate(0.72) contrast(1.18) brightness(0.68);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.78);
}

.hero-media-label {
    position: absolute;
    z-index: 3;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.58);
    color: rgba(247, 247, 243, 0.68);
    font-size: 11px;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
}

.hero-media-label-top {
    top: 14px;
    right: 14px;
}

.hero-media-label-bottom {
    right: 14px;
    bottom: 14px;
}

.hero-marquee {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.hero-marquee::before,
.hero-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 90px;
    pointer-events: none;
}

.hero-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #000, transparent);
}

.hero-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #000, transparent);
}

.hero-marquee-track {
    display: flex;
    width: max-content;
    gap: 28px;
    padding: 8px 0;
    color: rgba(247, 247, 243, 0.46);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    animation: marqueeMove 24s linear infinite;
}

.hero-marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.hero-marquee-track span::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.32);
}

.btn {
    border-radius: 999px;
    backdrop-filter: blur(14px);
}

.btn-primary {
    border-color: #f5f5ef;
    background: #f5f5ef;
    color: #050505;
    box-shadow: 0 24px 60px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(255, 255, 255, 0.18);
}

.section,
.services-section {
    padding: 96px 0;
}

.section + .section {
    border-top-color: rgba(255, 255, 255, 0.055);
}

.stats-section,
.solutions-section,
.cta-section {
    background: #000;
}

.section-header {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 32px;
    text-align: left;
}

.section-title,
.section-title-small,
.cta-title {
    font-size: clamp(42px, 6.2vw, 92px);
    font-weight: 800;
    line-height: 0.92;
    text-align: left;
    text-transform: uppercase;
}

.section-title-small {
    max-width: 620px;
}

.section-subtitle,
.section-subtitle-small {
    max-width: 480px;
    margin-right: 0;
    margin-left: auto;
    color: rgba(247, 247, 243, 0.55);
    text-align: left;
}

.cards-grid {
    gap: 16px;
}

.card,
.case-card,
.review-card,
.stat-item,
.cta-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
        rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(20px);
}

.card::after,
.case-card::after,
.review-card::after,
.stat-item::before,
.solution-card::after,
.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(255, 255, 255, 0.14), transparent 34%);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.card:hover::after,
.case-card:hover::after,
.review-card:hover::after,
.stat-item:hover::before,
.solution-card:hover::after,
.cta-card:hover::after {
    opacity: 1;
}

.card:hover,
.case-card:hover,
.review-card:hover,
.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022)),
        rgba(0, 0, 0, 0.82);
}

.stats {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    min-height: 240px;
    padding: 64px 24px 24px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: transparent;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item::after {
    top: 24px;
    right: auto;
    left: 24px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: rgba(247, 247, 243, 0.34);
    font-size: 12px;
    font-weight: 700;
    opacity: 1;
}

.stat-item:nth-child(1)::after { content: '/01'; }
.stat-item:nth-child(2)::after { content: '/02'; }
.stat-item:nth-child(3)::after { content: '/03'; }
.stat-item:nth-child(4)::after { content: '/04'; }

.stat-value {
    font-size: clamp(54px, 6vw, 88px);
    color: #fff;
}

.stat-label {
    font-size: 16px;
}

.case-image {
    height: 250px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
        #040404;
    filter: grayscale(1);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.case-card:hover .case-image {
    transform: scale(1.035);
    filter: grayscale(0.35);
}

.tech-tag,
.cta-feature,
.hero-feature,
.faq-item,
.solution-list li,
.solution-target {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
}

.review-rating {
    color: rgba(247, 247, 243, 0.6);
    filter: grayscale(1);
}

.cta-card {
    min-height: 360px;
    display: grid;
    align-items: center;
    padding: 56px;
    border-radius: 8px;
}

.cta-card::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 32%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.055));
}

.cta-content {
    text-align: left;
}

.cta-title {
    max-width: 780px;
}

.cta-subtitle {
    margin-left: 0;
}

.cta-features {
    justify-content: flex-start;
}

.fade-in {
    transform: translateY(28px);
    filter: blur(8px);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), filter 0.72s ease;
}

.fade-in.is-visible {
    filter: blur(0);
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes posterFade {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .hero-layout {
        min-height: auto;
        padding-bottom: 58px;
    }

    .hero-media {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 760px;
        margin-top: 34px;
        transform: none;
        animation: none;
    }

    .hero-copy {
        max-width: 860px;
    }
}

@media (max-width: 860px) {
    .section-header {
        display: block;
    }

    .section-subtitle,
    .section-subtitle-small {
        margin-left: 0;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-title {
        font-size: clamp(58px, 13vw, 86px);
    }
}

@media (max-width: 620px) {
    .main-content {
        padding-top: 68px;
    }

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

    .hero-layout {
        position: relative;
        padding: 34px 0 30px;
    }

    .hero-poster-word {
        top: 12px;
        right: 0;
        font-size: 88px;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(36px, 9.8vw, 38px);
        line-height: 0.92;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-media {
        position: absolute;
        right: 0;
        bottom: 44px;
        left: 0;
        z-index: 0;
        width: 100%;
        max-width: none;
        margin-top: 0;
        opacity: 0.22;
        pointer-events: none;
    }

    .hero-media img {
        height: 220px;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        filter: grayscale(0.2) saturate(0.72) contrast(1.14) brightness(0.62);
    }

    .hero-media-label {
        display: none;
    }

    .hero-marquee-track {
        animation-duration: 18s;
    }

    .hero-marquee {
        display: none;
    }

    .section,
    .services-section,
    .cta-section {
        padding: 64px 0;
    }

    .section-title,
    .section-title-small,
    .cta-title {
        font-size: clamp(38px, 12vw, 56px);
    }

    .stats {
        border-bottom: 0;
    }

    .stat-item {
        min-height: 176px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-card {
        min-height: 0;
        padding: 28px;
    }
}

.hero-media video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    border-radius: var(--border-radius);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.78);
    filter: grayscale(0.15) saturate(0.72) contrast(1.18) brightness(0.68);
}

@media (max-width: 620px) {
    .hero-media video {
        height: 220px;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        filter: grayscale(0.2) saturate(0.72) contrast(1.14) brightness(0.62);
    }
}

/* Minimal first screen */
body {
    background: #030303;
}

body::before {
    display: none;
}

.navbar {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    background: rgba(3, 3, 3, 0.78);
    backdrop-filter: blur(18px);
}

.nav-content {
    min-height: 72px;
}

.logo-text {
    font-size: 20px;
    text-transform: none;
}

.logo-subtitle {
    color: rgba(247, 247, 243, 0.42);
    font-size: 11px;
    line-height: 1.1;
}

.nav-link {
    min-height: 34px;
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: rgba(247, 247, 243, 0.52);
}

.nav-link:hover {
    background: transparent;
    color: rgba(247, 247, 243, 0.86);
}

.nav-cta {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: transparent;
}

.nav-cta:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.main-content {
    padding-top: 72px;
}

.hero {
    --hero-cursor-x: 62%;
    --hero-cursor-y: 42%;
    --hero-cursor-opacity: 0;
    position: relative;
    isolation: isolate;
    min-height: min(640px, calc(100vh - 190px));
    overflow: hidden;
    padding: 30px 0 40px;
    background: #030303;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    left: var(--hero-cursor-x);
    top: var(--hero-cursor-y);
    z-index: 0;
    pointer-events: none;
    opacity: var(--hero-cursor-opacity);
    transition: opacity 0.26s ease;
    will-change: transform, opacity, left, top;
}

.hero::before {
    width: clamp(96px, 10vw, 150px);
    height: clamp(18px, 2.4vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background:
        linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.055) 24%, transparent 52%, rgba(137, 184, 200, 0.045) 76%, transparent 100%),
        rgba(255, 255, 255, 0.01);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -10px 20px rgba(255, 255, 255, 0.018),
        0 0 24px rgba(247, 247, 243, 0.032);
    transform: translate3d(-50%, -50%, 0) rotate(-13deg);
    backdrop-filter: blur(4px) saturate(1.08);
    mix-blend-mode: screen;
}

.hero::after {
    width: clamp(130px, 16vw, 230px);
    height: 1px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, rgba(247, 247, 243, 0.14), rgba(137, 184, 200, 0.1), transparent);
    box-shadow:
        0 -8px 0 -0.5px rgba(255, 255, 255, 0.026),
        0 8px 0 -0.5px rgba(255, 255, 255, 0.02);
    filter: blur(0.2px);
    transform: translate3d(-50%, -50%, 0) rotate(-13deg);
    mix-blend-mode: screen;
}

.stats-section {
    padding-top: 42px;
}

.hero .container {
    position: relative;
    max-width: 1220px;
}

.hero .container::before {
    display: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(220px, 1fr);
    align-items: center;
    gap: clamp(36px, 8vw, 118px);
    min-height: min(500px, calc(100vh - 260px));
    padding: 0;
    border-bottom: 0;
}

.hero-poster-word,
.hero-marquee,
.hero-media-label,
.hero-decorative-elements {
    display: none;
}

.hero-layout::before {
    content: none;
    display: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-top: 0;
}

.hero-badge {
    min-height: 0;
    margin-bottom: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(247, 247, 243, 0.42);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0;
    animation: heroRevealUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.badge-icon,
.feature-icon {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
    background: rgba(247, 247, 243, 0.82);
    box-shadow: none;
    opacity: 0.86;
}

.hero-title {
    max-width: 690px;
    margin-bottom: 24px;
    font-size: clamp(48px, 6.1vw, 84px);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
    animation: none;
}

.title-line,
.title-highlight {
    width: max-content;
    max-width: calc(100vw - 48px);
    color: #f6f6ef;
    text-shadow: none;
    opacity: 0;
    transform: translate3d(0, 42px, 0);
    clip-path: inset(0 0 100% 0);
    animation: heroTitleReveal 0.94s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
    will-change: transform, opacity, clip-path;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-highlight {
    color: rgba(247, 247, 243, 0.58);
}

.hero-subtitle {
    max-width: 530px;
    margin-bottom: 24px;
    color: rgba(247, 247, 243, 0.58);
    font-size: 15px;
    line-height: 1.72;
    opacity: 0;
    animation: heroRevealUp 0.76s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.highlight-text {
    color: rgba(247, 247, 243, 0.86);
    font-weight: 650;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    max-width: 540px;
    margin: 0 0 32px;
    color: rgba(247, 247, 243, 0.38);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0;
    animation: heroRevealUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-meta span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.38);
}

.hero-features {
    display: none;
}

.hero-cta {
    gap: 18px;
    opacity: 0;
    animation: heroRevealUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.76s both;
}

.hero-cta .btn {
    min-height: 42px;
    border-radius: 999px;
    backdrop-filter: none;
    box-shadow: none;
}

.btn-hero-primary {
    padding: 10px 18px;
    border-color: #f3f3ec;
    background: #f3f3ec;
    color: #050505;
}

.btn-hero-primary:hover {
    background: #ffffff;
    box-shadow: none;
}

.btn-hero-secondary {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(247, 247, 243, 0.58);
}

.btn-hero-secondary:hover {
    background: transparent;
    color: #f7f7f3;
    transform: translateX(2px);
}

.hero-media {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: min(38vw, 430px);
    max-width: 430px;
    aspect-ratio: 1 / 1;
    justify-self: end;
    transform: none;
    opacity: 0.66;
    animation:
        heroMediaEnter 1.08s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both,
        heroMediaQuiet 9s ease-in-out 1.5s infinite;
    filter: drop-shadow(0 0 46px rgba(255, 255, 255, 0.08));
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-media::before,
.hero-media::after {
    display: none;
}

.hero-media video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    filter: grayscale(0.25) saturate(0.38) contrast(1.34) brightness(0.76);
}

.hero-motion-canvas {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.92;
    filter: grayscale(0.2) saturate(0.45) contrast(1.18) brightness(0.92);
}

.hero-ticker {
    grid-column: 1 / -1;
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 12px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: rgba(247, 247, 243, 0.34);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    opacity: 0;
    animation: heroTickerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.92s both;
}

.hero-ticker-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding: 10px 0;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    animation: heroTickerMove 28s linear infinite;
}

.hero-ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.hero-ticker-track span::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.26);
}

@keyframes heroRevealUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 42px, 0);
        clip-path: inset(0 0 100% 0);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        clip-path: inset(0 0 0 0);
        filter: blur(0);
    }
}

@keyframes heroMediaEnter {
    from {
        opacity: 0;
        transform: translate3d(32px, 10px, 0) scale(0.94);
        filter: blur(14px) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }

    to {
        opacity: 0.66;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0) drop-shadow(0 0 46px rgba(255, 255, 255, 0.08));
    }
}

@keyframes heroTickerReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scaleX(0.96);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scaleX(1);
        filter: blur(0);
    }
}

@keyframes heroMediaQuiet {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.54;
    }

    50% {
        transform: translate3d(0, -8px, 0) scale(1.025);
        opacity: 0.76;
    }
}

@keyframes heroTickerMove {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 860px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
    }

    .hero-media {
        justify-self: start;
        width: min(58vw, 320px);
        max-width: 320px;
        opacity: 0.42;
    }

    .hero-title {
        font-size: clamp(44px, 10vw, 64px);
    }
}

@media (max-width: 620px) {
    .navbar {
        background: rgba(3, 3, 3, 0.9);
    }

    .hero {
        min-height: auto;
        padding: 28px 0 34px;
    }

    .hero-layout {
        display: block;
        min-height: 0;
    }

    .hero-copy {
        position: relative;
        z-index: 2;
    }

    .hero-badge {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .hero-title {
        max-width: 340px;
        margin-bottom: 20px;
        font-size: clamp(36px, 9.6vw, 40px);
        line-height: 0.98;
    }

    .hero-subtitle {
        max-width: 330px;
        font-size: 14px;
        line-height: 1.68;
    }

    .hero-meta {
        gap: 10px 16px;
        max-width: 330px;
        margin-bottom: 28px;
        font-size: 10px;
    }

    .hero-cta {
        gap: 14px;
    }

    .hero-cta .btn {
        font-size: 13px;
    }

    .hero-media {
        position: absolute;
        right: 0;
        bottom: 62px;
        left: auto;
        z-index: 0;
        width: 210px;
        max-width: none;
        opacity: 0.34;
        animation: none;
    }

    .hero-media video {
        height: auto;
        aspect-ratio: 1 / 1;
        filter: grayscale(0.32) saturate(0.34) contrast(1.22) brightness(0.66);
    }

    .hero-motion-canvas {
        filter: grayscale(0.24) saturate(0.38) contrast(1.12) brightness(0.76);
    }

    .hero-ticker {
        margin-top: 28px;
        mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    }

    .hero-ticker-track {
        gap: 24px;
        padding: 9px 0;
        font-size: 10px;
        animation-duration: 22s;
    }
}

.about-page {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 76px);
    overflow: hidden;
    padding: clamp(82px, 9vw, 128px) 0 clamp(74px, 8vw, 112px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.024), transparent 36%),
        #030303;
}

.about-page::before,
.about-page::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.about-page::before {
    display: none;
}

.about-page::after {
    top: -220px;
    right: 0;
    left: 0;
    z-index: 1;
    height: 210px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.085), transparent);
    opacity: 0;
    animation: aboutPageSweep 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.about-container {
    position: relative;
    z-index: 2;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
    align-items: end;
    gap: clamp(28px, 7vw, 96px);
    margin-bottom: clamp(34px, 5vw, 62px);
}

.about-hero-copy {
    min-width: 0;
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: blur(12px);
    animation: aboutHeroIn 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: rgba(247, 247, 243, 0.5);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.86);
    box-shadow: 0 0 18px rgba(247, 247, 243, 0.34);
}

.about-title {
    max-width: 820px;
    margin-bottom: 0;
    font-size: clamp(72px, 11vw, 154px);
    line-height: 0.86;
    text-align: left;
    text-transform: uppercase;
}

.about-subtitle {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(247, 247, 243, 0.58);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.72;
}

.about-hero-card {
    position: relative;
    min-height: 276px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.02)),
        rgba(0, 0, 0, 0.62);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.985);
    filter: blur(12px);
    animation: aboutPanelIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.about-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 12%, rgba(255, 255, 255, 0.16) 46%, transparent 62%);
    opacity: 0;
    transform: translateX(-120%);
    animation: aboutPanelSweep 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.56s both;
}

.about-hero-index {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(247, 247, 243, 0.34);
    font-size: 12px;
    font-weight: 760;
}

.about-hero-card h2 {
    margin: 58px 0 18px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 780;
    line-height: 0.9;
    text-transform: uppercase;
}

.about-hero-card p {
    max-width: 280px;
    color: rgba(247, 247, 243, 0.58);
    line-height: 1.72;
}

.about-stats {
    --reveal-delay: 0.12s;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: clamp(34px, 5vw, 58px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat {
    position: relative;
    min-height: 190px;
    padding: 56px 24px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat:last-child {
    border-right: 0;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.78);
}

.about-stat::after {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(247, 247, 243, 0.3);
    font-size: 12px;
    font-weight: 760;
}

.about-stat:nth-child(1)::after { content: '/01'; }
.about-stat:nth-child(2)::after { content: '/02'; }
.about-stat:nth-child(3)::after { content: '/03'; }

.about-stat-value {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: clamp(58px, 7vw, 96px);
    font-weight: 780;
    line-height: 0.82;
}

.about-stat-label {
    display: block;
    max-width: 240px;
    color: rgba(247, 247, 243, 0.58);
    font-size: 15px;
    line-height: 1.55;
}

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

.about-panel,
.about-approach {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
        rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(20px);
}

.about-panel::after,
.about-approach::after {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(255, 255, 255, 0.12), transparent 34%);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.about-panel:hover::after,
.about-approach:hover::after {
    opacity: 1;
}

.about-panel {
    padding: clamp(24px, 4vw, 42px);
}

.about-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel-head span,
.about-approach > span {
    color: rgba(247, 247, 243, 0.34);
    font-size: 12px;
    font-weight: 760;
}

.about-panel-head h2,
.about-approach h2 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-family: var(--font-primary);
    font-size: clamp(28px, 4.8vw, 54px);
    font-weight: 760;
    line-height: 0.98;
    text-transform: uppercase;
}

.about-result-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-result-list li,
.about-capabilities div,
.about-stack div,
.about-process-step {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
}

.about-result-list li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
}

.about-result-list li > span {
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.82);
}

.about-result-list strong,
.about-stack strong {
    color: rgba(247, 247, 243, 0.92);
}

.about-result-list p,
.about-stack p {
    margin: 6px 0 0;
    color: rgba(247, 247, 243, 0.48);
    font-size: 14px;
    line-height: 1.6;
}

.about-capabilities,
.about-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.about-capabilities div {
    min-height: 104px;
    padding: 18px;
    color: rgba(247, 247, 243, 0.78);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

.about-capabilities div::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.78);
}

.about-stack div {
    min-height: 118px;
    padding: 18px;
}

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

.about-process-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 78px;
    padding: 18px;
}

.about-process-step span {
    color: rgba(247, 247, 243, 0.34);
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 760;
}

.about-process-step h3 {
    margin: 0;
    color: rgba(247, 247, 243, 0.86);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.35;
}

.about-approach {
    display: grid;
    gap: 20px;
    padding: clamp(30px, 5vw, 58px);
}

.about-approach h2 {
    max-width: 780px;
}

.about-approach p {
    max-width: 780px;
    margin: 0;
    color: rgba(247, 247, 243, 0.6);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.72;
}

.about-actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.btn-contact-animated {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: min(100%, 346px);
    min-height: 72px;
    padding: 0 38px;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 760;
    box-shadow:
        0 16px 46px rgba(137, 184, 200, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.32s ease,
        background 0.32s ease,
        color 0.32s ease,
        box-shadow 0.32s ease;
}

.btn-contact-animated span {
    position: relative;
    z-index: 3;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.32s ease;
}

.btn-contact-animated::before,
.btn-contact-animated::after {
    content: '';
    position: absolute;
    display: block;
    pointer-events: none;
    border-radius: inherit;
}

.btn-contact-animated::before {
    inset: -2px -44%;
    z-index: 2;
    background: linear-gradient(
        108deg,
        transparent 0%,
        transparent 34%,
        rgba(137, 184, 200, 0.22) 43%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(137, 184, 200, 0.2) 57%,
        transparent 68%,
        transparent 100%
    );
    opacity: 0;
    transform: translate3d(-72%, 0, 0) skewX(-12deg);
}

.btn-contact-animated::after {
    inset: 1px;
    z-index: 1;
    background:
        radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(137, 184, 200, 0.34), transparent 32%),
        linear-gradient(180deg, #f9fbfb 0%, #dce8ec 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.btn-contact-animated:hover,
.btn-contact-animated.is-hovered,
.btn-contact-animated:focus-visible {
    transform: translateY(-3px) scale(1.012);
    border-color: rgba(137, 184, 200, 0.88);
    background: #f6fafb;
    outline: none;
    box-shadow:
        0 20px 62px rgba(137, 184, 200, 0.22),
        0 0 0 7px rgba(137, 184, 200, 0.055),
        inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-contact-animated:hover span,
.btn-contact-animated.is-hovered span,
.btn-contact-animated:focus-visible span {
    transform: translateY(-1px);
    letter-spacing: 0.01em;
}

.btn-contact-animated:hover::before,
.btn-contact-animated.is-hovered::before,
.btn-contact-animated:focus-visible::before {
    animation: contactButtonSweep 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-contact-animated:hover::after,
.btn-contact-animated.is-hovered::after,
.btn-contact-animated:focus-visible::after {
    opacity: 1;
}

.btn-contact-animated:active {
    transform: translateY(-1px) scale(0.992);
}

.about-reveal {
    --reveal-delay: 0s;
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    filter: blur(14px);
    transition:
        opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.82s ease,
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base);
    transition-delay:
        var(--reveal-delay),
        var(--reveal-delay),
        var(--reveal-delay),
        0s,
        0s,
        0s;
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.about-reveal.has-revealed {
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base),
        opacity var(--transition-base),
        filter var(--transition-base);
    transition-delay: 0s;
}

.about-layout .about-reveal:nth-child(1) { --reveal-delay: 0.08s; }
.about-layout .about-reveal:nth-child(2) { --reveal-delay: 0.16s; }
.about-layout .about-reveal:nth-child(3) { --reveal-delay: 0.24s; }
.about-layout .about-reveal:nth-child(4) { --reveal-delay: 0.32s; }
.about-layout .about-reveal:nth-child(5) { --reveal-delay: 0.4s; }
.about-actions.about-reveal { --reveal-delay: 0.16s; }

@keyframes aboutGridIn {
    from {
        opacity: 0;
        transform: translate3d(0, -12px, 0);
    }

    to {
        opacity: 0.55;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes aboutPageSweep {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }

    22% {
        opacity: 0.55;
    }

    100% {
        opacity: 0;
        transform: translate3d(0, calc(100svh + 260px), 0);
    }
}

@keyframes aboutHeroIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes aboutPanelIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes aboutPanelSweep {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }

    34%,
    62% {
        opacity: 0.76;
    }

    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@keyframes contactButtonSweep {
    0% {
        opacity: 0;
        transform: translate3d(-72%, 0, 0) skewX(-12deg);
    }

    18%,
    72% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(72%, 0, 0) skewX(-12deg);
    }
}

@media (max-width: 860px) {
    .about-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .about-hero-card {
        width: min(100%, 420px);
    }

    .about-title {
        font-size: clamp(58px, 16vw, 96px);
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        min-height: 158px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-stat:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 620px) {
    .about-page {
        padding: 54px 0 70px;
    }

    .about-title {
        font-size: clamp(54px, 17vw, 68px);
        line-height: 0.9;
    }

    .about-subtitle {
        margin-top: 18px;
        font-size: 14px;
    }

    .about-hero-card {
        min-height: 0;
        padding: 24px;
    }

    .about-hero-card h2 {
        margin-top: 54px;
    }

    .about-panel {
        padding: 22px;
    }

    .about-panel-head {
        display: grid;
        gap: 14px;
    }

    .about-process-step {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .about-process-step h3 {
        font-size: 16px;
    }
}

.reviews-page {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 76px);
    overflow: hidden;
    padding: clamp(82px, 9vw, 128px) 0 clamp(74px, 8vw, 112px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 34%),
        #030303;
}

.reviews-page::before,
.reviews-page::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.reviews-page::before {
    display: none;
}

.reviews-page::after {
    top: -220px;
    right: 0;
    left: 0;
    z-index: 1;
    height: 210px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.09), transparent);
    opacity: 0;
    transform: translate3d(0, 0, 0);
    animation: reviewsPageSweep 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.reviews-container {
    position: relative;
    z-index: 2;
}

.reviews-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    align-items: end;
    gap: clamp(28px, 6vw, 86px);
    margin-bottom: clamp(38px, 6vw, 74px);
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: blur(12px);
    animation: reviewsHeroIn 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reviews-heading {
    min-width: 0;
}

.reviews-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: rgba(247, 247, 243, 0.5);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

.reviews-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.86);
    box-shadow: 0 0 18px rgba(247, 247, 243, 0.34);
}

.reviews-title {
    max-width: 860px;
    margin-bottom: 0;
    font-size: clamp(58px, 9vw, 126px);
    line-height: 0.9;
    text-align: left;
    text-transform: uppercase;
}

.reviews-subtitle {
    max-width: 520px;
    margin: 22px 0 0;
    color: rgba(247, 247, 243, 0.55);
    text-align: left;
}

.reviews-score-panel {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.02)),
        rgba(0, 0, 0, 0.62);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.985);
    filter: blur(12px);
    animation: reviewsPanelIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.reviews-score-panel::before,
.reviews-score-panel::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.reviews-score-panel::before {
    inset: 0;
    background: linear-gradient(112deg, transparent 12%, rgba(255, 255, 255, 0.16) 46%, transparent 62%);
    opacity: 0;
    transform: translateX(-120%);
    animation: reviewsPanelSweep 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.56s both;
}

.reviews-score-panel::after {
    content: '/01';
    top: 22px;
    right: 24px;
    color: rgba(247, 247, 243, 0.34);
    font-size: 12px;
    font-weight: 760;
}

.reviews-score-label,
.reviews-score-caption {
    color: rgba(247, 247, 243, 0.48);
    font-size: 12px;
    font-weight: 760;
    text-transform: uppercase;
}

.reviews-score-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 48px;
}

.reviews-score {
    margin: 0;
    color: #fff;
    font-family: var(--font-primary);
    font-size: clamp(72px, 9vw, 116px);
    font-weight: 780;
    line-height: 0.82;
}

.reviews-score-max {
    flex: 0 0 auto;
    padding-bottom: 9px;
    color: rgba(247, 247, 243, 0.34);
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 720;
    white-space: nowrap;
}

.reviews-score-caption {
    margin-top: 18px;
    color: rgba(247, 247, 243, 0.44);
}

.reviews-grid {
    counter-reset: reviews;
    align-items: stretch;
    margin-top: 0;
}

.reviews-card {
    --reveal-delay: 0s;
    counter-increment: reviews;
    min-height: 214px;
    padding: 30px;
}

.reviews-card::before {
    content: '/' counter(reviews, decimal-leading-zero);
    position: absolute;
    top: 22px;
    right: 24px;
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: rgba(247, 247, 243, 0.28);
    font-size: 12px;
    font-weight: 760;
    line-height: 1;
}

.reviews-card .review-header {
    padding-right: 54px;
}

.reviews-card .review-author {
    font-size: 18px;
}

.reviews-card .review-text {
    color: rgba(247, 247, 243, 0.64);
}

.reviews-card .review-project {
    color: rgba(247, 247, 243, 0.38);
}

.reviews-page .review-card.fade-in {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    filter: blur(14px);
    transition:
        opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.82s ease,
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base);
    transition-delay:
        var(--reveal-delay),
        var(--reveal-delay),
        var(--reveal-delay),
        0s,
        0s,
        0s;
}

.reviews-page .review-card.fade-in.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reviews-page .review-card.fade-in.has-revealed {
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base),
        opacity var(--transition-base),
        filter var(--transition-base);
    transition-delay: 0s;
}

.reviews-grid .review-card:nth-child(1) { --reveal-delay: 0.08s; }
.reviews-grid .review-card:nth-child(2) { --reveal-delay: 0.16s; }
.reviews-grid .review-card:nth-child(3) { --reveal-delay: 0.24s; }
.reviews-grid .review-card:nth-child(4) { --reveal-delay: 0.32s; }
.reviews-grid .review-card:nth-child(5) { --reveal-delay: 0.4s; }
.reviews-grid .review-card:nth-child(6) { --reveal-delay: 0.48s; }
.reviews-grid .review-card:nth-child(7) { --reveal-delay: 0.56s; }
.reviews-grid .review-card:nth-child(8) { --reveal-delay: 0.64s; }
.reviews-grid .review-card:nth-child(n + 9) { --reveal-delay: 0.72s; }

.reviews-empty {
    max-width: 640px;
    margin: 52px auto 0;
    padding: 64px 32px;
    text-align: center;
}

.reviews-empty p {
    color: var(--text-secondary);
    font-size: 18px;
}

@keyframes reviewsGridIn {
    from {
        opacity: 0;
        transform: translate3d(0, -12px, 0);
    }

    to {
        opacity: 0.55;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes reviewsPageSweep {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }

    22% {
        opacity: 0.58;
    }

    100% {
        opacity: 0;
        transform: translate3d(0, calc(100svh + 260px), 0);
    }
}

@keyframes reviewsHeroIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes reviewsPanelIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes reviewsPanelSweep {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }

    34%,
    62% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

@media (max-width: 860px) {
    .reviews-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .reviews-score-panel {
        width: min(100%, 380px);
    }

    .reviews-title {
        font-size: clamp(48px, 13vw, 82px);
    }
}

@media (max-width: 620px) {
    .reviews-page {
        padding: 54px 0 70px;
    }

    .reviews-title {
        font-size: clamp(42px, 14vw, 60px);
        line-height: 0.94;
    }

    .reviews-subtitle {
        margin-top: 18px;
        font-size: 14px;
    }

    .reviews-score-panel {
        min-height: 0;
        padding: 22px;
    }

    .reviews-score-row {
        margin-top: 44px;
    }

    .reviews-card {
        min-height: 0;
        padding: 24px;
    }

    .reviews-card .review-header {
        padding-right: 42px;
    }
}

.error-page {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(100svh - 72px);
    overflow: hidden;
    padding: clamp(54px, 7vw, 92px) 0 clamp(64px, 8vw, 112px);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.055), transparent 22%),
        linear-gradient(245deg, rgba(137, 184, 200, 0.09), transparent 34%),
        linear-gradient(180deg, #020202 0%, #060606 48%, #020202 100%);
}

.error-page::before,
.error-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.error-page::before {
    display: none;
}

.error-page::after {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 52%, transparent 54%);
    mix-blend-mode: screen;
    opacity: 0.1;
}

.error-rain {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 88%, transparent 100%);
}

.error-rain span {
    position: absolute;
    top: -22vh;
    left: calc(var(--x) * 1%);
    width: 1px;
    height: var(--length);
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(235, 245, 255, 0.68), transparent);
    opacity: var(--opacity);
    transform: translate3d(0, -120%, 0) rotate(12deg);
    animation: errorRain var(--speed) linear infinite;
    animation-delay: var(--delay);
}

.error-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.error-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(18px, 3vw, 34px);
    color: rgba(247, 247, 243, 0.52);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0;
    animation: errorFadeUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.error-kicker::before,
.error-kicker::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(247, 247, 243, 0.48);
    box-shadow: 0 0 16px rgba(247, 247, 243, 0.2);
}

.error-code {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1vw, 18px);
    width: min(100%, 1120px);
    margin-bottom: clamp(24px, 3vw, 36px);
    perspective: 1200px;
}

.error-code::before {
    content: '';
    position: absolute;
    inset: 12% 5% 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent),
        rgba(255, 255, 255, 0.018);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: skewY(-1.4deg);
}

.error-digit {
    position: relative;
    display: inline-block;
    min-width: 0.55em;
    color: transparent;
    font-family: var(--font-primary);
    font-size: clamp(116px, 24vw, 330px);
    font-weight: 800;
    line-height: 0.78;
    letter-spacing: 0;
    text-transform: uppercase;
    background:
        linear-gradient(132deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.35) 25%, rgba(116, 137, 150, 0.48) 48%, rgba(255, 255, 255, 0.88) 74%, rgba(255, 255, 255, 0.28) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
    filter:
        drop-shadow(0 26px 44px rgba(0, 0, 0, 0.62))
        drop-shadow(0 0 34px rgba(137, 184, 200, 0.16));
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotateX(12deg);
    animation:
        errorDigitIn 0.92s cubic-bezier(0.16, 1, 0.3, 1) both,
        errorGlassDrift 8s ease-in-out 1.1s infinite;
}

.error-digit:nth-child(1) {
    animation-delay: 0.16s, 1.1s;
}

.error-digit:nth-child(2) {
    animation-delay: 0.28s, 1.24s;
}

.error-digit:nth-child(3) {
    animation-delay: 0.4s, 1.38s;
}

.error-digit::before,
.error-digit::after {
    content: attr(data-char);
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.error-digit::before {
    color: transparent;
    background:
        linear-gradient(112deg, transparent 0%, transparent 32%, rgba(255, 255, 255, 0.94) 43%, transparent 54%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.72;
    transform: translate3d(-1.6%, -1.2%, 0);
    animation: errorGlassSweep 4.8s ease-in-out 1.6s infinite;
}

.error-digit::after {
    z-index: -1;
    color: rgba(137, 184, 200, 0.13);
    -webkit-text-fill-color: rgba(137, 184, 200, 0.13);
    filter: blur(16px);
    transform: translate3d(0, 7%, 0) scale(1.01);
}

.error-digit-zero {
    transform-origin: 50% 62%;
}

.error-copy {
    width: min(100%, 620px);
    opacity: 0;
    animation: errorFadeUp 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.error-title {
    margin-bottom: 14px;
    color: rgba(247, 247, 243, 0.92);
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
}

.error-text {
    margin: 0 auto;
    color: rgba(247, 247, 243, 0.56);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.72;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
    opacity: 0;
    animation: errorFadeUp 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.76s both;
}

.error-actions .btn {
    min-height: 46px;
    border-radius: 999px;
}

.error-primary {
    border-color: rgba(247, 247, 243, 0.92);
    background: rgba(247, 247, 243, 0.92);
    color: #040404;
}

.error-secondary {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(247, 247, 243, 0.78);
    backdrop-filter: blur(14px);
}

@keyframes errorRain {
    from {
        transform: translate3d(-42px, -130%, 0) rotate(12deg);
    }

    to {
        transform: translate3d(58px, 128vh, 0) rotate(12deg);
    }
}

@keyframes errorDigitIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0);
    }
}

@keyframes errorGlassDrift {
    0%,
    100% {
        filter:
            drop-shadow(0 26px 44px rgba(0, 0, 0, 0.62))
            drop-shadow(0 0 34px rgba(137, 184, 200, 0.16));
    }

    50% {
        filter:
            drop-shadow(0 30px 54px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 48px rgba(247, 247, 243, 0.16));
    }
}

@keyframes errorGlassSweep {
    0%,
    18% {
        opacity: 0;
        transform: translate3d(-24%, -1.2%, 0);
    }

    42%,
    58% {
        opacity: 0.76;
    }

    82%,
    100% {
        opacity: 0;
        transform: translate3d(24%, -1.2%, 0);
    }
}

@keyframes errorFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@media (max-width: 720px) {
    .error-page {
        align-items: flex-start;
        min-height: calc(100svh - 72px);
        padding: 58px 0 72px;
    }

    .error-code {
        gap: 0;
        margin-bottom: 26px;
    }

    .error-code::before {
        inset: 18% 0 6%;
    }

    .error-digit {
        font-size: clamp(96px, 30vw, 148px);
        -webkit-text-stroke-width: 0.8px;
    }

    .error-text {
        max-width: 340px;
    }

    .error-actions {
        width: 100%;
        margin-top: 28px;
    }

    .error-actions .btn {
        width: min(100%, 340px);
        justify-content: center;
    }
}

/* Start screen intro */
.site-intro {
    --intro-start-left: 0px;
    --intro-start-top: 0px;
    --intro-target-left: 24px;
    --intro-target-top: 24px;
    --intro-target-width: auto;
    --intro-subtitle-offset: 0px;
    --intro-logo-text-color: var(--text-primary);
    --intro-logo-text-size: 20px;
    --intro-logo-text-weight: 700;
    --intro-logo-text-line-height: 20px;
    --intro-logo-subtitle-color: rgba(247, 247, 243, 0.42);
    --intro-logo-subtitle-size: 11px;
    --intro-logo-subtitle-weight: 500;
    --intro-logo-subtitle-line-height: 12px;
    --intro-logo-subtitle-margin-top: 5px;
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    place-items: center;
    overflow: hidden;
    background: transparent;
    color: #f7f7f3;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) {
    overflow: hidden;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .site-intro {
    display: grid;
    animation: introOverlayFallback 0.42s ease 4.4s forwards;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-running) .site-intro-word {
    visibility: hidden;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .navbar {
    opacity: 0;
    transform: translate3d(0, -16px, 0);
    filter: blur(8px);
    pointer-events: none;
    animation: introContentFallback 0.01s linear 4.42s forwards;
}

html.site-intro-boot body.has-site-intro.site-intro-logo-ready:not(.site-intro-complete) .navbar {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    pointer-events: none;
    animation: none;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .nav-content > * {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    filter: blur(6px);
}

html.site-intro-boot body.has-site-intro.site-intro-logo-ready:not(.site-intro-complete) .nav-content > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

html.site-intro-boot body.has-site-intro.site-intro-logo-ready:not(.site-intro-complete) .nav-menu {
    transition-delay: 0.1s;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .main-content,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .footer {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(10px);
    pointer-events: none;
    animation: introContentFallback 0.01s linear 4.42s forwards;
}

html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .main-content,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .footer {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    pointer-events: none;
    animation: none;
}

body.has-site-intro .navbar,
body.has-site-intro .main-content,
body.has-site-intro .footer,
body.has-site-intro .nav-content > * {
    transition:
        opacity 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.92s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.92s ease;
}

body.has-site-intro .navbar {
    transition-duration: 0.78s, 0.78s, 0.78s;
}

body.has-site-intro .main-content {
    transition-delay: 0s;
}

body.has-site-intro .footer {
    transition-delay: 0.28s;
}

body.site-intro-complete .navbar,
body.site-intro-complete .main-content,
body.site-intro-complete .footer {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

html.site-intro-boot body.has-site-intro.site-intro-revealing:not(.site-intro-logo-ready) .logo {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    filter: none;
    pointer-events: none;
}

body.has-site-intro .logo {
    transition:
        opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-intro-logo-ready .logo {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
    transition: none;
}

html.site-intro-boot body.has-site-intro.site-intro-logo-ready:not(.site-intro-complete) .logo {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
    transition: none;
}

body.site-intro-logo-ready .site-intro-mark {
    opacity: 0;
    visibility: hidden;
    filter: none;
    transition: none;
}

body.site-intro-complete .site-intro {
    opacity: 0;
    visibility: hidden;
}

body.site-intro-revealing .site-intro-frame {
    display: none;
}

body.site-intro-revealing .site-intro::before {
    opacity: 0;
    animation: none;
    transition: opacity 1.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-intro::before,
.site-intro::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.site-intro::before {
    background: #030303;
    opacity: 1;
}

.site-intro::after {
    display: none;
}

.site-intro-frame {
    display: none;
}

.site-intro-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: max-content;
    transform: translate3d(-50%, -50%, 0) scale(1);
    transform-origin: top left;
    will-change: transform, opacity, filter;
    white-space: nowrap;
}

.site-intro-mark.is-locked {
    top: 0;
    left: 0;
    transform: translate3d(var(--intro-start-left), var(--intro-start-top), 0) scale(1);
}

.site-intro-mark.is-ready {
    transition:
        transform 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        gap 0.86s cubic-bezier(0.66, 0, 0.18, 1) 0.14s,
        width 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.48s ease;
}

.site-intro-mark.is-moving {
    top: 0;
    left: 0;
    width: var(--intro-target-width);
    min-width: 0;
    transform: translate3d(var(--intro-target-left), var(--intro-target-top), 0);
    gap: 0;
}

.site-intro-word {
    position: relative;
    display: inline-flex;
    min-width: 0;
    justify-content: flex-start;
    color: #f7f7f3;
    font-family: var(--font-primary);
    font-size: clamp(64px, 10vw, 128px);
    font-weight: 800;
    line-height: 0.84;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: 0 24px 90px rgba(255, 255, 255, 0.1);
    transform-origin: left top;
    transition:
        min-width 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        font-size 1.1s cubic-bezier(0.66, 0, 0.18, 1) 0.06s,
        font-weight 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        line-height 1.1s cubic-bezier(0.66, 0, 0.18, 1) 0.06s,
        text-shadow 0.58s ease;
}

.site-intro-mark.is-moving .site-intro-word {
    min-width: 0;
    color: var(--intro-logo-text-color);
    font-size: var(--intro-logo-text-size);
    font-weight: var(--intro-logo-text-weight);
    line-height: var(--intro-logo-text-line-height);
    text-shadow: none;
}

.site-intro-word::after {
    content: '';
    width: clamp(3px, 0.45vw, 6px);
    height: 0.82em;
    margin-left: 0.07em;
    align-self: center;
    border-radius: 999px;
    background: rgba(247, 247, 243, 0.88);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.32);
    animation: introCaret 0.72s steps(1) infinite;
}

.site-intro-word.is-typed::after {
    width: 0;
    margin-left: 0;
    opacity: 0;
    animation: none;
}

.site-intro-subtitle {
    align-self: flex-start;
    color: rgba(247, 247, 243, 0.48);
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 600;
    line-height: 1.1;
    opacity: 0;
    transform: translate3d(var(--intro-subtitle-offset), 0, 0);
    filter: blur(8px);
    white-space: nowrap;
    transition:
        opacity 0.76s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.76s ease,
        color 0.72s ease,
        font-size 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        margin 0.86s cubic-bezier(0.66, 0, 0.18, 1) 0.14s;
}

.site-intro-subtitle.is-visible {
    opacity: 1;
    transform: translate3d(var(--intro-subtitle-offset), 0, 0);
    filter: blur(0);
}

.site-intro-mark.is-moving .site-intro-subtitle {
    margin-top: var(--intro-logo-subtitle-margin-top);
    color: var(--intro-logo-subtitle-color);
    font-size: var(--intro-logo-subtitle-size);
    font-weight: var(--intro-logo-subtitle-weight);
    line-height: var(--intro-logo-subtitle-line-height);
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition:
        opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        filter 0.76s ease,
        color 0.72s ease,
        font-size 1.18s cubic-bezier(0.66, 0, 0.18, 1),
        margin 0.86s cubic-bezier(0.66, 0, 0.18, 1) 0.14s;
}

html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-badge,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .title-line,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-subtitle,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-meta,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-cta,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-media,
html.site-intro-boot body.has-site-intro:not(.site-intro-complete) .hero-ticker {
    animation-play-state: paused !important;
}

html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-badge,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .title-line,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-subtitle,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-meta,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-cta,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-media,
html.site-intro-boot body.has-site-intro.site-intro-content-ready:not(.site-intro-complete) .hero-ticker {
    animation-play-state: running !important;
}

@keyframes introCaret {
    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }
}

@keyframes introOverlayFallback {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes introContentFallback {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
        pointer-events: auto;
    }
}

@media (max-width: 620px) {
    .site-intro-mark {
        gap: 10px;
    }

    .site-intro-word {
        font-size: clamp(54px, 17vw, 74px);
    }

    .site-intro-subtitle {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.site-intro-boot body.has-site-intro .site-intro {
        display: none !important;
    }

    html.site-intro-boot body.has-site-intro .navbar,
    html.site-intro-boot body.has-site-intro .main-content,
    html.site-intro-boot body.has-site-intro .footer {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Portfolio cases */
.case-result {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.035);
}

.case-result-label {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.case-result-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.case-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.case-link-muted {
    color: var(--text-secondary);
}

.case-detail-card {
    padding: clamp(24px, 4vw, 40px);
}

.case-detail-title {
    margin-bottom: 28px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: uppercase;
}

.case-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.case-detail-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: #050505;
    filter: grayscale(0.45);
}

.case-detail-description {
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.case-detail-section {
    margin-bottom: 32px;
}

.case-detail-heading {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}

.case-result-large {
    padding: 22px;
}

@media (max-width: 640px) {
    .case-detail-gallery {
        grid-template-columns: 1fr;
    }

    .case-detail-image {
        height: 190px;
    }
}
