:root {
    --background: #f5f2eb;
    --text: #1b1b1b;
    --muted: #555;
    --accent: #b08a57;
    --accent-dark: #8a6530;
    --border: #ddd8cf;
    --dark: #111111;
    --white: #ffffff;
}

/* BASE */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--background);
}

.container {
    width: min(1440px, 92%);
    margin: 0 auto;
}

a {
    transition: opacity .2s ease, color .2s ease;
}

a:hover {
    opacity: .75;
}

/* HEADER */

.site-header {
    position: absolute;
    z-index: 20;
    width: 100%;
    padding: 28px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header--light {
    color: #fff;
}

.site-header--light a {
    color: #fff;
}

.site-header--dark,
.site-header--dark .logo,
.site-header--dark .main-navigation a,
.site-header--dark .language-switch,
.site-header--dark .language-switch a {
    color: #1f1f1f;
}

.site-header--surface-dark {
    position: relative;
    background: var(--dark);
    color: var(--white);
}

.site-header--flow {
    position: relative;
}

.site-header--surface-dark .logo,
.site-header--surface-dark .main-navigation a,
.site-header--surface-dark .language-switch,
.site-header--surface-dark .language-switch a {
    color: var(--white);
}

.site-header--surface-dark .main-navigation a:hover,
.site-header--surface-dark .main-navigation a:focus-visible,
.site-header--surface-dark .language-switch a:hover,
.site-header--surface-dark .language-switch a:focus-visible {
    color: #d7b56d;
}

.logo {

    font-size: .95rem;

    letter-spacing: .12em;

    text-transform: uppercase;

    font-weight: 600;

    color: rgba(255, 255, 255, .92);

    text-decoration: none;

}

.main-navigation a {

    color: rgba(255, 255, 255, .82);

    text-decoration: none;

    font-size: .95rem;

    font-weight: 500;

    letter-spacing: .02em;

}

.main-navigation a:hover {

    color: #D7B56D;

}

.main-navigation a,
.language-switch a {
    color: var(--white);
    text-decoration: none;
}

.language-switch {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: .9rem;

}

.language-icon {

    opacity: .7;

    font-size: 1rem;

}

.language-switch a {

    color: rgba(255, 255, 255, .82);

    text-decoration: none;

}

.language-switch a:hover {

    color: #D7B56D;

}

/* ==========================================================
   Footer
========================================================== */

.site-footer {
    margin-top: 7rem;
    padding: 4.75rem 0 1.75rem;

    background: #111111;
    color: rgba(255, 255, 255, 0.7);
}

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


/* Intro
---------------------------------------------------------- */

.site-footer__intro {
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.site-footer__title {
    margin: 0 0 1.15rem;

    color: #ffffff;

    font-size: clamp(1.75rem, 2.2vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.site-footer__description {
    max-width: 680px;
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1rem;
    line-height: 1.75;
}


/* Main footer content
---------------------------------------------------------- */

.site-footer__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5rem;

    padding: 2.5rem 0 2.75rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Navigation
---------------------------------------------------------- */

.site-footer__navigation {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
}

.site-footer__link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.2rem;
}

.site-footer__link-group a {
    color: rgba(255, 255, 255, 0.64);

    font-size: 0.95rem;
    line-height: 1.4;

    transition: color 160ms ease;
}

.site-footer__link-group a:hover,
.site-footer__link-group a:focus-visible {
    color: #c6a26b;
}


/* Partner logos
---------------------------------------------------------- */

.site-footer__partners {
    min-width: 260px;
}

.site-footer__partner-label {
    display: block;
    margin-bottom: 1rem;

    color: #c6a26b;

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.site-footer__partner-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-footer__partner-link {
    display: inline-flex;
    align-items: center;

    opacity: 0.78;

    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.site-footer__partner-link:hover,
.site-footer__partner-link:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
}

.site-footer__partner-link img {
    display: block;

    width: auto;
    height: 54px;
    max-width: 150px;

    object-fit: contain;
}


/* Bottom line
---------------------------------------------------------- */

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding-top: 1.65rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.42);

    font-size: 0.78rem;
    line-height: 1.5;
}


/* Responsive
---------------------------------------------------------- */

@media (max-width: 991px) {

    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .site-footer__navigation {
        justify-content: flex-start;
    }

    .site-footer__partners {
        min-width: 0;
    }

}

@media (max-width: 767px) {

    .site-footer {
        margin-top: 5rem;
        padding-top: 3.75rem;
    }

    .site-footer__intro {
        margin-bottom: 2.75rem;
    }

    .site-footer__content {
        padding: 2.25rem 0;
    }

    .site-footer__navigation {
        flex-direction: column;
        gap: 1.25rem;
    }

    .site-footer__link-group {
        gap: 0.8rem 1.5rem;
    }

    .site-footer__partner-logos {
        gap: 1.5rem;
    }

    .site-footer__partner-link img {
        height: 48px;
        max-width: 135px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

}

@media (max-width: 480px) {

    .site-footer__link-group {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__partner-logos {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

}


/* HERO */

.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding-top: 90px;
    color: var(--white);
}

.hero-kicker {

    display: inline-block;

    margin-bottom: 24px;

    letter-spacing: .22em;

    text-transform: uppercase;

    font-size: .82rem;

    color: #C9A86A;

}

.hero h1 {

    max-width: 920px;

    font-size: clamp(2.8rem, 5vw, 4.8rem);

    line-height: 1.08;

    margin-bottom: 34px;

    font-weight: 300;

    letter-spacing: -0.035em;

    color: #F3EEE7;

    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);

}

.hero-text {

    font-size: 1.18rem;

    line-height: 1.9;

    max-width: 700px;

    margin-bottom: 46px;

    color: rgba(245, 241, 234, .86);

}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn,
.registry-search-form button {
    display: inline-block;
    padding: 16px 28px;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 70px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    color: var(--white);
}

.hero-stats div {
    min-width: 160px;
}

.hero-stats strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 300;
}

.hero-stats span {
    display: block;
    margin-top: 6px;
    font-size: .9rem;
    opacity: .75;
}

/* INTRO */

.home-intro {
    padding: 120px 0;
    background: var(--background);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.home-intro h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text);
}

.home-intro .lead {
    font-size: 1.35rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text);
}

