:root {
    color-scheme: light;
    --paper: #f6f1e9;
    --white: #fffaf4;
    --ink: #231b19;
    --muted: #62554f;
    --accent: #702b3b;
    --accent-dark: #55202d;
    --gold: #986d3e;
    --line: #d9ccc0;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --page-width: 80rem;
    --gutter: clamp(1.125rem, 4.3vw, 4rem);
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
figure, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.03; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap {
    width: min(calc(100% - 2 * var(--gutter)), var(--page-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: 1rem;
    left: 1rem;
    padding: .75rem 1rem;
    background: var(--white);
    transform: translateY(-170%);
}

.skip-link:focus { transform: none; }

.store-bar { background: #28201d; color: #fffaf4; }
.store-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem 1rem;
    min-height: 2.5rem;
    font-size: .76rem;
}
.store-bar a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.75rem;
    text-underline-offset: .2em;
    white-space: nowrap;
}
.store-bar a:focus-visible { outline-color: #efd4ae; }

.site-header {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5.4rem;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: clamp(7.25rem, 12vw, 9.5rem);
    height: auto;
}

.brand-lettering {
    display: block;
    aspect-ratio: 304 / 77;
    background-color: currentColor;
    -webkit-mask: url('/media/brand/logo-dourada.png') top left / 100% auto no-repeat;
    mask: url('/media/brand/logo-dourada.png') top left / 100% auto no-repeat;
}

.brand-heading { position: relative; }
.brand-heading .brand-lettering { width: min(100%, 11rem); color: #716043; }
.page-intro .brand-heading .brand-lettering { width: min(100%, clamp(12rem, 27vw, 20rem)); }
.brand-name-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.brand-qualifier {
    display: block;
    margin-top: .3rem;
    font: 650 clamp(.75rem, 1.5vw, .95rem)/1.4 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
}
@media (forced-colors: active) {
    .brand-heading .brand-lettering { display: none; }
    .brand-name-text { position: static; width: auto; height: auto; clip-path: none; white-space: normal; }
}

.desktop-nav, .desktop-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .2rem clamp(.75rem, 1.65vw, 1.55rem);
}

.desktop-nav ul, .mobile-nav ul { margin: 0; padding: 0; list-style: none; }

.desktop-nav a, .mobile-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 550;
}

.desktop-nav a:hover, .mobile-nav a:hover,
.desktop-nav a[aria-current='page'], .mobile-nav a[aria-current='page'] {
    color: var(--accent);
    text-decoration: underline;
}

.mobile-nav { display: none; }

.header-cta, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 3.15rem;
    padding: .72rem 1.3rem;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fffaf4;
    text-align: center;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.25;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.header-cta { min-height: 2.75rem; white-space: nowrap; }
.header-cta:hover, .button:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.button-secondary { border-color: var(--accent); background: transparent; color: var(--accent); }
.button-secondary:hover { background: #ebded6; color: var(--accent-dark); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    width: min(calc(100% - 2 * var(--gutter)), var(--page-width));
    margin: clamp(1.125rem, 3.7vw, 3.6rem) auto clamp(2rem, 5vw, 4.5rem);
    background: #eee4d9;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(2.2rem, 4.5vw, 5rem) clamp(1.65rem, 5vw, 5rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .9rem;
    color: var(--accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow::before { content: ''; width: 1.5rem; height: 1px; flex: 0 0 auto; background: var(--gold); }

.hero h1 {
    max-width: 12ch;
    font-size: clamp(3.15rem, 5.6vw, 6.25rem);
    line-height: .98;
    letter-spacing: -.075em;
}

.hero h1 em { color: var(--accent); font-weight: inherit; }
.lead { max-width: 38rem; margin-top: 1.35rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

.hero-photo {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(28rem, 47vw, 43rem);
    min-width: 0;
    overflow: hidden;
    background: #80695b;
}

.hero-photo img, .hero-photo picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.photo-note {
    z-index: 1;
    align-self: end;
    justify-self: start;
    margin: 1rem;
    padding: .46rem .67rem;
    background: var(--ink);
    color: var(--white);
    font-size: .67rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.location-strip { border-block: 1px solid var(--line); }
.location-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: 1rem; }
.location-inner strong { font-weight: 650; }
.location-inner p, .location-inner a { color: var(--muted); font-size: .88rem; }

.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2.75rem); }
.privacy-copy h2, .privacy-copy p { max-width: 68ch; }
.privacy-copy h2 { font-size: clamp(1.65rem, 4vw, 2.7rem); }
.privacy-copy h2:not(:first-child) { margin-top: 2rem; }
.privacy-copy p { margin-top: .75rem; }
.privacy-copy a { color: var(--accent); }
.section-head h2, .visit h2 { font-size: clamp(2.25rem, 4.7vw, 4.5rem); letter-spacing: -.055em; }
.section-head p:not(.eyebrow) { max-width: 39rem; margin-top: .75rem; color: var(--muted); }

.card-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.85rem, 2.25vw, 1.7rem);
}

.collection-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.card-image, .gallery-item {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #e5d8ca;
}

.card-image { aspect-ratio: 4 / 5; }
.card-image img, .card-image picture, img.card-image { width: 100%; height: 100%; object-fit: cover; object-position: center 33%; }
.card-image img { transition: transform .4s ease; }
.collection-card:hover .card-image img { transform: scale(1.035); }
.card-body { position: relative; flex: 1; padding: .9rem 1.75rem 1.15rem 0; }
.card-body h2, .card-body h3 { font-size: clamp(1.32rem, 2.65vw, 2.3rem); letter-spacing: -.035em; }
.card-body p { margin-top: .4rem; color: var(--muted); font-size: .86rem; }
.card-number { display: block; margin-bottom: .35rem; color: var(--accent); font-size: .66rem; font-weight: 650; letter-spacing: .12em; }
.card-arrow { position: absolute; top: 1.18rem; right: .12rem; color: var(--accent); line-height: 1; }
.collection-card:hover .card-body h2, .collection-card:hover .card-body h3 { color: var(--accent); }

.visit { background: #eae0d5; border-top: 1px solid var(--line); }
.visit-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.visit p:not(.eyebrow) { max-width: 38rem; margin-top: .75rem; color: var(--muted); }
.visit address { font-style: normal; }

.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 2rem; padding-block: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem .85rem; }
.footer-nav :is(a, button):not([hidden]) { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.site-footer a:not(.brand) { text-decoration-color: #ad9187; }
.footer-nav button { padding: 0; border: 0; background: none; color: inherit; font-family: inherit; text-decoration: underline #ad9187; text-underline-offset: .2em; cursor: pointer; }
.site-footer p, .footer-nav :is(a, button) { font-size: .85rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2.75rem;
}
.social-link svg { flex: none; }
.social-link:hover { text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--white); }

.page-intro { padding-block: clamp(2rem, 6vw, 5rem); background: #eee4d9; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 18ch; font-size: clamp(2.8rem, 6.6vw, 6.2rem); letter-spacing: -.065em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .38rem .55rem; align-items: center; margin-bottom: clamp(1.35rem, 3vw, 2.5rem); color: var(--muted); font-size: .83rem; }
.breadcrumb ol, .breadcrumb ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }

.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.gallery-caption { padding: .7rem .9rem; background: var(--white); color: var(--muted); font-size: .83rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.65rem; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .45rem .9rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .83rem; }
.chip:hover, .chip[aria-current='true'], .chip[aria-pressed='true'], .chip.is-active { border-color: var(--accent); background: var(--accent); color: var(--white); }
.empty-state { padding: clamp(1.4rem, 4vw, 3.4rem); border: 1px solid var(--line); background: var(--white); color: var(--muted); }
.empty-state h2, .empty-state h3 { margin-bottom: .65rem; color: var(--ink); font-size: clamp(1.4rem, 3vw, 2rem); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 4vw, 3rem); }
.info-grid h2, .info-grid h3 { margin-bottom: .6rem; font-size: clamp(1.55rem, 3.5vw, 2.7rem); letter-spacing: -.035em; }
.info-grid p + p { margin-top: .7rem; }
.contact-social { margin-top: 1.7rem; }
.contact-social h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
.contact-social-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--accent); }

