.seo-page {
    min-height: 100vh;
    background: #f4f1ea;
    color: #181818;
    font-family: Arial, Helvetica, sans-serif;
}

.seo-hero {
    position: relative;
    display: grid;
    min-height: min(72svh, 52rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgb(181 154 111 / 28%), transparent 28rem),
        linear-gradient(135deg, #121212 5%, #3c342b 100%);
    color: #fff;
    align-items: end;
}

.seo-hero-image,
.seo-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.seo-hero-image {
    object-fit: cover;
    opacity: 0.68;
    transform: scale(1.02);
}

.seo-hero-overlay {
    background: linear-gradient(90deg, rgb(8 8 8 / 92%) 0%, rgb(8 8 8 / 62%) 48%, rgb(8 8 8 / 24%) 100%);
}

.seo-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 7%) 1px, transparent 1px);
    background-size: clamp(4rem, 9vw, 8rem) clamp(4rem, 9vw, 8rem);
    mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.seo-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 75rem;
    padding: clamp(9rem, 18vw, 15rem) clamp(1.5rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem);
}

.seo-hero-copy > p,
.seo-kicker,
.seo-links header p,
.seo-faq header p {
    margin: 0 0 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.seo-hero-copy h1,
.seo-content h2,
.seo-links h2,
.seo-faq h2 {
    max-width: 66rem;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.25rem, 8vw, 7.25rem);
    font-weight: 400;
    line-height: 0.95;
    text-wrap: balance;
}

.seo-hero-copy strong {
    display: block;
    max-width: 50rem;
    margin-top: 1.75rem;
    color: rgb(255 255 255 / 76%);
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    font-weight: 400;
    line-height: 1.7;
}

.seo-hero-actions {
    display: flex;
    margin-top: 2rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seo-hero-actions a {
    min-width: 12.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(255 255 255 / 46%);
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.seo-hero-actions a:first-child,
.seo-hero-actions a:hover,
.seo-hero-actions a:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #171717;
}

.seo-breadcrumb {
    padding: 1.15rem clamp(1.5rem, 7vw, 8rem);
    border-bottom: 1px solid rgb(24 24 24 / 12%);
    overflow-x: auto;
}

.seo-breadcrumb ol {
    display: flex;
    width: max-content;
    padding: 0;
    margin: 0;
    color: #706b64;
    font-size: 0.72rem;
    gap: 0.7rem;
    list-style: none;
}

.seo-breadcrumb li:not(:last-child)::after {
    margin-inline-start: 0.7rem;
    content: "/";
}

.seo-breadcrumb a {
    color: inherit;
}

.seo-editorial {
    padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 7vw, 8rem);
}

.seo-editorial-intro {
    display: grid;
    max-width: 92rem;
    margin: 0 auto clamp(4rem, 8vw, 8rem);
    align-items: end;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: clamp(2rem, 8vw, 8rem);
}

.seo-editorial-intro h2,
.seo-process h2,
.seo-showcase h2,
.seo-cta h2 {
    max-width: 14ch;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 400;
    line-height: 0.98;
    text-wrap: balance;
}

.seo-editorial-intro > p {
    margin: 0;
    color: #666057;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.seo-section-nav {
    display: grid;
    max-width: 92rem;
    padding: 1px;
    margin: 0 auto clamp(4rem, 8vw, 8rem);
    background: rgb(24 24 24 / 14%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
}

.seo-section-nav a {
    display: grid;
    min-height: 4.75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f4f1ea;
    color: inherit;
    font-size: 0.82rem;
    grid-template-columns: 2.5rem 1fr;
    text-decoration: none;
}

.seo-section-nav a:hover,
.seo-section-nav a:focus-visible {
    background: #e9e4da;
}

.seo-section-nav span,
.seo-editorial-sections > section > span {
    color: #9a654f;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
}

.seo-editorial-sections {
    max-width: 92rem;
    margin-inline: auto;
    border-top: 1px solid rgb(24 24 24 / 18%);
}

.seo-editorial-sections > section {
    display: grid;
    padding: clamp(2.75rem, 6vw, 6rem) 0;
    border-bottom: 1px solid rgb(24 24 24 / 18%);
    grid-template-columns: minmax(3rem, 0.15fr) minmax(16rem, 0.85fr) minmax(20rem, 1fr);
    gap: clamp(1rem, 4vw, 4rem);
}

.seo-editorial-sections h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 3.2rem);
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
}

.seo-editorial-sections section > div {
    color: #5f5a53;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.85;
}

.seo-primary-link {
    display: inline-flex;
    min-width: min(100%, 18rem);
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border: 1px solid #181818;
    margin-top: 2.5rem;
    color: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.seo-process {
    padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem);
    background: #171717;
    color: #fff;
}

.seo-process > header,
.seo-showcase > header {
    display: flex;
    max-width: 92rem;
    align-items: end;
    justify-content: space-between;
    margin: 0 auto clamp(3rem, 6vw, 6rem);
    gap: 2rem;
}

