:root {
    --bg: #f5efe6;
    --bg-soft: #fbf7f2;
    --surface: rgba(255, 252, 246, 0.78);
    --surface-strong: #fffaf3;
    --text: #1c1814;
    --muted: #665c52;
    --accent: #9f6f3d;
    --accent-dark: #5f4227;
    --line: rgba(28, 24, 20, 0.12);
    --shadow: 0 18px 50px rgba(38, 24, 8, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 28%),
        linear-gradient(135deg, #f7f1e8 0%, #efe1cf 50%, #f8f4ee 100%);
}

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

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

.site-header,
.site-footer,
main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 24px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.brand-name,
.brand-tagline,
.site-nav a,
.eyebrow,
.product-code,
.product-style,
.contact-card span {
    display: block;
}

.brand-name,
h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
}

.brand-tagline,
.site-nav a,
.hero-text,
.product-card p,
.section-head p,
.contact-card span,
.spec-list dd,
.site-footer p {
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--accent-dark);
}

.hero,
.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    min-height: auto;
}

.hero-copy,
.detail-copy,
.product-card,
.contact-card,
.featured-strip article,
.detail-cover,
.gallery-grid figure {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-copy,
.detail-copy {
    padding: 42px;
    border-radius: var(--radius-lg);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    margin-bottom: 14px;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.94;
    margin: 0 0 18px;
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    margin: 0 0 10px;
}

h3 {
    font-size: 2rem;
    margin: 10px 0 10px;
}

.hero-text,
.detail-copy > p,
.section-head p,
.product-card p {
    line-height: 1.7;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
}

.button.primary {
    color: #fff8f0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button.ghost {
    border: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.55);
}

.hero-media,
.detail-cover {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 36px;
    overflow: hidden;
}

.hero-background,
.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mark {
    position: absolute;
    width: min(220px, 40%);
    right: 28px;
    bottom: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
}

.featured-strip,
.contact-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

.featured-strip {
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0 74px;
}

.featured-strip article,
.contact-card {
    padding: 22px;
    border-radius: var(--radius-md);
}

.featured-strip span,
.contact-card span {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.featured-strip strong,
.contact-card strong {
    display: block;
    margin: 10px 0 6px;
    font-size: 1.15rem;
}

.catalog-section,
.contact-section,
.gallery-section {
    padding: 26px 0 82px;
}

.section-head {
    max-width: 680px;
    margin-bottom: 26px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.product-card {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-link img {
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.product-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-code,
.product-style,
.product-cta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.product-cta {
    color: var(--accent-dark);
    font-weight: 700;
    margin-top: auto;
}

.contact-grid {
    grid-template-columns: repeat(3, 1fr);
}

.spec-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
}

.spec-list div {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 250, 243, 0.5);
    border: 1px solid var(--line);
}

.spec-list dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 8px;
}

.spec-list dd {
    margin: 0;
    line-height: 1.6;
}

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

.gallery-grid figure {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-grid img {
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
}

.detail-page {
    padding-top: 12px;
}

.site-footer {
    padding: 0 0 38px;
}

.site-footer p {
    margin: 0;
    font-size: 0.92rem;
}

@media (max-width: 960px) {
    .hero,
    .detail-hero,
    .catalog-grid,
    .featured-strip,
    .contact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
    }

    .hero,
    .detail-hero {
        min-height: auto;
    }

    .hero-media,
    .detail-cover {
        aspect-ratio: 16 / 10;
    }

    .featured-strip {
        margin: 22px 0 56px;
    }

    .catalog-section,
    .contact-section,
    .gallery-section {
        padding: 18px 0 56px;
    }
}

@media (max-width: 640px) {
    .site-header,
    .site-footer,
    main {
        width: min(100% - 20px, 1180px);
    }

    .site-header {
        gap: 14px;
        padding: 14px 0 10px;
    }

    .brand {
        gap: 12px;
        width: 100%;
    }

    .brand img {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .brand-tagline {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .site-nav {
        width: 100%;
        gap: 10px;
    }

    .site-nav a {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 14px;
        text-align: center;
        border-radius: 999px;
        background: rgba(255, 250, 243, 0.7);
        border: 1px solid var(--line);
    }

    .hero-copy,
    .detail-copy {
        padding: 24px;
    }

    .hero,
    .detail-hero {
        gap: 16px;
    }

    .hero-media,
    .detail-cover {
        border-radius: 24px;
        aspect-ratio: 4 / 3;
    }

    .hero-mark {
        width: min(160px, 36%);
        right: 16px;
        bottom: 16px;
        border-radius: 18px;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
        margin-bottom: 10px;
    }

    h1 {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
        line-height: 0.98;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.45rem;
        margin: 4px 0 2px;
    }

    .hero-text,
    .detail-copy > p,
    .section-head p,
    .product-card p,
    .spec-list dd {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .hero-actions .button {
        width: 100%;
        padding: 13px 16px;
    }

    .featured-strip {
        gap: 12px;
        margin: 18px 0 42px;
    }

    .featured-strip article,
    .contact-card {
        padding: 18px;
    }

    .section-head {
        margin-bottom: 18px;
    }

    .catalog-grid,
    .contact-grid,
    .gallery-grid {
        gap: 14px;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-link img,
    .gallery-grid img {
        aspect-ratio: 4 / 3;
    }

    .product-card-body {
        padding: 18px;
        min-height: 0;
    }

    .product-code,
    .product-style,
    .product-cta,
    .featured-strip span,
    .contact-card span,
    .spec-list dt {
        font-size: 0.76rem;
        letter-spacing: 0.1em;
    }

    .contact-card strong,
    .featured-strip strong {
        font-size: 1.02rem;
    }

    .spec-list {
        gap: 10px;
        margin-top: 20px;
    }

    .spec-list div {
        padding: 14px 14px;
    }

    .detail-page {
        padding-top: 4px;
    }

    .site-footer {
        padding-bottom: 28px;
    }

    .site-footer p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {
    .site-header,
    .site-footer,
    main {
        width: min(100% - 16px, 1180px);
    }

    .hero-copy,
    .detail-copy {
        padding: 18px;
        border-radius: 20px;
    }

    .hero-media,
    .detail-cover,
    .gallery-grid figure {
        border-radius: 18px;
    }

    .site-nav a {
        padding: 9px 10px;
        font-size: 0.88rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2rem;
    }
}
