:root {
  --ink: #111111;
  --paper: #f6f0e7;
  --gold: #c89b4a;
  --cream: #ede1d0;
  --warm-gray: #81786f;
  --paper-2: #fbf8f3;
  --line: rgba(17, 17, 17, 0.14);
  --line-dark: rgba(246, 240, 231, 0.18);
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; transform: translateY(-150%); z-index: 999; padding: 0.75rem 1rem; background: var(--paper); color: var(--ink); border-radius: 999px; }
.skip-link:focus { transform: translateY(0); }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(17, 17, 17, 0.95); color: var(--paper); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark); }
.header-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { text-decoration: none; display: inline-flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand-mark { width: 42px; height: 42px; border: 1px solid rgba(200, 155, 74, 0.72); display: grid; place-items: center; font: 700 1rem/1 var(--serif); color: var(--gold); border-radius: 50%; flex: 0 0 auto; }
.brand-copy { min-width: 0; }
.brand-name { display: block; font: 700 clamp(0.95rem, 2vw, 1.08rem)/1.1 var(--serif); letter-spacing: 0.01em; white-space: nowrap; }
.brand-role { display: block; margin-top: 0.25rem; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 240, 231, 0.64); }

.primary-nav { display: none; align-items: center; gap: 1.35rem; }
.primary-nav a { text-decoration: none; font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.11em; color: rgba(246, 240, 231, 0.82); transition: color 160ms ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold); }
.nav-store { padding: 0.65rem 0.95rem; border: 1px solid rgba(200, 155, 74, 0.5); border-radius: 999px; }
.menu-button { border: 1px solid var(--line-dark); background: transparent; color: var(--paper); min-width: 44px; min-height: 44px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.menu-button span, .menu-button::before, .menu-button::after { width: 18px; height: 1px; background: currentColor; display: block; content: ""; transition: transform 160ms ease, opacity 160ms ease; }
.menu-button span { margin: 4px 0; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 76px 0 0; background: var(--ink); color: var(--paper); z-index: 55; padding: 1.5rem; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: grid; }
.mobile-menu a { text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); font: 700 clamp(1.35rem, 6vw, 2rem)/1.2 var(--serif); }
.mobile-menu .small-links { display: grid; gap: 0.75rem; margin-top: 2rem; color: rgba(246, 240, 231, 0.62); font-size: 0.9rem; }

main { flex: 1; }
.page { min-height: calc(100vh - 76px); }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 0.9rem; font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 800; color: var(--gold); }
.display { margin: 0; font: 700 clamp(2.8rem, 9vw, 6.5rem)/0.92 var(--serif); letter-spacing: -0.04em; }
.page-title { margin: 0; font: 700 clamp(2.55rem, 8vw, 5.2rem)/0.98 var(--serif); letter-spacing: -0.03em; }
.section-title { margin: 0; font: 700 clamp(2rem, 5vw, 3.8rem)/1 var(--serif); letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 2.5vw, 1.32rem); line-height: 1.7; color: var(--warm-gray); }
.body-copy { line-height: 1.75; color: #4b4641; }
.meta { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--warm-gray); }

