@charset "UTF-8";

:root {
    --ink: #221a16;
    --brown: #32180f;
    --brown-soft: #5e3828;
    --cream: #faf8f3;
    --sand: #efe9df;
    --sand-dark: #d9cab8;
    --white: #fff;
    --line: rgba(50, 24, 15, .16);
    --muted: #6b625c;
    --accent: #a56e45;
    --shadow: 0 24px 64px rgba(43, 26, 18, .12);
    --radius: 2px;
    --container: min(1280px, calc(100vw - 48px));
    --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

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

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

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

h1,
h2,
h3 {
    text-wrap: balance;
}

:focus-visible {
    outline: 3px solid #d89b64;
    outline-offset: 4px;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.container--narrow {
    width: min(820px, calc(100vw - 48px));
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--brown);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    color: rgba(255, 255, 255, .82);
    background: var(--brown);
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar__contact {
    display: flex;
    gap: 22px;
}

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

.topbar a:hover {
    color: var(--white);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(250, 248, 243, .96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(50, 24, 15, .06);
}

.nav-wrap {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--brown);
    text-decoration: none;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand strong {
    font-size: 1.18rem;
    letter-spacing: .13em;
}

.brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
}

.main-nav > a:not(.button) {
    position: relative;
    padding-block: 10px;
    color: #3d312c;
    font-size: .8rem;
    font-weight: 650;
    letter-spacing: .035em;
    text-decoration: none;
}

.main-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: var(--brown);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-button {
    display: none;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--brown);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--brown);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
    color: var(--brown);
    background: transparent;
    transform: translateY(-2px);
}

.button--small {
    min-height: 40px;
    padding: 9px 18px;
    font-size: .72rem;
}

.button--ghost {
    border-color: rgba(255, 255, 255, .65);
    color: var(--white);
    background: transparent;
}

.button--ghost:hover {
    border-color: var(--white);
    color: var(--brown);
    background: var(--white);
}

.button--light {
    border-color: var(--cream);
    color: var(--brown);
    background: var(--cream);
}

.button--light:hover {
    color: var(--white);
    background: transparent;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #e7d8c4;
}

.hero {
    position: relative;
    min-height: min(780px, calc(100vh - 122px));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: #26150f;
}

.hero__image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(33, 18, 12, .88) 0%, rgba(33, 18, 12, .62) 42%, rgba(33, 18, 12, .12) 78%),
        linear-gradient(0deg, rgba(33, 18, 12, .45), transparent 45%),
        url("../images/hero/1.jpg") center / cover no-repeat;
    transform: scale(1.01);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: clamp(100px, 14vh, 155px);
}

.hero h1,
.page-hero h1,
.offer-hero h1,
.contact-page h1,
.article__header h1,
.not-found h1 {
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(4.25rem, 9vw, 8.6rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .84;
}

.hero__content > p:not(.eyebrow) {
    max-width: 610px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__actions .button:first-child {
    border-color: var(--white);
    color: var(--brown);
    background: var(--white);
}

.hero__actions .button:first-child:hover {
    color: var(--white);
    background: transparent;
}

.hero__scroll {
    position: absolute;
    z-index: 2;
    right: max(24px, calc((100vw - 1280px) / 2));
    bottom: 42px;
    width: 42px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 24px;
}

.hero__scroll span {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--white);
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { transform: translate(-50%, 0); opacity: .3; }
    50% { transform: translate(-50%, 28px); opacity: 1; }
}

.section {
    padding-block: clamp(80px, 10vw, 150px);
}

.section--sand {
    background: var(--sand);
}

.section-heading {
    margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 80px;
}

.section-heading--aligned {
    align-items: end;
}

.section-heading h2,
.offer-about h2,
.process h2,
.cta-band h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 5.8rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}

