
:root {
    --ink: #171713;
    --muted: #68645a;
    --paper: #f6f3ec;
    --white: #ffffff;
    --line: #ddd7ca;
    --dark: #171815;
    --gold: #b99655;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

body { margin: 0; }

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

a { color: inherit; }

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow { max-width: 820px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 243, 236, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(70, 64, 50, .13);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand { flex: 0 0 auto; }

.site-logo {
    width: auto;
    height: 66px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.3vw, 32px);
}

.main-nav a {
    position: relative;
    text-decoration: none;
    font-size: .91rem;
    font-weight: 700;
    color: #39372f;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transition: right .2s ease;
}

.main-nav a:hover::after { right: 0; }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    padding: 9px 15px;
    font-weight: 700;
}

.home-hero {
    position: relative;
    min-height: 660px;
    display: grid;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background:
        url("/assets/img/bg7x.webp") center 42% / cover no-repeat,
        #282820;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 14, 12, .82) 0%, rgba(13, 14, 12, .54) 48%, rgba(13, 14, 12, .18) 100%),
        linear-gradient(0deg, rgba(13, 14, 12, .32), transparent 45%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 90px;
}

.hero-slider {
    position: relative;
    min-height: 330px;
    max-width: 760px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease, visibility .6s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-slide h1,
.hero-slide h2 {
    max-width: 760px;
    margin: .1em 0 .22em;
    font: 700 clamp(3.4rem, 7.8vw, 7rem)/.91 Georgia, "Times New Roman", serif;
    letter-spacing: -.055em;
}

.hero-slide p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 0 30px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
    color: rgba(255,255,255,.9);
}

.eyebrow,
.category {
    margin: 0;
    letter-spacing: .17em;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #7d7464;
}

.eyebrow.light { color: #e2d4b9; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid #292720;
    border-radius: 999px;
    padding: 11px 18px;
    background: transparent;
    color: #292720;
    text-decoration: none;
    font-weight: 800;
    font-size: .87rem;
}

.button.primary {
    background: #22231f;
    color: var(--white);
    padding: 14px 22px;
}

.button:disabled { opacity: .45; }

.hero-button {
    border-color: rgba(255,255,255,.65);
    color: var(--white);
    padding: 13px 23px;
    transition: background .2s ease, color .2s ease;
}

.hero-button:hover {
    background: var(--white);
    color: var(--ink);
}

.hero-dots {
    display: flex;
    gap: 9px;
    margin-top: 28px;
}

.hero-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.34);
    cursor: pointer;
}

.hero-dots button.is-active { background: var(--white); }

.memory-section {
    padding-top: 92px;
    background: #f8f5ef;
}

.memory-layout {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: clamp(45px, 8vw, 105px);
    align-items: start;
}

.memory-heading {
    position: sticky;
    top: 130px;
}

.memory-heading h2 {
    margin: .25em 0 .12em;
    font: 700 clamp(2.6rem, 5vw, 4.8rem)/.98 Georgia, "Times New Roman", serif;
    letter-spacing: -.045em;
}

.memory-years {
    margin: 18px 0 0;
    color: var(--gold);
    font: italic 1.22rem Georgia, serif;
}

.memory-copy {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.82;
    color: #39362f;
}

.memory-copy p { margin: 0 0 1.55em; }

.memory-copy blockquote {
    margin: 44px 0;
    padding: 8px 0 8px 34px;
    border-left: 3px solid var(--gold);
    font-size: 1.06em;
    font-style: italic;
}

.memory-scripture {
    font-style: italic;
    color: #585247;
}

.memory-strip {
    width: 100%;
    margin-top: 78px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    overflow-x: hide;
    scrollbar-width: thin;
    background: #191a17;
}

.memory-strip figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.memory-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.82) contrast(1.03);
    transition: transform .5s ease, filter .5s ease;
}

.memory-strip figure:hover img {
    transform: scale(1.035);
    filter: saturate(1);
}

.featured-section { padding: 88px 0 100px; }

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

.section-heading h2 {
    margin: .18em 0 0;
    font: 700 clamp(2.6rem, 5vw, 4.7rem)/.98 Georgia, serif;
    letter-spacing: -.045em;
}

.text-link {
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
}

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

.album-card { min-width: 0; }

.album-cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e7e0d3;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.album-card:hover .album-cover img { transform: scale(1.025); }

.album-meta { padding: 17px 2px 0; }

.album-meta h3 {
    margin: 6px 0 0;
    font: 700 1.16rem/1.25 Georgia, serif;
}

.album-meta h3 a { text-decoration: none; }

.discography-section {
    padding: 90px 0 110px;
    background: #eae4d8;
}

.discography-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 90px);
}

.discography-column > h3 {
    margin: 0 0 20px;
    padding-bottom: 13px;
    border-bottom: 2px solid #2b2923;
    font: 700 1.55rem Georgia, serif;
}

