/* =========================================================
   DMR GROUP
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   01. ROOT / VARIABLES
========================================================= */

:root {
    --bg: #080808;
    --bg-soft: #101010;
    --bg-elevated: #151515;

    --text: #f2f2f0;
    --text-soft: #a4a4a0;
    --text-muted: #686865;

    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.26);

    --accent: #d71920;
    --accent-hover: #f1262d;

    --header-height: 92px;

    --container: 1760px;
    --page-padding: clamp(22px, 3.2vw, 64px);

    --section-space: clamp(110px, 14vw, 240px);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --font-primary: "Inter", Arial, sans-serif;
    --font-display: "Manrope", "Inter", Arial, sans-serif;
}


/* =========================================================
   02. LIGHT MODE
========================================================= */

html[data-theme="light"] {
    --bg: #f1f0ec;
    --bg-soft: #e7e6e1;
    --bg-elevated: #deddd8;

    --text: #101010;
    --text-soft: #555552;
    --text-muted: #8b8a85;

    --line: rgba(0, 0, 0, 0.13);
    --line-strong: rgba(0, 0, 0, 0.25);
}


/* =========================================================
   03. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: var(--font-primary);
    font-weight: 400;

    overflow-x: hidden;

    transition:
        background-color 0.6s var(--ease),
        color 0.6s var(--ease);
}

body.menu-open {
    overflow: hidden;
}

body.loading {
    overflow: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}


/* =========================================================
   04. GLOBAL
========================================================= */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;

    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.section {
    position: relative;

    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.text-accent {
    color: var(--accent);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: clamp(60px, 8vw, 130px);

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    color: var(--text-soft);
}

.section-label span:first-child {
    color: var(--accent);
}

.section-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;

    margin-bottom: clamp(80px, 10vw, 160px);
}

.section-header .section-label {
    margin: 0;
}

.section-title {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 150px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.065em;
}


/* =========================================================
   05. LOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;
    color: #fff;

    transition:
        opacity 0.8s var(--ease),
        visibility 0.8s var(--ease);
}

.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__inner {
    width: min(520px, calc(100vw - 48px));
}

.loader__brand {
    margin-bottom: 38px;

    font-family: var(--font-display);
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 500;
    letter-spacing: -0.07em;
}

.loader__line {
    position: relative;

    width: 100%;
    height: 1px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.16);
}

.loader__line span {
    position: absolute;
    inset: 0;

    transform: scaleX(0);
    transform-origin: left center;

    background: var(--accent);
}

.loader__counter {
    margin-top: 14px;

    text-align: right;

    font-size: 11px;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   06. CUSTOM CURSOR
========================================================= */

.cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;

    pointer-events: none;

    z-index: 9000;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.cursor {
    width: 6px;
    height: 6px;

    background: var(--accent);
}

.cursor-follower {
    width: 34px;
    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    transition:
        width 0.35s var(--ease),
        height 0.35s var(--ease),
        background 0.35s var(--ease);
}

html[data-theme="light"] .cursor-follower {
    border-color: rgba(0, 0, 0, 0.45);
}


/* =========================================================
   07. PAGE PROGRESS
========================================================= */

.page-progress {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 10000;

    width: 100%;
    height: 2px;

    pointer-events: none;
}

.page-progress span {
    display: block;

    width: 100%;
    height: 100%;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: left center;
}


/* =========================================================
   08. HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;
    height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 var(--page-padding);

    transition:
        background-color 0.4s var(--ease),
        height 0.4s var(--ease),
        transform 0.5s var(--ease),
        border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
    height: 72px;

    background: rgba(8, 8, 8, 0.82);

    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

html[data-theme="light"] .site-header.is-scrolled {
    background: rgba(241, 240, 236, 0.86);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.brand {
    position: relative;
    z-index: 10;

    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.brand__mark {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.07em;
}

.brand__name {
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--text-soft);
}

.header__right {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.5vw, 42px);
}

.desktop-nav a {
    position: relative;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--text-soft);

    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 100%;
    height: 1px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.4s var(--ease);
}

.desktop-nav a:hover {
    color: var(--text);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   09. THEME BUTTON
========================================================= */

.theme-toggle {
    position: relative;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    overflow: hidden;
}

.theme-toggle span {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.5s var(--ease),
        opacity 0.5s var(--ease);
}

.theme-toggle__sun {
    opacity: 0;
    transform: translateY(100%);
}

