:root {
    --ink: #0b0b0c;
    --muted: #656565;
    --line: #e5e5e5;
    --paper: #ffffff;
    --soft: #f1f1f1;
    --red: #d4141d;
    --deep-red: #9f0710;
    --accent: var(--red);
    --font: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font);
}

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

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

.site-header {
    position: relative;
    z-index: 20;
    height: 76px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.brand {
    font-size: 26px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 34px;
    color: #222;
    font-size: 14px;
}

.nav-cta,
.button,
.footer-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
}

.hero {
    min-height: 860px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 40px;
    padding: 84px 6vw 96px;
    overflow: hidden;
}

.kicker {
    width: fit-content;
    margin: 0 0 30px;
    padding-left: 18px;
    border-left: 6px solid var(--accent);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: 94px;
    line-height: 0.94;
    font-weight: 500;
    letter-spacing: 0;
}

.hero h1 span {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-stage {
    position: relative;
    min-height: 690px;
    display: grid;
    place-items: center;
    overflow: visible;
    background: transparent;
    --parallax-x: 0px;
    --parallax-y: 0px;
}

.hero-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 5%;
    width: 76%;
    height: 88%;
    transform: translateX(-50%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.hero-ghost {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.16);
    font-size: 148px;
    font-weight: 800;
    line-height: 0.8;
    pointer-events: none;
}

.hero-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: normal;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.04);
    transition: transform 180ms ease-out;
    will-change: transform;
    filter: drop-shadow(0 32px 46px rgba(0, 0, 0, 0.14));
}

.hero-accent-line {
    position: absolute;
    right: 5%;
    bottom: 15%;
    z-index: 3;
    width: 44%;
    height: 8px;
    background: var(--accent);
    transform: translate3d(calc(var(--parallax-x) * -0.25), calc(var(--parallax-y) * -0.25), 0);
    pointer-events: none;
}

.about-section,
.experience-section,
.services-section,
.success-section,
.faq-section,
.contact-section {
    padding: 130px 6vw;
}

.about-section {
    background: var(--soft);
}

.section-title {
    font-size: 86px;
    line-height: 0.98;
}

.section-title span,
.center-heading span,
.contact-title span,
.awards-section h2 span,
.success-heading h2 span {
    display: block;
    font-weight: 400;
}

.section-title strong,
.center-heading strong,
.contact-title strong,
.awards-section h2 strong,
.success-heading h2 strong {
    display: block;
    font-weight: 800;
}

.about-layout {
    margin-top: 82px;
    display: grid;
    grid-template-columns: minmax(180px, 0.62fr) minmax(460px, 1.18fr) minmax(220px, 0.78fr);
    align-items: center;
    gap: 54px;
}

.about-photo,
.about-tall {
    width: 100%;
    object-fit: cover;
}

.about-photo {
    height: 420px;
    object-position: center 14%;
}

.about-tall {
    height: 620px;
    object-position: center 18%;
    filter: grayscale(1);
}

.about-text {
    align-self: center;
    max-width: 680px;
    justify-self: center;
}

.about-text h2 {
    margin: 0 0 30px;
    font-size: 34px;
    line-height: 1.12;
    text-align: center;
}

.about-text p {
    margin: 0;
    color: #4d4d4d;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.about-text p + p {
    margin-top: 18px;
}

.rail-prompt {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin: 72px 0 12px;
    text-align: right;
    width: 100%;
}

.about-image-rail {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid #0d0d0d;
    background: #0d0d0d;
}

.rail-item {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    border-right: 1px solid #0d0d0d;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.rail-item:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -6px;
    z-index: 2;
}

.rail-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(1.05) contrast(1.03);
    transition: transform 260ms ease;
}

.rail-item:hover img,
.rail-item:focus-visible img {
    transform: scale(1.05);
}

.rail-item:last-child {
    border-right: 0;
}

.center-heading,
.contact-title {
    text-align: center;
    font-size: 82px;
    line-height: 0.95;
}

.experience-list {
    margin-top: 82px;
    border-top: 1px solid var(--line);
}

.experience-row {
    padding: 52px 0;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr;
    gap: 60px;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.exp-header h3 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.1;
}

.exp-role {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #787878;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

.exp-details ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #565656;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.exp-details li {
    margin-bottom: 12px;
}

.service-list {
    margin-top: 82px;
    border-top: 1px solid var(--line);
}