.section-heading--split > p {
    max-width: 580px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 1.06rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.category-card {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease;
}

.category-card::before {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    content: "";
    transform: scale(.4);
    transition: transform .35s ease;
}

.category-card:hover {
    color: var(--white);
    background: var(--brown);
}

.category-card:hover::before {
    transform: scale(1);
}

.category-card__number {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.category-card h3 {
    max-width: 230px;
    margin: auto 0 12px;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    font-weight: 400;
    line-height: 1;
}

.category-card p {
    max-width: 260px;
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    transition: color .25s ease;
}

.category-card:hover p {
    color: rgba(255, 255, 255, .7);
}

.category-card__arrow {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 1.35rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 40px) clamp(18px, 2.4vw, 32px);
}

.offer-card {
    min-width: 0;
}

.offer-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: var(--sand-dark);
}

.offer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.offer-card:hover .offer-card__media img {
    transform: scale(1.04);
}

.offer-card__area {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 10px;
    color: var(--brown);
    background: rgba(250, 248, 243, .92);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    backdrop-filter: blur(5px);
}

.offer-card__body {
    padding: 24px 4px 10px;
}

.offer-card__body .eyebrow {
    margin-bottom: 10px;
    font-size: .63rem;
}

.offer-card h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.25vw, 2.2rem);
    font-weight: 400;
    line-height: 1.05;
}

.offer-card h3 a {
    text-decoration: none;
}

.offer-card__body > p:not(.eyebrow) {
    display: -webkit-box;
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--muted);
    font-size: .92rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brown);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span {
    font-size: 1.15rem;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

.process {
    color: var(--white);
    background: var(--brown);
}

.process__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
    gap: clamp(70px, 10vw, 160px);
}

.process__lead > p:not(.eyebrow) {
    max-width: 460px;
    margin: 30px 0;
    color: rgba(255, 255, 255, .7);
}

.process__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.process__steps li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 26px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.process__steps > li > span {
    color: #cfac8f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.process__steps h3 {
    margin-bottom: 5px;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
}

.process__steps p {
    margin: 0;
    color: rgba(255, 255, 255, .63);
    font-size: .9rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.guide-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.guide-card__meta {
    margin-bottom: 42px;
    color: var(--accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.guide-card h3 {
    margin-bottom: 16px;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
    font-weight: 400;
    line-height: 1.05;
}

.guide-card h3 a {
    text-decoration: none;
}

.guide-card > p:not(.guide-card__meta) {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: .92rem;
}

.guide-card .text-link {
    margin-top: auto;
}

.cta-band {
    color: var(--white);
    background: var(--brown-soft);
}

.cta-band__inner {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-block: 70px;
}

.cta-band h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.page-hero {
    padding-block: clamp(80px, 11vw, 150px);
    background: var(--sand);
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    align-items: end;
    gap: clamp(50px, 9vw, 140px);
}

.page-hero h1,
.article__header h1,
.not-found h1 {
    margin-bottom: 0;
    font-size: clamp(4rem, 8vw, 8rem);
}

.page-hero__grid > p {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 1.1rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs--light {
    color: rgba(255, 255, 255, .68);
}

.empty-state {
    padding: 80px 30px;
    text-align: center;
    border: 1px solid var(--line);
}

.empty-state h2 {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 400;
}

.offer-hero {
    position: relative;
    min-height: min(780px, calc(100vh - 122px));
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--brown);
}

.offer-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 15, 10, .86), rgba(29, 15, 10, .35) 58%, rgba(29, 15, 10, .05)), linear-gradient(0deg, rgba(29, 15, 10, .58), transparent 55%);
}

.offer-hero__content {
    position: relative;
    z-index: 1;
    padding-block: clamp(80px, 11vw, 140px);
}

.offer-hero h1 {
    max-width: 1040px;
    font-size: clamp(4rem, 8vw, 8rem);
}

.offer-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.offer-hero__facts > span {
    min-width: 150px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .4);
    font-family: var(--serif);
    font-size: 1.35rem;
    backdrop-filter: blur(8px);
}

.offer-hero__facts small {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .63);
    font-family: var(--sans);
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.offer-about__grid {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
    gap: clamp(60px, 10vw, 160px);
}

.offer-about h2 {
    position: sticky;
    top: 140px;
}

.prose {
    color: #4f4640;
    font-size: 1.05rem;
}

.prose p {
    margin-bottom: 1.4em;
}

.prose--lead > p:first-child {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.6vw, 2.65rem);
    line-height: 1.25;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 45px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.feature-list li {
    position: relative;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
}

