/*  ═══════════════════════════════════════════════════════════════
    shop.mazinomron.com — shared stylesheet
    fine art photography editions
    ═══════════════════════════════════════════════════════════════ */

:root {
    /* Synced with mazinomron.com. The greens here are the softer web
       pair (#576d5a / #7e998a), not the heavier graphics green — the
       darker one is reserved for icons and printed collateral. */
    --bg: #f4f3ee;
    --bg-paper: #faf9f4;
    --bg-warm: #efeee7;
    --ink: #1b1a17;
    --ink-soft: #3b3a36;
    --ink-muted: #65645f;
    --ink-pale: #75746e;
    --sage: #7e998a;
    --sage-dark: #576d5a;
    --sage-pale: #e4eae4;
    --rule: #bebdb8;
    --rule-soft: #d6d5d0;
    --display: 'Fraunces', serif;
    --display-alt: 'Fraunces', serif;
    --body: 'Urbanist', sans-serif;
    --accent: 'IBM Plex Mono', monospace;
    --form: 'Maven Pro', sans-serif;   /* mazinomron.com uses this for body + forms */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-pill: 50px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--sage-dark);
    color: var(--bg-paper);
}

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

a { color: inherit; }

/* Accessibility foundation */
.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 2000;
    padding: 12px 16px;
    background: var(--ink);
    color: var(--bg-paper);
    font-family: var(--accent);
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

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

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid #204b31;
    outline-offset: 3px;
}

.colophon :where(a, button, input):focus-visible,
.policy-contact :where(a, button):focus-visible {
    outline-color: var(--bg-paper);
}

main:focus { outline: none; }
.nav-toggle { display: none; }

/* ═══ HEADER / NAV ═══ */
header#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 56px;
    background: rgba(244, 243, 238, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease, padding 0.4s ease;
}

header#header.scrolled {
    border-bottom-color: var(--rule);
    padding: 18px 56px;
}

.logo {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* ─── Logo suffix: marks this as the print arm of the studio ─── */
.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
}

.logo-suffix {
    font-family: var(--accent);
    font-style: normal;
    font-size: 9px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    color: var(--sage-dark);
    border: 1px solid var(--sage-dark);
    border-radius: 2px;
    padding: 3px 6px 2px;
    position: relative;
    top: -2px;
}

/* ─── Parent-site link: visually separated from the shop's own nav ─── */
.nav-parent {
    padding-left: 20px;
    margin-left: 4px;
    border-left: 1px solid var(--rule);
}

.nav-parent a { color: var(--ink-muted); }
.nav-parent a:hover { color: var(--sage-dark); }

nav ul {
    display: flex;
    gap: 38px;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--ink-soft);
    text-transform: lowercase;
    letter-spacing: 1.8px;
    font-size: 11px;
    font-family: var(--accent);
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--sage-dark);
    transition: width 0.4s ease;
}

nav a:hover { color: var(--ink); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--ink); }
nav a.active::after { width: 100%; }

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink) !important;
}

.nav-cart-count {
    font-family: var(--display);
    font-style: italic;
    color: var(--sage-dark);
    font-size: 13px;
}

/* ═══ COMMON SECTIONS ═══ */

.section-label {
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 4px;
    color: var(--sage-dark);
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--sage);
    opacity: 0.6;
}

.section-label.left::before { display: none; }
.section-label.left { padding-left: 0; }

/* Page hero (title at the top of inner pages) */
.page-hero {
    padding: 200px 56px 80px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
}

.page-hero .breadcrumb {
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 3px;
    color: var(--ink-muted);
    margin-bottom: 24px;
}

.page-hero .breadcrumb a {
    text-decoration: none;
    color: var(--ink-muted);
    transition: color 0.3s ease;
}

.page-hero .breadcrumb a:hover { color: var(--sage-dark); }

.page-hero .breadcrumb .sep {
    margin: 0 10px;
    color: var(--ink-pale);
}

