/* Mudfyre Ceramics — global stylesheet
   Warm-minimalist, editorial. Palette drawn from raw stoneware + wood ash. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500&display=swap');

:root {
    --bone:      #f4efe6;
    --bone-soft: #ebe3d5;
    --clay:      #c4a88b;
    --clay-deep: #8a6f55;
    --charcoal:  #2a2622;
    --ink:       #171513;
    --ember:     #9b3a2a;
    --rule:      rgba(23, 21, 19, 0.12);

    --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --max:    1320px;
}

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

html, body {
    margin: 0;
    padding: 0;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }

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

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.08;
}

p { margin: 0; }

/* --- Navigation --- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 239, 230, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.navbar .logo {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--ember);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list .highlight { color: var(--ink); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

/* --- Hero --- */

.hero-section {
    position: relative;
    height: 68vh;
    min-height: 500px;
    max-height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bone);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23,21,19,0.15) 0%, rgba(23,21,19,0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 0 var(--gutter);
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone-soft);
    margin-bottom: 1.4rem;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.04;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-content h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--clay);
}

.hero-content p {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    max-width: 520px;
    margin: 0 auto 2rem;
    color: rgba(244, 239, 230, 0.92);
}

/* --- Buttons --- */

.btn-primary,
.btn-ghost {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.95rem 2rem;
    border: 1px solid currentColor;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    background: transparent;
}

.btn-primary {
    background: var(--bone);
    color: var(--ink);
    border-color: var(--bone);
}

.btn-primary:hover {
    background: var(--ember);
    color: var(--bone);
    border-color: var(--ember);
}

.btn-ghost {
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--bone);
}

/* --- Section rhythm --- */

section {
    padding: clamp(4rem, 9vw, 8rem) 0;
}

.section-head {
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clay-deep);
    margin-bottom: 1rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-head p {
    color: var(--charcoal);
    opacity: 0.78;
    font-size: 1.05rem;
}

/* --- Editorial maker strip --- */

.maker-strip {
    background: var(--bone-soft);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.maker-strip .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.maker-point {
    padding: 0 0.5rem;
}

.maker-point .num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ember);
    margin-bottom: 0.6rem;
    display: block;
}

.maker-point h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.maker-point p {
    font-size: 0.96rem;
    color: var(--charcoal);
    opacity: 0.82;
    line-height: 1.6;
}

/* --- Featured product grid --- */

.product-showcase { background: var(--bone); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2.2rem);
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

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

.product-card .product-image {
    aspect-ratio: 4 / 5;
    background: var(--bone-soft);
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-image img { transform: scale(1.04); }

.product-card .product-image.placeholder {
    background:
        radial-gradient(circle at 30% 30%, rgba(196, 168, 139, 0.45), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(138, 111, 85, 0.3), transparent 55%),
        var(--bone-soft);
}

.product-card .product-image.placeholder::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, var(--clay), var(--clay-deep));
    opacity: 0.35;
    filter: blur(2px);
}

.product-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.2rem;
}

.product-card .price {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    opacity: 0.75;
    letter-spacing: 0.02em;
}

.showcase-footer {
    text-align: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* --- Category split --- */

.category-split {
    background: var(--charcoal);
    color: var(--bone);
    padding: 0;
}

.category-split .split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 520px;
}

