:root {
    --bg: #0a0a0a;
    --surface: #111;
    --surface-2: #151515;
    --text: #e0e0e0;
    --dim: #8f8f8f;
    --accent: #ffffff;
    --accent-soft: #79d7ff;
    --accent-warm: #a996ff;
    --border: #222;
    --radius: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% -20%, rgba(121, 215, 255, 0.09), transparent 35%),
                radial-gradient(circle at 95% 20%, rgba(169, 150, 255, 0.08), transparent 30%),
                var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

nav {
    padding: 34px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeUp 0.7s ease both;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 54px; width: auto; max-width: 100%; }
.nav-links a {
    text-decoration: none;
    color: var(--dim);
    margin-left: 30px;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Homepage hero */
.hero {
    padding: 90px 0 70px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
    animation: fadeUp 0.8s ease both;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    max-width: 10.5em;
    margin-bottom: 22px;
    animation: fadeUp 0.95s ease both;
}

.hero p {
    font-size: 1.15rem;
    color: #b7b7b7;
    max-width: 620px;
    margin-bottom: 32px;
    animation: fadeUp 1.05s ease both;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeUp 1.2s ease both;
}

.cta-big, .cta-secondary {
    display: inline-block;
    padding: 14px 26px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-big {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.22);
}

.cta-secondary {
    color: var(--text);
    border: 1px solid #343434;
    background: rgba(255, 255, 255, 0.02);
}

.cta-big:hover, .cta-secondary:hover { transform: translateY(-2px); }
.cta-secondary:hover { border-color: #4a4a4a; }

.hero-visual {
    position: relative;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid #2a2a2a;
    min-height: 440px;
    background: #0f0f0f;
    animation: fadeUp 1.1s ease both;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.05);
    transform: scale(1.02);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.78));
    pointer-events: none;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(121, 215, 255, 0.15), rgba(169, 150, 255, 0.04), transparent 60%);
    animation: drift 13s ease-in-out infinite alternate;
    pointer-events: none;
}

.badge {
    position: absolute;
    z-index: 2;
    background: rgba(16, 16, 16, 0.8);
    border: 1px solid #2e2e2e;
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #d9d9d9;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    animation: floatSoft 5s ease-in-out infinite;
}

.badge strong { color: var(--accent); display: block; font-size: 1rem; }
.badge-top { top: 18px; right: 18px; }
.badge-bottom { bottom: 18px; left: 18px; animation-delay: 1.4s; }

.trust-strip {
    margin: 18px 0 72px;
    padding: 24px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    animation: fadeUp 1.3s ease both;
}

.trust-item {
    padding: 8px 0;
    border-left: 1px solid #2a2a2a;
}
.trust-item:first-child { border-left: 0; }
.trust-item h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.trust-item p { font-size: 0.92rem; color: var(--dim); }

.section-head {
    margin-bottom: 28px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}
.section-head p { color: var(--dim); max-width: 720px; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 84px;
}

.feature-item {
    border-bottom: 1px solid #242424;
    padding: 22px 0 24px;
    transition: transform 0.25s ease;
    animation: fadeUp 0.9s ease both;
}
.feature-item:hover { transform: translateY(-2px); }
.feature-item .marker {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    margin-bottom: 16px;
    background: linear-gradient(120deg, var(--accent-soft), var(--accent-warm));
    box-shadow: 0 0 18px rgba(121, 215, 255, 0.5);
}
.feature-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-item p { color: var(--dim); font-size: 0.98rem; }

.editorial-lead {
    margin: 8px 0 52px;
    max-width: 860px;
    animation: fadeUp 0.95s ease both;
}

.editorial-lead h2 {
    font-size: clamp(2rem, 4.3vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.editorial-lead p {
    color: #b5b5b5;
    font-size: 1.06rem;
    max-width: 650px;
}

.editorial-split {
    margin-bottom: 84px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: end;
}

.editorial-media {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 470px;
    position: relative;
    animation: fadeUp 1.1s ease both;
}

.editorial-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.38));
}

