/* Social Qualifier — DSC-family surface (dark + muted emerald) */

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

:root {
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "InterDisplay", "Inter", var(--font-body);
    --bg-primary: #0a0a0a;
    --bg-secondary: #111413;
    --bg-card: rgba(16, 20, 18, 0.72);
    --text-primary: #fafafa;
    --text-secondary: #e0e4e2;
    --text-muted: #b0bab4;
    --border-color: rgba(255, 255, 255, 0.1);
    /* Muted emerald — same restraint as DSC slate accent */
    --accent: #8fb3a0;
    --accent-hover: #a8c7b6;
    --accent-solid: #3d5f4e;
    --accent-solid-hover: #4a735e;
    --site-nav-height: calc(4.75rem + env(safe-area-inset-top, 0px));
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scroll-padding-top: var(--site-nav-height);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.65;
    letter-spacing: normal;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 10000;
    padding: 0.65rem 1rem;
    background: var(--accent-solid);
    color: #fafafa;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 1rem;
}

.container {
    width: min(1200px, calc(100% - 2.5rem));
    margin: 0 auto;
}

/* Nav — DSC-weight sticky bar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.75rem;
    gap: 1rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand:hover {
    color: #fff;
}

.nav-brand img {
    height: 1.35rem;
    width: auto;
    opacity: 0.95;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.15rem;
    background: var(--accent-solid);
    color: #fafafa;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-solid-hover);
    color: #fff;
}

/* Buttons — DSC proportions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--accent-solid);
    color: #fafafa;
}

.btn-primary:hover {
    background: var(--accent-solid-hover);
    color: #fafafa;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

/* Hero — full viewport, DSC structure */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: #050706;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.02);
    animation: hero-drift 28s ease-in-out infinite alternate;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-atmosphere__glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 6, 0.35) 0%, transparent 48%),
        linear-gradient(180deg, rgba(5, 7, 6, 0.25) 0%, transparent 30%, rgba(5, 7, 6, 0.45) 100%);
}

@keyframes hero-drift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.05) translate3d(-0.8%, 0.4%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img {
        animation: none;
        transform: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    text-align: left;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.72);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    color: #ffffff;
    text-wrap: balance;
}

.hero-lede {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(240, 240, 240, 0.88);
    max-width: 36rem;
    margin-bottom: 2rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section--alt {
    background: var(--bg-secondary);
}

.section--alt::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 90% 0%, rgba(61, 95, 78, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 100%, rgba(61, 95, 78, 0.08), transparent 50%);
}

.section--alt > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 0.85rem;
}

.section-lede {
    color: var(--text-muted);
    max-width: 40rem;
    margin-bottom: 3rem;
    font-size: 1.15rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

/* Promise rows */
.promise-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border-color);
}

.promise-row {
    display: grid;
    grid-template-columns: minmax(9rem, 13rem) 1fr;
    gap: 1.5rem 2.5rem;
    padding: 1.85rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.promise-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.promise-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.promise-body {
    color: var(--text-secondary);
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

/* Fit — DSC frost thumbs (atmosphere + glass copy) */
.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fit-block {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: clamp(16.5rem, 32vw, 20rem);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: var(--bg-secondary);
}

.fit-block__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.fit-block--frost:hover .fit-block__backdrop {
    transform: scale(1.05);
}

.fit-block__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 10, 9, 0.1) 0%, rgba(8, 10, 9, 0.38) 42%, rgba(8, 10, 9, 0.72) 100%),
        linear-gradient(105deg, rgba(8, 10, 9, 0.42) 0%, transparent 68%);
}

.fit-block__glass {
    position: relative;
    z-index: 2;
    width: calc(100% - 1.3rem);
    margin: 0.65rem;
    padding: 1.1rem 1.15rem 1.2rem;
    border-radius: 6px;
    background: rgba(10, 12, 11, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    box-sizing: border-box;
    min-width: 0;
}

.fit-block h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.fit-block li {
    color: rgba(230, 236, 232, 0.9);
    line-height: 1.5;
}

.fit-block ul {
    margin-left: 1.15rem;
    display: grid;
    gap: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
    .fit-block__backdrop,
    .fit-block--frost:hover .fit-block__backdrop {
        transform: none;
        transition: none;
    }

    .fit-block__glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 12, 11, 0.88);
    }
}

/* Contact */
.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
}

.contact-intro .section-lede {
    margin-bottom: 0;
}

.contact-form {
    position: relative;
    background: rgba(10, 12, 11, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.75rem 1.5rem 1.85rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.form-row {
    margin-bottom: 1.1rem;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: rgba(240, 240, 240, 0.85);
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    color: var(--text-primary);
    font: inherit;
    transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(143, 179, 160, 0.65);
    outline: none;
}

.form-row textarea {
    min-height: 9rem;
    resize: vertical;
}

.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-alert {
    padding: 0.9rem 1rem;
    margin-bottom: 1.1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-alert--ok {
    background: rgba(61, 95, 78, 0.28);
    border: 1px solid rgba(143, 179, 160, 0.4);
    color: #d8f3e6;
}

.form-alert--err {
    background: rgba(120, 40, 40, 0.35);
    border: 1px solid rgba(220, 120, 120, 0.4);
    color: #f5d0d0;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.75rem 0 2.25rem;
    background: #070807;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand img {
    height: 1.15rem;
    opacity: 0.9;
}

.footer-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-meta a {
    color: var(--accent);
    text-decoration: none;
}

.footer-meta a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.footer-copy {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: rgba(176, 186, 180, 0.65);
}

/* Mobile */
@media (max-width: 860px) {
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .fit-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 6.5rem 0 3.5rem;
        min-height: auto;
        min-height: 100svh;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section {
        padding: 4.5rem 0;
    }

    .section-title {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
    }
}

@media (max-width: 640px) {
    .promise-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding: 1.5rem 0;
    }

    .nav-brand span {
        font-size: 0.98rem;
    }

    .container {
        width: min(100%, calc(100% - 1.75rem));
    }
}

@media (max-width: 768px) {
    .fit-block {
        min-height: clamp(17.5rem, 78vw, 22rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 12, 11, 0.9);
    }
}