.category-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.category-tile:nth-child(1) {
    background: linear-gradient(135deg, #3c342c 0%, #2a2622 100%);
}

.category-tile:nth-child(2) {
    background: linear-gradient(135deg, #5a4a3a 0%, #3c342c 100%);
}

.category-tile:nth-child(3) {
    background: linear-gradient(135deg, #2a2622 0%, #1f1c18 100%);
}

.category-tile:nth-child(4) {
    background: linear-gradient(135deg, #4a3f33 0%, #2a2622 100%);
}

.category-tile .inner {
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.category-tile h3 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.8rem;
}

.category-tile p {
    color: rgba(244, 239, 230, 0.72);
    margin-bottom: 1.6rem;
    font-size: 0.98rem;
}

.category-tile .tile-link {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--clay);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover .tile-link {
    color: var(--clay);
    border-color: var(--bone);
}

/* --- Maker pull quote --- */

.maker-quote {
    background: var(--bone);
    text-align: center;
    padding: clamp(5rem, 10vw, 9rem) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.maker-quote blockquote {
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    line-height: 1.35;
    max-width: 820px;
    margin: 0 auto 1.8rem;
    color: var(--ink);
}

.maker-quote blockquote::before,
.maker-quote blockquote::after {
    font-family: var(--serif);
    color: var(--ember);
    font-size: 1.4em;
}

.maker-quote .attribution {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--clay-deep);
}

/* --- Journal / stories --- */

.journal .journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.journal-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.journal-card .journal-image {
    aspect-ratio: 3 / 2;
    background: var(--bone-soft);
    margin-bottom: 1.2rem;
    overflow: hidden;
    position: relative;
}

.journal-card .journal-image.placeholder {
    background:
        linear-gradient(120deg, rgba(196, 168, 139, 0.4), rgba(138, 111, 85, 0.25)),
        var(--bone-soft);
}

.journal-card .journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.journal-card:hover .journal-image img { transform: scale(1.04); }

.journal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.journal-card p {
    color: var(--charcoal);
    opacity: 0.78;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

.journal-card .read-more {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ember);
    border-bottom: 1px solid currentColor;
    align-self: flex-start;
    padding-bottom: 2px;
}

/* --- Newsletter --- */

.newsletter {
    background: var(--clay-deep);
    color: var(--bone);
    text-align: center;
}

.newsletter h2 { color: var(--bone); margin-bottom: 0.8rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.newsletter p  { color: rgba(244, 239, 230, 0.85); max-width: 520px; margin: 0 auto 2.2rem; }

.subscribe-form {
    display: flex;
    gap: 0.6rem;
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(244, 239, 230, 0.4);
    padding-bottom: 0.5rem;
}

.subscribe-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--bone);
    font-family: var(--sans);
    font-size: 1rem;
    padding: 0.6rem 0;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(244, 239, 230, 0.55);
}

.subscribe-form button {
    background: transparent;
    border: 0;
    color: var(--bone);
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.6rem 0.4rem;
    transition: color 0.2s ease;
}

.subscribe-form button:hover { color: var(--clay); }

/* --- Footer --- */

footer {
    background: var(--ink);
    color: rgba(244, 239, 230, 0.7);
    padding: 3rem 0;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.8rem;
}

footer .footer-links a {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

footer .footer-links a:hover { color: var(--clay); }

/* --- Entrance animation --- */

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Split hero with signup card on right --- */

.hero-split .hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-split .hero-content {
    text-align: left;
    padding: 0;
    max-width: none;
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

.hero-split .hero-content p {
    margin: 0 0 1.8rem;
    max-width: 460px;
}

.hero-split .hero-content h1 {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.hero-signup {
    position: relative;
    background: rgba(23, 21, 19, 0.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(244, 239, 230, 0.14);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    max-width: 420px;
    justify-self: end;
    width: 100%;
    color: var(--bone);
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

.signup-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 0.9rem;
}

.hero-signup h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.3;
    margin-bottom: 0.7rem;
    color: var(--bone);
}

.hero-signup p {
    font-size: 0.92rem;
    color: rgba(244, 239, 230, 0.8);
    line-height: 1.55;
    margin-bottom: 1.4rem;
    max-width: none;
}

.hero-signup-form {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.4);
    padding-bottom: 0.3rem;
    transition: border-color 0.2s ease;
}

.hero-signup-form:focus-within { border-color: var(--clay); }

.hero-signup-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--bone);
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 0.55rem 0;
}

.hero-signup-form input[type="email"]::placeholder {
    color: rgba(244, 239, 230, 0.5);
}

.hero-signup-form button {
    background: transparent;
    border: 0;
    color: var(--bone);
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.55rem 0.4rem;
    transition: color 0.2s ease;
}

.hero-signup-form button:hover { color: var(--clay); }

/* --- Art-first: hero link variant --- */

.hero-link {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bone);
    border-bottom: 1px solid rgba(244, 239, 230, 0.6);
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
    color: var(--clay);
    border-color: var(--clay);
}

/* --- Artist statement --- */

.statement {
    background: var(--bone);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-bottom: 1px solid var(--rule);
}

.statement .container {
    max-width: 760px;
}

.statement p {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    line-height: 1.55;
    color: var(--ink);
    text-align: center;
}

/* --- Section head variants --- */

.section-head.aligned-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.section-head.aligned-left h2 {
    max-width: 640px;
}

/* --- Current work / gallery grid --- */

.current-work { background: var(--bone); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.gallery-piece {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.piece-image {
    aspect-ratio: 3 / 4;
    background: var(--bone-soft);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.2rem;
}

.piece-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-piece:hover .piece-image img { transform: scale(1.03); }

.piece-image.placeholder {
    background:
        radial-gradient(circle at 35% 30%, rgba(196, 168, 139, 0.4), transparent 60%),
        radial-gradient(circle at 65% 75%, rgba(138, 111, 85, 0.3), transparent 55%),
        var(--bone-soft);
}

.piece-image.placeholder::after {
    content: '';
    position: absolute;
    inset: 22%;
    border-radius: 48% 52% 52% 48% / 58% 46% 54% 42%;
    background: radial-gradient(ellipse at 40% 35%, var(--clay), var(--clay-deep));
    opacity: 0.4;
    filter: blur(2px);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-piece:hover .piece-image.placeholder::after { transform: scale(1.05); }

.piece-image.placeholder.small::after { inset: 28%; }

.piece-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.piece-cat {
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--clay-deep);
}

.gallery-piece h3 {
    font-size: 1.22rem;
    line-height: 1.25;
    font-style: italic;
    font-weight: 400;
}

.piece-status {
    font-size: 0.88rem;
    color: var(--charcoal);
    opacity: 0.78;
}

.status-available { color: var(--charcoal); }
.status-sold {
    color: var(--clay-deep);
    font-style: italic;
    letter-spacing: 0.05em;
}

.showcase-footer.aligned-left { text-align: left; }

/* --- Bodies of Work tiles --- */

.bodies-of-work { background: var(--bone-soft); }

.bodies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.body-tile {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    text-decoration: none;
    color: inherit;
    background: var(--bone);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 280px;
}

.body-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px -24px rgba(23, 21, 19, 0.2);
}

.body-image {
    background: var(--bone-soft);
    position: relative;
    min-height: 240px;
    overflow: hidden;
}

.body-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.body-tile:hover .body-image img { transform: scale(1.04); }

.body-image.placeholder {
    background:
        radial-gradient(circle at 30% 40%, rgba(196, 168, 139, 0.5), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(155, 58, 42, 0.18), transparent 55%),
        linear-gradient(160deg, var(--bone-soft) 0%, var(--clay) 180%);
}

.body-text {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}

.body-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.body-text p {
    color: var(--charcoal);
    opacity: 0.78;
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

.body-text .tile-link {
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ember);
    align-self: flex-start;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* --- Quiet table strip (utility under the fold) --- */

.quiet-table {
    background: var(--bone);
    padding: clamp(4rem, 8vw, 6rem) 0;
    border-top: 1px solid var(--rule);
}

.quiet-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    flex-wrap: wrap;
}

.quiet-head h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin-top: 0.5rem;
}

.quiet-link {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--charcoal);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.quiet-link:hover {
    color: var(--ember);
    border-color: var(--ember);
}

.quiet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2vw, 1.8rem);
}