.service-row {
    position: relative;
    min-height: 220px;
    padding: 52px 0;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) 84px minmax(320px, 1fr);
    gap: 44px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.featured-service {
    min-height: 220px;
}

.service-row > div {
    grid-column: 1;
}

.service-row h3 {
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 1;
}

.pills {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pills span,
.service-number {
    border: 1px solid #787878;
    border-radius: 999px;
}

.pills span {
    padding: 7px 28px;
    color: #555;
    font-weight: 700;
}

.service-number {
    grid-column: 2;
    width: fit-content;
    padding: 4px 18px;
    align-self: start;
    font-weight: 700;
}

.service-row p {
    grid-column: 3;
    max-width: 520px;
    margin: 0;
    color: #565656;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.portfolio-section {
    background: #fff;
    padding: 0;
}

.red-feature {
    position: relative;
    min-height: 820px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--red);
}

.red-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 26%;
    mix-blend-mode: multiply;
    opacity: 0.82;
    transform: scale(1.03);
}

.red-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(120, 0, 7, 0.54), rgba(212, 20, 29, 0.14) 45%, rgba(80, 0, 5, 0.7)),
        linear-gradient(180deg, rgba(212, 20, 29, 0.22), rgba(100, 0, 8, 0.7));
}

.portfolio-hero-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: min(1120px, calc(100% - 48px));
}

.portfolio-hero-copy span {
    display: inline-flex;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-hero-copy h2 {
    margin: 34px 0 0;
    color: #fff;
    font-size: 132px;
    font-weight: 800;
    line-height: 0.86;
    text-transform: uppercase;
}

.portfolio-hero-copy p {
    max-width: 680px;
    margin: 36px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.success-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.success-heading h2 {
    margin: 0;
    font-size: 82px;
    line-height: 0.9;
}

.rating {
    text-align: center;
}

.rating strong {
    display: block;
    font-size: 96px;
    line-height: 0.85;
}

.rating span {
    font-size: 22px;
    font-weight: 700;
}

.quote-row {
    max-width: 1120px;
    margin: 120px auto 0;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 60px;
    align-items: start;
}

.quote-mark {
    color: #5b5b5b;
    font-size: 190px;
    font-weight: 800;
    line-height: 0.75;
}

.quote-row p {
    margin: 0;
    color: #4d4d4d;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.22;
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 80px;
}

.quote-dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e7e7e7;
}

.quote-dots .active {
    background: var(--accent);
}

.awards-section {
    position: relative;
    min-height: 1240px;
    padding: 88px 7vw;
    overflow: hidden;
    background: var(--red);
    color: #fff;
}

.awards-section > img,
.awards-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.awards-section > img {
    object-fit: cover;
    object-position: center 25%;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.awards-overlay {
    background: linear-gradient(145deg, rgba(229, 23, 32, 0.88), rgba(150, 0, 8, 0.68));
}

.awards-section h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 78px;
    line-height: 0.96;
}

.award-card {
    position: absolute;
    z-index: 2;
    width: 420px;
    min-height: 310px;
    padding: 32px;
    border: 16px solid #fff;
    background: #fff;
    color: var(--ink);
    outline: 1px solid var(--line);
}

.award-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 118px;
    height: 1px;
    background: var(--line);
}

.trophy {
    float: left;
    margin-right: 24px;
    font-size: 50px;
    line-height: 0.9;
}

.award-card h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1.02;
}

.award-card p {
    clear: both;
    margin: 78px 0 0;
    color: #555;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.card-one {
    right: 7vw;
    top: 210px;
}

.card-two {
    left: 18vw;
    top: 520px;
}

.card-three {
    right: 7vw;
    top: 820px;
}

.faq-list {
    max-width: 1100px;
    margin: 86px auto 0;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 28px 36px;
}

.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-item button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 8px;
}

.faq-item div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.faq-item strong {
    font-size: 25px;
}

.faq-item span {
    font-size: 38px;
    line-height: 1;
}

.faq-item p {
    max-width: 760px;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0;
    transition: max-height 220ms ease, margin 220ms ease, opacity 220ms ease;
}

.faq-item.open p {
    max-height: 180px;
    margin-top: 22px;
    opacity: 1;
}

.contact-section {
    padding-bottom: 180px;
}

.contact-layout {
    max-width: 1120px;
    margin: 82px auto 0;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 112px;
    align-items: center;
}