@media (max-width: 68rem) {
    .desktop-nav { display: none; }
    .mobile-nav { display: block; margin-left: auto; }
    .mobile-nav summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .55rem;
        min-height: 2.75rem;
        min-width: 2.75rem;
        padding: .35rem .7rem;
        color: var(--ink);
        cursor: pointer;
        font-size: .86rem;
        font-weight: 650;
        list-style: none;
    }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav summary::after { content: ''; width: .48rem; height: .48rem; margin-top: -.25rem; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
    .mobile-nav[open] summary::after { margin-top: .25rem; transform: rotate(225deg); }
    .mobile-nav[open] > :not(summary) {
        position: absolute;
        inset: 100% 0 auto;
        display: grid;
        max-height: 70vh;
        overflow: auto;
        padding: .55rem var(--gutter) 1rem;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 .7rem 1rem #231b1912;
    }
    .mobile-nav a { display: flex; padding: .4rem 0; }
}

@media (max-width: 47rem) {
    .header-inner { min-height: 4.5rem; gap: .65rem; }
    .header-cta { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { padding: 2.3rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem; }
    .hero h1 { max-width: 13ch; font-size: clamp(2.9rem, 9.5vw, 4.65rem); }
    .hero-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 37rem; }
    .card-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .visit-inner, .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 24rem) {
    .store-bar-inner { font-size: .69rem; }
    .mobile-nav summary { padding-inline: .35rem; }
    .card-body { padding-right: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
