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

:root {
    --bg:          #111111;
    --bg-alt:      #181818;
    --bg-card:     #1f1f1f;
    --text-primary: #f0ede8;
    --text-body:   rgba(240, 237, 232, 0.72);
    --text-muted:  #5a5a5a;
    --border:      #2c2c2c;
    --border-light: rgba(255,255,255,0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── LAYOUT ────────────────────────────────────────────── */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── NAV ───────────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
}

.nav__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin: 0 auto;
}

.nav__link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #707070;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s;
}

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

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
}

.nav__burger--open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav__burger--open span:nth-child(2) {
    opacity: 0;
}

.nav__burger--open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav__mobile--open {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.nav__mobile-links {
    list-style: none;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav__mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888888;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.18s;
}

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

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}

.nav__logo-tenex {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.nav__logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: #686868;
    font-weight: 500;
    text-transform: uppercase;
}

/* ─── BUTTONS ───────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
}

.btn--outline {
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--text-primary);
    background: transparent;
}

.btn--outline:hover {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
}

.btn--primary {
    background: var(--text-primary);
    color: var(--bg);
    font-weight: 600;
}

.btn--primary:hover {
    background: #ffffff;
}

.btn--full {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
}

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 7rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 17, 0.25) 0%,
        rgba(17, 17, 17, 0.05) 35%,
        rgba(17, 17, 17, 0.55) 65%,
        rgba(17, 17, 17, 0.97) 100%
    );
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero__text {
    max-width: 500px;
    width: 100%;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 6vw, 5.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.175rem);
    color: rgba(240, 237, 232, 0.7);
    max-width: 520px;
    margin-bottom: 2.25rem;
    font-weight: 300;
    line-height: 1.65;
}

/* ─── SECTIONS ──────────────────────────────────────────── */

.section {
    padding: 7rem 0;
}

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

.section__label {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #606060;
    margin-bottom: 1.1rem;
    font-weight: 500;
}

.section__heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-primary);
    margin-bottom: 3.25rem;
    max-width: 620px;
}

/* ─── ABOUT ─────────────────────────────────────────────── */

.about__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: start;
}

.about__body p {
    color: var(--text-body);
    margin-bottom: 1.3rem;
    font-size: 0.98rem;
    line-height: 1.8;
}

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

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
}

.stat__num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.stat__label {
    display: block;
    font-size: 0.82rem;
    color: #606060;
    line-height: 1.45;
}

/* ─── SERVICES ──────────────────────────────────────────── */

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    gap: 1px;
    background: var(--border);
}

.service {
    background: var(--bg-alt);
    padding: 2.5rem;
    transition: background 0.18s ease;
}

.service:hover {
    background: #222222;
}

.service__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.service__body {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.75;
}

/* ─── HOW WE WORK ───────────────────────────────────────── */

.timeline {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 5rem;
    align-items: start;
}

.timeline__heading {
    position: sticky;
    top: 7rem;
}

.timeline__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-top: 1rem;
}

.timeline__steps {
    position: relative;
    padding-left: 4rem;
}

.timeline__steps::before {
    content: '';
    position: absolute;
    left: 1.05rem;
    top: 1.1rem;
    bottom: 1.1rem;
    width: 1px;
    background: var(--border);
}

.timeline__step {
    position: relative;
    display: flex;
    gap: 2rem;
    padding-bottom: 3.5rem;
}

.timeline__step:last-child {
    padding-bottom: 0;
}

.timeline__num {
    position: absolute;
    left: -4rem;
    top: 0;
    width: 2.1rem;
    height: 2.1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #555555;
    flex-shrink: 0;
    z-index: 1;
}

.timeline__step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.timeline__step-body {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.75;
}

/* ─── CONTACT ───────────────────────────────────────────── */

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact__intro {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 2.75rem;
}

.contact__detail {
    margin-bottom: 2rem;
}

.contact__detail-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #606060;
    margin-bottom: 0.4rem;
}

.contact__link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 2px;
    transition: border-color 0.18s;
}

.contact__link:hover {
    border-color: rgba(255,255,255,0.5);
}

.contact__address {
    font-style: normal;
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ─── FORM ──────────────────────────────────────────────── */

.form__group {
    margin-bottom: 1.25rem;
}

.form__label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #606060;
    margin-bottom: 0.5rem;
}

.form__input {
    width: 100%;
    background: #1c1c1c;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.18s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.form__input:focus {
    border-color: #4a4a4a;
}

.form__input::placeholder {
    color: #3a3a3a;
}

.form__textarea {
    resize: vertical;
    min-height: 130px;
}

.form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: var(--text-primary);
}

.form__select option {
    background: #1c1c1c;
    color: var(--text-primary);
}

/* ─── POLICY PAGES ──────────────────────────────────────── */

.policy-page {
    padding: 9rem 0 6rem;
}

.policy__header {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.policy__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.policy__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.policy__body {
    max-width: 720px;
}

.policy__body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
}

.policy__body p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy__body ul {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy__body li {
    margin-bottom: 0.35rem;
}

.policy__body a {
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: border-color 0.18s;
}

.policy__body a:hover {
    border-color: rgba(255,255,255,0.55);
}

.policy__sign-off {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.policy__sign-off p {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ─── FOOTER ────────────────────────────────────────────── */

.footer {
    padding: 4rem 0 2.75rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.footer__nav {
    display: flex;
    gap: 4rem;
}

.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav-heading {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #555555;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer__nav-link {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s;
    line-height: 1;
}

.footer__nav-link:hover {
    color: #909090;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */

@media (max-width: 960px) {
    .nav__links {
        display: none;
    }

    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .nav__mobile {
        display: block;
        padding: 0 2rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__stats {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 2.5rem;
        gap: 2.5rem;
    }

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

    .timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .timeline__heading {
        position: static;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 600px) {
    .section {
        padding: 5rem 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero {
        padding-bottom: 4.5rem;
    }

    .hero__content {
        justify-content: flex-start;
    }

    .hero__text {
        max-width: 100%;
    }

    .footer__nav {
        gap: 2.5rem;
    }
}