.home-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--muted);
}

/* COMMON SECTIONS */

.home-search {
    padding: 100px 0 60px;
    background: var(--background);
}

.home-featured {
    padding: 60px 0 100px;
    background: var(--background);
}

.home-latest,
.home-cta {
    padding: 100px 0;
    background: var(--background);
}

.section-header {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.section-header h2,
.home-cta h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
}

/* SEARCH */

.registry-search {
    position: relative;
    max-width: 900px;
}

.registry-search-form {
    margin: 0;
}

.registry-search-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.registry-search-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 138, 87, .12);
}

.registry-search-icon {
    position: absolute;
    left: 22px;
    width: 22px;
    height: 22px;
    color: var(--accent-dark);
    pointer-events: none;
}

.registry-search-input {
    width: 100%;
    min-width: 0;
    padding: 18px 68px 18px 58px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 1.05rem;
}

.registry-search-input::placeholder {
    color: #817c74;
}

.registry-search-input::-webkit-search-cancel-button {
    margin-right: 8px;
}

.registry-search-submit {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    background: var(--accent);
    color: var(--white);
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease;
}

.registry-search-submit:hover,
.registry-search-submit:focus-visible {
    background: var(--accent-dark);
    color: var(--white);
}

.registry-search-submit:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

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

.registry-search-results[hidden] {
    display: none;
}

.registry-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 50;

    max-height: 620px;
    overflow-y: auto;

    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(17, 17, 17, .14);
}

.registry-search-results-header {
    padding: 16px 20px;

    border-bottom: 1px solid var(--border);

    color: var(--muted);
    font-size: .86rem;
    letter-spacing: .04em;
}

.registry-search-group+.registry-search-group {
    border-top: 1px solid var(--border);
}