.quiet-piece {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    gap: 0.5rem;
}

.quiet-piece .piece-image {
    aspect-ratio: 1 / 1;
    margin-bottom: 0.6rem;
}

.quiet-piece h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

.quiet-price {
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.7;
}

/* --- /work page --- */

.work-header {
    padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--rule);
}

.work-header .container { max-width: 820px; }

.work-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 1rem 0 1.5rem;
}

.work-header p {
    color: var(--charcoal);
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 640px;
}

.work-gallery { padding-top: clamp(3rem, 6vw, 5rem); }

.empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--charcoal);
    opacity: 0.6;
    padding: 3rem 0;
    font-style: italic;
}

/* --- Flash messages --- */

.flash-messages {
    position: fixed;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(520px, calc(100vw - 2rem));
    width: 100%;
    pointer-events: none;
}

.flash {
    background: var(--ink);
    color: var(--bone);
    padding: 0.85rem 1.2rem;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-left: 3px solid var(--clay);
    box-shadow: 0 12px 36px -18px rgba(23, 21, 19, 0.5);
    animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    pointer-events: auto;
}

.flash-success { border-left-color: var(--clay); }
.flash-info    { border-left-color: var(--clay-deep); }
.flash-error   { border-left-color: var(--ember); }

/* --- Nav adjustments --- */