.theme-toggle__moon {
    opacity: 1;
}

html[data-theme="light"] .theme-toggle__sun {
    opacity: 1;
    transform: translateY(0);
}

html[data-theme="light"] .theme-toggle__moon {
    opacity: 0;
    transform: translateY(-100%);
}


/* =========================================================
   10. MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    position: relative;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 7px;

    width: 28px;
    height: 1px;

    background: var(--text);

    transition: transform 0.5s var(--ease);
}

.menu-toggle span:first-child {
    top: 17px;
}

.menu-toggle span:last-child {
    top: 25px;
}

.menu-toggle.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}


/* =========================================================
   11. MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 900;

    display: none;

    background: var(--bg);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.5s var(--ease),
        visibility 0.5s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    min-height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        calc(var(--header-height) + 60px)
        var(--page-padding)
        35px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav a {
    display: flex;
    align-items: baseline;
    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid var(--line);

    font-family: var(--font-display);
    font-size: clamp(40px, 12vw, 72px);
    font-weight: 400;
    letter-spacing: -0.055em;
}

.mobile-menu__nav a span {
    width: 24px;

    font-family: var(--font-primary);
    font-size: 9px;
    letter-spacing: 0.1em;

    color: var(--accent);
}

.mobile-menu__footer {
    display: flex;
    justify-content: space-between;

    padding-top: 40px;

    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--text-soft);
}


/* =========================================================
   12. HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    overflow: hidden;

    background: #050505;
    color: #fff;
}

.hero__visual {
    position: absolute;
    inset: 0;

    transform: scale(1.04);
    transform-origin: center center;
}

.hero__visual-placeholder {
    position: absolute;
    inset: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(120, 120, 120, 0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #121212,
            #050505 60%
        );
}

.visual-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.75),
            transparent
        );
}

.visual-glow {
    position: absolute;

    width: 55vw;
    height: 55vw;

    top: 5%;
    right: -15%;

    border-radius: 50%;

    background: rgba(215, 25, 32, 0.12);

    filter: blur(120px);
}

.hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.18),
            rgba(0,0,0,0.15) 50%,
            rgba(0,0,0,0.78)
        );
}

.hero__content {
    position: relative;
    z-index: 2;

    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding:
        calc(var(--header-height) + 40px)
        var(--page-padding)
        clamp(40px, 5vw, 75px);
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: clamp(25px, 3vw, 48px);

    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.62);
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow: 0 0 15px rgba(215,25,32,0.8);
}

.hero__title {
    margin: 0;

    max-width: 1500px;

    font-family: var(--font-display);
    font-size: clamp(62px, 11.8vw, 225px);
    font-weight: 400;

    line-height: 0.74;
    letter-spacing: -0.075em;
}

.hero-line {
    display: block;

    overflow: hidden;

    padding-bottom: 0.08em;
}

.hero-line > span {
    display: inline-block;
}

.hero-line--accent {
    color: var(--accent);
}

.hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-top: clamp(40px, 5vw, 80px);
}

.hero__intro {
    width: min(420px, 100%);

    margin: 0;

    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.55;

    color: rgba(255,255,255,0.68);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 18px;

    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.55);
}

.scroll-indicator__line {
    position: relative;

    width: 80px;
    height: 1px;

    overflow: hidden;

    background: rgba(255,255,255,0.22);
}

.scroll-indicator__line::after {
    content: "";

    position: absolute;
    inset: 0;

    background: #fff;

    transform: translateX(-100%);

    animation: scrollLine 2.2s infinite var(--ease);
}

@keyframes scrollLine {

    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.hero__index {
    position: absolute;
    z-index: 2;

    top: 50%;
    right: var(--page-padding);

    transform: rotate(90deg) translateX(50%);
    transform-origin: right center;

    font-size: 9px;
    letter-spacing: 0.16em;

    color: rgba(255,255,255,0.4);
}


/* =========================================================
   13. STATEMENT
========================================================= */

.statement {
    min-height: 100vh;

    display: flex;
    align-items: center;
}

.statement__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.statement__lead {
    margin: 0;

    max-width: 1280px;

    font-family: var(--font-display);
    font-size: clamp(40px, 6.5vw, 120px);
    font-weight: 400;

    line-height: 0.98;
    letter-spacing: -0.06em;
}

.statement__secondary {
    width: min(500px, 100%);

    margin-top: clamp(55px, 7vw, 110px);
    margin-left: auto;
}