.page-hero h1 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 28px;
    color: var(--ink);
}

.page-hero h1 em {
    font-style: italic;
    color: var(--sage-dark);
}

.page-hero .subtitle {
    font-family: var(--display-alt);
    font-style: italic;
    font-weight: 300;
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ═══ COLOPHON / NEWSLETTER ═══ */
.colophon {
    padding: 140px 56px;
    text-align: center;
    background: var(--sage-dark);
    color: var(--bg-paper);
    position: relative;
    overflow: hidden;
}

.colophon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(245, 240, 227, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.colophon-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.colophon .section-label { color: var(--sage-pale); }
.colophon .section-label::before,
.colophon .section-label::after { background: var(--sage-pale); }

.colophon h2 {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 50px);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.4px;
}

.colophon h2 em {
    font-style: italic;
    color: var(--sage-pale);
}

.colophon-tagline {
    font-family: var(--display-alt);
    font-style: italic;
    font-size: 17px;
    color: rgba(250, 249, 244, 0.9);
    margin-bottom: 48px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(245, 240, 227, 0.4);
    padding-bottom: 4px;
    transition: border-color 0.3s ease;
}

.subscribe-form:focus-within { border-color: var(--bg-paper); }

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bg-paper);
    font-family: var(--body);
    font-size: 15px;
    padding: 14px 0;
    font-weight: 300;
}

.subscribe-form input::placeholder { color: rgba(250, 249, 244, 0.78); }

.subscribe-form button {
    background: transparent;
    border: none;
    color: var(--bg-paper);
    font-family: var(--accent);
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    padding: 14px 0 14px 24px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.subscribe-form button:hover { opacity: 0.7; }

.colophon-fineprint {
    margin-top: 24px;
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    color: rgba(250, 249, 244, 0.82);
}

.form-status {
    min-height: 1.5em;
    margin-top: 12px;
    font-family: var(--accent);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--bg-paper);
}

/* ═══ FOOTER ═══ */
footer {
    background: var(--bg);
    padding: 100px 56px 40px;
    border-top: 1px solid var(--rule);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    font-family: var(--display);
    font-size: 30px;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 18px;
}

.footer-brand-tagline {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 320px;
}

