:root {
    --bg: #f7f3ec;
    --bg-soft: #ffffff;
    --card: rgba(255,255,255,.88);
    --text: #17110c;
    --muted: #746a61;
    --red: #d71935;
    --red-dark: #8f1225;
    --gold: #d99a18;
    --green: #0f9f6e;
    --line: rgba(23,17,12,.12);
    --shadow: 0 24px 70px rgba(40, 27, 16, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(215,25,53,.10), transparent 34rem),
        radial-gradient(circle at top right, rgba(217,154,24,.14), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, #f7f3ec 48%, #ffffff 100%);
    color: var(--text);
    line-height: 1.5;
}

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

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

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

.announcement {
    width: min(1220px, calc(100% - 32px));
    margin: 16px auto 0;
    border-radius: 999px;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    color: #40352b;
    font-size: 14px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px rgba(40,27,16,.07);
}

.announcement b {
    color: var(--red);
}

header {
    position: sticky;
    top: 12px;
    z-index: 50;
    margin: 12px 0 0;
}

.nav {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    border-radius: 999px;
    padding: 10px 12px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(23,17,12,.10);
    backdrop-filter: blur(24px);
    box-shadow: 0 18px 60px rgba(40,27,16,.10);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    font-weight: 950;
    letter-spacing: -.08em;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 12px 35px rgba(215,25,53,.22);
}

.brand span:last-child {
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .05em;
    font-size: 12px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(23,17,12,.045);
    border: 1px solid rgba(23,17,12,.08);
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
    transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(23,17,12,.07);
}

/* Hamburger menu */
.hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(23,17,12,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.hamburger span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: .2s ease;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-join {
    display: none;
}

.desktop-join {
    display: inline-flex;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(215,25,53,.20);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #f0c762);
    color: #17110c;
    box-shadow: 0 18px 40px rgba(217,154,24,.18);
}

.btn-light {
    background: rgba(255,255,255,.78);
    border-color: rgba(23,17,12,.12);
    color: var(--text);
}

.hero {
    position: relative;
    padding: 86px 0 40px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    min-height: 690px;
    border-radius: 42px;
    padding: clamp(28px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,255,255,.76)),
        radial-gradient(circle at 20% 10%, rgba(215,25,53,.10), transparent 20rem);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -80px -130px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(217,154,24,.18);
    filter: blur(20px);
}

.pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(23,17,12,.055);
    border: 1px solid rgba(23,17,12,.10);
    color: #40352b;
    font-size: 13px;
    font-weight: 850;
}

.dot {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(15,159,110,.13);
}

h1 {
    margin: 28px 0 0;
    font-size: clamp(54px, 8vw, 104px);
    line-height: .92;
    letter-spacing: -.08em;
    max-width: 760px;
}

.hero-copy p {
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    margin: 24px 0 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
    position: relative;
    z-index: 1;
}

.stat {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(23,17,12,.10);
}

.stat strong {
    display: block;
    font-size: 28px;
    letter-spacing: -.05em;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.hero-visual {
    display: grid;
    grid-template-rows: 1.1fr .9fr;
    gap: 28px;
}

.photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.photo-caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(23,17,12,.14);
    color: var(--text);
    font-weight: 850;
    backdrop-filter: blur(14px);
}

.sign-showcase {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    border-radius: 42px;
    padding: 20px;
    background: linear-gradient(135deg, #fff6df, #f5e2bd);
    color: #16110c;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23,17,12,.10);
    overflow: hidden;
}

.sign-showcase img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
    border: 4px solid #ffffff;
    box-shadow: 0 18px 36px rgba(40,27,16,.18);
}

.sign-showcase h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: .98;
    letter-spacing: -.06em;
}

.sign-showcase p {
    color: #6b5541;
    font-weight: 700;
    margin: 12px 0 0;
}

section {
    padding: 72px 0;
}

.section-title {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.kicker {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 14px;
}

h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 70px);
    line-height: .95;
    letter-spacing: -.07em;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.experience-card {
    min-height: 250px;
    border-radius: 32px;
    padding: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: .2s ease;
    box-shadow: 0 18px 48px rgba(40,27,16,.07);
}