.registry-search-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px 10px;

    background: #faf8f3;
}

.registry-search-group-label {
    color: var(--accent-dark);

    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.registry-search-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    border: 1px solid var(--border);

    color: var(--muted);
    font-size: .76rem;
    line-height: 1;
}

.registry-search-items {
    display: grid;
}

.registry-search-result {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 18px;

    min-height: 92px;
    padding: 12px 20px;

    border-top: 1px solid #eee9df;

    color: var(--text);
    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease;
}

.registry-search-result:first-child {
    border-top: 0;
}

.registry-search-result:hover,
.registry-search-result.is-active {
    opacity: 1;
    background: #f5f1e8;
}

.registry-search-result:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.registry-search-result-image {
    width: 76px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f1eee7;
    border: 1px solid #e8e2d7;
}

.registry-search-result-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}

.registry-search-result-image.is-placeholder::before {
    content: "";
    width: 18px;
    height: 28px;

    border: 1px solid #c5bfb4;
    border-radius: 4px 4px 2px 2px;

    background:
        linear-gradient(to bottom,
            transparent 0 20%,
            rgba(176, 138, 87, .18) 20% 70%,
            transparent 70%);
}

.registry-search-result-content {
    min-width: 0;
}

.registry-search-result-title {
    overflow: hidden;

    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.registry-search-result-subtitle {
    margin-top: 6px;

    overflow: hidden;

    color: var(--muted);
    font-size: .88rem;
    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.registry-search-result-matches {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.registry-search-result-match {
    display: flex;
    min-width: 0;
    gap: 7px;
    align-items: baseline;
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.35;
}

.registry-search-result-match-label {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.registry-search-result-match-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.registry-search-result-match-value mark {
    padding: .01em .1em;
    border-radius: .1rem;
    background: rgba(185, 145, 80, .28);
    color: inherit;
    font-weight: 750;
}

.registry-search-result-arrow {
    color: var(--accent-dark);
    font-size: 1.15rem;
    text-align: right;

    transform: translateX(0);
    transition: transform .15s ease;
}

.registry-search-result:hover .registry-search-result-arrow,
.registry-search-result.is-active .registry-search-result-arrow {
    transform: translateX(3px);
}

.registry-search-message {
    padding: 26px 20px;

    color: var(--muted);
    font-size: .95rem;
    text-align: center;
}


/* COLLECTION CARDS */

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

.collection-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e5dfd3;
}

.collection-card__hit-area {
    position: absolute;
    z-index: 2;
    inset: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.collection-card__hit-area:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: -3px;
}

.collection-card-image {
    height: 340px;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .05)),
        #b8b3aa;
}

.collection-card-body {
    padding: 32px;
}

.collection-meta {
    display: block;
    margin-bottom: 12px;
    color: #777;
    font-size: .9rem;
}

.collection-card h3 {
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: 18px;
}

.collection-card p {
    color: var(--muted);
    line-height: 1.7;
}

.collection-card a {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 600;
}

/* LATEST */

.latest-list {
    display: grid;
    gap: 0;
    max-width: 980px;
}

.latest-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
}

.latest-item img {
    width: 140px;
    height: 92px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #b8b3aa;
}

.latest-item div {
    min-width: 0;
}

.latest-item small {
    display: block;
    margin-bottom: 8px;
    color: #8a6530;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.latest-item h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.25;
}

.latest-item:hover h3 {
    color: var(--accent-dark);
}

/* CTA */

.cta-box {
    padding: 80px;
    background: var(--dark);
    color: var(--white);
}

.cta-box p {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: .85;
    margin-bottom: 32px;
}

/* FOOTER */

.site-footer {
    padding: 32px 0;
    background: var(--dark);
    color: var(--white);
}


/* BACK TO TOP */

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 100;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid rgba(215, 181, 109, .55);

    background: rgba(17, 17, 17, .72);
    color: #F3EEE7;

    font-size: 1.45rem;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(176, 138, 87, .95);
    border-color: rgba(215, 181, 109, 1);
    color: #111;
}