.editorial-media img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.06);
}

.editorial-copy {
    padding-bottom: 8px;
    animation: fadeUp 1.15s ease both;
}

.editorial-copy h3 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.editorial-copy p {
    color: var(--dim);
    margin-bottom: 18px;
    max-width: 36ch;
}

.editorial-lines {
    display: grid;
    gap: 10px;
}

.editorial-lines span {
    color: #d7d7d7;
    padding-bottom: 10px;
    border-bottom: 1px solid #232323;
    font-size: 0.94rem;
}

.statement-kicker {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d5eeff;
    margin-bottom: 12px;
}

.promise-inline h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 860px;
    margin-bottom: 20px;
}

.promise-inline {
    margin: 0 0 62px;
    animation: fadeUp 1.02s ease both;
}

.final-cta {
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
    padding: 30px 0;
    margin-bottom: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    animation: fadeUp 1.25s ease both;
}
.final-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 650px;
}

.final-cta .cta-group {
    flex-shrink: 0;
}

footer {
    padding: 70px 0 82px;
    border-top: 1px solid var(--border);
    color: var(--dim);
    font-size: 0.8rem;
}

/* Inner pages: page hero */
.page-hero {
    padding: 56px 0 36px;
    animation: fadeUp 0.85s ease both;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    max-width: 18ch;
    margin-bottom: 14px;
}
.page-hero > p {
    font-size: 1.1rem;
    color: #b7b7b7;
    max-width: 640px;
}

.page-section {
    margin-bottom: 72px;
}

/* Services: grid matches feature cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 64px;
}

/* Philosophy: split layout */
.philosophy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 64px;
    animation: fadeUp 1s ease both;
}

.content-panel {
    padding: 4px 0 0;
}
.content-panel h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.content-panel p {
    color: var(--dim);
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.content-panel p:last-child { margin-bottom: 0; }

.philosophy-visual {
    position: relative;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid #2a2a2a;
    min-height: 400px;
    background: #0f0f0f;
}
.philosophy-visual img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}
.philosophy-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.55));
    pointer-events: none;
    z-index: 1;
}
.philosophy-visual::after {
    content: "";
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle at 30% 40%, rgba(121, 215, 255, 0.12), rgba(169, 150, 255, 0.05), transparent 55%);
    animation: drift 14s ease-in-out infinite alternate;
    pointer-events: none;
}

.quote-band {
    border-left: 2px solid #2a2a2a;
    padding: 6px 0 6px 20px;
    margin-bottom: 64px;
    animation: fadeUp 1.1s ease both;
}
.quote-band blockquote {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
    margin-bottom: 12px;
}
.quote-band cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--accent-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
    from { transform: translate(-4%, -2%) scale(1); }
    to { transform: translate(3%, 4%) scale(1.06); }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { min-height: 360px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-item { border-left: 0; border-top: 1px solid #2a2a2a; }
    .trust-item:first-child { border-top: 0; }
    .final-cta { flex-direction: column; align-items: flex-start; }
    .editorial-split { grid-template-columns: 1fr; gap: 22px; margin-bottom: 72px; }
    .editorial-media { min-height: 360px; }
    .editorial-media img { min-height: 360px; }
    .philosophy-split { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo img { height: 44px; }
    .container { padding: 0 22px; }
    .nav-links a { margin-left: 14px; font-size: 0.82rem; }
    .hero { padding: 56px 0 56px; gap: 30px; }
    .editorial-lead { margin-bottom: 34px; }
    .editorial-split { margin-bottom: 64px; }
    .editorial-media { min-height: 280px; }
    .editorial-media img { min-height: 280px; }
    .promise-inline { margin-bottom: 48px; }
    .final-cta { padding: 28px 0; margin-bottom: 64px; }
    .page-hero { padding: 40px 0 28px; }
    .philosophy-visual { min-height: 280px; }
    .philosophy-visual img { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