.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-inner { min-height: min(760px, calc(100vh - 76px)); width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) 0 4rem; display: grid; gap: 3rem; align-items: end; position: relative; }
.hero-copy { position: relative; z-index: 2; max-width: 860px; }
.hero .display { max-width: 900px; }
.hero-lead { max-width: 680px; margin: 1.5rem 0 0; color: rgba(246, 240, 231, 0.72); font-size: clamp(1.05rem, 2.3vw, 1.35rem); line-height: 1.65; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button { appearance: none; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.8rem 1.1rem; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-secondary { border-color: rgba(246, 240, 231, 0.35); color: var(--paper); background: transparent; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-outline { background: transparent; color: var(--ink); border-color: rgba(17, 17, 17, 0.28); }
.button-danger { background: #772a25; color: white; }
.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.hero-ornament { position: absolute; width: min(540px, 82vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(200, 155, 74, 0.24); right: -15%; top: 5%; opacity: 0.75; }
.hero-ornament::before, .hero-ornament::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(246, 240, 231, 0.08); border-radius: 50%; }
.hero-ornament::after { inset: 28%; }
.hero-note { font: italic 700 clamp(1.15rem, 3vw, 1.5rem)/1.5 var(--serif); color: var(--gold); max-width: 460px; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-cream { background: var(--cream); }
.section-paper-2 { background: var(--paper-2); }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section-heading .lead { max-width: 720px; margin: 0; }
.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1rem; }

.editorial-card { border: 1px solid var(--line); background: rgba(255,255,255,0.23); padding: 1.35rem; border-radius: 18px; }
.editorial-card h3 { margin: 0.2rem 0 0.6rem; font: 700 1.45rem/1.2 var(--serif); }
.editorial-card p { margin: 0; line-height: 1.65; color: var(--warm-gray); }

.feature-book { display: grid; gap: 2rem; align-items: center; }
.book-cover { width: min(100%, 340px); aspect-ratio: 2 / 3; background: linear-gradient(145deg, #171717, #29241d); color: var(--paper); border: 1px solid rgba(200, 155, 74, 0.44); border-radius: 6px 18px 18px 6px; box-shadow: var(--shadow); padding: 2.2rem 1.8rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.book-cover::before { content: ""; position: absolute; inset: 0 auto 0 8px; border-left: 1px solid rgba(246, 240, 231, 0.14); }
.book-cover .book-small { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.book-cover .book-title { font: 700 clamp(2.15rem, 8vw, 3.7rem)/0.92 var(--serif); letter-spacing: -0.04em; }
.book-cover .book-author { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 240, 231, 0.7); }
.book-info h3 { margin: 0; font: 700 clamp(2rem, 5vw, 3.5rem)/1 var(--serif); }
.book-info .lead { margin: 1rem 0 0; }
.price { font-weight: 800; margin-top: 1rem; }

.content-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.list-item { display: grid; gap: 0.8rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list-item:hover h3 { color: #8c651f; }
.list-item h3 { margin: 0; font: 700 clamp(1.45rem, 4vw, 2.2rem)/1.15 var(--serif); transition: color 160ms ease; }
.list-item p { margin: 0; color: var(--warm-gray); line-height: 1.6; }

.page-hero { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); background: var(--ink); color: var(--paper); }
.page-hero .lead { color: rgba(246, 240, 231, 0.66); max-width: 760px; margin: 1.4rem 0 0; }

.globe-layout { display: grid; gap: 2rem; align-items: center; }
.globe-wrap { width: min(100%, 540px); aspect-ratio: 1; justify-self: center; position: relative; background: radial-gradient(circle at 50% 48%, #111923 0 50%, #090b0f 72%, #050607 100%); border-radius: 50%; box-shadow: 0 0 0 1px rgba(246,240,231,0.08), 0 0 44px rgba(84,145,204,0.16), 0 34px 90px rgba(0,0,0,0.44); overflow: visible; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; border-radius: 50%; filter: saturate(.94) contrast(1.06); }
.globe-legend { display: grid; gap: 0.8rem; margin-top: 1.3rem; }
.globe-legend-item { display: flex; align-items: center; gap: 0.7rem; color: rgba(246,240,231,0.72); }
.globe-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200,155,74,0.15); }
.globe-credit { margin: 1.15rem 0 0; color: rgba(246,240,231,0.36); font-size: 0.7rem; line-height: 1.5; }

.quote-panel { padding: clamp(2rem, 7vw, 4.5rem); background: var(--ink); color: var(--paper); border-radius: 28px; }
.quote-panel blockquote { margin: 0; font: 700 clamp(2rem, 7vw, 4.4rem)/1.03 var(--serif); letter-spacing: -0.035em; }
.quote-panel cite { display: block; margin-top: 1.5rem; color: var(--gold); font-style: normal; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.15em; }

.form { display: grid; gap: 1rem; }
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(17,17,17,0.22); background: rgba(255,255,255,0.62); color: var(--ink); border-radius: 12px; padding: 0.85rem 0.95rem; min-height: 46px; }
.field textarea { min-height: 150px; resize: vertical; }
.field-help { margin: 0; font-size: 0.8rem; color: var(--warm-gray); }
.form-status { min-height: 1.4rem; margin: 0; font-size: 0.9rem; }
.form-status[data-kind="error"] { color: #8b2f2a; }
.form-status[data-kind="success"] { color: #37643e; }
.dark-form .field input, .dark-form .field textarea, .dark-form .field select { background: rgba(246,240,231,0.06); color: var(--paper); border-color: var(--line-dark); }
.dark-form .field-help { color: rgba(246,240,231,0.55); }

.newsletter { display: grid; gap: 1.5rem; align-items: end; }
.newsletter-inline { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-inline input { flex: 1 1 240px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line-dark); padding: 0.8rem 1rem; background: rgba(246,240,231,0.07); color: var(--paper); }

.empty-state { border: 1px dashed rgba(17,17,17,0.28); border-radius: 18px; padding: 2rem; text-align: center; color: #6e665e; }
.section-dark .empty-state { border-color: var(--line-dark); color: rgba(246,240,231,0.62); }
.loading { min-height: 120px; display: grid; place-items: center; color: var(--warm-gray); }

.site-footer { background: #0b0b0b; color: var(--paper); padding: 3rem 0 1.6rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand .brand-mark { margin-bottom: 1rem; }
.footer-brand p { max-width: 420px; color: rgba(246,240,231,0.58); line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.75rem 1rem; }
.footer-links a { color: rgba(246,240,231,0.74); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; color: rgba(246,240,231,0.56); font-size: 0.75rem; }

/* Admin */
.admin-page { min-height: 100vh; background: #0d0d0d; color: var(--paper); }
.admin-header { position: sticky; top: 0; z-index: 20; background: rgba(13,13,13,0.96); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
.admin-header-inner { width: min(1280px, calc(100% - 2rem)); min-height: 70px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.admin-title { font: 700 1.15rem/1 var(--serif); }
.admin-subtitle { display: block; margin-top: 0.2rem; color: rgba(246,240,231,0.48); font-size: 0.72rem; }
.admin-main { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 5rem; }
.admin-login-shell { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 2rem 0; }
.admin-login-card { width: min(480px, 100%); border: 1px solid var(--line-dark); border-radius: 24px; background: #151515; padding: clamp(1.5rem, 6vw, 2.4rem); }
.admin-login-card h1 { margin: 0; font: 700 clamp(2rem, 7vw, 3rem)/1 var(--serif); }
.admin-login-card p { color: rgba(246,240,231,0.58); line-height: 1.6; }
.admin-login-card .form-status[data-kind="success"] { color: #9bc997; }
.admin-mfa-tools { margin-top: 1.5rem; border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.admin-mfa-tools summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--gold); font-weight: 800; }
.admin-mfa-tools .field-help { color: rgba(246,240,231,0.72); }
.admin-mfa-seed { display: block; overflow-wrap: anywhere; padding: .9rem; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--paper); background: #090909; font: 700 1rem/1.5 ui-monospace, monospace; user-select: all; }
.admin-grid { display: grid; gap: 1rem; }
.admin-card { border: 1px solid var(--line-dark); border-radius: 18px; background: #151515; padding: 1.2rem; }
.admin-card h2, .admin-card h3 { font-family: var(--serif); }
.admin-stat { font: 700 2rem/1 var(--serif); color: var(--gold); }
.admin-nav { display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.35rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.admin-nav button { flex: 0 0 auto; border: 1px solid var(--line-dark); background: transparent; color: rgba(246,240,231,0.74); border-radius: 999px; padding: 0.65rem 0.9rem; cursor: pointer; }
.admin-nav button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-toolbar h1 { margin: 0; font: 700 clamp(2rem, 6vw, 3rem)/1 var(--serif); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 16px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th, .admin-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.admin-table th { color: rgba(246,240,231,0.48); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; }
.admin-table td { font-size: 0.9rem; color: rgba(246,240,231,0.82); }
.admin-actions { display: flex; gap: 0.5rem; }
.admin-actions button { border: 1px solid var(--line-dark); background: transparent; color: var(--paper); border-radius: 8px; padding: 0.45rem 0.65rem; cursor: pointer; }
.admin-actions .delete { color: #f3a49e; }
.status-pill { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.25rem 0.5rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.status-pill.published { color: #b8e1b5; border-color: rgba(95,157,94,0.5); }
.status-pill.draft { color: #dfc99f; }
.status-pill.cancelled, .status-pill.archived { color: rgba(246,240,231,0.5); }
.admin-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,0.72); }
.admin-modal-card { width: min(760px, 100%); max-height: min(90vh, 900px); overflow-y: auto; background: #151515; border: 1px solid var(--line-dark); border-radius: 20px; padding: 1.3rem; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.admin-modal-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.admin-modal-header h2 { margin: 0; font: 700 1.7rem/1 var(--serif); }
.icon-button { width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1px solid var(--line-dark); color: var(--paper); cursor: pointer; }
.admin-modal .field input, .admin-modal .field textarea, .admin-modal .field select { background: #0e0e0e; color: var(--paper); border-color: var(--line-dark); }
.admin-form-grid { display: grid; gap: 1rem; }
.media-drop { border: 1px dashed rgba(200,155,74,0.65); border-radius: 18px; padding: 2rem 1rem; text-align: center; background: rgba(200,155,74,0.05); transition: background 160ms ease, border-color 160ms ease; }
.media-drop.dragging { background: rgba(200,155,74,0.13); border-color: var(--gold); }
.media-drop input[type=file] { width: min(100%, 380px); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 1rem; margin-top: 1.5rem; }
.media-card { border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; background: #151515; }
.media-preview { aspect-ratio: 4/3; background: #0b0b0b; display: grid; place-items: center; color: rgba(246,240,231,0.4); }
.media-preview img { width: 100%; height: 100%; object-fit: cover; }
.media-card-body { padding: 0.8rem; }
.media-name { font-size: 0.78rem; overflow-wrap: anywhere; }
.health-grid { display: grid; gap: 0.8rem; }
.health-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line-dark); }
.health-state.good { color: #b8e1b5; }
.health-state.bad { color: #f0b4ae; }

.toast { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; max-width: min(420px, calc(100% - 2rem)); padding: 0.9rem 1rem; border-radius: 12px; background: var(--ink); color: var(--paper); border: 1px solid var(--line-dark); box-shadow: var(--shadow); }
.toast.error { border-color: rgba(189,75,67,0.7); }

.not-found { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 4rem 0; }
.not-found-card { width: min(680px, calc(100% - 2rem)); text-align: center; }
.not-found-code { font: 700 clamp(6rem, 22vw, 13rem)/0.8 var(--serif); color: var(--gold); }
.not-found h1 { font: 700 clamp(2rem,7vw,3.8rem)/1 var(--serif); }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-book { grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); }
  .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-form-grid .wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .newsletter { grid-template-columns: 1.1fr 1fr; }
  .globe-layout { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .primary-nav { display: flex; }
  .menu-button { display: none; }
  .mobile-menu { display: none !important; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero-copy { align-self: center; }
  .hero-note { align-self: end; justify-self: end; padding-bottom: 1rem; }
  .admin-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.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; }

/* v0.2.0 content media */
.book-cover-media { text-decoration: none; }
.book-cover-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover-media:has(img) { padding: 0; background: #151515; }
.book-cover-media:has(img)::before { display: none; }
.book-cover-card { margin: 0 auto 1.2rem; }
.product-card { overflow: hidden; }
.product-image { width: calc(100% + 2.7rem); max-width: none; height: 260px; object-fit: cover; margin: -1.35rem -1.35rem 1.2rem; background: var(--cream); }
.journal-hero { width: 100%; max-height: 620px; object-fit: cover; border-radius: 20px; margin: 0 0 2rem; box-shadow: var(--shadow); }
.journal-list-item { align-items: center; }
.journal-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; background: var(--cream); }
.poem-reading { width: min(720px, calc(100% - 2rem)); margin-inline: auto; padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.34); }
.poem-body { font: 500 clamp(1.15rem, 2.8vw, 1.45rem)/1.95 var(--serif); white-space: normal; }
.poem-reading .meta { margin-top: 2rem; }

/* v0.2.0 admin workflows */
.starter-card { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; border: 1px solid rgba(200,155,74,.5); border-radius: 18px; background: rgba(200,155,74,.08); padding: 1.2rem; margin: 0 0 1.2rem; }
.starter-card h2 { margin: 0 0 .45rem; font-family: var(--serif); }
.starter-card p:not(.eyebrow) { max-width: 760px; margin: 0; color: rgba(246,240,231,.62); line-height: 1.6; }
.media-field small { color: rgba(246,240,231,.5); line-height: 1.5; }
.inline-upload { margin-top: .35rem; }
.admin-actions button:disabled { opacity: .38; cursor: default; }
.inquiry-list { display: grid; gap: 1rem; }
.inquiry-card { border: 1px solid var(--line-dark); border-radius: 18px; background: #151515; padding: 1.1rem; }
.inquiry-card > p { color: rgba(246,240,231,.72); white-space: pre-wrap; line-height: 1.65; }
.inquiry-card a, .admin-table a { color: var(--gold); }
.inquiry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.inquiry-head h3 { margin: .2rem 0 .35rem; font-family: var(--serif); }
.status-pill.new, .status-pill.pending { color: #f0d493; border-color: rgba(200,155,74,.5); }
.status-pill.in_progress { color: #a8d7f1; border-color: rgba(102,170,207,.5); }
.status-pill.closed, .status-pill.active { color: #b8e1b5; border-color: rgba(95,157,94,.5); }
.status-pill.spam, .status-pill.unsubscribed { color: #f3a49e; border-color: rgba(189,75,67,.5); }

/* FilePond — only loaded in the admin */
.admin-page .filepond--root { margin: .45rem 0 0; font-family: var(--sans); }
.admin-page .filepond--panel-root { background: #0e0e0e; border: 1px dashed rgba(200,155,74,.58); border-radius: 14px; }
.admin-page .filepond--drop-label { color: rgba(246,240,231,.76); min-height: 5.2rem; }
.admin-page .filepond--label-action { color: var(--gold); text-decoration-color: rgba(200,155,74,.6); }
.admin-page .filepond--item-panel { background: #2d2922; }
.admin-page .filepond--file { color: var(--paper); }
.admin-page .filepond--file-info-main, .admin-page .filepond--file-info-sub { color: var(--paper); }
.admin-page .filepond--file-info-sub { opacity: .55; }
.admin-page .filepond--image-preview-overlay-success { color: rgba(71,107,70,.85); }
.admin-page .filepond--image-preview-overlay-failure { color: rgba(119,42,37,.85); }
.admin-page .filepond--credits { color: rgba(246,240,231,.38); }

@media (min-width: 700px) {
  .journal-list-item:has(.journal-thumb) { grid-template-columns: 180px minmax(0,1fr); }
}

/* v0.2.2 admin form-label visibility and accessibility hotfix */
.admin-modal-card { color: var(--paper); }
.admin-modal .field > label,
.admin-modal .checkbox-field > label,
.admin-login-card .field > label {
  color: rgba(246,240,231,0.9);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.admin-modal .field-help,
.admin-modal .media-field small,
.admin-modal .inline-upload-label {
  color: rgba(246,240,231,0.58);
}
.admin-modal .inline-upload {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}
.admin-modal .inline-upload-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.required-marker { color: #e1b861; font-weight: 900; }
.checkbox-field > label { cursor: pointer; }
.checkbox-field > label input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 auto; }
.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; }

/* v0.3.0 — commerce linking, normal-dollar fields, and richer editorial visuals */
.button-gold-outline { background: rgba(200,155,74,.06); color: #8b641e; border-color: rgba(200,155,74,.7); }
.section-dark .button-gold-outline, .hero .button-gold-outline, .page-hero .button-gold-outline { color: var(--gold); }
.text-link { color: #7d5817; font-weight: 800; text-decoration: none; text-underline-offset: .25em; }
.text-link:hover { text-decoration: underline; }

/* Editorial grain and depth without extra image requests. */
.hero { position: relative; background:
  radial-gradient(circle at 82% 24%, rgba(200,155,74,.12), transparent 30%),
  radial-gradient(circle at 18% 82%, rgba(246,240,231,.04), transparent 34%),
  #111; }
.hero::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.18; background-image:
  repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
  repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 7px); mix-blend-mode: soft-light; }
.hero-inner { align-items: center; }
.hero-copy { padding-block: 1rem; }
.hero-signature { display:flex; align-items:center; gap:.8rem; margin-top:2.2rem; max-width:560px; color:rgba(246,240,231,.65); }
.hero-signature span { width:42px; height:1px; background:var(--gold); flex:0 0 auto; }
.hero-signature em { font: italic 600 clamp(.95rem,2vw,1.15rem)/1.5 var(--serif); }

.hero-visual { position:relative; min-height:440px; display:grid; place-items:center; isolation:isolate; }
.hero-visual-ring { position:absolute; width:min(390px,90vw); aspect-ratio:1; border:1px solid rgba(200,155,74,.28); border-radius:50%; z-index:-2; }
.hero-visual-ring::before, .hero-visual-ring::after { content:""; position:absolute; border-radius:50%; border:1px solid rgba(246,240,231,.075); }
.hero-visual-ring::before { inset:10%; }
.hero-visual-ring::after { inset:25%; border-style:dashed; }
.hero-book-stage { position:relative; display:grid; justify-items:center; width:100%; }
.hero-book-stage::after { content:""; position:absolute; z-index:-1; bottom:20px; width:72%; height:42px; border-radius:50%; background:rgba(0,0,0,.6); filter:blur(18px); }
.hero-book-cover { width:min(245px,68vw); transform:perspective(900px) rotateY(-8deg) rotateZ(2deg); box-shadow:-14px 24px 60px rgba(0,0,0,.58), 12px 0 0 rgba(60,48,28,.62); transition:transform .35s ease, box-shadow .35s ease; }
.hero-book-cover:hover { transform:perspective(900px) rotateY(-3deg) rotateZ(0deg) translateY(-4px); box-shadow:-10px 32px 72px rgba(0,0,0,.65), 8px 0 0 rgba(60,48,28,.5); }
.hero-book-caption { position:absolute; right:0; bottom:0; width:min(230px,65vw); padding:1rem 1.05rem; border:1px solid rgba(246,240,231,.14); background:rgba(17,17,17,.88); backdrop-filter:blur(12px); border-radius:14px; box-shadow:0 14px 40px rgba(0,0,0,.28); }
.hero-book-caption span { display:block; color:var(--gold); font-size:.65rem; letter-spacing:.15em; text-transform:uppercase; font-weight:800; }
.hero-book-caption strong { display:block; margin:.35rem 0 .2rem; font:700 1.05rem/1.25 var(--serif); }
.hero-book-caption small { color:rgba(246,240,231,.6); }
.hero-monogram-panel { width:min(280px,75vw); aspect-ratio:4/5; border:1px solid rgba(200,155,74,.38); border-radius:28px; background:linear-gradient(145deg,#181612,#0d0d0d); display:grid; place-items:center; align-content:center; gap:1rem; box-shadow:0 30px 75px rgba(0,0,0,.5); transform:rotate(3deg); }
.hero-monogram-panel span { font:700 clamp(4rem,15vw,7rem)/1 var(--serif); color:var(--gold); }
.hero-monogram-panel small { color:rgba(246,240,231,.55); text-transform:uppercase; letter-spacing:.14em; }

.heritage-ribbon { overflow:hidden; background:linear-gradient(180deg,#171512,#1d1914); color:var(--paper); border-top:1px solid rgba(200,155,74,.16); border-bottom:1px solid rgba(200,155,74,.16); }
.heritage-ribbon svg { display:block; width:100%; height:90px; }
.mountain-fill { fill:rgba(200,155,74,.065); }
.mountain-line { fill:none; stroke:rgba(200,155,74,.68); stroke-width:1.4; vector-effect:non-scaling-stroke; }
.mountain-line-faint { stroke:rgba(246,240,231,.13); stroke-width:1; }
.heritage-ribbon-labels { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; padding:.8rem 0 1rem; border-top:1px solid rgba(246,240,231,.06); color:rgba(246,240,231,.56); font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; }
.heritage-ribbon-labels span:nth-child(2) { text-align:center; }
.heritage-ribbon-labels span:last-child { text-align:right; }

.featured-book-section { position:relative; background:linear-gradient(180deg,var(--paper),#f3eadc); }
.featured-book-section::after { content:"JW"; position:absolute; right:3vw; top:2rem; color:rgba(17,17,17,.025); font:700 clamp(8rem,24vw,22rem)/1 var(--serif); pointer-events:none; }
.section-heading-split { align-items:end; }
.section-side-note { margin:0; max-width:420px; color:var(--warm-gray); line-height:1.7; }
.shop-linked-badge { display:inline-flex; margin:0 0 .85rem; padding:.35rem .6rem; border:1px solid rgba(200,155,74,.5); border-radius:999px; color:#76521a; background:rgba(200,155,74,.08); font-size:.67rem; font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.shop-linked-badge.small { margin-bottom:.6rem; }

.book-grid { align-items:stretch; }
.book-card { display:flex; flex-direction:column; overflow:hidden; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.book-card:hover { transform:translateY(-5px); box-shadow:0 22px 55px rgba(17,17,17,.12); border-color:rgba(200,155,74,.38); }
.book-card-copy { display:flex; flex-direction:column; flex:1; }
.book-card-copy .button-row { margin-top:auto; padding-top:1rem; }
.book-cover-card { transition:transform .25s ease; }
.book-card:hover .book-cover-card { transform:rotate(-1deg) scale(1.015); }

.page-hero { position:relative; overflow:hidden; background:
  radial-gradient(circle at 82% 20%, rgba(200,155,74,.13), transparent 28%),
  linear-gradient(145deg,#111 0%,#16130f 100%); }
.page-hero-inner { position:relative; z-index:2; }
.page-hero-rule { width:72px; height:2px; background:var(--gold); margin-bottom:1.4rem; }
.page-hero-watermark { position:absolute; right:-.05em; bottom:-.28em; font:700 clamp(11rem,34vw,30rem)/1 var(--serif); letter-spacing:-.08em; color:rgba(246,240,231,.022); user-select:none; pointer-events:none; }

.journal-visual-grid { display:grid; gap:1rem; }
.journal-visual-card { min-height:310px; position:relative; overflow:hidden; border-radius:22px; background:#171512; color:var(--paper); text-decoration:none; box-shadow:0 16px 45px rgba(17,17,17,.12); }
.journal-visual-card img, .journal-card-art { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.journal-card-art { display:grid; place-items:center; background:radial-gradient(circle at 60% 20%,rgba(200,155,74,.26),transparent 26%),linear-gradient(145deg,#201b14,#111); }
.journal-card-art span { font:700 clamp(4rem,14vw,8rem)/1 var(--serif); color:rgba(200,155,74,.35); }
.journal-card-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(17,17,17,.05) 15%,rgba(17,17,17,.88) 92%); }
.journal-card-copy { position:absolute; z-index:2; inset:auto 1.25rem 1.25rem; }
.journal-card-copy .meta { color:rgba(246,240,231,.62); }
.journal-card-copy h3 { margin:.35rem 0 .5rem; font:700 clamp(1.55rem,4vw,2.25rem)/1.08 var(--serif); }
.journal-card-copy p { margin:0; color:rgba(246,240,231,.72); line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.journal-read { display:inline-block; margin-top:.85rem; color:var(--gold); font-weight:800; font-size:.8rem; }
.journal-visual-card:hover img, .journal-visual-card:hover .journal-card-art { transform:scale(1.035); }

.event-visual-grid { display:grid; gap:1rem; }
.event-visual-card { display:grid; grid-template-columns:76px minmax(0,1fr); gap:1.2rem; align-items:start; padding:1.3rem; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.38); }
.event-date-block { aspect-ratio:1; border-radius:16px; background:var(--ink); color:var(--paper); display:grid; place-items:center; align-content:center; padding:.5rem; }
.event-date-block span { color:var(--gold); font-size:.63rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.event-date-block strong { font:700 2rem/1 var(--serif); margin-top:.2rem; }
.event-visual-copy h3 { margin:.2rem 0 .5rem; font:700 clamp(1.4rem,3vw,1.9rem)/1.15 var(--serif); }
.event-visual-copy h3 a { text-decoration:none; }
.event-visual-copy p { margin:0; color:var(--warm-gray); line-height:1.6; }
.event-visual-copy .button-row { margin-top:.9rem; }

.shop-intro { padding:2.1rem 0; background:var(--cream); border-bottom:1px solid var(--line); }
.shop-intro-grid { display:grid; gap:1.2rem; }
.shop-intro h2 { margin:0; font:700 clamp(1.8rem,4vw,2.7rem)/1 var(--serif); }
.shop-intro p { margin:0; max-width:680px; color:#5b534c; line-height:1.7; }
.store-grid { align-items:stretch; }
.product-card { display:flex; flex-direction:column; padding:0; background:rgba(255,255,255,.36); transition:transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform:translateY(-5px); box-shadow:0 24px 60px rgba(17,17,17,.12); }
.product-image-wrap { aspect-ratio:4/3; overflow:hidden; background:var(--cream); }
.product-card .product-image { width:100%; height:100%; max-width:100%; margin:0; object-fit:cover; transition:transform .4s ease; }
.product-card:hover .product-image { transform:scale(1.035); }
.product-visual-fallback { aspect-ratio:4/3; display:grid; place-items:center; align-content:center; gap:.7rem; background:radial-gradient(circle at 60% 25%,rgba(200,155,74,.22),transparent 30%),linear-gradient(145deg,#1f1a13,#111); color:rgba(246,240,231,.55); text-transform:uppercase; letter-spacing:.14em; font-size:.65rem; }
.product-monogram { color:var(--gold); font:700 clamp(3.5rem,10vw,6rem)/1 var(--serif); letter-spacing:-.05em; }
.product-card-copy { padding:1.35rem; display:flex; flex-direction:column; flex:1; }
.product-card-copy .button-row { margin-top:auto; padding-top:1rem; }

/* Human-readable currency inputs; database still receives integer cents. */
.money-input { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; border:1px solid var(--line-dark); background:#0e0e0e; border-radius:10px; overflow:hidden; }
.money-input > span { padding:0 .8rem; color:var(--gold); font-weight:900; border-right:1px solid var(--line-dark); }
.admin-modal .money-input input { border:0; border-radius:0; min-width:0; }
.admin-modal .money-input:focus-within { outline:2px solid rgba(200,155,74,.7); outline-offset:1px; }
.smart-link-note { margin:1rem 0 0; padding:.9rem 1rem; display:grid; gap:.3rem; border:1px solid rgba(246,240,231,.14); border-radius:12px; background:rgba(246,240,231,.035); color:rgba(246,240,231,.62); }
.smart-link-note strong { color:var(--paper); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.smart-link-note span { line-height:1.55; font-size:.82rem; }
.smart-link-note.detected { border-color:rgba(200,155,74,.5); background:rgba(200,155,74,.07); }
.smart-link-note.detected strong { color:var(--gold); }

@media (min-width:700px) {
  .section-heading-split { grid-template-columns:minmax(0,1fr) minmax(220px,420px); justify-content:space-between; }
  .section-heading-split > :last-child { justify-self:end; align-self:end; }
  .journal-visual-grid { grid-template-columns:1.15fr .85fr; grid-template-rows:repeat(2,minmax(210px,1fr)); }
  .journal-visual-card.featured { grid-row:1 / span 2; min-height:480px; }
  .journal-visual-card:not(.featured) { min-height:230px; }
  .journal-visual-card:not(.featured) .journal-card-copy p { display:none; }
  .event-visual-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .event-visual-card { grid-template-columns:1fr; }
  .event-date-block { width:76px; }
  .shop-intro-grid { grid-template-columns:.85fr 1.15fr; align-items:end; }
}

@media (min-width:980px) {
  .hero-inner { grid-template-columns:minmax(0,1fr) 410px; gap:4rem; }
  .hero-visual { min-height:560px; }
  .hero-visual-ring { width:430px; }
  .hero-book-cover { width:270px; }
}

@media (max-width:699px) {
  .hero-visual { min-height:390px; }
  .hero-book-caption { right:5%; bottom:-.5rem; }
  .heritage-ribbon-labels { grid-template-columns:1fr; text-align:left; }
  .heritage-ribbon-labels span:nth-child(2), .heritage-ribbon-labels span:last-child { text-align:left; }
  .event-visual-card { grid-template-columns:68px minmax(0,1fr); }
  .page-hero-watermark { right:-.2em; }
}
.book-detail-hero .book-cover { box-shadow:-12px 26px 65px rgba(0,0,0,.58), 8px 0 0 rgba(200,155,74,.16); }
.book-detail-hero .book-info { position:relative; z-index:2; }
.book-hero-badge { color:var(--gold); border-color:rgba(200,155,74,.55); background:rgba(200,155,74,.08); }
.book-hero-price { margin:1.2rem 0 0; color:var(--paper); font:700 clamp(1.35rem,3vw,1.8rem)/1 var(--serif); }

/* v0.4.1 — automatic live release update pill */
.release-update-banner {
  position: fixed;
  top: 4px;
  left: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(810px, calc(100% - 24px));
  min-height: 102px;
  padding: 18px 24px 18px 32px;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid rgba(188, 205, 238, 0.7);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.release-update-message {
  margin: 0;
  color: #172033;
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.release-update-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 27px;
  border: 0;
  border-radius: 999px;
  background: #1769f5;
  color: #fff;
  font: inherit;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 105, 245, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.release-update-button:hover {
  background: #0d5ee9;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(23, 105, 245, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.release-update-button:active { transform: translateY(0) scale(0.98); }
.release-update-button:focus-visible { outline: 3px solid rgba(23, 105, 245, 0.35); outline-offset: 4px; }
.release-update-icon { flex-shrink: 0; font-size: 26px; line-height: 1; }
@media (max-width: 700px) {
  .release-update-banner {
    top: 8px;
    width: calc(100% - 16px);
    min-height: unset;
    gap: 12px;
    padding: 12px 12px 12px 18px;
    border-radius: 28px;
  }
  .release-update-message { font-size: 15px; line-height: 1.3; }
  .release-update-button { min-height: 46px; padding: 0 17px; font-size: 15px; }
  .release-update-icon { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .release-update-button { transition: none; }
}

/* v0.4.0 — checkout + order confirmation */
.button[disabled] { opacity: .65; cursor: wait; }
.order-confirm-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.55);
  padding: clamp(1.2rem, 4vw, 2rem);
  box-shadow: 0 20px 60px rgba(17,17,17,.08);
}
.order-confirm-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.2rem; }
.order-confirm-head h2 { margin:.2rem 0 0; font:700 clamp(1.7rem,4vw,2.5rem)/1 var(--serif); }
.order-status { display:inline-flex; padding:.42rem .7rem; border:1px solid var(--line); border-radius:999px; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.order-status.paid, .order-status.processing, .order-status.shipped, .order-status.completed { border-color:rgba(44,132,82,.32); color:#276c45; background:rgba(44,132,82,.08); }
.order-status.refunded, .order-status.partially_refunded { border-color:rgba(200,155,74,.4); color:#7b5a22; background:rgba(200,155,74,.1); }
.order-confirm-lines { display:grid; gap:.7rem; margin:1rem 0 1.25rem; }
.order-confirm-lines > div { display:flex; justify-content:space-between; gap:1rem; padding-bottom:.7rem; border-bottom:1px solid var(--line); }
.order-confirm-total { font-size:1.12rem; }

/* v0.4.0 — admin orders / Square diagnostics */
.order-link { border:0; padding:0; background:transparent; color:var(--gold); font:inherit; font-weight:800; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.order-table select { min-width:125px; background:#0f0f0f; color:var(--paper); border:1px solid var(--line-dark); border-radius:8px; padding:.5rem; }
.order-detail-card { margin-top:1rem; }
.order-admin-lines { display:grid; gap:.65rem; margin-top:1rem; }
.order-admin-lines > div { display:flex; justify-content:space-between; gap:1rem; padding:.65rem 0; border-top:1px solid var(--line-dark); }
.status-pill.processed, .status-pill.active { border-color:rgba(89,193,122,.35); color:#8fdaa7; }
.status-pill.failed, .status-pill.error { border-color:rgba(231,100,100,.4); color:#f2a0a0; }
.status-pill.pending { border-color:rgba(200,155,74,.42); color:var(--gold); }
.status-pill.ignored { border-color:rgba(246,240,231,.18); color:rgba(246,240,231,.56); }

@media (max-width: 620px) {
  .release-refresh-banner { align-items:stretch; border-radius:22px; padding:.85rem; }
  .release-refresh-banner > span { align-self:center; font-size:.88rem; line-height:1.35; }
  .release-refresh-button { padding:.72rem .9rem; }
  .order-confirm-head { flex-direction:column; }
}

/* v0.5.0 — transparent checkout pricing */
.checkout-quantity { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:1rem 0 .7rem; }
.checkout-quantity label { font:800 .76rem/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--warm-gray); }
.checkout-quantity input { width:82px; padding:.65rem .7rem; border:1px solid var(--line); border-radius:10px; background:var(--paper); font:700 1rem var(--sans); }
.checkout-estimate { margin:.8rem 0 1.1rem; min-height:54px; font-size:.88rem; color:var(--warm-gray); }
.checkout-estimate-error { color:#9f3f3f; }
.price-breakdown { display:grid; gap:.4rem; padding:.85rem 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.price-breakdown > div { display:flex; justify-content:space-between; gap:1rem; }
.price-breakdown strong { color:var(--ink); }
.price-breakdown-total { margin-top:.3rem; padding-top:.55rem; border-top:1px dashed var(--line); font-size:1rem; }
.price-breakdown small { color:var(--warm-gray); line-height:1.4; }
.stock-badge { display:inline-flex; margin:.3rem 0 .1rem; padding:.3rem .58rem; border-radius:999px; border:1px solid var(--line); font:800 .68rem/1 var(--sans); letter-spacing:.06em; text-transform:uppercase; }
.stock-badge.active { color:#276c45; border-color:rgba(44,132,82,.32); background:rgba(44,132,82,.08); }
.stock-badge.low { color:#7b5a22; border-color:rgba(200,155,74,.4); background:rgba(200,155,74,.1); }
.stock-badge.out { color:#993d3d; border-color:rgba(180,64,64,.35); background:rgba(180,64,64,.08); }
.stock-badge.pending { color:var(--warm-gray); }

/* v0.5.0 — customer accounts */
.account-auth-wrap { width:min(620px, calc(100% - 32px)); margin:0 auto; }
.account-auth-card, .account-guest-card { padding:clamp(1.25rem,4vw,2rem); border:1px solid var(--line); border-radius:24px; background:rgba(255,255,255,.55); box-shadow:0 20px 60px rgba(17,17,17,.07); }
.account-auth-card .field { margin-bottom:1rem; }
.account-auth-card label { display:block; margin-bottom:.4rem; font-weight:800; }
.account-auth-card input { width:100%; padding:.86rem .9rem; border:1px solid var(--line); border-radius:10px; background:#fff; font:inherit; }
.privacy-summary { max-width: 760px; }
.privacy-summary > h2 { margin: 2.2rem 0 .6rem; font: 700 clamp(1.4rem,3vw,2rem)/1.1 var(--serif); }
.privacy-summary > p { line-height: 1.75; }
.privacy-summary .account-auth-card, .privacy-summary .account-guest-card { margin: 1.25rem 0; }
.privacy-summary .check-row { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.5; }
.privacy-summary .check-row input { width: 1.15rem; min-width: 1.15rem; min-height: 1.15rem; margin: .15rem 0 0; }
.privacy-summary .button-row { flex-wrap: wrap; gap: .75rem; }
.account-switch { margin:1rem 0 0; color:var(--warm-gray); }
.account-switch a { color:var(--ink); font-weight:800; }
.check-row { display:flex !important; align-items:flex-start; gap:.65rem; margin:1rem 0; font-weight:600 !important; }
.check-row input { width:auto !important; margin-top:.15rem; }
.optional { color:var(--warm-gray); font-size:.78em; font-weight:500; }
.account-grid { display:grid; grid-template-columns:minmax(240px,.7fr) minmax(0,1.7fr); gap:clamp(1.2rem,4vw,3rem); align-items:start; }
.account-order-list { display:grid; gap:.9rem; }
.account-order-card { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 1.15rem; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.5); }
.account-order-card h3 { margin:.2rem 0 .35rem; text-transform:capitalize; }
.account-order-card p { margin:.15rem 0; }
.account-order-card a:not(.button) { color:var(--gold-dark,#8b641e); font-weight:800; }
.order-confirm-total { font-size:1.12rem; font-weight:800; }

/* v0.5.0 — admin connected commerce */
.tracking-form { margin-top:1.3rem; padding-top:1.1rem; border-top:1px solid var(--line-dark); }
.order-admin-total { font-size:1.08rem; color:var(--gold); font-weight:800; }
.admin-card .money-input input { width:100%; }

@media (max-width: 820px) {
  .account-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .account-order-card { align-items:flex-start; flex-direction:column; }
  .checkout-quantity { align-items:flex-end; }
}

/* v0.6.0 — native shipping checkout */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
}
.checkout-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(200, 155, 74, .34);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0,0,0,.3);
}
.checkout-modal h2 { margin: .2rem 0 .6rem; font-size: clamp(1.9rem, 5vw, 3rem); }
.checkout-modal-lead { margin: 0 0 1.5rem; color: var(--warm-gray); line-height: 1.7; }
.checkout-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.74);
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}
.shipping-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shipping-field-grid .wide { grid-column: 1 / -1; }
.shipping-address-form .field label { color: var(--ink); }
.shipping-address-form input,
.shipping-address-form select {
  width: 100%;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}
.shipping-rate-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(17,17,17,.12); }
.shipping-rate-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 12px; }
.shipping-rate-heading h3 { margin: .15rem 0 0; font-size: 1.5rem; }
.text-button { border: 0; background: transparent; color: var(--heritage-gold); font: inherit; font-weight: 700; cursor: pointer; }
.shipping-rate-list { display: grid; gap: 10px; }
.shipping-rate-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  cursor: pointer;
}
.shipping-rate-option:has(input:checked) { border-color: var(--heritage-gold); box-shadow: 0 0 0 2px rgba(200,155,74,.13); }
.shipping-rate-option input { accent-color: var(--heritage-gold); }
.shipping-rate-main { display: grid; gap: 2px; }
.shipping-rate-main span,
.shipping-rate-main small { color: var(--warm-gray); }
.shipping-rate-price { white-space: nowrap; }
.shipping-rate-summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px; margin-top: 8px; border-top: 1px solid rgba(17,17,17,.1); }
.shipping-continue { width: 100%; justify-content: center; }
.shipping-disclaimer { display: block; margin-top: 12px; color: var(--warm-gray); line-height: 1.5; }
@media (max-width: 640px) {
  .checkout-modal-backdrop { padding: 8px; place-items: end center; }
  .checkout-modal { max-height: calc(100vh - 16px); border-radius: 24px 24px 10px 10px; padding: 26px 18px; }
  .shipping-field-grid { grid-template-columns: 1fr; }
  .shipping-field-grid .wide { grid-column: auto; }
  .shipping-rate-option { grid-template-columns: auto 1fr; }
  .shipping-rate-price { grid-column: 2; }
}

/* v0.6.0 — Native commerce + interactive books */
.hero-photo-card{position:absolute;right:2%;top:12%;width:42%;aspect-ratio:4/5;padding:10px;background:#f6f0e7;box-shadow:0 25px 70px rgba(0,0,0,.25);transform:rotate(7deg);border-radius:3px;overflow:hidden;opacity:.82}.hero-photo-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.78) contrast(1.04)}
.book-experience-hero .feature-book{align-items:center}.interactive-book{--book-rx:0deg;--book-ry:-7deg;position:relative;display:grid;place-items:center;min-height:460px;perspective:1300px;cursor:pointer;outline:none}.interactive-book-object{position:relative;width:min(310px,70vw);aspect-ratio:2/3;transform-style:preserve-3d;transform:rotateX(var(--book-rx)) rotateY(var(--book-ry));transition:transform .18s ease,filter .25s ease;filter:drop-shadow(0 26px 28px rgba(0,0,0,.33));background:#111;color:#f6f0e7;overflow:hidden}.interactive-book-object img{width:100%;height:100%;display:block;object-fit:cover;backface-visibility:hidden}.interactive-book-spine{position:absolute;left:-17px;top:1%;width:18px;height:98%;background:linear-gradient(90deg,#080808,#35302a,#111);transform:rotateY(-90deg);transform-origin:right;z-index:-1}.interactive-book-shadow{position:absolute;width:62%;height:14%;bottom:3%;background:rgba(0,0,0,.35);filter:blur(18px);border-radius:50%;transform:rotate(-4deg)}.interactive-book.open .interactive-book-object{transform:rotateX(0deg) rotateY(-28deg) translateX(14px)}.interactive-book-hint{position:absolute;bottom:-4px;padding:7px 13px;border:1px solid rgba(200,155,74,.35);background:rgba(17,17,17,.72);backdrop-filter:blur(12px);border-radius:999px;color:#e9d9bd;font-size:.76rem;letter-spacing:.04em}.interactive-book:focus-visible .interactive-book-object{outline:3px solid #c89b4a;outline-offset:7px}.book-cover-fallback .interactive-book-object{display:flex;flex-direction:column;justify-content:center;padding:2.5rem;text-align:center;border:1px solid rgba(200,155,74,.55)}
.book-experience-stats{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:1.75rem;padding-top:1.25rem;border-top:1px solid rgba(200,155,74,.25)}.book-experience-stats div{display:grid;gap:.15rem}.book-experience-stats strong{font-family:var(--font-serif);font-size:1.15rem}.book-experience-stats span{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.book-tab-section{background:#111;color:#f6f0e7;padding:0 0 4rem}.book-tabs{display:flex;gap:.5rem;overflow:auto;border-bottom:1px solid rgba(246,240,231,.14)}.book-tabs button{border:0;background:transparent;color:rgba(246,240,231,.58);padding:1.1rem 1.3rem;font-weight:700;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}.book-tabs button.active{color:#f6f0e7;border-bottom-color:#c89b4a}.book-tab-panel{display:none;padding:2.25rem 0}.book-tab-panel.active{display:block}.book-journey{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2rem}.book-journey>div{padding:1.5rem;border:1px solid rgba(246,240,231,.14);background:rgba(246,240,231,.035)}.book-journey span{display:block;color:#c89b4a;font-size:.7rem;letter-spacing:.16em;margin-bottom:1rem}.book-journey strong{font-family:var(--font-serif);font-size:1.15rem}.book-journey p{color:rgba(246,240,231,.62);font-size:.92rem;line-height:1.6}
.book-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:220px;gap:12px}.book-gallery-tile{position:relative;border:0;padding:0;overflow:hidden;background:#111;cursor:zoom-in}.book-gallery-tile.featured{grid-row:span 2}.book-gallery-tile img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .35s ease}.book-gallery-tile:hover img{transform:scale(1.035);filter:saturate(1.08)}.book-gallery-tile span{position:absolute;left:0;right:0;bottom:0;padding:2rem 1rem .85rem;background:linear-gradient(transparent,rgba(0,0,0,.75));color:white;text-align:left;font-size:.83rem}.book-lightbox{position:fixed;inset:0;z-index:10050;display:none;place-items:center;background:rgba(0,0,0,.91);padding:5vh 4vw}.book-lightbox.open{display:grid}.book-lightbox img{max-width:min(1100px,92vw);max-height:82vh;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.48)}.book-lightbox button{position:absolute;right:22px;top:18px;border:1px solid rgba(255,255,255,.28);background:rgba(0,0,0,.45);color:#fff;border-radius:50%;width:48px;height:48px;font-size:1.8rem;cursor:pointer}.book-lightbox p{color:rgba(255,255,255,.72);margin:.8rem 0 0}.book-poem-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,35%);gap:1rem;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:1rem}.book-poem-card{scroll-snap-align:start;background:#f6f0e7;border:1px solid rgba(17,17,17,.14);padding:1.6rem;min-height:250px}.book-poem-card h3{font-family:var(--font-serif);font-size:1.45rem}.book-sticky-buy{position:fixed;left:50%;bottom:14px;z-index:4000;transform:translateX(-50%);width:min(720px,calc(100% - 24px));display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:10px 12px 10px 18px;background:rgba(17,17,17,.94);color:#f6f0e7;border:1px solid rgba(200,155,74,.38);border-radius:999px;box-shadow:0 16px 50px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.book-sticky-buy>div:first-child{display:flex;flex-direction:column;min-width:0}.book-sticky-buy span{font-family:var(--font-serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-sticky-buy strong{color:#c89b4a;font-size:.82rem}.book-sticky-buy .button{white-space:nowrap}
.gallery-field select[multiple]{min-height:190px}.shipping-service-editor{margin-top:2rem}.native-service-card{border:1px solid rgba(246,240,231,.16);padding:1rem 1.1rem 1.25rem;margin:1rem 0;background:rgba(255,255,255,.025)}.native-service-card legend{padding:0 .5rem;font-family:var(--font-serif);font-size:1.12rem;color:#f6f0e7}.square-import-unlock{display:flex;align-items:flex-end;gap:.8rem;flex-wrap:wrap}.square-import-unlock .field{min-width:240px;margin:0}.square-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.square-import-item{display:grid;grid-template-columns:120px 1fr;gap:1rem;padding:1rem;border:1px solid rgba(246,240,231,.14);background:rgba(255,255,255,.025)}.square-import-item>img{width:120px;height:120px;object-fit:cover;background:#fff}.square-import-item h3{margin:.1rem 0 .4rem;font-family:var(--font-serif)}.square-import-item p{color:rgba(246,240,231,.62);font-size:.86rem;line-height:1.45}.square-variation-list{display:grid;gap:.5rem;margin-top:.8rem}.square-variation{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.65rem .75rem;background:rgba(255,255,255,.04);border-radius:6px}.square-variation>div{display:grid}.square-variation span{font-size:.72rem;color:rgba(246,240,231,.6)}.square-variation button{border:1px solid rgba(200,155,74,.45);background:#c89b4a;color:#111;padding:.45rem .7rem;border-radius:999px;font-weight:800;cursor:pointer}
@media(max-width:800px){.hero-photo-card{display:none}.book-journey{grid-template-columns:1fr}.book-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:170px}.book-gallery-tile.featured{grid-column:span 2;grid-row:span 1}.book-poem-strip{grid-auto-columns:85%}.square-import-grid{grid-template-columns:1fr}.book-sticky-buy{bottom:8px}.interactive-book{min-height:370px}.interactive-book-object{width:min(245px,65vw)}}
@media(max-width:520px){.book-gallery{grid-template-columns:1fr}.book-gallery-tile.featured{grid-column:auto}.book-sticky-buy>div:first-child span{max-width:190px}.square-import-item{grid-template-columns:82px 1fr}.square-import-item>img{width:82px;height:82px}}
@media(prefers-reduced-motion:reduce){.interactive-book-object,.book-gallery-tile img{transition:none}}

/* v0.8.0 — Jeffrey M.J. Woods editorial system */
:root {
  --heritage: #c89b4a;
  --ink: #111111;
  --paper: #f6f0e7;
  --cream: #ede1d0;
  --warm-gray: #81786f;
  --line: rgba(17, 17, 17, .18);
  --line-dark: rgba(246, 240, 231, .21);
  --serif: "Noto Serif", Iowan Old Style, Baskerville, Georgia, serif;
  --sans: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { letter-spacing: .005em; }
body.cart-open, body.reader-open, body.lightbox-open { overflow: hidden; }
.container { width: min(1440px, calc(100% - 48px)); }
.narrow { width: min(820px, calc(100% - 48px)); }
.section { padding: clamp(4.5rem, 9vw, 9rem) 0; }
.eyebrow { color: #75500f; font-size: .68rem; letter-spacing: .19em; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cinema-hero .eyebrow, .visual-interlude .eyebrow, .newsletter-section .eyebrow, .admin-page .eyebrow { color: var(--heritage); }
.display, .page-title, .section-title { font-weight: 500; letter-spacing: -.045em; }
.lead { max-width: 700px; color: #5f5852; line-height: 1.7; }
.meta { color: #736a61; }
.text-link { color: #815f25; font-weight: 800; text-decoration-color: rgba(129, 95, 37, .45); text-underline-offset: .22em; }
.text-link:hover { color: var(--ink); }

.site-header { background: #070707; border-bottom-color: rgba(200, 155, 74, .45); backdrop-filter: none; }
.header-inner { width: min(1440px, calc(100% - 48px)); min-height: 82px; gap: clamp(.8rem, 2vw, 2.4rem); }
.brand-link { overflow: hidden; width: clamp(168px, 17vw, 246px); height: 48px; }
.brand-wordmark { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.primary-nav { gap: clamp(.85rem, 1.5vw, 1.6rem); margin-left: auto; }
.primary-nav a { position: relative; padding: 1rem 0; color: rgba(246,240,231,.82); font: 500 .71rem/1 var(--sans); letter-spacing: .12em; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: transparent; }
.primary-nav a[aria-current="page"]::after, .primary-nav a:hover::after { background: var(--heritage); }
.primary-nav a[aria-current="page"], .primary-nav a:hover { color: var(--paper); }
.primary-nav .nav-store { padding: .72rem .8rem; border: 1px solid rgba(200,155,74,.7); }
.primary-nav .nav-store::after { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.account-link, .cart-button { color: var(--paper); border: 0; background: transparent; padding: .55rem 0; font: 600 .72rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.cart-button span { display: inline-grid; min-width: 1.25rem; min-height: 1.25rem; margin-left: .32rem; place-items: center; background: var(--heritage); color: var(--ink); font-size: .66rem; }
.menu-button { border: 1px solid rgba(246,240,231,.3); border-radius: 0; width: auto; min-width: 42px; min-height: 38px; padding: 0 .6rem; font: 600 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.menu-button span, .menu-button::before, .menu-button::after { display: none; }
.mobile-menu { inset: 82px 0 0; padding: 2rem 24px; background: #070707; border-bottom: 1px solid rgba(200,155,74,.42); }
.mobile-menu nav { width: min(620px, 100%); margin: 0 auto; }
.mobile-menu a { font-weight: 500; border-bottom-color: rgba(246,240,231,.17); }

.button { min-height: 46px; border-radius: 0; padding: .82rem 1.2rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.button:hover { transform: none; }
.button-primary { background: var(--heritage); color: #111; border-color: var(--heritage); }
.button-primary:hover { background: #d6ae64; border-color: #d6ae64; }
.button-secondary, .button-outline { border-color: rgba(17,17,17,.55); color: var(--ink); background: transparent; }
.section-dark .button-secondary, .cinema-hero .button-ghost, .page-hero .button-outline, .button-gold-outline { color: var(--paper); border-color: rgba(200,155,74,.72); background: transparent; }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-text { min-height: auto; padding: .45rem 0; color: #815f25; border: 0; background: transparent; }
.button-row, .hero-actions { align-items: center; gap: .75rem; }

.cinema-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); min-height: min(760px, calc(100vh - 82px)); overflow: hidden; background: #050505; color: var(--paper); }
.cinema-hero-image { grid-area: 1 / 2; width: 100%; height: 100%; min-height: min(760px, calc(100vh - 82px)); object-fit: cover; object-position: 50% 18%; }
.cinema-hero-content { grid-area: 1 / 1; z-index: 1; width: 100%; margin: 0; padding: clamp(4.5rem, 9vw, 8.4rem) clamp(24px, 6vw, 9rem) clamp(3rem, 7vw, 6rem); display: flex; align-items: center; }
.cinema-copy { width: min(650px, 100%); }
.cinema-copy .eyebrow { margin-bottom: 1.2rem; }
.cinema-copy .display { max-width: 620px; font-size: clamp(3.6rem, 6.8vw, 7.1rem); }
.hero-deck { max-width: 520px; margin: 1.6rem 0 0; color: rgba(246,240,231,.8); font: 400 clamp(1.05rem, 1.55vw, 1.32rem)/1.65 var(--sans); }
.hero-signature { display: flex; align-items: center; gap: 1rem; margin: clamp(2rem, 5vw, 4rem) 0 0; color: #e7c27b; font: 400 clamp(1.1rem, 2vw, 1.5rem)/1.4 var(--serif); }
.hero-signature span { width: 42px; height: 1px; background: var(--heritage); }
.hero-featured-book { position: absolute; display: grid; grid-template-columns: 58px 1fr; gap: .75rem; align-items: end; left: clamp(24px, 6vw, 9rem); bottom: clamp(1.5rem, 4vw, 3.5rem); width: min(300px, 45%); color: var(--paper); }
.hero-featured-book > p { grid-column: 1 / -1; margin: 0; color: rgba(246,240,231,.56); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-featured-book .book-cover { width: 58px; min-width: 58px; height: 86px; padding: 0; }
.hero-featured-book .book-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-featured-book strong, .hero-featured-book span { display: block; }
.hero-featured-book span { margin-top: .28rem; color: var(--heritage); font-size: .8rem; }
.place-band { background: #111; color: var(--paper); border-top: 1px solid rgba(200,155,74,.55); border-bottom: 1px solid rgba(200,155,74,.55); }
.place-band .container { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 2vw, 1.5rem); color: rgba(246,240,231,.75); font: 600 .68rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.place-band span[aria-hidden] { color: var(--heritage); }

.section-heading { margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading-split { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .65fr); align-items: end; gap: 2rem; }
.section-side-note { max-width: 460px; margin: 0; color: #655d56; line-height: 1.7; }
.feature-book { grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); }
.book-cover, .book-cover.book-cover-media { width: min(100%, 370px); border: 1px solid rgba(17,17,17,.62); border-radius: 0; box-shadow: 14px 14px 0 var(--cream); background: #111; }
.book-cover.book-cover-media { padding: 0; overflow: visible; }
.book-cover.book-cover-media img { width: 100%; height: 100%; object-fit: cover; }
.book-info h3 { font-weight: 500; }
.book-info .price { color: #815f25; font: 600 1.3rem/1.3 var(--serif); }
.shop-linked-badge { border-radius: 0; background: var(--cream); color: #5e4317; }
.story-split, .narrative-grid { display: grid; gap: clamp(2rem, 7vw, 8rem); }
.story-split { grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr); align-items: center; }
.story-split.reverse { grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); }
.story-split-image { position: relative; }
.story-split-image::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 46%; height: 36%; border-right: 1px solid var(--heritage); border-bottom: 1px solid var(--heritage); pointer-events: none; }
.story-split-image img { width: 100%; max-height: 690px; object-fit: cover; filter: grayscale(18%); }
.narrative-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.narrative-grid article { min-height: 260px; padding: 1.5rem 1.4rem 1.5rem 0; border-right: 1px solid var(--line); }
.narrative-grid article + article { padding-left: 1.4rem; }
.narrative-grid article:last-child { border-right: 0; }
.narrative-grid .section-title { font-size: clamp(1.8rem, 2.7vw, 2.8rem); }

.selected-poem { max-width: 950px; margin: 0 auto; padding: clamp(2rem, 7vw, 5rem); border-top: 1px solid var(--heritage); border-bottom: 1px solid var(--heritage); text-align: center; }
.selected-poem h3 { margin: .4rem 0 1.4rem; font: 500 clamp(2rem, 4vw, 4rem)/1.05 var(--serif); }
.selected-poem p { white-space: pre-line; color: #48423d; font: 400 clamp(1.06rem, 1.65vw, 1.32rem)/1.85 var(--serif); }
.visual-interlude { background: #121212; color: var(--paper); }
.visual-interlude-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(260px, 1fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.visual-interlude img { width: 100%; max-height: 600px; object-fit: cover; filter: grayscale(100%); }
.visual-interlude .lead { color: rgba(246,240,231,.72); }
.journal-visual-grid, .event-visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.journal-visual-card, .event-visual-card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; overflow: hidden; }
.journal-visual-card.featured { grid-column: span 2; }
.journal-card-art { min-height: 250px; background: var(--cream); }
.journal-card-art img { width: 100%; height: 100%; object-fit: cover; }
.journal-card-copy, .event-visual-copy { padding: 1.3rem 0; }
.journal-card-copy h3, .event-visual-copy h3 { margin: .35rem 0 .75rem; font: 500 clamp(1.4rem, 2vw, 2rem)/1.15 var(--serif); }
.event-visual-card { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.4rem 0; }
.event-date-block { align-self: start; border-right: 1px solid var(--heritage); padding-right: 1rem; color: var(--heritage); text-align: center; }
.event-date-block span, .event-date-block strong { display: block; }
.event-date-block span { font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.event-date-block strong { margin-top: .2rem; font: 500 2.5rem/1 var(--serif); }

.page-hero { position: relative; overflow: hidden; padding: clamp(5.5rem, 11vw, 10rem) 0 clamp(4rem, 8vw, 7rem); background: #101010; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(246,240,231,.7); }
.page-hero-watermark { position: absolute; right: clamp(-40px, 4vw, 80px); top: 50%; width: min(420px, 45vw); transform: translateY(-50%); opacity: .12; pointer-events: none; }
.page-hero-watermark img { width: 100%; height: auto; }
.page-hero-rule { width: 58px; height: 1px; margin-bottom: 1.4rem; background: var(--heritage); }
.about-hero { background: #101010; color: var(--paper); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); min-height: 650px; padding: 4rem 0; }
.about-hero-grid .hero-deck { color: rgba(246,240,231,.72); }
.about-hero-grid > img { width: 100%; height: min(560px, 60vw); object-fit: cover; filter: grayscale(100%); }

.editorial-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 1.35rem 0; }
.grid-3.book-grid { gap: 3rem 2rem; }
.book-card { display: grid; gap: 1.5rem; }
.book-card .book-cover { width: min(100%, 300px); }
.book-card-copy h3 { font: 500 1.8rem/1.15 var(--serif); }
.content-list { border-top-color: var(--line); }
.list-item { padding: 1.7rem 0; }
.list-item h3 { font-weight: 500; }
.poem-reading { font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.95 var(--serif); }
.journal-hero { width: 100%; max-height: 600px; object-fit: cover; margin-bottom: 2rem; }

.book-detail-hero .feature-book { grid-template-columns: minmax(260px,.75fr) minmax(0, 1fr); }
.book-experience-hero .page-hero-watermark { opacity: .1; }
.interactive-book { min-height: 470px; }
.interactive-book-object { border-radius: 0; }
.interactive-book-hint { border-radius: 0; background: #111; }
.book-tab-section { background: #111; }
.book-tabs { gap: 0; }
.book-tabs button { border-radius: 0; }
.book-tabs button.active { color: var(--paper); }
.book-journey>div { background: transparent; border-radius: 0; }
.book-gallery, .product-gallery, .event-gallery { gap: 1px; background: var(--paper); }
.book-gallery-tile, .product-gallery-item, .event-gallery-item { border-radius: 0; background: #111; }
.book-lightbox { background: rgba(0,0,0,.95); }
.book-lightbox-card { display: grid; gap: .85rem; justify-items: center; }
.book-lightbox button { position: static; border-radius: 0; width: auto; height: auto; padding: .5rem .75rem; font-size: .78rem; }
.book-sticky-buy { border-radius: 0; background: #111; }
.reading-room { position: fixed; inset: 0; z-index: 10100; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.78); }
.interactive-book { cursor: default; }
.reading-room[hidden] { display: none; }
.reading-room-dialog { width: min(900px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: clamp(1.25rem, 4vw, 3rem); background: var(--paper); color: var(--ink); border-top: 4px solid var(--heritage); outline: 0; }
.reading-room-head, .reading-room-controls, .reader-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reading-room-head h2 { margin: 0; font: 500 clamp(2rem, 5vw, 3.5rem)/1 var(--serif); }
.reading-room-progress { display: grid; gap: .65rem; margin: 2rem 0; color: var(--warm-gray); font-size: .8rem; }
.reading-room-progress > div { height: 2px; background: rgba(17,17,17,.15); }
.reading-room-progress > div > span { display: block; height: 100%; background: var(--heritage); transition: width .2s ease; }
.reader-page { min-height: 300px; }
.reader-page h3 { margin: .25rem 0 1.5rem; font: 500 clamp(1.9rem, 4vw, 3.4rem)/1.1 var(--serif); }
.reader-page-body { color: #302b26; font: 400 clamp(1rem, 1.4vw, 1.2rem)/1.9 var(--serif); }
.reader-page-excerpt { color: var(--warm-gray); font: italic 1rem/1.65 var(--serif); }

.shop-intro { border-bottom: 1px solid var(--line); background: var(--cream); }
.shop-intro-grid, .product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.75fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; padding: clamp(2rem,5vw,4rem) 0; }
.shop-intro-grid h2 { margin: 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1.05 var(--serif); }
.store-collection { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem 1.5rem; }
.product-card { display: grid; gap: 1.1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.product-image-wrap { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.product-image { width: 100%; height: 100%; object-fit: cover; }
.product-fallback-image { object-fit: contain; padding: 1rem; }
.product-card-copy h3 { margin: .4rem 0 .75rem; font: 500 1.7rem/1.15 var(--serif); }
.product-card-copy > p { color: #655d56; line-height: 1.55; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-price-row .price, .product-detail-price { margin: 0; color: #815f25; font: 500 1.35rem/1.25 var(--serif); }
.checkout-quantity { justify-content: flex-start; }
.checkout-quantity input { border-radius: 0; background: #fff; }
.product-detail-hero { background: var(--cream); }
.product-detail-media { min-height: min(540px, 72vw); background: #111; }
.product-detail-media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.product-detail-copy { max-width: 620px; }
.product-detail-copy .stock-badge { margin: 1rem 0; }
.product-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.product-gallery-item, .event-gallery-item { position: relative; padding: 0; border: 0; cursor: zoom-in; }
.product-gallery-item img, .event-gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-gallery-item span, .event-gallery-item span { display: block; padding: .75rem; background: #111; color: rgba(246,240,231,.76); text-align: left; font-size: .78rem; }
.stock-badge { border-radius: 0; }

.cart-scrim { position: fixed; z-index: 9000; inset: 0; background: rgba(0,0,0,.55); }
.cart-drawer { position: fixed; z-index: 9001; top: 0; right: 0; bottom: 0; width: min(470px, 100%); overflow: auto; padding: 1.5rem; background: var(--paper); color: var(--ink); border-left: 1px solid var(--heritage); transform: translateX(101%); transition: transform .22s ease; }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { margin: 0; font: 500 2rem/1 var(--serif); }
.cart-lines { display: grid; gap: 1rem; padding: 1.25rem 0; }
.cart-line { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; }
.cart-line-image { width: 88px; height: 110px; background: var(--cream); }
.cart-line-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-copy h3 { margin: 0; font: 500 1.15rem/1.2 var(--serif); }
.cart-line-copy p { margin: .4rem 0; color: #815f25; }
.cart-line-actions { display: flex; gap: .65rem; align-items: center; }
.cart-line-actions input { width: 58px; border: 1px solid var(--line); border-radius: 0; padding: .45rem; }
.cart-summary { padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-actions { display: grid; gap: .75rem; margin-top: 1rem; }
.cart-empty { display: grid; gap: 1rem; justify-items: start; padding: 2rem 0; }
.cart-empty img { width: 92px; height: 92px; object-fit: cover; }
.cart-page { width: min(880px, calc(100% - 48px)); }
.shipping-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.72); }
.shipping-modal-card { width: min(760px,100%); max-height: calc(100vh - 48px); overflow: auto; padding: clamp(1.25rem,4vw,3rem); background: var(--paper); border-top: 4px solid var(--heritage); }
.modal-heading { display: flex; justify-content: space-between; gap: 1rem; }
.shipping-rate { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 0; }

.event-list { border-top: 1px solid var(--line); }
.event-list-item { display: grid; grid-template-columns: minmax(0,230px) minmax(0,1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.event-list-item h3 { margin: .25rem 0 .7rem; font: 500 clamp(1.55rem, 3vw, 2.4rem)/1.1 var(--serif); }
.event-list-item > div > p { color: #655d56; line-height: 1.6; }
.event-list-image { display: block; aspect-ratio: 4 / 3; background: var(--cream); }
.event-list-image img { width: 100%; height: 100%; object-fit: cover; }
.event-hero-image { height: min(60vw, 650px); background: #111; }
.event-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.event-detail-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: clamp(2rem, 7vw, 7rem); }
.event-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event-facts article { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.event-facts h2 { margin: .2rem 0 .6rem; font: 500 1.75rem/1.1 var(--serif); }
.event-facts p { margin: 0; color: #655d56; line-height: 1.6; }
.event-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }

.press-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.55fr); gap: clamp(2rem, 9vw, 10rem); align-items: start; }
.press-facts { padding: 1.4rem 0; border-top: 1px solid var(--heritage); border-bottom: 1px solid var(--heritage); }
.press-facts p:not(.eyebrow) { margin: 0; padding: .65rem 0; border-bottom: 1px solid var(--line); font: 500 1.1rem/1.25 var(--serif); }
.press-facts p:last-child { border-bottom: 0; }
.press-contact { margin-top: 1.5rem; color: #655d56; }
.press-assets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.press-asset { position: relative; display: block; background: #111; text-decoration: none; overflow: hidden; }
.press-asset img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.press-asset span { display: block; padding: .8rem; color: rgba(246,240,231,.82); font-size: .78rem; }
.press-callout { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: clamp(1.5rem,5vw,4rem) 0; border-top: 1px solid var(--heritage); border-bottom: 1px solid var(--heritage); }
.press-callout h2 { margin: .2rem 0 .7rem; font: 500 clamp(2rem,4vw,3.5rem)/1 var(--serif); }
.press-callout p { max-width: 650px; margin: 0; color: #655d56; line-height: 1.7; }
.newsletter-section { background: #111; }
.newsletter-copy > p:not(.eyebrow) { color: rgba(246,240,231,.68); line-height: 1.7; }
.newsletter-inline input { border-radius: 0; background: transparent; }

.site-footer { background: #070707; border-top-color: rgba(200,155,74,.45); padding: clamp(3.5rem,7vw,6rem) 0 1.5rem; }
.footer-grid { grid-template-columns: minmax(0,1fr) minmax(260px,.75fr); align-items: center; }
.footer-brand { display: grid; grid-template-columns: 106px minmax(0,1fr); column-gap: 1.25rem; align-items: center; }
.footer-seal { grid-row: span 2; width: 106px; height: 106px; object-fit: cover; }
.footer-brand strong { font: 500 1.55rem/1.2 var(--serif); }
.footer-brand p { margin: .5rem 0 0; }
.footer-links { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.footer-bottom { margin-top: 3rem; }
.not-found-card { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.not-found-mark { width: 92px; height: 92px; object-fit: cover; }
.not-found-code { color: var(--heritage); }

/* Admin is a restrained operational workspace, not a dark public-site clone. */
.admin-page { background: #101010; }
.admin-header { background: #080808; border-bottom-color: rgba(200,155,74,.4); backdrop-filter: none; }
.admin-header-inner, .admin-main { width: min(1520px, calc(100% - 48px)); }
.admin-brand-mark { width: 46px; height: 46px; object-fit: cover; }
.admin-title { font-weight: 500; }
.admin-main { padding-top: 2.5rem; }
.admin-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; overflow: visible; margin-bottom: 2.5rem; padding: 0; border: 1px solid rgba(246,240,231,.17); background: rgba(246,240,231,.17); }
.admin-nav-group { min-height: 122px; padding: 1rem; background: #151515; }
.admin-nav-group > p { margin: 0 0 .75rem; color: var(--heritage); font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.admin-nav button { margin: 0 .25rem .35rem 0; border-radius: 0; padding: .45rem .55rem; font-size: .72rem; }
.admin-nav button.active { background: var(--heritage); }
.admin-toolbar { align-items: end; border-bottom: 1px solid rgba(246,240,231,.18); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.admin-toolbar h1 { margin: 0; font: 500 clamp(2rem,4vw,3.5rem)/1 var(--serif); }
.admin-card { border: 1px solid rgba(246,240,231,.17); border-radius: 0; background: #171717; padding: 1.35rem; }
.admin-card p { color: rgba(246,240,231,.66); line-height: 1.6; }
.admin-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.admin-stat { font-weight: 500; }
.product-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.product-admin-card .admin-toolbar { margin-bottom: 1rem; }
.product-admin-card h2 { margin: 0; font-weight: 500; }
.status-pill { border-radius: 0; }
.admin-actions button, .admin-actions > a { border-radius: 0; }
.admin-table-wrap { border: 1px solid rgba(246,240,231,.17); border-radius: 0; }
.admin-table th { color: var(--heritage); background: #121212; }
.admin-table td { border-top-color: rgba(246,240,231,.12); }
.admin-table select { background: #101010; color: var(--paper); border-color: rgba(246,240,231,.3); }
.admin-modal { padding: 24px; }
.admin-modal-card { border-radius: 0; border-top-color: var(--heritage); background: #151515; }
.admin-modal-header h2 { font-weight: 500; }
.icon-button { border-radius: 0; }
.admin-form-grid { gap: 1rem; }
.admin-card .field label, .admin-modal .field label { color: rgba(246,240,231,.9); }
.admin-card .field input, .admin-card .field textarea, .admin-card .field select, .admin-modal .field input, .admin-modal .field textarea, .admin-modal .field select { border-radius: 0; background: #0c0c0c; color: var(--paper); border-color: rgba(246,240,231,.22); }
.admin-card .field input:disabled, .admin-card .field textarea:disabled, .admin-card .field select:disabled { opacity: .5; cursor: not-allowed; }
.sync-read-only-note { display: grid; gap: .35rem; padding: 1rem; border-left: 2px solid var(--heritage); background: rgba(200,155,74,.08); color: rgba(246,240,231,.75); }
.sync-read-only-note strong { color: var(--heritage); }
.gallery-caption-list { display: grid; gap: .65rem; padding: .85rem; border-left: 2px solid rgba(200,155,74,.62); }
.gallery-caption-list label { display: grid; gap: .35rem; color: rgba(246,240,231,.72); font-size: .76rem; }
.settings-section { padding: 1.5rem 0; border-bottom: 1px solid rgba(246,240,231,.17); }
.settings-section:first-child { padding-top: 0; }
.settings-section h2 { margin: .25rem 0 1.2rem; font: 500 1.7rem/1.1 var(--serif); }
.settings-check-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.settings-check-grid label { display: flex; gap: .5rem; align-items: center; padding: .75rem; border: 1px solid rgba(246,240,231,.2); color: var(--paper); }
.audit-metadata { display: block; max-width: 300px; overflow: auto; color: rgba(246,240,231,.64); font-size: .68rem; white-space: nowrap; }
.media-drop, .media-card, .square-import-item, .native-service-card { border-radius: 0; }

@media (max-width: 1250px) {
  .primary-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; }
  .cinema-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .84fr); }
  .admin-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .container, .narrow, .header-inner, .admin-header-inner, .admin-main { width: min(100% - 32px, 1440px); }
  .cinema-hero { grid-template-columns: minmax(0,1fr) minmax(320px,.75fr); min-height: 630px; }
  .cinema-hero-image { min-height: 630px; }
  .cinema-hero-content { padding-left: 32px; padding-right: 2rem; }
  .hero-featured-book { left: 32px; }
  .store-collection, .press-assets { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journal-visual-grid, .event-visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journal-visual-card.featured { grid-column: span 2; }
  .narrative-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .narrative-grid article:nth-child(2) { border-right: 0; }
  .narrative-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .narrative-grid article:nth-child(3) { padding-left: 0; }
  .admin-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .settings-check-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-split-image::after { right: -14px; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 70px; }
  .brand-link { width: 150px; height: 42px; }
  .site-header .account-link { display: none; }
  .mobile-menu { inset: 70px 0 0; }
  .cinema-hero { display: flex; min-height: 730px; align-items: end; }
  .cinema-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: .52; object-position: 61% center; }
  .cinema-hero-content { position: relative; width: 100%; padding: 4.5rem 24px 3rem; }
  .cinema-copy .display { font-size: clamp(3.15rem, 14vw, 5rem); }
  .hero-deck { max-width: 390px; }
  .hero-featured-book { position: static; width: 100%; margin-top: 2.5rem; }
  .place-band .container { flex-wrap: wrap; padding: .85rem 0; line-height: 1.55; }
  .section-heading-split, .story-split, .story-split.reverse, .visual-interlude-inner, .shop-intro-grid, .product-detail-grid, .event-detail-grid, .press-layout, .about-hero-grid { grid-template-columns: 1fr; }
  .story-split.reverse .story-split-copy { order: 2; }
  .story-split.reverse .story-split-image { order: 1; }
  .story-split-image::after { right: -10px; bottom: -10px; }
  .press-callout { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .journal-visual-grid, .event-visual-grid, .store-collection, .press-assets, .product-gallery, .event-gallery { grid-template-columns: 1fr; }
  .journal-visual-card.featured { grid-column: auto; }
  .event-list-item { grid-template-columns: 1fr; gap: 1rem; }
  .event-list-image { max-width: 360px; }
  .book-detail-hero .feature-book { grid-template-columns: 1fr; }
  .feature-book { grid-template-columns: minmax(0, 1fr); }
  .interactive-book { min-height: 370px; }
  .book-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .book-gallery-tile, .book-gallery-tile.featured { grid-column: auto; grid-row: auto; min-height: 250px; }
  .book-sticky-buy { border-radius: 0; bottom: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shipping-rate { grid-template-columns: auto 1fr; }
  .shipping-rate b { grid-column: 2; }
  .admin-nav { grid-template-columns: 1fr; }
  .admin-nav-group { min-height: auto; }
  .admin-grid, .product-admin-grid { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-toolbar .button { align-self: stretch; }
}

.media-placeholder { object-fit: contain !important; background: #111; }

@media (max-width: 420px) {
  .container, .narrow, .header-inner, .admin-header-inner, .admin-main, .cart-page { width: calc(100% - 32px); }
  .header-actions { gap: .45rem; }
  .cart-button { font-size: .63rem; }
  .cinema-hero { min-height: 680px; }
  .button { width: 100%; }
  .button-row, .hero-actions { display: grid; }
  .narrative-grid { grid-template-columns: 1fr; }
  .narrative-grid article, .narrative-grid article + article { padding: 1.25rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .narrative-grid article:first-child { border-top: 0; }
  .settings-check-grid { grid-template-columns: 1fr; }
}

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