.back-to-top span {
    position: relative;
    top: -1px;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 46px;
        height: 46px;
    }
}

/* ==========================================================
   Design direction 01 — Editorial archive
========================================================== */

:root {
    --background: #f2eee5;
    --surface: #faf8f3;
    --text: #191816;
    --muted: #656057;
    --accent: #bd9861;
    --accent-dark: #76542d;
    --border: #d9d1c3;
    --dark: #12110f;
    --white: #ffffff;
    --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-editorial: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    --shadow-soft: 0 24px 70px rgba(37, 30, 21, .09);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1320px, calc(100% - 64px));
}

.site-header {
    padding: 24px 0;
}

.site-header .container {
    position: relative;
    gap: 40px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    font-size: .78rem;
    letter-spacing: .17em;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 44px;
    color: currentColor;
}

.logo-mark__seal {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.logo-mark__outer,
.logo-mark__inner {
    fill: none;
    stroke: currentColor;
}

.logo-mark__outer {
    stroke-width: 1.15;
}

.logo-mark__inner {
    opacity: .52;
    stroke-width: .55;
}

.logo-mark__register {
    fill: currentColor;
}

.logo-mark__letter {
    fill: currentColor;
    font-family: var(--font-editorial), Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.08em;
}

.logo-mark__letter--r {
    font-size: 23px;
    font-style: italic;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.5vw, 40px);
    margin-left: auto;
}

.main-navigation a {
    position: relative;
    padding: 8px 0;
    font-size: .82rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 1px;
    background: #d7b56d;
    transition: right .2s ease;
}

.main-navigation a:hover {
    opacity: 1;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
    right: 0;
}

.navigation-external::before {
    content: "↗";
    margin-right: 6px;
    color: #d7b56d;
}

.language-switch {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .24);
    font-size: .75rem;
    letter-spacing: .06em;
}

.language-switch a {
    opacity: .62;
}

.language-switch a.is-active {
    color: #d7b56d;
    opacity: 1;
}

.language-switch a.is-active::after {
    right: 0;
}

.site-header--dark .language-switch {
    border-left-color: rgba(17, 17, 17, .18);
}

.language-icon {
    display: none;
}

.navigation-toggle {
    display: none;
}