.footer-brand-tagline a,
.footer-base a {
    color: var(--sage-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    transition: border-color 0.2s ease;
}

.footer-brand-tagline a:hover,
.footer-base a:hover { border-bottom-color: var(--sage-dark); }

.footer-press {
    margin-top: 28px;
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    color: var(--ink-muted);
}

.footer-press strong {
    color: var(--ink);
    font-weight: 500;
}

.footer-col h2,
.footer-col h4 {
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    color: var(--sage-dark);
    margin-bottom: 22px;
    font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 13px;
    text-transform: lowercase;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.footer-col a:hover { color: var(--sage-dark); }

.footer-base {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: var(--ink-muted);
}

/* ═══ BUTTONS ═══ */
.btn-primary {
    display: inline-block;
    background: var(--sage-dark);
    color: var(--bg-paper);
    border: none;
    padding: 16px 36px;
    font-family: var(--accent);
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover { background: var(--sage); }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    padding: 15px 36px;
    font-family: var(--accent);
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover { background: var(--ink); color: var(--bg-paper); }

.btn-text {
    font-family: var(--accent);
    font-size: 11px;
    text-transform: lowercase;
    letter-spacing: 3px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.btn-text:hover {
    color: var(--sage-dark);
    border-color: var(--sage-dark);
}

/* ═══ PRINT CARD (used across pages) ═══ */
.print-card {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: block;
}

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

/* ═══════════════════════════════════════════════════════════════
   PHOTOGRAPHS AS REAL <img>
   These were CSS background-images, which Google Images cannot index
   and Pinterest cannot save — the Pinterest button only finds <img>
   tags. For a shop that expects to be found rather than promoted,
   that made every photograph on the site invisible.
   The containers keep their layout; the <img> fills them.
   ═══════════════════════════════════════════════════════════════ */
.print-card-image,
.product-thumb,
.row-thumb,
.cover-plate-img,
.next-chapter-image,
.bio-portrait,
#mainImage { overflow: hidden; }

.print-card-image > img,
.product-thumb > img,
.row-thumb > img,
.cover-plate-img > img,
.next-chapter-image > img,
.bio-portrait > img,
#mainImage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.print-card-image {
    background-size: cover;
    background-position: center;
    margin-bottom: 18px;
    aspect-ratio: 4/5;
    transition: filter 0.4s ease;
}

.print-card:hover .print-card-image { filter: brightness(0.94); }

.print-card-info {
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.print-card-info h3,
.print-card-info h4 {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    color: var(--ink);
}

.print-card-info .price {
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 1.8px;
    color: var(--ink-muted);
    white-space: nowrap;
}

.print-card-info .price em {
    font-style: italic;
    color: var(--sage-dark);
}

.coming-soon-tag {
    display: inline-block;
    margin-left: 6px;
    font-family: var(--display);
    font-style: italic;
    font-size: 11px;
    color: var(--sage-dark);
}

/* ═══ FORM ELEMENTS ═══ */
.form-group {
    margin-bottom: 28px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: var(--accent);
    font-size: 10px;
    text-transform: lowercase;
    letter-spacing: 2.5px;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-paper);
    border: 1px solid var(--rule);
    outline: none;
    color: var(--ink);
    font-family: var(--body);
    font-size: 15px;
    padding: 14px 16px;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sage-dark);
    outline: 3px solid rgba(87, 109, 90, 0.28);
    outline-offset: 2px;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-family: var(--body);
}

/* ═══ REVEAL ═══ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    header#header { padding: 16px 24px; }
    header#header.scrolled { padding: 14px 24px; }
    nav ul { gap: 16px; }
    /* Parent-site link is long; it stays available in the footer */
    .nav-parent { display: none; }
    .page-hero { padding: 140px 24px 60px; }
    .colophon { padding: 100px 24px; }
    footer { padding: 80px 24px 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-base { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 560px) {
    header#header {
        min-height: 68px;
        background: rgba(244, 243, 238, 0.97);
    }
    header#header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-paper);
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow-soft);
        padding: 10px 20px 18px;
    }
    .js header#header nav[hidden] { display: none; }
    header#header nav ul {
        display: grid;
        gap: 0;
    }
    header#header nav a {
        display: block;
        min-height: 44px;
        padding: 13px 4px 10px;
        font-size: 11px;
        letter-spacing: 1.7px;
        border-bottom: 1px solid var(--rule-soft);
    }
    header#header nav li:last-child a { border-bottom: 0; }
    header#header nav a::after { bottom: 8px; }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin: -6px -8px -6px auto;
        border: 0;
        background: transparent;
        color: var(--ink);
        font-family: var(--accent);
        font-size: 10px;
        letter-spacing: 1.5px;
        text-transform: lowercase;
        cursor: pointer;
    }
    .logo { font-size: 18px; gap: 7px; }
    /* Header is too tight at this width for the badge; the wordmark carries it */
    .logo-suffix { display: none; }
    .subscribe-form {
        flex-direction: column;
        border: none;
        gap: 16px;
    }
    .subscribe-form input {
        border-bottom: 1px solid rgba(245, 240, 227, 0.4);
        padding: 12px 4px;
    }
    .subscribe-form button {
        min-height: 44px;
        padding: 14px 24px;
        background: var(--bg-paper);
        color: var(--sage-dark);
    }
}

@media (max-width: 360px) {
    header#header { padding-inline: 16px; }
    .logo { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
    :where(a, button, input, textarea, select):focus-visible {
        outline: 3px solid CanvasText;
    }
}