.nav-auth a,
.nav-auth .logout-form button {
    font-size: 0.78rem;
    opacity: 0.7;
}

.nav-auth .logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.nav-auth .logout-form button {
    background: none;
    border: 0;
    padding: 0.25rem 0;
    cursor: pointer;
    color: var(--charcoal);
    font-family: inherit;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-auth .logout-form button:hover {
    color: var(--ink);
    opacity: 1;
}

.cart-link a {
    letter-spacing: 0.18em;
}

/* --- Footer rework --- */

footer .container {
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}

.footer-mark {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--bone);
    letter-spacing: 0.02em;
}

.footer-tag {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    opacity: 0.65;
}

.footer-copy {
    font-size: 0.78rem;
    opacity: 0.5;
    margin: 0;
}

/* --- Responsive --- */

@media (max-width: 900px) {
    .product-grid,
    .journal .journal-grid,
    .gallery-grid,
    .maker-strip .container {
        grid-template-columns: 1fr 1fr;
    }
    .bodies-grid,
    .quiet-grid,
    .category-split .split-grid {
        grid-template-columns: 1fr;
    }
    .body-tile { grid-template-columns: 1fr; }
    .body-image { min-height: 220px; }
    .quiet-grid { grid-template-columns: 1fr 1fr; }

    .hero-section {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: clamp(3.5rem, 10vw, 5rem) 0;
    }
    .hero-split .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .hero-signup { justify-self: stretch; max-width: none; }
}

@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bone);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--rule);
        display: none;
    }
    .nav-list.open { display: flex; }
    .nav-list li { width: 100%; text-align: center; padding: 0.65rem 0; }

    .product-grid,
    .journal .journal-grid,
    .gallery-grid,
    .maker-strip .container {
        grid-template-columns: 1fr;
    }
    .quiet-grid { grid-template-columns: 1fr 1fr; }
    .quiet-head { flex-direction: column; align-items: flex-start; }

    .subscribe-form {
        flex-direction: column;
        gap: 0.8rem;
        border-bottom: 0;
    }
    .subscribe-form input[type="email"] {
        border-bottom: 1px solid rgba(244, 239, 230, 0.4);
        text-align: center;
    }
    .subscribe-form button {
        border: 1px solid rgba(244, 239, 230, 0.4);
        padding: 0.9rem;
    }

    footer .container { flex-direction: column; text-align: center; }
}

/* ====================================================================
   Store v2 — checkout, art-first PDP, editorial series, collections.
   Uses the project tokens (--bone, --clay, --ink, --serif, --ember).
   ==================================================================== */

.container.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Flash success/info/error ---- */
.flash-banner {
    background: var(--bone-soft);
    border-left: 3px solid var(--clay);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}

/* ---- Form primitives ---- */
.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.field > label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clay-deep);
    margin-bottom: 0.4rem;
}
.field .optional {
    color: var(--clay);
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}
.field input,
.field select,
.field textarea {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    font-size: 1rem;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--clay-deep);
}
.field-error input,
.field-error select,
.field-error textarea { border-color: var(--ember); }
.form-error { color: var(--ember); font-size: 0.85rem; margin-top: 0.3rem; }
.form-error-banner {
    background: rgba(155, 58, 42, 0.08);
    border-left: 3px solid var(--ember);
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.field-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.85rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---- Checkout layout ---- */
.checkout { padding: 2rem 0 4rem; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.4fr 1fr; } }

.checkout-section { border: none; padding: 0; margin: 0 0 2rem 0; }
.checkout-section legend {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule);
    width: 100%;
}