.experience-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
}

.experience-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(217,154,24,.12);
    border: 1px solid rgba(217,154,24,.24);
    font-size: 24px;
    margin-bottom: 46px;
}

.experience-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -.04em;
}

.experience-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.events-panel {
    border-radius: 42px;
    padding: 18px;
    background: #ffffff;
    color: #16110c;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.events-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
}

.featured-event {
    border-radius: 32px;
    padding: 28px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.66)),
        url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: white;
    overflow: hidden;
}

.featured-event h3 {
    margin: 16px 0 10px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .95;
    letter-spacing: -.06em;
}

.date-pill {
    width: fit-content;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
}

.event-list {
    display: grid;
    gap: 12px;
}

.event-row {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fbf7ef;
    border-radius: 26px;
    padding: 18px;
    border: 1px solid #e3d6c3;
    transition: .2s ease;
}

.event-row:hover {
    transform: translateX(4px);
    background: #ffffff;
}

.event-date {
    background: #17110c;
    color: white;
    border-radius: 20px;
    padding: 12px 10px;
    text-align: center;
    font-weight: 950;
    line-height: 1.05;
}

.event-date span {
    display: block;
    color: var(--gold);
    font-size: 13px;
}

.event-row h4 {
    margin: 0 0 4px;
    font-size: 20px;
    letter-spacing: -.04em;
}

.event-row p {
    margin: 0;
    color: #6c6258;
    font-weight: 650;
    font-size: 14px;
}

.arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #efe4d2;
    font-weight: 950;
}

.membership-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.join-card {
    border-radius: 42px;
    padding: clamp(28px, 5vw, 52px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #ffffff;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.join-card::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    right: -150px;
    bottom: -150px;
    background: rgba(217,154,24,.24);
    filter: blur(4px);
}

.join-card .kicker {
    color: #ffd36d;
}

.join-card h2 {
    max-width: 620px;
}

.join-card p {
    color: rgba(255,255,255,.78);
    max-width: 560px;
    font-size: 18px;
}

.join-steps {
    display: grid;
    gap: 12px;
}

.join-step {
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 24px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    font-weight: 850;
    box-shadow: 0 18px 48px rgba(40,27,16,.07);
}

.join-step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: #181108;
    display: grid;
    place-items: center;
    font-weight: 950;
    flex: 0 0 auto;
}

.contact-panel {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 18px;
}

.contact-card {
    border-radius: 42px;
    padding: 34px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-card h2 {
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--muted);
}

.detail-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.detail {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(247,243,236,.82);
    border: 1px solid rgba(23,17,12,.09);
}

.detail strong {
    color: var(--text);
}

.detail span {
    color: var(--muted);
    text-align: right;
}

.map-card {
    border-radius: 42px;
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.42)),
        url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1300&q=80") center/cover;
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 28px;
    display: flex;
    align-items: end;
    box-shadow: var(--shadow);
}

.map-float {
    width: 100%;
    border-radius: 28px;
    padding: 22px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(23,17,12,.12);
    backdrop-filter: blur(16px);
}

.map-float h3 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -.05em;
}

.map-float p {
    margin: 0 0 18px;
    color: var(--muted);
}

