:root {
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --ink: #181818;
    --muted: #666158;
    --line: rgba(24, 24, 24, 0.1);
    --brand: #d4a017;
    --brand-strong: #9d7300;
    --brand-soft: rgba(212, 160, 23, 0.12);
    --danger-soft: rgba(177, 59, 59, 0.12);
    --warn-soft: rgba(212, 160, 23, 0.16);
    --good-soft: rgba(60, 128, 95, 0.14);
    --shadow: 0 18px 42px rgba(17, 17, 17, 0.09);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 0, 0, 0.06), transparent 34%),
        linear-gradient(180deg, #faf8f4 0%, #f5f3ee 40%, #efebe2 100%);
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    line-height: 1.5;
}

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

.shell {
    width: min(var(--shell), calc(100% - 32px));
    margin: 0 auto;
}

.utility-bar {
    background: #101010;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.utility-bar__inner,
.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 18px 0;
}

.brand,
.main-nav a,
.header-cta,
.button,
.category-card,
.card-footer a,
.footer-nav a { text-decoration: none; }

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

.brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111 0%, #2a2a2a 55%, #4b4b4b 100%);
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
}

.brand__copy { display: grid; gap: 2px; }
.brand__copy strong {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand__copy small,
.main-nav a,
.section-heading p,
.hero__lead,
.hero-showcase__body p,
.message-box p,
.product-card__text,
.product-card__sku,
.site-footer p,
.category-card__body span { color: var(--muted); }

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

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta {
    background: #141414;
    color: #fff;
    box-shadow: 0 12px 30px rgba(20, 20, 20, 0.18);
}

.button--primary {
    background: var(--brand);
    color: #181818;
    box-shadow: 0 16px 36px rgba(212, 160, 23, 0.26);
}

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

.header-cta:hover,
.button:hover,
.category-card:hover,
.product-card:hover,
.hero-showcase:hover { transform: translateY(-2px); }

.hero { padding: 52px 0 26px; }

.hero__grid,
.category-strip,
.product-grid,
.site-footer__inner {
    display: grid;
    gap: 20px;
}

.hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }

.hero__copy,
.hero-showcase,
.category-card,
.product-card,
.message-box,
.category-section {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.hero__copy,
.hero-showcase,
.category-section,
.message-box { border-radius: var(--radius-xl); }

.hero__copy,
.hero-showcase,
.category-section { padding: 30px; }

.eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 16px;
}

.eyebrow--soft { margin-bottom: 14px; }

.hero h1,
.hero-showcase h2,
.section-heading h2,
.category-section__intro h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: .98;
    letter-spacing: -0.03em;
}

.hero h1 { font-size: clamp(42px, 6vw, 70px); margin-bottom: 18px; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-showcase {
    display: grid;
    gap: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-carousel {
    display: grid;
    gap: 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-carousel__viewport {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity .35s ease, transform .35s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-slide__media,
.hero-showcase__media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.24), transparent 34%),
        linear-gradient(180deg, #fbfaf7, #ece6da);
}

.hero-slide__body {
    display: grid;
    gap: 14px;
}

.hero-slide__body h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: .98;
    letter-spacing: -0.03em;
    font-size: 34px;
}

.hero-slide__body p { color: var(--muted); margin: 0; }

.hero-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-carousel__arrow {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #141414;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 12px 30px rgba(20, 20, 20, 0.18);
}

.hero-carousel__dots {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-carousel__dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.18);
    cursor: pointer;
    padding: 0;
}

.hero-carousel__dot.is-active {
    width: 34px;
    background: var(--brand);
}

.hero-showcase__media img,
.hero-slide__media img,
.product-card__media img,
.category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-showcase__body,
.product-card__body,
.category-card__body {
    display: grid;
    gap: 14px;
}

.hero-showcase h2 { font-size: 34px; }

.section { padding: 28px 0 34px; }
.section--surface {
    background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.78));
    border-top: 1px solid rgba(24, 24, 24, 0.05);
    border-bottom: 1px solid rgba(24, 24, 24, 0.05);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.section-heading h2 { font-size: clamp(30px, 4.4vw, 48px); }
.section-heading p { max-width: 560px; margin: 0; }

.message-box {
    padding: 18px 20px;
}

.message-box strong { display: block; margin-bottom: 8px; }

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

.category-card {
    display: grid;
    grid-template-rows: 220px 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-card__media {
    display: block;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.24), transparent 34%),
        linear-gradient(180deg, #fbfaf7, #ece6da);
}

.category-card__body {
    padding: 20px;
}

.category-card__body strong {
    font-size: 24px;
    line-height: 1.05;
}

.category-section {
    display: grid;
    gap: 22px;
    margin-bottom: 24px;
}

.category-section:last-child { margin-bottom: 0; }

.category-section__intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.category-section__intro h2 { font-size: 38px; margin-bottom: 12px; }
.category-section__intro p { margin: 0; max-width: 620px; color: var(--muted); }

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

.product-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.product-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.24), transparent 34%),
        linear-gradient(180deg, #fbfaf7, #ece6da);
}

.product-card__image {
    position: absolute;
    inset: 0;
    transition: opacity .28s ease, transform .28s ease;
}

.product-card__image--secondary {
    opacity: 0;
    transform: scale(1.03);
}

.product-card__media--swap:hover .product-card__image--primary,
.product-card__media--swap:focus-visible .product-card__image--primary {
    opacity: 0;
}

.product-card__media--swap:hover .product-card__image--secondary,
.product-card__media--swap:focus-visible .product-card__image--secondary {
    opacity: 1;
    transform: scale(1);
}

.card-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.84));
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.product-card__body { padding: 20px; }

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

.product-card__sku {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.product-card__body h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}

.product-card__text { margin: 0; }

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.card-footer strong {
    font-size: 20px;
    font-family: Georgia, "Times New Roman", serif;
}

.card-footer a,
.footer-nav a { color: var(--brand-strong); font-weight: 700; }

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.status-pill--good { background: var(--good-soft); color: #225d3b; }
.status-pill--warn { background: var(--warn-soft); color: #7f5f00; }
.status-pill--danger { background: var(--danger-soft); color: #8a2828; }

.site-footer {
    padding: 30px 0 44px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1180px) {
    .site-header__inner,
    .hero__grid,
    .category-strip,
    .product-grid,
    .product-grid--compact { grid-template-columns: 1fr; }

    .category-section__intro {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .shell { width: min(var(--shell), calc(100% - 20px)); }
    .site-header { position: static; }
    .site-header__inner { gap: 16px; padding: 14px 0; }
    .main-nav { order: 3; }
    .hero__copy, .hero-showcase, .category-section { padding: 24px; }
    .hero h1 { font-size: 42px; }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-card__head,
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-carousel__viewport {
        min-height: 540px;
    }

    .hero-carousel__controls {
        justify-content: center;
    }
}