.disc-list { display: grid; }

.disc-row {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 17px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(50,46,38,.16);
    text-decoration: none;
    font-weight: 750;
}

.disc-row img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    background: #d5cec0;
}

.disc-row span:last-child {
    font-size: 1.25rem;
    transition: transform .2s ease;
}

.disc-row:hover span:last-child { transform: translateX(4px); }

.page-hero {
    padding: 78px 0 64px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: .18em 0;
    font: 700 clamp(3.1rem, 7vw, 6.5rem)/.95 Georgia, serif;
    letter-spacing: -.05em;
}

.page-hero p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.6;
}

.catalog-section { padding: 48px 0 90px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
}

.product-art {
    display: block;
    aspect-ratio: 1;
    background: #e8e1d5;
    overflow: hidden;
}

.product-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.card:hover .product-art img { transform: scale(1.025); }

.card-body { padding: 20px; }

.card h2 {
    margin: 7px 0 22px;
    font: 700 1.3rem/1.2 Georgia, serif;
}

.card h2 a { text-decoration: none; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-page { padding-bottom: 450px; }

.back-link {
    display: inline-block;
    margin: 38px 0;
    color: #5d594f;
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
	 padding-bottom: 4rem;
}

.detail-art {
    aspect-ratio: .8;
    background: transparent;
}

.detail-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-copy { padding-top: 38px; }

.detail-copy h1 {
    margin: .2em 0;
    font: 700 clamp(2.5rem, 5vw, 4.8rem)/.98 Georgia, serif;
    letter-spacing: -.035em;
}

.price { font-size: 1.45rem; font-weight: 800; }

.description {
    margin: 28px 0 34px;
    color: #57534b;
    line-height: 1.72;
}

.site-footer {
    padding: 70px 0 26px;
    background: var(--dark);
    color: rgba(255,255,255,.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .65fr 1fr;
    gap: 55px;
}

.footer-logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-copy { max-width: 290px; line-height: 1.6; }

.site-footer h2 {
    margin: 0 0 17px;
    color: var(--white);
    font: 700 1rem/1 Georgia, serif;
}

.site-footer p { line-height: 1.7; }

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

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.social-links a { border-bottom: 1px solid rgba(255,255,255,.35); }

.footer-bottom {
    margin-top: 48px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.13);
    font-size: .8rem;
    color: rgba(255,255,255,.55);
}

@media (max-width: 900px) {
    .header-inner { min-height: 78px; }
    .site-logo { height: 56px; }

    .nav-toggle { display: inline-flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 18px 20px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

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

    .home-hero { min-height: 590px; }

    .memory-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .memory-heading { position: static; }

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

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

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
    .shell { width: min(100% - 28px, 1180px); }

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

    .hero-inner { padding-block: 65px; }
    .hero-slider { min-height: 350px; }

    .hero-slide h1,
    .hero-slide h2 {
        font-size: clamp(2.8rem, 15vw, 4.6rem);
    }

    .memory-section { padding-top: 64px; }
    .memory-copy { font-size: 1rem; }
    .memory-copy blockquote { margin: 34px 0; padding-left: 20px; }

    .memory-strip {
        margin-top: 55px;
        grid-auto-columns: 78%;
    }

    .featured-section,
    .discography-section { padding-block: 65px; }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-grid,
    .product-grid,
    .discography-columns,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .discography-columns { gap: 55px; }
    .footer-grid > div:first-child { grid-column: auto; }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-copy { padding-top: 5px; }
}

/* Music Tracks */
.tracks-section {
    padding: 54px 0 100px;
}

.tracks-shell {
    display: grid;
    gap: 52px;
}

.track-album {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
}

.track-album-header {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: #eee9df;
}

.track-album-cover {
    display: block;
    width: 112px;
    height: 112px;
    overflow: hidden;
    background: #ded7ca;
}

.track-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-album-header h2 {
    margin: 5px 0 5px;
    font: 700 clamp(1.8rem, 3.5vw, 2.7rem)/1 Georgia, serif;
    letter-spacing: -.025em;
}

.track-album-header h2 a {
    text-decoration: none;
}

.track-album-header > div > p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
}

.track-list {
    display: grid;
}

.track-row {
    display: grid;
    grid-template-columns: 42px minmax(180px, 1.1fr) minmax(260px, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 88px;
    padding: 14px 22px;
    border-bottom: 1px solid #ece7de;
}

.track-row:last-child {
    border-bottom: 0;
}

.track-row:hover {
    background: #faf8f3;
}

.track-number {
    color: #9a9284;
    font: 700 1rem Georgia, serif;
    text-align: center;
}

.track-info {
    min-width: 0;
}

.track-info h3 {
    margin: 0 0 5px;
    font: 700 1.04rem/1.3 Georgia, serif;
}

.track-duration {
    color: var(--muted);
    font-size: .82rem;
}

.track-preview audio {
    display: block;
    width: 100%;
    min-width: 220px;
    height: 38px;
}

.excerpt-unavailable {
    color: var(--muted);
    font-size: .84rem;
    font-style: italic;
}

.track-buy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    white-space: nowrap;
}

.track-price {
    font-weight: 800;
}

.track-buy-button {
    min-width: 100px;
    padding: 9px 14px;
}

@media (max-width: 900px) {
    .track-row {
        grid-template-columns: 34px 1fr auto;
    }

    .track-preview {
        grid-column: 2 / -1;
        width: 100%;
    }
}

@media (max-width: 650px) {
    .track-album-header {
        grid-template-columns: 82px 1fr;
        gap: 17px;
        padding: 18px;
    }

    .track-album-cover {
        width: 82px;
        height: 82px;
    }

    .track-row {
        grid-template-columns: 28px 1fr;
        gap: 12px;
        padding: 17px 14px;
    }

    .track-preview,
    .track-buy {
        grid-column: 2;
    }

    .track-buy {
        justify-content: space-between;
    }

    .track-preview audio {
        min-width: 0;
    }
}

/* Books */
.books-section {
    padding: 58px 0 105px;
}

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

.book-card {
    display: grid;
    grid-template-columns: minmax(150px, 210px) 1fr;
    min-height: 320px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
}

.book-cover {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #e7e0d3;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.025);
}

.book-copy {
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.book-copy h2 {
    margin: 7px 0 15px;
    font: 700 clamp(1.55rem, 2.7vw, 2.25rem)/1.05 Georgia, serif;
    letter-spacing: -.025em;
}

.book-copy h2 a {
    text-decoration: none;
}

.book-description {
    display: -webkit-box;
    margin-bottom: 28px;
    overflow: hidden;
    color: #5b574e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .97rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.book-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #ece7de;
}

.book-price {
    font-size: 1.18rem;
    font-weight: 850;
}

.books-empty {
    max-width: 680px;
    padding: 60px 0;
}

.books-empty h2 {
    font: 700 2rem Georgia, serif;
}

@media (max-width: 900px) {
    .books-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .book-card {
        grid-template-columns: 1fr;
    }

    .book-cover {
        aspect-ratio: 4 / 3;
    }

    .book-copy {
        padding: 22px;
    }
}

/* History */
.history-hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: url("/assets/history/1.jpg") center 38% / cover no-repeat, #24231f;
}

.history-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 9, .84) 0%, rgba(10, 11, 9, .56) 48%, rgba(10, 11, 9, .15) 100%),
        linear-gradient(0deg, rgba(10, 11, 9, .66) 0%, transparent 62%);
}