.seo-process header > p,
.seo-showcase header p,
.seo-cta > p {
    margin: 0 0 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.seo-process ol {
    display: grid;
    max-width: 92rem;
    padding: 0;
    margin: 0 auto;
    border-top: 1px solid rgb(255 255 255 / 25%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.seo-process li {
    min-height: 20rem;
    padding: 2rem 1.5rem 2rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 25%);
}

.seo-process li + li {
    padding-left: 1.5rem;
    border-left: 1px solid rgb(255 255 255 / 25%);
}

.seo-process li > span {
    color: #bd8065;
    font-size: 0.67rem;
    letter-spacing: 0.16em;
}

.seo-process h3 {
    margin: 4rem 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 400;
}

.seo-process li p {
    margin: 0;
    color: rgb(255 255 255 / 62%);
    line-height: 1.7;
}

.seo-links,
.seo-faq {
    padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem);
    border-top: 1px solid rgb(24 24 24 / 12%);
}

.seo-showcase {
    padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem);
    border-top: 1px solid rgb(24 24 24 / 12%);
    background: #fff;
}

.seo-showcase > header a {
    color: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.seo-product-grid,
.seo-project-grid {
    display: grid;
    max-width: 92rem;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4.5rem) clamp(1rem, 2vw, 2rem);
}

.seo-product-grid a,
.seo-project-grid a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.seo-product-image,
.seo-project-grid article a > span {
    display: grid;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9e4da;
    place-items: center;
}

.seo-product-image img,
.seo-project-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.seo-product-grid a:hover img,
.seo-product-grid a:focus-visible img,
.seo-project-grid a:hover img,
.seo-project-grid a:focus-visible img {
    transform: scale(1.03);
}

.seo-product-grid small,
.seo-project-grid small {
    display: block;
    margin-top: 1rem;
    color: #776f65;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.seo-product-grid strong,
.seo-project-grid strong {
    display: block;
    margin-top: 0.45rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
    font-weight: 400;
}

.seo-showcase--projects {
    background: #e9e4da;
}

.seo-cta {
    padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 7vw, 8rem);
    background: #8b4a42;
    color: #fff;
    text-align: center;
}

.seo-cta h2 {
    max-width: 16ch;
    margin-inline: auto;
}

.seo-cta > span {
    display: block;
    max-width: 44rem;
    margin: 2rem auto 0;
    color: rgb(255 255 255 / 76%);
    line-height: 1.75;
}

.seo-cta > div {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seo-cta a {
    min-width: 13rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(255 255 255 / 65%);
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.seo-cta a:first-child,
.seo-cta a:hover,
.seo-cta a:focus-visible {
    background: #fff;
    color: #171717;
}

.seo-links--dark {
    background: #171717;
    color: #fff;
}

.seo-links h2,
.seo-faq h2 {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
}

.seo-link-grid {
    display: grid;
    margin-top: clamp(2.5rem, 5vw, 5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-link-grid a {
    display: flex;
    min-height: 6rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    border-top: 1px solid currentColor;
    color: inherit;
    gap: 1rem;
}

.seo-link-grid a:hover,
.seo-link-grid a:focus-visible {
    background: rgb(127 108 79 / 12%);
}

.seo-faq {
    display: grid;
    background: #e9e4da;
    grid-template-columns: minmax(15rem, 0.8fr) minmax(20rem, 1.2fr);
    gap: clamp(3rem, 8vw, 9rem);
}

.seo-faq-list details {
    border-top: 1px solid rgb(24 24 24 / 28%);
}

.seo-faq-list details:last-child {
    border-bottom: 1px solid rgb(24 24 24 / 28%);
}

.seo-faq-list summary {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    gap: 1.5rem;
    list-style: none;
}

.seo-faq-list summary::-webkit-details-marker {
    display: none;
}

.seo-faq-list details[open] summary span:last-child {
    transform: rotate(45deg);
}

.seo-faq-list summary span:last-child {
    font-size: 1.4rem;
    transition: transform 180ms ease;
}

.seo-faq-list p {
    max-width: 43rem;
    padding: 0 2rem 1.6rem 0;
    margin: 0;
    color: #625d56;
    line-height: 1.75;
}

.seo-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: clamp(3rem, 7vw, 7rem);
    background: #090909;
    color: #fff;
    gap: 2rem;
}

.seo-footer p {
    margin: 0;
    color: rgb(255 255 255 / 52%);
}

@media (max-width: 62rem) {
    .seo-editorial-intro,
    .seo-editorial-sections > section {
        grid-template-columns: 1fr;
    }

    .seo-editorial-sections > section > span {
        margin-bottom: -0.5rem;
    }

    .seo-process ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-process li:nth-child(3) {
        border-left: 0;
    }

    .seo-product-grid,
    .seo-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .seo-faq {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 42rem) {
    .seo-hero {
        min-height: 88svh;
    }

    .seo-hero-overlay {
        background: linear-gradient(180deg, rgb(8 8 8 / 65%), rgb(8 8 8 / 90%));
    }

    .seo-section-nav,
    .seo-process ol,
    .seo-product-grid,
    .seo-project-grid {
        grid-template-columns: 1fr;
    }

    .seo-process li + li {
        padding-left: 0;
        border-left: 0;
    }

    .seo-process li {
        min-height: 0;
    }

    .seo-process h3 {
        margin-top: 2rem;
    }

    .seo-link-grid {
        grid-template-columns: 1fr;
    }

    .seo-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-faq-list summary span:last-child {
        transition-duration: 0.01ms !important;
    }
}