.feature-list li::before {
    position: absolute;
    top: 23px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

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

.document-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--cream);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.document-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(50, 24, 15, .08);
    transform: translateY(-2px);
}

.document-card__icon {
    width: 48px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--brown);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.document-card strong,
.document-card small {
    display: block;
}

.document-card strong {
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
}

.document-card small {
    color: var(--muted);
    font-size: .72rem;
}

.document-card__arrow {
    font-size: 1.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(230px, 27vw, 390px);
    gap: 12px;
}

.gallery__item {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: var(--white);
    background: var(--sand-dark);
    cursor: zoom-in;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .3s ease;
}

.gallery__item:hover img {
    filter: brightness(.82);
    transform: scale(1.025);
}

.gallery__zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(24, 15, 10, .32);
    font-size: 1.4rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    padding: 28px;
    border: 0;
    color: var(--white);
    background: rgba(19, 11, 8, .96);
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    place-items: center;
}

.lightbox::backdrop {
    background: rgba(19, 11, 8, .8);
}

.lightbox figure {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    place-items: center;
    gap: 14px;
    margin: 0;
}

.lightbox figure img {
    max-width: 100%;
    max-height: calc(100vh - 90px);
    object-fit: contain;
}

.lightbox figcaption {
    color: rgba(255, 255, 255, .7);
    font-size: .78rem;
}

.lightbox__close,
.lightbox__nav {
    border: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.lightbox__close {
    position: fixed;
    z-index: 2;
    top: 18px;
    right: 24px;
    font-size: 2.4rem;
}

.lightbox__nav {
    width: 52px;
    height: 52px;
    font-size: 3rem;
}

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

.guide-list__item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 30px;
    padding: 42px 12px;
    border-bottom: 1px solid var(--line);
}

.guide-list__number {
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.guide-list__item .guide-card__meta {
    margin-bottom: 12px;
}

.guide-list h2 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    font-weight: 400;
    line-height: 1;
}

.guide-list h2 a,
.guide-list__arrow {
    text-decoration: none;
}