.history-hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 105px 82px;
}

.history-hero h1 {
    max-width: 850px;
    margin: .12em 0 .18em;
    font: 700 clamp(4rem, 9vw, 8.4rem)/.87 Georgia, "Times New Roman", serif;
    letter-spacing: -.06em;
}

.history-hero-lead {
    max-width: 700px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.9);
    font: 1.22rem/1.65 Georgia, "Times New Roman", serif;
}

.history-hero-button,
.history-light-button {
    border-color: rgba(255,255,255,.68);
    color: var(--white);
}

.history-hero-button:hover,
.history-light-button:hover {
    background: var(--white);
    color: var(--ink);
}

.history-story {
    padding: 110px 0 120px;
    background: #f8f5ef;
}

.history-story-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: clamp(52px, 8vw, 112px);
    align-items: start;
}

.history-story-intro {
    position: sticky;
    top: 130px;
}

.history-story-intro h2 {
    margin: .25em 0 45px;
    max-width: 420px;
    font: 700 clamp(2.8rem, 5vw, 5rem)/.96 Georgia, "Times New Roman", serif;
    letter-spacing: -.05em;
}

.history-stat {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.history-stat:last-child {
    border-bottom: 1px solid var(--line);
}

.history-stat strong {
    color: var(--gold);
    font: 700 1.8rem Georgia, serif;
}

.history-stat span {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 750;
}

.history-story-copy {
    max-width: 760px;
    color: #39362f;
    font: 1.08rem/1.86 Georgia, "Times New Roman", serif;
}

.history-story-copy p { margin: 0 0 1.65em; }

.history-opening {
    color: #27251f;
    font-size: 1.28rem;
    line-height: 1.7;
}

.history-story-copy blockquote {
    margin: 55px 0;
    padding: 3px 0 3px 38px;
    border-left: 3px solid var(--gold);
    color: #2e2a23;
    font: italic 1.38rem/1.6 Georgia, serif;
}

.history-closing {
    color: #25231e;
    font-weight: 700;
}

.history-gallery-section {
    padding: 95px 0 0;
    overflow: hidden;
    background: #1a1b18;
    color: var(--white);
}

.history-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 45px;
    padding-bottom: 42px;
}