.card-element {
    padding: 0.85rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: var(--bone);
}
.checkout-submit {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: var(--ink);
    color: var(--bone);
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.2s;
}
.checkout-submit:hover { background: var(--charcoal); }
.checkout-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.checkout-fineprint {
    font-size: 0.82rem;
    color: var(--clay-deep);
    margin-top: 0.6rem;
    text-align: center;
    font-style: italic;
}

.checkout-summary {
    background: var(--bone-soft);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}
.checkout-summary h2 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rule);
}
.summary-items { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.summary-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
}
.summary-item img { width: 60px; height: 60px; object-fit: cover; }
.summary-item-name { font-family: var(--serif); font-size: 1rem; }
.summary-item-meta { color: var(--clay-deep); font-size: 0.82rem; letter-spacing: 0.04em; }
.summary-item-subtotal { font-size: 0.95rem; }

.summary-totals { margin: 0; }
.summary-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--ink);
}
.summary-totals dt { color: var(--clay-deep); }
.summary-totals dd { margin: 0; }
.summary-total {
    border-top: 1px solid var(--rule);
    margin-top: 0.5rem;
    padding-top: 0.8rem !important;
    font-family: var(--serif) !important;
    font-size: 1.15rem !important;
}

/* ---- Order success ---- */
.order-success { padding: 3rem 0 4rem; }
.order-success .eyebrow {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--clay-deep);
}
.order-success h1 {
    font-family: var(--serif);
    font-size: 2.6rem;
    line-height: 1.1;
    margin: 0.6rem 0 1rem;
    color: var(--ink);
}
.order-success .lede {
    font-size: 1.1rem; color: var(--ink); opacity: 0.85;
    margin-bottom: 2rem; line-height: 1.65;
}
.receipt {
    background: var(--bone-soft);
    padding: 1.8rem;
    margin-bottom: 2rem;
}
.receipt h2 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule);
}
.receipt-items { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.receipt-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
}
.receipt-item img { width: 60px; height: 60px; object-fit: cover; }
.receipt-item-name { font-family: var(--serif); }
.receipt-item-meta { color: var(--clay-deep); font-size: 0.82rem; }
.receipt-shipping h3 {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--clay-deep); margin: 1rem 0 0.4rem;
}
.receipt-shipping address { font-style: normal; line-height: 1.5; }
.success-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Art-first PDP ---- */
.pdp { padding-bottom: 0; }
.pdp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2rem 0 3rem;
}
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

.pdp-gallery-main {
    position: relative;
    background: var(--bone-soft);
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.pdp-gallery-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pdp-gallery-img.active { opacity: 1; }
.pdp-badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--ink); color: var(--bone);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.pdp-gallery-thumbs {
    display: flex; gap: 0.5rem;
    margin-top: 0.6rem;
    overflow-x: auto;
}
.pdp-thumb {
    border: 2px solid transparent;
    background: none; padding: 0; cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}
.pdp-thumb.active { border-color: var(--clay-deep); }
.pdp-thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }

/* PDP buy box */
.pdp-buy { padding-top: 0.5rem; }
.pdp-eyebrow {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--clay-deep); margin-bottom: 0.5rem;
}
.pdp-eyebrow a { color: inherit; text-decoration: none; }
.pdp-eyebrow a:hover { color: var(--ink); }
.pdp-title {
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.pdp-rating {
    display: flex; gap: 0.5rem; align-items: center;
    color: var(--clay-deep); margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.rating-stars { color: var(--clay); letter-spacing: 2px; }
.pdp-price {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 1rem;
}
.pdp-lede {
    font-size: 1.05rem; color: var(--ink); opacity: 0.85;
    margin-bottom: 1.2rem; line-height: 1.65;
}

.pdp-selectors {
    display: flex; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pdp-selectors label {
    display: flex; flex-direction: column;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--clay-deep); gap: 0.3rem;
}
.pdp-selectors select {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--rule);
    background: var(--bone);
    color: var(--ink);
    font-size: 0.95rem; min-width: 160px;
    border-radius: 2px;
    font-family: var(--sans);
}

.pdp-stock {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; color: var(--ink);
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-in { background: #4a7c47; }
.dot-out { background: var(--ember); }

.pdp-buy-form {
    display: flex; gap: 0.85rem; align-items: flex-end;
    margin-bottom: 1rem;
}
.pdp-qty {
    display: flex; flex-direction: column;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--clay-deep); gap: 0.3rem;
}
.pdp-qty input {
    width: 70px;
    padding: 0.7rem;
    border: 1px solid var(--rule);
    background: var(--bone);
    color: var(--ink);
    font-size: 1rem;
    border-radius: 2px;
}
.pdp-add {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: var(--ink);
    color: var(--bone);
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.2s;
}
.pdp-add:hover { background: var(--charcoal); }

.pdp-waitlist { margin: 1rem 0; }
.pdp-waitlist > label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clay-deep);
    margin-bottom: 0.4rem;
}
.pdp-waitlist-row { display: flex; gap: 0.5rem; }
.pdp-waitlist-row input {
    flex: 1;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--rule);
    background: var(--bone);
    color: var(--ink);
    font-size: 0.95rem;
    border-radius: 2px;
}
.pdp-waitlist-row button {
    padding: 0.7rem 1.2rem;
    background: var(--ink);
    color: var(--bone);
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--sans);
}
.pdp-fineprint {
    font-size: 0.82rem;
    color: var(--clay-deep);
    margin-top: 0.5rem;
}
.pdp-fineprint-handmade {
    border-top: 1px solid var(--rule);
    padding-top: 1rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* PDP studio note */
.pdp-studio {
    background: var(--bone-soft);
    padding: 3rem 0;
}
.pdp-section-eyebrow {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--clay-deep); margin-bottom: 1rem;
}
.pdp-section-title {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
    font-weight: 400;
}
.pdp-maker-notes {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--ink);
}
.pdp-maker-notes p { margin-bottom: 1rem; }

/* PDP specs strip */
.pdp-specs {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 2.5rem 0;
}
.pdp-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 0;
}
.pdp-specs-grid > div { margin: 0; }
.pdp-specs-grid dt {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--clay-deep); margin-bottom: 0.4rem;
}
.pdp-specs-grid dd {
    margin: 0; color: var(--ink); font-size: 0.98rem;
    line-height: 1.5;
    font-family: var(--serif);
}

/* PDP reviews */
.pdp-reviews { padding: 3rem 0; }
.pdp-review-list { list-style: none; padding: 0; margin: 0; }
.pdp-review { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.pdp-review-stars { color: var(--clay); letter-spacing: 2px; margin-bottom: 0.4rem; }
.pdp-review-body {
    color: var(--ink); line-height: 1.65; margin-bottom: 0.4rem;
    font-family: var(--serif); font-size: 1.05rem;
}
.pdp-review-meta { color: var(--clay-deep); font-size: 0.82rem; }

/* PDP related */
.pdp-related { padding: 3rem 0; background: var(--bone-soft); }

/* ---- Editorial series (category) page ---- */
.series-hero {
    position: relative;
    padding: 8rem 0 5rem;
    color: var(--bone);
    background: var(--charcoal);
    text-align: center;
    overflow: hidden;
}
.series-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--series-img);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}
.series-hero > .container { position: relative; z-index: 1; }
.series-eyebrow {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em;
    color: rgba(244, 239, 230, 0.6); margin-bottom: 1rem;
}
.series-title {
    font-family: var(--serif);
    font-size: 3.2rem;
    line-height: 1.05;
    margin-bottom: 1rem;
    font-weight: 400;
}
.series-tagline {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: rgba(244, 239, 230, 0.85);
    font-style: italic;
}
@media (max-width: 600px) {
    .series-hero { padding: 5rem 0 3.5rem; }
    .series-title { font-size: 2.2rem; }
}

.series-intro { padding: 3rem 0; background: var(--bone-soft); }
.series-intro-body {
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ink);
}
.series-intro-body p { margin-bottom: 1rem; }

