:root {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    background-color: #000;
    color: #f8f9fa;
    min-height: 100vh;
}

/* ——— Nav: fixed, brand left, links right, backdrop blur on scroll ——— */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav--scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.site-nav__brand {
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-nav__brand:hover,
.site-nav__brand:focus {
    opacity: 0.85;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav__links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus {
    opacity: 1;
}

.site-nav__links a.active {
    opacity: 1;
    font-weight: 500;
}

/* ——— Hero: full viewport (home), video cover, overlay ——— */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.hero-content h1,
.hero-content .hero-title,
.hero-content h2 {
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.hero-content p {
    max-width: 640px;
    margin: 0.75rem auto 0;
    font-size: 1.15rem;
    font-weight: 300;
    color: #d1d5db;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-content p.small {
    font-size: 0.9rem;
}

.hero-content a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s ease;
}

.hero-content a:hover,
.hero-content a:focus {
    border-bottom-color: #fff;
}

/* Subpage hero: shorter */
.hero--subpage {
    height: 50vh;
    min-height: 400px;
}

.hero--subpage .hero-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Scroll indicator (home only) */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ——— Scroll reveal ——— */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal .statement-block p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible .statement-block p {
    opacity: 1;
    transform: translateY(0);
}

.reveal .statement-block p:nth-child(1) { transition-delay: 0.1s; }
.reveal .statement-block p:nth-child(2) { transition-delay: 0.18s; }
.reveal .statement-block p:nth-child(3) { transition-delay: 0.26s; }
.reveal .statement-block p:nth-child(4) { transition-delay: 0.34s; }
.reveal .statement-block p:nth-child(5) { transition-delay: 0.42s; }
.reveal .statement-block p:nth-child(6) { transition-delay: 0.5s; }
.reveal .statement-block p:nth-child(7) { transition-delay: 0.58s; }
.reveal .statement-block p:nth-child(8) { transition-delay: 0.66s; }
.reveal .statement-block p:nth-child(9) { transition-delay: 0.74s; }
.reveal .statement-block p:nth-child(10) { transition-delay: 0.82s; }

/* ——— Content sections ——— */
.page-content {
    background-color: #000;
}

.content-section {
    padding: 6rem 1.5rem;
    max-width: 760px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section .section-head {
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2rem;
}

.content-section p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: #e5e7eb;
    margin-bottom: 1.25rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong,
.content-section .content-section p[style*="font-weight: 500"] {
    font-weight: 500;
}

.content-section .statement-block {
    margin-bottom: 0;
}

.content-section .statement-block p {
    margin-bottom: 0.75rem;
}

/* Bullet lists: dash instead of circle */
.content-section ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
}

.content-section ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: #e5e7eb;
}

.content-section ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    top: 0.05em;
}