footer {
    padding: 34px 0 48px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

/* Tablet and mobile navigation */
@media (max-width: 980px) {
    .announcement {
        border-radius: 24px;
        text-align: center;
    }

    header {
        top: 8px;
    }

    .nav {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .desktop-join {
        display: none;
    }

    .mobile-join {
        display: inline-flex;
        width: 100%;
        margin-top: 6px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border-radius: 28px;
        background: rgba(255,255,255,.96);
        border: 1px solid rgba(23,17,12,.10);
        box-shadow: 0 22px 60px rgba(40,27,16,.14);
        backdrop-filter: blur(24px);
        z-index: 60;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .brand {
        min-width: auto;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-grid,
    .section-title,
    .events-layout,
    .membership-card,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
    }

    .hero-visual {
        grid-template-rows: auto;
    }

    .mini-stats,
    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .event-row {
        grid-template-columns: 74px 1fr;
    }

    .event-row .arrow {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 640px) {
    .nav {
        border-radius: 26px;
    }

    .brand small {
        display: none;
    }

    .btn {
        min-height: 44px;
        padding: 0 15px;
        font-size: 14px;
    }

    .hero-copy,
    .photo-frame,
    .sign-showcase,
    .events-panel,
    .join-card,
    .contact-card,
    .map-card {
        border-radius: 30px;
    }

    h1 {
        font-size: 52px;
    }

    .mini-stats,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .photo-frame img {
        min-height: 330px;
    }

    .sign-showcase {
        grid-template-columns: 1fr;
    }

    .sign-showcase img {
        width: 100%;
        height: 190px;
    }

    .event-row {
        padding: 14px;
        gap: 12px;
    }

    section {
        padding: 50px 0;
    }
}
/* Public shop, cart, gallery and blog pages */
.page-hero {
    padding: 76px 0 34px;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.page-section,
.shop-page,
.product-detail-page {
    padding: 42px 0 72px;
}

.shop-page,
.product-detail-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.page-shell.narrow {
    width: min(860px, calc(100% - 32px));
}

.shop-header,
.admin-page-header,
.cart-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.product-grid,
.blog-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card,
.content-card,
.gallery-tile,
.empty-panel,
.cart-panel,
.product-description-panel {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.product-card-body,
.content-card-body,
.gallery-caption,
.empty-panel,
.product-description-panel,
.product-detail-info {
    padding: 22px;
}

.product-image,
.media-card img,
.gallery-media img,
.feature-image,
.product-detail-image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.product-image,
.media-card,
.gallery-media {
    min-height: 240px;
    height: 240px;
    background: #f4eee6;
    display: block;
}

.media-card img,
.gallery-media img,
.gallery-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.product-placeholder,
.media-placeholder,
.cart-thumb span {
    min-height: 240px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.product-card h2,
.content-card h2,
.gallery-caption h2,
.cart-row h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

.product-card h2 a,
.content-card h2 a,
.back-link a,
.desktop-back-link a {
    color: inherit;
    text-decoration: none;
}

.product-price,
.product-detail-price,
.cart-line-total {
    font-weight: 900;
    color: var(--red);
}

.product-stock {
    font-weight: 800;
}

.product-stock.in-stock { color: #166534; }
.product-stock.out-stock { color: #991b1b; }

.product-actions,
.product-buy-form,
.cart-qty-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.product-buy-form input,
.cart-qty-form input,
form input,
form textarea {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
}

.button,
button,
.btn {
    cursor: pointer;
}

.button.primary,
.button.secondary,
.mobile-cart-button,
.product-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid var(--line);
}

.button.primary { background: var(--red); color: #fff; border-color: var(--red); }
.button.secondary { background: #fff; color: var(--text); }

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.product-detail-image,
.product-detail-info {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.product-detail-image img,
.feature-image {
    max-height: 520px;
}

.feature-image {
    border-radius: 32px;
    margin-bottom: 26px;
}

.article-body {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: clamp(22px, 4vw, 42px);
    line-height: 1.85;
    font-size: 18px;
}

.cart-row {
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 90px; height: 90px; border-radius: 18px; overflow: hidden; background:#f4eee6; }
.cart-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.cart-thumb span { min-height: 90px; font-size: 12px; }
.cart-line-total form button { border:0; background:transparent; color:#991b1b; padding:6px 0; }
.cart-summary { padding: 22px; border-top: 1px solid var(--line); }
.notice { padding: 14px 18px; border:1px solid var(--line); border-radius:18px; background:#fff; margin-bottom:18px; }
.pagination-wrap { margin-top: 26px; }

@media (max-width: 900px) {
    .product-grid,
    .blog-grid,
    .gallery-grid,
    .product-detail-layout,
    .cart-row {
        grid-template-columns: 1fr;
    }

    .cart-row { align-items: start; }
}