.hero {
    min-height: min(900px, 92vh);
    background-position: center 42%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 18%;
    background: linear-gradient(to top, rgba(0, 0, 0, .24), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    padding-top: 112px;
}

.hero-kicker,
.section-kicker {
    font-weight: 600;
    letter-spacing: .2em;
}

.hero h1 {
    max-width: 860px;
    margin-bottom: 26px;
    font-family: var(--font-editorial);
    font-size: clamp(3.5rem, 5.4vw, 5.25rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.035em;
}

.hero-text {
    max-width: 620px;
    margin-bottom: 34px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.btn,
.registry-search-form button {
    padding: 14px 24px;
    border-radius: 0;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    max-width: 800px;
    margin-top: 48px;
    padding-top: 26px;
}

.hero-stats div {
    min-width: 0;
}

.hero-stats strong {
    font-family: var(--font-editorial);
    font-size: 1.85rem;
}

.hero-stats span {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-intro {
    padding: clamp(76px, 9vw, 124px) 0;
}

.intro-content {
    position: relative;
    max-width: 1040px;
    padding-left: clamp(0px, 8vw, 120px);
    text-align: left;
}

.intro-content::before {
    content: "The Registry";
    position: absolute;
    top: .8rem;
    left: 0;
    color: var(--accent-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.home-intro h2,
.section-header h2,
.home-cta h2,
.collection-card h3,
.latest-item h3,
.site-footer__title {
    font-family: var(--font-editorial);
    font-weight: 400;
}

.home-intro h2 {
    max-width: 900px;
    margin-bottom: 32px;
    font-size: clamp(2.6rem, 4.2vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.home-intro .lead {
    max-width: 800px;
    margin-left: clamp(0px, 8vw, 120px);
    font-size: 1.2rem;
    line-height: 1.75;
}

.home-intro p:not(.lead) {
    max-width: 680px;
    margin-left: clamp(0px, 8vw, 120px);
    font-size: 1rem;
    line-height: 1.8;
}

.home-search,
.home-featured,
.home-latest,
.home-cta {
    padding: clamp(66px, 7vw, 96px) 0;
}

.home-search {
    background: #e8e1d5;
}

.home-featured {
    padding-top: 96px;
}

.section-header {
    display: grid;
    grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr);
    align-items: start;
    max-width: 1040px;
    margin-bottom: 44px;
}

.section-header h2,
.home-cta h2 {
    margin: 0;
    font-size: clamp(2.35rem, 3.8vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.registry-search {
    max-width: 1040px;
}

.registry-search-field {
    border: 0;
    box-shadow: 0 14px 45px rgba(45, 34, 22, .07);
}

.registry-search-input {
    padding-top: 21px;
    padding-bottom: 21px;
}

.collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.collection-card {
    display: flex;
    flex-direction: column;
    border: 0;
    box-shadow: 0 0 0 1px rgba(57, 45, 30, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.collection-card-image {
    height: auto;
    aspect-ratio: 4 / 3;
    background-position: center;
    background-size: cover;
}

.collection-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.collection-meta {
    color: var(--accent-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.collection-card h3 {
    margin-bottom: 14px;
    font-size: 1.75rem;
    line-height: 1.15;
}

.collection-card p {
    font-size: .94rem;
}

.collection-card__action {
    display: block;
    margin-top: auto;
    padding-top: 10px;
    color: var(--accent-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.collection-card__action::after {
    content: "  →";
}

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

.latest-list {
    max-width: none;
    border-top: 1px solid var(--border);
}

.latest-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 32px;
    padding: 20px 0;
}

.latest-item::after {
    content: "View collection  →";
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.latest-item img {
    width: 180px;
    height: 110px;
    border-radius: 0;
}

.latest-item h3 {
    font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: clamp(50px, 7vw, 90px);
    background: linear-gradient(115deg, #12110f 0%, #201c17 100%);
}

.cta-box::after {
    content: "CR";
    position: absolute;
    right: 4%;
    bottom: -33%;
    color: rgba(255, 255, 255, .035);
    font-family: var(--font-editorial);
    font-size: clamp(14rem, 25vw, 25rem);
    line-height: 1;
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    max-width: 720px;
}

.cta-box p {
    max-width: 650px;
    margin-top: 24px;
    font-size: 1rem;
}

.site-footer {
    margin-top: 0;
}

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

    .language-switch {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 36px, 1320px);
    }

    .site-header {
        padding: 18px 0;
    }

    .site-header .container {
        gap: 16px;
    }

    .logo-mark {
        width: 36px;
        height: 41px;
    }

    .logo-wordmark {
        font-size: .66rem;
    }

    .navigation-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0 11px;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        border: 1px solid currentColor;
        background: transparent;
        color: inherit;
    }

    .navigation-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: currentColor;
        transition: transform .2s ease;
    }

    .navigation-is-open .navigation-toggle span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .navigation-is-open .navigation-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        margin: 0;
        padding: 12px 22px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        background: rgba(18, 17, 15, .98);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

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

    .main-navigation a,
    .site-header--dark .main-navigation a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        color: var(--white);
    }

    .main-navigation a:last-child {
        border-bottom: 0;
    }

    .main-navigation .language-switch {
        display: flex;
        gap: 18px;
        margin-top: 6px;
        padding: 10px 0 2px;
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-left: 0;
    }

    .main-navigation .language-switch a {
        padding: 8px 0;
        border-bottom: 0;
    }

    .hero {
        min-height: min(780px, 100svh);
        padding: 112px 0 46px;
        align-items: flex-end;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-kicker {
        margin-bottom: 14px;
        font-size: .66rem;
    }

    .hero h1 {
        margin-bottom: 18px;
        font-size: clamp(2.55rem, 12vw, 3.45rem);
        line-height: .98;
    }

    .hero-text {
        margin-bottom: 22px;
        font-size: .94rem;
        line-height: 1.55;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
        padding: 13px 16px;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
        padding-top: 18px;
    }

    .hero-stats strong {
        font-size: 1.35rem;
    }

    .hero-stats span {
        font-size: .55rem;
        line-height: 1.35;
    }

    .intro-content,
    .home-intro .lead,
    .home-intro p:not(.lead) {
        margin-left: 0;
        padding-left: 0;
    }

    .intro-content::before {
        position: static;
        display: block;
        margin-bottom: 18px;
        writing-mode: initial;
        transform: none;
    }

    .home-intro h2 {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .home-intro .lead {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .section-header {
        display: block;
        margin-bottom: 32px;
    }

    .section-header h2,
    .home-cta h2 {
        font-size: clamp(2.15rem, 9vw, 2.8rem);
    }

    .section-kicker {
        margin-bottom: 16px;
    }

    .home-search,
    .home-featured,
    .home-latest,
    .home-cta {
        padding: 64px 0;
    }

    .collection-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .collection-card {
        margin-bottom: 0;
    }

    .collection-card-body {
        padding: 24px;
    }

    .latest-item {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 18px;
        padding: 18px 0;
    }

    .latest-item::after {
        display: none;
    }

    .latest-item img {
        width: 100px;
        height: 80px;
    }

    .latest-item h3 {
        font-size: 1.35rem;
    }

    .cta-box {
        padding: 48px 26px;
    }
}

@media (max-width: 420px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats div:nth-child(n + 3) {
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }
}

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

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

/* MOBILE */

@media (max-width: 768px) {


    .registry-search-results {
        top: calc(100% + 8px);
        max-height: 70vh;
    }

    .registry-search-results-header {
        padding: 14px 16px;
    }

    .registry-search-group-header {
        padding: 14px 16px 9px;
    }

    .registry-search-result {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;

        min-height: 78px;
        padding: 10px 16px;
    }

    .registry-search-result-image {
        width: 58px;
        height: 58px;
    }

    .registry-search-result-title,
    .registry-search-result-subtitle {
        white-space: normal;
    }

    .registry-search-result-arrow {
        display: none;
    }

    .main-navigation {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 160px 0 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        display: grid;
        gap: 24px;
    }

    .collection-grid,
    .latest-item {
        display: block;
    }

    .home-search {
        padding: 72px 0 40px;
    }

    .home-featured {
        padding: 40px 0 72px;
    }

    .registry-search-input {
        padding: 16px 62px 16px 50px;
        font-size: 1rem;
    }

    .registry-search-icon {
        left: 17px;
        width: 20px;
        height: 20px;
    }

    .registry-search-submit {
        right: 7px;
        width: 42px;
        height: 42px;
    }

    .collection-card {
        margin-bottom: 28px;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

/* Keep the editorial mobile layout above legacy mobile defaults. */
@media (max-width: 768px) {
    .main-navigation {
        display: grid;
    }

    .hero {
        min-height: min(780px, 100svh);
        padding: 112px 0 46px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 10vw, 3rem);
        hyphens: auto;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero-stats {
        display: grid;
        gap: 10px;
    }

    .collection-grid,
    .latest-item {
        display: grid;
    }

    .home-search,
    .home-featured,
    .home-latest,
    .home-cta {
        padding: 64px 0;
    }

    .collection-card {
        margin-bottom: 0;
    }

    .cta-box {
        padding: 48px 26px;
    }
}

/* ==========================================================
   Footer WhatsApp contact
========================================================== */

.site-footer__contact {
    margin-top: 2rem;
}

.site-footer__contact-label {
    display: block;
    margin-bottom: 1rem;

    color: #c6a26b;

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.site-footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1rem;

    min-width: 320px;
    padding: 1rem 1.15rem;

    border: 1px solid rgba(255, 255, 255, 0.16);

    color: rgba(255, 255, 255, 0.86) !important;
    text-decoration: none;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.site-footer__whatsapp:hover,
.site-footer__whatsapp:focus-visible {
    opacity: 1;

    border-color: #c6a26b;
    background: rgba(198, 162, 107, 0.08);

    transform: translateY(-1px);
}

.site-footer__whatsapp-icon {
    flex: 0 0 auto;

    width: 25px;
    height: 25px;

    color: #c6a26b;
}

.site-footer__whatsapp span:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.15rem;
}

.site-footer__whatsapp strong {
    color: #ffffff;

    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.site-footer__whatsapp small {
    color: rgba(255, 255, 255, 0.52);

    font-size: 0.76rem;
    line-height: 1.4;
}

.site-footer__whatsapp-arrow {
    color: #c6a26b;

    font-size: 1.1rem;

    transition: transform 160ms ease;
}

.site-footer__whatsapp:hover .site-footer__whatsapp-arrow {
    transform: translateX(3px);
}

@media (max-width: 480px) {

    .site-footer__whatsapp {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

}
.site-footer__whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #c6a26b !important;
}

.site-footer__whatsapp-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.site-footer__whatsapp-link:hover,
.site-footer__whatsapp-link:focus-visible {
    color: #d7b56d !important;
    opacity: 1;
}

/* ==========================================================
   Footer — refined mobile layout
========================================================== */

@media (max-width: 767px) {

    .site-footer {
        padding: 3.75rem 0 1.75rem;
    }

    .site-footer__content {
        display: block;
        padding: 2.75rem 0;
    }

    /* Navigation: two columns */
    .site-footer__navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 2.5rem;
        width: 100%;
    }

    /* Each existing PHP link group becomes one column */
    .site-footer__link-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .site-footer__link-group a {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* WhatsApp */
    .site-footer__whatsapp-link {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;

        color: #c6a26b !important;
    }

    .site-footer__whatsapp-link svg {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
    }

    /* Partner section below navigation */
    .site-footer__partners {
        margin-top: 3.5rem;
    }

    .site-footer__partner-label {
        margin-bottom: 1.5rem;
    }

    /* Logos next to each other */
    .site-footer__partner-logos {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .site-footer__partner-link img {
        height: 48px;
        max-width: 135px;
    }

    /* Bottom area */
    .site-footer__bottom {
        margin-top: 0;
        padding-top: 1.75rem;

        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}


/* Override old <=480px footer rules */
@media (max-width: 480px) {

    .site-footer__link-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__partner-logos {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}
/* Uploaded header logo. */
.site-header .logo--image {
    width: 180px;
    min-width: 0;
    flex-shrink: 1;
    max-width: calc(100% - 60px);
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

.logo-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .site-header .logo--image {
        width: 140px;
    }

    .site-header .container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .site-header .logo--image {
        width: 150px;
    }
}

/* A shared light surface keeps navigation readable over every hero image. */
body .site-header.site-header--cream {
    padding: 8px 0;
    background: rgba(245, 242, 235, .96);
    color: #292722;
    border-bottom: 1px solid rgba(41, 39, 34, .12);
}

body .site-header.site-header--cream .logo,
body .site-header.site-header--cream .main-navigation a,
body .site-header.site-header--cream .language-switch {
    color: #292722;
}

body .site-header.site-header--cream .language-switch {
    border-left-color: rgba(41, 39, 34, .2);
}

body .site-header.site-header--cream .language-switch a {
    opacity: 1;
}

body .site-header.site-header--cream .main-navigation a:hover,
body .site-header.site-header--cream .main-navigation a:focus-visible,
body .site-header.site-header--cream .language-switch a.is-active {
    color: #76551e;
}

@media (max-width: 768px) {
    body .site-header.site-header--cream {
        padding: 8px 0;
    }

    body .site-header.site-header--cream .main-navigation {
        background: #f5f2eb;
    }

    body .site-header.site-header--cream .main-navigation a {
        border-bottom-color: rgba(41, 39, 34, .12);
    }

    body .site-header.site-header--cream .language-switch {
        border-top-color: rgba(41, 39, 34, .12);
    }
}