.history-gallery-heading h2 {
    margin: .18em 0 0;
    font: 700 clamp(3rem, 6vw, 5.6rem)/.93 Georgia, serif;
    letter-spacing: -.05em;
}

.history-gallery-heading > p {
    max-width: 410px;
    margin: 0;
    color: rgba(255,255,255,.62);
    line-height: 1.6;
}

.history-gallery {
    display: grid;
    grid-template-columns: repeat(10, minmax(155px, 1fr));
    grid-auto-rows: 175px;
    gap: 2px;
    width: max(100%, 1600px);
}

.history-gallery-item {
    position: relative;
    min-width: 0;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #292a26;
    color: var(--white);
    cursor: zoom-in;
}

.history-gallery-item:nth-child(7n + 1),
.history-gallery-item:nth-child(7n + 5) {
    grid-column: span 2;
    grid-row: span 2;
}

.history-gallery-item:nth-child(7n + 3) {
    grid-column: span 2;
}

.history-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.78) contrast(1.05);
    transition: transform .55s ease, filter .55s ease;
}

.history-gallery-item:hover img,
.history-gallery-item:focus-visible img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1);
}

.history-gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    padding: 42px 15px 13px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    font-size: .75rem;
    font-weight: 800;
    opacity: 0;
    transition: opacity .25s ease;
}

.history-gallery-item:hover .history-gallery-overlay,
.history-gallery-item:focus-visible .history-gallery-overlay {
    opacity: 1;
}

.history-lightbox[hidden] { display: none; }

.history-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
}

.history-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 7, .94);
    backdrop-filter: blur(12px);
}

.history-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    height: min(86vh, 850px);
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
}

.history-lightbox-figure {
    height: 100%;
    min-height: 0;
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.history-lightbox-figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.history-lightbox-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 15px;
    color: rgba(255,255,255,.6);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.history-lightbox-nav,
.history-lightbox-close {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.82);
    cursor: pointer;
}

.history-lightbox-nav {
    width: 58px;
    height: 58px;
    font: 300 3rem/1 Georgia, serif;
}

.history-lightbox-close {
    position: absolute;
    top: -6px;
    right: 0;
    z-index: 2;
    width: 44px;
    height: 44px;
    font-size: 2rem;
}

.history-lightbox-nav:hover,
.history-lightbox-close:hover { color: var(--white); }

body.history-lightbox-open { overflow: hidden; }

.history-legacy {
    padding: 105px 0;
    background: #20211d;
    color: var(--white);
    text-align: center;
}

.history-legacy-inner { max-width: 820px; }

.history-legacy h2 {
    margin: .2em 0;
    font: 700 clamp(3rem, 6vw, 5.5rem)/.94 Georgia, serif;
    letter-spacing: -.05em;
}

.history-legacy p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.68);
    font: 1.08rem/1.7 Georgia, serif;
}

.history-legacy-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .history-story-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .history-story-intro { position: static; }

    .history-story-intro h2 { max-width: 660px; }

    .history-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .history-gallery {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
        grid-auto-rows: 155px;
        width: max(100%, 900px);
    }
}

