html {
    scroll-snap-type: none;
}

body.contact-page {
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

.contact-page .hud-element {
    z-index: 30;
}

.contact-page .logo,
.contact-page .nav-item {
    color: #fff;
}

.contact-page .logo {
    text-decoration: none;
}

.contact-page .logo-sup {
    color: var(--accent-warm);
}

.contact-page .nav-item::after {
    background: #fff;
}

.contact-page .nav-item.is-current {
    opacity: 1;
}

body.contact-light-nav .logo,
body.contact-light-nav .nav-item {
    color: #050505;
}

body.contact-light-nav .logo-sup {
    color: #7a6339;
}

body.contact-light-nav .nav-item::after {
    background: #050505;
}


.contact-main {
    position: relative;
}

.contact-hero,
.brief-guide,
.working-modes {
    position: relative;
}

.contact-hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: #050505;
    padding: 11rem 0 5.8rem;
}

.contact-scroll-cue {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    z-index: 40;
    display: grid;
    width: 3.4rem;
    height: 2rem;
    place-items: center;
    color: #f4f0e7;
    mix-blend-mode: difference;
    transform: translateX(-50%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact-scroll-cue svg {
    width: 2.7rem;
    height: 1.8rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.35;
    animation: contact-scroll-cue 1.7s ease-in-out infinite;
}

.contact-scroll-cue:hover { color: #fff; }
.contact-scroll-cue:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 0.35rem; }
.contact-scroll-cue.is-hidden { pointer-events: none; opacity: 0; transform: translate(-50%, 0.6rem); }
@keyframes contact-scroll-cue { 0%, 100% { transform: translateY(-0.12rem); } 50% { transform: translateY(0.16rem); } }

.contact-hero-inner,
.brief-guide-inner,
.working-inner {
    width: var(--content-shell-width);
    margin: 0 auto;
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
    gap: clamp(4rem, 5.8vw, 7rem);
    align-items: end;
}

.contact-hero-copy,
.contact-directory,
.brief-aside,
.brief-row,
.mode-row {
    min-width: 0;
}

.contact-kicker {
    font-family: var(--font-stack);
    color: var(--accent-warm);
    font-size: 0.76rem;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.contact-hero h1,
.brief-aside h2,
.working-heading h2 {
    font-family: var(--font-display);
    letter-spacing: 0;
    text-wrap: balance;
}

.contact-hero h1 {
    max-width: 960px;
    font-size: clamp(58px, 8.4vw, 124px);
    line-height: 0.94;
    font-weight: 730;
    margin-bottom: 2rem;
}

.contact-intro {
    font-family: var(--font-display);
    max-width: 720px;
    color: rgba(255,255,255,0.72);
    font-size: clamp(1.12rem, 1.55vw, 1.42rem);
    line-height: 1.5;
    margin-bottom: 2.8rem;
}

.contact-email {
    display: inline-block;
    max-width: 100%;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 5rem);
    line-height: 1.04;
    font-weight: 690;
    letter-spacing: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email::after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    margin-top: 0.58rem;
    background: rgba(216,199,166,0.68);
    transform-origin: left;
    transform: scaleX(0.78);
    transition: transform 0.3s ease;
}

.contact-email:hover::after {
    transform: scaleX(1);
}

.contact-lead {
    font-family: var(--font-stack);
    color: rgba(255,255,255,0.52);
    font-size: 0.74rem;
    line-height: 1.55;
    text-transform: uppercase;
    margin-top: 1.35rem;
}

.contact-directory {
    border-top: 1px solid rgba(255,255,255,0.2);
}

.directory-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.directory-row span,
.brief-row span,
.mode-row span {
    font-family: var(--font-stack);
    color: var(--accent-warm);
    font-size: 0.74rem;
    text-transform: uppercase;
}

.directory-row p {
    font-family: var(--font-display);
    color: rgba(255,255,255,0.7);
    font-size: 0.98rem;
    line-height: 1.62;
}

.brief-guide {
    background: #deddd8;
    color: #050505;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0;
}

.brief-guide-inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.34fr) minmax(0, 1fr);
    gap: clamp(4rem, 5.8vw, 7rem);
    align-items: start;
}

.brief-aside {
    position: sticky;
    top: 9rem;
    align-self: start;
}

.brief-aside h2 {
    font-size: clamp(42px, 5.4vw, 84px);
    line-height: 0.98;
    font-weight: 720;
    margin-bottom: 1.6rem;
}