.guide-list__item > div > p:last-child {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.guide-list__arrow {
    font-size: 1.8rem;
    transition: transform .2s ease;
}

.guide-list__arrow:hover {
    transform: translateX(6px);
}

.article__header {
    padding-block: clamp(80px, 11vw, 150px);
    background: var(--sand);
}

.article__header h1 {
    max-width: 900px;
    margin-bottom: 34px;
    font-size: clamp(3.2rem, 6vw, 6.4rem);
    line-height: .95;
}

.article__lead {
    max-width: 720px;
    color: #514741;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.35;
}

.article__meta {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article__body {
    padding-block: clamp(70px, 9vw, 130px);
    font-size: clamp(1.03rem, 1.4vw, 1.16rem);
}

.article__body > p:first-child::first-letter {
    margin: .12em .1em 0 0;
    float: left;
    color: var(--brown);
    font-family: var(--serif);
    font-size: 5.2rem;
    line-height: .7;
}

.article__cta {
    margin-top: 70px;
    padding: clamp(30px, 5vw, 54px);
    color: var(--white);
    background: var(--brown);
}

.article__cta h2 {
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1;
}

.article__cta p {
    color: rgba(255, 255, 255, .7);
}

.article__cta .button {
    border-color: var(--cream);
    color: var(--brown);
    background: var(--cream);
}

.contact-page {
    color: var(--white);
    background: var(--brown);
}

.contact-page__grid {
    min-height: calc(100vh - 122px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .7fr);
    align-items: center;
    gap: clamp(60px, 9vw, 140px);
    padding-block: clamp(80px, 10vw, 140px);
}

.contact-page h1 {
    font-size: clamp(3.8rem, 7vw, 7.2rem);
}

.contact-page__grid > div:first-child > p:last-child {
    max-width: 580px;
    color: rgba(255, 255, 255, .7);
    font-size: 1.08rem;
}

.contact-card {
    padding: clamp(30px, 5vw, 55px);
    color: var(--ink);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.contact-card h2 {
    margin-bottom: 32px;
    font-family: var(--serif);
    font-size: 2.3rem;
    font-weight: 400;
}

.contact-link {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.2;
    text-decoration: none;
}

.contact-link small {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contact-card__address {
    margin: 36px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.contact-card__address strong {
    color: var(--ink);
}

.not-found {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding-block: 100px;
    text-align: center;
}

.not-found p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--muted);
}

.site-footer {
    padding-top: 80px;
    color: rgba(255, 255, 255, .72);
    background: #1c0f0a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(30px, 6vw, 90px);
    padding-bottom: 70px;
}

.brand--footer {
    color: var(--white);
}

.brand--footer img {
    padding: 3px;
    background: var(--cream);
}

.brand--footer small {
    color: rgba(255, 255, 255, .55);
}

.footer-grid > div:first-child > p {
    max-width: 360px;
    margin: 22px 0 0;
    font-size: .9rem;
}

.site-footer h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer address {
    font-style: normal;
}

.footer-bottom {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 1120px) {
    .topbar__inner > span,
    .topbar__contact a:last-child {
        display: none;
    }

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

    .menu-button {
        position: relative;
        z-index: 102;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid var(--line);
        color: var(--brown);
        background: transparent;
        cursor: pointer;
    }

    .menu-button__lines,
    .menu-button__lines::before,
    .menu-button__lines::after {
        width: 20px;
        height: 1.5px;
        display: block;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-button__lines {
        position: relative;
    }

    .menu-button__lines::before,
    .menu-button__lines::after {
        position: absolute;
        left: 0;
        content: "";
    }

    .menu-button__lines::before { top: -6px; }
    .menu-button__lines::after { top: 6px; }
    .menu-button[aria-expanded="true"] .menu-button__lines { background: transparent; }
    .menu-button[aria-expanded="true"] .menu-button__lines::before { top: 0; transform: rotate(45deg); }
    .menu-button[aria-expanded="true"] .menu-button__lines::after { top: 0; transform: rotate(-45deg); }

    .main-nav {
        position: fixed;
        z-index: 101;
        inset: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        padding: 100px max(24px, 8vw);
        visibility: hidden;
        background: var(--cream);
        opacity: 0;
        transform: translateY(-12px);
        transition: visibility .25s, opacity .25s ease, transform .25s ease;
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav > a:not(.button) {
        font-family: var(--serif);
        font-size: clamp(1.7rem, 5vw, 2.5rem);
        font-weight: 400;
        letter-spacing: -.02em;
    }

    .main-nav .button {
        margin-top: 20px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }

    .footer-grid > div:last-child {
        grid-column: 2;
    }
}

@media (max-width: 800px) {
    :root {
        --container: min(calc(100% - 32px), 1280px);
    }

    .container--narrow {
        width: min(calc(100% - 32px), 820px);
    }

    .section-heading--split,
    .page-hero__grid,
    .offer-about__grid,
    .process__grid,
    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section-heading h2,
    .offer-about h2,
    .process h2 {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }

    .offer-about h2 {
        position: static;
    }

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

    .process__grid {
        gap: 60px;
    }

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

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 260px;
    }

    .guide-list__item {
        grid-template-columns: 50px minmax(0, 1fr) 32px;
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .topbar__contact {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-wrap {
        min-height: 74px;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .hero {
        min-height: calc(100svh - 110px);
    }

    .hero__image {
        background-position: 58% center;
    }

    .hero h1,
    .page-hero h1,
    .offer-hero h1,
    .contact-page h1 {
        font-size: clamp(3.65rem, 18vw, 5rem);
    }

    .hero__scroll {
        display: none;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .category-grid,
    .offer-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 280px;
    }

    .offer-card__media {
        aspect-ratio: 1.16 / 1;
    }

    .process__steps li {
        grid-template-columns: 45px 1fr;
    }

    .cta-band__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .gallery__item--wide {
        grid-column: auto;
    }

    .lightbox[open] {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        padding: 14px;
    }

    .lightbox__nav {
        width: 38px;
        font-size: 2.2rem;
    }

    .guide-list__item {
        grid-template-columns: 1fr 32px;
    }

    .guide-list__number {
        display: none;
    }

    .contact-page__grid {
        min-height: 0;
    }

    .contact-card {
        margin-inline: -4px;
    }

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

    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 18px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