@media (max-width: 650px) {
    .history-hero { min-height: 570px; }

    .history-hero-inner { padding-block: 82px 60px; }

    .history-hero h1 {
        font-size: clamp(3.3rem, 18vw, 5.5rem);
    }

    .history-story { padding: 72px 0 78px; }

    .history-story-copy { font-size: 1rem; }

    .history-story-copy blockquote {
        margin: 38px 0;
        padding-left: 22px;
        font-size: 1.18rem;
    }

    .history-stat { grid-template-columns: 112px 1fr; }

    .history-gallery-section { padding-top: 68px; }

    .history-gallery {
        display: flex;
        gap: 2px;
        width: 100%;
        padding: 0 14px 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .history-gallery-item,
    .history-gallery-item:nth-child(7n + 1),
    .history-gallery-item:nth-child(7n + 3),
    .history-gallery-item:nth-child(7n + 5) {
        flex: 0 0 82vw;
        height: 82vw;
        grid-column: auto;
        grid-row: auto;
        scroll-snap-align: center;
    }

    .history-gallery-overlay { opacity: 1; }

    .history-lightbox-dialog {
        width: calc(100% - 18px);
        height: 82vh;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }

    .history-lightbox-nav { width: 42px; }

    .history-lightbox-close { top: -38px; }

    .history-legacy { padding: 78px 0; }
}

/* Contact */
.contact-section {
    padding: 85px 0 115px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    gap: clamp(55px, 8vw, 110px);
    align-items: start;
}

.contact-aside {
    position: sticky;
    top: 130px;
}

.contact-aside h2 {
    max-width: 430px;
    margin: .22em 0 .3em;
    font: 700 clamp(2.6rem, 5vw, 4.6rem)/.97 Georgia, serif;
    letter-spacing: -.045em;
}

.contact-aside > p:not(.eyebrow) {
    max-width: 430px;
    margin-bottom: 42px;
    color: var(--muted);
    font: 1.04rem/1.7 Georgia, serif;
}

.contact-detail {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.contact-detail:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-detail > span {
    display: block;
    margin-bottom: 7px;
    color: #847d70;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-detail a,
.contact-detail address {
    font-style: normal;
    line-height: 1.6;
    text-decoration: none;
}

.contact-detail a {
    overflow-wrap: anywhere;
}

.contact-form-wrap {
    padding: clamp(26px, 4vw, 48px);
    background: var(--white);
    border: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.contact-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: grid;
    gap: 9px;
}

.contact-field > span {
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #cbc4b7;
    border-radius: 0;
    padding: 14px 15px;
    outline: none;
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
    min-height: 190px;
    resize: vertical;
    line-height: 1.55;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(185, 150, 85, .13);
}

.contact-field small {
    color: #9a342b;
    font-size: .78rem;
}

.contact-submit {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 6px;
}

.contact-submit p {
    max-width: 330px;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}

.contact-error-summary {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-left: 3px solid #a64136;
    background: #f8ebe8;
    color: #713029;
    line-height: 1.5;
}

.contact-success {
    padding: 28px 5px;
}

.contact-success h2 {
    margin: .2em 0;
    font: 700 clamp(2.4rem, 5vw, 4rem)/1 Georgia, serif;
    letter-spacing: -.04em;
}

.contact-success > p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-aside {
        position: static;
    }
}

@media (max-width: 650px) {
    .contact-section {
        padding: 58px 0 75px;
    }

    .contact-field-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 22px 18px;
    }

    .contact-submit {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Shopping Cart */
.nav-cart {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.nav-cart-count {
    min-width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gold);
    color: #161611;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
}

.product-cart-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px;
    margin-top: 30px;
}

.product-quantity {
    display: grid;
    gap: 7px;
}

.product-quantity span,
.product-format-picker legend {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-quantity input {
    width: 82px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: var(--white);
    font: inherit;
}

.product-format-picker {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    border: 0;
}

.product-format-picker legend {
    width: 100%;
    margin-bottom: 7px;
}

.product-format-picker label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.track-buy form {
    margin: 0;
}

.cart-section {
    padding: 70px 0 120px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
    gap: clamp(38px, 6vw, 78px);
    align-items: start;
}

.cart-items {
    border-top: 1px solid var(--line);
}

.cart-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 120px 110px;
    gap: 22px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item-art {
    aspect-ratio: 1;
    overflow: hidden;
    background: #eee9df;
}

.cart-item-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-copy h2 {
    margin: 3px 0 5px;
    font: 700 clamp(1.25rem, 2.2vw, 1.65rem)/1.05 Georgia, serif;
}

.cart-item-subtitle {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .86rem;
}

.cart-remove-form {
    margin: 0;
}

.cart-remove-form button,
.cart-item-quantity button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: .78rem;
    text-decoration: underline;
    cursor: pointer;
}

.cart-item-quantity form {
    display: grid;
    gap: 7px;
    justify-items: start;
}

.cart-item-quantity label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
}

.cart-item-quantity input {
    width: 58px;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    font: inherit;
}

.cart-digital-qty {
    color: var(--muted);
    font-size: .8rem;
}

.cart-item-price {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.cart-item-price small {
    color: var(--muted);
    font-size: .72rem;
}

.cart-item-price strong {
    font: 700 1.25rem Georgia, serif;
}

.cart-summary {
    position: sticky;
    top: 120px;
    padding: 28px;
    border: 1px solid var(--line);
    background: #f8f5ef;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-summary-total {
    align-items: baseline;
    font-size: 1.05rem;
}

.cart-summary-total strong {
    font: 700 1.7rem Georgia, serif;
}

.cart-summary-note {
    margin: 19px 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.55;
}

.cart-checkout-button {
    width: 100%;
}

.cart-continue {
    display: inline-block;
    margin-top: 18px;
    color: var(--muted);
    font-size: .82rem;
}

.cart-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 65px 0 80px;
    text-align: center;
}

.cart-empty h2 {
    margin: .2em 0;
    font: 700 clamp(2.7rem, 6vw, 5rem)/.96 Georgia, serif;
    letter-spacing: -.045em;
}

.cart-empty > p:not(.eyebrow) {
    max-width: 520px;
    margin: 0 auto 27px;
    color: var(--muted);
    line-height: 1.65;
}

.cart-empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 94px minmax(0, 1fr) 95px;
    }

    .cart-item-price {
        grid-column: 3;
        grid-row: 1;
    }

    .cart-item-quantity {
        grid-column: 2 / 4;
    }
}