.statement__secondary p {
    margin: 0;

    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.65;

    color: var(--text-soft);
}


/* =========================================================
   14. EXPERTISE
========================================================= */

.expertise {
    border-top: 1px solid var(--line);
}

.expertise__list {
    border-top: 1px solid var(--line);
}

.expertise-item {
    position: relative;

    display: grid;

    grid-template-columns:
        0.35fr
        1.2fr
        1fr
        60px;

    align-items: center;

    gap: 30px;

    min-height: 190px;

    border-bottom: 1px solid var(--line);

    cursor: default;

    transition:
        padding 0.5s var(--ease),
        background 0.5s var(--ease);
}

.expertise-item::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background: var(--accent);

    transform: scaleY(0);
    transform-origin: bottom;

    transition: transform 0.5s var(--ease);
}

.expertise-item:hover::before {
    transform: scaleY(1);
}

.expertise-item:hover {
    padding-left: 28px;
    padding-right: 28px;

    color: #fff;
}

.expertise-item__number {
    font-size: 10px;
    letter-spacing: 0.12em;

    color: var(--text-muted);
}

.expertise-item:hover .expertise-item__number {
    color: rgba(255,255,255,0.55);
}

.expertise-item__title h3 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 80px);
    font-weight: 400;

    line-height: 1;
    letter-spacing: -0.055em;
}

.expertise-item__title span {
    display: block;

    margin-top: 8px;

    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.expertise-item:hover .expertise-item__title span {
    color: rgba(255,255,255,0.65);
}

.expertise-item__description p {
    max-width: 400px;

    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: var(--text-soft);
}

.expertise-item:hover .expertise-item__description p {
    color: rgba(255,255,255,0.8);
}

.expertise-item__arrow {
    justify-self: end;

    font-size: 28px;

    transition: transform 0.5s var(--ease);
}

.expertise-item:hover .expertise-item__arrow {
    transform: rotate(45deg);
}


/* =========================================================
   15. EXPERIENCE
========================================================= */

.experience {
    position: relative;

    height: 200vh;
}

.experience__sticky {
    position: sticky;
    top: 0;

    height: 100vh;

    overflow: hidden;

    background: #060606;
    color: #fff;
}

.experience__visual,
.experience__placeholder {
    position: absolute;
    inset: 0;
}

.experience__placeholder {
    background:
        radial-gradient(
            circle at center,
            #202020 0%,
            #0b0b0b 48%,
            #030303 100%
        );
}

.experience__grid {
    position: absolute;
    inset: -15%;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.045) 1px,
            transparent 1px
        );

    background-size: 90px 90px;

    transform: perspective(800px) rotateX(58deg) scale(1.5);
}

.experience__overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.25);
}

.experience__content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: var(--page-padding);
}

.experience__small {
    margin-bottom: 40px;

    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.15em;

    color: rgba(255,255,255,0.5);
}

.experience__title {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(65px, 13vw, 230px);
    font-weight: 400;

    line-height: 0.72;
    letter-spacing: -0.075em;
}

.experience__title span {
    display: block;
}

.experience__title span:nth-child(2) {
    margin-left: 12vw;
}

.experience__title span:nth-child(3) {
    margin-left: 25vw;

    color: var(--accent);
}

.experience__description {
    width: min(400px, 100%);

    margin:
        clamp(50px, 6vw, 100px)
        0
        0
        auto;

    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.6;

    color: rgba(255,255,255,0.65);
}


/* =========================================================
   16. PROJECTS
========================================================= */

.projects {
    overflow: hidden;
}

.projects-track-wrapper {
    width: 100%;

    padding-left: var(--page-padding);
}

.projects-track {
    display: flex;
    gap: clamp(20px, 3vw, 50px);

    width: max-content;

    padding-right: var(--page-padding);
}

.project-card {
    width: clamp(310px, 54vw, 900px);
}

.project-card__visual {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--bg-soft);
}

.project-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--bg-soft),
            var(--bg-elevated)
        );

    transition: transform 0.8s var(--ease);
}

.project-placeholder::before,
.project-placeholder::after {
    content: "";

    position: absolute;

    background: var(--line);
}

.project-placeholder::before {
    width: 140%;
    height: 1px;

    transform: rotate(-32deg);
}

.project-placeholder::after {
    width: 1px;
    height: 140%;

    transform: rotate(32deg);
}