.series-work { padding: 3rem 0 5rem; }
.series-section-eyebrow {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--clay-deep); margin-bottom: 1.5rem;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.series-card { text-decoration: none; color: inherit; display: block; transition: transform 0.25s; }
.series-card:hover { transform: translateY(-2px); }
.series-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bone-soft);
    overflow: hidden;
    margin-bottom: 0.85rem;
}
.series-card-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.series-card:hover .series-card-image img { transform: scale(1.03); }
.series-card-badge {
    position: absolute; top: 0.85rem; left: 0.85rem;
    background: var(--ink); color: var(--bone);
    padding: 0.3rem 0.7rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.series-card-badge-soft { background: rgba(23, 21, 19, 0.7); }
.series-card-name {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
    font-weight: 400;
}
.series-card-meta { font-size: 0.82rem; color: var(--clay-deep); margin-bottom: 0.3rem; }
.series-card-price { font-size: 0.95rem; color: var(--ink); }
.series-empty {
    text-align: center; padding: 4rem 1rem;
    color: var(--clay-deep); font-style: italic;
}
.series-empty a { color: var(--ink); }

/* ---- Collections landing ---- */
.collections-hero {
    padding: 6rem 0 3rem;
    text-align: center;
    background: var(--bone-soft);
}
.collections-title {
    font-family: var(--serif);
    font-size: 3.2rem;
    line-height: 1.05;
    margin: 1rem 0;
    color: var(--ink);
    font-weight: 400;
}
.collections-lede {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .collections-hero { padding: 4rem 0 2.5rem; }
    .collections-title { font-size: 2.2rem; }
}

.just-out { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.just-out-head { margin-bottom: 1.5rem; }
.just-out-sub {
    color: var(--clay-deep);
    font-size: 0.95rem;
    font-style: italic;
    font-family: var(--serif);
}
.just-out-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.just-out-card { text-decoration: none; color: inherit; display: block; }
.just-out-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bone-soft);
    margin-bottom: 0.5rem;
}
.just-out-card-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.just-out-card:hover .just-out-card-image img { transform: scale(1.04); }
.just-out-card-cat {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--clay-deep); margin-bottom: 0.15rem;
}
.just-out-card-name {
    font-family: var(--serif); font-size: 1rem;
    color: var(--ink); margin-bottom: 0.15rem;
}
.just-out-card-price { font-size: 0.88rem; color: var(--clay-deep); }

.series-index { padding: 4rem 0; }
.series-index-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 700px) { .series-index-grid { grid-template-columns: repeat(2, 1fr); } }
.series-tile { text-decoration: none; color: inherit; display: block; transition: transform 0.25s; }
.series-tile:hover { transform: translateY(-3px); }
.series-tile-image {
    aspect-ratio: 16 / 10;
    background: var(--bone-soft);
    overflow: hidden;
    margin-bottom: 1rem;
}
.series-tile-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.series-tile:hover .series-tile-image img { transform: scale(1.03); }
.series-tile-name {
    font-family: var(--serif);
    font-size: 1.7rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
    font-weight: 400;
}
.series-tile-tagline {
    font-family: var(--serif); font-style: italic;
    color: var(--clay-deep);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.series-tile-count {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--clay-deep);
}

/* ---- Footer subscribe (added section) ---- */
.footer-subscribe {
    border-top: 1px solid rgba(244, 239, 230, 0.1);
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
    padding: 1rem 0;
    margin: 1rem 0;
}
.footer-subscribe-eyebrow {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: rgba(244, 239, 230, 0.5); margin-bottom: 0.4rem;
}
.footer-subscribe-lede {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: rgba(244, 239, 230, 0.8);
    margin-bottom: 0.6rem;
    font-style: italic;
    line-height: 1.5;
}
.footer-subscribe-form {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
}
.footer-subscribe-form input {
    flex: 1;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(244, 239, 230, 0.2);
    background: rgba(244, 239, 230, 0.05);
    color: var(--bone);
    border-radius: 0;
    font-size: 0.92rem;
    font-family: var(--sans);
}
.footer-subscribe-form input::placeholder { color: rgba(244, 239, 230, 0.4); }
.footer-subscribe-form input:focus {
    outline: none;
    border-color: rgba(244, 239, 230, 0.5);
}
.footer-subscribe-form button {
    padding: 0.65rem 1.2rem;
    background: var(--bone);
    color: var(--ink);
    border: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.2s, color 0.2s;
}
.footer-subscribe-form button:hover { background: var(--clay); color: var(--ink); }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