@media (max-width: 650px) {
    .cart-section {
        padding: 50px 0 80px;
    }

    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 16px;
    }

    .cart-item-price,
    .cart-item-quantity {
        grid-column: 2;
        grid-row: auto;
        justify-items: start;
    }

    .cart-item-price {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .product-cart-form {
        align-items: stretch;
        flex-direction: column;
    }

    .product-cart-form .button {
        width: 100%;
    }

    .nav-cart {
        justify-content: center;
    }
}


/* CD Editions */
.product-edition-picker {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.product-edition-picker legend {
    width: 100%;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-edition-option {
    position: relative;
    cursor: pointer;
}

.product-edition-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-edition-option > span {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 17px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-edition-option strong {
    font-size: .88rem;
}

.product-edition-option small {
    color: var(--muted);
    white-space: nowrap;
}

.product-edition-option input:checked + span {
    border-color: var(--gold);
    background: #fbf7ee;
    box-shadow: inset 0 0 0 1px var(--gold);
}

.product-edition-option input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.cart-item-edition {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 650px) {
    .product-edition-picker {
        grid-template-columns: 1fr;
    }
}


/* Checkout */
.checkout-section {
    padding: 72px 0 120px;
}

.checkout-layout,
.order-review {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: clamp(42px, 6vw, 78px);
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 24px;
}

.checkout-panel {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    background: var(--white);
}

.checkout-panel h2,
.order-review-main h2 {
    margin: .15em 0 .1em;
    font: 700 clamp(2rem, 4vw, 3.5rem)/1 Georgia, serif;
    letter-spacing: -.04em;
}

.checkout-help {
    margin: -10px 0 3px;
    color: var(--muted);
    font-size: .86rem;
}

.checkout-address-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .7fr;
    gap: 18px;
}

.contact-field select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbc4b7;
    padding: 0 14px;
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
}

.checkout-shipping-options {
    display: grid;
    gap: 10px;
    margin: 5px 0 0;
    padding: 0;
    border: 0;
}

.checkout-shipping-options legend {
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.checkout-shipping-options label {
    position: relative;
    cursor: pointer;
}

.checkout-shipping-options input {
    position: absolute;
    opacity: 0;
}

.checkout-shipping-options label > span {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: #fbfaf7;
}

.checkout-shipping-options input:checked + span {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold);
    background: #fbf7ee;
}

.checkout-shipping-options small {
    color: var(--muted);
}

.checkout-field-error {
    color: #9a342b;
}

.checkout-place-button {
    justify-self: end;
    min-width: 250px;
}

.checkout-summary {
    position: sticky;
    top: 120px;
    padding: 28px;
    border: 1px solid var(--line);
    background: #f8f5ef;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-summary-item div {
    display: grid;
    gap: 5px;
}

.checkout-summary-item small {
    color: var(--muted);
    font-size: .75rem;
}

.checkout-totals {
    margin-top: 18px;
}

.checkout-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
}

.checkout-totals span {
    color: var(--muted);
}

.checkout-security-note {
    margin: 21px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .79rem;
    line-height: 1.55;
}

.order-review-main {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    background: var(--white);
}

.order-review-address {
    margin: 25px 0 32px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    line-height: 1.65;
}