.project-placeholder span {
    position: relative;
    z-index: 2;

    font-size: 9px;
    letter-spacing: 0.15em;

    color: var(--text-muted);
}

.project-card:hover .project-placeholder {
    transform: scale(1.035);
}

.project-card__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-top: 22px;
}

.project-card__meta h3 {
    margin: 0 0 7px;

    font-family: var(--font-display);
    font-size: clamp(23px, 2vw, 34px);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.project-card__meta span {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--text-muted);
}


/* =========================================================
   17. COMPANY
========================================================= */

.company {
    border-top: 1px solid var(--line);
}

.company__layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;

    gap: clamp(50px, 8vw, 150px);
}

.company__headline h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(55px, 8.5vw, 155px);
    font-weight: 400;

    line-height: 0.84;
    letter-spacing: -0.07em;
}

.company__content {
    padding-top: 12px;
}

.company__lead {
    margin: 0 0 45px;

    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.company__text {
    margin: 0 0 24px;

    font-size: 14px;
    line-height: 1.7;

    color: var(--text-soft);
}

.text-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 50px;
    padding: 18px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    transition:
        padding 0.4s var(--ease),
        color 0.4s ease;
}

.text-link:hover {
    padding-left: 12px;
    padding-right: 12px;

    color: var(--accent);
}


/* =========================================================
   18. VALUES
========================================================= */

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: clamp(100px, 12vw, 200px);

    border-top: 1px solid var(--line);
}

.value {
    min-height: 300px;

    padding:
        30px
        clamp(20px, 3vw, 50px)
        30px
        0;

    border-right: 1px solid var(--line);
}

.value + .value {
    padding-left: clamp(20px, 3vw, 50px);
}

.value:last-child {
    border-right: 0;
}

.value__number {
    display: block;

    margin-bottom: 90px;

    font-size: 9px;
    letter-spacing: 0.12em;

    color: var(--accent);
}

.value h3 {
    margin: 0 0 20px;

    font-family: var(--font-display);
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.value p {
    max-width: 260px;

    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: var(--text-soft);
}


/* =========================================================
   19. PHILOSOPHY
========================================================= */

.philosophy {
    background: var(--accent);
    color: #fff;
}

.philosophy__top {
    display: flex;
    justify-content: space-between;

    margin-bottom: clamp(100px, 13vw, 220px);

    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.62);
}

.philosophy__statement p {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(42px, 7.4vw, 135px);
    font-weight: 400;

    line-height: 0.96;
    letter-spacing: -0.065em;
}

.philosophy .text-accent {
    color: #fff;

    opacity: 0.52;
}


/* =========================================================
   20. CONTACT
========================================================= */

.contact {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #050505;
    color: #fff;
}

.contact__background {
    position: absolute;
    inset: 0;
}

.contact__grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size: 90px 90px;
}

.contact__background::after {
    content: "";

    position: absolute;

    width: 55vw;
    height: 55vw;

    right: -20%;
    bottom: -25%;

    border-radius: 50%;

    background: rgba(215,25,32,0.14);

    filter: blur(120px);
}

.contact__content {
    position: relative;
    z-index: 2;

    width: 100%;

    padding: 120px var(--page-padding);
}

.contact__label {
    margin-bottom: clamp(45px, 6vw, 90px);

    font-size: 9px;
    letter-spacing: 0.16em;

    color: rgba(255,255,255,0.5);
}

.contact__title {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(65px, 11.5vw, 210px);
    font-weight: 400;

    line-height: 0.75;
    letter-spacing: -0.075em;
}

.contact-line {
    display: block;

    overflow: hidden;

    padding-bottom: 0.06em;
}

.contact-line > span {
    display: inline-block;
}

.contact-line--accent {
    color: var(--accent);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    width: min(420px, 100%);

    margin-top: clamp(60px, 8vw, 120px);

    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,0.28);
    border-bottom: 1px solid rgba(255,255,255,0.28);

    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        padding 0.4s var(--ease),
        color 0.3s ease;
}

.contact-button:hover {
    padding-left: 15px;
    padding-right: 15px;

    color: var(--accent);
}


/* =========================================================
   21. FOOTER
========================================================= */

.footer {
    padding:
        clamp(80px, 9vw, 150px)
        0
        30px;

    background: var(--bg);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;

    gap: 60px;

    padding-bottom: clamp(90px, 10vw, 170px);
}