/* ——— Pull quotes ——— */
.pull-quote {
    padding: 6rem 1.5rem;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pull-quote p {
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

.pull-quote.pull-quote--short p {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* ——— Agency page: section-centered, capability-grid, section-split, process-steps ——— */
.section-centered {
    text-align: center;
    max-width: 900px;
}

.section-centered .section-head {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

/* Key statements: Inter (contrast to Montserrat logo/nav/pull quotes) */
.section-centered .section-tagline {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.section-centered .section-intro--strong {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: #f1f5f9;
}

.section-centered .statement-block p {
    text-align: center;
}

/* Why We Built It: punchy one-word lines + intro/body rhythm */
.section-centered .statement-block--punchy {
    line-height: 1.65;
}

.section-centered .statement-block--punchy .statement-intro {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #f1f5f9;
}

.section-centered .statement-block--punchy .statement-punch {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    letter-spacing: 0.04em;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-centered .statement-block--punchy .statement-punch + .statement-punch {
    margin-bottom: 0.5rem;
}

.section-centered .statement-block--punchy p:not(.statement-intro):not(.statement-punch) {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 0.85rem;
    color: #e5e7eb;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.capability-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(4px);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
    transition: border-color 0.25s ease, background 0.25s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s ease, background 0.25s ease;
}

.reveal--visible .capability-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal--visible .capability-card:nth-child(1) { transition-delay: 0.1s; }
.reveal--visible .capability-card:nth-child(2) { transition-delay: 0.2s; }
.reveal--visible .capability-card:nth-child(3) { transition-delay: 0.3s; }
.reveal--visible .capability-card:nth-child(4) { transition-delay: 0.4s; }
.reveal--visible .capability-card:nth-child(5) { transition-delay: 0.5s; }

.capability-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.section-centered .section-intro,
.section-centered .section-outro {
    text-align: center;
    margin-bottom: 1rem;
}

.section-centered .section-outro {
    margin-top: 2rem;
    margin-bottom: 0;
}

.section-centered .section-outro p {
    margin-bottom: 0.75rem;
}

.section-centered .section-outro p:last-child {
    margin-bottom: 0;
}

/* Section closing lines: Inter for emphasis without bold */
.section-centered .section-outro--punchy p {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    letter-spacing: 0.02em;
    line-height: 1.45;
    color: #fff;
    margin-bottom: 0.6rem;
}

.section-centered .section-outro--punchy p:last-child {
    margin-bottom: 0;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0 2.5rem 0;
}

.process-step {
    flex: 1 1 140px;
    max-width: 220px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.process-step__num {
    display: block;
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.section-split {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.section-split .split-text {
    flex: 1 1 50%;
}

.section-split .split-text .section-head {
    margin-bottom: 1.5rem;
}

.section-split .split-text p {
    margin-bottom: 1rem;
}

.section-split .split-text .split-line {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    line-height: 1.55;
    color: #fff;
}

/* Closing note: Inter regular, italic — reflective closing thought */
.section-split .section-split-note--punchy {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: 0.02em;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

/* ——— About page: toned-down type, centered list (no cards) ——— */
.page-content--about .section-centered .section-head {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    margin-bottom: 1.25rem;
}

.page-content--about .section-centered .statement-block--punchy .statement-punch {
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
}

/* We build Living Worlds: tighter line-height, emphasize final "Worlds." */
.page-content--about .statement-block--hero {
    line-height: 1.4;
}

.page-content--about .statement-block--hero .statement-punch--final {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* The Shift: sentences lead, short lines support (inverted weight) */
.page-content--about .section-centered .statement-block--shift .statement-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
}

.page-content--about .section-centered .statement-block--shift p:not(.statement-intro):not(.statement-punch) {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f1f5f9;
}

.page-content--about .section-centered .statement-block--shift .statement-punch {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

.page-content--about .section-centered .statement-block--punchy .statement-intro {
    font-size: 1.1rem;
}

.page-content--about .section-centered .statement-block--punchy p:not(.statement-intro):not(.statement-punch) {
    font-size: 1.05rem;
}

.page-content--about .section-centered .section-outro--punchy p {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.page-content--about .section-centered .section-intro--strong {
    font-size: 1.05rem;
}

.section-centered .section-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 2rem;
    text-align: center;
    max-width: 520px;
}

.section-centered .section-list li {
    position: relative;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
    color: #e5e7eb;
    padding-left: 0;
}

.section-centered .section-list li::before {
    content: none;
    display: none;
}

/* ——— Contact page ——— */
.page-content--contact .contact-tagline {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    letter-spacing: 0.02em;
    line-height: 1.45;
    color: #fff;
    margin: 0 0 1rem 0;
}

.page-content--contact .contact-lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #d1d5db;
    margin: 0;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.page-content--contact .contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

.page-content--contact .contact-card__title {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 0.75rem 0;
}

.page-content--contact .contact-card__text {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.65;
    color: #e5e7eb;
    margin: 0 0 1.25rem 0;
}

.page-content--contact .contact-card__cta {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.page-content--contact .contact-form {
    margin-top: 1.25rem;
    text-align: left;
}

.page-content--contact .contact-form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.35rem;
    margin-top: 1rem;
}

.page-content--contact .contact-form__label:first-of-type {
    margin-top: 0;
}

.page-content--contact .contact-form__optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.5);
}

.page-content--contact .contact-form__input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 300;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 0.25rem;
}

.page-content--contact .contact-form__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.page-content--contact .contact-form__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.page-content--contact .contact-form__submit {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-content--contact .contact-form__submit:hover,
.page-content--contact .contact-form__submit:focus {
    background: rgba(255, 255, 255, 0.9);
}

.page-content--contact .contact-message {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0;
}

.page-content--contact .contact-message--success {
    color: #a7f3d0;
}

.page-content--contact .contact-message--notice {
    color: #e5e7eb;
}

.page-content--contact .contact-message--error {
    color: #fca5a5;
}

.section-split .split-card {
    flex: 0 1 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.section-split .split-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-split .split-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.875rem;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.5;
    color: #e5e7eb;
}

.section-split .split-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

.section-split .section-split-note {
    flex: 0 0 100%;
    max-width: 760px;
    margin: 0 auto;
    padding-top: 1rem;
    text-align: center;
}

/* ——— Footer ——— */
.site-footer {
    padding: 3rem 1.5rem 2rem;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Legacy/utility */
h2.section-title {
    font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.section-dark {
    background-color: #050505;
    padding: 4rem 0;
}

.feature-card {
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

/* ——— Responsive ——— */
@media (max-width: 768px) {
    .site-nav {
        padding: 1rem;
    }

    .site-nav__brand {
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    .site-nav__links {
        gap: 1.25rem;
    }

    .site-nav__links a {
        font-size: 0.75rem;
    }

    .content-section,
    .pull-quote {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero--subpage {
        min-height: 320px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        margin: 2rem 0;
    }

    .section-split {
        flex-direction: column;
        gap: 2.5rem;
    }

    .section-split .split-card {
        flex: 1 1 auto;
        max-width: none;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .process-step {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .site-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .content-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}