.order-review-items > div {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-grand-total {
    margin-top: 8px;
    padding-top: 17px !important;
    border-top: 1px solid var(--line);
    font-size: 1.15rem;
}

.checkout-grand-total strong {
    font: 700 1.7rem Georgia, serif;
}

.payment-placeholder {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.payment-placeholder .button {
    width: 100%;
}

.cart-checkout-button {
    display: flex;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 900px) {
    .checkout-layout,
    .order-review {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-address-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .checkout-section {
        padding: 50px 0 80px;
    }

    .checkout-address-grid,
    .contact-field-grid {
        grid-template-columns: 1fr;
    }

    .checkout-place-button {
        width: 100%;
        min-width: 0;
    }
}


/* Payments */
.payment-placeholder form {
    margin: 0;
}

.payment-placeholder form .button {
    width: 100%;
}

.payment-config-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}

.payment-result-card {
    max-width: 720px;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--line);
    background: var(--white);
}

.payment-result-card h2 {
    margin: .15em 0 .7em;
    font: 700 clamp(2rem, 5vw, 4rem)/1 Georgia, serif;
    letter-spacing: -.04em;
}

.payment-result-card .button {
    display: inline-flex;
    margin-top: 26px;
    text-decoration: none;
}

/* Navigation section colors
   Keeps the current clean header while bringing back the colorful identity
   of the original LAMB navigation. */
.main-nav a {
    --nav-accent: var(--gold);
    --nav-accent-soft: rgba(185, 150, 85, .12);
    padding: 10px 2px;
    border-radius: 6px;
    transition:
        color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.main-nav a::after {
    right: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: var(--nav-accent);
    transform: scaleX(.42);
    transform-origin: center;
    opacity: .72;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: var(--nav-accent-soft);
    color: #171713;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    right: 0;
    transform: scaleX(1);
    opacity: 1;
}

/* Home — magenta */
.main-nav a[href="/"] {
    --nav-accent: #e40078;
    --nav-accent-soft: rgba(228, 0, 120, .10);
}

/* Music Shop — cyan / blue */
.main-nav a[href="/music-shop"] {
    --nav-accent: #00a7df;
    --nav-accent-soft: rgba(0, 167, 223, .11);
}

/* Music Tracks — orange */
.main-nav a[href="/music-tracks"] {
    --nav-accent: #ff7a00;
    --nav-accent-soft: rgba(255, 122, 0, .11);
}

/* Books — violet */
.main-nav a[href="/books"] {
    --nav-accent: #6d43a8;
    --nav-accent-soft: rgba(109, 67, 168, .11);
}

/* T-Shirts — teal */
.main-nav a[href="/t-shirts"] {
    --nav-accent: #008f83;
    --nav-accent-soft: rgba(0, 143, 131, .11);
}

/* History — red */
.main-nav a[href="/history"] {
    --nav-accent: #e22b2b;
    --nav-accent-soft: rgba(226, 43, 43, .10);
}

/* Contact — yellow / amber */
.main-nav a[href="/contact"] {
    --nav-accent: #e4ad00;
    --nav-accent-soft: rgba(228, 173, 0, .13);
}

/* Download recovery — sky blue */
.main-nav a[href="/downloads/recover"] {
    --nav-accent: #36a9e1;
    --nav-accent-soft: rgba(54, 169, 225, .11);
}

/* Cart — warm gold */
.main-nav a[href="/cart"],
.main-nav .nav-cart {
    --nav-accent: #b99655;
    --nav-accent-soft: rgba(185, 150, 85, .12);
}

/* Keep mobile navigation clean and readable while preserving section colors. */
@media (max-width: 900px) {
    .main-nav a {
        width: 100%;
        padding: 11px 10px 12px;
    }

    .main-nav a::after {
        left: 10px;
        right: auto;
        width: 38px;
        transform: none;
    }

    .main-nav a:hover::after,
    .main-nav a:focus-visible::after {
        width: 72px;
        transform: none;
    }
}


/* Interior Heroes — Music Shop, Music Tracks, Books, Contact */
.interior-hero {
    position: relative;
    min-height: 550px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background-color: #24231f;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.shop-hero {
    background-image: url("/assets/heros/shops.jpg");
    background-position: center 50%;
}

.tracks-hero {
    background-image: url("/assets/heros/tracks.jpg");
    background-position: center 50%;
}

.books-hero {
    background-image: url("/assets/heros/concertbooks.webp");
    background-position: center top;
}

.contact-hero {
    background-image: url("/assets/heros/contact.webp");
    background-position: center 50%;
}

.interior-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 9, .84) 0%, rgba(10, 11, 9, .52) 48%, rgba(10, 11, 9, .14) 100%),
        linear-gradient(0deg, rgba(10, 11, 9, .60) 0%, transparent 72%);
}

.interior-hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 70px 55px;
}

.interior-hero h1 {
    max-width: 900px;
    margin: .12em 0 .14em;
    font: 700 clamp(3.4rem, 7vw, 6.5rem)/.9 Georgia, "Times New Roman", serif;
    letter-spacing: -.055em;
}

.interior-hero-lead {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font: 1.12rem/1.6 Georgia, "Times New Roman", serif;
}

@media (max-width: 650px) {
    .interior-hero {
        min-height: 320px;
    }

    .interior-hero-inner {
        padding-block: 62px 44px;
    }

    .interior-hero h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .interior-hero-lead {
        font-size: 1rem;
    }
}

/* =========================================================
   ADMIN · PRODUCT EDIT
   ========================================================= */

/* Keep the public page hero from becoming enormous inside admin. */
.admin-page-hero {
    padding: 48px 0 38px;
    background: #efe9dd;
    border-bottom: 1px solid var(--line);
}

.admin-page-hero h1 {
    max-width: 1000px;
    margin: .12em 0 .14em;
    font: 700 clamp(2.4rem, 5vw, 4.6rem)/.98 Georgia, "Times New Roman", serif;
    letter-spacing: -.045em;
}

.admin-page-hero p:not(.eyebrow) {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 1rem;
}

.admin-product-main {
    padding: 42px 0 90px;
}

.admin-product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-product-toolbar .text-link {
    font-size: .88rem;
}

.admin-product-id,
.admin-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #d9c9aa;
    border-radius: 999px;
    background: #f2eadb;
    color: #6c5833;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .045em;
}

.admin-notice {
    margin-bottom: 22px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    background: var(--white);
    line-height: 1.5;
}