.footer__brand {
    align-self: start;

    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer__brand > span {
    font-family: var(--font-display);
    font-size: clamp(65px, 8vw, 130px);
    font-weight: 500;

    line-height: 0.8;
    letter-spacing: -0.08em;
}

.footer__brand small {
    font-size: 9px;
    letter-spacing: 0.16em;

    color: var(--text-muted);
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 11px;

    font-size: 12px;

    color: var(--text-soft);
}

.footer__column a {
    transition: color 0.25s ease;
}

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

.footer__heading {
    margin-bottom: 17px;

    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;

    padding-top: 25px;

    border-top: 1px solid var(--line);

    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.back-to-top {
    justify-self: end;

    padding: 0;

    border: 0;
    background: none;

    cursor: pointer;

    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--text-muted);

    transition: color 0.25s ease;
}

.back-to-top:hover {
    color: var(--accent);
}


/* =========================================================
   22. NOSCRIPT
========================================================= */

.noscript-message {
    position: fixed;
    z-index: 20000;

    left: 20px;
    right: 20px;
    bottom: 20px;

    padding: 20px;

    background: var(--accent);
    color: #fff;

    font-size: 13px;
    text-align: center;
}


/* =========================================================
   23. REVEAL STATES
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.split-text {
    will-change: transform, opacity;
}


/* =========================================================
   24. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    :root {
        --header-height: 78px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .section-header {
        grid-template-columns: 1fr;
    }

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

    .statement__spacer {
        display: none;
    }

    .expertise-item {
        grid-template-columns:
            60px
            1fr
            1fr
            40px;
    }

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

    .company__content {
        width: min(600px, 100%);
        margin-left: auto;
    }

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

}


/* =========================================================
   25. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 720px) {

    :root {
        --page-padding: 20px;
        --section-space: 105px;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }

    .hero__content {
        justify-content: flex-end;

        padding-bottom: 30px;
    }

    .hero__title {
        font-size: clamp(58px, 19vw, 100px);
        line-height: 0.79;
    }

    .hero__bottom {
        display: block;
    }

    .hero__intro {
        max-width: 330px;
    }

    .scroll-indicator {
        margin-top: 35px;
    }

    .hero__index {
        display: none;
    }

    .statement {
        min-height: auto;
    }

    .statement__lead {
        font-size: clamp(42px, 12vw, 72px);
    }

    .statement__secondary {
        margin-left: 0;
    }

    .expertise-item {
        grid-template-columns: 35px 1fr 30px;

        gap: 15px;

        min-height: 145px;
    }

    .expertise-item__description {
        display: none;
    }

    .expertise-item__title h3 {
        font-size: clamp(36px, 11vw, 60px);
    }

    .expertise-item:hover {
        padding-left: 10px;
        padding-right: 10px;
    }

    .experience__title {
        font-size: clamp(62px, 19vw, 110px);
        line-height: 0.78;
    }

    .experience__title span:nth-child(2) {
        margin-left: 5vw;
    }

    .experience__title span:nth-child(3) {
        margin-left: 10vw;
    }

    .experience__description {
        margin-left: 0;
    }

    .project-card {
        width: 82vw;
    }

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

    .value {
        min-height: auto;

        padding:
            30px
            0
            50px !important;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .value__number {
        margin-bottom: 55px;
    }

    .philosophy__top {
        margin-bottom: 80px;
    }

    .philosophy__statement p {
        font-size: clamp(43px, 12vw, 72px);
    }

    .contact {
        min-height: 100svh;
    }

    .contact__title {
        font-size: clamp(58px, 18vw, 100px);
        line-height: 0.8;
    }

    .footer__columns {
        grid-template-columns: 1fr 1fr;

        row-gap: 50px;
    }

    .footer__bottom {
        grid-template-columns: 1fr 1fr;

        row-gap: 20px;
    }

    .footer__legal {
        justify-content: flex-end;
    }

    .back-to-top {
        justify-self: start;
    }

}


/* =========================================================
   26. SMALL MOBILE
========================================================= */

@media (max-width: 440px) {

    .brand__mark {
        font-size: 22px;
    }

    .brand__name {
        display: none;
    }

    .hero__eyebrow {
        font-size: 8px;
    }

    .hero__title {
        font-size: 18vw;
    }

    .section-title {
        font-size: 15vw;
    }

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

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

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

}


/* =========================================================
   27. ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}


/* =========================================================
   END
========================================================= */
