:root {
    --home-burgundy: #B22222;
    --home-burgundy-dark: #8F1B1B;
    --home-ink: #1D1D1F;
    --home-muted: #626267;
    --home-surface: #F5F5F7;
    --home-white: #FFFFFF;
    --home-dark: #181819;
    --home-line: rgba(29, 29, 31, 0.13);
}

.home-page {
    margin: 0;
    color: var(--home-ink);
    background: var(--home-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

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

.home-main {
    overflow: hidden;
}

.home-main h1,
.home-main h2,
.home-main h3 {
    margin-top: 0;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.home-main p,
.home-main li {
    color: inherit;
    font-size: 16px;
    line-height: 1.72;
}

.home-main strong {
    font-weight: 700;
}

.home-main ins {
    color: inherit;
    background: transparent;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
}

.home-main a:not(.uk-button) {
    color: var(--home-burgundy);
}

.home-container {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding-right: clamp(22px, 4vw, 56px);
    padding-left: clamp(22px, 4vw, 56px);
}

.home-eyebrow {
    margin: 0 0 18px;
    color: var(--home-burgundy) !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.home-section-heading h2 {
    margin-bottom: 15px;
    font-size: 42px;
    line-height: 1.13;
}

.home-section-heading p:last-child {
    margin-bottom: 0;
    color: var(--home-muted);
}

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 530px;
    height: calc(100svh - 122px);
    max-height: 760px;
    isolation: isolate;
}

.home-hero__media,
.home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__media {
    z-index: -2;
    object-fit: cover;
    object-position: center 58%;
}

.home-hero__shade {
    z-index: -1;
    background: rgba(16, 16, 17, 0.58);
}

.home-hero__content {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 54px clamp(22px, 4vw, 56px) 64px;
}

.home-hero .home-eyebrow {
    color: #F0B2B2 !important;
}

.home-hero h1 {
    max-width: 800px;
    margin-bottom: 22px;
    color: var(--home-white);
    font-size: 66px;
    line-height: 1.02;
}

.home-hero h1 .home-hero__brand {
    display: block;
    width: fit-content;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1;
    transform: scaleX(1.22);
    transform-origin: left center;
}

.home-hero h1 strong {
    display: block;
    margin-top: 9px;
    color: var(--home-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero__lead {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-page .home-hero__actions .uk-button {
    min-width: 174px;
    min-height: 48px;
}

.home-page .home-hero__actions .home-hero__secondary {
    color: var(--home-white) !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: none;
}

.home-page .home-hero__actions .home-hero__secondary:hover,
.home-page .home-hero__actions .home-hero__secondary:focus {
    color: var(--home-ink) !important;
    background: var(--home-white);
    border-color: var(--home-white);
}

.home-benefits {
    position: relative;
    z-index: 2;
    background: var(--home-surface);
    border-bottom: 1px solid var(--home-line);
}

.home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-benefit {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    min-width: 0;
    padding: 26px 22px;
    border-left: 1px solid var(--home-line);
}

.home-benefit:last-child {
    border-right: 1px solid var(--home-line);
}

.home-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--home-burgundy);
}

.home-benefit > div {
    min-width: 0;
}

.home-benefit h2,
.home-benefit p {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.home-benefit h2 {
    margin: 0 0 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-benefit p {
    margin: 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.45;
}

.home-intro,
.home-scenes,
.home-directions,
.home-definition {
    padding: 92px 0;
}

.home-intro__grid,
.home-quality__grid,
.home-directions__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

.home-intro__copy > p:first-of-type {
    color: var(--home-muted);
    font-size: 18px;
}

.home-intro__copy h2,
.home-quality__copy h2,
.home-directions__copy h2 {
    margin-bottom: 25px;
    font-size: 46px;
    line-height: 1.12;
}

.home-intro__copy h3 {
    margin: 35px 0 14px;
    font-size: 25px;
    line-height: 1.25;
}

.home-intro__accent {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.home-intro__accent img {
    width: 108px;
    height: 76px;
    object-fit: cover;
    border-radius: 4px;
}

.home-intro__visual,
.home-scene,
.home-quality__visual,
.home-directions__visual,
.home-definition__visual {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.home-intro__visual img,
.home-scene img,
.home-definition__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.home-intro__visual img {
    aspect-ratio: 616 / 363;
    object-fit: cover;
    border-radius: 6px;
}

.home-intro__visual figcaption,
.home-scene figcaption {
    padding-top: 12px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-scenes {
    background: var(--home-surface);
}

.home-scenes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-scene img {
    aspect-ratio: 1500 / 843;
    object-fit: cover;
    border-radius: 6px;
}

.home-quality {
    padding: 92px 0;
    color: var(--home-white);
    background: var(--home-dark);
}

.home-quality__grid {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
}

.home-quality__copy {
    order: 2;
}

.home-quality__copy p {
    color: rgba(255, 255, 255, 0.76);
}

.home-quality__visual {
    order: 1;
}

.home-quality__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.home-quality__rule {
    width: 56px;
    height: 2px;
    margin-bottom: 26px;
    background: var(--home-burgundy);
}

.home-form-slot:empty {
    display: none;
}

.home-directions__grid {
    grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
}

.home-directions__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.home-directions__list {
    display: grid;
    gap: 20px;
    margin: 30px 0 26px;
    padding: 0;
    list-style: none;
    counter-reset: directions;
}

.home-directions__list li {
    position: relative;
    min-height: 38px;
    margin: 0;
    padding-left: 54px;
    counter-increment: directions;
}

.home-directions__list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--home-burgundy);
    border: 1px solid rgba(178, 34, 34, 0.38);
    border-radius: 50%;
    content: counter(directions, decimal-leading-zero);
    font-size: 11px;
    font-weight: 700;
}

.home-definition {
    padding-top: 0;
}

.home-definition__visual img {
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.home-definition__copy {
    position: relative;
    width: min(100% - 44px, 980px);
    margin: -42px auto 0;
    padding: 32px 38px;
    color: var(--home-white);
    background: var(--home-burgundy);
    border-radius: 6px;
}

.home-definition__copy p {
    margin: 0;
}

.home-definition__copy a {
    color: var(--home-white) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-projects {
    padding: 90px 0 96px;
    color: var(--home-white);
    background: var(--home-dark);
}

.home-projects__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.home-projects__header h2 {
    margin-bottom: 11px;
    font-size: 44px;
}

.home-projects__header p:not(.home-eyebrow) {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.home-page .home-projects__header .uk-button {
    flex: 0 0 auto;
    color: var(--home-white) !important;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.home-page .home-projects__header .uk-button:hover,
.home-page .home-projects__header .uk-button:focus {
    color: var(--home-ink) !important;
    background: var(--home-white);
    border-color: var(--home-white);
}

.home-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
}

.home-project {
    min-width: 0;
}

.home-project a {
    display: block;
    color: var(--home-white) !important;
    text-decoration: none;
}

.home-project img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 180ms ease, transform 180ms ease;
}

.home-project a:hover img,
.home-project a:focus-visible img {
    opacity: 0.88;
    transform: translateY(-2px);
}

.home-project__name {
    display: block;
    padding-top: 11px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    line-height: 1.45;
}

.home-project a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 4px;
}

.home-page .bossage-footer {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .home-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-benefit:nth-child(4),
    .home-benefit:nth-child(5) {
        border-top: 1px solid var(--home-line);
    }

    .home-projects__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    .home-hero h1 {
        font-size: 54px;
    }

    .home-intro__grid,
    .home-quality__grid,
    .home-directions__grid {
        grid-template-columns: 1fr;
    }

    .home-intro__visual {
        max-width: 720px;
    }

    .home-quality__copy,
    .home-quality__visual {
        order: initial;
    }

    .home-quality__visual,
    .home-directions__visual {
        max-width: 680px;
    }

    .home-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-main p,
    .home-main li {
        font-size: 15px;
        line-height: 1.68;
    }

    .home-eyebrow {
        margin-bottom: 13px;
        font-size: 11px !important;
    }

    .home-hero {
        min-height: 480px;
        height: calc(100svh - 88px);
        max-height: 660px;
    }

    .home-hero__media {
        object-position: 58% center;
    }

    .home-hero__shade {
        background: rgba(16, 16, 17, 0.64);
    }

    .home-hero__content {
        padding-top: 38px;
        padding-bottom: 42px;
    }

    .home-hero h1 {
        margin-bottom: 17px;
        font-size: 39px;
        line-height: 1.04;
    }

    .home-hero h1 strong {
        margin-top: 7px;
        font-size: 14px;
    }

    .home-hero__lead {
        max-width: 520px;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .home-hero__actions {
        margin-top: 23px;
    }

    .home-page .home-hero__actions .uk-button {
        flex: 1 1 150px;
        min-width: 0;
    }

    .home-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-benefit {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: 10px;
        padding: 20px 14px;
    }

    .home-benefits .home-benefit p {
        font-size: 13px;
        line-height: 1.5;
    }

    .home-benefit:nth-child(n + 3) {
        border-top: 1px solid var(--home-line);
    }

    .home-benefit:nth-child(5) {
        grid-column: span 2;
    }

    .home-benefit__icon {
        width: 30px;
        height: 30px;
    }

    .home-intro,
    .home-scenes,
    .home-directions,
    .home-definition,
    .home-quality,
    .home-projects {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-section-heading {
        margin-bottom: 27px;
    }

    .home-section-heading h2,
    .home-intro__copy h2,
    .home-quality__copy h2,
    .home-directions__copy h2,
    .home-projects__header h2 {
        font-size: 32px;
        line-height: 1.16;
    }

    .home-intro__grid,
    .home-quality__grid,
    .home-directions__grid {
        gap: 34px;
    }

    .home-intro__copy > p:first-of-type {
        font-size: 16px;
    }

    .home-intro__accent {
        align-items: flex-start;
    }

    .home-intro__accent img {
        width: 88px;
        height: 66px;
    }

    .home-scenes__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-directions__list li {
        padding-left: 50px;
    }

    .home-definition {
        padding-top: 0;
    }

    .home-definition__visual img {
        min-height: 210px;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .home-definition__copy {
        width: calc(100% - 32px);
        margin-top: -28px;
        padding: 25px 22px;
    }

    .home-projects__header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .home-projects__header .uk-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .home-projects__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .home-hero h1 {
        font-size: 34px;
    }

    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-benefit h2 {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-project img {
        transition: none;
    }
}

/* Homepage images: preserve original proportions. */
.home-intro__accent img {
    width: 76px;
    height: auto;
    object-fit: contain;
}

.home-intro__visual img,
.home-scene img,
.home-quality__visual img,
.home-directions__visual img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.home-quality__visual,
.home-directions__visual {
    width: min(100%, 460px);
    justify-self: center;
}

.home-project img {
    object-fit: contain;
    background: #111113;
}

@media (max-width: 767px) {
    .home-intro__accent img {
        width: 64px;
        height: auto;
    }
}