.admin-notice-success {
    border-left: 4px solid #39845d;
    background: #f2f8f4;
}

.admin-notice-error {
    border-left: 4px solid #a64136;
    background: #fbf0ee;
}

.admin-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.admin-product-main-column,
.admin-product-sidebar {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.admin-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 32px rgba(55, 48, 36, .045);
}

.admin-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ece6da;
}

.admin-card-kicker {
    margin: 0 0 7px;
    color: #8b806f;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.admin-card-heading h2,
.admin-save-card h2,
.admin-status-card h2 {
    margin: 0;
    font: 700 1.65rem/1.08 Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
}

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

.admin-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.admin-field-full {
    grid-column: 1 / -1;
}

.admin-field label {
    display: block;
    margin: 0;
    color: #343128;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .035em;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 1px solid #cbc4b7;
    border-radius: 0;
    padding: 12px 13px;
    outline: none;
    background: #fbfaf7;
    color: var(--ink);
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-field input,
.admin-field select {
    min-height: 46px;
}

.admin-field textarea {
    min-height: 230px;
    resize: vertical;
    line-height: 1.62;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(185, 150, 85, .13);
}

.admin-field small {
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.45;
}

.admin-field code {
    font-size: .72rem;
}

.admin-money-input {
    position: relative;
}

.admin-money-input > span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: var(--muted);
    font-weight: 800;
    pointer-events: none;
}

.admin-money-input input {
    padding-left: 28px;
}

.admin-product-image-preview {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 275px;
    margin-bottom: 20px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e4ddd0;
    background:
        linear-gradient(45deg, #f5f1e8 25%, transparent 25%),
        linear-gradient(-45deg, #f5f1e8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f5f1e8 75%),
        linear-gradient(-45deg, transparent 75%, #f5f1e8 75%),
        #faf8f3;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.admin-product-image-preview img {
    width: 100%;
    max-width: 265px;
    max-height: 310px;
    object-fit: contain;
    box-shadow: 0 10px 28px rgba(30, 27, 22, .12);
}

.admin-product-image-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    margin-bottom: 20px;
    border: 1px dashed #cfc6b6;
    color: var(--muted);
    background: #faf8f3;
    font-size: .85rem;
}

.admin-save-card {
    background: #24251f;
    color: var(--white);
    border-color: #24251f;
}

.admin-save-card p {
    margin: 10px 0 20px;
    color: rgba(255,255,255,.68);
    font-size: .86rem;
    line-height: 1.55;
}

.admin-save-card .admin-save-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--gold);
    color: #171713;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    font-weight: 850;
}

.admin-save-card .admin-save-button:hover {
    background: #c9a96b;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 0 12px 11px;
    color: #81796c;
    text-align: left;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 15px 12px;
    border-top: 1px solid #ece6da;
    color: #4d493f;
    font-size: .86rem;
    vertical-align: middle;
}

.admin-table td:first-child,
.admin-table th:first-child {
    padding-left: 0;
}

.admin-table td:last-child,
.admin-table th:last-child {
    padding-right: 0;
}

.admin-table strong {
    color: var(--ink);
}

.admin-table-action {
    text-align: right;
    white-space: nowrap;
}

.admin-table-action a {
    color: #6f5524;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
    border-bottom: 1px solid #cdb98f;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 850;
}

.admin-status.is-active {
    border: 1px solid #bcd8c7;
    background: #edf7f0;
    color: #2f6847;
}

.admin-status.is-inactive {
    border: 1px solid #d8d2c8;
    background: #f3f1ed;
    color: #756f66;
}

.admin-empty-state {
    margin: 0;
    padding: 22px;
    border: 1px dashed #d5cdbf;
    background: #faf8f3;
    color: var(--muted);
}

.admin-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 26px;
}

.admin-status-card p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
}

.admin-status-card form {
    flex: 0 0 auto;
    margin: 0;
}

.admin-status-card .btn,
.admin-status-card button {
    min-height: 44px;
    border: 1px solid #292720;
    border-radius: 999px;
    padding: 10px 17px;
    background: transparent;
    color: #292720;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 850;
}

.admin-status-card .btn-primary {
    background: #22231f;
    color: var(--white);
}

@media (max-width: 900px) {
    .admin-product-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-media-card,
    .admin-save-card {
        height: 100%;
    }
}

@media (max-width: 650px) {
    .admin-page-hero {
        padding: 38px 0 30px;
    }

    .admin-page-hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .admin-product-main {
        padding: 30px 0 65px;
    }

    .admin-product-toolbar,
    .admin-status-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-form-grid,
    .admin-product-sidebar {
        grid-template-columns: 1fr;
    }

    .admin-field-full {
        grid-column: auto;
    }

    .admin-card {
        padding: 21px 18px;
    }

    .admin-status-card form,
    .admin-status-card .btn,
    .admin-status-card button {
        width: 100%;
    }
}