.brief-aside p {
    font-family: var(--font-display);
    max-width: 420px;
    color: rgba(0,0,0,0.62);
    font-size: 1.04rem;
    line-height: 1.55;
}

.brief-rows,
.mode-rows {
    border-top: 1px solid rgba(0,0,0,0.28);
}

.brief-row,
.mode-row {
    display: grid;
    grid-template-columns: 48px minmax(170px, 0.32fr) minmax(0, 1fr);
    gap: 1.9rem;
    align-items: baseline;
    padding: 1.95rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.brief-row span {
    color: #7a6339;
}

.brief-row h3,
.mode-row h3 {
    font-family: var(--font-display);
    font-size: clamp(1.08rem, 1.35vw, 1.34rem);
    line-height: 1.14;
    font-weight: 660;
    letter-spacing: 0;
}

.brief-row p,
.mode-row p {
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 620px;
}

.brief-row p {
    color: rgba(0,0,0,0.64);
}

.working-modes {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: #050505;
    padding: 8.5rem 0 3rem;
}

.working-heading {
    margin-bottom: 5rem;
}

.working-heading h2 {
    font-size: clamp(48px, 7vw, 112px);
    line-height: 0.94;
    font-weight: 720;
}

.mode-rows {
    border-top-color: rgba(255,255,255,0.22);
}

.mode-row {
    border-bottom-color: rgba(255,255,255,0.14);
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
}

.mode-row p {
    color: rgba(255,255,255,0.56);
}

.contact-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    padding-top: 3rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-family: var(--font-stack);
    font-size: 0.74rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
}
.contact-footer span:last-child { text-align: right; }

.contact-footer a {
    color: #fff;
    text-decoration: none;
}

.contact-footer a:hover {
    color: var(--accent-warm);
}

@media (min-width: 2000px) {
    .contact-hero h1 { font-size: clamp(6.5rem, 5.4vw, 9.25rem); max-width: 1100px; }
    .contact-intro { max-width: 800px; font-size: clamp(1.22rem, 1.05vw, 1.46rem); }
    .contact-email { font-size: clamp(3.25rem, 3.7vw, 6rem); }
    .brief-aside h2 { font-size: clamp(5rem, 4vw, 6.5rem); }
    .working-heading h2 { font-size: clamp(6.5rem, 5vw, 9.25rem); }
}

@media (max-width: 1100px) {
    .contact-hero-inner,
    .brief-guide-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .brief-aside {
        position: static;
    }

    .contact-directory {
        max-width: 720px;
    }
}

@media (max-width: 760px) {
    .contact-page .hud-element {
        padding: 1.35rem 1.45rem;
    }

    .contact-page .hud-tl {
        padding-top: 1.55rem;
    }

    .contact-page .hud-tr {
        top: 4rem;
        left: 0;
        right: auto;
        padding-top: 0;
    }

    .contact-page .logo {
        font-size: 1.34rem;
    }

    .contact-page .nav-list {
        justify-content: flex-start;
        gap: 1rem;
        overflow-x: auto;
        max-width: calc(100vw - 2.9rem);
        padding-bottom: 0.35rem;
        font-size: 0.68rem;
    }

    .contact-hero {
        min-height: auto;
        padding: 10.5rem 0 4.4rem;
    }

    .contact-scroll-cue { bottom: 1.25rem; }

    .brief-guide,
    .working-modes {
        padding: 5.8rem 0 4.2rem;
    }

    .brief-guide {
        min-height: auto;
        align-items: stretch;
    }

    .working-modes {
        min-height: auto;
    }

    .contact-hero-inner,
    .brief-guide-inner,
    .working-inner {
        width: min(calc(100% - 3.2rem), 1440px);
    }

    .contact-hero h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .contact-email {
        font-size: clamp(1.44rem, 6.7vw, 1.82rem);
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .directory-row,
    .brief-row,
    .mode-row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .directory-row {
        padding: 1.25rem 0;
    }

    .brief-row,
    .mode-row {
        padding: 1.7rem 0;
    }

    .brief-aside h2,
    .working-heading h2 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .working-heading {
        margin-bottom: 3rem;
    }

    .contact-footer {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        margin-top: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-scroll-cue,
    .contact-scroll-cue svg { animation: none; transition: none; }
}

@media (max-width: 768px) {
    .contact-page .hud-tr {
        top: var(--hud-block);
        left: auto;
        right: 0;
        padding-top: 0;
    }
}
