:root {
    --color-black: #0b0b0c;
    --color-dark: #151516;
    --color-charcoal: #202023;
    --color-gold: #edc66e;
    --color-gold-dark: #d9a940;
    --color-cream: #f4f1e9;
    --color-muted: #a7a7aa;
    --color-border: rgba(255, 255, 255, 0.14);
    --font-display: "Barlow Condensed", Impact, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --container-width: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-cream);
    background: var(--color-black);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-container {
    width: min(calc(100% - 2rem), var(--container-width));
    margin-right: auto;
    margin-left: auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.15rem;
    color: var(--color-gold);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.19em;
}

.section-label span {
    width: 30px;
    height: 2px;
    background: currentColor;
}

.section-label--dark {
    color: var(--color-black);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

.site-header__content {
    display: flex;
    min-height: 80px;
    width: min(calc(100% - 2rem), var(--container-width));
    margin: auto;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: cover;
    border-radius: 50%;
}

.brand__text {
    display: grid;
    line-height: 1.05;
}

.brand__text strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.055em;
}

.brand__text small {
    margin-top: 0.3rem;
    color: var(--color-muted);
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.menu-button {
    position: relative;
    z-index: 30;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 5px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-button > span:not(.visually-hidden) {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button[aria-expanded="true"] > span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    width: min(86vw, 380px);
    min-height: 100vh;
    padding: 7rem 2rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: #131315;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
}

.main-navigation--open {
    display: flex;
}

.main-navigation a {
    padding: 0.8rem 0;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.main-navigation a[aria-current="page"] {
    color: var(--color-gold);
}

.main-navigation__phone {
    margin-top: 1rem;
    padding: 1rem !important;
    color: var(--color-black);
    background: var(--color-gold);
    text-align: center;
}

.hero {
    position: relative;
    display: grid;
    min-height: auto;
    padding-top: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 40%, #242425 0, #111113 35%, #09090a 72%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 680px;
    padding: 5rem 1rem 3.5rem;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 1.35rem;
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 14vw, 4rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.hero h1 strong {
    display: block;
    color: var(--color-gold);
    font-weight: inherit;
}

.hero__introduction {
    max-width: 640px;
    margin-bottom: 2rem;
    color: #c8c8cb;
    font-size: 0.98rem;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 1.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button svg {
    width: 19px;
    fill: currentColor;
}

.button--primary {
    color: var(--color-black);
    background: var(--color-gold);
}

.button--primary:hover {
    background: #f5d681;
}

.button--secondary {
    border-color: #4b4b4d;
    background: rgba(255, 255, 255, 0.03);
}

.button--secondary:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.button--dark {
    color: var(--color-cream);
    background: var(--color-black);
}

.hero__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0 0;
    margin: 2rem 0 0;
    border-top: 1px solid var(--color-border);
    list-style: none;
}

.hero__highlights li {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: baseline;
    gap: 0.15rem;
}

.hero__highlights strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.hero__highlights span {
    color: var(--color-muted);
    font-size: 0.75rem;
}

.hero__visual {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #080809;
}

.hero__visual::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 30%;
    content: "";
    pointer-events: none;
    background: linear-gradient(transparent, #080809 92%);
}

.hero__rail {
    position: absolute;
    z-index: 1;
    width: 60px;
    height: 140%;
    background: var(--color-gold);
    opacity: 0.92;
    transform: rotate(-34deg);
}

.hero__rail--first {
    top: -28%;
    right: 5%;
}

.hero__rail--second {
    top: -12%;
    right: -38%;
    width: 180px;
}

.hero__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: min(88vw, 440px);
    aspect-ratio: 1;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(237, 198, 110, 0.3);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.58);
    transform: translate(-50%, -56%);
}

.hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__visual > p {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    z-index: 4;
    width: 100%;
    margin: 0;
    color: #d8d8d8;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transform: translateX(-50%);
}

.hero__visual > p span {
    color: var(--color-gold);
}

.services {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-heading {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.section-heading h2,
.workshop h2,
.contact h2 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.section-heading > p {
    max-width: 500px;
    margin-bottom: 0.4rem;
    color: var(--color-muted);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid #303033;
    border-left: 1px solid #303033;
}

.service-card {
    position: relative;
    min-height: 310px;
    padding: 2rem;
    overflow: hidden;
    background: #121214;
    border-right: 1px solid #303033;
    border-bottom: 1px solid #303033;
    scroll-margin-top: 2rem;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
    z-index: 2;
    background: #1c1c1f;
    transform: translateY(-8px);
}

.service-card--featured {
    color: var(--color-black);
    background: var(--color-gold);
}

.service-card--featured:hover {
    background: #f4d37f;
}

.service-card__number {
    position: absolute;
    top: 1.6rem;
    right: 1.8rem;
    color: currentColor;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0.5;
}

.service-card__icon {
    width: 58px;
    margin-bottom: 2.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.service-card p {
    margin-bottom: 1.25rem;
    color: #b8b8bb;
}

.service-card--featured p {
    color: #4b3d15;
}

.service-card ul {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    color: #a9a9ac;
    list-style: none;
}

.service-card--featured ul {
    color: #403512;
}

.service-card li::before {
    margin-right: 0.6rem;
    color: var(--color-gold);
    content: "—";
}

.service-card--featured li::before {
    color: var(--color-black);
}

.workshop {
    position: relative;
    display: grid;
    gap: 3rem;
    width: 100%;
    padding: 5rem 1rem;
    overflow: hidden;
    color: var(--color-black);
    background: var(--color-cream);
}

.workshop__number {
    position: absolute;
    right: 0;
    bottom: -8rem;
    color: rgba(0, 0, 0, 0.035);
    font-family: var(--font-display);
    font-size: 25rem;
    font-weight: 800;
    line-height: 1;
}

.workshop__content,
.workshop__card {
    position: relative;
    z-index: 1;
}

.workshop__content h2 {
    margin-bottom: 2rem;
}

.workshop__content > p:not(.section-label) {
    max-width: 680px;
    color: #555358;
}

.workshop__card {
    min-height: 320px;
    padding: 2rem;
    color: var(--color-cream);
    background: var(--color-dark);
    box-shadow: 10px 10px 0 var(--color-gold);
}

.workshop__card-label {
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.workshop__card-name {
    margin: 3.7rem 0;
    font-family: var(--font-display);
    font-size: 3.7rem;
    font-weight: 700;
    line-height: 0.84;
    text-transform: uppercase;
}

.workshop__card a {
    display: flex;
    padding-top: 1rem;
    justify-content: space-between;
    color: var(--color-gold);
    border-top: 1px solid var(--color-border);
    font-weight: 700;
}

.contact {
    display: grid;
    gap: 3rem;
    width: 100%;
    padding: 5rem 1rem;
    color: var(--color-black);
    background: var(--color-gold);
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact__introduction > p:not(.section-label) {
    max-width: 560px;
    color: #554516;
}

.contact__phone {
    display: inline-block;
    margin-top: 2rem;
    border-bottom: 3px solid var(--color-black);
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.contact__details {
    display: grid;
    align-content: center;
    gap: 2rem;
}

.contact__details > div {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.contact__details small {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.contact__details address {
    font-style: normal;
}

.contact__details a:not(.button) {
    overflow-wrap: anywhere;
    font-weight: 600;
}

.contact__details .button {
    justify-self: start;
}

.site-footer__content {
    display: grid;
    width: min(calc(100% - 2rem), var(--container-width));
    min-height: 160px;
    padding: 2rem 0;
    margin: auto;
    gap: 1.5rem;
    align-items: center;
}

.site-footer__brand {
    display: block;
    width: 150px;
}

.site-footer__brand img {
    width: 100%;
    height: auto;
}

.site-footer p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.72rem;
}

.site-footer__top {
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.error-page {
    display: grid;
    min-height: 100vh;
    padding: 2rem;
    place-items: center;
    background: radial-gradient(circle at 30% 40%, #242425 0, #111113 35%, #09090a 72%);
}

.error-page__content {
    width: min(100%, 760px);
}

.error-page h1 {
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 14vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
}

.error-page p:not(.section-label) {
    margin-bottom: 2rem;
    color: var(--color-muted);
}

@media (min-width: 700px) {
    .brand__text strong {
        font-size: 1.25rem;
    }

    .brand__text small {
        font-size: 0.7rem;
    }

    .hero__content {
        min-height: 720px;
        padding-top: 7rem;
        padding-right: 6vw;
        padding-bottom: 4rem;
        padding-left: max(1rem, calc((100vw - var(--container-width)) / 2));
    }

    .hero h1 {
        font-size: clamp(4rem, 7vw, 5rem);
    }

    .hero__introduction {
        font-size: 1.05rem;
    }

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.4rem;
        margin-top: 3rem;
    }

    .hero__highlights li {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 560px;
    }

    .hero__logo {
        width: min(68vw, 500px);
    }

    .section-heading {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: end;
        gap: 4rem;
    }

    .workshop,
    .contact {
        padding: 7rem clamp(2rem, 6vw, 6rem);
    }

    .workshop__card {
        min-height: 380px;
        padding: 3rem;
        box-shadow: 18px 18px 0 var(--color-gold);
    }

    .workshop__card-name {
        margin: 4.5rem 0 4.4rem;
        font-size: 4.4rem;
    }

    .contact__phone {
        font-size: clamp(2.8rem, 6vw, 4.5rem);
    }

    .site-footer__content {
        grid-template-columns: 1fr auto;
    }

    .site-footer p {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .site-footer__top {
        justify-self: end;
    }
}

@media (min-width: 992px) {
    body.menu-open {
        overflow: auto;
    }

    .site-header__content {
        min-height: 92px;
    }

    .menu-button {
        display: none;
    }

    .main-navigation {
        position: static;
        display: flex;
        width: auto;
        min-height: auto;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: clamp(1.25rem, 3vw, 2.75rem);
        background: transparent;
        box-shadow: none;
    }

    .main-navigation a {
        padding: 0;
        color: #d7d7d7;
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: none;
    }

    .main-navigation a:hover,
    .main-navigation a:focus-visible,
    .main-navigation a[aria-current="page"] {
        color: var(--color-gold);
    }

    .main-navigation__phone {
        margin-top: 0;
        padding: 0.75rem 1rem !important;
        color: var(--color-black) !important;
    }

    .hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
        min-height: 860px;
        padding-top: 0;
    }

    .hero__content {
        min-height: 860px;
        padding-top: 150px;
    }

    .hero__visual {
        min-height: 860px;
    }

    .hero h1 {
        font-size: clamp(4.75rem, 5vw, 6rem);
    }

    .hero__logo {
        width: min(84%, 540px);
    }

    .hero__rail {
        width: 90px;
    }

    .hero__rail--first {
        right: 9%;
    }

    .hero__rail--second {
        right: -18%;
    }

    .services {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }

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

    .service-card {
        min-height: 430px;
        padding: 2.4rem;
    }

    .service-card__icon {
        margin-bottom: 3rem;
    }

    .workshop {
        grid-template-columns: 0.95fr 0.65fr;
        gap: clamp(3rem, 8vw, 8rem);
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .contact {
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(3rem, 8vw, 8rem);
        width: min(calc(100% - 2rem), var(--container-width));
    }

    .site-footer__content {
        grid-template-columns: 1fr auto 1fr;
    }

    .site-footer p {
        grid-column: auto;
        grid-row: auto;
        text-align: center;
    }

    .site-footer__top {
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}