.contact-details article {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 18px;
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.contact-details h3 {
    margin: 0 0 12px;
    font-size: 25px;
}

.contact-details p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.contact-layout img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(1) contrast(1.08);
}

.button {
    width: 100%;
}

.footer {
    padding: 92px 6vw 22px;
    display: grid;
    grid-template-columns: 1.1fr 0.55fr 0.9fr;
    gap: 90px;
    background: var(--red);
    color: #fff;
}

.footer h2 {
    margin: 0 0 22px;
    font-size: 34px;
}

.footer p,
.footer a,
.footer span {
    color: rgba(255, 255, 255, 0.76);
    font-style: normal;
    font-size: 18px;
    line-height: 1.45;
}

.footer div p {
    max-width: 360px;
    margin-bottom: 34px;
}

a.footer-cta {
    width: fit-content;
    min-height: 44px;
    background: var(--paper);
    color: var(--red);
}

.footer nav,
.footer address {
    display: grid;
    gap: 18px;
    align-content: start;
    font-style: normal;
}

.footer strong {
    color: #fff;
    font-size: 26px;
}

.footer-name {
    grid-column: 1 / -1;
    margin-top: 50px;
    padding-top: 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 136px;
    line-height: 0.8;
    letter-spacing: 0;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 42px;
    background: rgba(0, 0, 0, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    background: #fff;
    color: var(--ink);
    transform: translateY(18px) scale(0.98);
    transition: transform 220ms ease;
}

.lightbox.open .lightbox-panel {
    transform: translateY(0) scale(1);
}

.lightbox-image {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center 18%;
}

.lightbox-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.lightbox-copy span {
    width: fit-content;
    padding: 8px 18px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.lightbox-copy h2 {
    margin: 28px 0 18px;
    font-size: 54px;
    line-height: 0.98;
}

.lightbox-copy p {
    margin: 0;
    color: #4d4d4d;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    text-align: justify;
}

.lightbox-close {
    position: absolute;
    right: 28px;
    top: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .hero,
    .about-layout,
    .experience-row,
    .contact-layout,
    .footer {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .section-title,
    .center-heading,
    .contact-title,
    .success-heading h2,
    .portfolio-hero-copy h2,
    .awards-section h2 {
        font-size: 58px;
    }

    .hero {
        padding-top: 54px;
    }

    .hero-stage {
        min-height: 560px;
    }

    .red-feature {
        min-height: 640px;
    }

    .red-bg {
        object-position: center 24%;
    }

    .about-layout {
        gap: 30px;
    }

    .about-text {
        max-width: 680px;
    }

    .service-row {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .featured-service {
        min-height: auto;
    }

    .service-row > div,
    .service-number,
    .service-row p {
        grid-column: auto;
    }

    .success-heading,
    .quote-row {
        display: block;
    }

    .quote-mark {
        font-size: 120px;
    }

    .quote-row p {
        font-size: 28px;
    }

    .award-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 34px;
    }

    .awards-section {
        min-height: auto;
    }

    .footer-name {
        font-size: 72px;
    }
}

@media (max-width: 700px) {
    .site-header {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        gap: 14px;
        padding: 18px 22px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 14px;
        font-size: 13px;
    }

    .hero,
    .about-section,
    .experience-section,
    .services-section,
    .success-section,
    .faq-section,
    .contact-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero h1,
    .section-title,
    .center-heading,
    .contact-title,
    .success-heading h2,
    .portfolio-hero-copy h2,
    .awards-section h2 {
        font-size: 42px;
    }

    .hero-stage,
    .red-feature {
        min-height: 460px;
    }

    .portfolio-hero-copy p {
        font-size: 16px;
    }

    .service-row h3 {
        font-size: 36px;
    }

    .about-text p,
    .service-row p {
        font-size: 18px;
    }

    .about-photo,
    .about-tall,
    .contact-layout img {
        height: 420px;
    }

    .about-image-rail {
        grid-template-columns: repeat(5, minmax(130px, 1fr));
        overflow-x: auto;
    }

    .rail-item img {
        height: 170px;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-panel {
        grid-template-columns: 1fr;
    }

    .lightbox-image {
        height: 320px;
    }

    .lightbox-copy {
        padding: 28px;
    }

    .lightbox-copy h2 {
        font-size: 34px;
    }

    .lightbox-copy p {
        font-size: 16px;
    }

    .contact-section {
        padding-bottom: 100px;
    }
}
